
.archive-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(255,255,255,.13), transparent 25%),
        linear-gradient(120deg, #00452f 0%, #0a6b48 70%, #438a70 100%);
}

.archive-hero--news {
    background:
        radial-gradient(circle at 84% 18%, rgba(255,255,255,.14), transparent 25%),
        linear-gradient(120deg, #00452f 0%, #0f7650 70%, #499378 100%);
}

.archive-hero--events {
    background:
        radial-gradient(circle at 85% 18%, rgba(255,255,255,.14), transparent 24%),
        linear-gradient(120deg, #083d32 0%, #176552 65%, #5a8d79 100%);
}

.archive-hero--gallery {
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.15), transparent 25%),
        linear-gradient(120deg, #263f36 0%, #316d5a 65%, #789b8d 100%);
}

.archive-hero--minutes {
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 25%),
        linear-gradient(120deg, #123c31 0%, #2b6553 70%, #6c9285 100%);
}

.archive-hero__inner {
    display: flex;
    min-height: 235px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-top: 43px;
    padding-bottom: 44px;
}

.archive-hero h1 {
    margin: 2px 0 10px;
    font-size: clamp(39px, 5vw, 58px);
    line-height: 1;
}

.archive-hero p:last-child {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.8);
    font-size: 17px;
}

.archive-kicker {
    margin: 0 0 7px;
    color: #afe8cc;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .13em;
}

.archive-kicker--green {
    color: #08734a;
}

.archive-stat {
    display: grid;
    min-width: 170px;
    padding: 18px 21px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
}

.archive-stat strong {
    font-size: 36px;
    line-height: 1;
}

.archive-stat span {
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.archive-section {
    padding-top: 40px;
    padding-bottom: 52px;
}

.archive-section--past {
    padding-top: 42px;
}

.archive-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

.archive-heading h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 35px);
}

.archive-muted {
    background: #f3f7f5;
}

.news-grid,
.event-grid,
.gallery-grid {
    display: grid;
    gap: 18px;
}

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

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

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

.news-card,
.event-card,
.gallery-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce6e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(25,57,43,.045);
    transition: transform .18s ease, box-shadow .18s ease;
}

.news-card:hover,
.event-card:hover,
.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 35px rgba(25,57,43,.1);
}

.news-card__media,
.event-card__media,
.gallery-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #edf3f0;
}

.news-card__media,
.event-card__media {
    aspect-ratio: 16 / 9;
}

.gallery-card__media {
    aspect-ratio: 4 / 3;
}

.news-card__media img,
.event-card__media img,
.gallery-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.news-card:hover .news-card__media > img,
.event-card:hover .event-card__media > img,
.gallery-card:hover .gallery-card__media > img {
    transform: scale(1.025);
}

.media-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle, rgba(0,107,66,.07), transparent 55%),
        #edf3f0;
}

.media-placeholder > img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    opacity: .45;
}

.media-placeholder--event {
    align-content: center;
    color: #0b6d49;
    text-align: center;
}

.media-placeholder--event span {
    font-size: 47px;
    font-weight: 850;
    line-height: .95;
}

.media-placeholder--event small {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.card-badge,
.photo-count {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.card-badge {
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    background: rgba(0,83,54,.88);
}

.photo-count {
    right: 11px;
    bottom: 11px;
    padding: 6px 9px;
    background: rgba(9,25,18,.72);
    backdrop-filter: blur(5px);
}

.news-card__body,
.event-card__body,
.gallery-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.news-card time,
.gallery-card time {
    color: #63736b;
    font-size: 12px;
    font-weight: 700;
}

.news-card h2,
.event-card h2,
.gallery-card h2 {
    margin: 7px 0 9px;
    font-size: 20px;
    line-height: 1.26;
}

.news-card h2 a,
.event-card h2 a,
.gallery-card h2 a {
    color: #14251e;
}

.news-card p,
.event-card p,
.gallery-card p {
    margin: 0 0 15px;
    color: #64726b;
    font-size: 14px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: #087448;
    font-size: 14px;
    font-weight: 800;
}

.event-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #155d43;
    font-size: 13px;
}

.event-date span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #edf7f2;
    color: #38745d;
    font-size: 11px;
    font-weight: 750;
}

