@charset "UTF-8";

/* Shared chrome for the 2026 ad landing pages (ported from Scottsdale; Roman tokens).
   Loaded site-wide; the classes only appear on landing sections, and every reused-module tweak
   is scoped to the landing template's body class. Scottsdale's reviews wave is NOT ported (Ali). */

/* Landing CTA pair — outlined phone + filled "Book Now" (hero, services, news, footer banner) */
.lCtas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp( 12px, 0.833vw, 16px );
}

.lCta {
    display: inline-flex;
    align-items: center;
    gap: clamp( 12px, 0.833vw, 16px );
    border: 2px solid transparent;
    border-radius: var( --btn-border-radius );
    font-family: var( --body-font );
    font-weight: var( --btn-font-weight );
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

/* An anchor-underline rule elsewhere on the page wins the hover state on .lCta — kill it everywhere */
.lCta:hover,
.lCta:focus {
    text-decoration: none;
}

.lCta-phone {
    padding: 8px clamp( 24px, 1.667vw, 32px ) 8px 8px;
    background-color: transparent;
}

.lCta-book {
    padding: clamp( 12px, 0.833vw, 16px ) clamp( 20px, 1.667vw, 32px );
}

/* fgBFramework's .booking-opener (header pill) carries margin + a max-width that leak onto this
   reused class — .lCta.booking-opener (2 classes) outranks the parent's single class. */
.lCta.booking-opener,
.lCta.booking-blank {
    margin: 0;
    max-width: none;
}

.lCtaIcon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    line-height: 0;
}

.lCtaArrow {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    line-height: 0;
}

.lCtaIcon img,
.lCtaArrow img {
    display: block;
    width: 100%;
    height: 100%;
    transition: filter 0.25s ease;
}

/* Two phone buttons (number / "Call") toggled by fgB's mobile-hidden|mobile-show at ≤1024;
   .lCta's own display would out-cascade the theme utilities, so restate them per breakpoint. */
.lCta.mobile-show {
    display: none;
}

/* Dark = on navy (hero, footer banner); light = on white / light grey (services, news blocks).
   Book text is navy on gold, not Roman's usual white-on-gold (that pairing fails contrast). */
.lCta-phone.lCta-dark {
    border-color: var( --white );
    color: var( --white );
}

.lCta-book.lCta-dark {
    background-color: var( --white );
    color: var( --navy );
}

.lCta-phone.lCta-light {
    border-color: var( --primary-color );
    color: var( --navy );
}

.lCta-book.lCta-light {
    background-color: var( --primary-color );
    color: var( --navy );
}

.lCta-phone.lCta-dark:hover {
    border-color: var( --primary-color );
    color: var( --primary-color );
}

.lCta-book.lCta-dark:hover {
    background-color: var( --primary-color );
    color: var( --navy );
}

.lCta-phone.lCta-light:hover {
    border-color: var( --navy );
    color: var( --navy );
}

.lCta-book.lCta-light:hover {
    background-color: var( --navy );
    color: var( --white );
}

/* The arrow is a navy SVG <img>: on the gold Book button's navy hover it vanished — flip it white
   (the white-on-navy Book button hovers to gold, where the navy arrow still reads) */
.lCta-book.lCta-light:hover .lCtaArrow img {
    filter: brightness( 0 ) invert( 1 );
}

/* A currentColor focus ring reads fine everywhere except the white Book button on navy
   (navy ring on navy) — #main + !important beats accessibility-widget focus rules. */
#main .lCta.lCta-book.lCta-dark:focus-visible {
    outline: 2px solid var( --white ) !important;
    outline-offset: 3px !important;
}

/* Freeform logo bands (Insurance / Associations) — markup lives in the freeform WYSIWYG */
.landLogos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp( 32px, 4.167vw, 80px );
    width: min( 90vw, 1368px );
    margin: 0 auto;
    padding: 0;
}

.landLogosAssoc {
    justify-content: center;
}

.landLogosCopy {
    max-width: 674px;
    display: flex;
    flex-direction: column;
    gap: clamp( 12px, 0.833vw, 16px );
}

.landLogosDark .landLogosCopy h2 {
    margin: 0;
    font-family: var( --heading-font );
    font-weight: var( --heading-font-weight );
    font-size: clamp( 26px, 1.875vw, 36px );
    line-height: 1.15;
    color: var( --white );
}

