/*
Theme Name: MatchBox Location Child
Template: fgmatchbox
Author: Firegang Dental Marketing
Description: Multi-location LANDING site child (main site of a multisite). Custom header (no address/phone row) + footer (centered logo + legal only). Location subsites use the regular fgMatchBox child. MatchBox counterpart of fgB-loc-child.
Version: 0.1
*/

/* Metric-matched fallbacks (MMFF): Arial pre-stretched to each web font so the swap doesn't shift layout */
@font-face {
    font-family: 'Poppins Fallback';
    src: local('Arial');
    size-adjust: 115.67%;
    ascent-override: 90.78%;
    descent-override: 30.26%;
    line-gap-override: 8.65%;
}
@font-face {
    font-family: 'Zalando Sans Fallback';
    src: local('Arial');
    size-adjust: 104.21%;
    ascent-override: 92.51%;
    descent-override: 23.99%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Zalando Sans Expanded Fallback';
    src: local('Arial');
    size-adjust: 129.06%;
    ascent-override: 74.70%;
    descent-override: 19.37%;
    line-gap-override: 0%;
}

/* Tokens from Figma variables (Haven Family Dental, 2UV7a3rtR97aCd8Lbd45Iq). Sizes = clamp(mobile 393 frame, vw of 1920, desktop) */
:root {
    --black: #272626;
    --white: #FFFFFF;
    --gray: #D0CFCD;
    --ltGray: #F6F4F2;
    --altBg: #F6F4F2;
    --primaryColor: #667C63;
    --secondaryColor: #9A6F47;
    /* Hovers aren't defined in Figma; Black carried over from the Coming Soon build */
    --primaryHover: #272626;
    --secondaryHover: #272626;
    --ltBlue: var(--primaryColor);

    --headingFont: 'Poppins', 'Poppins Fallback', sans-serif;
    --bodyFont: 'Zalando Sans', 'Zalando Sans Fallback', sans-serif;
    --overlineFont: 'Zalando Sans Expanded', 'Zalando Sans Expanded Fallback', sans-serif;
    --dispFontSize: clamp(36px, 5vw, 96px);
    --h1FontSize: clamp(36px, 2.5vw, 48px);
    --h2FontSize: clamp(36px, 2.5vw, 48px);
    --h3FontSize: clamp(24px, 1.667vw, 32px);
    --h4FontSize: clamp(20px, 1.25vw, 24px);
    --bodyFontSize: clamp(16px, 0.938vw, 18px);

    --headingFontWeight: 500;
    --bodyFontWeight: 300;

    --bodyLineHeight: 150%;
    --dispLineHeight: 125%;
    --h1LineHeight: 125%;
    --h2LineHeight: 125%;
    --h3LineHeight: 125%;
    --h4LineHeight: 125%;
    --headingLineHeight: 125%;

    /* Figma letter-spacing is % of size: H4 24px × 10%, Overline 16px × 15% */
    --h4LetterSpc: 2.4px;
    --btnLetterSpc: 2.4px;

    /* Figma "Drop shadow (medium)" */
    --shadyMid: 0 40px 50px 0 rgba(0, 0, 0, 0.05), 0 20px 30px 0 rgba(0, 0, 0, 0.10);
}

