.our-tasks-page {
    background: #fff;
    color: #004735;
    font-family: 'Closer Text', sans-serif;
    overflow: hidden;
    padding-top: 160px;
}

.tasks-container {
    width: var(--eco-page-shell, min(1320px, calc(100vw - 120px)));
    margin: 0 auto;
}

.tasks-hero {
    padding-bottom: 40px;
}

.tasks-hero__intro {
    display: grid;
    grid-template-columns: minmax(0, 632px) minmax(0, 610px);
    gap: 78px;
    align-items: start;
}

.tasks-hero__intro h1,
.tasks-program-card h2,
.community-intro h2,
.timeline-section > h2 {
    color: #013026;
    font-weight: 500;
    margin: 0;
}

.tasks-hero__intro h1 {
    font-size: 64px;
    line-height: 1.04;
    letter-spacing: 0;
}

.tasks-hero__intro p {
    color: #004735;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.tasks-hero__media-grid {
    display: grid;
    grid-template-columns: minmax(0, 762px) minmax(0, 560px);
    gap: 20px;
    margin-top: 72px;
}

.tasks-hero__image,
.tasks-program-card {
    border-radius: 20px;
    margin: 0;
    min-height: 600px;
    overflow: hidden;
}

.tasks-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tasks-program-card {
    background: rgba(207, 226, 224, 0.36);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 52px;
    position: relative;
}

.tasks-program-card__content {
    position: relative;
    z-index: 1;
}

.tasks-program-card h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.tasks-program-card h2 span {
    display: block;
}

.tasks-program-card p {
    color: #013026;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.tasks-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 23px 0 86px;
}

.tasks-card {
    border: 1px solid #cfe2e0;
    border-radius: 16px;
    min-height: 387px;
    padding: 26px;
}

.tasks-step {
    align-items: center;
    background: #cfe2e0;
    border: 1px solid #cfe2e0;
    border-radius: 100px;
    color: #004735;
    display: inline-flex;
    font-size: 18px;
    font-weight: 500;
    height: 60px;
    justify-content: center;
    line-height: 1;
    margin-bottom: 28px;
    width: 60px;
}

.tasks-card h2 {
    color: #004735;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 28px;
}

.tasks-card p {
    color: #004735;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.education-grid {
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0 92px;
}

.education-item {
    display: grid;
    gap: 58px;
    grid-template-columns: 40px minmax(0, 1fr);
}

.tasks-step--compact,
.tasks-step--small {
    font-size: 16px;
    height: 40px;
    margin-bottom: 0;
    width: 40px;
}

.education-item:nth-child(2) .tasks-step--compact {
    background: #013026;
    color: #cfe2e0;
}

.education-item h2 {
    color: #004735;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 340px;
}

.education-item p {
    color: #004735;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 22px;
    max-width: 425px;
}

.education-item p:last-child {
    margin-bottom: 0;
}

.community-section {
    padding-bottom: 64px;
}

.community-top {
    align-items: end;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 672px);
    margin-bottom: 20px;
}

.community-intro {
    max-width: 594px;
}

.community-intro h2,
.timeline-section > h2 {
    font-size: 42px;
    line-height: 1.1;
}

.community-intro p {
    color: #004735;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.community-media {
    aspect-ratio: 672 / 358;
    border-radius: 20px;
    margin: 0;
    overflow: hidden;
}

.community-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.community-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.impact-card,
.community-card {
    border-radius: 20px;
    min-height: 542px;
    overflow: hidden;
    position: relative;
}

.impact-card {
    background: #004735;
    display: flex;
    flex-direction: column;
    gap: 72px;
    justify-content: center;
    padding: 56px 58px;
}

.impact-stat {
    align-items: flex-start;
    display: flex;
    gap: 26px;
    position: relative;
    z-index: 1;
}

.impact-stat__icon {
    align-items: center;
    background: #cfe2e0;
    border-radius: 50%;
    color: #004735;
    display: inline-flex;
    flex: 0 0 auto;
    height: 90px;
    justify-content: center;
    width: 90px;
}

