/* CHANGE Older People — page-specific Divi styling */

.change-older-people-page #main-content {
    background: #07090b;
}

.change-older-people-page #main-content > .container,
.change-older-people-page #main-content .et_pb_post,
.change-older-people-page #main-content .entry-content {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.change-older-people-page #main-content > .container::before,
.change-older-people-page #sidebar,
.change-older-people-page .et_post_meta_wrapper,
.change-older-people-page article > .entry-title {
    display: none !important;
}

.change-op-section {
    position: relative;
    isolation: isolate;
}

.change-op-section .et_pb_row {
    position: relative;
    z-index: 2;
}

.change-oak-bg {
    overflow: hidden;
}

.change-oak-bg::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(760px, 58vw);
    height: min(760px, 58vw);
    right: -95px;
    bottom: -125px;
    background: url('../images/oak-tree-outline.svg') center / contain no-repeat;
    opacity: 0.065;
    pointer-events: none;
}

.change-op-hero {
    background:
        radial-gradient(circle at 84% 18%, rgba(53, 157, 153, 0.19), transparent 32%),
        radial-gradient(circle at 12% 88%, rgba(231, 139, 83, 0.14), transparent 30%),
        #07090b;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.change-op-hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #ed9858 0%, #c6ab7d 47%, #44b9b0 100%);
}

.change-op-kicker p,
.change-op-section-heading p {
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.change-op-hero-title h1,
.change-op-section-title h2,
.change-op-commitment-title h2 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.change-op-copy,
.change-op-copy p,
.change-op-copy li {
    color: #fff !important;
    font-size: 20px;
    line-height: 1.7em;
}

.change-op-copy p:last-child {
    padding-bottom: 0;
}

.change-op-hero-copy,
.change-op-hero-copy p {
    font-size: 22px;
    line-height: 1.7em;
    color: #fff !important;
}

.change-op-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.change-op-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 17px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.change-op-image-column {
    display: flex;
    align-items: center;
}

.change-op-hero-image {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.17);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.025));
    box-shadow: 0 30px 85px rgba(0,0,0,0.48);
}

.change-op-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
}

.change-op-statement-section {
    background: #f1eadf;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.change-op-statement p {
    padding: 0;
    color: #111315 !important;
}

.change-op-policies {
    background:
        radial-gradient(circle at 8% 12%, rgba(64, 177, 170, 0.10), transparent 28%),
        #0c0f12;
}

.change-op-policies.change-oak-bg::after {
    position: fixed;
    right: -180px;
    bottom: -160px;
    opacity: 0.028;
}

.change-op-card-row {
    display: flex;
    align-items: stretch;
    gap: 2.4%;
}

.change-op-card-row::after {
    display: none;
}

.change-op-card-row > .et_pb_column {
    display: flex;
    width: 48.8% !important;
    margin-right: 0 !important;
}

.change-op-policy-card {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 42px 40px 38px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.022));
    box-shadow: 0 20px 50px rgba(0,0,0,0.20);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.change-op-policy-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #ed9858, #49b9b0);
}

.change-op-policy-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.24);
    background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.03));
}

.change-op-policy-card .change-op-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
    color: #0b0d0f;
    border-radius: 50%;
    background: #f2ae62;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.change-op-policy-card h3 {
    margin: 0 0 18px;
    padding: 0;
    color: #fff !important;
    font-size: 30px;
    line-height: 1.22em;
    font-weight: 800;
    letter-spacing: -0.018em;
}

.change-op-policy-card p {
    padding-bottom: 17px;
}

.change-op-policy-card .change-op-lead,
.change-op-policy-card .change-op-methods {
    color: #f4c08a !important;
}

.change-op-policy-card ul {
    margin: 0 0 17px 1.25em;
    padding: 0;
}

.change-op-policy-card li {
    padding: 0 0 8px 5px;
}

.change-op-policy-card li::marker {
    color: #58c2ba;
}

.change-op-commitment {
    background:
        radial-gradient(circle at 78% 18%, rgba(62, 177, 169, 0.17), transparent 35%),
        radial-gradient(circle at 20% 90%, rgba(238, 151, 88, 0.13), transparent 34%),
        #07090b;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.change-op-commitment.change-oak-bg::after {
    right: 50%;
    bottom: -235px;
    transform: translateX(50%);
    width: min(880px, 80vw);
    height: min(880px, 80vw);
    opacity: 0.075;
}

.change-op-commitment-copy {
    max-width: 920px;
    margin-right: auto !important;
    margin-left: auto !important;
}

.change-op-commitment-copy .change-op-final-line {
    display: inline-block;
    margin-top: 12px;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
}

@media (max-width: 980px) {
    .change-op-hero-title h1 {
        font-size: 46px !important;
    }

    .change-op-section-title h2,
    .change-op-commitment-title h2 {
        font-size: 39px !important;
    }

    .change-op-hero-row {
        padding-top: 72px !important;
        padding-bottom: 68px !important;
    }

    .change-op-image-column {
        margin-top: 44px;
    }

    .change-op-hero-image img {
        aspect-ratio: 16 / 10;
    }

    .change-op-card-row {
        display: block;
    }

    .change-op-card-row > .et_pb_column {
        display: block;
        width: 100% !important;
        margin-bottom: 28px !important;
    }

    .change-op-card-row > .et_pb_column:last-child {
        margin-bottom: 0 !important;
    }

    .change-oak-bg::after {
        width: 620px;
        height: 620px;
        right: -220px;
        opacity: 0.045;
    }
}

@media (max-width: 767px) {
    .change-op-hero-title h1 {
        font-size: 38px !important;
        line-height: 1.12em !important;
    }

    .change-op-section-title h2,
    .change-op-commitment-title h2 {
        font-size: 34px !important;
    }

    .change-op-copy,
    .change-op-copy p,
    .change-op-copy li,
    .change-op-hero-copy,
    .change-op-hero-copy p {
        font-size: 18.5px !important;
        line-height: 1.68em !important;
    }

    .change-op-statement,
    .change-op-statement p {
        font-size: 21px !important;
        line-height: 1.5em !important;
    }

    .change-op-policy-card {
        padding: 34px 26px 30px;
        border-radius: 18px;
    }

    .change-op-policy-card h3 {
        font-size: 27px;
    }

    .change-op-policy-card .change-op-number {
        width: 50px;
        height: 50px;
    }

    .change-op-pills span {
        font-size: 14px;
    }

    .change-op-hero-image {
        padding: 9px;
        border-radius: 20px;
    }

    .change-op-hero-image img {
        border-radius: 13px;
        aspect-ratio: 4 / 3;
    }

    .change-op-commitment-copy .change-op-final-line {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .change-op-policy-card {
        transition: none;
    }
}
