/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Navigator brand CSS custom properties — reinforce after Flatsome's :root block */
:root {
    --navigator-violet:  #21145f;
    --navigator-magenta: #c8187d;
    --navigator-yellow:  #FFB71B;
    --navigator-blue:    #8CB7C9;
    --navigator-gray:    #58595b;
    /* Override Flatsome's CSS vars with Navigator brand */
    --fs-color-primary:   #21145f;
    --fs-color-secondary: #c8187d;
    --fs-color-base:      #58595b;
    --primary-color:      #21145f;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


/* =============================================================================
   Navigator → Flatsome Visual Compatibility CSS
   Derived from front-end-build-tools/src/sass/ source and migrated page structure.
   Targets Flatsome shortcode output classes to match the original Navigator design.

   Brand variables (resolved):
     $violet:  #21145f   $magenta: #c8187d   $yellow:  #FFB71B
     $blue:    #8CB7C9   $gray:    #58595b   $white:   #ffffff
   Fonts: fira-sans (headings), roboto-slab (body)
   Breakpoints: mobile < 768px, tablet 768-1023px, desktop >= 1024px
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. GLOBAL TYPOGRAPHY — fira-sans headings, roboto-slab body, brand colors
   --------------------------------------------------------------------------- */

body,
.flatsome-child body {
    font-family: roboto-slab, serif;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 400;
    color: #58595b;
}

h1, h2, h3, h4,
.header1, .header2, .header3 {
    font-family: fira-sans, sans-serif !important;
    color: #21145f;
    font-weight: 700;
}

h5, h6 {
    font-family: fira-sans, sans-serif !important;
    color: #58595b;
}

h1, .header1 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.5px;
}
@media (min-width: 64em) {
    h1, .header1 {
        font-size: 40px;
        line-height: 48px;
    }
}

h2, .header2 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.4px;
    margin-bottom: 24px;
}
@media (min-width: 64em) {
    h2, .header2 {
        font-size: 40px;
        line-height: 48px;
    }
}

h3, .header3 {
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
    letter-spacing: -0.1px;
    margin-bottom: 24px;
}

/* Legacy global utility: `.white` forces white text. Used on CTA headings that
   sit on dark full-width banners across many pages (tl251 + success/info/payers
   CTAs). Was never ported, so those headings fell back to grey — restore it. */
.white {
    color: #fff !important;
}

/* Resources "Order Free Resources" CF7 form (page 2217): the order-form submit
   inherited a navy default; brand it magenta like the site's other form buttons. */
body.page-id-2217 .wpcf7 input[type="submit"],
body.page-id-2217 form input[type="submit"] {
    background-color: #c8187d !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 30px !important;
    font-family: 'fira-sans', sans-serif !important;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}
body.page-id-2217 .wpcf7 input[type="submit"]:hover,
body.page-id-2217 form input[type="submit"]:hover {
    background-color: #a01464 !important;
}

/* questions_post (/your-questions/<slug>/ FAQ detail pages): the legacy theme
   shows no social-share row, author byline, post meta, or prev/next nav — hide
   Flatsome's default single-post chrome so it matches the original. */
body.single-questions_post .blog-share,
body.single-questions_post .entry-author,
body.single-questions_post .author-box,
body.single-questions_post .entry-meta,
body.single-questions_post .nav-next,
body.single-questions_post .nav-previous,
body.single-questions_post .next-prev-nav,
body.single-questions_post .blog-footer,
/* the page now carries its own "Your Questions" [ux_banner] hero + the question
   as a content <h2>, matching the original — hide Flatsome's single-post header. */
body.single-questions_post .entry-header {
    display: none !important;
}
/* FAQ detail content sits flush under its own hero (kill the single template's
   top padding so the hero is full-bleed like the original). */
