/* USC consent + ADA layer. Preview 2 only (staged Nov 19 2026, Ed 10:52 PM "build everything").
   Our CSS only: positions the CookieYes container (no vendor template edits) and styles the
   Preview 2 placeholder banner that mirrors CookieYes' DOM ([data-usc-cmp-placeholder]).
   Phone (<=480px) stacking lives in phone-v3.css; this file covers all widths. */

/* ---------- consent container: all widths ---------- */
.cky-consent-container{position:fixed;left:0;right:0;bottom:0;z-index:999995;box-sizing:border-box}
.cky-consent-container.cky-hide,.cky-modal.cky-hide,.cky-overlay.cky-hide{display:none!important}
.cky-consent-container .cky-btn{min-height:44px;box-sizing:border-box}
@media (min-width:481px){body.uscConsentOpen{padding-bottom:var(--usc-cookie-h,0px)}}
/* Focus not obscured (WCAG 2.4.11): keyboard focus scrolls above the banner (+ sticky bar on phones). */
html:has(body.uscConsentOpen){scroll-padding-bottom:calc(var(--usc-cookie-h,0px) + 8px)}
@media (max-width:480px){html:has(body.uscConsentOpen:not(.uscCalcPage)){scroll-padding-bottom:calc(var(--usc-cookie-h,0px) + 88px)}}

