.news-page .nav-menu__link[aria-current="page"] {
    color: #ffcc66 !important;
}

.news-main {
    --news-gold: #ffcc66;
    --news-ink: #faf8ff;
    --news-muted: #c7bfce;
    --news-line: #3a3248;
    --news-panel: #191625;
    max-width: 1200px;
    padding-block: clamp(116px, 12vw, 176px) clamp(48px, 7vw, 84px);
    color: var(--news-ink);
}

.news-main :focus-visible {
    outline: 2px solid var(--news-gold);
    outline-offset: 3px;
}

.news-heading {
    display: flex;
    align-items: center;
    gap: clamp(.65rem, 2vw, 1rem);
    margin-bottom: clamp(1rem, 2.5vw, 1.65rem);
    padding-block: .35rem clamp(.75rem, 2vw, 1.2rem);
    border-bottom: 1px solid var(--news-line);
}

.news-heading-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: clamp(2.5rem, 5vw, 3.25rem);
    aspect-ratio: 1;
    border: 1px solid #6a5041;
    border-radius: .7rem;
    background: #2b2131;
    color: var(--news-gold);
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
}

.news-main h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.75rem, 4.6vw, 3.5rem);
    line-height: 1.12;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.news-main .news-heading h1 {
    font-size: clamp(1.45rem, 3.5vw, 2.6rem);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: clamp(.85rem, 2vw, 1.25rem);
}

.news-card,
.news-article,
.news-empty {
    min-width: 0;
    border: 1px solid var(--news-line);
    border-radius: 16px;
    background: var(--news-panel);
}

.news-card {
    display: flex;
    transition: border-color .18s ease, background-color .18s ease;
}

.news-card:hover,
.news-card:focus-within {
    border-color: #9b7648;
    background: #211a2d;
}

.news-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: inherit;
    color: var(--news-ink);
    text-decoration: none;
}

.news-card-link:hover { color: var(--news-ink); }

.news-card-image {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #110f1c;
    color: var(--news-gold);
    font-size: 2rem;
}

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

.news-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .65rem;
    padding: clamp(1rem, 2.3vw, 1.4rem);
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: var(--news-muted);
    font-size: .86rem;
    font-variant-numeric: tabular-nums;
}

.news-date i,
.news-card-action { color: var(--news-gold); }

.news-card h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.news-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--news-muted);
    font-size: .95rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
    padding-top: .25rem;
    font-size: .92rem;
    font-weight: 700;
}

.news-detail {
    max-width: 880px;
    margin-inline: auto;
}

.news-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    margin-bottom: 1rem;
    padding: .5rem .85rem;
    border: 1px solid #685049;
    border-radius: 8px;
    background: #1a1526;
    color: #f5e9d3;
    font-weight: 600;
    text-decoration: none;
}

.news-back:hover {
    border-color: var(--news-gold);
    color: var(--news-gold);
}

.news-article-header,
.news-article-content,
.news-empty {
    padding: clamp(1.15rem, 4vw, 2.5rem);
}

.news-article-header {
    background: linear-gradient(115deg, #231a30, var(--news-panel));
    border-radius: 15px 15px 0 0;
}

.news-article-header .news-date { margin-bottom: .65rem; }
.news-article-header h1,
.news-empty h1 { font-size: clamp(1.55rem, 4.3vw, 2.75rem); }

.news-article-image {
    padding: clamp(.5rem, 2vw, 1.4rem);
    border-block: 1px solid var(--news-line);
    background: #110f1c;
}

.news-article-image img {
    display: block;
    width: 100%;
    max-height: 28rem;
    object-fit: contain;
}

.news-article-content {
    color: var(--news-muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

.news-article-content :where(p, li, span, div, strong, em, td, th) {
    color: inherit !important;
}

.news-article-content :where(h2, h3, h4, h5, h6) {
    margin: 1.4em 0 .45em;
    color: var(--news-ink) !important;
    line-height: 1.35;
}

.news-article-content p { margin-bottom: .95em; }
.news-article-content > :last-child { margin-bottom: 0; }

.news-article-content :where(a, a span) {
    color: var(--news-gold) !important;
    text-decoration: underline;
    text-underline-offset: .16em;
}

.news-article-content :where(ul, ol) { padding-inline-start: 1.4em; }
.news-article-content ul { list-style: disc; }
.news-article-content ol { list-style: decimal; }
.news-article-content :where(img, iframe, video) { max-width: 100%; }
.news-article-content img { height: auto; }
.news-empty { margin: 0; color: var(--news-muted); }

@media (max-width: 575px) {
    .news-main { padding-top: 108px; }
}

@media (prefers-reduced-motion: reduce) {
    .news-card { transition: none; }
}
