.news-archive {
    box-sizing: border-box;
    width: 100%;
    max-width: 252px;
    padding: 16px;
    border: 1px solid #dbe4dd;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfdfb 100%);
    box-shadow: 0 1px 4px rgba(0, 57, 27, 0.04);
}

.news-archive-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #005924;
}

.news-archive-header-icon {
    font-size: 1.2rem;
}

.news-archive-header h2 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.news-archive-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.news-archive-column h3 {
    margin: 0 0 8px;
    color: #2d302e;
    font-size: 0.9rem;
    line-height: 1.2;
}

.news-archive-scroller {
    position: relative;
}

.news-archive-items {
    max-height: 384px;
    overflow: hidden;
    border: 1px solid #dce8df;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
    scrollbar-width: none;
}

.news-archive-items::-webkit-scrollbar {
    display: none;
}

.news-archive-item {
    display: flex;
    align-items: center;
    min-height: 32px;
    box-sizing: border-box;
    padding: 5px 10px;
    color: #414442;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

a.news-archive-item:hover {
    background: #eef8f0;
    color: #005924;
}

.news-archive-item-selected {
    background: #b8edc9;
    color: #124c2a;
    font-weight: 700;
}

.news-archive-month-disabled {
    color: #8c918e7a;
}

.news-archive-scroll-button {
    position: absolute;
    z-index: 2;
    right: 1px;
    left: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2px);
    height: 28px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.84);
    color: #005924;
    cursor: pointer;
}

.news-archive-scroll-button[hidden] {
    display: none;
}

.news-archive-scroll-button:hover {
    background: rgba(232, 247, 235, 0.94);
}

.news-archive-scroll-button-up {
    top: 1px;
}

.news-archive-scroll-button-down {
    bottom: 1px;
}

@media (max-width: 767px) {
    .news-archive {
        max-width: 100%;
    }

    .news-archive-items {
        max-height: 96px;
    }
}
