/*
Theme Name: Oasis En Sion
Theme URI: https://oasisension.org/
Template: rfm-theme
Author: Eddie Flores / Guard Agency
Author URI: https://reallyforme.com/
Description: Oasis En Sion child theme v1.1.1. Nuclear contrast fix for dark sections — defeats WordPress per-block wp-elements-{hash} color presets that survive in the database from earlier imports. Section-prefixed selectors (specificity 0,0,2,1) plus explicit .wp-block-heading.has-text-color targeting force white text on .oa-section-olive and .oa-section-dark backgrounds. Same v1.1 palette, fonts, dropdown, layout. CSS-only — no page re-import needed.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rfm-child-theme-oasisension
Tags: block-theme, child-theme, church, modern, spanish, bilingual
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   v1.1 — design tokens — modern Christian rock
   Palette pulled from actual logo (Oasis-En-Sion-San-Diego.webp)
   ============================================================ */
:root {
    --oa-bg:           #FAFBFD;     /* clean off-white, subtle cool tint */
    --oa-bg-soft:      #F0F3F7;     /* gray-blue cool section */
    --oa-bg-mid:       #DCE2EA;     /* deeper gray-blue */
    --oa-slate:        #3F5C6E;     /* logo "OASIS EN" dominant */
    --oa-slate-dark:   #1B2A3A;     /* dark mode dramatic sections */
    --oa-slate-deeper: #0F1620;     /* darkest slate */
    --oa-cyan:         #15B5C7;     /* logo "SION" — bright pop, used SPARINGLY */
    --oa-cyan-d:       #0E96A6;     /* cyan hover */
    --oa-cyan-faint:   rgba(21, 181, 199, 0.10);
    --oa-violet:       #6B5878;     /* logo dove silhouette */
    --oa-ink:          #1A1F26;     /* warm near-black */
    --oa-ink-soft:     #4A5562;     /* gray-blue body text */
    --oa-ink-muted:    #7A8493;     /* muted */
    --oa-ink-faint:    #B0B8C2;     /* faintest */
    --oa-border:       #E2E7EE;     /* line color */
    --oa-border-soft:  #EEF1F5;     /* faintest line */
    --oa-radius-sm: 4px;
    --oa-radius-md: 8px;
    --oa-radius-lg: 12px;
    --oa-radius-xl: 16px;
    --oa-shadow-sm: 0 2px 6px rgba(15, 22, 32, 0.04);
    --oa-shadow-md: 0 12px 36px rgba(15, 22, 32, 0.08);
    --oa-shadow-lg: 0 24px 64px rgba(15, 22, 32, 0.14);
    --oa-glow-cyan: 0 0 0 4px rgba(21, 181, 199, 0.18);

    /* rfm-forms token bridge */
    --rfm-form-bg:     #FFFFFF;
    --rfm-form-border: var(--oa-border);
    --rfm-form-text:   var(--oa-ink);
    --rfm-form-label:  var(--oa-ink);
    --rfm-form-accent: var(--oa-cyan);
    --rfm-form-on-accent: #FFFFFF;
    --rfm-form-accent-faint: var(--oa-cyan-faint);
    --rfm-form-error:  #D44A4A;
    --rfm-form-radius: var(--oa-radius-md);
    --rfm-form-button-radius: var(--oa-radius-md);
}

/* ============================================================
   Base
   ============================================================ */
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; }
body {
    background: var(--oa-bg);
    color: var(--oa-ink);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--oa-cyan-d); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--oa-cyan); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
h1, h2, h3, h4 {
    color: var(--oa-ink);
    font-family: Outfit, Inter, system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 900; }
