.home-page {
    --home-teal: #73aeb8;
    --home-teal-dark: #138d97;
    --home-green: #a4ce4b;
    --home-pink: #d91a5d;
    --home-gray: #575757;
    --home-red: #ef5f57;
    --home-text: #333;
    background: #fff;
    color: var(--home-text);
    font-family: 'Poppins', sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
    margin-top: 0;
}

.home-hero {
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        url('../images/home-children-hero.jpg') top center/cover no-repeat;
    display: flex;
    justify-content: center;
    min-height: 390px;
    padding: 70px 16px;
    position: relative;
}

.home-hero::before {
    backdrop-filter: blur(2px);
    content: "";
    inset: 0;
    position: absolute;
}

.home-hero__panel {
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    max-width: 980px;
    padding: 28px 32px 30px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.home-hero h1 {
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 8px;
}

.home-hero h1 span {
    color: var(--home-green);
}

.home-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.home-donate-btn {
    background: var(--home-green);
    border-radius: 0;
    color: #fff;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 9px 26px;
    text-decoration: none;
}

.home-donate-btn:hover {
    background: #8bb939;
    color: #fff;
}

.home-stories {
    padding: 74px 0 46px;
}

.home-title-pill,
.home-impact-title {
    background: var(--home-teal-dark);
    border-radius: 3px;
    color: #fff;
    display: table;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 auto 36px;
    padding: 10px 18px;
    text-align: center;
}

.home-story-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.home-story-card {
    background: #fff;
    border: 1px solid #d7d7d7;
    overflow: hidden;
}

.home-story-card img {
    display: block;
    height: 185px;
    object-fit: cover;
    width: 100%;
}

.home-story-card div {
    padding: 12px 14px 16px;
    text-align: center;
}

.home-story-card h3 {
    color: #3d3d3d;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 7px;
    text-decoration: underline;
}

.home-story-card p {
    color: #2f2f2f;
    font-size: 0.78rem;
    line-height: 1.58;
    margin-bottom: 0;
}

.home-down-arrow {
    color: var(--home-pink);
    font-size: 1.6rem;
    padding: 4px 0 26px;
    text-align: center;
}

.home-focus-heading {
    margin: 0 auto;
    max-width: 720px;
    padding: 0 18px 30px;
    text-align: center;
}

.home-focus-heading h2 {
    color: #555;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.home-focus-heading p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.home-focus-band {
    background: var(--home-teal);
    padding: 54px 0;
}

.home-focus-layout {
    align-items: center;
    display: grid;
    gap: 46px;
    grid-template-columns: 330px 5px minmax(320px, 470px);
    justify-content: center;
}

.home-focus-image {
    align-items: center;
    background: #fff;
    border: 7px solid var(--home-green);
    border-radius: 50%;
    display: flex;
    height: 300px;
    justify-content: center;
    overflow: hidden;
    width: 300px;
}

.home-focus-image img {
    height: 88%;
    object-fit: contain;
    width: 88%;
}

.home-focus-divider {
    background: var(--home-green);
    height: 250px;
    width: 5px;
}

.home-focus-list {
    display: grid;
    gap: 20px;
}

.home-focus-list a {
    background: var(--home-green);
    color: #fff;
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
}

.home-focus-list a:hover {
    background: #8fba3d;
    color: #fff;
}

.home-interventions {
    background: #fff;
    padding: 92px 0 70px;
}

.home-interventions h2 {
    color: #4d4d4d;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 22px;
    text-decoration: underline;
}

.home-intervention-tabs {
    align-items: end;
    border-bottom: 1px solid #dedede;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(5, 1fr);
}

.home-intervention {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #111;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 800;
    min-height: 42px;
    padding: 0 8px 11px;
    text-align: center;
}

.home-intervention.active {
    border-bottom-color: var(--home-green);
    color: var(--home-green);
}

.home-intervention-content {
    background: #eef4f5;
    color: #111;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 18px;
    min-height: 66px;
    padding: 16px 22px;
}

.home-impact {
    background: #fff;
    padding: 38px 0 82px;
}

.home-impact-title {
    background: #138d97;
    border-radius: 3px;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 50px;
    padding: 12px 16px;
}

.home-impact-layout {
    display: grid;
    grid-template-columns: 238px 264px 238px;
    grid-template-rows: auto auto;
    gap: 108px 26px;
    justify-content: center;
    margin: 0 auto;
    max-width: 860px;
    position: relative;
}

.home-impact-card {
    border-radius: 5px;
    color: #fff;
    min-height: 132px;
    padding: 28px 16px 20px;
    position: relative;
    z-index: 1;
}

.home-impact-card strong {
    display: block;
    font-size: 1.72rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.home-impact-card span {
    display: block;
    font-size: 0.91rem;
    font-weight: 400;
    line-height: 1.45;
}

.home-impact-card--green {
    background: #a4d244;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 92% 100%, 0 100%);
}

.home-impact-card--yellow {
    background: #ffdc4e;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 78%);
}

.home-impact-card--gray {
    background: #7a7a7a;
    clip-path: polygon(0 0, 92% 0, 100% 22%, 100% 100%, 0 100%);
}

.home-impact-card--red {
    background: #ea6158;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 22%);
}

.home-impact-image {
    align-self: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: none;
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 264px;
    justify-self: center;
    overflow: hidden;
    width: 264px;
    z-index: 2;
}

.home-impact-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 991px) {
    .home-story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-focus-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .home-focus-divider {
        display: none;
    }

    .home-focus-list {
        max-width: 480px;
        width: 100%;
    }

    .home-intervention-tabs {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 12px;
    }

    .home-impact-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .home-impact-image {
        grid-column: 1 / -1;
        grid-row: auto;
        order: -1;
    }
}

@media (max-width: 600px) {
    .home-hero {
        min-height: 300px;
        padding: 38px 12px;
    }

    .home-hero__panel {
        padding: 20px 14px 22px;
    }

    .home-hero h1 {
        font-size: 1.35rem;
    }

    .home-hero p {
        font-size: 0.78rem;
    }

    .home-stories {
        padding-top: 54px;
    }

    .home-title-pill,
    .home-impact-title {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .home-story-grid,
    .home-impact-layout {
        grid-template-columns: 1fr;
    }

    .home-story-card img {
        height: 175px;
    }

    .home-focus-band {
        padding: 40px 0;
    }

    .home-focus-image,
    .home-impact-image {
        height: 230px;
        width: 230px;
    }

    .home-interventions {
        padding: 58px 0 46px;
    }

    .home-intervention-tabs {
        grid-template-columns: 1fr;
    }
}
