
@media (max-width: 768px) {
    .ad-formats_adFormatsSlider__yyyOz {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: flex;
        padding: 0 12px 16px;
        background: transparent;
    }

    .ad-formats_adFormatsPhonesRow__qrekL {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .ad-formats_adFormatsPhonesRow__qrekL > div {
        flex: 0 0 40%;
        max-width: 100%;
        scroll-snap-align: start;
        background: transparent;
        box-shadow: none;
        /*padding: 12px;*/
        box-sizing: border-box;

        /* Ограничим высоту карточки */
        /* Чуть меньше 100%, чтобы текст не обрезался */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .ad-formats_adFormatsPhonesRow__qrekL img {
        max-width: 100%;
        height: auto;
        max-height: 50vh; /* Ограничим изображение по высоте */
        object-fit: contain;
        margin-bottom: 12px;
    }

    .ad-formats_adFormatsPhonesTitle__9y5N7,
    .ad-formats_adFormatsPhonesSubtitle__wbapa {
        text-align: center;
        font-size: 16px;
        line-height: 1.4;
        margin: 0;
    }

    .ad-formats_adFormatsPhonesTitle__9y5N7 {
        font-weight: bold;
        margin-bottom: 4px;
    }
}