body.single-questions_post .post-sidebar-continue,
body.single-questions_post #content .page-wrapper > .container { padding-top: 0 !important; }
/* FAQ detail sidebar (related-question nav) to match the original layout. */
.faq-sidebar { text-align: left; padding-right: 10px; }
.faq-sidebar .faq-back { display: inline-block; font-weight: 700; color: #21145f; text-decoration: none; margin-bottom: 16px; font-size: 15px; }
.faq-sidebar .faq-back:hover { color: #c8187d; }
.faq-sidebar .faq-related { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e6e6e6; }
.faq-sidebar .faq-related li { margin: 0; padding: 12px 0; border-bottom: 1px solid #e6e6e6; }
.faq-sidebar .faq-related a { color: #21145f; text-decoration: none; font-size: 14px; line-height: 1.35; }
.faq-sidebar .faq-related a:hover { color: #c8187d; }
.faq-sidebar .faq-related li.is-current a { color: #c8187d; font-weight: 700; }

/* full-width-banner CTAs use WHITE heading text on a photo. Two problems on the
   migrated Flatsome [section].full-width-banner:
   (1) The child theme carries LEGACY .full-width-banner rules (fixed height:340px
       + gray #58595b bg + .component/.bg-img markup) from the ORIGINAL theme. The
       migrated markup is a Flatsome section (.section-bg/.section-content), so the
       legacy fixed-height/gray-bg collides with it (produces a gray/white box and
       clips the photo). Neutralise those legacy rules for real <section> elements.
   (2) The migrated overlay (rgba 0,0,0,0.1) is far lighter than the original's
       rgba(88,89,91,0.66), so the white heading is unreadable. Restore ~0.66. */
section.full-width-banner { height: auto !important; background-color: transparent !important; }
/* Match the original band height (467px desktop / 340px mobile) so the photo has
   the same presence — height:auto alone left them ~210-260px (half the original). */
section.full-width-banner { min-height: 467px; display: flex; align-items: center; }
@media (max-width: 849px) { section.full-width-banner { min-height: 340px; } }
section.full-width-banner .section-content { position: relative; z-index: 2; width: 100%; }
.full-width-banner .section-bg-overlay { background-color: rgba(88, 89, 91, 0.66) !important; }
/* The CTA <h2/h3 class="small white"> picks up a stray white background (white
   text on white box = invisible — e.g. "What kind of treatment can I get?" is an
   <h2>, not an <h3>). Force ALL banner heading levels transparent so the white
   heading reads on the darkened photo, and center it like the original. */
.full-width-banner .col-inner h1,
.full-width-banner .col-inner h2,
.full-width-banner .col-inner h3,
.full-width-banner .col-inner h4 { background: transparent !important; text-align: center; }

h4 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
}

/* Color utility classes */
.violet { color: #21145f !important; }
.blue   { color: #8CB7C9 !important; }
.yellow { color: #FFB71B !important; }
.gray   { color: #58595b !important; }

/* Headings inside dark/light containers inherit white */
.col-inner.dark h1,
.col-inner.dark h2,
.col-inner.dark h3,
.col-inner.dark h4,
.text-box-content.dark h1,
.text-box-content.dark h2,
.text-box-content.dark h3,
.text-box-content.dark h4,
.col-inner.dark p,
.text-box-content.dark p {
    color: #ffffff;
}

/* Global link color */
a {
    color: #8CB7C9;
    text-decoration: none;
}
a:hover {
    color: #c8187d;
}

/* ---------------------------------------------------------------------------
   2. GLOBAL LAYOUT — sections, rows, columns
   --------------------------------------------------------------------------- */

/* Flatsome sections: generous spacing like original Navigator sections (~52px mobile, ~110px desktop) */
.section {
    margin-bottom: 52px;
}
@media (min-width: 64em) {
    .section {
        margin-bottom: 110px;
    }
}

/* Remove excessive padding Flatsome adds to sections by default */
.section-content {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}
@media (min-width: 64em) {
    .section-content {
        padding-left: 36px;
        padding-right: 36px;
    }
}

/* Full-bleed sections should not be constrained */
.section[class*="cta-"],
.section.mb0[style*="bg"],
.section .section-bg.fill {
    max-width: none;
}

/* ---------------------------------------------------------------------------
   3. HERO BANNER — full-width, left-aligned text, Flatsome native overlay
   --------------------------------------------------------------------------- */

/* Kill all width constraints on the content path */
#wrapper,
#main,
#content.content-area {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
}

/* Banners and sections fill full viewport width */
.banner,
.section,
.slider-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}

/* Rows inside sections stay contained at site max-width */
.section > .section-content > .row,
.section .row,
.banner .banner-layers.container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Hero banner: ensure edge-to-edge rendering */
.banner,
.banner-inner,
.banner[class*="hero-"] {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

/* Background image covers full banner */
.banner-bg.fill img.bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero subheadline (small text above h1) */
.banner .hero-subheadline {
    font-family: roboto-slab, serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
    display: block;
}

/* Hero h1 — large, gold/yellow */
.banner h1,
.banner .text-box-content h1,
.banner .text-inner h1 {
    font-family: fira-sans, sans-serif !important;
    font-size: 50px !important;
    line-height: 53px !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    color: #FFB71B !important;
    margin-top: 6px !important;
    margin-bottom: 25px !important;
}
@media (min-width: 64em) {
    .banner h1,
    .banner .text-box-content h1,
    .banner .text-inner h1 {
        font-size: 85px !important;
        line-height: 77px !important;
        margin-bottom: 50px !important;
    }
}

/* Hero h4 (body text in banner) — white */
.banner h4,
.banner .text-box-content h4,
.banner .text-inner h4 {
    font-family: roboto-slab, serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}
@media (min-width: 64em) {
    .banner h4,
    .banner .text-box-content h4,
    .banner .text-inner h4 {
        font-size: 18px !important;
        line-height: 28px !important;
        max-width: 405px;
    }
}

/* Banner text-box-content: no background/padding interference */
.banner .text-box-content {
    background: none !important;
    padding: 0 !important;
}

/* ---------------------------------------------------------------------------
   4. HERO-CTA SECTION — "Call Now" section under the banner
   --------------------------------------------------------------------------- */

/* Hero-CTA bar — bg_color and dark="true" set via Flatsome shortcode attributes;
   text alignment and margin handled here */
.section.hero-cta {
    margin-bottom: 40px;
}

.section.hero-cta .section-content {
    text-align: center;
}

.section.hero-cta h3 {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 29px;
}
@media (max-width: 63.99em) {
    .section.hero-cta h3 {
        font-size: 18px;
    }
}

.section.hero-cta p.large a {
    font-family: fira-sans, sans-serif;
    font-size: 38px;
    line-height: 38px;
    font-weight: 700;
    color: #21145f;
    text-decoration: none;
    letter-spacing: -0.8px;
}
@media (min-width: 64em) {
    .section.hero-cta p.large a {
        font-size: 47px;
        line-height: 60px;
    }
}

.section.hero-cta p {
    font-family: roboto-slab, serif;
}

/* ---------------------------------------------------------------------------
   5. CTA BOXES — "Find the best care" — magenta boxes, 3-column grid,
      rounded corners, shadow, hover lift, white text/icons
   --------------------------------------------------------------------------- */

/* Ensure the section with CTA boxes has proper spacing */
.section .row .col.large-4[style*="background-color:#c8187d"] .col-inner,
.col-inner.dark[style*="background-color:#c8187d"],
.col-inner[style*="background-color:#c8187d"] {
    background-color: #c8187d;
    border-radius: 8px;
    box-shadow: -6px 6px 0 0 rgba(140,183,201,1);
    transition: box-shadow 0.275s, transform 0.275s;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px !important;
    cursor: pointer;
}
@media (min-width: 64em) {
    .col-inner.dark[style*="background-color:#c8187d"],
    .col-inner[style*="background-color:#c8187d"] {
        min-height: 350px;
    }
}

.col-inner.dark[style*="background-color:#c8187d"]:hover,
.col-inner[style*="background-color:#c8187d"]:hover {
    box-shadow: -12px 12px 0 0 rgba(140,183,201,1);
    transform: translateY(-2px);
}

/* White h2 inside magenta boxes */
.col-inner.dark[style*="background-color:#c8187d"] h2,
.col-inner[style*="background-color:#c8187d"] h2 {
    color: #ffffff !important;
    font-size: 24px;
    line-height: 30px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Link inside magenta boxes — cover the full box */
.col-inner.dark[style*="background-color:#c8187d"] > a,
.col-inner[style*="background-color:#c8187d"] > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* Images (SVG icons) inside CTA boxes — white treatment */
.col-inner.dark[style*="background-color:#c8187d"] .img-inner img,
.col-inner[style*="background-color:#c8187d"] .img-inner img {
    filter: brightness(0) invert(1);
    height: 85px;
    width: auto;
}

/* Make each CTA box col have margin between them */
.section .row .col.large-4 {
    margin-bottom: 20px;
}
@media (min-width: 64em) {
    .section .row .col.large-4 {
        margin-bottom: 28px;
    }
}

/* ---------------------------------------------------------------------------
   6. "We find treatment" SUBSTANCE SECTION — icon grid
   --------------------------------------------------------------------------- */

/* Ensure col images in substance icon rows display centered */
.section .row .col.large-2 .col-inner,
.section .row .col.medium-3.large-2 .col-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section .row .col.large-2 .col-inner img {
    max-width: 80px;
    height: auto;
    /* SVG icons already use stroke="#8CB7C9" — no filter needed; browser renders native color */
}

/* ---------------------------------------------------------------------------
   7. TWO-COLUMN TEXT+IMAGE SECTIONS
   --------------------------------------------------------------------------- */

.section .row.tablet-narrow {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* Images in two-column layout fill their column */
.section .col.large-6 .col-inner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------------------------------------------------
   8. QUOTE / TESTIMONIAL CAROUSEL
   --------------------------------------------------------------------------- */

/* Carousel slider section — dark background with overlay */
.section .ux-slider,
.ux-slider-wrapper {
    width: 100%;
}

/* The banner used as a quote slide */
.ux-slider .banner {
    background-color: #21145f !important;
}

/* Quote text inside banner slider */
.ux-slider .banner .text-box-content p {
    color: #ffffff !important;
    font-family: roboto-slab, serif;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

/* Star rating — gold stars, larger */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    margin-bottom: 12px;
}

.star-rating .star {
    color: #FFB71B;
    font-size: 28px;
    line-height: 1;
}

/* WooCommerce/Flatsome ship a `.star-rating` component that sets a fixed em width,
   `overflow:hidden`, and `position:absolute` on its inner spans (to overlay a
   fractional gold fill on grey stars). Our hand-rolled markup reuses the same
   `.star-rating` class with five plain `<span class="star">★</span>`, so that
   WooCommerce CSS stacked all five spans on one spot (left:0/top:0) and clipped
   the container — it read as a single star. Neutralize the WooCommerce treatment
   so the five stars flow in the flex row. */
.star-rating {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    font-size: inherit !important;
    letter-spacing: normal !important;
}
.star-rating::before {
    content: none !important;
}
.star-rating .star {
    position: static !important;
    float: none !important;
    /* Render the star as an SVG shape (matching the legacy theme, which used
       icon-yellow-star-testimonials.svg) via a CSS mask filled with the element's
       `color`. This is font-independent — the bare ★ glyph tofu'd in some font
       stacks. The existing per-page `color` rules (#f5a623 home, #ffb71b tl251)
       still control the fill through currentColor. */
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    background-color: currentColor !important;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 .587l3.668 7.431 8.2 1.192-5.934 5.784 1.401 8.169L12 18.896l-7.335 3.857 1.401-8.169L.132 9.21l8.2-1.192z"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 .587l3.668 7.431 8.2 1.192-5.934 5.784 1.401 8.169L12 18.896l-7.335 3.857 1.401-8.169L.132 9.21l8.2-1.192z"/></svg>') no-repeat center / contain;
    font-size: 0 !important;        /* hide the ★ text fallback */
    text-indent: 0 !important;
    line-height: 0 !important;
}

/* Quote text box: text-align handled by Flatsome x/y position classes; keep center */
.ux-slider .banner .text-box .text-inner {
    text-align: center;
}

/* ---------------------------------------------------------------------------
   9. THREE-COLUMN STATS ($0, 24, 365)
   --------------------------------------------------------------------------- */

.three-column-stats {
    display: flex;
    width: 100%;
    max-width: 450px;
    margin: 24px auto 0;
    justify-content: space-between;
}
@media (min-width: 64em) {
    .three-column-stats {
        max-width: 100%;
        padding-right: 50px;
    }
}

.three-column-stats .stat {
    text-align: center;
    font-family: roboto-slab, serif;
    font-size: 14px;
    line-height: 20px;
    color: #58595b;
}

.three-column-stats .stat .big-yellow {
    font-family: fira-sans, sans-serif;
    font-size: 66px;
    line-height: 50px;
    font-weight: 200;
    color: #FFB71B;
    margin-bottom: 20px;
    display: block;
}

.three-column-stats .stat .dollar-sign {
    font-size: 40px;
    vertical-align: super;
    line-height: 0;
}

/* tl251 "Additional Resources" renders "Call 833-380-5776" (bold 33px) as the
   middle cell of a 3-column stats flex row flanked by two empty cells. The cell
   shrank below the number's width, wrapping it onto 4 lines. Keep these stat
   cells on one line — with flex min-width:auto the cell grows to min-content and
   the call number fits on a single line (matching the legacy one-line layout). */
body.tl251-page .three-column-stats .stat { white-space: nowrap; }
/* The "Call 833-380-5776" line is its own .three-column-stats with the number in
   the MIDDLE cell flanked by two EMPTY .stat cells. Under justify-content:
   space-between that pushed the number off to the right, misaligned from the
   24/365 stats above it. Center the row when it contains empty cells (the real
   24/365 stats row has no empty cells, so it keeps space-between). */
body.tl251-page .three-column-stats:has(.stat:empty) {
    display: block;        /* not a flex row — it holds one real cell + 2 empties */
    padding-right: 0;
    text-align: center;    /* center the "Call ..." line within the full column */
}
body.tl251-page .three-column-stats:has(.stat:empty) .stat:empty {
    display: none;         /* drop the empty flanking cells that pushed it sideways */
}

/* ---------------------------------------------------------------------------
   10. FULL-WIDTH BACKGROUND IMAGE SECTIONS (e.g. cta-155 end section)
   --------------------------------------------------------------------------- */

/* Sections with a background image should be edge-to-edge */
.section[class*="cta-"] {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.section[class*="cta-"] .section-bg img.bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Dark overlay handled natively by Flatsome's bg_overlay attribute (.bg-overlay div) */

/* ---------------------------------------------------------------------------
   11. BUTTONS — Navigator style (yellow bg, violet text; magenta variant)
   --------------------------------------------------------------------------- */

/* Flatsome ux_button output */
.button-default,
.is-default,
a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 255px;
    height: 48px;
    background-color: #FFB71B;
    padding: 0 20px;
    font-family: fira-sans, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #21145f;
    text-decoration: none;
    border: none;
    transition: background-color 0.2s;
    margin-top: 16px;
}
.button-default:hover,
.is-default:hover,
a.button:hover {
    background-color: rgba(255, 183, 27, 0.7);
    color: #21145f;
}

/* ---------------------------------------------------------------------------
   12. SECTION — "Talk to someone who understands" two-col layout
   --------------------------------------------------------------------------- */

/* Add some visual separation on the tightened two-column section */
.row.tightened.tablet-narrow .col-inner h2 {
    color: #21145f;
}

/* ---------------------------------------------------------------------------
   13. HEADER / NAVIGATION OVERRIDES
   --------------------------------------------------------------------------- */

/* Flatsome topbar and nav: use Navigator brand purple */
#top {
    background-color: #ffffff;
}

/* Logo area */
.header-logo img {
    max-height: 60px;
    width: auto;
}

/* Primary nav links */
.nav-dark .nav > li > a,
nav .nav > li > a,
.header-nav .nav > li > a {
    font-family: fira-sans, sans-serif;
    font-weight: 700;
    color: #21145f;
    font-size: 14px;
}
.nav-dark .nav > li > a:hover,
nav .nav > li > a:hover,
.header-nav .nav > li > a:hover {
    color: #c8187d;
}

/* Home button — legacy house icon at the far left of the primary nav
   (white outline default, purple on hover / when on the homepage). */
.header-top .nav-home-item > a { display: flex !important; align-items: center; }
.header-top .nav-home-item img {
    width: 26px !important;
    height: 26px !important;
    max-width: none !important;
    max-height: none !important;
    flex: 0 0 26px;
    display: block;
}
/* Original home button was standalone — no divider line after it, slight indent. */
.header-top .nav-divided .nav-home-item + li > a:after { display: none !important; }
.header-top .nav-home-item > a { padding-left: 18px; }
/* Always show the white house icon (matches the rest of the white nav). */
.header-top .nav-home-item .home-active { display: none !important; }
.header-top .nav-home-item .home-default { display: block !important; }
@media (max-width: 849px) { .nav-home-item { display: none; } }

/* Topbar (call to action bar at top) */
.is-sticky .header-main,
.header-main {
    background-color: #ffffff;
    border-bottom: 1px solid #8CB7C9;
}

/* ---------------------------------------------------------------------------
   14. FOOTER OVERRIDES — minimal Navigator-style footer
   --------------------------------------------------------------------------- */

#footer {
    background-color: #21145f;
    color: #ffffff;
}

#footer a,
#footer .widget a {
    color: #8CB7C9;
}
#footer a:hover,
#footer .widget a:hover {
    color: #FFB71B;
}

#footer h4,
#footer .widget-title {
    color: #ffffff;
    font-family: fira-sans, sans-serif;
}

/* Hide default Flatsome footer branding if not Navigator's */
.footer-bottom .col .widget p a[href*="flatsome"],
.footer-bottom .col .widget p a[href*="uxthemes"] {
    display: none;
}

/* ---------------------------------------------------------------------------
   15. RESPONSIVE ADJUSTMENTS
   --------------------------------------------------------------------------- */

/* Mobile/tablet hero: adjust font sizes */
@media (max-width: 63.99em) {
    .banner[class*="hero-"] {
        min-height: 350px;
    }
    .banner h1,
    .banner .text-box-content h1,
    .banner .text-inner h1 {
        font-size: 38px !important;
        line-height: 42px !important;
        margin-bottom: 16px !important;
    }
    /* bg_overlay="rgba(0,0,0,0.35)" on the shortcode handles the overlay natively */
}

/* Mobile CTA boxes: 2-up grid (small-6) with full styling */
@media (max-width: 47.99em) {
    .col-inner.dark[style*="background-color:#c8187d"],
    .col-inner[style*="background-color:#c8187d"] {
        min-height: 172px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px !important;
    }
    .col-inner.dark[style*="background-color:#c8187d"] h2,
    .col-inner[style*="background-color:#c8187d"] h2 {
        font-size: 18px;
        line-height: 24px;
        text-align: left;
        margin-top: 0;
        margin-left: 12px;
    }
    .col-inner.dark[style*="background-color:#c8187d"] > a,
    .col-inner[style*="background-color:#c8187d"] > a {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    .col-inner.dark[style*="background-color:#c8187d"] .img-inner img,
    .col-inner[style*="background-color:#c8187d"] .img-inner img {
        height: 60px;
        flex-shrink: 0;
    }
}

/* =============================================================================
   Navigator Theme Compatibility CSS
   Extracted from front-end-build-tools/src/sass and Navigator theme templates.
   These classes are used on section and component wrappers in migrated content.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Variables (resolved)
   $violet: #21145f | $blue: #8cb7c9 | $yellow: #ffb71b | $magenta: #c8187d
   $gray: #58595b | lg breakpoint: 1024px (64em)
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   Section-level classes
   --------------------------------------------------------------------------- */

/* .mb0 — zero out section bottom margin */
.mb0 {
    margin-bottom: 0;
}

/* .mobile-mb0 — zero bottom margin on mobile only (< 1024px) */
@media (max-width: 63.99em) {
    .mobile-mb0 {
        margin-bottom: 0;
    }
}

/* .mb-half — half-size section bottom margin */
section.mb-half {
    margin-bottom: 30px;
}
@media (min-width: 64em) {
    section.mb-half {
        margin-bottom: 55px;
    }
}

/* .mobile-center — center hero-left text on mobile */
@media (max-width: 63.99em) {
    .mobile-center .hero-left {
        text-align: center;
        margin: auto;
    }
}

/* .mobile-switch-order — reverse two-column flex order on mobile */
@media (max-width: 63.99em) {
    .mobile-switch-order .two-column {
        flex-direction: column-reverse;
    }
}

/* .full-width-banner — full-width image+text banner section */
.full-width-banner {
    position: relative;
    width: 100%;
    height: 340px;
    background-color: #58595b;
}
@media (min-width: 64em) {
    .full-width-banner {
        height: 467px;
    }
}
.full-width-banner .component {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}
.full-width-banner .component h3 {
    margin-bottom: 24px;
}
@media (max-width: 63.99em) {
    .full-width-banner .component h3 {
        font-size: 18px;
    }
}
.full-width-banner .component .large-phone {
    font-family: fira-sans, sans-serif;
    font-size: 33px;
    line-height: 1em;
    font-weight: 700;
    color: #ffb71b;
    margin-bottom: 5px;
}
@media (min-width: 64em) {
    .full-width-banner .component .large-phone {
        font-size: 57px;
    }
}
.full-width-banner .component .large-phone a {
    font-family: fira-sans, sans-serif;
    font-size: 33px;
    line-height: 1em;
    font-weight: 700;
    color: #ffb71b;
}
@media (min-width: 64em) {
    .full-width-banner .component .large-phone a {
        font-size: 57px;
    }
}
.full-width-banner .component p {
    color: #fff;
}
.full-width-banner .component p a {
    color: #fff;
    text-decoration: underline;
}
.full-width-banner .bg-img {
    position: absolute;
    width: 100%;
    height: 340px;
    top: 0;
    left: 0;
    z-index: 1;
}
@media (min-width: 64em) {
    .full-width-banner .bg-img {
        display: block;
        height: 467px;
    }
}
.full-width-banner .bg-img .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(88, 89, 91, 0.66);
    z-index: 2;
}
.full-width-banner .bg-img picture {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
@media (min-width: 64em) {
    .full-width-banner .bg-img picture {
        align-items: flex-start;
    }
}
.full-width-banner .bg-img picture img {
    width: 100%;
}
@media (min-width: 64em) {
    .full-width-banner .bg-img picture img {
        min-width: 1920px;
    }
}

/* .hide-img-mobile — hide background image and collapse height on mobile */
@media (max-width: 63.99em) {
    .hide-img-mobile {
        height: auto;
    }
    .hide-img-mobile .call-cta {
        margin-top: 0;
    }
    .hide-img-mobile .bg-img {
        display: none;
    }
}

/* .home-hero — hero background image adjustments for the homepage hero */
@media (max-width: 63.99em) {
    .section-hero.home-hero .bg-img {
        top: 0 !important;
    }
}
@media (min-width: 64em) {
    .section-hero.home-hero .bg-img {
        height: 600px;
    }
}

/* .content — utility class wrapper (text-align, display helpers) */
.content {
    /* wrapper for utility classes; no additional styles needed at this scope */
}

/* ---------------------------------------------------------------------------
   Component-level classes
   --------------------------------------------------------------------------- */

/* .center — center-align text */
.center {
    text-align: center;
}

/* .narrow — constrain width to 920px centered */
.narrow {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* .very-narrow — constrain width to 610px centered */
.very-narrow {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
}

/* .tablet-narrow — constrain width on tablet only (768px–1023px) */
@media (min-width: 48em) and (max-width: 63.99em) {
    .tablet-narrow {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* .form-box — bordered box with shadow for form containers */
.form-box {
    border: 1px solid #8cb7c9;
    padding: 20px;
    box-shadow: -6px 6px 0 0 rgba(140, 183, 201, 1);
}
@media (min-width: 64em) {
    .form-box {
        padding: 70px 90px 20px;
    }
}
.form-box a {
    color: #58595b;
    text-decoration: underline;
}

/* .baseline — align two-column flex children to baseline */
.component-two-column-wysiwyg.baseline .two-column {
    align-items: baseline;
}

/* .tightened — tighter two-column layout with centered cells */
.component-two-column-wysiwyg.tightened .two-column {
    position: relative;
    align-items: stretch;
    justify-content: space-between;
}
@media (min-width: 64em) {
    .component-two-column-wysiwyg.tightened .two-column {
        padding: 0 80px;
    }
}
.component-two-column-wysiwyg.tightened .two-column .cell {
    display: flex;
    flex: 1 0 auto;
    text-align: center;
    margin: 0;
}
@media (min-width: 64em) {
    .component-two-column-wysiwyg.tightened .two-column .cell {
        flex-basis: 46%;
        max-width: 46%;
        height: auto;
        flex-flow: column;
    }
}
@media (max-width: 63.99em) {
    .component-two-column-wysiwyg.tightened .two-column .cell:first-child {
        margin-bottom: 38px;
    }
}
.component-two-column-wysiwyg.tightened .two-column .cell .button {
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}

/* .offset-images — two-column component with visually offset image layout */
.offset-images .two-column {
    align-items: flex-start;
}
@media (min-width: 64em) {
    .offset-images .two-column .cell:nth-child(2) {
        margin-top: 40px;
    }
}

/* .quote — pull-quote wysiwyg styling */
.component-wysiwyg.quote p {
    font-family: fira-sans, sans-serif;
    font-size: 32px;
    line-height: 38px;
    font-weight: 700;
    font-style: italic;
    color: #8cb7c9;
}

/* .desktopOnly — hidden on mobile, shown as block on desktop */
.desktopOnly {
    display: none;
}
@media (min-width: 64em) {
    .desktopOnly {
        display: block;
    }
    .desktopOnly.inline {
        display: inline;
    }
    .desktopOnly.flex {
        display: flex;
    }
}

/* .mobileOnly — shown on mobile, hidden on desktop */
.mobileOnly {
    display: block;
}
@media (min-width: 64em) {
    .mobileOnly {
        display: none;
    }
}
.mobileOnly.inline {
    display: inline;
}
@media (min-width: 64em) {
    .mobileOnly.inline {
        display: none;
    }
}
.mobileOnly.flex {
    display: flex;
}
@media (min-width: 64em) {
    .mobileOnly.flex {
        display: none;
    }
}

/* .component-faq-boxes — FAQ link boxes component */
.component-faq-boxes {
    max-width: 450px;
    margin: auto;
}
@media (min-width: 64em) {
    .component-faq-boxes {
        max-width: none;
        margin-right: 315px;
        margin-left: 0;
    }
}
.component-faq-boxes .faq-boxes .faq-box {
    position: relative;
    display: flex;
    height: auto;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 44px 16px 18px;
    margin-bottom: 16px;
    border: 1px solid #8cb7c9;
    box-shadow: -6px 6px 0 0 #8cb7c9;
}
@media (min-width: 64em) {
    .component-faq-boxes .faq-boxes .faq-box {
        height: 85px;
        padding: 0 25px;
    }
}
.component-faq-boxes .faq-boxes .faq-box:hover {
    border: 1px solid #8cb7c9;
    box-shadow: -6px 6px 0 0 #c8187d;
}
.component-faq-boxes .faq-boxes .faq-box h3 {
    margin: 0;
}
.component-faq-boxes .faq-boxes .faq-box > a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
@media (max-width: 63.99em) {
    .component-faq-boxes .faq-boxes .faq-box .cta-box-arrow {
        position: absolute;
        bottom: 13px;
        right: 18px;
    }
}

/* ---------------------------------------------------------------------------
   Button classes
   Extracted from front-end-build-tools/src/sass/components/_button.scss
   --------------------------------------------------------------------------- */

.button {
    display: block;
    align-self: baseline;
    min-width: 255px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffb71b;
    padding: 0 20px;
}
.button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    font-family: fira-sans, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1px;
    color: #21145f;
}
.button:hover {
    background-color: rgba(255, 183, 27, 0.6);
}

/* .button-blue — blue variant of the button */
.button.button-blue {
    min-width: 164px;
    height: 45px;
    background-color: #8cb7c9;
    border: 1px solid #21145f;
}
@media (min-width: 64em) {
    .button.button-blue {
        height: 30px;
    }
}

/* .button-lightGray — light gray variant */
.button.button-lightGray {
    min-width: 164px;
    height: 45px;
    background-color: rgba(140, 183, 201, 0.1);
    border: 1px solid #21145f;
}
@media (min-width: 64em) {
    .button.button-lightGray {
        height: 30px;
    }
}

/* .button-magenta — magenta variant */
.button.button-magenta {
    min-width: 182px;
    width: 182px;
    max-width: 182px;
    border: 1px solid transparent;
    background-color: #c8187d;
}
.button.button-magenta a {
    color: #fff;
}
.button.button-magenta:hover {
    background-color: #fff;
    border: 1px solid #c8187d;
}
.button.button-magenta:hover a {
    color: #c8187d;
}

/* ---------------------------------------------------------------------------
   New classes required by Flatsome migration
   --------------------------------------------------------------------------- */

/* .star-rating — inline-flex star icon container */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* .star-rating .star — individual star icon */
.star-rating .star {
    color: #f5a623;
    font-size: 24px;
    line-height: 1;
}

/* .cookie-notice-box — fixed bottom cookie consent bar */
.cookie-notice-box {
    display: none;
    font-family: fira-sans, sans-serif;
    background-color: #8cb7c9;
    justify-content: center;
    min-height: 58px;
    padding: 8px 0;
    z-index: 9999;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}
.cookie-notice-box.active {
    display: flex;
}
.cookie-notice-box .container {
    display: block;
}
@media (min-width: 64em) {
    .cookie-notice-box .container {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.cookie-notice-box p {
    max-width: 800px;
    text-align: center;
    margin: auto;
    color: #21145f;
}
@media (min-width: 64em) {
    .cookie-notice-box p {
        margin: 0;
    }
}
.cookie-notice-box a {
    color: #21145f;
}
.cookie-notice-box .button {
    margin: 10px auto;
}
@media (min-width: 64em) {
    .cookie-notice-box .button {
        margin: 0 0 0 15px;
    }
}

/* .hero-subheadline — styled subheadline above the main hero headline */
.hero-subheadline,
.section-hero .subheadline {
    font-family: roboto-slab, serif;
    font-size: 16px;
    line-height: 24px;
    color: #21145f;
    margin-bottom: 8px;
    font-weight: 400;
}

/* .tl251-page .header-nav — hide nav on TL251 landing pages */
.tl251-page .header-nav,
.tl251-page .navigation,
.tl251-page #top-bar,
.tl251-page .mobile-nav {
    display: none !important;
}

/* .tl251-bug — the 251 logo bug image used in TL251 page headers */
.tl251-bug {
    height: 60px;
    width: auto;
}
@media (max-width: 63.99em) {
    .tl251-bug {
        height: 40px;
    }
}

/* .mobileOnlyInline / .desktopOnlyInline — inline display helpers (tl251) */
.mobileOnlyInline {
    display: none;
}
.desktopOnlyInline {
    display: inline;
}
@media (max-width: 63.99em) {
    .mobileOnlyInline {
        display: inline;
    }
    .desktopOnlyInline {
        display: none;
    }
}

/* =============================================================================
   TL251 SUB-BRAND OVERRIDES
   Scoped to body.tl251-page — CTA boxes, stats, hero, mobile header, footer
   ============================================================================= */

/* ---------------------------------------------------------------------------
   TL251 CTA Boxes — blue variant (#36628f bg, #8cb7c9 shadow)
   The background-color is already set via Flatsome shortcode inline style;
   the box-shadow and responsive grid are missing and added here.
   --------------------------------------------------------------------------- */
body.tl251-page .col-inner.dark[style*="background-color:#36628f"],
body.tl251-page .col-inner[style*="background-color:#36628f"] {
    box-shadow: -6px 6px 0 0 #8cb7c9;
    transition: box-shadow 0.275s, transform 0.275s;
    border-radius: 8px;
}
body.tl251-page .col-inner.dark[style*="background-color:#36628f"]:hover,
body.tl251-page .col-inner[style*="background-color:#36628f"]:hover {
    box-shadow: -12px 12px 0 0 #8cb7c9;
    transform: translateY(-2px);
}
/* The "Your resource for..." blue cards (4-up, .large-3) sized to their own
   content, so the grid was ragged (heights 271–355px). The legacy theme rendered
   them all at a uniform height. Give every 4-up blue card the same min-height so
   the grid is even (content tops align; the tallest card's content still fits).
   Only at the desktop 4-up breakpoint — below 1024px these stack 1-per-row. */
@media (min-width: 1024px) {
    body.tl251-page .col.large-3 > .col-inner[style*="background-color:#36628f"] {
        min-height: 360px;
        display: flex;            /* let the inner <a> fill the card height */
    }
    /* Make the card link a full-height flex column so the arrow can be pinned to
       the bottom. The original anchors every arrow ~20px from the card bottom, so
       they line up across the row regardless of heading length; ours rendered the
       arrow right after the heading text (margin-top:10px), leaving them ragged. */
    body.tl251-page .col.large-3 > .col-inner[style*="background-color:#36628f"] > a {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        width: 100%;
    }
    body.tl251-page .col.large-3 > .col-inner[style*="background-color:#36628f"] > a::after {
        margin-top: auto !important;   /* push the arrow to the bottom of the card */
    }
}

/* ---------------------------------------------------------------------------
   TL251 Stats — constrain widths to match legacy layout
   --------------------------------------------------------------------------- */
body.tl251-page .component-two-column-wysiwyg .three-column-stats {
    width: 70%;
}
body.tl251-page .component-two-column-wysiwyg .two-column-stats {
    width: 70%;
}
body.tl251-page .two-column-stats {
    display: flex;
    width: 100%;
    max-width: 300px;
    margin: auto;
    justify-content: space-between;
}
body.tl251-page .two-column-stats .stat {
    text-align: center;
    font-family: roboto-slab, serif;
}
body.tl251-page .two-column-stats .stat .big-yellow {
    font-family: fira-sans, sans-serif;
    font-size: 66px;
    line-height: 50px;
    font-weight: 200;
    color: #ffb71b;
    margin-bottom: 20px;
}
body.tl251-page .two-column-stats .stat p,
body.tl251-page .two-column-stats .stat h6,
body.tl251-page .two-column-stats .stat p.small {
    font-size: 14px;
    line-height: 20px;
}
@media (min-width: 64em) {
    body.tl251-page .two-column-stats {
        max-width: 100%;
        padding-right: 50px;
    }
}

/* .header2.small — smaller h2 variant */
body.tl251-page .header2.small,
body.tl251-page h2.small {
    font-size: 22px;
}

/* ---------------------------------------------------------------------------
   TL251 Hero — height/position fixes from legacy
   --------------------------------------------------------------------------- */
@media (min-width: 64em) {
    body.tl251-page .give-us-a-call {
        height: 513px;
    }
    body.tl251-page .section-hero.home-hero .bg-img {
        height: 600px;
    }
}
@media (max-width: 63.99em) {
    body.tl251-page .section-hero.home-hero .bg-img {
        top: 0 !important;
    }
}
body.tl251-page .section-hero .mobile-bg-img {
    height: 325px;
}

/* ---------------------------------------------------------------------------
   TL251 Quote Carousel — mobile: stack text above image
   --------------------------------------------------------------------------- */
@media (max-width: 63.99em) {
    body.tl251-page .component-quote-carousel {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    body.tl251-page .component-quote-carousel .quotes {
        position: relative;
        z-index: 1;
        order: 2;
    }
    body.tl251-page .component-quote-carousel .bg-img {
        position: relative;
        height: 300px;
        order: 1;
    }
    body.tl251-page .component-quote-carousel .quotes .carousel .quote-text p {
        color: #58595b;
    }
}

/* ---------------------------------------------------------------------------
   TL251 Mobile Header — phone + bug logo in header right
   --------------------------------------------------------------------------- */
.tl251-mobile-header {
    display: none;
}
@media (max-width: 63.99em) {
    /* Hide the desktop phone CTA on mobile (the .tl251-mobile-header shows instead);
       without this both render and the phone CTA appears twice on phones. */
    .tl251-desktop-cta { display: none !important; }
    .tl251-mobile-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        flex: 1;
    }
    .tl251-mobile-header .tl251-phone-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }
    .tl251-mobile-header .tl251-phone {
        font-family: fira-sans, sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: #36628f;
        text-decoration: none;
    }
    .tl251-mobile-header .tl251-confidential {
        font-family: roboto-slab, serif;
        font-size: 10px;
        color: #58595b;
    }
    .tl251-mobile-header .tl251-bug-img {
        height: 40px;
        width: auto;
    }
}
@media (min-width: 64em) {
    /* Desktop: show the desktop phone CTA injected into header */
    .tl251-desktop-cta {
        display: flex;
        align-items: center;
        gap: 12px;
        white-space: nowrap;
    }
    .tl251-desktop-cta .tl251-phone-text {
        font-family: fira-sans, sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #36628f;
    }
    .tl251-desktop-cta .tl251-bug-img {
        height: 50px;
        width: auto;
        vertical-align: middle;
    }
    .tl251-mobile-header {
        display: none;
    }
}

/* ---------------------------------------------------------------------------
   TL251 Footer — seals, replaced footer-bottom nav, hide social icons
   --------------------------------------------------------------------------- */
body.tl251-page .footer-social-icons,
body.tl251-page .footer-widgets.footer-1,
body.tl251-page .footer-widgets.footer-2 {
    display: none !important;
}

/* Seal container — site-wide, displayed in absolute-footer */
.navigator-seals {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.navigator-seals img {
    height: 80px;
    width: auto;
}

/* TL251 footer-bottom nav override: hide the Flatsome menu, show privacy link */
body.tl251-page .absolute-footer .footer-primary > .menu-container,
body.tl251-page .absolute-footer .links.footer-nav {
    display: none !important;
}
body.tl251-page .tl251-footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
body.tl251-page .tl251-footer-logo-wrap img.tl251-bug-img {
    height: 60px;
    width: auto;
}
/* =========================================================================
   CTA Box Arrow Icons
   Displays the Navigator yellow arrow icon below the heading in linked CTA boxes.
   The inline style is on .col-inner (not .col), so we target .col-inner.
   Legacy: .cta-boxes .cta-box .cta-box-arrow { position:absolute; right:18px; bottom:13px }
   In Flatsome, the <a> wraps all content inside .col-inner, so ::after on the <a>
   appends the arrow after the last element (h2), matching the original bottom placement.
   ========================================================================= */
.col-inner[style*="background-color:#c8187d"] > a::after,
.col-inner[style*="background-color: #c8187d"] > a::after,
.col-inner.dark[style*="background-color:#c8187d"] > a::after,
.col-inner.dark[style*="background-color: #c8187d"] > a::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    margin: 10px auto 0;
    background: url('img/icon-arrow-pointing-right.svg') no-repeat center;
    background-size: contain;
}
/* Hover: match legacy box-shadow increase; arrow SVG has yellow fill so it shows on magenta */

/* TL251 CTA cards use the sub-brand blue (#36628f) instead of magenta, so the
   arrow ::after above (keyed on #c8187d) wouldn't apply. Mirror it for the blue
   cards. The original TL251 cards used the same yellow arrow svg. */
.col-inner[style*="background-color:#36628f"] > a::after,
.col-inner[style*="background-color: #36628f"] > a::after,
.col-inner.dark[style*="background-color:#36628f"] > a::after,
.col-inner.dark[style*="background-color: #36628f"] > a::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    margin: 10px auto 0;
    background: url('img/icon-arrow-pointing-right.svg') no-repeat center;
    background-size: contain;
}

/* =============================================================================
   TL251 — Quote carousel
   Legacy: .component-quote-carousel desktop layout had the quote text panel
   positioned right-of-center (margin: 0 auto 0 50%) overlaying the image.
   In Flatsome the ux_banner shortcode renders as .text-box.banner-layer with
   class x50 y50 (centered). We override the text-box to start at the
   horizontal midpoint so it sits right-of-center on desktop, matching legacy.
   Mobile: prior agent already stacks image above text; quote paragraph color
   is overridden to #58595b for readability on the white-bg stacked layout.
   ============================================================================= */

/* Desktop: shift text-box to start at 50% (left edge at center).
   Target: the slider-wrapper on tl251 holds only the testimonial carousel;
   the .text-box.banner-layer inside it has class x50 which Flatsome centers
   via translateX(-50%). We remove the translate so the box left-edge sits at
   50% (right-of-center), matching the legacy carousel layout. */
@media (min-width: 64em) {
    /* Both the tl251 AND the home testimonial carousels use the same legacy
       layout: photo on the left, quote panel right-of-center. Each page has only
       one .slider-wrapper (the testimonial), so this is safe to scope per body. */
    body.tl251-page .slider-wrapper .text-box.banner-layer.x50,
    body.home .slider-wrapper .text-box.banner-layer.x50 {
        left: 50% !important;
        /* Flatsome's x50 y50 uses transform: translate(-50%, -50%). We want the
           box LEFT edge at the 50% mark (right-of-center, matching legacy), so we
           drop the X translate — but must KEEP the Y translate, otherwise the box
           anchors its TOP at the vertical midpoint (top:50%) and overflows the
           banner downward (was clipping the quote). translateY(-50%) re-centers it. */
        transform: translateY(-50%) !important;
        width: 44% !important;      /* matches legacy max-width ~400px / 900px container */
    }
}

/* Star rating — five gold stars */
body.tl251-page .star-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding-bottom: 12px;
    padding-top: 12px;
}
body.tl251-page .star-rating .star {
    color: #ffb71b; /* legacy yellow star color */
    font-size: 24px;
    line-height: 1;
}

/* Quote paragraph — white on desktop (overlaying image), dark on mobile stack.
   Same .slider-wrapper scope keeps this isolated to the testimonial carousel. */
body.tl251-page .slider-wrapper .text-box p {
    font-family: fira-sans, sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
}
@media (max-width: 63.99em) {
    body.tl251-page .slider-wrapper .text-box p {
        color: #58595b;
    }
}

/* Darken overlay on mobile so quote text stays readable over image */
@media (max-width: 63.99em) {
    body.tl251-page .slider-wrapper .banner .overlay {
        background-color: rgba(0, 0, 0, 0.35) !important;
    }
}

/* =============================================================================
   TL251 — Icon-list color (substance six-icon strip, section_1345363391)
   Legacy: .component-icon-list .icon-list .icon-box .treatment-text h4 → #58595b
   SVG icons have hardcoded stroke="#8CB7C9". The h4 headings below should be
   gray (#58595b) per legacy, not the Flatsome primary (#446084).
   ============================================================================= */

/* h4 labels under each substance icon.
   Target: six-column row where each col is medium-4 small-4 large-2 with
   a text-center col-inner holding an .img + h4. This matches the substance
   strip uniquely on tl251. Selector avoids dynamic section/row IDs. */
body.tl251-page .col.medium-4.small-4.large-2 .col-inner.text-center h4 {
    color: #58595b;
    font-family: fira-sans, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-top: 8px;
}

/* Ensure icons (SVGs served as <img>) render at expected size */
body.tl251-page .col.medium-4.small-4.large-2 .col-inner.text-center .img .img-inner img {
    width: 100%;
    max-width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* =============================================================================
   Typography sync — legacy Navigator → Flatsome child
   Sources: navigator/css/main.css (rules below), typekit fonts already loaded
   via functions.php (https://use.typekit.net/gdg7vub.css provides fira-sans
   and roboto-slab). Flatsome Customizer sets body/headings to Lato; we
   override here. Rules are un-scoped where they match legacy sitewide intent,
   or body.tl251-page-scoped where only the sub-brand uses them.
   ============================================================================= */

/* ---- Body ----
   Legacy: body { font-family: roboto-slab, serif; font-weight: 500;
                  line-height: 1.5em; color: #58595b; }
   Flatsome customizer already sets Lato — we reassert with typekit stack. */
body.tl251-page,
body.tl251-page p {
    font-family: roboto-slab, serif;
    font-weight: 500;
    line-height: 1.5em;
    color: #58595b;
}

body.tl251-page p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 24px;
}

/* ---- Links ----
   Legacy: a { color: #8cb7c9; text-decoration: none; } */
body.tl251-page a {
    color: #8cb7c9;
    text-decoration: none;
}

/* ---- Headings h1–h4 ----
   Legacy: h1,h2,h3,h4,.header1 { font-family: fira-sans, sans-serif; color: #21145f; }
   h1,h2 desktop: 40px/48px; h1,h2 mobile: 32px/38px; */
body.tl251-page h1,
body.tl251-page h2,
body.tl251-page h3,
body.tl251-page h4,
body.tl251-page .header1 {
    font-family: fira-sans, sans-serif;
    color: #21145f;
}
body.tl251-page h1,
body.tl251-page h2,
body.tl251-page .header1,
body.tl251-page .header2 {
    font-size: 32px;
    line-height: 38px;
    font-weight: 700;
}
body.tl251-page h2,
body.tl251-page h3,
body.tl251-page .header2,
body.tl251-page .header3 {
    font-weight: 700;
    margin-bottom: 24px;
}
body.tl251-page h1,
body.tl251-page .header1 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.5px;
}
body.tl251-page h2,
body.tl251-page .header2 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.4px;
}
/* .header3 used on sub-step headings (often as <h2 class="header3">): legacy size
   is 24px. The body.tl251-page h2 rule above (40px desktop) otherwise wins on
   specificity, so size .header3 explicitly to restore the smaller sub-heading. */
body.tl251-page .header3 {
    font-size: 24px !important;
    line-height: 29px !important;
    letter-spacing: -0.1px;
}
/* Icon-card titles: icon col (span 3) + text col (span 9). Legacy rendered these
   card headings at 24px; migrated markup emits <h4> (default 18px). Sibling cards
   on help-others use .header3 (24px) — match them. */
body.tl251-page .col.large-9 .col-inner h4 {
    font-size: 24px;
    line-height: 29px;
}

@media (min-width: 64em) {
    body.tl251-page h1,
    body.tl251-page h2,
    body.tl251-page .header1,
    body.tl251-page .header2 {
        font-size: 40px;
        line-height: 48px;
    }
}

/* ---- Headings h5–h6 ----
   Legacy: h5,h6 { font-family: fira-sans, sans-serif; font-weight: 400;
                   letter-spacing: 0.1px; color: #58595b; }
   h5: 16px/24px; h6: 14px/20px */
body.tl251-page h5,
body.tl251-page h6 {
    font-family: fira-sans, sans-serif;
    font-weight: 400;
    letter-spacing: 0.1px;
    color: #58595b;
}
body.tl251-page h5 {
    font-size: 16px;
    line-height: 24px;
}
body.tl251-page h6 {
    font-size: 14px;
    line-height: 20px;
}

/* ---- .header2.small / h2.small — smaller h2 variant (also added by prior agent, kept here for completeness) ---- */
body.tl251-page .header2.small,
body.tl251-page h2.small {
    font-size: 22px;
}

/* ---- .big-yellow — large stat numerals ----
   Legacy: font-family: fira-sans; font-size: 66px; font-weight: 200;
           line-height: 50px; color: #ffb71b; margin-bottom: 20px; */
body.tl251-page .big-yellow {
    font-family: fira-sans, sans-serif;
    font-size: 66px;
    line-height: 50px;
    font-weight: 200;
    color: #ffb71b;
    margin-bottom: 20px;
}

/* ---- .three-column-stats / .two-column-stats ----
   Legacy: .three-column-stats .stat { font-family: roboto-slab; text-align: center }
   (sizing already handled by prior agent; keeping font family here) */
body.tl251-page .three-column-stats .stat,
body.tl251-page .two-column-stats .stat {
    font-family: roboto-slab, serif;
    text-align: center;
}
body.tl251-page .three-column-stats .stat p,
body.tl251-page .two-column-stats .stat p,
body.tl251-page .three-column-stats .stat h6,
body.tl251-page .two-column-stats .stat h6 {
    font-size: 14px;
    line-height: 20px;
    font-family: roboto-slab, serif;
}

/* ---- .narrow ----
   Legacy: .narrow { max-width: 920px; margin-left: auto; margin-right: auto; } */
body.tl251-page .narrow {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- .hero-subheadline ----
   Not found in main.css as a distinct class; hero h4 is the subheadline.
   Legacy: .section-hero .hero-left h4 { font-family: roboto-slab; font-size: 16px;
           line-height: 24px; color: #21145f; margin-bottom: 20px; } */
body.tl251-page .hero-subheadline {
    font-family: roboto-slab, serif;
    font-size: 16px;
    line-height: 24px;
    color: #21145f;
    margin-bottom: 20px;
}

/* ---- CTA button text ----
   Legacy: .button a { font-family: fira-sans; font-weight: 700; line-height: 24px;
           color: #21145f; text-decoration: none !important; } */
body.tl251-page .button a,
body.tl251-page .ux-button,
body.tl251-page .ux-button a {
    font-family: fira-sans, sans-serif;
    font-weight: 700;
    line-height: 24px;
}

/* =========================================================================
   DEFAULT HEADER — teal top bar + right-of-logo phone-text (non-tl251)
   Scoped with :not(.tl251-page) so tl251 overrides remain untouched.
   ========================================================================= */

body:not(.tl251-page) #top-bar {
    background-color: #8cb7c9;
    color: #fff;
}
body:not(.tl251-page) #top-bar,
body:not(.tl251-page) #top-bar a,
body:not(.tl251-page) #top-bar .nav > li > a {
    color: #fff;
}
/* Match legacy navigator theme nav: fira-sans 15/1em, weight 700, white,
   no text-transform, no letter-spacing, no dividers between items. */
body:not(.tl251-page) #top-bar .nav > li > a {
    font-family: 'fira-sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    padding: 10px 10px;
    white-space: nowrap;
}
body:not(.tl251-page) #top-bar .nav > li > a:hover,
body:not(.tl251-page) #top-bar .nav > li.current-menu-item > a {
    color: #21145f;
    opacity: 1;
}
/* Remove Flatsome's nav-divided vertical separators to match legacy look. */
body:not(.tl251-page) #top-bar .nav-divided > li + li::before,
body:not(.tl251-page) #top-bar .nav-divided > li + li > a::before {
    display: none !important;
    content: none !important;
    border: 0 !important;
}
/* Widen top-bar container so 8 nav items fit on one line at 1024px+ viewport */
body:not(.tl251-page) #top-bar .flex-row.container {
    max-width: 1400px;
    flex-wrap: nowrap;
}
body:not(.tl251-page) #top-bar ul.top-bar-nav {
    padding: 0 20px;
    flex-wrap: nowrap;
}
/* Prevent left nav flex-col from wrapping */
body:not(.tl251-page) #top-bar .flex-row.container > .flex-col {
    flex-shrink: 0;
}
body:not(.tl251-page) #top-bar .flex-row.container > .flex-col.flex-left {
    flex-shrink: 1;
    min-width: 0;
}
body:not(.tl251-page) #top-bar .nav.nav-left {
    flex-wrap: nowrap;
}
body:not(.tl251-page) #top-bar .nav-top .header-search {
    color: #fff;
}
body:not(.tl251-page) #top-bar .nav-top .header-search .is-small {
    color: #fff;
}