/* ===== Header (Figma Desktop/Nav Bar 5331:3961) — solid white 152 bar: 226×88 wordmark left; office links + Book Now right (48 apart). Renton pattern ===== */
body #header {
    padding-block: clamp(12px, 1.25vw, 24px);
    border-bottom: 0;
}
body.home #header {
    position: sticky;
    top: 0;
    z-index: 990;
    background-color: var(--white);
    color: var(--black);
    box-shadow: 0 40px 50px rgb(0 0 0 / 5%), 0 20px 30px rgb(0 0 0 / 10%);
}
body #header .header-holder {
    align-items: center;
    width: calc(100% - 2 * clamp(24px, 7.292vw, 140px));
    max-width: none;
    min-height: clamp(72px, 5.417vw, 104px);
}
/* scLogo = the duoLogo scrolled-state swap (same wordmark) */
body #header .logo-block .sLogo,
body #header #logo img#mLogo,
body #header .logo-block img#scLogo {
    width: clamp(150px, 11.771vw, 226px);
}
/* ltBlue drives the trunk nav hover + current-page underline; Figma hover = 2px Gold */
body #header {
    --ltBlue: var(--secondaryColor);
}
body #header #nav {
    gap: clamp(24px, 2.5vw, 48px);
}
/* trunk li 10px + #mainNav/.btn-block 12px paddings stack onto the 48 gaps */
body #header #nav > li,
body #header #mainNav,
body #header .btn-block.mobile-hidden {
    padding-inline: 0;
}
body #header #nav > li > a {
    padding-inline: 0;
    color: var(--black);
    font-family: var(--overlineFont);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2.4px;
    line-height: 1.5;
    text-transform: uppercase;
}
body #header .btn-block.mobile-hidden {
    margin-left: clamp(24px, 2.5vw, 48px);
}
/* trunk clips .opener-form to the button box, which cut the focus ring off (parent fix list #7) */
body #header .opener-form {
    overflow: visible;
}
body #header .opener-form .btn.btn-primary {
    padding: 1rem 2rem;
    border: 0;
    border-radius: 0;
    background-color: var(--black);
    background-image: linear-gradient(var(--primaryColor), var(--primaryColor));
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0 100%;
    color: var(--white);
    font-family: var(--overlineFont);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2.4px;
    line-height: 1.5;
    text-transform: uppercase;
    transition: background-size .3s ease;
}
/* Figma CTA "Slide Animation" (Ali QA): the Green hover fill slides in left → right */
body #header .opener-form .btn.btn-primary:hover,
body #header .opener-form .btn.btn-primary:focus-visible {
    background-color: var(--black);
    background-size: 100% 100%;
    color: var(--white);
}
/* trunk's currentColor ring is white on the white bar */
body #header .opener-form .btn.btn-primary:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
    box-shadow: none;
}

/* ===== Hero: static_promo_banner over a composite bg (Figma 5331:3962 / mobile 5330:3541) — photo | 848 green copy panel | photo. Westminster pattern ===== */
body.home #main .promo {
    height: auto;
    aspect-ratio: 1920 / 788;
    padding-top: 0;
}
/* trunk 50% dark overlay is for full-bleed photo banners */
body.home #main .promo::before {
    display: none;
}
body.home #main .promo .promoBg img {
    object-position: center;
}
/* the composite's baked-in panel has soft (compressed) edges: paint a crisp CSS panel over it, 2px wider each side */
body.home #main .promo .promo-holder .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 44.167%;
    padding: 0 0 clamp(56px, 7.292vw, 140px);
    background-color: var(--primaryColor);
    box-shadow: -2px 0 var(--primaryColor), 2px 0 var(--primaryColor);
}
body.home #main .promo .slide_content {
    width: 100%;
    padding: 0 clamp(24px, 2.917vw, 56px);
}
body.home #main .promo .slide_content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
/* overline lives in b_content (renders after the h2) — order pulls it above the headline */
body.home #main .promo .s_content {
    order: -1;
    margin: 0 0 clamp(16px, 1.667vw, 32px);
    color: var(--white);
    font-family: var(--overlineFont);
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}
/* Figma pulls line 2 up 16px: 104px line pitch on 96px type; padding restores the 120px line boxes' half-leading */
body.home #main .promo h2.banH {
    display: block;
    width: 100%;
    padding-block: .0833em;
    color: var(--white);
    font-size: var(--dispFontSize);
    font-weight: var(--headingFontWeight);
    letter-spacing: 0;
    line-height: 1.0833;
    text-align: center;
    text-transform: lowercase;
    -webkit-text-stroke: 0;
}
/* trunk's overflow:hidden here clips the button's focus ring */
body.home #main .promo .btn-block {
    margin: clamp(40px, 4.167vw, 80px) 0 0;
    overflow: visible;
}
body.home #main .promo .btn.banner-btn:last-of-type {
    padding: clamp(12px, 0.833vw, 16px) clamp(24px, 1.667vw, 32px);
    border: 0;
    border-radius: 0;
    background-color: var(--black);
    background-image: linear-gradient(var(--white), var(--white));
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0 100%;
    color: var(--white);
    font-family: var(--overlineFont);
    font-size: clamp(14px, 0.833vw, 16px);
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
    transition: background-size .3s ease, color .3s ease;
}
/* Ali (Figma annotation): hover goes white with black text, not green — the white slides in left → right (Ali QA) */
body.home #main .promo .btn.banner-btn:last-of-type:hover,
body.home #main .promo .btn.banner-btn:last-of-type:focus-visible {
    background-color: var(--black);
    background-size: 100% 100%;
    color: var(--black);
}
/* white ring on the green panel */
body.home #main .promo .btn.banner-btn:last-of-type:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
    box-shadow: none;
}

