.news-page {
    max-width: 920px;
    margin: 2.75rem auto 4rem;
    padding: 0 20px 4rem;
}

.news-hero {
    margin-bottom: 2rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.news-list {
    display: grid;
    gap: 1.25rem;
}

.news-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.news-cover-link {
    display: block;
    width: 100%;
    height: 100%;
}

.news-thumb {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    background: #111;
    object-fit: cover;
}

.news-thumb.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.news-body {
    padding: 1.2rem 1.2rem 1.2rem 0;
}

.news-date {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-body h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.35;
    text-wrap: pretty;
}

.news-body p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.news-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.news-page-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.news-page-btn.active {
    background: var(--text-color);
    color: var(--bg-color);
}

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

.news-modal {
    position: fixed;
    inset: 0;
    width: min(920px, calc(100% - 2rem));
    height: auto;
    max-height: 90dvh;
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--card-bg);
    color: var(--text-color);
}

.news-modal:not([open]) {
    display: none;
}

.news-modal[open] {
    display: block;
}

.news-modal::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.news-modal-card {
    padding: 1.5rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-hero {
    display: block;
    width: 100%;
    max-height: 280px;
    margin-bottom: 1rem;
    border-radius: 12px;
    object-fit: cover;
}

#news-modal-title {
    line-height: 1.3;
    text-wrap: pretty;
}

.news-modal-content {
    max-width: 65ch;
    margin: 0 auto;
    overflow-wrap: anywhere;
}

.news-modal-content p {
    margin: 0 0 1rem;
    line-height: 1.8;
}

.news-modal-content img {
    max-width: 100%;
    height: auto;
}

.news-modal-content :is(ul, ol) {
    padding-left: 1.5rem;
}

.news-modal-content ul {
    list-style: disc;
}

.news-modal-content a {
    text-decoration: underline;
}

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

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

}
