.page-hero {
    position: relative;
    padding: 92px 20px 84px;
    background:
        radial-gradient(circle at top left, rgba(244, 199, 61, 0.16), transparent 24%),
        linear-gradient(135deg, #0d8f79 0%, #173c31 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.12));
    pointer-events: none;
}

.page-hero-shell,
.section-shell {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
}

.page-hero-content {
    max-width: 760px;
    color: #ffffff;
}

.page-hero-eyebrow,
.section-eyebrow {
    margin: 0 0 12px;
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    font-weight: 700;
    color: #ffd85f;
}

.page-hero-title {
    margin: 0 0 18px;
    font-family: 'Fredoka', sans-serif;
    font-size: 62px;
    line-height: 1.06;
    color: #ffffff;
}

.page-hero-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.84);
}

.page-section {
    padding: 78px 20px;
    background:
        radial-gradient(circle at top right, rgba(11, 139, 115, 0.08), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #fbf6ea 100%);
}

.page-section.alt {
    background:
        radial-gradient(circle at top left, rgba(244, 199, 61, 0.12), transparent 20%),
        linear-gradient(180deg, #fbf6ea 0%, #ffffff 100%);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-title {
    margin: 0 0 14px;
    font-family: 'Fredoka', sans-serif;
    font-size: 48px;
    line-height: 1.08;
    color: #223730;
}

.section-text {
    margin: 0;
    color: #6a726f;
    font-size: 16px;
    line-height: 1.85;
}

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

.feature-card {
    padding: 28px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 44px rgba(31, 49, 43, 0.08);
}

.feature-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffd85f 0%, #f4c73d 100%);
    color: #223730;
    font-size: 28px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    line-height: 1.16;
    color: #223730;
}

.feature-card p {
    margin: 0;
    color: #6a726f;
    font-size: 15px;
    line-height: 1.8;
}

.story-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
    gap: 28px;
    align-items: center;
}

.story-media {
    min-height: 420px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(31, 49, 43, 0.12);
}

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

.story-content {
    padding: 34px 32px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 44px rgba(31, 49, 43, 0.08);
}

.story-content h3 {
    margin: 0 0 14px;
    font-family: 'Fredoka', sans-serif;
    font-size: 34px;
    line-height: 1.14;
    color: #223730;
}

.story-content p {
    margin: 0 0 12px;
    color: #6a726f;
    font-size: 16px;
    line-height: 1.85;
}

.story-content ul {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.story-content li {
    position: relative;
    padding-left: 28px;
    color: #223730;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 600;
}

.story-content li::before {
    content: '\f058';
    position: absolute;
    top: 2px;
    left: 0;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #0b8b73;
}

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

.program-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 34px;
}

.program-feature-card {
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(31, 49, 43, 0.1);
    max-width: 760px;
}

.program-feature-media {
    position: relative;
    min-height: 180px;
}

.program-feature-media-compact {
    min-height: 150px;
}

.program-feature-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(8, 20, 18, 0), rgba(8, 20, 18, 0.42));
    pointer-events: none;
}

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

.program-feature-pill {
    position: absolute;
    left: 28px;
    bottom: 24px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd85f 0%, #f4c73d 100%);
    color: #223730;
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    box-shadow: 0 14px 30px rgba(244, 199, 61, 0.28);
}

.program-feature-copy {
    padding: 30px 30px 34px;
}

.program-showcase-page .program-feature-card {
    justify-self: start;
    width: 100%;
}

.program-feature-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.program-feature-kicker {
    margin: 0;
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    color: #d46f31;
}

.program-feature-copy h3 {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(30px, 3vw, 42px);
    color: #223730;
}

.program-feature-copy p {
    margin: 0 0 18px;
    color: #5f6c67;
    font-size: 17px;
    line-height: 1.9;
}

.program-feature-copy p:last-of-type {
    margin-bottom: 0;
}

.program-feature-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.program-sidebar {
    position: sticky;
    top: 22px;
}