/* ===== Differentiator Bar (new_diff .haven-diff-bar, Figma 5331:3972; interior widget .widget-diff = child Figma 2871:1620, same internals, pb140) — pt140 pb40, 56 heading gap, 3×398 blocks / 85 gap; 80 icon → 32 → checklist rows 24 apart. Renton pattern ===== */
body .diff.haven-diff-bar,
body .widget.widget-diff {
    padding: clamp(70px, 7.292vw, 140px) 0 clamp(24px, 2.083vw, 40px);
}
body .diff.haven-diff-bar .heading ,
body .widget.widget-diff .heading {
    margin-bottom: 0;
}
body .diff.haven-diff-bar .heading h1 ,
body .widget.widget-diff .heading h2 {
    margin-bottom: clamp(32px, 2.917vw, 56px);
    color: var(--black);
    font-family: var(--overlineFont);
    font-size: var(--h4FontSize);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}
/* col-lg-4 ×3 + the 85 gap overflows the col-lg-10 wrap — share the width instead */
body .diff.haven-diff-bar .row.flex ,
body .widget.widget-diff .row.flex {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(24px, 4.427vw, 85px);
}
body .diff.haven-diff-bar .diffBox ,
body .widget.widget-diff .diffBox {
    flex: 0 1 398px;
    max-width: none;
}
body .diff.haven-diff-bar .diffImg ,
body .widget.widget-diff .diffImg {
    padding-bottom: 2rem;
}
body .diff.haven-diff-bar .diffImg img ,
body .widget.widget-diff .diffImg img {
    width: 80px;
    height: 80px;
}
body .diff.haven-diff-bar .diffContent,
body .widget.widget-diff .diffContent,
body .diff.haven-diff-bar .diffList li ,
body .widget.widget-diff .diffList li {
    padding: 0;
}
body .diff.haven-diff-bar .diffList ,
body .widget.widget-diff .diffList {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
}
/* Kristen QA (State Street pattern): centered lines with the check inline before the first word, so a 2-line item keeps its check on line one */
body .diff.haven-diff-bar .diffList li ,
body .widget.widget-diff .diffList li {
    display: block;
    text-align: center;
    color: var(--black);
    font-family: var(--bodyFont);
    font-size: var(--bodyFontSize);
    font-weight: var(--bodyFontWeight);
    line-height: 1.5;
}
body .diff.haven-diff-bar .diffList .fa-check ,
body .widget.widget-diff .diffList .fa-check {
    margin: 0 1rem 0 0;
    color: var(--black);
}
body .widget.widget-diff {
    padding-bottom: clamp(70px, 7.292vw, 140px);
}
/* bare widget h2 gets trunk's heading margin-top */
body .widget.widget-diff .heading h2 {
    margin-top: 0;
}

/* ===== News Block (fw_content_half #haven-news1, reverse + full_width, Figma 5331:3973) — py140 pr140: 536 copy (240 down) | 154 | 812 square photo; 339×452 brand-shape graphic pinned bottom-left ===== */
body #haven-news1.half-content {
    position: relative;
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(70px, 7.292vw, 140px) clamp(24px, 7.292vw, 140px) clamp(70px, 7.292vw, 140px) 0;
}
body #haven-news1.half-content::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(150px, 17.656vw, 339px);
    aspect-ratio: 339 / 452;
    background: url("/wp-content/uploads/2026/10/haven-multi-news_block_1_graphic_desktop.svg") no-repeat left bottom / contain;
    pointer-events: none;
}
/* square photo: size by column width (the base .nImgRt rule sizes portrait art by height) */
body #haven-news1 .nImgRt {
    flex: 0 0 min(42.292vw, 812px);
    max-width: none;
    height: auto;
    padding: 0;
}
body #haven-news1 .nImgRt picture,
body #haven-news1 .nImgRt img {
    display: block;
    width: 100%;
    height: auto;
    float: none;
}
body #haven-news1 .text {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
    max-width: none;
    min-height: 0;
    padding: clamp(80px, 12.5vw, 240px) clamp(40px, 8.021vw, 154px) 0 0;
}
body #haven-news1 .text > div {
    flex: 0 1 auto;
    width: min(100%, 536px);
    max-width: none;
    margin: 0;
    padding: 0;
}
body #haven-news1 .text h2 {
    display: block;
    margin: 0 0 clamp(20px, 1.667vw, 32px);
    color: var(--black);
    font-family: var(--headingFont);
    font-size: var(--h2FontSize);
    font-weight: var(--headingFontWeight);
    line-height: 1.25;
    text-transform: lowercase;
}
body #haven-news1 .text p {
    margin: 0;
    color: var(--black);
    font-family: var(--bodyFont);
    font-size: var(--bodyFontSize);
    font-weight: var(--bodyFontWeight);
    line-height: 1.5;
}

