.news-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 36px 32px 56px;
}

.news-card {
    padding: 24px 28px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.news-toolbar {
    margin-bottom: 16px;
}

.news-year-select {
    display: block;
    padding: 8px 32px 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333333;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.news-year-select:focus-visible {
    outline: 2px solid #2a82e4;
    outline-offset: 1px;
}

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

.news-item {
    width: 100%;
    padding: 18px 20px;
    border: 0;
    background-color: transparent;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.news-item:hover,
.news-item:focus-visible {
    background-color: #f7f7f7;
    outline: none;
}

.news-item__title {
    color: #ac2e45;
    font-size: 24px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.news-item:hover .news-item__title,
.news-item:focus-visible .news-item__title,
.news-item:active .news-item__title {
    color: #cf7b8b;
}

.news-item__meta {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 16px;
    color: #333333;
}

.news-item__meta-label {
    font-size: 12px;
    color: #666666;
}

.news-empty {
    margin: 0;
    padding: 28px 20px;
    text-align: center;
    font-size: 16px;
    color: #666666;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.news-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease, visibility 0s linear 0s;
}

.news-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.news-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(920px, 100%);
    max-height: min(80vh, 920px);
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    transform-origin: center center;
    transition: transform 0.1s ease;
}

.news-modal:not(.is-open) .news-modal__dialog {
    transform: scale(0.2);
}

.news-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px 16px;
    background-color: #efefef;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.news-modal__close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #666666;
    cursor: pointer;
    flex-shrink: 0;
}

.news-modal__close:hover,
.news-modal__close:focus-visible {
    color: #000000;
    outline: none;
}

.news-modal__title {
    margin: 0;
    color: #ac2e45;
    font-size: 30px;
    line-height: 1.3;
    min-width: 0;
    overflow-wrap: break-word;
}

.news-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 28px 32px;
}

.news-modal__content {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.news-modal__footer {
    flex-shrink: 0;
    padding: 16px 24px 20px;
    background-color: #efefef;
    border-radius: 0 0 12px 12px;
}

.news-modal__date {
    margin: 0;
    font-size: 14px;
    color: #666666;
}

@media (max-width: 768px) {
    .news-page {
        padding: 24px 16px 40px;
    }

    .news-card {
        padding: 18px 16px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-item__title {
        font-size: 20px;
    }

    .news-modal {
        padding: 12px;
    }

    .news-modal__header {
        padding: 16px 18px 12px;
    }

    .news-modal__title {
        font-size: 24px;
    }

    .news-modal__body {
        padding: 22px 18px;
    }

    .news-modal__footer {
        padding: 12px 18px 16px;
    }
}