/* Right-of-logo phone-text block */
body:not(.tl251-page) .navigator-header-cta {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0 20px 0 30px;
    flex: 0 1 auto;
    max-width: 60%;
    min-width: 0;
}
body:not(.tl251-page) .navigator-header-cta p {
    font-family: 'fira-sans', sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: -0.1px;
    color: #21145f;
    margin: 0;
    text-align: center;
}
/* The phone number is wrapped in a tel: <a> (useful tap target) but the
   original renders it as plain navy text. Match the original by inheriting
   the navy color instead of Flatsome's teal link accent. */
body:not(.tl251-page) .navigator-header-cta p a {
    color: inherit;
    text-decoration: none;
}
@media (min-width: 75em) {
    body:not(.tl251-page) .navigator-header-cta p {
        font-size: 24px;
        line-height: 29px;
    }
}
body:not(.tl251-page) .header-inner {
    align-items: center;
    min-height: 90px;
}
/* Sticky behavior handled by Flatsome theme mods:
   topbar_sticky=true (teal nav sticks), header_sticky=false (logo row scrolls away) */

/* Hide the teal top bar on tl251 pages (tl251 has its own header) */
body.tl251-page #top-bar {
    display: none !important;
}

@media (max-width: 849px) {
    body:not(.tl251-page) .navigator-header-cta {
        display: none;
    }
}

