.update-news-feed {
    --news-gap: 24px;
    --news-card-width: calc((100% - 2 * var(--news-gap)) / 3);
    display: flex;
    align-items: stretch;
    gap: var(--news-gap);
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.update-news-feed::-webkit-scrollbar { display: none; }
.update-news-feed:focus-visible { outline: 2px solid #e8b735; outline-offset: 4px; }
.update-news-feed.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.update-news-feed > .update-news-card,
.update-news-feed > .update-news-end {
    flex: 0 0 var(--news-card-width);
    width: var(--news-card-width);
    min-width: 0;
    scroll-snap-align: start;
}

.update-news-feed > .update-news-card .news-block__image { aspect-ratio: 1; }
.update-news-card .news-block__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.update-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.update-news-meta .news-block__date { margin: 0; }
.update-news-end {
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 24px;
    min-height: 170px;
    background: #22252d;
    border-radius: 20px;
}

.update-news-controls { display: flex; gap: 12px; }
.update-news-controls[hidden] { display: none; }
.update-news-controls button { width: 46px; height: 46px; padding: 0; justify-content: center; }
.update-news-controls button:disabled { opacity: .35; cursor: default; }
.update-news-arrow-back { display: inline-block; transform: rotate(180deg); }

@media (max-width: 991.98px) {
    .update-news-feed { --news-card-width: calc((100% - var(--news-gap)) / 2); }
}
@media (max-width: 575.98px) {
    .update-news-feed { --news-gap: 16px; --news-card-width: 100%; }
    .update-news-card { gap: 16px; }
}
