.site-news-tabs {
    display: flex !important;
    align-items: center;
    gap: 34px;
    width: 100%;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.site-news-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        0 3px 3px rgba(0, 0, 0, 0.22);
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-news-tab:hover,
.site-news-tab.active {
    color: #7c34d8;
    transform: translateY(-1px);
}

.announcement-list .announcement-item {
    min-height: 54px;
}

.site-news-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-news-summary {
    display: block;
    margin-top: 4px;
    color: #7c7488;
    font-size: 13px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-news-empty .announcement-text {
    color: #7c7488;
}

.site-news-error {
    color: #a55f14;
}

@media (max-width: 860px) {
    .site-news-tabs {
        flex-wrap: wrap;
        gap: 10px 14px;
        justify-content: center;
        overflow-x: visible;
    }

    .site-news-tab {
        font-size: 20px;
        flex: 0 0 auto;
    }

    .site-news-summary {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .site-news-tabs {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 10px 14px;
        overflow-x: visible;
    }

    .site-news-tab {
        font-size: 20px;
    }
}
