.news-slider-wrapper {
    margin: 16px -16px;
    padding: 0 16px;
}
.news-slider {
    overflow: hidden;
}
.news-slider .swiper-slide {
    width: 20vw; /* 20% ширины экрана */
    min-width: 120px; /* минимальная ширина для маленьких экранов */
}
.news-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    height: 100%;
}
.news-image {
    position: relative;
    padding-top: 177.78%; /* Соотношение 9:16 */
    background: #f0f0f0;
}
.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* 20% затемнение */
    z-index: 1;
}
.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.news-content h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.news-excerpt {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 12px;
}
.swiper-pagination-bullet {
    background: var(--tg-theme-hint-color, #666666);
}
.swiper-pagination-bullet-active {
    background: var(--tg-theme-button-color, #2481cc);
} 