/* ===== Review Scroller (reviews, Figma 5331:3990) — 1920×640 photo under Figma's left grey fade; 536 copy column 278 in, vertically centered:
   48 heading → 32 → one-up quote (18 Light) → 24 → name + 24 Google mark. Template inlines the raw .jpg; override with the .webp (CSS bgs aren't rewritten) ===== */
body #main section.reviews {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(400px, 33.333vw, 640px);
    padding: clamp(56px, 5.208vw, 100px) 0;
    background: linear-gradient(-90deg, rgb(188 185 181 / 0) 46.745%, rgb(188 185 181 / 60%) 75.937%),
        url("/wp-content/uploads/2026/10/haven-multi-review_scroller_bg_desktop.jpg.webp") center / cover no-repeat;
    color: var(--black);
}
body #main section.reviews .heading,
body #main section.reviews .container {
    width: min(536px, 40vw);
    margin: 0 0 0 14.479vw;
    padding: 0;
    text-align: left;
}
body #main section.reviews .testimony {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
body #main section.reviews .heading h2 {
    margin: 0 0 clamp(20px, 1.667vw, 32px);
    color: var(--black);
    font-family: var(--headingFont);
    font-size: var(--h2FontSize);
    font-weight: var(--headingFontWeight);
    line-height: 1.25;
    text-align: left;
    text-transform: lowercase;
}
/* the quote field's own <p> lands beside an empty p.rText; p.tName sits in .rQuote too. Parent 1.0.28 renders the quote as div.rText */
body #main section.reviews .rQuote p:not(.tName),
body #main section.reviews .rQuote .rText {
    margin: 0;
    color: var(--black);
    font-family: var(--bodyFont);
    font-size: clamp(16px, 0.938vw, 18px);
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
}
body #main section.reviews .rQuote p:empty {
    display: none;
}
/* trunk inline-block rQuote leaves an 8px descender gap under the quote */
body #main section.reviews .rQuote {
    vertical-align: top;
}
/* trunk button rule sets line-height to the letter-spacing token (fgmatchbox#34) */
body #main section.reviews .rMore {
    line-height: 1.5;
}
body #main section.reviews .attribWrap {
    margin-top: 1.5rem;
}
body #main section.reviews .tName {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0;
    color: var(--black);
    font-family: var(--overlineFont);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2.4px;
    line-height: 1.5;
    text-transform: uppercase;
}
/* Figma Google Icon = 14.67 mark in a 24 white circle */
body #main section.reviews .tName img {
    display: block;
    width: 24px;
    height: 24px;
    padding: 4.667px;
    border-radius: 50%;
    background-color: var(--white);
    box-sizing: border-box;
}

/* ===== Footer (Figma Desktop/Footer 5331:4044) — Black, 2px rule; pt56 → 267×104 wordmark → 56 → legal bar (2px rule, py24 px140): copyright left, pipe-separated links right ===== */
/* Figma strokes are inside: inset shadows draw the 2px rules without adding height */
#footer {
    background-color: var(--black);
    box-shadow: inset 0 2px rgb(255 255 255 / 15%);
}
#footer .footer-holder {
    padding: clamp(40px, 2.917vw, 56px) 0 0;
}
#footer .footer-holder > .container {
    justify-content: center;
    padding-bottom: 0;
}
#footer .footer-holder .foot {
    flex: none;
    width: auto;
    max-width: none;
    margin: 0 0 clamp(40px, 2.917vw, 56px);
    padding: 0;
}
#footer .footer-holder .footer-logo,
#footer .footer-holder .footer-logo a {
    display: block;
}
#footer .footer-holder .footer-logo img {
    display: block;
    width: 267px;
    height: auto;
}
#footer .footer-holder .bottom {
    padding: 0;
    border-top: 0;
    box-shadow: inset 0 2px rgb(255 255 255 / 15%);
}
#footer .footer-holder .bottom .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    max-width: none;
    padding: 1.5rem clamp(16px, 7.292vw, 140px);
    overflow: visible;
}
#footer .footer-holder .copyright {
    order: -1;
    float: none;
    margin: 0;
}
#footer .footer-holder .copyright,
#footer .footer-holder .bottom-nav a,
#footer .footer-holder .bottom-nav li::after {
    color: var(--white);
    font-family: var(--bodyFont);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
}
#footer .footer-holder .bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    float: none;
}
#footer .footer-holder .bottom-nav a {
    display: inline;
    min-height: 0;
    padding: 0;
}
#footer .footer-holder .bottom-nav li:not(:last-child)::after {
    margin: 0 .75em;
}

