:root {
    --news-gold: #c9a84c;
    --news-gold-dark: #6b5519;
    --news-ink: #17172b;
    --news-muted: #67677f;
    --news-line: #e6e8ee;
    --news-soft: #f7f8fa;
    --news-radius: 14px;
    --news-shadow: 0 10px 34px rgba(25, 25, 45, .07);
    --news-shadow-hover: 0 18px 48px rgba(25, 25, 45, .13);
}

.news-archive,
.news-archive * {
    box-sizing: border-box;
}

.news-archive {
    color: var(--news-ink);
    background: #fff;
}

.news-archive a {
    color: inherit;
    text-decoration: none;
}

.news-archive .container {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
}

.news-archive .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    color: var(--news-muted);
    font-size: .9rem;
}

.news-archive .breadcrumb a {
    color: var(--news-gold-dark);
    transition: color .2s ease;
}

.news-archive .breadcrumb a:hover,
.news-archive .breadcrumb a:focus-visible {
    color: var(--news-gold);
}

.news-archive .breadcrumb .sep {
    color: #c7cbd3;
    font-size: .65rem;
}

.news-archive .breadcrumb .current {
    color: var(--news-ink);
    font-weight: 700;
}

.news-archive .page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.25rem, 7vw, 6.1rem) 0 clamp(3rem, 6vw, 5.5rem);
    border-bottom: 4px solid var(--news-gold-dark);
    background: var(--news-gold);
    text-align: center;
}

.news-archive .page-hero::before,
.news-archive .page-hero::after {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.news-archive .page-hero::before {
    top: -230px;
    left: -100px;
}

.news-archive .page-hero::after {
    right: -120px;
    bottom: -250px;
}

.news-archive .page-hero .container {
    position: relative;
    z-index: 1;
}

.news-archive .page-hero h1 {
    margin: 0 0 .65rem;
    color: var(--news-ink);
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.news-archive .page-hero h1 span {
    color: var(--news-gold-dark);
}

.news-archive .page-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(23, 23, 43, .76);
    font-size: clamp(.98rem, 1.35vw, 1.16rem);
    line-height: 1.7;
}

.news-list-section {
    min-height: 45vh;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 6rem);
}

.news-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--news-line);
}

.news-filter__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .56rem 1.35rem;
    border: 1px solid var(--news-line);
    border-radius: 999px;
    background: #fff;
    color: #3c3c59;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.news-filter__link:hover,
.news-filter__link:focus-visible {
    transform: translateY(-1px);
    border-color: var(--news-gold);
    color: var(--news-gold-dark);
}

.news-filter__link.is-active {
    border-color: var(--news-gold-dark);
    background: var(--news-gold);
    color: var(--news-ink);
    box-shadow: 0 6px 18px rgba(107, 85, 25, .16);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.2vw, 32px);
}

.news-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--news-line);
    border-radius: var(--news-radius);
    background: #fff;
    box-shadow: var(--news-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover,
.news-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, .65);
    box-shadow: var(--news-shadow-hover);
    outline: none;
}

.news-card__media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    aspect-ratio: 11 / 5;
    background: var(--news-soft);
}

.news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.news-card:hover .news-card__media img,
.news-card:focus-visible .news-card__media img {
    transform: scale(1.035);
}

.news-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(107, 85, 25, .55);
    font-size: 2.2rem;
    background: linear-gradient(135deg, #f8f4e7, #eef0f4);
}

.news-card__body {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.news-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin-bottom: .65rem;
    padding: .28rem .72rem;
    border-radius: 999px;
    background: var(--news-gold-dark);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}

.news-card__date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: .55rem;
    color: #7b7b8e;
    font-size: .78rem;
    line-height: 1.4;
}

.news-card__date i {
    color: var(--news-gold-dark);
}

.news-card h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .65rem;
    color: var(--news-ink);
    font-size: clamp(1.06rem, 1.3vw, 1.25rem);
    font-weight: 800;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--news-muted);
    font-size: .9rem;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--news-gold-dark);
    font-size: .88rem;
    font-weight: 800;
}

.news-card__more i {
    transition: transform .2s ease;
}

.news-card:hover .news-card__more i,
.news-card:focus-visible .news-card__more i {
    transform: translateX(4px);
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(2.4rem, 5vw, 4rem);
}

.news-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--news-line);
    border-radius: 11px;
    background: #fff;
    color: #494963;
    font-size: .9rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(25, 25, 45, .04);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.news-pagination a.page-numbers:hover,
.news-pagination a.page-numbers:focus-visible {
    transform: translateY(-2px);
    border-color: var(--news-gold);
    color: var(--news-gold-dark);
    outline: none;
}

.news-pagination .page-numbers.current {
    border-color: var(--news-gold-dark);
    background: var(--news-gold);
    color: var(--news-ink);
}

.news-pagination .prev,
.news-pagination .next {
    border-radius: 999px;
}

.news-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
    border: 1px solid var(--news-line);
    border-radius: var(--news-radius);
    background: var(--news-soft);
    text-align: center;
}

.news-empty > i {
    margin-bottom: 1rem;
    color: var(--news-gold-dark);
    font-size: 2.5rem;
}

.news-empty h2 {
    margin: 0 0 .5rem;
    font-size: 1.35rem;
}

.news-empty p {
    margin: 0 0 1.25rem;
    color: var(--news-muted);
}

.news-empty a {
    display: inline-flex;
    padding: .7rem 1.15rem;
    border-radius: 999px;
    background: var(--news-gold);
    color: var(--news-ink);
    font-weight: 800;
}

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

@media (max-width: 700px) {
    .news-archive .container {
        width: min(100% - 32px, 1440px);
    }

    .news-archive .breadcrumb {
        min-height: 50px;
        font-size: .8rem;
    }

    .news-archive .page-hero {
        padding: 3rem 0 2.8rem;
    }

    .news-archive .page-hero h1 {
        font-size: clamp(2rem, 11vw, 2.65rem);
    }

    .news-list-section {
        padding-top: 2.25rem;
    }

    .news-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin-inline: -16px;
        padding: 0 16px 1.25rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .news-filter::-webkit-scrollbar {
        display: none;
    }

    .news-filter__link {
        min-height: 40px;
        scroll-snap-align: start;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-card__body {
        padding: 1.15rem 1.2rem 1.3rem;
    }
}

@media (max-width: 420px) {
    .news-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: .84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-card,
    .news-card__media img,
    .news-card__more i,
    .news-filter__link,
    .news-pagination .page-numbers {
        transition: none;
    }
}

/* Backend news images are 600 x 400: preserve the full image without gaps. */
.news-card__media {
    aspect-ratio: 3 / 2;
    background: #f4f2eb;
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.news-card:hover .news-card__media img,
.news-card:focus-visible .news-card__media img {
    transform: none;
}