h2 { font-size: clamp(2.0rem, 4vw, 3.2rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; color: var(--oa-ink-soft); }
strong { color: var(--oa-ink); font-weight: 700; }
::selection { background: var(--oa-cyan); color: #fff; }

/* Spanish/English bilingual pattern: Spanish primary, English in lighter weight under */
.oa-bilingual { display: block; }
.oa-bilingual .oa-en {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 0.62em;
    color: var(--oa-ink-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 6px;
    line-height: 1.35;
}
.oa-bilingual-prose .oa-en {
    color: var(--oa-ink-muted);
    font-style: normal;
    font-size: 0.95rem;
    margin-top: 6px;
    display: block;
    border-left: 2px solid var(--oa-cyan);
    padding-left: 12px;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.oa-wrap        { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.oa-wrap-narrow { max-width: 800px;  margin: 0 auto; padding: 0 32px; }
.oa-section     { padding: 130px 0; position: relative; }
.oa-section-tight { padding: 80px 0; }
.oa-section-warm { background: var(--oa-bg-soft); }
.oa-section-deep { background: var(--oa-bg-mid); }
.oa-section-olive,
.oa-section-dark { background: var(--oa-slate-dark); color: #F0F3F7; }
.oa-section-olive h1, .oa-section-olive h2, .oa-section-olive h3,
.oa-section-dark  h1, .oa-section-dark  h2, .oa-section-dark  h3 { color: #FFFFFF; }
.oa-section-olive p, .oa-section-dark p { color: rgba(255, 255, 255, 0.78); }
.oa-eyebrow {
    display: inline-block;
    color: var(--oa-cyan-d);
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.oa-eyebrow-light { color: var(--oa-cyan); }
.oa-divider { height: 1px; background: var(--oa-border); margin: 56px auto; max-width: 80px; border: 0; }
.oa-arch-divider {
    width: 48px; height: 4px;
    background: var(--oa-cyan); margin: 0 auto 28px;
}
@media (max-width: 600px) {
    .oa-wrap, .oa-wrap-narrow { padding: 0 22px; }
    .oa-section { padding: 80px 0; }
}

/* ============================================================
   Buttons — angular, modern
   ============================================================ */
.oa-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 30px;
    border-radius: var(--oa-radius-md);
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all 0.16s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 50px;
}
.oa-btn-primary { background: var(--oa-cyan); color: #FFFFFF; }
.oa-btn-primary:hover { background: var(--oa-cyan-d); color: #FFFFFF; transform: translateY(-2px); box-shadow: var(--oa-shadow-md); text-decoration: none; }
.oa-btn-olive,
.oa-btn-dark { background: var(--oa-slate-dark); color: #FFFFFF; }
.oa-btn-olive:hover,
.oa-btn-dark:hover { background: var(--oa-slate-deeper); color: #FFFFFF; transform: translateY(-2px); text-decoration: none; }
.oa-btn-ghost { background: transparent; color: var(--oa-ink); border-color: var(--oa-border); }
.oa-btn-ghost:hover { background: var(--oa-ink); border-color: var(--oa-ink); color: #FFFFFF; text-decoration: none; }
.oa-btn-large { padding: 22px 40px; font-size: 1.02rem; min-height: 58px; }

/* ============================================================
   Header / Nav — sticky modern with dropdown
   ============================================================ */
.oa-nav-toggle-input { display: none; }
.oa-site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 251, 253, 0.92);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--oa-border);
}
.oa-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.oa-brand { display: flex; align-items: center; gap: 0; }
.oa-brand img { display: block; height: 38px; width: auto; max-width: 220px; }
@media (max-width: 600px) { .oa-brand img { height: 32px; max-width: 180px; } }
/* Hide the legacy text/mark fallback if present */
.oa-brand-mark, .oa-brand small { display: none; }

.oa-nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.oa-nav-links > li { position: relative; }
.oa-nav-links > li > a {
    display: inline-block;
    color: var(--oa-ink);
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.14s, color 0.14s;
}
.oa-nav-links > li > a:hover { color: var(--oa-cyan-d); background: var(--oa-cyan-faint); text-decoration: none; }

/* === Dropdown for Ministerios === */
.oa-nav-has-dropdown > a::after {
    content: " ▾"; font-size: 0.72em; opacity: 0.6; margin-left: 4px;
}
.oa-nav-dropdown {
    position: absolute; top: calc(100% + 4px); left: -8px;
    background: #FFFFFF;
    border: 1px solid var(--oa-border);
    border-radius: var(--oa-radius-lg);
    padding: 14px;
    min-width: 320px;
    list-style: none;
    margin: 0;
    box-shadow: var(--oa-shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 50;
}
.oa-nav-has-dropdown:hover > .oa-nav-dropdown,
.oa-nav-has-dropdown:focus-within > .oa-nav-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.oa-nav-dropdown li { margin: 0; }
.oa-nav-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--oa-ink);
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.45;
    text-decoration: none;
}
.oa-nav-dropdown a:hover {
    background: var(--oa-bg-soft);
    color: var(--oa-cyan-d);
    text-decoration: none;
}
.oa-nav-dropdown-heading {
    font-family: Inter, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--oa-ink-muted);
    padding: 8px 14px 4px;
}

.oa-nav-cta {
    margin-left: 12px;
    padding: 12px 22px;
    font-size: 0.9rem;
    min-height: 0;
}
.oa-nav-toggle {
    display: none;
    background: none; border: 0; color: var(--oa-ink);
    font-size: 1.7rem; line-height: 1; cursor: pointer;
    padding: 10px 12px; border-radius: 8px;
}
.oa-mobile-menu { display: none; }
@media (max-width: 1080px) {
    .oa-nav-links { display: none; }
    .oa-nav-cta { display: none; }
    .oa-nav-toggle { display: inline-flex; align-items: center; }
    .oa-nav-toggle-input:checked ~ .oa-mobile-menu {
        display: block;
        background: var(--oa-bg);
        padding: 18px 28px 28px;
        box-shadow: var(--oa-shadow-md);
        border-bottom: 1px solid var(--oa-border);
    }
    .oa-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
    .oa-mobile-menu > ul > li { border-bottom: 1px solid var(--oa-border-soft); }
    .oa-mobile-menu a {
        display: block;
        padding: 14px 4px;
        color: var(--oa-ink);
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
    }
    .oa-mobile-menu .oa-mobile-sub {
        padding: 4px 0 12px 16px;
        list-style: none;
    }
    .oa-mobile-menu .oa-mobile-sub li { border: 0; }
    .oa-mobile-menu .oa-mobile-sub a {
        padding: 8px 4px;
        font-size: 0.92rem;
        color: var(--oa-ink-soft);
        font-weight: 500;
    }
    .oa-mobile-menu .oa-btn { display: flex; margin-top: 18px; }
}

/* ============================================================
   Hero — modern, full-bleed potential, big bold type
   ============================================================ */
.oa-hero {
    padding: 140px 0 110px;
    position: relative; overflow: hidden;
    background:
        var(--oa-hero-image, none),
        radial-gradient(ellipse at 80% 20%, rgba(21, 181, 199, 0.06), transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(63, 92, 110, 0.06), transparent 60%),
        repeating-linear-gradient(45deg, #F4F6F9 0 22px, #EFF2F6 22px 44px),
        var(--oa-bg);
    background-size: cover, auto, auto, auto, auto;
    background-position: center, center, center, 0 0, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
}
.oa-hero:not([style*="--oa-hero-image"])::before {
    content: "📷 BACKGROUND IMAGE PLACEHOLDER";
    position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
    color: var(--oa-cyan-d);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 18px;
    border-radius: 999px;
    font-family: Inter, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 5;
    border: 1px solid var(--oa-cyan);
    pointer-events: none;
    white-space: nowrap;
}
.oa-hero h1 { max-width: 22ch; margin-bottom: 28px; }
.oa-hero h1 span { color: var(--oa-cyan); }
.oa-hero-meta {
    font-family: Inter, sans-serif;
    font-size: 0.82rem;
    color: var(--oa-cyan-d);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex; align-items: center; gap: 12px;
}
.oa-hero-meta::before {
    content: ""; display: inline-block; width: 32px; height: 2px; background: var(--oa-cyan);
}
.oa-hero-sub { font-size: 1.18rem; color: var(--oa-ink-soft); max-width: 56ch; margin-bottom: 40px; line-height: 1.65; }
.oa-hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Image frames — universal checkerboard placeholder
   ============================================================ */
.oa-img-frame {
    border-radius: var(--oa-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
    background-color: var(--oa-bg-mid) !important;
    background-image:
        var(--oa-img, none),
        linear-gradient(45deg, var(--oa-border) 25%, transparent 25%),
        linear-gradient(-45deg, var(--oa-border) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--oa-border) 75%),
        linear-gradient(-45deg, transparent 75%, var(--oa-border) 75%) !important;
    background-size: cover, 28px 28px, 28px 28px, 28px 28px, 28px 28px !important;
    background-position: center, 0 0, 0 14px, 14px -14px, -14px 0 !important;
    background-repeat: no-repeat, repeat, repeat, repeat, repeat !important;
}
.oa-img-frame[style*="--oa-img"]::before,
.oa-img-frame[style*="--oa-img"]::after { display: none; }
.oa-img-frame::before {
    content: "📷";
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem; z-index: 1; pointer-events: none;
}
.oa-img-frame::after {
    content: "IMAGE PLACEHOLDER";
    position: absolute; left: 16px; right: 16px; bottom: 16px;
    color: var(--oa-cyan-d);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: Inter, sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center; z-index: 2;
    border: 1px solid var(--oa-cyan);
    pointer-events: none;
}
.oa-img-frame[data-image]::after { content: "IMAGE: " attr(data-image); }
/* Drop the old arch shape — too churchy old-timer */
.oa-img-arch { border-radius: var(--oa-radius-lg); }

/* ============================================================
   Cards — modern, sharper, magazine-style hover
   ============================================================ */
.oa-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.oa-card {
    background: #FFFFFF;
    border: 1px solid var(--oa-border);
    border-radius: var(--oa-radius-lg);
    padding: 36px 32px;
    transition: all 0.18s ease;
    text-decoration: none;
    color: var(--oa-ink);
    display: block;
    position: relative;
    overflow: hidden;
}
.oa-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--oa-cyan);
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.22s ease;
}
.oa-card:hover { transform: translateY(-3px); box-shadow: var(--oa-shadow-md); border-color: transparent; text-decoration: none; }
.oa-card:hover::before { transform: scaleY(1); }
.oa-card-icon {
    width: 48px; height: 48px;
    border-radius: var(--oa-radius-md);
    background: var(--oa-cyan-faint);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 22px;
    color: var(--oa-cyan-d);
}
.oa-card h3 { color: var(--oa-ink); margin-bottom: 8px; font-family: Outfit, Inter, sans-serif; }
.oa-card p { color: var(--oa-ink-soft); font-size: 0.95rem; margin-bottom: 0; line-height: 1.55; }

/* ============================================================
   Two-column grid
   ============================================================ */
.oa-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 880px) { .oa-grid-2 { grid-template-columns: 1fr; gap: 48px; } }

/* ============================================================
   Bullet list
   ============================================================ */
.oa-list { list-style: none; padding: 0; margin: 18px 0 26px; }
.oa-list li {
    padding: 14px 0 14px 36px;
    position: relative;
    border-bottom: 1px solid var(--oa-border-soft);
    color: var(--oa-ink);
}
.oa-list li:last-child { border-bottom: 0; }
.oa-list li::before {
    content: ""; position: absolute; left: 0; top: 24px;
    width: 22px; height: 2px; background: var(--oa-cyan);
}

/* ============================================================
   Quote
   ============================================================ */
.oa-quote {
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--oa-ink);
    border-left: 3px solid var(--oa-cyan);
    padding-left: 28px;
    margin: 32px 0;
    max-width: 60ch;
}
.oa-quote-author { display: block; margin-top: 16px; font-family: Inter, sans-serif; font-size: 0.92rem; color: var(--oa-ink-muted); font-weight: 600; }

/* ============================================================
   Form section
   ============================================================ */
.rfm-form {
    background: #FFFFFF;
    border: 1px solid var(--oa-border);
    border-radius: var(--oa-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--oa-shadow-sm);
}
.rfm-form-label { font-family: Inter, sans-serif; }
.rfm-form-submit { font-weight: 700 !important; }

/* ============================================================
   Footer — dark slate, dramatic
   ============================================================ */
.oa-site-footer {
    background: var(--oa-slate-deeper);
    color: rgba(255, 255, 255, 0.72);
    padding: 90px 0 36px;
    margin-top: 100px;
}
.oa-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
@media (max-width: 980px) { .oa-foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .oa-foot-grid { grid-template-columns: 1fr; gap: 36px; } }
.oa-site-footer img { filter: brightness(0) invert(1); height: 36px; width: auto; }
.oa-site-footer p { color: rgba(255, 255, 255, 0.66); }
.oa-site-footer a { color: rgba(255, 255, 255, 0.85); }
.oa-site-footer a:hover { color: var(--oa-cyan); text-decoration: none; }
.oa-foot-heading {
    color: #FFFFFF;
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.oa-foot-nav { list-style: none; padding: 0; margin: 0; }
.oa-foot-nav li { margin-bottom: 10px; }
.oa-foot-nav a { font-size: 0.92rem; }
.oa-foot-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    color: rgba(255, 255, 255, 0.45); font-size: 0.84rem; font-family: Inter, sans-serif;
}

/* ============================================================
   FAQ details/summary modernization
   ============================================================ */
details summary {
    font-family: Outfit, Inter, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--oa-ink) !important;
    list-style: none;
    cursor: pointer;
    padding-right: 32px;
    position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
    content: "+";
    position: absolute; right: 0; top: 0;
    color: var(--oa-cyan); font-size: 1.5rem; font-weight: 400;
    transition: transform 0.18s ease;
}
details[open] summary::after { content: "−"; }

/* ============================================================
   Heading color override (defeats parent theme defaults)
   ============================================================ */
.oa-section h1, .oa-section h2, .oa-section h3, .oa-section h4,
.oa-hero h1, .oa-hero h2,
.oa-hero .wp-block-heading,
.oa-section .wp-block-heading {
    color: var(--oa-ink) !important;
}
.oa-section-dark h1, .oa-section-dark h2, .oa-section-dark h3,
.oa-section-olive h1, .oa-section-olive h2, .oa-section-olive h3 {
    color: #FFFFFF !important;
}
.oa-section p, .oa-hero p,
.oa-section .wp-block-paragraph, .oa-hero .wp-block-paragraph {
    color: var(--oa-ink-soft) !important;
}
.oa-section-dark p, .oa-section-olive p { color: rgba(255, 255, 255, 0.78) !important; }

/* ============================================================
   v1.1.1 — Nuclear contrast fix for dark sections
   WordPress wp-elements-{hash} per-block color rules generated
   during the original v1.0 import are overriding our white-text
   rule via higher specificity. The selectors below stack enough
   specificity (and target .wp-block-heading.has-text-color) to win.
   ============================================================ */
section.oa-section-olive h1,
section.oa-section-olive h2,
section.oa-section-olive h3,
section.oa-section-olive h4,
section.oa-section-dark h1,
section.oa-section-dark h2,
section.oa-section-dark h3,
section.oa-section-dark h4,
.oa-section-olive h1.wp-block-heading,
.oa-section-olive h2.wp-block-heading,
.oa-section-olive h3.wp-block-heading,
.oa-section-olive h4.wp-block-heading,
.oa-section-dark h1.wp-block-heading,
.oa-section-dark h2.wp-block-heading,
.oa-section-dark h3.wp-block-heading,
.oa-section-dark h4.wp-block-heading,
.oa-section-olive .wp-block-heading.has-text-color,
.oa-section-dark .wp-block-heading.has-text-color,
.oa-section-olive [class*="wp-elements-"] h1,
.oa-section-olive [class*="wp-elements-"] h2,
.oa-section-olive [class*="wp-elements-"] h3,
.oa-section-dark [class*="wp-elements-"] h1,
.oa-section-dark [class*="wp-elements-"] h2,
.oa-section-dark [class*="wp-elements-"] h3 {
    color: #FFFFFF !important;
}

section.oa-section-olive p,
section.oa-section-dark p,
.oa-section-olive .wp-block-paragraph,
.oa-section-dark .wp-block-paragraph,
.oa-section-olive p.has-text-color,
.oa-section-dark p.has-text-color {
    color: rgba(255, 255, 255, 0.82) !important;
}

/* The eyebrow above the H2 in dark sections — keep cyan readable */
.oa-section-olive .oa-eyebrow,
.oa-section-dark .oa-eyebrow,
.oa-section-olive .oa-eyebrow-light,
.oa-section-dark .oa-eyebrow-light {
    color: var(--oa-cyan) !important;
}

/* The "/ Stay close" English secondary text in eyebrows — light gray on dark */
.oa-section-olive .oa-eyebrow .oa-en,
.oa-section-dark .oa-eyebrow .oa-en,
.oa-section-olive .oa-eyebrow span,
.oa-section-dark .oa-eyebrow span {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Buttons inside dark sections — white border ghost variant */
.oa-section-olive a.oa-btn-ghost,
.oa-section-dark a.oa-btn-ghost {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.oa-section-olive a.oa-btn-ghost:hover,
.oa-section-dark a.oa-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* Strong tags in dark sections — slight emphasis, fully white */
.oa-section-olive strong,
.oa-section-dark strong {
    color: #FFFFFF !important;
}