/* ===== Booking popup (#formPop CF7) — no Figma node; branded to the site's square black CTA + field tokens. Borders #767676 for 3:1 non-text contrast ===== */
#formPop .wpcf7 input[type="text"],
#formPop .wpcf7 input[type="email"],
#formPop .wpcf7 input[type="tel"],
#formPop .wpcf7 textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #767676;
    border-radius: 0;
    background-color: var(--white);
    color: var(--black);
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}
#formPop .wpcf7 ::placeholder {
    color: #767676;
    opacity: 1;
}
#formPop .wpcf7 input:focus-visible,
#formPop .wpcf7 textarea:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 0;
    box-shadow: 0 0 0 4px var(--secondaryColor);
}
#formPop .wpcf7 legend {
    font-family: var(--headingFont);
    font-weight: var(--headingFontWeight);
}
#formPop .wpcf7 input[type="radio"] {
    accent-color: var(--black);
}
/* CF7 list items default to a 1em left margin; line the radios up with the legend */
#formPop .wpcf7 .wpcf7-list-item {
    margin: 0 1.5rem 0 0;
}
/* beats trunk #formPop .formPop-form form input[type="submit"] */
#formPop .formPop-form form .wpcf7-submit[type="submit"] {
    width: auto;
    padding: 1rem 2rem;
    border: 0;
    border-radius: 0;
    background-color: var(--black);
    background-image: linear-gradient(var(--primaryColor), var(--primaryColor));
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0 100%;
    color: var(--white);
    font-family: var(--overlineFont);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2.4px;
    line-height: 1.5;
    text-transform: uppercase;
    transition: background-size .3s ease;
}
/* Ali QA: Green fill slides in left → right */
#formPop .formPop-form form .wpcf7-submit[type="submit"]:hover,
#formPop .formPop-form form .wpcf7-submit[type="submit"]:focus-visible {
    background-color: var(--black);
    background-size: 100% 100%;
}
#formPop .formPop-form form .wpcf7-submit[type="submit"]:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
    box-shadow: none;
}
/* Ali QA: phone underlines on hover (Figma Hyperlink/Phone) */
#formPop .formPop-desc a[href^="tel"]:hover {
    text-decoration: underline;
}

/* ===== Interior Hero Banner (child interior Figma 3798:1451) — 960 Light Grey copy panel (breadcrumbs top pt32, lowercase H1 bottom pb56, pl140 pr146) | 960×560 photo ===== */
body .promo.bar.bar-title {
    height: clamp(400px, 29.167vw, 560px);
    background-color: var(--altBg);
}
body .promo.bar.bar-title .ban-content {
    justify-content: space-between;
    width: 50%;
    height: 100%;
    padding: clamp(24px, 1.667vw, 32px) clamp(24px, 7.604vw, 146px) clamp(32px, 2.917vw, 56px) clamp(24px, 7.292vw, 140px);
    background: var(--altBg);
}
/* interior_style loads after this sheet — selectors carry .bar.bar-title (+ .ban-image) to win */
body .promo.bar.bar-title .ban-image {
    left: auto;
    right: 0;
    width: 50%;
    height: 100%;
}
body .promo.bar.bar-title .ban-image .pImg {
    left: 0;
    width: 100%;
    height: 100%;
}
body .promo.bar.bar-title .pImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body .promo.bar.bar-title .tWrap {
    width: 100%;
    max-width: none;
}
body .promo.bar.bar-title .tWrap h1,
body .promo.bar.bar-title .tWrap h2 {
    margin: 0;
    color: var(--black);
    font-family: var(--headingFont);
    font-size: var(--h1FontSize);
    font-weight: var(--headingFontWeight);
    line-height: 1.25;
    text-transform: lowercase;
}
body .promo.bar.bar-title .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    color: var(--black);
    font-family: var(--bodyFont);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
}
body .promo.bar.bar-title .breadcrumb a {
    color: var(--black);
    text-decoration: none;
}
body .promo.bar.bar-title .breadcrumb a:hover {
    text-decoration: underline;
}
/* Figma Components/Chevron (6.7×16) replaces trunk's FA caret */
body .promo.bar.bar-title .breadcrumb .fa-caret-right {
    width: 6.718px;
    height: 16px;
    background-color: var(--black);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6.71763 16'%3E%3Cpath d='M1.06078 2.34314L6.71763 8L5.65697 9.06066L0.000116259 3.4038L1.06078 2.34314Z'/%3E%3Cpath d='M6.71763 8L1.06066 13.6569L0 12.5962L5.65685 6.93934L6.71763 8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body .promo.bar.bar-title .breadcrumb .fa-caret-right::before {
    content: none;
}

/* ===== Interior Page Content (child interior Figma 2849:11789) — 1088 column, py140; H2 Title 40, 24 to body, blocks 80 apart; Body 18 Light, blank line between paragraphs ===== */
body:not(.home) .main-frame #content {
    padding: clamp(80px, 7.292vw, 140px) 0;
}
body:not(.home) .main-frame .entry h2 {
    margin: clamp(56px, 4.167vw, 80px) 0 1.5rem;
    color: var(--black);
    font-family: var(--headingFont);
    font-size: clamp(32px, 2.083vw, 40px);
    font-weight: var(--headingFontWeight);
    line-height: 1.25;
}
body:not(.home) .main-frame .entry p,
body:not(.home) .main-frame .entry li {
    color: var(--black);
    font-family: var(--bodyFont);
    font-size: var(--bodyFontSize);
    font-weight: var(--bodyFontWeight);
    line-height: 1.5;
}
body:not(.home) .main-frame .entry p {
    margin: 0 0 1.5em;
}
body:not(.home) .main-frame .entry > :first-child {
    margin-top: 0;
}
body:not(.home) .main-frame .entry > :last-child {
    margin-bottom: 0;
}

