/*
 Theme Name:    Ona Joolz
 Theme URI:     https://deothemes.com/
 Description:   Ona Child Theme
 Author:        Paul Gailey
 Author URI:    https://paulgailey.com/
 Template:      ona
 Version:       1.0.0
 Text Domain:   ona-joolz
*/

/* ==========================================================================
   JOOLZ LEWIS - MASTER STYLESHEET (v3.2.23 - SINGLE-LINE STRAP & CLEANED CSS)
   ========================================================================== */

/* Custom Font Faces */
@font-face {
    font-family: 'BodoniOrnaments';
    src: url('/wp-content/uploads/Bodoni-Ornaments.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mendl Sans';
    src: url('/wp-content/uploads/MendlSans_W_DuskRg.woff2') format('woff2'),
         url('/wp-content/uploads/MendlSans_W_DuskRg.woff') format('woff');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mendl Sans Dawn';
    src: url('/wp-content/uploads/MendlSans_W_DawnRg.woff2') format('woff2'),
         url('/wp-content/uploads/MendlSans_W_DawnRg.woff') format('woff');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   1. TYPOGRAPHY & BASE STYLES
   ========================================================================== */

body,
p,
li,
figcaption,
.wp-block-paragraph,
.wp-block-post-content {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Roboto, Arial, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    letter-spacing: 0.025em !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    color: rgba(26, 60, 76, 0.9) !important;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.wp-block-site-tagline,
p.wp-block-site-tagline {
    font-family: 'Mendl Sans', sans-serif !important;
    text-decoration: none !important;
    letter-spacing: 0.04em !important;
}

.wp-block-site-title,
.wp-block-site-title a,
.site-title,
.site-title a {
    font-family: 'Mendl Sans', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    word-spacing: 0.08em !important;
    white-space: nowrap !important;
    color: #1A3C4C !important;
}

@media (max-width: 768px) {
    .wp-block-site-title,
    .wp-block-site-title a,
    .site-title,
    .site-title a {
        font-size: clamp(1rem, 3.6vw, 1.35rem) !important;
        letter-spacing: 0.16em !important;
        word-spacing: 0.06em !important;
        white-space: nowrap !important;
    }
}

.wp-block-site-tagline,
p.wp-block-site-tagline {
    font-family: 'Mendl Sans', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.18em !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    color: #1A3C4C !important;
}

@media (min-width: 769px) {
    .wp-block-site-tagline,
    p.wp-block-site-tagline {
        white-space: nowrap !important;
        letter-spacing: 0.14em !important;
        font-size: 0.7rem !important;
        line-height: 1.35 !important;
        max-width: none !important;
    }
}

@media (max-width: 768px) {
    .wp-block-site-tagline,
    p.wp-block-site-tagline {
        white-space: nowrap !important;
        font-size: clamp(0.46rem, 2.05vw, 0.58rem) !important;
        letter-spacing: 0.06em !important;
        line-height: 1.35 !important;
        max-width: none !important;
        width: auto !important;
        min-width: 0 !important;
    }
}

footer .wp-block-site-title,
footer .wp-block-site-title a,
.site-footer .wp-block-site-title,
.site-footer .wp-block-site-title a,
footer .wp-block-site-tagline,
.site-footer .wp-block-site-tagline,
[class*="section-fern-"] .wp-block-site-title,
[class*="section-fern-"] .wp-block-site-title a,
[class*="section-fern-"] .wp-block-site-tagline {
    color: #EBEBEB !important;
}

.wp-block-site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.wp-block-navigation {
    align-items: center !important;
}

/* ==========================================================================
   2. SPECIALTY MENDL CAPS & BRAND OVERLAY CARDS
   ========================================================================== */

.joolz-caps-body,
p.joolz-caps-body {
    font-family: 'Mendl Sans', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 0.73rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    line-height: 1.9 !important;
    color: rgba(235, 235, 235, 0.88) !important;
    border-top: 1px solid rgba(235, 235, 235, 0.4) !important;
    border-bottom: 1px solid rgba(235, 235, 235, 0.4) !important;
    padding: 18px 36px !important;
    margin: 12px 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

@media (max-width: 600px) {
    .joolz-caps-body,
    p.joolz-caps-body {
        padding-left: 18px !important;
        padding-right: 18px !important;
        font-size: 0.7rem !important;
    }
}

[class*="joolz-overlay-"] {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.joolz-overlay-yellow {
    background-color: rgba(255, 218, 71, 0.85) !important;
    color: #1A3C4C !important;
}

.joolz-overlay-yellow *,
.joolz-overlay-yellow .joolz-caps-body {
    color: #1A3C4C !important;
    border-top-color: rgba(26, 60, 76, 0.4) !important;
    border-bottom-color: rgba(26, 60, 76, 0.4) !important;
}

.joolz-overlay-medium-teal {
    background-color: rgba(30, 146, 157, 0.85) !important;
    color: #EBEBEB !important;
}

.joolz-overlay-medium-teal * {
    color: #EBEBEB !important;
}

.joolz-overlay-deep-teal {
    background-color: rgba(8, 112, 121, 0.88) !important;
    color: #EBEBEB !important;
}

.joolz-overlay-deep-teal * {
    color: #EBEBEB !important;
}

.joolz-overlay-slate-navy {
    background-color: rgba(26, 60, 76, 0.88) !important;
    color: #EBEBEB !important;
}

.joolz-overlay-slate-navy * {
    color: #EBEBEB !important;
}

/* ==========================================================================
   3. SECTION CONTAINER BASE, STACKING & CONTRAST
   ========================================================================== */

header.site-header,
header.wp-block-template-part,
.wp-block-post-content,
.entry-content,
div.wp-block-post-content,
header.site-header + .entry-content,
header.site-header + .wp-block-post-content,
header.site-header + main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

[class*="section-bg-"],
[class*="section-fern-"],
[class*="section-solid-"],
.editor-styles-wrapper [class*="section-bg-"],
.editor-styles-wrapper [class*="section-fern-"],
.editor-styles-wrapper [class*="section-solid-"] {
    min-height: 520px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 60px 5% !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 !important;
}

[class*="section-bg-"],
.editor-styles-wrapper [class*="section-bg-"] {
    background-color: #087079 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

[class*="section-bg-"] .wp-block-group__inner-container,
[class*="section-fern-"] .wp-block-group__inner-container,
[class*="section-solid-"] .wp-block-group__inner-container {
    background-image: none !important;
}

[class*="section-bg-"] > *:not(.wp-block-columns),
[class*="section-fern-"] > *:not(.wp-block-columns),
[class*="section-solid-"] > *:not(.wp-block-columns) {
    max-width: 48% !important;
    z-index: 2 !important;
    position: relative !important;
}

@media (min-width: 769px) {
    .section-fern-slate-navy > *:not(.wp-block-columns),
    .editor-styles-wrapper .section-fern-slate-navy > *:not(.wp-block-columns) {
        max-width: none !important;
        width: auto !important;
    }

    .section-fern-slate-navy .hero-lead-line,
    .editor-styles-wrapper .section-fern-slate-navy .hero-lead-line {
        white-space: nowrap !important;
    }
}

[class*="section-bg-"] > .wp-block-columns,
[class*="section-fern-"] > .wp-block-columns,
[class*="section-solid-"] > .wp-block-columns {
    max-width: 100% !important;
    width: 100% !important;
    z-index: 2 !important;
    margin: 0 !important;
}

/* Light text across dark custom sections & dark background blocks */
[class*="section-bg-"],
[class*="section-bg-"] *,
.section-fern-slate-navy,
.section-fern-slate-navy *,
.section-fern-deep-teal,
.section-fern-deep-teal *,
.section-fern-medium-teal,
.section-fern-medium-teal *,
.section-solid-deep-slate-navy,
.section-solid-deep-slate-navy *,
.section-solid-deep-teal,
.section-solid-deep-teal *,
.section-solid-medium-teal,
.section-solid-medium-teal *,
.section-trust-gap-split,
.section-trust-gap-split *,
.has-background[style*="background-color: #1a3c4c"],
.has-background[style*="background-color: #1a3c4c"] *,
.has-background[style*="background-color: #087079"],
.has-background[style*="background-color: #087079"] *,
.has-deep-slate-navy-background-color,
.has-deep-slate-navy-background-color *,
.has-deep-teal-background-color,
.has-deep-teal-background-color * {
    color: #EBEBEB !important;
}

/* Dark text across light & yellow sections */
.section-fern-base-light-grey,
.section-fern-base-light-grey *,
.section-fern-cta-yellow,
.section-fern-cta-yellow *,
.section-solid-base-light-grey,
.section-solid-base-light-grey *,
.section-solid-cta-yellow,
.section-solid-cta-yellow *,
.section-solid-stone-grey,
.section-solid-stone-grey * {
    color: #1A3C4C !important;
}

/* Section headings tracking */
[class*="section-bg-"] :is(h1, h2, h3, h4, h5, h6),
[class*="section-fern-"] :is(h1, h2, h3, h4, h5, h6),
[class*="section-solid-"] :is(h1, h2, h3, h4, h5, h6),
.section-trust-gap-split :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Mendl Sans', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.16em !important;
    line-height: 1.65 !important;
    text-transform: uppercase !important;
}

/* Hero Slate Navy Heading Balanced Scale (Line 1 Locked on Desktop) */
.section-fern-slate-navy :is(h1, h2, h3, h4, .wp-block-heading, .wp-block-heading *),
.editor-styles-wrapper .section-fern-slate-navy :is(h1, h2, h3, h4, .wp-block-heading, .wp-block-heading *) {
    font-size: clamp(1.35rem, 1.95vw, 2.05rem) !important;
    letter-spacing: 0.06em !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    [class*="section-bg-"] {
        background-attachment: scroll !important;
    }
    .section-fern-slate-navy > *:not(.wp-block-columns),
    .editor-styles-wrapper .section-fern-slate-navy > *:not(.wp-block-columns) {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   4. INDIVIDUAL WEBP BACKGROUND SECTIONS
   ========================================================================== */

.section-bg-262 { background-image: url('/wp-content/uploads/262.webp') !important; }
.section-bg-263 { background-image: url('/wp-content/uploads/263.webp') !important; }
.section-bg-264 { background-image: url('/wp-content/uploads/264.webp') !important; }
.section-bg-265 { background-image: url('/wp-content/uploads/265.webp') !important; }
.section-bg-266 { background-image: url('/wp-content/uploads/266.webp') !important; }
.section-bg-267 { background-image: url('/wp-content/uploads/267.webp') !important; }
.section-bg-268 { background-image: url('/wp-content/uploads/268.webp') !important; }
.section-bg-269 { background-image: url('/wp-content/uploads/269.webp') !important; }

.section-bg-262 > *:not(.wp-block-columns) {
    margin-left: 0 !important;
    max-width: 48% !important;
}

.section-bg-263 > *:not(.wp-block-columns),
.section-bg-265 > *:not(.wp-block-columns),
.section-bg-268 > *:not(.wp-block-columns) {
    margin-left: auto !important;
    margin-right: 0 !important;
    max-width: 48% !important;
}

.section-bg-269 > .wp-block-columns {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
}

.section-bg-269 .has-medium-teal-background-color,
.section-bg-269 .has-medium-teal-background-color *,
.section-bg-269 .has-background[style*="background-color: #1e929d"],
.section-bg-269 .has-background[style*="background-color: #1e929d"] *,
.section-bg-269 .has-background[style*="background-color: #087079"],
.section-bg-269 .has-background[style*="background-color: #087079"] * {
    background-color: #1E929D !important;
    color: #EBEBEB !important;
}

.section-bg-269 .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ==========================================================================
   5. FERN MOTIF & SOLID CONTINGENCY SECTIONS
   ========================================================================== */

.section-fern-slate-navy,
.editor-styles-wrapper .section-fern-slate-navy {
    background-color: #1A3C4C !important;
    background-image:
        linear-gradient(rgba(26, 60, 76, 0.85), rgba(26, 60, 76, 0.85)),
        url('/wp-content/uploads/Joolz-Fern-MASTER-White.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center, right -380px top -120px !important;
    background-size: cover, 1700px auto !important;
}

.section-fern-deep-teal,
.editor-styles-wrapper .section-fern-deep-teal {
    background-color: #087079 !important;
    background-image:
        linear-gradient(rgba(8, 112, 121, 0.85), rgba(8, 112, 121, 0.85)),
        url('/wp-content/uploads/Joolz-Fern-MASTER-White.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center, right -380px top -120px !important;
    background-size: cover, 1700px auto !important;
}

.section-fern-medium-teal,
.editor-styles-wrapper .section-fern-medium-teal {
    background-color: #1E929D !important;
    background-image:
        linear-gradient(rgba(30, 146, 157, 0.85), rgba(30, 146, 157, 0.85)),
        url('/wp-content/uploads/Joolz-Fern-MASTER-White.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center, right -380px top -120px !important;
    background-size: cover, 1700px auto !important;
}

.section-fern-base-light-grey,
.editor-styles-wrapper .section-fern-base-light-grey {
    background-color: #EBEBEB !important;
    background-image:
        linear-gradient(rgba(235, 235, 235, 0.82), rgba(235, 235, 235, 0.82)),
        url('/wp-content/uploads/Joolz-Fern-MASTER-Grey.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center, right -380px top -120px !important;
    background-size: cover, 1700px auto !important;
}

.section-fern-cta-yellow,
.editor-styles-wrapper .section-fern-cta-yellow {
    background-color: #FFDA47 !important;
    background-image:
        linear-gradient(rgba(255, 218, 71, 0.82), rgba(255, 218, 71, 0.82)),
        url('/wp-content/uploads/Joolz-Fern-MASTER-Grey.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center, right -380px top -120px !important;
    background-size: cover, 1700px auto !important;
}

@media (max-width: 768px) {
    [class*="section-fern-"] {
        background-position: center center, right -550px top -80px !important;
        background-size: cover, 1200px auto !important;
    }
}

.section-solid-deep-teal,
.editor-styles-wrapper .section-solid-deep-teal {
    background-color: #087079 !important;
    background-image: none !important;
}

.section-solid-deep-slate-navy,
.editor-styles-wrapper .section-solid-deep-slate-navy {
    background-color: #1A3C4C !important;
    background-image: none !important;
}

.section-solid-medium-teal,
.editor-styles-wrapper .section-solid-medium-teal {
    background-color: #1E929D !important;
    background-image: none !important;
}

.section-solid-base-light-grey,
.editor-styles-wrapper .section-solid-base-light-grey {
    background-color: #EBEBEB !important;
    background-image: none !important;
}

.section-solid-cta-yellow,
.editor-styles-wrapper .section-solid-cta-yellow {
    background-color: #FFDA47 !important;
    background-image: none !important;
}

.section-solid-stone-grey,
.editor-styles-wrapper .section-solid-stone-grey {
    background-color: #D9D7D4 !important;
    background-image: none !important;
}

/* ==========================================================================
   6. NATIVE SOLID & OUTLINE BUTTONS
   ========================================================================== */

.wp-block-button__link {
    background-color: #FFDA47 !important;
    color: #1A3C4C !important;
    font-family: 'Mendl Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border: none !important;
    border-radius: 3px !important;
    box-shadow: 4px 4px 0px #1A3C4C !important;
    text-decoration: none !important;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background-color: #f0cb35 !important;
    color: #1A3C4C !important;
    border: none !important;
    text-decoration: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: #FFDA47 !important;
    border: 1.5px solid #FFDA47 !important;
    box-shadow: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
    background-color: #FFDA47 !important;
    color: #1A3C4C !important;
    border-color: #FFDA47 !important;
    box-shadow: none !important;
}

:is(.section-solid-base-light-grey, .section-solid-stone-grey, .section-solid-cta-yellow, .section-testimonial-yellow, .section-video-fern) .wp-block-button.is-style-outline .wp-block-button__link {
    color: #1A3C4C !important;
    border-color: #1A3C4C !important;
}

/* ==========================================================================
   7. FOOTER ALIGNMENT, COMPACT TEAL FERN HEIGHT & BODONI SEPARATOR
   ========================================================================== */

footer,
.site-footer,
.wp-block-template-part[aria-label*="Footer"] {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.site-footer p,
.site-footer .wp-block-navigation {
    justify-content: center !important;
    text-align: center !important;
}

.section-fern-deep-teal,
.editor-styles-wrapper .section-fern-deep-teal {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 32px !important;
}

.section-fern-deep-teal > * {
    max-width: 100% !important;
}

.section-fern-deep-teal :is(.wp-block-group, .wp-block-columns, .wp-block-column) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.section-fern-deep-teal :is(p, .wp-block-social-links, .wp-block-separator) {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

@media (max-width: 768px) {
    .section-fern-deep-teal,
    .editor-styles-wrapper .section-fern-deep-teal {
        padding-top: 32px !important;
        padding-bottom: 24px !important;
    }
}

.bodoni-footer-separator {
    font-family: 'BodoniOrnaments', serif !important;
    font-size: 2rem !important;
    color: #EBEBEB !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 18px auto !important;
    letter-spacing: 0.15em !important;
    line-height: 1 !important;
}

.bodoni-footer-separator::before,
.bodoni-footer-separator::after {
    content: '' !important;
    flex: 1 !important;
    border-bottom: 1px solid rgba(235, 235, 235, 0.4) !important;
}

.bodoni-footer-separator::before {
    margin-right: 16px !important;
}

.bodoni-footer-separator::after {
    margin-left: 16px !important;
}

.bodoni-footer-separator a {
    color: #EBEBEB !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    transition: opacity 0.2s ease !important;
}

.bodoni-footer-separator a:hover {
    opacity: 0.75 !important;
    color: #EBEBEB !important;
    text-decoration: none !important;
}

/* ==========================================================================
   8. THREE-COLUMN WOOD & CONNECT SECTIONS
   ========================================================================== */

.section-three-col-wood,
.editor-styles-wrapper .section-three-col-wood {
    padding: 0 !important;
    min-height: 480px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    margin: 0 !important;
}

.section-three-col-wood > .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
    align-items: stretch !important;
}

.section-three-col-wood .wp-block-column {
    margin: 0 !important;
    padding: 56px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.col-stone-grey {
    background-color: #D9D7D4 !important;
}

.col-stone-grey :is(h1, h2, h3, h4, h5, h6) {
    color: #1A3C4C !important;
    font-family: 'Mendl Sans', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.26em !important;
    text-transform: uppercase !important;
    margin: 0 0 26px 0 !important;
    text-align: center !important;
}

.col-stone-grey p {
    color: #1A3C4C !important;
    font-size: 0.85rem !important;
    line-height: 2.2 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
    max-width: 315px !important;
    margin: 0 auto !important;
}

.col-wood-center {
    background-color: #1A3C4C !important;
    background-image:
        linear-gradient(rgba(26, 60, 76, 0.30), rgba(26, 60, 76, 0.30)),
        url('/wp-content/uploads/joolz-lewis-wood-scaled.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

.col-wood-center .joolz-caps-body {
    color: #EBEBEB !important;
    border-top: 1px solid rgba(235, 235, 235, 0.7) !important;
    border-bottom: 1px solid rgba(235, 235, 235, 0.7) !important;
    padding: 28px 0 !important;
    font-size: 0.71rem !important;
    text-align: center !important;
    letter-spacing: 0.22em !important;
    line-height: 3.1 !important;
    max-width: 255px !important;
    width: 100% !important;
    margin: 0 auto !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

@media (max-width: 900px) {
    .section-three-col-wood > .wp-block-columns {
        flex-wrap: wrap !important;
    }
    .section-three-col-wood .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        padding: 52px 8% !important;
    }
}

.section-three-col-connect,
.editor-styles-wrapper .section-three-col-connect {
    padding: 0 !important;
    min-height: 560px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    margin: 0 !important;
}

.section-three-col-connect > .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
    align-items: stretch !important;
}

.section-three-col-connect > .wp-block-columns > .wp-block-column {
    flex: 1 1 33.333% !important;
    width: 33.333% !important;
    max-width: 33.333% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 56px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.col-wood-teal-left {
    background-color: #087079 !important;
    background-image:
        linear-gradient(rgba(8, 112, 121, 0.25), rgba(8, 112, 121, 0.25)),
        url('/wp-content/uploads/joolz-lewis-wood-3-scaled.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

.col-wood-teal-left :is(h1, h2, h3, h4, h5, h6) {
    color: #EBEBEB !important;
    font-family: 'Mendl Sans', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.26em !important;
    text-transform: uppercase !important;
    margin: 0 0 24px 0 !important;
    text-align: center !important;
}

.col-wood-teal-left p {
    color: #EBEBEB !important;
    font-size: 0.84rem !important;
    line-height: 2.15 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
    max-width: 325px !important;
    margin: 0 auto !important;
}

.col-portrait-center {
    padding: 0 !important;
    background-color: #1A3C4C !important;
    background-image: url('/wp-content/uploads/JOOLS-0042-1080w.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center 20% !important;
    background-size: cover !important;
    min-height: 560px !important;
}

.col-slate-navy-right {
    background-color: #1A3C4C !important;
}

.col-slate-navy-right :is(h1, h2, h3, h4, h5, h6) {
    color: #EBEBEB !important;
    font-family: 'Mendl Sans', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.26em !important;
    text-transform: uppercase !important;
    margin: 0 0 32px 0 !important;
    text-align: center !important;
}

.col-slate-navy-right .wp-block-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.col-slate-navy-right .wp-block-button__link {
    min-width: 240px !important;
    padding: 14px 28px !important;
    text-align: center !important;
}

.joolz-accent-dot {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background-color: #1E929D !important;
    margin: 28px auto 0 auto !important;
    display: block !important;
}

@media (max-width: 900px) {
    .section-three-col-connect > .wp-block-columns {
        flex-wrap: wrap !important;
    }
    .section-three-col-connect > .wp-block-columns > .wp-block-column {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .col-portrait-center {
        min-height: 460px !important;
    }
    .col-wood-teal-left,
    .col-slate-navy-right {
        padding: 52px 8% !important;
    }
}

/* ==========================================================================
   9. TESTIMONIAL RIBBON
   ========================================================================== */

.section-testimonial-yellow,
.editor-styles-wrapper .section-testimonial-yellow {
    background: #FFDA47 !important;
    background-image: none !important;
    min-height: auto !important;
    padding: 46px 7% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    margin: 0 !important;
}

.section-testimonial-yellow :is(> .wp-block-columns, .wp-block-column),
.editor-styles-wrapper .section-testimonial-yellow :is(> .wp-block-columns, .wp-block-column) {
    max-width: 1140px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.section-testimonial-yellow p,
.editor-styles-wrapper .section-testimonial-yellow p {
    font-family: 'Mendl Sans', sans-serif !important;
    font-size: 1.02rem !important;
    font-weight: 400 !important;
    line-height: 2.0 !important;
    letter-spacing: 0.03em !important;
    color: #1A3C4C !important;
    max-width: 1140px !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
}

.section-testimonial-yellow .testimonial-author,
.editor-styles-wrapper .section-testimonial-yellow .testimonial-author {
    font-family: 'Mendl Sans', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.22em !important;
    color: #1A3C4C !important;
    margin-left: 14px !important;
    display: inline !important;
}

@media (max-width: 768px) {
    .section-testimonial-yellow {
        padding: 38px 6% !important;
    }
    .section-testimonial-yellow p {
        font-size: 0.94rem !important;
        line-height: 1.85 !important;
    }
    .section-testimonial-yellow .testimonial-author {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 12px !important;
    }
}

/* ==========================================================================
   14. TRUST GAP 3-BAND SPLIT & DECORATIVE FERN VIDEO SECTION
   ========================================================================== */

.section-trust-gap-split,
div.section-trust-gap-split,
.wp-block-group.section-trust-gap-split,
body.editor-styles-wrapper .section-trust-gap-split,
.editor-styles-wrapper .wp-block-group.section-trust-gap-split {
    background-color: #1A3C4C !important;
    background-image:
        linear-gradient(
            90deg,
            rgba(94, 111, 122, 0.86) 0%,
            rgba(94, 111, 122, 0.86) 33.333%,
            rgba(26, 60, 76, 0.86) 33.333%,
            rgba(26, 60, 76, 0.86) 66.666%,
            rgba(8, 112, 121, 0.88) 66.666%,
            rgba(8, 112, 121, 0.88) 100%
        ),
        url('/wp-content/uploads/Joolz-Fern-MASTER-White.webp') !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center center, center -140px !important;
    background-size: cover, 1350px auto !important;
    background-attachment: scroll, fixed !important;
    min-height: 500px !important;
    padding: 68px 5% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
}

.section-trust-gap-split > *:not(.wp-block-columns),
.editor-styles-wrapper .section-trust-gap-split > *:not(.wp-block-columns) {
    max-width: 72% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    z-index: 2 !important;
    position: relative !important;
}

.section-trust-gap-split :is(h1, h2, h3, h4, h5, h6, .wp-block-heading),
.editor-styles-wrapper .section-trust-gap-split :is(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
    font-family: 'Mendl Sans', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.22em !important;
    line-height: 2.05 !important;
    text-transform: uppercase !important;
    color: #EBEBEB !important;
    margin-top: 0 !important;
    margin-bottom: 26px !important;
}

.section-trust-gap-split p,
.editor-styles-wrapper .section-trust-gap-split p {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Roboto, Arial, sans-serif !important;
    font-size: 1.02rem !important;
    line-height: 1.9 !important;
    letter-spacing: 0.02em !important;
    color: #EBEBEB !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

.section-trust-gap-split p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .section-trust-gap-split,
    div.section-trust-gap-split,
    .wp-block-group.section-trust-gap-split {
        background-attachment: scroll, scroll !important;
        background-position: center center, right -220px center !important;
        background-size: cover, 950px auto !important;
        padding: 56px 6% !important;
    }
    .section-trust-gap-split > *:not(.wp-block-columns) {
        max-width: 100% !important;
    }
}

.section-video-fern,
.editor-styles-wrapper .section-video-fern {
    background-color: #EBEBEB !important;
    background-image:
        linear-gradient(rgba(235, 235, 235, 0.72), rgba(235, 235, 235, 0.72)),
        url('/wp-content/uploads/joolz-fern-master-grey-50pc.webp') !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center center, right -120px center !important;
    background-size: cover, 1200px auto !important;
    background-attachment: scroll, fixed !important;
    min-height: 540px !important;
    padding: 64px 5% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 !important;
    position: relative !important;
}

.section-video-fern :is(> .wp-block-columns, .wp-block-column, #video, .wp-block-group) {
    background-color: transparent !important;
    background-image: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    z-index: 2 !important;
    position: relative !important;
}

.section-video-fern :is(h1, h2, h3, h4, h5, h6, p),
.editor-styles-wrapper .section-video-fern :is(h1, h2, h3, h4, h5, h6, p) {
    color: #1A3C4C !important;
    text-align: center !important;
}

.section-video-fern :is(> p:first-child, #video > p:first-child, h2, h3, h4, h5, .wp-block-heading) {
    font-family: 'Mendl Sans', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    margin-bottom: 28px !important;
    padding: 6px 12px !important;
    color: #1A3C4C !important;
    background-color: rgba(235, 235, 235, 0.78) !important;
    border-radius: 2px !important;
    display: inline-block !important;
}

.linkedin-feed-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

#linkedin-video-container,
#linkedin-video-container iframe,
.linkedin-feed-wrapper iframe,
.section-video-fern iframe {
    width: 100% !important;
    max-width: 960px !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
}

.section-video-fern :is(.wp-block-buttons, .wp-block-button),
.linkedin-feed-wrapper :is(.wp-block-buttons, .wp-block-button) {
    position: relative !important;
    z-index: 5 !important;
    clear: both !important;
}

.section-video-fern .wp-block-buttons,
.linkedin-feed-wrapper .wp-block-button {
    justify-content: center !important;
    margin-top: 28px !important;
    margin-bottom: 0 !important;
}

.section-video-fern .wp-block-button__link,
.section-video-fern .wp-block-button.is-style-fill .wp-block-button__link.joolz-cta-btn {
    background-color: #FFDA47 !important;
    background-image: none !important;
    color: #1A3C4C !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 3px !important;
    box-shadow: 5px 5px 0px #1A3C4C !important;
    text-decoration: none !important;
}

.section-video-fern .wp-block-button__link:is(:hover, :focus, :active),
.section-video-fern .wp-block-button.is-style-fill .wp-block-button__link:is(:hover, :focus, :active) {
    background-color: #f0cb35 !important;
    background-image: none !important;
    color: #1A3C4C !important;
    border: 0 !important;
    outline: 0 !important;
    text-decoration: none !important;
}

.section-video-fern .wp-block-button__link::before,
.section-video-fern .wp-block-button__link::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .section-video-fern,
    div.section-video-fern,
    .wp-block-group.section-video-fern,
    .editor-styles-wrapper .section-video-fern {
        background-color: #EBEBEB !important;
        background-image:
            linear-gradient(rgba(235, 235, 235, 0.72), rgba(235, 235, 235, 0.72)),
            url('/wp-content/uploads/joolz-fern-master-grey-50pc.webp') !important;
        background-repeat: no-repeat, no-repeat !important;
        background-attachment: scroll, scroll !important;
        background-position: center center, center top !important;
        background-size: cover, 130% auto !important;
        padding: 40px 5% !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
    }

    .section-video-fern :is(> p:first-child, #video > p:first-child, h2, h3, h4, h5, .wp-block-heading) {
        font-size: 0.7rem !important;
        letter-spacing: 0.12em !important;
        line-height: 1.65 !important;
        padding: 6px 10px !important;
        max-width: 100% !important;
        margin-bottom: 18px !important;
        color: #1A3C4C !important;
        background-color: rgba(235, 235, 235, 0.78) !important;
        border-radius: 2px !important;
        display: inline-block !important;
    }

    .linkedin-feed-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 28px !important;
        position: relative !important;
        z-index: 2 !important;
    }

    #linkedin-video-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        position: relative !important;
        z-index: 2 !important;
    }

    #linkedin-video-container iframe,
    .linkedin-feed-wrapper iframe,
    .section-video-fern iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 260px !important;
        display: block !important;
        border: 0 !important;
        margin-bottom: 0 !important;
    }

    .section-video-fern :is(.wp-block-buttons, #video .wp-block-buttons),
    .linkedin-feed-wrapper :is(.wp-block-buttons, .joolz-cta-btn),
    #next-video-btn {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 12px !important;
        padding-top: 0 !important;
        position: relative !important;
        z-index: 6 !important;
        clear: both !important;
    }

    .section-video-fern .wp-block-button,
    .linkedin-feed-wrapper .wp-block-button {
        display: inline-block !important;
        width: auto !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }

    .section-video-fern .wp-block-button__link,
    .linkedin-feed-wrapper :is(.wp-block-button__link, .joolz-cta-btn),
    #next-video-btn {
        display: inline-block !important;
        width: auto !important;
        background-color: #FFDA47 !important;
        background-image: none !important;
        color: #1A3C4C !important;
        font-family: 'Mendl Sans', sans-serif !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        border: 0 !important;
        outline: 0 !important;
        border-radius: 3px !important;
        box-shadow: 4px 4px 0px #1A3C4C !important;
        padding: 12px 24px !important;
        margin: 0 auto !important;
        text-align: center !important;
        cursor: pointer !important;
    }

    .section-video-fern .wp-block-group {
        gap: 6px !important;
        row-gap: 6px !important;
    }

    .section-video-fern .joolz-video-stage {
        margin-bottom: 0 !important;
    }

    .section-video-fern .wp-block-buttons {
        margin-top: -32px !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .section-video-fern .wp-block-buttons .wp-block-button__link {
        margin-top: 0 !important;
    }
}

/* ==========================================================================
   16. SUBTLE FERN DYNAMISM ON UPPERMOST HERO SECTION (.section-fern-slate-navy)
   ========================================================================== */

.section-fern-slate-navy,
div.section-fern-slate-navy,
.wp-block-group.section-fern-slate-navy,
body.editor-styles-wrapper .section-fern-slate-navy {
    position: relative !important;
    overflow: hidden !important;
    background-color: #1A3C4C !important;
    background-image: none !important;
}

.section-fern-slate-navy::before {
    content: '' !important;
    position: absolute !important;
    top: -290px !important;
    right: -250px !important;
    width: 1580px !important;
    height: 1580px !important;
    max-width: none !important;
    background-image: url('/wp-content/uploads/Joolz-Fern-MASTER-White.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    opacity: 0.24 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    transform-origin: center center !important;
    will-change: transform !important;
    animation: joolzFernDrift 22s ease-in-out infinite alternate !important;
}

.section-fern-slate-navy > * {
    position: relative !important;
    z-index: 2 !important;
}

@keyframes joolzFernDrift {
    0% {
        transform: translate3d(0px, 8px, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate3d(-34px, 24px, 0) scale(1.03) rotate(-2deg);
    }
    100% {
        transform: translate3d(-14px, 12px, 0) scale(1.015) rotate(1.2deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-fern-slate-navy::before {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 1200px) {
    .section-fern-slate-navy::before {
        width: 1180px !important;
        height: 1180px !important;
        right: -240px !important;
        top: -190px !important;
    }
}

@media (max-width: 768px) {
    .section-fern-slate-navy::before {
        width: 760px !important;
        height: 760px !important;
        right: -240px !important;
        top: -90px !important;
        opacity: 0.18 !important;
    }
}