﻿.news-page {
    --news-navy: #123d84;
    --news-deep: #071f42;
    --news-blue: #2f67c8;
    --news-light: #f4f7fc;
    --news-line: #d8e1ef;
    --news-text: #24364a;
    --news-muted: #617287;
    --news-shadow: 0 24px 50px rgba(9, 29, 67, 0.08);
    color: var(--news-text);
    background: #fff;
}

    .news-page * {
        box-sizing: border-box;
    }

.news-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

/* --------------------------------
   Hero
-------------------------------- */
.news-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #05152f 0%, #0d4f9e 48%, #4a97ff 100%);
}

    .news-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 24%), radial-gradient(circle at 84% 18%, rgba(74, 151, 255, 0.30) 0%, rgba(255, 255, 255, 0) 24%), radial-gradient(circle at 78% 82%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 22%);
        pointer-events: none;
    }

.news-hero__content {
    position: relative;
    z-index: 1;
    padding: 82px 0 116px;
    color: #fff;
}

.news-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.news-hero__title {
    margin: 20px 0 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.news-hero__lead {
    max-width: 760px;
    margin: 22px 0 0;
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
}

/* --------------------------------
   Detail
-------------------------------- */
.news-detail-section {
    position: relative;
    z-index: 1;
}

.news-article-wrap {
    margin-top: -52px;
}

.news-article-card,
.news-archive-card,
.news-empty {
    border: 1px solid var(--news-line);
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--news-shadow);
}

.news-article-card {
    padding: 38px 40px 40px;
}

.news-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.news-article-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(18, 61, 132, 0.06);
    color: var(--news-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.news-article-card__date {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 800;
    color: var(--news-text);
}

.news-article-card__title {
    margin: 22px 0 0;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.5;
    font-weight: 800;
    color: var(--news-text);
}

.news-article-card__content {
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--news-line);
    font-size: 15px;
    line-height: 2.1;
    color: var(--news-muted);
    white-space: pre-line;
    word-break: break-word;
}

    .news-article-card__content a {
        color: var(--news-blue);
    }

    .news-article-card__content strong {
        color: var(--news-text);
    }

.news-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

/* --------------------------------
   Buttons
-------------------------------- */
.news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

    .news-btn:hover {
        transform: translateY(-2px);
    }

.news-btn--primary {
    background: linear-gradient(135deg, #0b2d61 0%, #0f57aa 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(10, 42, 90, 0.18);
}

    .news-btn--primary:hover {
        color: #fff;
    }

.news-btn--secondary {
    background: #fff;
    color: var(--news-navy);
    border: 1px solid rgba(18, 61, 132, 0.18);
}

    .news-btn--secondary:hover {
        color: var(--news-navy);
        box-shadow: 0 16px 28px rgba(9, 29, 67, 0.08);
    }

/* --------------------------------
   Archive
-------------------------------- */
.news-archive-section {
    padding: 48px 0 110px;
}

.news-section-head {
    text-align: center;
}

.news-section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(18, 61, 132, 0.06);
    color: var(--news-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.news-section-head__title {
    margin: 18px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.45;
    font-weight: 800;
    color: var(--news-text);
}

.news-section-head__lead {
    max-width: 760px;
    margin: 18px auto 0;
    font-size: 15px;
    line-height: 1.95;
    color: var(--news-muted);
}

.news-archive-card {
    margin-top: 28px;
    padding: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f7fd 100%);
}

.news-archive-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-archive-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 22px 24px;
    border: 1px solid rgba(18, 61, 132, 0.10);
    border-radius: 24px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .news-archive-item:not(.is-current):hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(9, 29, 67, 0.08);
        border-color: rgba(18, 61, 132, 0.18);
    }

    .news-archive-item.is-current {
        background: linear-gradient(180deg, #f9fbff 0%, #eef4fe 100%);
        border-color: rgba(18, 61, 132, 0.18);
    }

.news-archive-item__date time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(18, 61, 132, 0.06);
    color: var(--news-blue);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.news-archive-item__link,
.news-archive-item__current {
    display: grid;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.news-archive-item__link {
    grid-template-columns: minmax(0, 1fr) auto;
    color: inherit;
    text-decoration: none;
}

.news-archive-item__current {
    grid-template-columns: auto minmax(0, 1fr);
}

.news-archive-item__title {
    min-width: 0;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 700;
    color: var(--news-text);
}

.news-archive-item__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 61, 132, 0.06);
    color: var(--news-blue);
    font-size: 18px;
    font-weight: 800;
}

.news-archive-item__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e63cf 0%, #0d3f8a 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* --------------------------------
   Empty state
-------------------------------- */
.news-empty {
    max-width: 860px;
    margin: 0 auto;
    padding: 42px 28px;
    text-align: center;
}

.news-empty__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(18, 61, 132, 0.06);
    color: var(--news-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.news-empty h2 {
    margin: 18px 0 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.45;
    font-weight: 800;
    color: var(--news-text);
}

.news-empty p:not(.news-empty__eyebrow) {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.95;
    color: var(--news-muted);
}

.news-empty--archive {
    margin-top: 0;
}

/* --------------------------------
   Responsive
-------------------------------- */
@media (max-width: 900px) {
    .news-archive-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .news-archive-item__current {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .news-container {
        width: calc(100% - 24px);
    }

    .news-hero__content {
        padding: 74px 0 96px;
    }

    .news-hero__lead {
        font-size: 16px;
        line-height: 1.9;
    }

    .news-article-wrap {
        margin-top: -34px;
    }

    .news-article-card,
    .news-archive-card,
    .news-empty {
        border-radius: 24px;
    }

    .news-article-card {
        padding: 26px 20px 28px;
    }

    .news-article-card__title {
        font-size: 28px;
    }

    .news-article-card__content {
        margin-top: 20px;
        padding-top: 20px;
        font-size: 14px;
        line-height: 2;
    }

    .news-detail-actions {
        flex-direction: column;
    }

    .news-btn {
        width: 100%;
    }

    .news-archive-section {
        padding: 36px 0 76px;
    }

    .news-section-head__title {
        font-size: 28px;
    }

    .news-section-head__lead {
        font-size: 14px;
        line-height: 1.9;
    }

    .news-archive-card {
        padding: 12px;
    }

    .news-archive-item {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .news-archive-item__link {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 12px;
    }

    .news-archive-item__arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