.program-sidebar-card {
    padding: 30px 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at center, rgba(212, 111, 49, 0.08) 0, transparent 72%),
        linear-gradient(180deg, #f8f1de 0%, #f4ecd8 100%);
    box-shadow: 0 22px 44px rgba(31, 49, 43, 0.08);
}

.program-sidebar-card h3 {
    margin: 0 0 22px;
    font-family: 'Fredoka', sans-serif;
    font-size: 36px;
    line-height: 1.05;
    color: #223730;
}

.program-sidebar-list {
    display: grid;
    gap: 16px;
}

.program-sidebar-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 10px;
    border-radius: 24px;
    text-decoration: none;
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.program-sidebar-item:hover,
.program-sidebar-item.is-active {
    background: rgba(255, 255, 255, 0.72);
    transform: translateX(4px);
    box-shadow: 0 12px 24px rgba(31, 49, 43, 0.08);
}

.program-sidebar-thumb {
    display: block;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
}

.program-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-sidebar-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    line-height: 1.15;
    color: #223730;
}

.program-point-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 40px rgba(31, 49, 43, 0.08);
}

.program-point-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffd85f 0%, #f4c73d 100%);
    color: #223730;
    font-size: 24px;
}

.program-point-card h3 {
    margin: 0;
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: #223730;
}

.events-stats-grid-top {
    margin-bottom: 34px;
}

.events-cards-grid {
    display: grid;
    gap: 26px;
}

.event-story-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 0;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 44px rgba(31, 49, 43, 0.08);
}

.event-story-gallery {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #dfe7e3;
}

.event-story-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
}

.event-story-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.event-story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #223730;
    box-shadow: 0 12px 24px rgba(18, 37, 34, 0.14);
    cursor: pointer;
}

.event-gallery-prev {
    left: 18px;
}

.event-gallery-next {
    right: 18px;
}

.event-story-body {
    padding: 30px 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.event-story-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffd85f 0%, #f4c73d 100%);
    color: #223730;
    font-size: 24px;
}

.event-story-body h3 {
    margin: 0 0 12px;
    font-family: 'Fredoka', sans-serif;
    font-size: 34px;
    line-height: 1.15;
    color: #223730;
}

.event-story-body p {
    margin: 0;
    color: #5f6c67;
    font-size: 16px;
    line-height: 1.9;
}

