section.news-text-mp {
    padding-top: 120px;
}

.news-text-mp div.h1 {
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
}

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

.news_all a {
    width: 193px;
    padding: 10px 32px 9px 32px !important;
}
.news-pagination{
    display: none;
}
/* --- БАЗОВЫЕ СТИЛИ ЭЛЕМЕНТОВ --- */
.news-pic img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.news-info {
    padding: 10px 0;
}

.news-text {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
    color: #333;
}

.news-preview {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    padding: 10px 0;
}

.news-date {
    line-height: 1.4;
    color: #989898;
    font-size: 16px !important;
}

/* --- ДЕСКТОП (ОТОБРАЖЕНИЕ СЕТКОЙ 4 В РЯД) --- */
@media screen and (min-width: 993px) {
    .news-grid.swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        transform: none !important; /* Убираем влияние скрипта Swiper */
        width: calc(100% + 20px) !important;
        margin: 0 -10px !important;
    }

    .news-item.swiper-slide {
        width: calc(25% - 20px) !important; /* Ровно 4 в ряд */
        margin: 10px !important;
        display: flex;
        flex-direction: column;
        background: #fff;
        box-sizing: border-box;
        flex-shrink: 0;
    }
}

/* --- МОБИЛЬНЫЕ И ПЛАНШЕТЫ (СЛАЙДЕР) --- */
@media screen and (max-width: 992px) {
    .news-swiper-container {
        overflow: hidden;
        position: relative;
        padding-bottom: 40px;
    }

    .news-grid.swiper-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important; /* Только в одну строку для слайдера */
        margin: 0 !important;
        width: 100% !important;
    }

    .news-item.swiper-slide {
        width: 100%; /* Ширину контролирует JS через slidesPerView */
        margin: 0;
    }

}
