.news-section {
    background: #f7f9fa;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-card {
    display: flex;
    align-items: stretch;
    gap: 34px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--white);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.news-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.news-image {
    flex: 0 0 320px;
    max-width: 320px;
    overflow: hidden;
    background: var(--ice);
}

.news-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.news-card > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card time,
.news-detail time {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

.news-card h2 {
    margin: 9px 0 12px;
    font-size: 28px;
}

.news-card h2 a:hover,
.news-card h2 a:focus-visible {
    color: var(--red);
}

.news-card .text-link {
    align-self: flex-start;
    margin-top: 18px;
}

.news-detail {
    max-width: 880px;
    margin: 0 auto;
    padding: 52px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.news-detail header {
    margin-bottom: 34px;
}

.news-detail h1 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
}

.rich-content {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.85;
}

.rich-content > * + * {
    margin-top: 18px;
}

.rich-content img {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.rich-content a {
    color: var(--red);
    text-decoration: underline;
}

.rich-content th,
.rich-content td {
    padding: 10px;
    border: 1px solid var(--line);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    max-width: 880px;
    margin: 30px auto 0;
}

.article-navigation > * {
    flex: 1 1 0;
}

.article-navigation a {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--white);
}

.article-navigation a:last-child {
    text-align: right;
}

.article-navigation small {
    color: var(--red);
}

@media (max-width: 640px) {
    .news-card {
        flex-direction: column;
        gap: 22px;
        padding: 18px;
    }

    .news-image {
        flex-basis: auto;
        width: 320px;
        max-width: 100%;
    }

    .news-detail {
        padding: 28px 20px;
    }

    .article-navigation {
        flex-direction: column;
    }
}