.landLogosDark .landLogosCopy p {
    margin: 0;
    font-family: var( --body-font );
    font-size: 18px;
    line-height: 1.5;
    color: var( --white );
}

.landLogosRow {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp( 24px, 2.917vw, 56px );
    flex-wrap: wrap;
}

.landLogosRowCenter {
    justify-content: center;
    width: 100%;
}

.landLogos .llLogo {
    height: 80px;
}

/* The Associations band holds 4–5 logos — scale them with the viewport so they hold one row
   down to 1024, where the row goes to a column stack. */
#landing-assoc .llLogo,
#np-assoc .llLogo {
    height: clamp( 48px, 3.542vw, 68px );
}

.landLogos .llLogo img {
    display: block;
    height: 100%;
    width: auto;
}

/* Landing pages only: reused modules take the landing vertical rhythm (140/140) */
body.page-template-full-width-flexible-no-banner .half-content {
    padding: clamp( 64px, 7.292vw, 140px ) 0;
}

body.page-template-full-width-flexible-no-banner .faq {
    padding: clamp( 64px, 7.292vw, 140px ) 0;
}

/* News blocks: the [landing_ctas] pair follows the WYSIWYG body copy (80 desktop / 48 mobile) */
body.page-template-full-width-flexible-no-banner .half-content .lCtas {
    margin-top: clamp( 48px, 4.167vw, 80px );
}

/* fw_content_half.css's `.half-content .text a:not(.btn)` (inherit + underline) ties .lCta on
   specificity and loads later — the extra .text wins the tie */
body.page-template-full-width-flexible-no-banner .half-content .text .lCta,
body.page-template-full-width-flexible-no-banner .half-content .text .lCta:hover,
body.page-template-full-width-flexible-no-banner .half-content .text .lCta:focus {
    color: var( --navy );
    text-decoration: none;
}

body.page-template-full-width-flexible-no-banner .half-content .text .lCta-book.lCta-light:hover {
    color: var( --white );
}

/* fw_content_half.css's in-content image margin also hits the [landing_ctas] icon SVGs */
body.page-template-full-width-flexible-no-banner .half-content .lCtaIcon img,
body.page-template-full-width-flexible-no-banner .half-content .lCtaArrow img {
    margin-top: 0;
}

/* Every text + photo block photo gets the interior pages' image corners (`.entry img` in interior_style.css,
   the site token --main-border-radius = 20px, same as Ali's Cosmetics portraits). James 2026-11-19: the NP/ER
   news photos and the doctors photo were square. The split hero's photo panel stays square. */
body.page-template-full-width-flexible-no-banner .half-content .image img {
    border-radius: var( --main-border-radius );
}

/* News + FAQ headers: title case + navy (the reused modules ship an uppercase treatment) */
body.page-template-full-width-flexible-no-banner .half-content h2,
body.page-template-full-width-flexible-no-banner .faq .heading h2 {
    color: var( --navy );
    text-transform: capitalize;
}

/* Last FAQ item's item-gap margin dangles below the collapsed panel — trim it */
body.page-template-full-width-flexible-no-banner .faq-item:last-child {
    margin-bottom: 0;
}

/* Reused faq.css has no hover/focus-visible state on the accordion trigger */
body.page-template-full-width-flexible-no-banner .faq .question:hover {
    background-color: #F0F0F0;
}

#main .faq .question:focus-visible {
    outline: 2px solid var( --navy ) !important;
    outline-offset: 2px !important;
}

/* Reviews: equal top/bottom padding, and no module heading on the landing pages (reviews only) */
body.page-template-full-width-flexible-no-banner .reviews {
    padding: clamp( 80px, 7.29vw, 140px ) 0;
}

body.page-template-full-width-flexible-no-banner .reviews .heading {
    display: none;
}

/* The footer banner (services_landing.slFooter) and the footer are both navy — a hairline separates them */
body.page-template-full-width-flexible-no-banner #footer {
    border-top: 2px solid rgba( 255, 255, 255, 0.15 );
}

/* ---- Cosmetics landing (Ali 2026-11-12): Roman's interior-page blocks on the landing template ----
   Navy centred band = section-content, class "lBand" (navy bg + white text set on the module):
   1088 measure, 140 padding, 48px title, 32 to the copy. Phone (interior mobile frame): 80 padding, 28px title */
