/**
 * Homepage hero — soft fade from dark into photo.
 * Hero stack anchored left; logo / type / CTAs remain centre-aligned inside the stack.
 */

.wpo-hero-slider.sdf-hero-split-banner .slide-inner {
    position: relative;
}

/*
 * Full-width wash; soft mask = smooth blend into image (avoids image-3 sawtooth look).
 */
.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-split-backdrop {
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    background: linear-gradient(165deg, #1b1c22 0%, #15161c 48%, #13141a 100%);
    -webkit-mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 36%,
        rgba(0, 0, 0, 0.97) 48%,
        rgba(0, 0, 0, 0.55) 68%,
        rgba(0, 0, 0, 0.12) 86%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 36%,
        rgba(0, 0, 0, 0.97) 48%,
        rgba(0, 0, 0, 0.55) 68%,
        rgba(0, 0, 0, 0.12) 86%,
        transparent 100%
    );
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-split-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    -webkit-mask-image: inherit;
    mask-image: inherit;
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.45) 1px, transparent 0),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.25) 1px, transparent 0),
        radial-gradient(1px 1px at 70px 16px, rgba(255, 255, 255, 0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 160px 40px, rgba(255, 255, 255, 0.18) 1px, transparent 0),
        radial-gradient(1px 1px at 260px 80px, rgba(255, 255, 255, 0.35) 1px, transparent 0);
    background-size: 200px 200px, 180px 180px, 220px 220px, 280px 280px, 190px 190px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 190px, 300px 10px;
}

.wpo-hero-slider.sdf-hero-split-banner .slide-inner > .bg-shape,
.wpo-hero-slider.sdf-hero-split-banner .slide-inner > .shape-1,
.wpo-hero-slider.sdf-hero-split-banner .slide-inner > .shape-2,
.wpo-hero-slider.sdf-hero-split-banner .slide-inner > .shape-3,
.wpo-hero-slider.sdf-hero-split-banner .slide-inner > .shape-4,
.wpo-hero-slider.sdf-hero-split-banner .slide-inner > .shape-5 {
    display: none !important;
}

.wpo-hero-slider.sdf-hero-split-banner .container-fluid {
    position: relative;
    z-index: 5;
}

.wpo-hero-slider.sdf-hero-split-banner .slide-inner .slide-content {
    padding-left: clamp(22px, 5.5vw, 120px) !important;
    padding-right: clamp(18px, 4vw, 48px) !important;
}

