.news-tabs-block {
    border: 1px solid #ddd;
    padding: 1rem;
}

.news-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.news-tab {
    border: 1px solid #ccc;
    background: #f6f6f6;
    padding: .5rem .8rem;
    cursor: pointer;
}

.news-tab.is-active {
    background: #111;
    color: #fff;
}

.news-tabs-content {
    position: relative;
}

.news-tabs-block .news-panel[hidden],
.news-tabs-block .news-panel:not(.is-active) {
    display: none !important;
}

.news-tabs-block .news-panel.is-active:not([hidden]) {
    display: block !important;
}

.news-list {
    display: grid;
    gap: 1rem;
}

.news-item {
    display: grid;
    grid-template-columns: minmax(90px, 180px) 1fr;
    gap: 1rem;
    align-items: start;
}

.news-item:has(.news-body:first-child) {
    grid-template-columns: 1fr;
}

.news-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    color: #777;
    margin-bottom: .35rem;
}

.news-title {
    display: block;
    font-weight: 600;
    text-decoration: none;
}

.news-load-more {
    margin-top: 1rem;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    font-size: 1.2rem;
}

.news-load-more:disabled {
    opacity: .5;
    cursor: wait;
}

.news-tabs-empty {
    padding: 1rem;
    border: 1px dashed #ccc;
}

@media (max-width: 600px) {
    .news-item {
        grid-template-columns: 1fr;
    }
}