/* =============================================================================
   HOME PAGE VISUAL-FIDELITY PASS
   Scoped to body.home (page-id-22) or body:not(.tl251-page) where appropriate.
   Sources: navigator/css/main.css, navigator/sections/templates/hero.php,
            navigator/components/templates/cta-boxes.php, quote-carousel.php,
            icon-list.php. All new rules added 2026-04-15.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   H1. HERO SECTION — typography pass
   Legacy: .section-hero.home-hero .hero-left (desktop): flex-basis:45%; padding:0 0 150px;
           .headline h1: 85px/77px (desktop), 50px/53px (tablet), 32px (mobile)
           h3.subheadline (legacy template class) → p.hero-subheadline (migrated)
           h4.narrow (body copy): 18px/28px, max-width 405px; text-shadow for readability
   Flatsome renders: .banner.hero-22 > .banner-layers > .text-box.x25.y50
                     which positions the text-box at 25% from left (left-offset), correct.
   The existing rules at lines ~228–279 handle font sizes/colors correctly.
   Only missing: the h4.narrow max-width clamp and text-shadow on desktop.
   --------------------------------------------------------------------------- */

/* Hero h4 narrow: clamp width so long body copy doesn't bleed too wide (desktop) */
@media (min-width: 64em) {
    body.home .banner.hero-22 h4.narrow,
    body.page-id-22 .banner.hero-22 h4.narrow {
        max-width: 405px;
        text-shadow: 2px 2px 4px #fff;
    }
}