/* ===== Associations Banner (section-partners, child interior Figma 4048:1977) — Black band py100, 4 × 260×80 logos 80 apart ===== */
body .section-partners {
    padding: clamp(56px, 5.208vw, 100px) 0;
}
body .section-partners .partners-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(32px, 4.167vw, 80px);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
body .section-partners .partners-list li {
    flex: none;
    width: auto;
    margin: 0;
    padding: 0;
}
body .section-partners .partners-list img {
    display: block;
    width: 260px;
    height: 80px;
    object-fit: contain;
}

/* Contact popup: each office reads as its own block */
#contInfo .conType + .conType {
    margin-top: clamp(32px, 9vw, 48px);
}

/* Figma Mobile/Body is Regular 400 (Desktop/Body is Light 300) */
@media (max-width: 567px) {
    :root {
        --bodyFontWeight: 400;
    }
}

/* Hero mobile: composite = photo / 213px green band / photo (450×595); copy centered in the band, no overline or button (Figma mobile) */
@media (max-width: 1024px) {
    body.home #main .promo {
        aspect-ratio: 450 / 595;
    }
    body.home #main .promo .promo-holder .container {
        display: grid;
        grid-template-rows: 191fr 213fr 191fr;
        width: 100%;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }
    /* trunk ≤768 makes this a start-placed grid, which shrinks the copy column to its content */
    body.home #main .promo .slide_content {
        display: block;
        grid-row: 2;
        align-self: center;
        width: 100%;
        padding: 0 min(32px, 8.142vw);
    }
    body.home #main .promo h2.banH {
        padding: 0;
        line-height: 1.25;
    }
    body.home #main .promo .btn-block {
        display: none;
    }
}

/* Header mobile (Figma Mobile/Nav Bar 5329:3256 + Mobile/Header 5329:3255): 48 white bar (32 black phone left, 24×12 hamburger right),
   then pt80 → 267×104 wordmark → 48 → Select a Location → pb80 */