body.page-template-full-width-flexible-no-banner .fullContent.lBand {
    padding: clamp( 80px, 7.292vw, 140px ) 0;
    text-align: center;
}

body.page-template-full-width-flexible-no-banner .fullContent.lBand .container > div {
    float: none;
    width: 100%;
    max-width: 1088px;
    margin: 0 auto;
    padding: 0;
}

body.page-template-full-width-flexible-no-banner .fullContent.lBand h2 {
    color: inherit;
    font-family: var( --heading-font );
    font-size: clamp( 28px, 2.5vw, 48px );
    font-weight: var( --heading-font-weight );
    line-height: 1.15;
    letter-spacing: normal;
    text-transform: none;
    margin: 0 0 clamp( 24px, 1.667vw, 32px );
}

body.page-template-full-width-flexible-no-banner .fullContent.lBand p,
body.page-template-full-width-flexible-no-banner .half-content.lPortrait .text p {
    font-size: var( --body-font-size );
    line-height: 1.5;
    margin: 0 0 1.5em;
}

body.page-template-full-width-flexible-no-banner .fullContent.lBand p:last-child,
body.page-template-full-width-flexible-no-banner .half-content.lPortrait .text p:last-child {
    margin-bottom: 0;
}

/* Text + rounded portrait = fw_content_half, image right (img_side off → .reverse), class "lPortrait":
   536 copy | 154 gap | 398×560 photo, vertically centred; 48px title, 24 to the copy, 56 to the CTAs */
