

.top-news-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 24px;
    background: #f7faf7;
    border-radius: 18px;
}

.top-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.top-news-header h2 {
    margin: 0;
    font-size: 28px;
    color: #222;
}

.top-news-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
}

.top-news-card {
    position: relative;
    flex: 0 0 260px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    scroll-snap-align: start;
}

.top-news-image-link {
    display: block;
    height: 170px;
    background: #fff;
}

.top-news-image-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.top-news-no-image {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f7d46;
    font-size: 22px;
    font-weight: bold;
}

.top-news-body {
    padding: 16px;
}

.top-news-category {
    display: inline-block;
    background: #e0f2e9;
    color: #1b7f3a;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.top-news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.top-news-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.5;
}

.top-news-body h3 a {
    color: #222;
    text-decoration: none;
}

.top-news-body p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.top-news-button {
    display: inline-block;
    margin-top: 10px;
    padding: 9px 18px;
    background: #2f7d46;
    color: #fff !important;
    text-decoration: none;
    border-radius: 999px;
    font-weight: bold;
}

.top-news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

.top-news-badge.important {
    background: #d32f2f;
}

.top-news-badge.finished {
    background: rgba(0,0,0,.65);
    left: 10px;
    top: 48px;
}

.top-news-empty {
    color: #666;
}

@media (max-width: 600px) {
    .top-news-section {
        margin: 24px 12px;
        padding: 18px;
    }

    .top-news-card {
        flex-basis: 230px;
    }

    .top-news-header h2 {
        font-size: 22px;
    }
}