.event-place {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #557066 !important;
    font-weight: 650;
}

.event-history {
    display: grid;
    gap: 9px;
}

.event-history__row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 15px;
    border: 1px solid #dfe8e3;
    border-radius: 11px;
    background: #fff;
    color: #15251e;
    transition: border-color .18s ease, transform .18s ease;
}

.event-history__row:hover {
    transform: translateX(3px);
    border-color: #b9d8c8;
}

.date-tile {
    display: grid;
    min-height: 58px;
    place-items: center;
    align-content: center;
    border-radius: 9px;
    background: #edf6f1;
    color: #087047;
    text-align: center;
}

.date-tile strong {
    font-size: 22px;
    line-height: 1;
}

.date-tile small {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.event-history__content {
    min-width: 0;
}

.event-history__content strong,
.event-history__content small {
    display: block;
}

.event-history__content strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-history__content small {
    margin-top: 3px;
    color: #7a8780;
}

.row-arrow {
    color: #188157;
    font-size: 18px;
}

.minutes-list {
    display: grid;
    gap: 10px;
}

.minute-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 15px 17px;
    border: 1px solid #dce6e1;
    border-radius: 13px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.minute-card:hover {
    border-color: #b9d8c8;
    box-shadow: 0 10px 26px rgba(24,57,42,.07);
}

.minute-date {
    display: grid;
    min-height: 72px;
    place-items: center;
    align-content: center;
    border-radius: 10px;
    background: linear-gradient(145deg, #eaf5ef, #f7faf8);
    color: #087047;
    text-align: center;
}

.minute-date strong {
    font-size: 27px;
    line-height: .95;
}

.minute-date span {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.minute-date small {
    color: #64786d;
    font-size: 11px;
}

.minute-card__body {
    min-width: 0;
}

.minute-label {
    margin: 0 0 3px;
    color: #198159;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
}

.minute-card h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.minute-card h2 a {
    color: #15251e;
}

.minute-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-top: 7px;
    color: #7a8780;
    font-size: 12px;
}

.document-ready {
    color: #0b724a;
    font-weight: 750;
}

.minute-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.minute-detail,
.minute-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.minute-detail {
    color: #087047;
}

.minute-pdf {
    border: 1px solid #c6ddd2;
    background: #f2f8f5;
    color: #176849;
}

.empty-state {
    padding: 45px 22px;
    border: 1px dashed #cbdad2;
    border-radius: 13px;
    color: #68776f;
    text-align: center;
}

.empty-state--soft {
    background: #f5f9f7;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e1e8e4;
}

.pagination__summary {
    color: #748078;
    font-size: 13px;
}

.pagination__links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination__button,
.pagination__page,
.pagination__dots {
    display: inline-grid;
    min-width: 36px;
    min-height: 36px;
    place-items: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
}

.pagination__button {
    padding-right: 10px;
    padding-left: 10px;
    border: 1px solid #d3dfd9;
    color: #176a4a;
}

.pagination__page {
    color: #476057;
}

.pagination__page.is-current {
    background: #087448;
    color: #fff;
}

.pagination__button.is-disabled {
    opacity: .45;
}

@media (max-width: 1050px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .news-grid,
    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .archive-hero__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .archive-stat {
        min-width: 0;
    }
}

@media (max-width: 650px) {
    .archive-hero__inner {
        min-height: 0;
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .news-grid,
    .event-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .minute-card {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 13px;
    }

    .minute-date {
        min-height: 66px;
    }

    .minute-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 8px;
        border-top: 1px solid #edf2ef;
    }

    .event-history__row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .row-arrow {
        display: none;
    }

    .pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .pagination__links {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .pagination__summary {
        order: 2;
    }
}