body.page-template-full-width-flexible-no-banner .half-content.lPortrait {
    padding: clamp( 80px, 7.292vw, 140px ) 0;
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container {
    justify-content: center;
    align-items: center;
    gap: clamp( 48px, 8.021vw, 154px );
}

/* The container's clearfix ::after is a flex item here — it added a third 154 gap and pushed the pair 77px right */
body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container::before,
body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container::after {
    content: none;
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container > .image,
body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container > .text {
    float: none;
    padding: 0;
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container > .image {
    flex: 0 0 398px;
    width: 398px;
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container > .text {
    flex: 0 1 536px;
    width: auto;
    color: var( --black );
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait .text > div {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait h2 {
    display: block;
    color: var( --black );
    font-size: clamp( 28px, 2.5vw, 48px );
    line-height: 1.15;
    text-transform: none;
    margin: 0 0 24px;
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait .image img {
    display: block;
    width: 398px;
    max-width: 100%;
    height: auto;
    margin: 0;
    float: none;
    box-shadow: 0 24px 40px rgba( 0, 0, 0, 0.1 ), 0 56px 72px rgba( 0, 0, 0, 0.05 );
}

body.page-template-full-width-flexible-no-banner .half-content.lPortrait .lCtas {
    margin-top: clamp( 48px, 2.917vw, 56px );
}

/* Navy text + photo block = fw_content_half, class "lNavy" (Cosmetics Meet the Doctors, James 2026-11-19).
   The module's column colours (navy bg, white text) only paint the columns inside the container, so the
   section fills navy edge to edge here, and the navy-forced heading + phone CTA above flip to white.
   The copy uses [landing_ctas variant="dark"]. */
body.page-template-full-width-flexible-no-banner .half-content.lNavy {
    background-color: var( --navy );
}

/* Heading size + spacing match the portrait blocks' h2 (James 2026-11-19): on phones the news-block 36px
   (567 block) made it bigger than the 28px portrait headings */
body.page-template-full-width-flexible-no-banner .half-content.lNavy h2 {
    color: var( --white );
    font-size: clamp( 28px, 2.5vw, 48px );
    line-height: 1.15;
    margin-bottom: 24px;
}

body.page-template-full-width-flexible-no-banner .half-content.lNavy .text .lCta-phone.lCta-dark {
    color: var( --white );
}

body.page-template-full-width-flexible-no-banner .half-content.lNavy .text .lCta-phone.lCta-dark:hover,
body.page-template-full-width-flexible-no-banner .half-content.lNavy .text .lCta-phone.lCta-dark:focus {
    color: var( --primary-color );
}

/* Cosmetics FAQ (faq class_name "faqLines"): grey band, 1114 measure, bold 22px questions on 2px dividers,
   a thin chevron instead of +/−; 40 under the title, 28 between items, 24 down to an open answer */
body.page-template-full-width-flexible-no-banner .faq.faqLines {
    background-color: var( --alt-bg );
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .heading h2 {
    color: var( --black );
    margin-bottom: clamp( 28px, 2.083vw, 40px );
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-holder {
    float: none;
    width: 100%;
    max-width: 1114px;
    margin: 0 auto;
    padding: 0;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item {
    margin: 0;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba( 31, 40, 51, 0.15 );
    background-color: transparent;
    box-shadow: none;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item:not( :last-child ) {
    margin-bottom: 28px;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item .accordion {
    justify-content: flex-start;
    width: 100%;
    padding: 0 40px 0 0;
    background-color: transparent;
    text-align: left;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item .accordion::after,
body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item .accordion.active::after {
    content: '';
    right: 4px;
    width: 10px;
    height: 10px;
    font-size: 0;
    border-right: 2px solid var( --black );
    border-bottom: 2px solid var( --black );
    transform: translateY( -75% ) rotate( 45deg );
    transition: transform .3s ease;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item .accordion.active::after {
    transform: translateY( -25% ) rotate( -135deg );
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .question:hover {
    background-color: transparent;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .question h4 {
    color: var( --black );
    font-family: var( --body-font );
    font-size: clamp( 20px, 1.146vw, 22px );
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .question:hover h4 {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item .panel,
body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item .panel.show {
    padding: 0 40px 0 0;
    color: var( --black );
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .faq-item .panel.show {
    padding-top: 24px;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .answer p {
    font-size: var( --body-font-size );
    line-height: 1.5;
}

body.page-template-full-width-flexible-no-banner .faq.faqLines .answer p:last-child {
    margin-bottom: 0;
}

/* Differentiators (new_diff, Theme Settings content): on the homepage the icon picks up feat_serv.css's
   global `img { vertical-align: middle }` — feat_serv isn't on landing pages, so match it here (else +7px) */
body.page-template-full-width-flexible-no-banner .diff .diffImg img {
    vertical-align: middle;
}

/* New Patients + Emergency keep the white band their differentiator replaced (James 2026-11-12): Section Class
   "diffWhite" — white, no navy artwork, black copy, gold checks (sits under the navy logo band, which stays
   navy for its white logos). Cosmetics uses it too since 2026-11-19, under its navy Meet the Doctors block.
   style.css's `.spWrap { color: white }` would otherwise keep the items white-on-white. */
body.page-template-full-width-flexible-no-banner .diff.diffWhite {
    background-color: var( --white );
    background-image: none;
    color: var( --black );
}

body.page-template-full-width-flexible-no-banner .diff.diffWhite .spWrap {
    color: inherit;
}

body.page-template-full-width-flexible-no-banner .diff.diffWhite .diffList li .fas {
    color: var( --primary-color );
}

@media ( max-width: 1024px ) {
    .lCta.mobile-hidden {
        display: none;
    }

    .lCta.mobile-show {
        display: inline-flex;
    }

    .lCtas {
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
        gap: min( 8vw, 16px );
    }

    .lCta {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
        gap: min( 8vw, 16px );
    }

    .lCta-phone {
        padding: 8px min( 16vw, 32px ) 8px 8px;
    }

    .lCta-book {
        padding: min( 8vw, 16px ) min( 16vw, 32px );
    }

    .lCtaArrow {
        display: none;
    }

    .landLogos {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp( 28px, 5vw, 40px );
    }

    .landLogos .llLogo {
        height: 60px;
    }

    body.page-template-full-width-flexible-no-banner .section-location .map-block.fwMap {
        display: flex;
        flex-direction: column;
    }

    body.page-template-full-width-flexible-no-banner .section-location #map {
        order: 1;
    }

    body.page-template-full-width-flexible-no-banner .section-location #xs-address.address {
        order: 2;
    }

    /* Portrait blocks stack photo first, copy below — like the NP/ER news blocks (James 2026-11-19); Roman
       interior mobile frame: 32px sides; photo stays ≤398 wide. Every other text + photo block (NP/ER news
       blocks, the Cosmetics navy doctors block) stacks with the same spacing (James 2026-11-19): 80 above the
       photo, the same photo→copy gap, 80 below the copy. lPortrait stays listed so it outranks its desktop rules. */
    body.page-template-full-width-flexible-no-banner .half-content .container,
    body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container {
        flex-direction: column;
        align-items: stretch;
        gap: clamp( 40px, 5.469vw, 56px );
        padding-left: min( 8.14vw, 32px );
        padding-right: min( 8.14vw, 32px );
    }

    body.page-template-full-width-flexible-no-banner .fullContent.lBand .container,
    body.page-template-full-width-flexible-no-banner .faq.faqLines .container {
        padding-left: min( 8.14vw, 32px );
        padding-right: min( 8.14vw, 32px );
    }

    body.page-template-full-width-flexible-no-banner .half-content .container > .image,
    body.page-template-full-width-flexible-no-banner .half-content .container > .text,
    body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container > .image,
    body.page-template-full-width-flexible-no-banner .half-content.lPortrait .container > .text {
        flex: 0 0 auto;
        float: none;
        width: 100%;
        padding: 0;
    }

    body.page-template-full-width-flexible-no-banner .half-content.lPortrait .image img {
        margin: 0 auto;
    }

    /* The other blocks get the rest of what lPortrait's desktop rules give it: 80 top/bottom (replaces the
       Scottsdale news-block 32/100), no clearfix flex items (they'd add a gap above and below), no Bootstrap
       column padding on the copy, and a full-width photo (fw_content_half.css makes it 80%) capped at the
       800×560 uploads on tablets, centred like the portraits and as tall as them */
    body.page-template-full-width-flexible-no-banner .half-content {
        padding: 80px 0;
    }

    body.page-template-full-width-flexible-no-banner .half-content .container::before,
    body.page-template-full-width-flexible-no-banner .half-content .container::after {
        content: none;
    }

    /* Stacked headings match the Cosmetics portrait headings: 28px, 24 to the copy (James 2026-11-19; phones
       had the Scottsdale news-block 36px, tablets a 20px gap) */
    body.page-template-full-width-flexible-no-banner .half-content h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    body.page-template-full-width-flexible-no-banner .half-content .text > div {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    body.page-template-full-width-flexible-no-banner .half-content .image img {
        width: 100%;
        max-width: 800px;
        height: auto;
        margin: 0 auto;
    }
}

/* Phone (393w frame): logo bands py-80 (Insurance centered), text + photo blocks stack like the Cosmetics
   portraits (1024 block) with a 28px heading, FAQ title 36px with bordered 20px/600 question blocks gap-28 apart */
@media ( max-width: 567px ) {
    /* Phone CTA pair: at 375w the Book pill's content box was 93px but "BOOK NOW" needs 111px at
       2.4px tracking, so it wrapped to two lines — tighter side padding + tracking keep it on one
       line down to ~360w. */
    .lCta {
        letter-spacing: 1.2px;
    }

    .lCta-book {
        padding: min( 4.07vw, 16px );
    }

    #landing-insurance,
    #landing-assoc,
    #np-insurance,
    #np-assoc {
        padding: min( 20.36vw, 80px ) 0;
    }

    .landLogosCopy {
        gap: min( 4.07vw, 16px );
    }

    .landLogosDark .landLogosCopy h2 {
        font-size: 28px;
    }

    .landLogosDark .landLogosRow {
        flex-direction: column;
        gap: 0;
    }

    #landing-insurance .landLogosCopy,
    #np-insurance .landLogosCopy {
        align-items: center;
        text-align: center;
    }

    #landing-insurance .landLogosRow,
    #np-insurance .landLogosRow {
        align-items: center;
    }

    body.page-template-full-width-flexible-no-banner .faq h2 {
        font-size: 36px;
    }

    body.page-template-full-width-flexible-no-banner .faq .faq-item {
        padding-bottom: min( 6.11vw, 24px );
        border-bottom: 2px solid #DDDFE0;
        background-color: var( --white );
    }

    body.page-template-full-width-flexible-no-banner .faq .faq-item:not( :last-child ) {
        margin-bottom: min( 7.13vw, 28px );
    }

    body.page-template-full-width-flexible-no-banner .faq .faq-item:last-child {
        border-bottom: 0;
    }

    body.page-template-full-width-flexible-no-banner .faq .question h4 {
        font-size: 20px;
        font-weight: var( --btn-font-weight );
        line-height: 1.25;
    }
}