/* Block sits on the left; internals stay centred (flex align-items center + text-align) */
.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-brand-stack.sdf-hero-stack-on-left {
    margin-left: 0;
    margin-right: auto;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-brand-stack {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(8px, 2vw, 18px);
    padding-bottom: clamp(12px, 3vw, 26px);
    max-width: 40rem;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-logo-wrap img {
    width: clamp(168px, 22vw, 260px);
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.45));
    margin-bottom: clamp(1.25rem, 3.2vw, 2.1rem);
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-copy-block {
    width: 100%;
    max-width: 36rem;
    margin: 0 auto clamp(1.4rem, 3.2vw, 2.2rem);
    padding: 0;
    text-align: center;
    background: transparent;
    border: none;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-copy-block .sdf-hero-left-title,
.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-copy-block .sdf-hero-left-sub,
.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-copy-block .sdf-hero-left-tag {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Single line, bold caps — like solid reference */
.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-left-title.sdf-hero-title-single {
    margin: 0 0 clamp(0.65rem, 1.5vw, 1.05rem);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(0.78rem, calc(0.42rem + 2.55vw), 2.45rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 480px) {
    .wpo-hero-slider.sdf-hero-split-banner .sdf-hero-left-title.sdf-hero-title-single {
        white-space: nowrap;
    }
}

@media (max-width: 479px) {
    .wpo-hero-slider.sdf-hero-split-banner .sdf-hero-left-title.sdf-hero-title-single {
        letter-spacing: 0.045em;
        line-height: 1.2;
    }
}

/* Two-line headline — PROGRESS / THROUGH CHANGE. (tight leading, centered) */
.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-left-title.sdf-hero-title-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0 0 clamp(0.65rem, 1.5vw, 1.05rem);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(0.78rem, calc(0.42rem + 2.55vw), 2.45rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-title-line {
    display: block;
    line-height: 1.02;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-title-line + .sdf-hero-title-line {
    margin-top: -0.035em;
}

@media (max-width: 479px) {
    .wpo-hero-slider.sdf-hero-split-banner .sdf-hero-left-title.sdf-hero-title-split {
        letter-spacing: 0.045em;
    }

    .wpo-hero-slider.sdf-hero-split-banner .sdf-hero-title-line + .sdf-hero-title-line {
        margin-top: -0.02em;
    }
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-left-sub {
    margin: 0 0 clamp(0.55rem, 1.25vw, 0.9rem);
    font-size: clamp(0.92rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    text-align: center;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-left-tag {
    margin: 0;
    font-size: clamp(0.66rem, 1.3vw, 0.85rem);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.wpo-hero-slider.sdf-hero-split-banner .slide-btns.sdf-hero-cta-row {
    max-width: 32rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: center;
    justify-content: center;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-cta-row .theme-btn.sdf-hero-about-btn {
    font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.95em 1.85em;
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-call .text h3 {
    font-size: clamp(0.75rem, 1.1vw, 0.8125rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 0.2em;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-call .text span,
.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-call .text span a {
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    font-weight: 700;
}

.wpo-hero-slider.sdf-hero-split-banner .call .text span a {
    color: inherit;
    text-decoration: none;
}

.wpo-hero-slider.sdf-hero-split-banner .sdf-hero-call .icon {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

@media (max-width: 991px) {
    .wpo-hero-slider.sdf-hero-split-banner .sdf-hero-split-backdrop {
        -webkit-mask-image: linear-gradient(
            180deg,
            #000 0%,
            #000 38%,
            rgba(0, 0, 0, 0.9) 55%,
            rgba(0, 0, 0, 0.35) 78%,
            transparent 100%
        );
        mask-image: linear-gradient(
            180deg,
            #000 0%,
            #000 38%,
            rgba(0, 0, 0, 0.9) 55%,
            rgba(0, 0, 0, 0.35) 78%,
            transparent 100%
        );
    }

    .wpo-hero-slider.sdf-hero-split-banner .sdf-hero-split-backdrop::after {
        opacity: 0.12;
    }
}

@media (max-width: 575px) {
    .wpo-hero-slider.sdf-hero-split-banner .slide-btns.sdf-hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .wpo-hero-slider.sdf-hero-split-banner .call.sdf-hero-call .text {
        text-align: center;
    }
}

/* Legacy: other sliders on site */
.wpo-hero-slider:not(.sdf-hero-split-banner) .sdf-hero-left-brand {
    text-align: left;
    margin-bottom: 28px;
}

@media (min-width: 992px) {
    .wpo-hero-slider:not(.sdf-hero-split-banner) .sdf-hero-left-brand {
        margin-bottom: 0;
        padding-right: 12px;
    }
}

.wpo-hero-slider:not(.sdf-hero-split-banner) .sdf-hero-logo-wrap img {
    width: clamp(100px, 22vw, 160px);
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
    margin-bottom: 16px;
}

.wpo-hero-slider:not(.sdf-hero-split-banner) .sdf-hero-left-title {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.wpo-hero-slider:not(.sdf-hero-split-banner) .sdf-hero-left-sub {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(248, 249, 250, 0.95);
    margin: 0 0 14px;
    line-height: 1.4;
}

.wpo-hero-slider:not(.sdf-hero-split-banner) .sdf-hero-left-tag {
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.55;
}

.wpo-hero-slider:not(.sdf-hero-split-banner) .call .text span a {
    color: inherit;
    text-decoration: none;
}

.wpo-hero-slider:not(.sdf-hero-split-banner) .sdf-hero-slide-btns {
    margin-top: 22px;
}

/* Homepage CTA band — longer volunteer headline */
.cta-section .content.sdf-cta-copy {
    max-width: min(960px, 94vw);
}

.cta-section .content.sdf-cta-copy h3.sdf-cta-main-title {
    text-transform: none;
    letter-spacing: -0.02em;
    font-size: clamp(28px, 4.2vw, 52px);
    line-height: 1.18;
}

@media (max-width: 767px) {
    .cta-section .content.sdf-cta-copy h3.sdf-cta-main-title {
        font-size: clamp(1.15rem, 5vw, 1.65rem);
        line-height: 1.28;
        margin-bottom: 28px;
    }
}

/* Homepage CTA — dual corporate buttons */
.cta-section .sdf-home-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.cta-section .sdf-home-cta-btns .theme-btn {
    margin: 0;
    padding: 14px 26px !important;
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 999px !important;
    white-space: nowrap;
}

.cta-section .sdf-home-cta-btns .sdf-cta-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
}

.cta-section .sdf-home-cta-btns .sdf-cta-secondary::after {
    background: rgba(255, 255, 255, 0.18) !important;
}

.cta-section .sdf-home-cta-btns .sdf-cta-secondary:hover,
.cta-section .sdf-home-cta-btns .sdf-cta-secondary:focus {
    color: #18322e !important;
    background: #fff !important;
    border-color: #fff !important;
}

@media (max-width: 480px) {
    .cta-section .sdf-home-cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-section .sdf-home-cta-btns .theme-btn {
        width: min(100%, 320px);
        justify-content: center;
    }
}
