.responsive-slider {
    position: relative;
    padding-top: 24px;
}

.responsive-slider__slide {
    height: auto;
    aspect-ratio: 0.81;
    background: var(--bg-clr-2) url("../img/placeholder.png") center no-repeat;
    border-radius: var(--main-chamfer);
    overflow: hidden;
}

.responsive-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.responsive-slider__nav {
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    -ms-flex-align: center;
    align-items: center;
}

@media (min-width: 767.98px) {
    .responsive-slider__nav {
        position: absolute;
        bottom: 100%;
        right: 0;
    }
}

@media (min-width: 1023.98px) {
    .responsive-slider {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-auto-rows: 1fr;
        gap: 24px;
    }

    .responsive-slider__nav {
        display: none;
    }

    .responsive-slider__slider,
  .responsive-slider__swiper {
        display: contents;
    }
}

@media (max-width: 1023.98px) {
    .responsive-slider__slider {
        overflow: visible;
    }

    .responsive-slider__slide {
        width: 292px;
    }
}

@media (max-width: 767.98px) {
    .responsive-slider__nav {
        margin-top: 32px;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}