@media (max-width: 1024px) {
    /* z-index auto (trunk): the desktop 990 made #header a stacking context that trapped the X under the drawer backdrop (Ali QA close glitch) */
    body #header,
    body.home #header {
        --mobBarH: 48px;
        position: relative;
        z-index: auto;
        padding: 0;
        box-shadow: none;
    }
    /* Parent fix list #62 (CDE pattern): trunk's fixed z-90 holder capped the hamburger under the drawer backdrop, so a tap
       on the X closed then re-opened the menu (Ali QA). The holder (hamburger only at this width) leaves the box tree and
       #header::before paints the white 48 bar */
    body #header .header-holder,
    body #header:hover .header-holder {
        display: contents;
    }
    body #header::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        z-index: 90;
        width: 100%;
        height: var(--mobBarH);
        background-color: var(--white);
        box-shadow: 0 20px 30px rgb(0 0 0 / 5%), 0 5px 15px rgb(0 0 0 / 10%);
    }
    body #header .mobHd {
        width: 100%;
        margin: 0;
        padding-top: var(--mobBarH);
    }
    body #header .mob-logo-section {
        padding: clamp(48px, 20.356vw, 80px) 0 0;
    }
    body #header #mobLogo img {
        width: min(267px, 67.939vw);
        height: auto;
    }
    body #header .btn-block.mobile-show {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        position: static;
        transform: none;
        padding: clamp(32px, 12.214vw, 48px) 0 clamp(48px, 20.356vw, 80px);
    }
    body #header .btn-block.mobile-show .loc-select {
        padding: 1rem 2rem;
        border: 0;
        border-radius: 0;
        background-color: var(--black);
        color: var(--white);
        font-family: var(--overlineFont);
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 2.4px;
        line-height: 1.5;
        text-transform: uppercase;
    }
    /* Ali QA (Figma 5860:1466): Tertiary Book Now under Select a Location. Trunk's no-rucss re-pin fixes it in the bar once
       scrolled at top 28 / -50%: top 24 centres it on this 48 bar (no effect while static); the 24 wrapper keeps its row */
    body #header .btn-block.mobile-show .opener-form {
        min-height: 1.5rem;
    }
    body #header .btn-block.mobile-show .booking-opener,
    body #header .btn-block.mobile-show .booking-blank {
        top: 24px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background-color: transparent;
        background-image: linear-gradient(var(--secondaryColor), var(--secondaryColor));
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: 0 2px;
        color: var(--black);
        font-family: var(--overlineFont);
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 2.4px;
        line-height: 1.5;
        text-transform: uppercase;
        transition: background-size .3s ease;
    }
    body #header .btn-block.mobile-show .booking-opener:hover,
    body #header .btn-block.mobile-show .booking-opener:focus-visible,
    body #header .btn-block.mobile-show .booking-blank:hover,
    body #header .btn-block.mobile-show .booking-blank:focus-visible {
        background-size: 100% 2px;
        color: var(--black);
    }
    body #header .btn-block.mobile-show .loc-select:focus-visible,
    body #header .btn-block.mobile-show .booking-opener:focus-visible,
    body #header .btn-block.mobile-show .booking-blank:focus-visible {
        outline: 2px solid var(--black);
        outline-offset: 4px;
        box-shadow: none;
    }
    body .mobile-show.moreInfo {
        top: 8px;
        left: min(32px, 8.142vw);
    }
    body .mobile-show.moreInfo a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background-color: var(--black);
        color: var(--white);
        font-size: 1rem;
    }
    body .menu-opener {
        top: 2px;
        right: calc(min(32px, 8.142vw) - 10px);
    }
    body .menu-opener::before,
    body .menu-opener::after {
        left: 10px;
        width: 24px;
        height: 2px;
        background: var(--black);
    }
    body .menu-opener::before {
        top: 16px;
    }
    body .menu-opener::after {
        top: 26px;
    }
}

/* Diff Bar mobile (Figma 5329:3244): py100 px32, blocks stacked 48 apart, 20px heading */
@media (max-width: 1024px) {
    body .diff.haven-diff-bar,
    body .widget.widget-diff {
        padding: clamp(56px, 25.445vw, 100px) min(32px, 8.142vw);
    }
    body .diff.haven-diff-bar .container ,
    body .widget.widget-diff .container {
        width: 100%;
        margin: 0;
    }
    body .diff.haven-diff-bar .heading h1 ,
    body .widget.widget-diff .heading h2 {
        margin-bottom: clamp(32px, 12.214vw, 48px);
    }
    body .diff.haven-diff-bar .row.flex ,
    body .widget.widget-diff .row.flex {
        flex-direction: column;
        gap: clamp(32px, 12.214vw, 48px);
    }
    body .diff.haven-diff-bar .diffBox ,
    body .widget.widget-diff .diffBox {
        flex: none;
        width: 100%;
    }
}

/* News Block mobile (Figma 5329:3228): 329 photo inset 32 → 48 → copy (36 heading, 24 gap) → 48 → 188×94 graphic flush right */
@media (max-width: 1024px) {
    body #haven-news1.half-content,
    body #haven-news1.half-content.reverse {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }
    body #haven-news1.half-content::before {
        display: none;
    }
    body #haven-news1.half-content::after {
        content: "";
        align-self: flex-end;
        width: 188px;
        height: 94px;
        margin-top: clamp(32px, 12.214vw, 48px);
        background: url("/wp-content/uploads/2026/10/haven-multi-news_block_1_graphic_mobile.svg") no-repeat right bottom / contain;
    }
    body #haven-news1 .nImgRt {
        flex: none;
        width: 100%;
        padding: 0 min(32px, 8.142vw);
    }
    body #haven-news1 .nImgRt img {
        aspect-ratio: 329 / 326;
        object-fit: cover;
    }
    body #haven-news1 .text {
        display: block;
        flex: none;
        width: 100%;
        padding: clamp(32px, 12.214vw, 48px) min(32px, 8.142vw) 0;
    }
    body #haven-news1 .text > div {
        width: 100%;
    }
    body #haven-news1 .text h2 {
        margin-bottom: 1.5rem;
    }
}

