/* Shipping landing pages, design B. Blue hero with quote form, then the page body. */
.hdm-shp-page {
	--shp-ink: #16191f;
	--shp-text: #3a414b;
	--shp-muted: #5d6572;
	--shp-line: #e1e5eb;
	--shp-zebra: #e6eaf0;
	--shp-soft: #f4f6f9;
	--shp-blue: #115feb;
	--shp-blue-d: #0b4fc6;
	--shp-navy: #0d2a5c;
	--shp-white: #fff;
}
.hdm-shp-page .site-content .col-full,
.hdm-shp-page #content > .col-full { max-width: none; padding: 0; }
.hdm-shp-shell { width: 100%; float: none; margin: 0; }
.hdm-shp { color: var(--shp-text); font-size: 16px; line-height: 1.6; }

/* Hero */
.hdm-shp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 40px;
	padding: 48px max(24px, calc((100% - 1180px) / 2)) 52px;
	background: linear-gradient(135deg, var(--shp-navy) 0%, #123f8f 60%, var(--shp-blue) 100%);
	color: #c9d9f7;
}
.hdm-shp-crumb { font-size: 13px; color: #9fb7e6; }
.hdm-shp-crumb a { color: #c9d9f7; text-decoration: none; }
.hdm-shp-crumb a:hover { text-decoration: underline; }
.hdm-shp-kicker { margin: 16px 0 0; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a9c6ff; }
.hdm-shp-title { margin: 10px 0 16px; color: var(--shp-white); font-size: 46px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.hdm-shp-updated { margin: -6px 0 16px; color: #9fb7e6; font-size: 15px; }
.hdm-shp-lead { margin: 0 0 24px; font-size: 20px; line-height: 1.55; max-width: 60ch; }
.hdm-shp-facts { display: flex; flex-wrap: wrap; margin: 0 0 18px; border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.hdm-shp-facts div { flex: 1 1 160px; padding: 16px 18px 16px 0; }
.hdm-shp-facts div + div { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hdm-shp-facts dt { color: var(--shp-white); font-size: 25px; font-weight: 800; line-height: 1.2; }
.hdm-shp-facts dd { margin: 2px 0 0; font-size: 15px; }
.hdm-shp-rates { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin: 0; font-size: 16px; }
.hdm-shp-rates a { color: var(--shp-white); text-decoration: none; }
.hdm-shp-rates a:hover { text-decoration: underline; }
.hdm-shp-rates b { font-size: 19px; }
.hdm-shp-rates__date { color: #9fb7e6; font-size: 15px; }

/* Quote form card */
.hdm-shp-form { align-self: start; background: var(--shp-white); color: var(--shp-text); border-radius: 18px; padding: 26px; box-shadow: 0 20px 40px rgba(0, 0, 0, .18); }
.hdm-shp-form__head { margin: 0 0 4px; color: var(--shp-ink); font-size: 22px; font-weight: 800; }
.hdm-shp-form__alt { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--shp-muted); }
.hdm-shp-form__alt a { color: var(--shp-blue-d); font-weight: 700; }
.hdm-shp-form .wpforms-container { margin: 0; }
.hdm-shp-form .wpforms-field { padding: 8px 0; }
.hdm-shp-form .wpforms-field-label { font-size: 13px; font-weight: 700; color: var(--shp-ink); margin-bottom: 4px; }
/* WPForms full CSS caps medium fields at 60% and strips borders, so these win on specificity and !important. */
.hdm-shp-form div.wpforms-container-full .wpforms-form input[type="text"],
.hdm-shp-form div.wpforms-container-full .wpforms-form input[type="tel"],
.hdm-shp-form div.wpforms-container-full .wpforms-form input[type="email"],
.hdm-shp-form div.wpforms-container-full .wpforms-form select,
.hdm-shp-form div.wpforms-container-full .wpforms-form textarea { width: 100% !important; max-width: 100% !important; height: auto; font-family: inherit; font-size: 16px; line-height: 1.4; padding: 10px 12px !important; border: 1px solid #cfd6df !important; border-radius: 10px !important; background: var(--shp-white) !important; color: var(--shp-ink); box-sizing: border-box; }
.hdm-shp-form div.wpforms-container-full .wpforms-form .wpforms-field-container { align-items: stretch !important; }
.hdm-shp-form div.wpforms-container-full .wpforms-form .wpforms-field { width: 100% !important; padding: 8px 0 !important; margin: 0 !important; }
.hdm-shp-form div.wpforms-container-full .wpforms-form .wpforms-field-label { font-size: 13px !important; font-weight: 700 !important; color: var(--shp-ink) !important; margin: 0 0 4px !important; padding: 0 !important; }
.hdm-shp-form textarea { height: 84px !important; min-height: 0; }
.hdm-shp-form input:focus,
.hdm-shp-form select:focus,
.hdm-shp-form textarea:focus { outline: 2px solid var(--shp-blue); outline-offset: 1px; border-color: var(--shp-blue); }
.hdm-shp-form .wpforms-submit-container { padding-top: 10px; }
.hdm-shp-form div.wpforms-container-full .wpforms-form .wpforms-submit-container { width: 100% !important; text-align: center; }
.hdm-shp-form div.wpforms-container-full .wpforms-form button.wpforms-submit { width: 100% !important; max-width: 100% !important; background: var(--shp-blue); color: var(--shp-white); border: 0; border-radius: 999px; padding: 14px 22px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.hdm-shp-form div.wpforms-container-full .wpforms-form button.wpforms-submit:hover { background: var(--shp-blue-d); }
.hdm-shp-form .wpforms-confirmation-container-full { background: #eef6f0; border: 1px solid #b9dcc2; border-radius: 12px; color: var(--shp-ink); }

/* Body from the WordPress page */
.hdm-shp-body { max-width: 1180px; margin: 0 auto; padding: 48px 24px 56px; }
.hdm-shp-body > * { max-width: 100%; }
.hdm-shp-body h2 { margin: 48px 0 14px; color: var(--shp-ink); font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.hdm-shp-body h2:first-child, .hdm-shp-body .wp-block-columns h2 { margin-top: 0; }
.hdm-shp-body h3 { margin: 28px 0 10px; color: var(--shp-ink); font-size: 19px; font-weight: 700; }
.hdm-shp-body p, .hdm-shp-body li { font-size: 17px; }
.hdm-shp-body p { max-width: 72ch; }
.hdm-shp-body a { color: var(--shp-blue-d); }
.hdm-shp-body .wp-block-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: start; margin: 0 0 8px; }
.hdm-shp-body .wp-block-column { min-width: 0; }
.hdm-shp-body .wp-block-column + .wp-block-column { align-self: start !important; margin-top: 18px; padding: 24px 26px 26px; background: var(--shp-soft); border: 1px solid var(--shp-line); border-radius: 16px; }
.hdm-shp-body .wp-block-column h3:first-child { margin: 0 0 16px; font-size: 18px; }

/* Ticked key points (the list in the side column) */
.hdm-shp-body .wp-block-column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hdm-shp-body .wp-block-column ul li { position: relative; padding-left: 32px; color: var(--shp-ink); margin: 0; font-size: 16px; line-height: 1.5; }
.hdm-shp-body .wp-block-column ul li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23115feb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E"); }

/* Zebra tables with a dark header */
.hdm-shp-body .wp-block-table { margin: 18px 0 8px; border: 1px solid var(--shp-line); border-radius: 12px; overflow: hidden; overflow-x: auto; }
.hdm-shp-body .wp-block-table table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.hdm-shp-body .wp-block-table th { background: var(--shp-ink); color: var(--shp-white); text-align: left; font-weight: 600; font-size: 14px; padding: 12px 16px; border: 0; }
.hdm-shp-body .wp-block-table td { padding: 12px 16px; border: 0; }
.hdm-shp-body .wp-block-table tbody tr:nth-child(odd) td { background: var(--shp-white); }
.hdm-shp-body .wp-block-table tbody tr:nth-child(even) td { background: var(--shp-zebra); }
.hdm-shp-body .wp-block-table td:first-child { color: var(--shp-ink); font-weight: 600; }
.hdm-shp-body .wp-block-table td:nth-child(2) { color: var(--shp-ink); font-weight: 700; }

/* Yoast FAQ block as a two column list */
.hdm-shp-body .schema-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 8px 0 0; }
.hdm-shp-body .schema-faq-section { border-bottom: 1px solid var(--shp-line); padding: 18px 0; margin: 0; }
.hdm-shp-body .schema-faq-question { display: block; color: var(--shp-ink); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.hdm-shp-body .schema-faq-answer { margin: 0; font-size: 16px; }
.hdm-shp-body .schema-faq { align-items: start; }

/* Open and close with a plus sign (shipping-pages.js adds the class) */
.hdm-shp-faq-js .hdm-shp-body .schema-faq-question { position: relative; margin: 0; padding-right: 40px; cursor: pointer; }
.hdm-shp-faq-js .hdm-shp-body .schema-faq-question::after { content: "+"; position: absolute; right: 4px; top: -3px; color: var(--shp-blue); font-size: 26px; font-weight: 600; line-height: 1; }
.hdm-shp-faq-js .hdm-shp-body .is-open .schema-faq-question::after { content: "\2212"; }
.hdm-shp-faq-js .hdm-shp-body .schema-faq-question:hover { color: var(--shp-blue-d); }
.hdm-shp-faq-js .hdm-shp-body .schema-faq-question:focus-visible { outline: 2px solid var(--shp-blue); outline-offset: 4px; border-radius: 4px; }
.hdm-shp-faq-js .hdm-shp-body .schema-faq-answer { display: none; padding-top: 10px; }
.hdm-shp-faq-js .hdm-shp-body .is-open .schema-faq-answer { display: block; }

@media (max-width: 860px) {
	.hdm-shp-hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 16px 32px; }
	.hdm-shp-title { font-size: 32px; }
	.hdm-shp-lead { font-size: 18px; }
	.hdm-shp-facts dt { font-size: 22px; }
	.hdm-shp-form { padding: 20px; }
	.hdm-shp-body { padding: 32px 16px 40px; }
	.hdm-shp-body h2 { font-size: 24px; margin-top: 36px; }
	.hdm-shp-body .wp-block-columns { grid-template-columns: 1fr; gap: 24px; }
	.hdm-shp-body .wp-block-column + .wp-block-column { margin-top: 0; padding: 20px; }
	.hdm-shp-body .schema-faq { grid-template-columns: 1fr; }
}
