/* ============================================================
   CORP-STYLED THEME UNIFICATION
   Applies homepage's (corp-home) visual language — sans-serif display
   headings, homepage kicker treatment, homepage heading weight/tracking —
   to every page carrying the `.corp-styled` class. Water Treatment pages
   do not receive this class and keep their existing look unchanged.
   Added 2026-08-05.
   ============================================================ */

.corp-styled h1,
.corp-styled h2,
.corp-styled h3,
.corp-styled .inner-hero h1,
.corp-styled .anchor-hero h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 770 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
}

.corp-styled .inner-kicker,
.corp-styled .sn-kicker,
.corp-styled .iic-kicker {
    color: var(--ek-forest) !important;
    font-size: .72rem !important;
    font-weight: 850 !important;
    letter-spacing: .14em !important;
}

.corp-styled .anchor-hero h1,
.corp-styled .inner-hero h1 {
    font-size: clamp(3.1rem, 6.4vw, 7.2rem) !important;
    line-height: .92 !important;
}

.corp-styled .anchor-section h2,
.corp-styled .anchor-hero-copy h2 {
    font-size: clamp(2.4rem, 4.6vw, 5.3rem) !important;
    line-height: .96 !important;
}

.corp-styled .page-button {
    border-radius: 3px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
}

.corp-styled .page-button:not(.page-button-secondary) {
    background: var(--ek-olive) !important;
    border-color: var(--ek-olive) !important;
    color: var(--ek-ink) !important;
}

.corp-styled .page-button:not(.page-button-secondary):hover {
    background: var(--ek-olive) !important;
    border-color: var(--ek-olive) !important;
    color: var(--ek-ink) !important;
}

.corp-styled em {
    color: var(--ek-olive-deep) !important;
    font-style: normal !important;
}

/* ============================================================
   HOMEPAGE HERO REFINEMENT — Added 2026-08-05.
   Goal: better text legibility + a more branded, less "generic
   stock photo" feel, without needing new photography.
   ============================================================ */

/* A warm cream wash keeps the carousel copy readable without a dark overlay. */
.corp-hero__wash {
    background:
        linear-gradient(90deg, rgba(248,247,242,.98) 0%, rgba(248,247,242,.94) 38%, rgba(238,241,222,.63) 64%, rgba(238,241,222,.08) 92%) !important;
}

/* Color-grade every hero photo toward the brand olive/charcoal palette
   instead of showing raw, unprocessed stock photography. */
.corp-hero__slide img {
    filter: none !important;
}

/* Hero copy sits on the light cream wash. */
.corp-hero h1,
.corp-hero__content > p:not(.corp-kicker) {
    color: var(--ek-ink) !important;
}

.corp-hero h1 em {
    color: var(--ek-olive-light) !important;
}

.corp-hero .corp-kicker {
    color: var(--ek-olive-light) !important;
}

.corp-hero__deck {
    border-top-color: var(--ek-border) !important;
}

.corp-hero__deck button {
    color: var(--ek-body) !important;
    border-bottom-color: var(--ek-border-soft) !important;
}

.corp-hero__deck button:hover,
.corp-hero__deck button.is-active {
    color: var(--ek-ink) !important;
}

.corp-hero .corp-btn--white {
    color: var(--ek-ink) !important;
    border-color: var(--ek-border) !important;
    background: rgba(255,255,255,.74) !important;
}

/* Homepage campaign overlay: keep the image visible while giving the
   left-aligned message a consistent, Everklin olive reading surface. */
.corp-home .corp-hero__wash {
    background:
        linear-gradient(90deg,
            rgba(248, 247, 242, .98) 0%,
            rgba(248, 247, 242, .94) 38%,
            rgba(238, 241, 222, .63) 64%,
            rgba(238, 241, 222, .08) 92%) !important;
}

.corp-home .corp-hero[data-corp-theme="food"] .corp-hero__wash,
.corp-home .corp-hero[data-corp-theme="solar"] .corp-hero__wash,
.corp-home .corp-hero[data-corp-theme="care"] .corp-hero__wash,
.corp-home .corp-hero[data-corp-theme="sugar"] .corp-hero__wash {
    background:
        linear-gradient(90deg, rgba(248, 247, 242, .98) 0%, rgba(248, 247, 242, .94) 38%, rgba(238, 241, 222, .63) 64%, rgba(238, 241, 222, .08) 92%) !important;
}

.corp-home .corp-hero__slide img {
    filter: none !important;
}

.corp-home .corp-hero h1,
.corp-home .corp-hero__content > p:not(.corp-kicker),
.corp-home .corp-hero__deck button,
.corp-home .corp-hero__deck button:hover,
.corp-home .corp-hero__deck button.is-active {
    color: var(--ek-ink) !important;
}

.corp-home .corp-hero h1 em,
.corp-home .corp-hero .corp-kicker {
    color: var(--ek-olive-light) !important;
}

.corp-home .corp-hero__deck {
    border-color: var(--ek-border) !important;
    background: rgba(248, 247, 242, .7) !important;
}