/* Hero subheadline: on the home banner it sits over a dark overlay — ensure white.
   The global .hero-subheadline rule (line ~1250) uses #21145f for non-banner contexts;
   .banner .hero-subheadline (line ~228) already overrides to #fff. Belt-and-suspenders: */
body.home .banner.hero-22 .hero-subheadline,
body.page-id-22 .banner.hero-22 .hero-subheadline {
    color: #ffffff !important;
    font-family: fira-sans, sans-serif !important;
    font-size: 18px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    margin-bottom: 6px !important;
    display: block;
}
/* Legacy used h3.subheadline at fira-sans 24px/29px on mobile, color #21145f —
   but over the dark banner overlay it needs to be white, so we use white here.
   On desktop the legacy home-hero had the subheadline as a smaller intro line. */
@media (min-width: 64em) {
    body.home .banner.hero-22 .hero-subheadline,
    body.page-id-22 .banner.hero-22 .hero-subheadline {
        font-size: 22px !important;
        line-height: 28px !important;
    }
}

/* ---------------------------------------------------------------------------
   H2. CTA BOXES — typography + arrow
   Legacy: .cta-boxes .cta-box .cta-box-text h2 { font-size:24px; line-height:30px; margin:0 }
           .cta-boxes .cta-box .cta-box-arrow { position:absolute; right:18px; bottom:13px }
   Flatsome: h2 inside .col-inner[style*="background-color:#c8187d"]
   Arrow: injected via CSS ::after on the <a> tag (see rule above ~line 1510);
          the selector was previously wrong (.col vs .col-inner) — now fixed above.
   h2 font-weight not specified in legacy → inherited from h2{font-weight:700}.
   --------------------------------------------------------------------------- */

/* Ensure the CTA box h2 matches legacy: 24px/30px desktop, no extra margin */
@media (min-width: 64em) {
    body.home .col-inner[style*="background-color:#c8187d"] h2,
    body.page-id-22 .col-inner[style*="background-color:#c8187d"] h2 {
        font-size: 24px !important;
        line-height: 30px !important;
        font-weight: 700;
        margin-top: 12px;
        margin-bottom: 0;
    }
}
/* Mobile (< 48em): legacy had flex-direction:row, icon left, text right */
@media (max-width: 47.99em) {
    body.home .col-inner[style*="background-color:#c8187d"] h2,
    body.page-id-22 .col-inner[style*="background-color:#c8187d"] h2 {
        font-size: 18px !important;
        line-height: 24px !important;
    }
}

/* ---------------------------------------------------------------------------
   H3. SUBSTANCE ICON ROW — icon color + label weight
   Legacy: icons SVGs have hardcoded stroke="#8CB7C9" (blue) — no filter needed.
           .component-icon-list .icon-list .icon-box .treatment-text h4 { color:#58595b }
           (no bold — font-weight not set, inherits from h4 base which is 400 in legacy)
   In Flatsome: .col.large-2 .col-inner img — already corrected to no filter above.
   h4 labels need font-weight:400 and color:#58595b.
   Scope: both home and other pages use this icon strip; tl251 already scoped separately.
   --------------------------------------------------------------------------- */

/* h4 labels under substance icons — match legacy: gray, normal weight, small */
body:not(.tl251-page) .col.large-2 .col-inner h4,
body:not(.tl251-page) .col.medium-4.small-4.large-2 .col-inner h4 {
    color: #58595b;
    font-family: fira-sans, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-top: 8px;
}

/* ---------------------------------------------------------------------------
   H4. QUOTE CAROUSEL — desktop right-shift + image quality
   Legacy: .component-quote-carousel .quotes .carousel { width:400px; margin:0 auto 0 50% }
           meaning the carousel panel left-edge starts at the 50% horizontal mark.
   In Flatsome the ux_banner slider text-box has class x50 which centers it via
   translateX(-50%). We undo that so the left edge sits at 50% (right-of-center),
   exactly matching legacy layout.
   bg_size="large" serves image-mother-daughter-...-large-1024x222.jpg (very short crop).
   This is a wide panoramic crop — a JS fix in functions.php swaps to the full image.
   --------------------------------------------------------------------------- */

@media (min-width: 64em) {
    body.home .ux-slider .banner .text-box.banner-layer.x50,
    body.page-id-22 .ux-slider .banner .text-box.banner-layer.x50 {
        left: 50% !important;
        transform: none !important; /* undo Flatsome translateX(-50%) centering */
        width: 44% !important;      /* ~400px / 900px container, matches legacy */
    }
    /* Quote text in right panel: left-align to match legacy .carousel layout */
    body.home .ux-slider .banner .text-box .text-inner,
    body.page-id-22 .ux-slider .banner .text-box .text-inner {
        text-align: left;
    }
    body.home .ux-slider .banner .star-rating,
    body.page-id-22 .ux-slider .banner .star-rating {
        justify-content: flex-start;
    }
}

/* Quote carousel background: ensure bg image covers the full 400px banner height */
body.home .ux-slider .banner .banner-bg img.bg,
body.page-id-22 .ux-slider .banner .banner-bg img.bg {
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: 100%;
}

/* ---------------------------------------------------------------------------
   H5. THREE-COLUMN STATS ($0 / 24 / 365)
   The global rules at lines 492–528 already cover these correctly.
   Belt-and-suspenders for home page context in case Flatsome overrides compete.
   --------------------------------------------------------------------------- */

body.home .three-column-stats .stat .big-yellow,
body.page-id-22 .three-column-stats .stat .big-yellow {
    font-family: fira-sans, sans-serif;
    font-size: 66px;
    line-height: 50px;
    font-weight: 200;
    color: #ffb71b;
    margin-bottom: 20px;
    display: block;
}

body.home .three-column-stats .stat p,
body.page-id-22 .three-column-stats .stat p {
    font-family: roboto-slab, serif;
    font-size: 14px;
    line-height: 20px;
    color: #58595b;
}

/* ---------------------------------------------------------------------------
   H6. FOOTER — Navigator-style footer
   Legacy footer has: top-nav (links), social icons, AICPA/LegitScript seals,
   copyright text from navigator_theme_options.footer_bottom_text.
   Flatsome absolute-footer already renders the mobile-bottom-menu as footer nav.
   Issues: (a) Widget area shows WP defaults (Archives/Categories/Meta) — hide it.
           (b) Copyright says "Flatsome Theme" — replaced via PHP filter in functions.php.
           (c) Footer top-nav link colors and layout.
   --------------------------------------------------------------------------- */

/* Hide the default Flatsome widget area footer rows (Archives, Categories, Meta) */
body:not(.tl251-page) .footer-widgets.footer-1 {
    display: none !important;
}

/* Footer wrapper: top border teal, matching legacy footer { border-top:5px solid #8cb7c9 } */
body:not(.tl251-page) #footer {
    border-top: 5px solid #8cb7c9;
}

/* Footer absolute-footer background: dark purple as per legacy theme */
body:not(.tl251-page) .absolute-footer {
    background-color: #21145f;
    color: #ffffff;
}
body:not(.tl251-page) .absolute-footer a {
    color: #8cb7c9;
    text-decoration: none;
}
body:not(.tl251-page) .absolute-footer a:hover {
    color: #ffb71b;
}

/* Footer bottom nav: fira-sans, 14px, gray → already handled but re-assert */
body:not(.tl251-page) .absolute-footer .links.footer-nav li a {
    font-family: fira-sans, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #8cb7c9;
    text-decoration: none;
    text-transform: none;
}
body:not(.tl251-page) .absolute-footer .links.footer-nav li a:hover {
    color: #ffb71b;
}

/* Copyright text — styled per legacy footer_bottom p.small */
body:not(.tl251-page) .absolute-footer .copyright-footer,
body:not(.tl251-page) .absolute-footer .copyright-footer p {
    font-family: roboto-slab, serif;
    font-size: 12px;
    line-height: 18px;
    color: #ffffff;
    font-weight: 500;
}

/* Navigator seals wrapper (AICPA + LegitScript, injected via flatsome_before_footer hook) */
body:not(.tl251-page) .navigator-seals-wrapper {
    background-color: #21145f;
    padding: 20px 0 10px;
}
.navigator-seals-wrapper .navigator-seals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================================
   .img-shadow utility — legacy two-column-wysiwyg drop-shadow.
   Used by [navigator_two_col image_shadow="..."] and any [ux_text/col]
   that has the `img-shadow` class applied.
   ========================================================================= */
.img-shadow,
.col.img-shadow,
.col-inner.img-shadow,
.ux-text.img-shadow {
    box-shadow: 12px 12px 20px 0 rgba(63, 56, 94, 0.25);
    display: block;
}
.img-shadow img {
    display: block;
    width: 100%;
    height: auto;
}

/* TL251 — hide Flatsome's default footer widget rows (replaces former JS DOM-swap) */
body.tl251-page .footer-widgets {
    display: none !important;
}
/* Social icons + logo styling for both default and tl251 footers */
.navigator-social-icons .social-icon-image img {
    transition: opacity 0.2s;
    opacity: 0.9;
}
.navigator-social-icons .social-icon-image:hover img {
    opacity: 1;
}

/* =========================================================================
   Cookie notice banner — fixed bottom strip, matching legacy .sticky-bottom
   ========================================================================= */
