/* Боковые новости - ОВАЛЫ В РЯД */
.side-news-row {
    margin-right: -30px;
    overflow: hidden;
}

.oval-card {
    width: 220px;
    margin-right: 60px;
}

/* ОВАЛЬНЫЕ ИЗОБРАЖЕНИЯ */
.oval-image-container {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 50%/30%;
    transition: 0.25s;
}

.oval-image-container:hover {
    border-radius: 12px/12px;
}

.oval-content-wrapper {
    padding: 15px 5px 0;
    /*display: flex;
    flex-direction: column;
    flex: 1;*/
    min-height: 150px;
}

.oval-category {
    /*display: flex;*/
    align-items: center;
    margin-bottom: 8px;
    font-family: "Raleway", Helvetica;
    font-weight: 700;
    font-size: 14px;
    color: #232323;
}



.oval-image {
    max-width: unset;
    height: 100%;
    object-fit: cover;
}

.oval-content {
    /*flex: 1;*/ /* Растягивает контент на все доступное пространство */
    /*display: flex;
    flex-direction: column;*/
}

.oval-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    text-align: left;
    margin-bottom: 0; /* Убираем отступ, чтобы дата прижималась */
    /*flex-grow: 1;*/ /* Растягиваем на всё свободное место */
}


/* Дата (прижата к низу) */
.oval-date {
    font-size: 14px;
    color: #666;
    font-family: "Raleway", Helvetica;
    font-weight: 600;
    padding-top: 13px;
    margin-bottom: 0;
    position: absolute;
    bottom: 0px;
}

@media (max-width: 768px) {
    .oval-content-wrapper {
        min-height: 170px;
        max-height: 280px;
    }
}

@media (max-width: 576px) {
    .oval-content-wrapper {
        padding: 0px 5px 0;
        min-height: 160px;
        max-height: 180px;
    }
    .oval-date {
        padding-top: 0px;
    }
}

.main-slider-controls.news-slider-controls{
    right: 18px;
    bottom: -80px;
}
@media (max-width: 576px) {
    .main-slider-controls.news-slider-controls{
        bottom: -84px;
    }
    .section-home.news .section-footer{
        margin-top: 50px;
    }
    .oval-title {
        font-size: 14px;
    }
}

@media (max-width: 1300px) {
    .oval-card {
        margin-right: 30px;
    }
}

/* Адаптация */
@media (max-width: 991px) {
    .main-news {
        height: 400px;
    }

    .oval-image-container {
        min-height: 340px;
    }
}

@media (max-width: 767px) {

    .main-news {
        height: 350px;
        margin-right: 0;
        margin-bottom: 30px;
    }

    /*.side-news-row {
        flex-direction: column;
        gap: 20px;
    }*/

    .oval-card {
        width: 100%;
    }

    .oval-image-container {
        min-height: 430px;
        max-width: 280px;
        margin: 0 auto 15px;
    }
}
@media (max-width: 576px) {
    .oval-image-container {
        min-height: unset;
        max-height: 280px;
    }
}