.event-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.event-story-btn {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.event-story-btn:hover {
    transform: translateY(-2px);
}

.event-story-btn-light {
    background: rgba(11, 139, 115, 0.1);
    color: #0b8b73;
}

.event-story-btn-solid {
    background: linear-gradient(180deg, #ffd85f 0%, #f4c73d 100%);
    color: #223730;
    box-shadow: 0 12px 24px rgba(244, 199, 61, 0.26);
}

.program-panel,
.article-panel,
.gallery-panel,
.team-panel,
.contact-panel {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 42px rgba(31, 49, 43, 0.08);
}

.program-panel-image,
.article-panel-image,
.gallery-panel-image {
    position: relative;
    height: 230px;
}

.program-panel-image img,
.article-panel-image img,
.gallery-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-panel-body,
.article-panel-body,
.team-panel-body,
.contact-panel-body {
    padding: 24px 22px 26px;
}

.program-panel-body h3,
.article-panel-body h3,
.team-panel-body h3,
.contact-panel-body h3 {
    margin: 0 0 12px;
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    line-height: 1.16;
    color: #223730;
}

.program-panel-body p,
.article-panel-body p,
.team-panel-body p,
.contact-panel-body p,
.timeline-card p,
.stat-card p {
    margin: 0;
    color: #6a726f;
    font-size: 15px;
    line-height: 1.8;
}

.tag-pill {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd85f 0%, #f4c73d 100%);
    color: #223730;
    font-weight: 700;
    font-size: 14px;
}

.timeline-grid,
.team-grid,
.contact-grid,
.stats-grid,
.gallery-showcase-grid,
.article-grid {
    display: grid;
    gap: 24px;
}

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

.timeline-card,
.stat-card {
    padding: 24px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 38px rgba(31, 49, 43, 0.08);
}

.timeline-date,
.team-role,
.contact-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #0b8b73;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.timeline-card h3,
.stat-card h3 {
    margin: 0 0 10px;
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    color: #223730;
}

.gallery-showcase-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-tile {
    min-height: 220px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(31, 49, 43, 0.08);
}

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

.team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-panel-image {
    height: 260px;
}

.team-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-panel {
    padding: 0;
}

.contact-panel-body a,
.article-inline-link {
    color: #0b8b73;
    text-decoration: none;
    font-weight: 700;
}

.contact-panel-body a:hover,
.article-inline-link:hover {
    text-decoration: underline;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card h3 {
    font-size: 42px;
    line-height: 1;
}

.article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .event-story-card {
        grid-template-columns: 1fr;
    }

    .program-showcase {
        grid-template-columns: 1fr;
    }

    .program-feature-card {
        max-width: 100%;
    }

    .program-sidebar {
        position: static;
    }

    .program-sidebar-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .program-grid,
    .timeline-grid,
    .gallery-showcase-grid,
    .team-grid,
    .contact-grid,
    .stats-grid,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-hero {
        padding: 74px 18px 68px;
    }

    .page-hero-title {
        font-size: 46px;
    }

    .page-section {
        padding: 62px 18px;
    }

    .section-title {
        font-size: 38px;
    }

    .feature-grid,
    .program-grid,
    .timeline-grid,
    .gallery-showcase-grid,
    .team-grid,
    .contact-grid,
    .stats-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .program-sidebar-card h3 {
        font-size: 30px;
    }

}

@media (max-width: 640px) {
    .event-story-gallery {
        min-height: 250px;
    }

    .event-gallery-nav {
        width: 42px;
        height: 42px;
    }

    .event-story-body {
        padding: 24px 20px 26px;
    }

    .event-story-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 20px;
    }

    .event-story-body h3 {
        font-size: 28px;
    }

    .program-feature-media {
        min-height: 170px;
    }

    .program-feature-media-compact {
        min-height: 140px;
    }

    .program-feature-copy {
        padding: 24px 20px 26px;
    }

    .program-feature-intro {
        display: block;
    }

    .program-feature-copy h3 {
        margin-top: 6px;
    }

    .program-feature-pill {
        left: 18px;
        bottom: 18px;
        min-height: 46px;
        padding: 10px 18px;
        font-size: 16px;
    }

    .program-sidebar-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .program-sidebar-card h3 {
        font-size: 26px;
    }

    .program-sidebar-list {
        grid-template-columns: 1fr;
    }

    .program-sidebar-item {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 14px;
    }

    .program-sidebar-thumb {
        height: 64px;
    }

    .program-sidebar-label {
        font-size: 19px;
    }

    .program-feature-points {
        grid-template-columns: 1fr;
    }

    .program-point-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 16px;
    }

    .program-point-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 20px;
    }

    .program-point-card h3 {
        font-size: 18px;
    }

    .page-hero {
        padding: 60px 12px 56px;
    }

    .page-hero-eyebrow,
    .section-eyebrow {
        font-size: 22px;
    }

    .page-hero-title {
        font-size: 34px;
    }

    .page-hero-text,
    .section-text,
    .story-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .page-section {
        padding: 48px 12px;
    }

    .section-title {
        font-size: 30px;
    }

    .feature-card,
    .story-content,
    .timeline-card,
    .stat-card,
    .program-panel-body,
    .article-panel-body,
    .team-panel-body,
    .contact-panel-body {
        padding: 20px 18px 22px;
    }

    .story-media,
    .program-panel,
    .article-panel,
    .gallery-tile,
    .team-panel,
    .contact-panel {
        border-radius: 22px;
    }

    .program-panel-image,
    .article-panel-image,
    .gallery-panel-image,
    .team-panel-image {
        height: 220px;
    }

    .stat-card h3 {
        font-size: 34px;
    }
}