.impact-stat__icon svg {
    display: block;
    height: 46px;
    width: 46px;
}

.impact-stat strong {
    color: #fff;
    display: block;
    font-size: 46px;
    font-weight: 500;
    line-height: 1.2;
}

.impact-stat span:last-child {
    color: #cfe2e0;
    display: block;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.7;
}

.community-card {
    background: #cfe2e0;
    display: flex;
    flex-direction: column;
    padding: 46px 44px 42px;
}

.community-card p {
    color: #004735;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 22px;
}

.community-card__link {
    align-items: center;
    border: 1px solid rgba(0, 71, 53, 0.45);
    border-radius: 8px;
    color: #004735;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    justify-content: center;
    line-height: 1.2;
    margin-top: auto;
    min-height: 64px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.community-card__link:hover {
    background: #004735;
    color: #fff;
}

.timeline-section {
    padding: 0 0 80px;
}

.timeline-section > h2 {
    margin: 0 0 58px;
}

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

.timeline-card {
    border: 1px solid #cfe2e0;
    border-radius: 16px;
    min-height: 295px;
    padding: 26px;
    position: relative;
}

.timeline-card:not(:last-child)::after {
    background: #cfe2e0;
    content: "";
    height: 1px;
    position: absolute;
    right: -21px;
    top: 63px;
    width: 22px;
}

.timeline-card h3 {
    color: #004735;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin: 24px 0 28px;
}

.timeline-card ul {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-card li {
    color: #004735;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    padding-left: 18px;
    position: relative;
}

.timeline-card li::before {
    background: #cfe2e0;
    border-radius: 50%;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    top: 8px;
    width: 6px;
}

@media (max-width: 1180px) {
    .tasks-container {
        width: calc(100vw - 40px);
    }

    .tasks-hero__intro,
    .tasks-hero__media-grid,
    .community-top,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tasks-hero__image,
    .tasks-program-card {
        min-height: 480px;
    }

    .tasks-cards,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .timeline-card:not(:last-child)::after {
        display: none;
    }

    .education-grid {
        gap: 42px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .our-tasks-page {
        padding-top: 104px;
    }

    .tasks-hero__intro h1 {
        font-size: 42px;
        line-height: 1.1;
    }

    .tasks-hero__intro p {
        font-size: 18px;
    }

    .tasks-hero__media-grid {
        margin-top: 42px;
    }

    .tasks-hero__image,
    .tasks-program-card {
        min-height: 420px;
    }

    .tasks-program-card {
        padding: 28px;
    }

    .tasks-program-card h2,
    .community-intro h2,
    .timeline-section > h2 {
        font-size: 32px;
    }

    .tasks-program-card p,
    .community-intro p {
        font-size: 18px;
    }

    .community-media {
        aspect-ratio: 16 / 9;
    }

    .tasks-card {
        min-height: auto;
    }

    .education-item {
        gap: 22px;
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .education-item h2 {
        font-size: 26px;
    }

    .impact-card,
    .community-card {
        min-height: auto;
        padding: 28px;
    }

    .impact-card {
        gap: 34px;
    }

    .impact-stat {
        gap: 18px;
    }

    .impact-stat__icon {
        height: 64px;
        width: 64px;
    }

    .impact-stat__icon svg {
        height: 34px;
        width: 34px;
    }

    .impact-stat strong {
        font-size: 36px;
    }

    .impact-stat span:last-child {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .tasks-container {
        width: calc(100vw - 32px);
    }

    .tasks-hero__intro h1 {
        font-size: 34px;
    }

    .tasks-hero__image,
    .tasks-program-card {
        min-height: 360px;
    }

    .tasks-cards {
        padding-bottom: 64px;
    }

    .education-item {
        display: block;
    }

    .education-item .tasks-step {
        margin-bottom: 20px;
    }

    .impact-stat {
        display: block;
    }

    .impact-stat__icon {
        margin-bottom: 18px;
    }

    .community-card {
        padding: 28px 24px;
    }
}
