.page-news { background: #fff; }

.news-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.news-back {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: #666;
}

.news-back a { color: inherit; text-decoration: underline; }
.news-back a:hover { text-decoration: none; color: #000; }

.news-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.news-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    margin-right: auto;
}

/* ─── Year selector dropdown ───────────────────────────────────────── */

.news-year-selector {
    position: relative;
}

.news-year-current {
    background: transparent;
    border: 1px solid #000;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: space-between;
    transition: background 0.15s, color 0.15s;
}

.news-year-current svg {
    transition: transform 0.15s;
}

.news-year-selector.is-open .news-year-current {
    background: #000;
    color: #fff;
}

.news-year-selector.is-open .news-year-current svg {
    transform: rotate(180deg);
}

.news-year-list {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid #000;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 120px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-year-list li { border-bottom: 1px solid #f0f0f0; }
.news-year-list li:last-child { border-bottom: none; }

.news-year-list a {
    display: block;
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
    color: #000;
    text-decoration: none;
    transition: background 0.15s;
}

.news-year-list a:hover { background: #f5f5f5; }

.news-year-list a.is-active {
    background: #000;
    color: #fff;
    font-weight: 700;
}

/* ─── Empty state ──────────────────────────────────────────────────── */

.news-empty {
    padding: 4rem 1rem;
    text-align: center;
    color: #999;
}

/* ─── Grid + cards ─────────────────────────────────────────────────── */

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-card-link {
    display: flex;
    flex-direction: column;
    color: #000;
    text-decoration: none;
}

.news-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    transition: transform 0.3s;
}

.news-card-link:hover .news-card-thumb {
    transform: scale(1.02);
}

.news-card-thumb-empty {
    background: repeating-linear-gradient(
        45deg, #f5f5f5, #f5f5f5 10px, #eee 10px, #eee 20px
    );
}

.news-card-body { padding: 1rem 0 0; }

.news-card-date {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    transition: color 0.15s;
}

.news-card-link:hover .news-card-title { color: #666; }

/* ─── Load more ────────────────────────────────────────────────────── */

.news-load-more {
    text-align: center;
    margin-top: 3rem;
}

.news-load-more-btn {
    background: transparent;
    border: 1px solid #000;
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    color: #000;
    transition: background 0.15s, color 0.15s;
}

.news-load-more-btn:hover:not(:disabled) {
    background: #000;
    color: #fff;
}

.news-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── Responsive ───────────────────────────────────────────────────── */

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

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

@media (max-width: 768px) {
    .news-page { padding: 0.5rem 1rem 3rem; }
    .news-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .news-heading { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .news-grid { grid-template-columns: 1fr; }
}