/* Review Scroller mobile (Figma 5329:3213): 240 photo band, then a Grey panel py80 px32 — centered 36 heading → 24 → quote → 16 → name */
@media (max-width: 1024px) {
    body #main section.reviews {
        display: block;
        min-height: 0;
        padding: 0 0 clamp(56px, 20.356vw, 80px);
        background: var(--gray);
    }
    body #main section.reviews::before {
        content: "";
        display: block;
        aspect-ratio: 393 / 240;
        margin-bottom: clamp(56px, 20.356vw, 80px);
        background: url("/wp-content/uploads/2026/10/haven-multi-review_scroller_bg_mobile.jpg.webp") center / cover no-repeat;
    }
    body #main section.reviews .heading,
    body #main section.reviews .container {
        width: 100%;
        margin: 0;
        padding: 0 min(32px, 8.142vw);
        text-align: center;
    }
    body #main section.reviews .heading h2 {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    /* trunk mobile insets the quote 15px each side inside the already-padded container */
    body #main section.reviews .testCont,
    body #main section.reviews .rQuote {
        padding-inline: 0;
    }
    body #main section.reviews .rQuote p:not(.tName),
    body #main section.reviews .rQuote .rText {
        font-size: 18px;
        text-align: center;
    }
    /* Ali QA: every quote capped at the shortest one's length (4 lines on a 360–430 phone) so the slides match; Read More opens the rest */
    body #main section.reviews .rQuote .rText:not(.is-open) {
        -webkit-line-clamp: 4;
    }
    body #main section.reviews .attribWrap {
        margin-top: 1rem;
    }
    body #main section.reviews .tName {
        justify-content: center;
    }
}

/* Footer mobile (Figma 5329:3164): pt80 → wordmark → 56 → legal bar py24 px32, centered: copyright → 16 → two link rows (T&C | Privacy / Accessibility | Sitemap) 16 apart */
@media (max-width: 1024px) {
    #footer .footer-holder {
        padding-top: clamp(56px, 20.356vw, 80px);
    }
    /* trunk mobile sets 20px on .foot:first-of-type */
    #footer .footer-holder .foot:first-of-type {
        margin-bottom: 3.5rem;
    }
    #footer .footer-holder .bottom .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem min(32px, 8.142vw);
        text-align: center;
    }
    #footer .footer-holder .bottom-nav {
        justify-content: center;
    }
    #footer .footer-holder .bottom-nav::after {
        content: "";
        flex-basis: 100%;
        order: 2;
    }
    #footer .footer-holder .bottom-nav li:nth-child(n+3) {
        order: 3;
        margin-top: 1rem;
    }
    #footer .footer-holder .bottom-nav li:nth-child(2)::after {
        display: none;
    }
}

/* Interior mobile (Figma Interior Page Mobile 2849:11739): 240 photo band above a Light Grey panel (pt80 pb32 px32, 36 H1, no breadcrumbs); content py80 px32, H2 32, blocks 56 apart; logos stacked 32 apart, py80 */
@media (max-width: 1024px) {
    body .promo.bar.bar-title {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    body .promo.bar.bar-title .row.flex {
        display: flex;
        flex-direction: column-reverse;
    }
    body .promo.bar.bar-title .ban-image,
    body .promo.bar.bar-title .ban-image .pImg {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 393 / 240;
    }
    body .promo.bar.bar-title .ban-content {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: clamp(56px, 20.356vw, 80px) min(32px, 8.142vw) 2rem;
    }
    body .promo.bar.bar-title .breadcrumbs-block {
        display: none;
    }
    body:not(.home) .main-frame #content {
        width: 100%;
        padding-inline: min(32px, 8.142vw);
    }
    body:not(.home) .main-frame .container {
        width: 100%;
    }
    body .section-partners {
        padding: clamp(56px, 20.356vw, 80px) 0;
    }
    body .section-partners .partners-list {
        flex-direction: column;
        gap: 2rem;
    }
}