.sticky-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #8cb7c9;
    box-shadow: 0 -4px 12px rgba(63, 56, 94, 0.08);
}
.cookie-notice-box .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    max-width: 1180px;
    margin: 0 auto;
}
.cookie-notice-box p {
    margin: 0;
    flex: 1 1 auto;
    font-family: roboto-slab, serif;
    font-size: 14px;
    line-height: 1.4;
    color: #21145f;
}
.cookie-notice-box .button {
    margin: 0;
}
.cookie-notice-box .button a {
    display: inline-block;
    background: #8cb7c9;
    color: #fff;
    padding: 8px 20px;
    border-radius: 3px;
    font-family: fira-sans, sans-serif;
    font-weight: 700;
    text-decoration: none;
}
.cookie-notice-box .button a:hover {
    background: #21145f;
}
@media (max-width: 600px) {
    .cookie-notice-box .container {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================================================
   QA fidelity pass — How It Works icon-list / 3-col-CTA components
   Ported (clean) from the legacy navigator theme css/main.css so the migrated
   content (rebuilt to use these legacy component classes) matches the original.
   ========================================================================= */
.component-two-column-icon-list { padding: 40px 0 0; }
.component-two-column-icon-list .two-column-container {
    display: flex; flex-wrap: wrap; justify-content: space-between;
}
.component-two-column-icon-list .two-column-container .icon-group {
    display: flex; align-items: center; flex-basis: 43%;
    min-width: 375px; margin-bottom: 65px;
}
.component-two-column-icon-list .icon-wrapper {
    display: flex; justify-content: center; align-items: center;
    width: 50px; height: 50px; flex: 0 0 50px;
}
.component-two-column-icon-list .icon-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.component-two-column-icon-list .icon-text {
    display: flex; flex-direction: column; justify-content: center; flex: 1;
    margin-left: 14px; font-size: 16px; line-height: 24px; color: #21145f; text-align: left;
}
@media (max-width: 767px) {
    .component-two-column-icon-list .two-column-container .icon-group {
        flex-basis: 100%; min-width: 0; margin-bottom: 30px;
    }
    .component-two-column-icon-list .icon-wrapper { width: 38px; height: 38px; flex-basis: 38px; }
}

.component-icon-list-flexed-text { padding-top: 20px; }
.component-icon-list-flexed-text .icon-list {
    display: flex; flex-wrap: wrap; justify-content: space-around;
    max-width: 1100px; margin: auto;
}
.component-icon-list-flexed-text .icon-box { flex-basis: 200px; margin-bottom: 50px; text-align: center; }
.component-icon-list-flexed-text .icon-wrapper {
    display: flex; justify-content: center; align-items: flex-end;
    height: 115px; padding-bottom: 2px;
}
.component-icon-list-flexed-text .icon-wrapper img { max-height: 100px; width: auto; }
.component-icon-list-flexed-text .flexed-icon-text { position: relative; }
.component-icon-list-flexed-text .flexed-icon-text .text-left { font-size: 16px; color: #21145f; }
.component-icon-list-flexed-text .flexed-icon-text .text-right {
    font-family: 'fira-sans', sans-serif; color: #21145f; font-size: 24px; font-weight: 700;
}

.component-3-column-cta .three-column-cta { display: flex; flex-wrap: wrap; }
.component-3-column-cta .three-column-cta .cta-3-col {
    display: flex; flex-direction: column; flex: 1; min-width: 250px;
    justify-content: space-between; text-align: center; padding: 0 20px; margin-bottom: 40px;
}
.component-3-column-cta .three-column-cta .cta-3-col h3 { margin-bottom: 20px; }

/* two-column-icon-and-description (icon + heading + description, 2-up).
   Migrator put these in wide span-6 cols with [ux_image width="60"] (=60% =
   giant icon). Converted to legacy markup; size the icon + 2-col layout here. */
.component-two-column-icon-and-description { padding-top: 20px; }
.component-two-column-icon-and-description .two-column-container {
    display: flex; flex-wrap: wrap; justify-content: space-between;
}
.component-two-column-icon-and-description .two-column-container .icon-group {
    flex-basis: 47%; text-align: center; margin-bottom: 40px;
}
.component-two-column-icon-and-description .icon-wrapper {
    display: flex; justify-content: center; align-items: center; height: 90px;
}
.component-two-column-icon-and-description .icon-wrapper img { width: auto; max-height: 80px; }
.component-two-column-icon-and-description .icon-text h2,
.component-two-column-icon-and-description .icon-text .header3 {
    font-size: 24px; line-height: 28px; padding: 16px 0 8px;
}
@media (max-width: 767px) {
    .component-two-column-icon-and-description .two-column-container .icon-group { flex-basis: 100%; }
}

/* three-column-icon-list / providers .auto-flux layout: the legacy flex
   container rule lived in main.css (not loaded on Flatsome). Without it the
   .auto-flux columns stack and the icon (width:90% via providers.css) becomes
   giant. Restore the flex row. */
.component-three-column-icon-list .three-column-container {
    display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start;
}

/* ============================================================================
   QA fidelity — Gravity Forms styling, ported from the legacy navigator
   theme css/main.css (child theme had NO gform CSS, so forms rendered
   unstyled: single-column, visible UTM/hidden tracking fields, wrong button).
   ========================================================================= */
/* GF's own default rule (hides visibility-hidden fields) wasn't loaded: */
.gform_wrapper .gfield_visibility_hidden,
li.gfield.gfield_visibility_hidden,
.gfield_visibility_hidden { display: none !important; }

.component-faq-boxes .faq-boxes .faq-box h3,.content .m0,.content .m0px,.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox,.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio,.m0,.m0px,.section-hero .hero-left h3,.sticky-form .gform_wrapper ul.gform_fields li.gfield .ginput_container,.sticky-form .gform_wrapper ul.gform_fields li.gfield:last-child,h1,h3,h4,h5,h6,header .header-banner .header-phone-cta h3 { margin:0 }
.component-quote-carousel .quotes .carousel .ratings,.component-quote-carousel .quotes .carousel .slick-list .slick-track,.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox li,.mobileOnly.flex,.navigation .home-btn a,.navigation .search-field .search-icon,.navigation .search-field.active,.sticky-bottom .cookie-notice-box.active,.sticky-bottom .covid-banner.active { display:-webkit-flex;display:-ms-flexbox;display:flex }
.component-two-column-icon-and-description .two-column-container,.gform_wrapper ul.gform_fields { display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap }
.component-icon-list-flexed-text .icon-list .flexed-icon-text,.content .pRel,.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox li label,.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li label,.pRel { position:relative }
.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox li:before,.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li:before,.gform_wrapper ul.gform_fields li.gfield:before,.navigation .mobile-bottom-navigation ul#menu-mobile-bottom-menu li:before,.navigation ul#menu-header-menu li:before,.sticky-form .gform_wrapper ul.gform_fields li.gfield:before,footer .footer-bottom .footer-bottom-navigation ul li:before,footer .footer-top .footer-top-navigation ul li:before,main.your-question .sidebar ul li:before { content:none }
.sticky-form .gform_wrapper { margin-bottom:29px;margin-top:0 }
.sticky-form .gform_wrapper ul.gform_fields li.gfield { padding:0;margin:0 0 18px;width:100% }
.sticky-form .gform_wrapper ul.gform_fields li.gfield INPUT { width:100%;border-radius:0;border:0;height:45px;border-bottom:1px solid #21145f;padding:15px;background-color:rgba(140,183,201,.15);font-family:fira-sans,sans-serif }
.sticky-form .gform_wrapper ul.gform_fields li.gfield INPUT:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) { padding:15px;font-family:fira-sans,sans-serif }
.sticky-form .gform_wrapper ul.gform_fields li.gfield LABEL { font-size:15px;color:#58595b }
.sticky-form .gform_wrapper .gform_footer { padding:0;margin:0 }
.sticky-form .gform_wrapper .gform_footer input[type=submit] { border:2px solid transparent;width:100%;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:24px;font-weight:700;background-color:#c8187d;color:#fff }
.sticky-form .gform_wrapper .gform_footer input[type=submit]:hover { border:2px solid #c8187d;background-color:#fff;color:#c8187d }
.gform_wrapper { position:relative;margin-top:35px;margin-bottom:20px }
.gform_wrapper ul.gform_fields li.gfield { position:relative;display:block;-webkit-flex-basis:100%;-ms-flex-preferred-size:100%;flex-basis:100%;padding:0;margin:0 0 20px }
.gform_wrapper ul.gform_fields li.gfield .ginput_container { position:relative;width:100%;margin:0 }
.gform_wrapper ul.gform_fields li.gfield .ginput_container INPUT { width:100%;height:50px;border:0;background-color:rgba(140,183,201,.1);border-bottom:1px solid #21145f;color:#21145f;padding:20px }
.gform_wrapper ul.gform_fields li.gfield .ginput_container TEXTAREA { display:block;width:100%;height:195px;border:0;background-color:rgba(140,183,201,.1);border-bottom:1px solid #21145f;color:#21145f;padding:20px;resize:none }
.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox { padding-left:20px }
.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox li INPUT[type=checkbox] { margin:0 12px 0 0;width:22px!important;height:22px;border-radius:0;background-color:#58595b;border:0 solid transparent;font-family:fira-sans,sans-serif;padding:12px }
.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox li INPUT[type=radio] { padding:10px;border:0 solid transparent }
.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox li input[type=checkbox]:checked+label:after { content:"✓";color:#21145f }
.gform_wrapper ul.gform_fields li.gfield .ginput_container .gfield_checkbox li label:after { content:"";display:inline-block;background-color:#edecf2;border:2px solid #edecf2;border-radius:0;width:22px;height:22px;margin-right:10px;margin-top:1px;position:absolute;top:-2px;left:-36px }
.gform_wrapper ul.gform_fields li.gfield.gfield_error .ginput_container INPUT,.gform_wrapper ul.gform_fields li.gfield.gfield_error .ginput_container TEXTAREA { border-bottom:1px solid #c8187d;color:#c8187d }
.gform_wrapper ul.gform_fields li.gfield.gfield_error .validation_message { position:absolute;left:10px;bottom:-18px;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:18px;width:auto;background-color:#c8187d;color:#fff;font-family:fira-sans,sans-serif;font-size:12px;font-weight:400;text-align:center;padding:0 10px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;z-index:2 }
.gform_wrapper ul.gform_fields li.gfield.gfield_error .validation_message.instruction { left:70px;border-bottom-left-radius:0 }
.gform_wrapper ul.gform_fields li.gfield.full-width,main.your-question .give-us-a-call { -webkit-flex-basis:100%;-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100% }
.gform_wrapper ul.gform_fields li.gfield.required { font-size:13px;font-family:fira-sans,sans-serif;margin:0;height:auto }
.gform_wrapper ul.gform_fields li.gfield.recaptcha-notice { font-size:10px;margin-bottom:0;line-height:1.5em }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons { display:block;margin-bottom:20px;padding-bottom:12px }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons label.gfield_label { -webkit-align-items:center;-ms-flex-align:center;align-items:center;white-space:nowrap;font-weight:700;font-size:18px;width:250px;min-width:250px }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons label.gfield_label,.gform_wrapper ul.gform_fields li.gfield.radio-buttons.focused label.gfield_label { position:relative;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:0;height:40px }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container { height:40px;margin-left:12px }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li { display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-right:22px }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li input { width:20px;height:20px;margin-right:10px;padding:12px;-webkit-appearance:none }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li input[type=checkbox],.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li input[type=radio] { background-color:transparent;border-bottom:0 solid transparent;padding:10px }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li input[type=radio]:checked+label:before { content:"";position:absolute;top:0;left:-30px;border:1px solid #21145f;border-radius:50%;width:18px;height:18px;margin-left:0;margin-top:2px }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li input[type=radio]:checked+label:after:checked,.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li input[type=radio]:checked+label:before:checked { border:1px solid #21145f }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li input[type=radio]:checked+label:after { content:"";background-color:#21145f;border-radius:6px;width:12px;height:12px;margin-left:4px;margin-top:6px;border:0 solid transparent }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio li label:after { content:"";display:inline-block;background-color:rgba(140,183,201,.1);border:1px solid #21145f;border-radius:11px;width:18px;height:18px;margin-right:10px;margin-top:2px;position:absolute;top:0;left:-30px }
.gform_wrapper ul.gform_fields li.gfield .gfield_description { width:102px;height:18px;background-color:#c8187d;color:#fff;font-size:11px }
.gform_wrapper ul.gform_fields li.gfield .ginput_recaptcha { opacity:0;width:0;height:0 }
.gform_wrapper .gform_footer { margin:0;padding:10px 0 0 }
.gform_wrapper .gform_footer input[type=submit] { background-color:#c8187d;margin:auto;border:0;text-align:center;color:#fff;font-family:fira-sans,sans-serif;font-weight:700;font-size:18px;line-height:20px!important;display:-webkit-flex;display:-ms-flexbox;display:flex;width:auto;max-width:100%;padding:0 42px 5px;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;white-space:normal }
.gform_wrapper img.gform_ajax_spinner { position:absolute!important;z-index:11;left:0;top:0;right:0;bottom:0;display:block!important;overflow:hidden!important;width:100%!important;height:100%!important;background-color:hsla(0,0%,100%,.6);background-repeat:no-repeat;background-size:16px auto!important;background-position:50%;background-image:url(../img/spinner.gif) }
.gform_wrapper ul.gform_fields li.gfield.radio-buttons .ginput_container ul.gfield_radio { display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0;height:100% }
.gform_wrapper ul.gform_fields li.gfield.full-width { min-width:100% }
.sticky-form .gform_wrapper ul.gform_fields { display:block }
/* GF refinement: left-align labels (Flatsome centers them) to match the
   legacy left-aligned form layout. Keep fields single-column (the legacy
   2-col relied on flex widths the migrated form's markup doesn't carry). */
.gform_wrapper .gfield_label,
.gform_wrapper .gfield,
.gform_wrapper .ginput_complex label { text-align: left; }
/* Original Navigator GF forms are placeholder-only (label_placement hidden — 0
   field labels rendered). The migrated forms render visible field labels (+ a
   stray "CAPTCHA" label), making them taller and unlike the original. Visually
   hide the field labels (kept in the DOM for screen-reader a11y) so the forms
   match the original's compact placeholder-only layout. Choice-option labels
   (radio/checkbox text) are separate elements and remain visible. */
.gform_wrapper ul.gform_fields li.gfield > label.gfield_label,
.gform_wrapper .gfield > label.gfield_label,
.gform_wrapper li.gfield.gfield--type-captcha > label.gfield_label {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    margin: 0 !important; padding: 0 !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* GF 2-column layout (desktop). The wholesale port above deduped the desktop
   flex-basis:48% override away (kept only the mobile 100%). Re-assert cleanly.
   Fields already carry .full-width on Email/Message/HTML fields. The sitewide
   sticky contact form stays single-column, as in the legacy theme. */
.gform_wrapper ul.gform_fields { display: flex; flex-wrap: wrap; justify-content: space-between; }
.gform_wrapper ul.gform_fields li.gfield { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
  .gform_wrapper ul.gform_fields li.gfield { flex: 0 0 48%; max-width: 48%; }
  .gform_wrapper ul.gform_fields li.gfield.full-width { flex: 0 0 100%; max-width: 100%; }
}
.sticky-form .gform_wrapper ul.gform_fields { display: block; }
.sticky-form .gform_wrapper ul.gform_fields li.gfield { max-width: 100%; }

/* =============================================================================
   TL251 fidelity remediation (2026-06-14) — match the legacy sub-brand exactly.
   ========================================================================= */
/* Footer: legacy TL251 footer is LIGHT (no social), with logo+bug, Navigator
   copyright and a Privacy-Terms link. Hide Flatsome's dark absolute-footer
   ("Flatsome Theme") + the navy #footer bg on TL251. */
body.tl251-page #footer { background-color: #ffffff !important; border-top: 1px solid #e6e6e6 !important; }

/* ---- Main-site footer (non-tl251): match the original LIGHT footer ----
   The migration had styled #footer dark navy; the original navigator-theme footer
   is light (left logo + link columns + AICPA badge + brand social + copyright/
   Privacy-Terms). Footer block rebuilt as .navigator-footer-main (.navfoot). */
body:not(.tl251-page) #footer {
  background-color: #ffffff !important;
  color: #21145f;
  border-top: 1px solid #e6e6e6 !important;
}
body:not(.tl251-page) #footer a { color: #21145f; }
body:not(.tl251-page) .absolute-footer { display: none !important; } /* copyright lives in the block */

.navigator-footer-main .navfoot {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 28px; max-width: 1100px; margin: 0 auto; text-align: left;
}
.navigator-footer-main .navfoot-logo img { max-width: 175px; height: auto; }
.navigator-footer-main .navfoot-links { display: flex; gap: 52px; }
.navigator-footer-main .navfoot-col { display: flex; flex-direction: column; gap: 7px; }
.navigator-footer-main .navfoot-col a,
.navigator-footer-main .navfoot-head {
  color: #21145f !important; font-family: 'fira-sans', sans-serif;
  font-size: 15px; line-height: 1.3; text-decoration: none;
}
.navigator-footer-main .navfoot-head { font-weight: 700; }
.navigator-footer-main .navfoot-col a:hover { color: #c8187d !important; }
.navigator-footer-main .navfoot-right { display: flex; align-items: center; gap: 20px; }
.navigator-footer-main .navfoot-social { display: flex; gap: 8px; }
.navigator-footer-main .navfoot-social img { width: 34px; height: 34px; }
.navigator-footer-main .navfoot-copyright {
  text-align: center; margin-top: 26px; font-size: 13px; color: #58595b;
}
.navigator-footer-main .navfoot-copyright a { color: #21145f; text-decoration: underline; }
@media (max-width: 849px) {
  .navigator-footer-main .navfoot { flex-direction: column; align-items: center; text-align: center; }
  .navigator-footer-main .navfoot-links { flex-direction: column; gap: 18px; align-items: center; }
  .navigator-footer-main .navfoot-col { align-items: center; }
  .navigator-footer-main .navfoot-right { justify-content: center; }
}
body.tl251-page .absolute-footer { display: none !important; }
body.tl251-page .navigator-seals-wrapper { background: transparent !important; padding: 10px 0 !important; }
body.tl251-page .tl251-footer-logo-wrap { display: inline-flex; align-items: center; gap: 10px; margin: 16px auto; }
body.tl251-page .tl251-footer-logo-wrap img.tl251-bug-img { height: 60px; width: auto; }
body.tl251-page .tl251-footer-copyright { font-family: 'roboto-slab', serif; font-size: 12px; line-height: 18px; color: #58595b; margin: 8px 0; }
body.tl251-page .tl251-footer-privacy a { font-family: 'fira-sans', sans-serif; font-size: 14px; color: #21145f; text-decoration: none; }
body.tl251-page .tl251-footer-privacy a:hover { color: #ffb71b; }

/* TL251 footer horizontal layout (logo+251-bug left | copyright center | AICPA
   right), matching the original. Overrides the older centered-stack rules above. */
.navigator-footer-tl251 .tl251-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; max-width: 1100px; margin: 0 auto;
}
body.tl251-page .navigator-footer-tl251 .tl251-footer-logo-wrap { display: flex; margin: 0; }
.navigator-footer-tl251 .tl251-footer-logo-wrap > a img { max-width: 150px; height: auto; }
.navigator-footer-tl251 .tl251-foot-copy {
    flex: 1; text-align: center;
    font-family: 'roboto-slab', serif; font-size: 12px; line-height: 18px; color: #58595b;
}
.navigator-footer-tl251 .tl251-foot-copy a {
    font-family: 'fira-sans', sans-serif; font-size: 14px; color: #21145f; text-decoration: underline;
}
.navigator-footer-tl251 .tl251-foot-copy a:hover { color: #ffb71b; }
.navigator-footer-tl251 .tl251-foot-seal img { width: 90px; height: auto; }
@media (max-width: 849px) {
    .navigator-footer-tl251 .tl251-foot { flex-direction: column; text-align: center; }
    body.tl251-page .navigator-footer-tl251 .tl251-footer-logo-wrap { justify-content: center; }
}

/* TL251 home persona cards (#36628f): legacy icon ~85px, title 22px (not the
   40px global TL251 h2), and the intro heading navy (not the .blue light-blue). */
body.tl251-page .col-inner[style*="background-color:#36628f"] .img,
body.tl251-page .col-inner[style*="background-color: #36628f"] .img { width: 85px !important; margin-left: auto !important; margin-right: auto !important; }
body.tl251-page .col-inner[style*="background-color:#36628f"] h2,
body.tl251-page .col-inner[style*="background-color: #36628f"] h2 { font-size: 22px !important; line-height: 28px !important; }
body.tl251-page h2.blue, body.tl251-page .header1.blue { color: #21145f !important; }

/* TL251 header: legacy is a bigger logo + larger navy phone text, and NO 251
   bug in the header (the bug lives in the footer). */
body.tl251-page header img[src*="logo-navigator-healthcare"] { width: 265px !important; max-width: 265px !important; height: auto !important; }
body.tl251-page .tl251-header-cta .tl251-bug-img { display: none !important; }
body.tl251-page .tl251-desktop-cta .tl251-phone-text { font-family: 'fira-sans', sans-serif; font-size: 20px; line-height: 26px; font-weight: 700; color: #21145f; }
@media (max-width: 549px) {
  body.tl251-page header img[src*="logo-navigator-healthcare"] { width: 150px !important; max-width: 150px !important; }
}

/* TL251 home hero H1: legacy mobile size is 50px (global mobile hero h1 is 38px). */
@media (max-width: 549px) {
  body.tl251-page .banner.hero-2399 h1,
  body.tl251-page .hero-2399 .text-box-content h1 { font-size: 50px !important; line-height: 50px !important; }
}

/* Flatsome defaults the .banner background to the primary navy (#21145f). Several
   tl251 hero images (e.g. 11g6.png on family, dot-sap, substance-use) have a
   TRANSPARENT text-side, so the navy showed through and the white wash turned it
   lavender/purple. Force the hero banner background white so the transparent area
   reads white like the original (full-photo heroes are unaffected — the photo
   covers it). Applies to all hero banners; opaque-photo heroes are unchanged. */
.banner[class*="hero-"] { background-color: #fff !important; }

/* TL251 subpage hero banners (all 50vh heroes, NOT the 60vh home hero-2399):
   legacy H1 is 56px desktop / 32px mobile. Flatsome's banner default is 85px/38px. */
body.tl251-page .banner:not(.hero-2399) h1,
body.tl251-page .banner:not(.hero-2399) .text-box-content h1 { font-size: 32px !important; line-height: 38px !important; }
@media (min-width: 64em) {
  body.tl251-page .banner:not(.hero-2399) h1,
  body.tl251-page .banner:not(.hero-2399) .text-box-content h1 { font-size: 56px !important; line-height: 62px !important; }
}

/* TL251 hero TREATMENT: the legacy .section-hero renders these as a LIGHT
   washed-out photo with dark navy body text (coral H1). The migrated [ux_banner]
   defaults to a dark overlay + white text. Wash the overlay white and force the
   subhead/body text navy to match; the H1 keeps its own coral color. Applies to
   ALL tl251 heroes including the home hero-2399 (also light) — the H1-SIZE rule
   above keeps hero-2399 at 85px/50px. */
body.tl251-page .banner .overlay {
  background: rgba(255, 255, 255, 0.62) !important;
}
body.tl251-page .banner .text-box-content,
body.tl251-page .banner .text-box-content .text-inner,
body.tl251-page .banner .text-box-content h4,
body.tl251-page .banner .text-box-content h3,
body.tl251-page .banner .text-box-content p {
  color: #21145f !important;
}

/* SITE-WIDE interior page heroes (the same legacy .section-hero treatment as the
   tl251 subpages, applied to every non-tl251 content page: about-us, getting-help,
   helping-a-loved-one, how-it-works, persona pages, B2B, resources-for-employees,
   info variants, etc.). All are 50vh `hero-NNNN` banners that the legacy theme
   rendered LIGHT (washed photo + 56px/32px navy H4 subhead, coral H1) but the
   migrated [ux_banner] renders DARK (85px/38px H1 + 0.35 black overlay + white
   text). Match the original. Excludes the big 60vh home hero (hero-22); tl251
   pages are covered by the body.tl251-page rules above. */
body:not(.tl251-page) .banner[class*="hero-"]:not(.hero-22):not(.contact-hero) h1,
body:not(.tl251-page) .banner[class*="hero-"]:not(.hero-22):not(.contact-hero) .text-box-content h1 { font-size: 32px !important; line-height: 38px !important; }
@media (min-width: 64em) {
  body:not(.tl251-page) .banner[class*="hero-"]:not(.hero-22):not(.contact-hero) h1,
  body:not(.tl251-page) .banner[class*="hero-"]:not(.hero-22):not(.contact-hero) .text-box-content h1 { font-size: 56px !important; line-height: 62px !important; }
}
/* The LIGHT wash + navy text applies to ALL non-tl251 heroes including the big
   home hero (hero-22) — only the genuinely-dark providers "Contact Us" hero
   (.contact-hero, white text on a dark photo) is excluded. The H1-SIZE rule above
   still excludes hero-22 so the home hero keeps its 85px/50px scale. */
body:not(.tl251-page) .banner[class*="hero-"]:not(.contact-hero) .overlay {
  background: rgba(255, 255, 255, 0.62) !important;
}
body:not(.tl251-page) .banner[class*="hero-"]:not(.contact-hero) .text-box-content,
body:not(.tl251-page) .banner[class*="hero-"]:not(.contact-hero) .text-box-content .text-inner,
body:not(.tl251-page) .banner[class*="hero-"]:not(.contact-hero) .text-box-content h4,
body:not(.tl251-page) .banner[class*="hero-"]:not(.contact-hero) .text-box-content h3,
body:not(.tl251-page) .banner[class*="hero-"]:not(.contact-hero) .text-box-content p {
  color: #21145f !important;
}
/* Main home (hero-22) mobile H1 is 50px in the legacy design (global mobile hero
   h1 is 38px) — mirrors the tl251 home hero-2399 mobile rule. */
@media (max-width: 549px) {
  body:not(.tl251-page) .banner.hero-22 h1,
  body:not(.tl251-page) .hero-22 .text-box-content h1 { font-size: 50px !important; line-height: 50px !important; }
}

/* ---- Global (non-tl251) legacy heading utilities ----
   The tl251 scope already had these; the rest of the site was missing them, so
   several content-page headings drifted to Flatsome defaults. Mirror them here. */

/* `.blue` heading utility: the legacy brand "blue" is the navy #21145f, but the
   global `.blue` rule sets #8CB7C9 (light blue). Restore navy on headings
   (e.g. home "Find the best care that works for you" = <h2 class="header1 blue">). */
body:not(.tl251-page) h1.blue,
body:not(.tl251-page) h2.blue,
body:not(.tl251-page) h3.blue,
body:not(.tl251-page) .header1.blue,
body:not(.tl251-page) .header2.blue {
  color: #21145f !important;
}

/* `<h2 class="small">` sub/CTA heading (e.g. "Interested in becoming a partner?"
   on the B2B + request-demo form boxes): legacy 32px; global h2 is 40px. */
body:not(.tl251-page) h2.small {
  font-size: 32px !important;
  line-height: 38px;
}

/* Icon-card titles (icon col span-3 + text col span-9), e.g. the treatment-program
   list on getting-help: legacy rendered these 24px; migrated markup emits <h4>
   (default 18px). Matches the tl251 .col.large-9 rule. */
body:not(.tl251-page) .col.large-9 .col-inner h4 {
  font-size: 24px;
  line-height: 29px;
}

/* Home (page 22) persona cards (magenta #c8187d boxes linking to the persona
   pages): card <h2> titles are 32px in the legacy design (render at 24px). */
body.page-id-22 .col-inner[style*="background-color:#c8187d"] h2 {
  font-size: 32px !important;
  line-height: 38px;
}

/* Providers (page 1719) "Benefits of Participation" boxes (navy #21145f cols):
   the benefit-statement <h2> are 25px in the legacy design (render at 40px). */
body.page-id-1719 .col-inner[style*="background-color:#21145f"] h2 {
  font-size: 25px !important;
  line-height: 30px;
}
/* Benefits 3-column row (now native Flatsome [row]/[col]/[ux_image]): centre the
   compass SVG (intrinsic 1×1) at a fixed size, vertically centred between the two
   text columns; benefit paragraphs separated by [divider]. */
.provider-benefits { align-items: center; }
.provider-benefits .img img[src*="icon-compass"] { width: 210px !important; height: auto !important; }
.provider-benefits .col [id^="image_"] { width: 210px !important; max-width: 210px; margin: 0 auto; }
.provider-benefits p { font-size: 16px; line-height: 24px; }
.provider-benefits .is-divider { margin: 14px 0; }

/* About Us (page 54) mission-value icon cards (icon + title, span-4 columns):
   legacy rendered the value titles at 24px; migrated markup emits <h4> (18px). */
body.page-id-54 .col.large-4 .col-inner h4 {
  font-size: 24px;
  line-height: 29px;
}

/* Flatsome uppercases all button text; the original Navigator buttons render
   mixed-case (as authored, e.g. "Get to know Navigator", "Inquire about becoming
   a partner"). Restore the authored casing site-wide. */
.button, a.button, button.button, .gform_wrapper .gform_footer input[type="submit"],
.gform_button, input.button, .ux-search-submit, .is-form { text-transform: none !important; }

/* give-us-a-call CTA button renders full-width (the .button wrapper is display:block);
   the original is an auto-width centered button. Restore auto width on these CTAs. */
.full-width-banner .col-inner { text-align: center; }
.full-width-banner .button { display: inline-block !important; width: auto !important; margin: 0 auto !important; }

/* ---- Mobile responsive grid fixes ----
   The migration set narrow span__sm values, so several grids render 2-/3-column
   on phones and clip — the original stacks them. Restore the original mobile cols. */
/* Colored content cards (persona / "resource" / benefit / CTA boxes — any col
   whose inner has a background-color) collapse straight from their desktop grid
   (3- or 4-up) to 1-per-row in the original theme: the original's breakpoint is
   1024px, with NO intermediate 2-up tablet state. Flatsome's medium-6/large-N
   classes instead give 2-up (550–849) then 3/4-up (≥850), which diverges from
   the original across the whole tablet band. Force 1-per-row below 1024 to match
   (home pink CTA cards, providers navy benefit cards, tl251 #36628f cards). */
@media (max-width: 1023px) {
  .col:has(> .col-inner[style*="background-color:#"]) {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
}
@media (max-width: 549px) {
  /* Addiction-type icon grid (.large-2, 6-up desktop) renders 3-col on mobile and
     overlaps the labels — make it 2-col like the original. */
  .col.large-2 {
    width: 50% !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
  }
}

/* three-column-stats ($0 / 24 / 365 "easy to talk to" block) had per-stat styling
   but no container layout, so the three stats collapsed/ran together. Lay them out
   as an evenly-spaced row (matches the original), wrapping safely on small phones. */
.three-column-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  max-width: 440px;
  margin: 24px auto;
  text-align: center;
}
.three-column-stats .stat { flex: 1 1 0; min-width: 0; }

/* Empty give-us-a-call photo bands (section.cta-NNN with the text commented out)
   only received their 60px padding (~120px tall), clipping the background photo to
   a grey strip. The original rendered these at the full-width-banner height. Restore
   it so the photo shows (home, about-us, how-to-recover, tl251 home, FAQ pages). */
section[class*="cta-"]:not(.full-width-banner) { min-height: 911px; }
@media (max-width: 849px) {
  section[class*="cta-"]:not(.full-width-banner) { min-height: 513px; }
}

/* providers compass explicit size — the icon-compass SVG (1:1) was collapsing to
   80px (a max-height:80px rule won over the width rule). Force ~290px to match the
   original; centered, overflow allowed past the narrow span-2 column. */
body.page-id-1719 .provider-benefits .col .img-inner img,
body.page-id-1719 .provider-benefits img[src*="icon-compass"] {
  width: 280px !important; max-width: 280px !important;
  height: auto !important; max-height: none !important;
}
body.page-id-1719 .provider-benefits .col.large-2,
body.page-id-1719 .provider-benefits .col.large-2 .col-inner,
body.page-id-1719 .provider-benefits .col.large-2 .img { overflow: visible !important; }

/* icon-card mobile icon cap — [ux_image width="60"] icons are 60% of the column;
   when the column goes full-width on phones the icons balloon to ~130-150px. Cap
   the icon-card icons on the affected pages (help-others, helping-a-loved-one) so
   they stay icon-sized like the original. (.img-inner img on these pages are all
   icon-card icons; heroes/CTAs use background images, not .img-inner.) */
@media (max-width: 549px) {
  body.page-id-2523 .col .img-inner img,
  body.page-id-2927 .col .img-inner img,
  body.page-id-34 .col .img-inner img,
  body.page-id-42 .col .img-inner img {
    max-width: 76px !important;
    margin-left: auto !important; margin-right: auto !important;
  }
}

/* The "helping a loved one" / "programs" icon-card pages — tl251 versions
   (help-others 2523, care-options 2927) AND their non-tl251 twins
   (rehab-for-loved-ones 42, help-near-me 34). The icons sit in a fixed 43px
   `.img-inner` with overflow:hidden (clipped) inside a narrow ~101px large-3
   column. Un-clip the inner and size icons to fill their column (~90px large-3,
   ~85px large-4) — same icon-to-column proportion as the original (whose absolute
   sizes are larger only because its content column is wider). */
body.page-id-42 .col .img-inner,
body.page-id-34 .col .img-inner,
body.page-id-2523 .col .img-inner,
body.page-id-2927 .col .img-inner {
  width: auto !important; max-width: 100% !important; overflow: visible !important;
}
body.page-id-42 .col.large-3 .img-inner img,
body.page-id-34 .col.large-3 .img-inner img,
body.page-id-2523 .col.large-3 .img-inner img,
body.page-id-2927 .col.large-3 .img-inner img {
  width: 90px !important; max-width: 90px !important; height: auto !important; max-height: none !important;
}
body.page-id-42 .col.large-4 .img-inner img,
body.page-id-2523 .col.large-4 .img-inner img {
  width: 85px !important; max-width: 85px !important; height: auto !important; max-height: none !important;
}

/* icon-card mobile per-grid cap — original mobile icons are uniformly ~80px; the
   desktop per-grid rules above (140/82px) otherwise carry to mobile. Match orig. */
@media (max-width: 549px) {
  body.page-id-42 .col.large-4 .img-inner img, body.page-id-2523 .col.large-4 .img-inner img,
  body.page-id-42 .col.large-3 .img-inner img, body.page-id-2523 .col.large-3 .img-inner img,
  body.page-id-34 .col.large-3 .img-inner img, body.page-id-2927 .col.large-3 .img-inner img {
    width: 80px !important; max-width: 80px !important;
  }
}

/* footer mobile element order — original stacks badge/social ABOVE the link
   columns on mobile; the rebuilt .navfoot stacks them below. Reorder to match. */
@media (max-width: 849px) {
  .navigator-footer-main .navfoot-logo  { order: 1; }
  .navigator-footer-main .navfoot-right { order: 2; }
  .navigator-footer-main .navfoot-links { order: 3; }
}

/* non-tl251 body text weight — the original theme sets body { font-weight:500 }
   (roboto-slab medium); Flatsome renders 400. tl251 already has body.tl251-page p
   {500}; match it on the rest of the site so body copy weight is identical. */
body:not(.tl251-page) p,
body:not(.tl251-page) li,
body:not(.tl251-page) td,
body:not(.tl251-page) .col-inner { font-weight: 500; }

/* Mobile: Flatsome renders an extra .header-top "nav-dark" strip (~30px teal
   rgb(140,183,201)) holding the collapsed desktop nav. The original theme has
   no such top bar on mobile (nav is the hamburger off-canvas only). Hide it so
   the mobile header matches the original. tl251 already sets .header-top to
   display:none via its custom header, so this is a no-op there. */
@media (max-width: 849px) {
  .header-top { display: none !important; }
}
/* ===== Vertical-spacing tightening (site-wide) =====
   Migrated [section]s carry 40–60px top+bottom padding (~900px/page); the legacy
   theme used 0 section padding and let content provide the rhythm. Trim content
   sections toward the original's tighter spacing across all pages. Full-width
   banners/heroes are excluded (they rely on their own padding/min-height); the
   give-us-a-call CTA bands keep their min-height, so this won't collapse them. */
.section:not(.full-width-banner) {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* ===== Content-step photos in 2-column rows — cap to original size =====
   The "How Navigator works"-style image|text rows render the photo filling the
   whole large-6 column (~415px); the original displayed these at ~249px. They are
   direct `.col-inner > img` (icons are `.img-inner`-wrapped, so unaffected; heroes
   use background images). IMPORTANT: `.row.tablet-narrow` is NOT a reliable
   discriminator — both small content-step images (orig ~249) AND large FEATURE
   images (orig ~460-554, e.g. home / about-us / tl251 / help-near-me) use it.
   Verified per page against the original, so this cap is scoped to ONLY the
   content-step pages (orig 249px). Feature pages are left to fill their column. */
:is(.page-id-2204, .page-id-570, .page-id-684, .page-id-38, .page-id-1823,
    .page-id-2138, .page-id-2871, .page-id-2882, .page-id-2938)
  .row.tablet-narrow .col.large-6 > .col-inner > img {
    max-width: 280px !important;
    height: auto !important;
}

/* Content-step photos: hug the OUTER edge of their column like the original's
   zigzag layout (right-column image → right edge, left-column image → left edge),
   instead of sitting at the inner/gutter side with whitespace beyond. Only styles
   cols that actually contain a content image (via > .col-inner > img). */
.row.tablet-narrow > .col:last-child > .col-inner > img {
    display: block !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}
.row.tablet-narrow > .col:first-child > .col-inner > img {
    display: block !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* ===== Interior hero banners — pin to original FIXED heights =====
   The migrated ux_banner heroes use a viewport-HEIGHT-based height (~35vh small /
   ~50vh regular) PLUS a mobile min-height:350px, so they balloon with window
   height (small hero 378-455px on tall desktops, 350px on phones) vs the
   original's FIXED px heights. The original switches at a 1024px WIDTH breakpoint:
   small hero 200 (<1024) / 278 (>=1024); regular ~450 (<1024) / 483 (>=1024).
   Pin each migrated hero (by hero-NN class) to those fixed heights at both
   breakpoints, killing the vh + min-height so it never scales with window height.
   Home heroes (hero-22 / hero-2399) excluded — they don't balloon. */
@media (min-width: 1024px) {
  :is(.hero-7,.hero-10,.hero-19,.hero-69,.hero-73,.hero-77,.hero-86,.hero-317,.hero-1000,.hero-1003,.hero-1902,.hero-1937,.hero-2041,.hero-2069,.hero-2079,.hero-2089,.hero-2096,.hero-2110,.hero-2717).banner { padding-top: 278px !important; }
  :is(.hero-34,.hero-38,.hero-42,.hero-54,.hero-519,.hero-552,.hero-570,.hero-605,.hero-684,.hero-1719,.hero-1823,.hero-2138,.hero-2204,.hero-2217,.hero-2852,.hero-2889,.hero-2927,.hero-2938,.hero-resteam).banner { padding-top: 483px !important; }
  .hero-2871.banner { padding-top: 491px !important; }
  :is(.hero-2554,.hero-2882).banner { padding-top: 507px !important; }
  :is(.hero-2523,.hero-2589).banner { padding-top: 539px !important; }
  .hero-2614.banner { padding-top: 659px !important; }
}
@media (max-width: 1023px) {
  /* Small heroes → 200px (override the vh padding-top AND the min-height:350). */
  :is(.hero-7,.hero-10,.hero-19,.hero-69,.hero-73,.hero-77,.hero-86,.hero-317,.hero-1000,.hero-1003,.hero-1902,.hero-1937,.hero-2041,.hero-2069,.hero-2079,.hero-2089,.hero-2096,.hero-2110,.hero-2717).banner { padding-top: 0 !important; min-height: 200px !important; }
  /* Regular heroes → ~450px (same override; orig is ~437-461 in this band). */
  :is(.hero-34,.hero-38,.hero-42,.hero-54,.hero-519,.hero-552,.hero-570,.hero-605,.hero-684,.hero-1719,.hero-1823,.hero-2138,.hero-2204,.hero-2217,.hero-2852,.hero-2889,.hero-2927,.hero-2938,.hero-2871,.hero-2554,.hero-2882,.hero-2523,.hero-2589,.hero-2614,.hero-resteam).banner { padding-top: 0 !important; min-height: 450px !important; }
}

/* resources-for-your-team (page 3651) CF7 order form — match prod, override Flatsome
   form/table defaults (uppercase th, input margins/shadows, button casing). The page
   stores this markup via [ux_html] so wpautop can't mangle it; CSS lives here. */
.cf-order table { width:100%; border-collapse:collapse; margin-top:20px; font-family:Arial,sans-serif; }
.cf-order table th { background-color:#f4f4f4; padding:10px; text-align:left; font-weight:bold; border:1px solid #ddd; text-transform:none; letter-spacing:0; font-size:16px; }
.cf-order table td { padding:10px; border:1px solid #ddd; vertical-align:middle; }
.cf-order table td label { display:block; margin-bottom:5px; }
.cf-order table input[type="number"] { width:120px; padding:5px; border:1px solid #ccc; border-radius:3px; text-align:left; margin:0; box-shadow:none; height:auto; }
.cf-order input[type="text"], .cf-order input[type="email"], .cf-order input[type="tel"], .cf-order textarea {
  width:100%; padding:8px; margin:0; border:1px solid #ccc; border-radius:4px; font-family:Arial,sans-serif; box-shadow:none; background:#fff; }
.cf-order .wpcf7-form-control-wrap { display:block; }
/* quantity fields stay inline after the "Quantity:" label (prod layout) */
.cf-order .wpcf7-form-control-wrap:has(input[type="number"]) { display:inline-block; vertical-align:middle; }
.cf-order p { margin-bottom:12px; }
/* submit — author's intended dark magenta, mixed case (Flatsome else uppercases + restyles) */
.cf-order input[type="submit"], .cf-order .wpcf7-submit {
  background-color:#880E4F !important; color:#fff !important; padding:10px 20px !important; border:none !important;
  font-size:16px !important; cursor:pointer; text-transform:none !important; border-radius:0 !important; width:auto !important;
  letter-spacing:0 !important; box-shadow:none !important; min-height:0 !important; }
.cf-order input[type="submit"]:hover, .cf-order .wpcf7-submit:hover { background-color:#a01060 !important; }