/* ---------- placeholder banner (mirrors CookieYes classes; preview test only) ---------- */
[data-usc-cmp-placeholder].cky-consent-container{background:#fff;color:#14213B;border-top:1px solid #c9d3dd;box-shadow:0 -4px 18px rgba(20,33,59,.14);font-family:Helvetica,Arial,sans-serif}
[data-usc-cmp-placeholder] .cky-consent-bar{max-width:1180px;margin:0 auto;padding:14px 20px}
[data-usc-cmp-placeholder] .cky-notice{display:flex;flex-direction:column;gap:6px}
[data-usc-cmp-placeholder] .cky-title{margin:0;padding:0;font-size:16px;line-height:1.3;font-weight:700;color:#14213B}
[data-usc-cmp-placeholder] .cky-notice-group{display:flex;align-items:center;gap:20px}
[data-usc-cmp-placeholder] .cky-notice-des{flex:1 1 auto}
[data-usc-cmp-placeholder] .cky-notice-des p{margin:0;padding:0;font-size:14px;line-height:1.45;color:#14213B}
[data-usc-cmp-placeholder] .cky-notice-des a,.cky-modal[data-usc-cmp-placeholder] a{color:#093860;text-decoration:underline;font-size:inherit}
[data-usc-cmp-placeholder] .cky-gpc-note{margin:4px 0 0;padding:0;font-size:13px;font-weight:700;color:#14213B}
[data-usc-cmp-placeholder] .cky-notice-btn-wrapper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex:0 0 auto;min-width:420px}
[data-usc-cmp-placeholder] .cky-btn,.cky-modal[data-usc-cmp-placeholder] .cky-btn{min-height:44px;padding:8px 12px;border-radius:6px;font:700 15px/1.2 Helvetica,Arial,sans-serif;cursor:pointer;box-sizing:border-box}
/* Accept and Reject: identical size, weight and colour (equal prominence). */
[data-usc-cmp-placeholder] .cky-btn-accept,[data-usc-cmp-placeholder] .cky-btn-reject{background:#093860;color:#fff;border:2px solid #093860}
[data-usc-cmp-placeholder] .cky-btn-customize,[data-usc-cmp-placeholder] .cky-btn-preferences{background:#fff;color:#093860;border:2px solid #093860}
[data-usc-cmp-placeholder] .cky-btn:focus-visible,[data-usc-cmp-placeholder] a:focus-visible,.cky-modal[data-usc-cmp-placeholder] :focus-visible{outline:3px solid #14213B;outline-offset:2px;box-shadow:0 0 0 5px #fff}
@media (max-width:767px){
  [data-usc-cmp-placeholder] .cky-notice-group{flex-direction:column;align-items:stretch;gap:10px}
  [data-usc-cmp-placeholder] .cky-notice-btn-wrapper{min-width:0}
}
@media (max-width:480px){
  [data-usc-cmp-placeholder] .cky-consent-bar{padding:10px 12px 12px}
  [data-usc-cmp-placeholder] .cky-title{font-size:15px}
  [data-usc-cmp-placeholder] .cky-notice-des p{font-size:13.5px;line-height:1.4}
  [data-usc-cmp-placeholder] .cky-notice-btn-wrapper{gap:8px}
  [data-usc-cmp-placeholder] .cky-btn{padding:6px 6px;font-size:14px}
}
/* Preference centre (dialog) */
.cky-overlay[data-usc-cmp-placeholder]{position:fixed;inset:0;background:rgba(20,33,59,.55);z-index:999996}
.cky-modal[data-usc-cmp-placeholder]{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:999997;padding:12px;box-sizing:border-box}
.cky-modal[data-usc-cmp-placeholder] .cky-preference-center{background:#fff;color:#14213B;max-width:560px;width:100%;max-height:calc(100vh - 24px);overflow:auto;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.3);font-family:Helvetica,Arial,sans-serif}
.cky-modal[data-usc-cmp-placeholder] .cky-preference-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #dbe3ea}
.cky-modal[data-usc-cmp-placeholder] .cky-preference-title{margin:0;padding:0;font-size:18px;font-weight:700;color:#14213B}
.cky-modal[data-usc-cmp-placeholder] .cky-btn-close{min-width:44px;min-height:44px;background:#fff;border:2px solid #093860;border-radius:6px;color:#093860;font:700 20px/1 Helvetica,Arial,sans-serif;cursor:pointer}
.cky-modal[data-usc-cmp-placeholder] .cky-preference-body-wrapper{padding:12px 18px}
.cky-modal[data-usc-cmp-placeholder] .cky-accordion{border-bottom:1px solid #e6ebf0;padding:10px 0}
.cky-modal[data-usc-cmp-placeholder] .cky-accordion-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.cky-modal[data-usc-cmp-placeholder] .cky-accordion-btn{font-size:15px;font-weight:700;color:#14213B;margin:0}
.cky-modal[data-usc-cmp-placeholder] .cky-accordion-body p{margin:4px 0 0;padding:0;font-size:14px;line-height:1.45;color:#14213B}
.cky-modal[data-usc-cmp-placeholder] .cky-always-active{font-size:14px;font-weight:700;color:#1d5c14}
.cky-modal[data-usc-cmp-placeholder] .cky-switch{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;cursor:pointer}
.cky-modal[data-usc-cmp-placeholder] .cky-switch input{width:22px;height:22px;accent-color:#093860;margin:0}
.cky-modal[data-usc-cmp-placeholder] .cky-footer-wrapper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 18px;border-top:1px solid #dbe3ea}
@media (max-width:480px){.cky-modal[data-usc-cmp-placeholder] .cky-footer-wrapper{grid-template-columns:1fr}}

/* ---------- footer: "Your Privacy Choices" is a link styled exactly like its neighbours ---------- */
.footer .links .footerLinks a.uscPrivacyChoices{cursor:pointer}
/* Visible keyboard focus on footer links (spec P2 focus visible); white ring on the navy footer. */
.footer .links a:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* ---------- quote form a11y (markup only; no logic) ---------- */
.uscForm .atlas-field{display:block;width:100%}
.uscForm .atlas-label{display:block;margin:6px 0 2px;padding:0;font-size:13px;line-height:1.3;font-weight:700;color:#14213B;text-align:left}
.uscForm [aria-invalid="true"]{border-color:#b3261e!important;box-shadow:0 0 0 1px #b3261e}
.uscForm .atlas-notice{margin:12px 0 0;padding:10px 12px;font-size:13px;line-height:1.45;color:#14213B;background:#f3f6f9;border-left:3px solid #093860;text-align:left}
.uscForm .atlas-notice a{color:#093860;text-decoration:underline;font-size:inherit}
/* AA contrast on the quote submit (white on #6EBA3E is 2.4:1): ink text, as with Ed's "Get my price" rule. */
#ccForm .uscForm #next-container button.complete{color:#14213B}
/* 44px tap target for submit/back at every width (base CSS shrinks to min(10vw,50px) on phones). */
#ccForm .uscForm #next-container button{min-height:44px}

/* ---------- /accessibility and /privacy-request (Preview 2 placeholders) ---------- */
.uscLegalPage .p2-p,.uscLegalPage .uscReqList li{font-size:17px;line-height:1.6;color:#14213B}
.uscLegalPage .uscReqList{margin:10px 0 18px;padding-left:22px}
.uscLegalPage .uscReqList li{margin:0 0 10px}
.uscLegalPage a:focus-visible{outline:3px solid #14213B;outline-offset:2px}
.uscLegalPage a.uscMail{color:#093860;text-decoration:underline;font-weight:700;padding:12px 0}
.uscLegalPage .uscReqList a.uscMail{display:inline-block;min-height:44px;line-height:44px;padding:0 4px 0 0}

/* Legal L1 + CRO: Elfsight reviews widget loads only after Functional consent (consent-hook.js gate).
   Its slot keeps the widget's measured height at all times (badge af95780f = 78px, carousel 3abf8543 = 159px,
   measured on P2 at 390/1280), so nothing shifts when it loads, or never loads (CLS 0 for the area).
   Until the widget renders, the slot shows a neutral label only: no rating, no stars, no count, no link. */
[class*="elfsight-app-af95780f"]{min-height:78px;box-sizing:border-box}
[class*="elfsight-app-3abf8543"]{min-height:159px;box-sizing:border-box}
[class*="elfsight-app-"]:empty::before{content:"Customer reviews";display:flex;align-items:center;justify-content:center;min-height:inherit;box-sizing:border-box;border:1px dashed #c3ccd6;border-radius:8px;color:#4a5568;font:600 14px/1.3 Helvetica,Arial,sans-serif;letter-spacing:.2px}

/* P2 review placeholder privacy policy: unmissable marker at the top (navy on pale amber, AA). */
.uscLegalPage .uscPlaceholderBanner,.p2-article .uscPlaceholderBanner{margin:0 0 16px;padding:12px 16px;border:2px solid #8a5a00;border-radius:6px;background:#fff4d6;color:#14213B;font-size:1rem;line-height:1.5}
/* Held placeholder keeps the 17afa702 H1 tag byte-for-byte (no class); give it the p2 post-H1 look. */
.uscLegalPage .p2-article > h1:not([class]){font-size:clamp(28px,5vw,42px);line-height:1.15;overflow-wrap:break-word}

/* CRO S1: close the 9px see-through strip between the banner and the sticky bar on phones. The banner sits at
   bottom:var(--usc-sticky-h) (80px) but the bar renders ~71px tall; while the banner is open the bar fills its full
   --usc-sticky-h area (opaque white). align-content:end keeps the bar's buttons exactly where they were. */
@media (max-width:480px){
  body.uscConsentOpen #uscPhoneBar{min-height:var(--usc-sticky-h);align-content:end}
}
/* CRO S2: menu open + banner open: pad the menu panel by the banner height so Login / Contact stay reachable. */
body.uscConsentOpen .header .navBanner .menu-btn:checked~.menu{padding-bottom:var(--usc-cookie-h,0px)!important;box-sizing:border-box;overflow-y:auto}
/* CRO breadcrumb check: phone-v3.css moves .p2-crumb to the end of city pages (order:1). On the legal pages it must
   sit above the H1, like the blog template. */
body .local-page .uscLegalPage .p2-crumb{order:0}
