﻿.card-slides {
    width: 100%;
    position: relative;
}

.card-slides__swiper {
    width: 100%;
    overflow: hidden;
}

.card-slides .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.card-slides .swiper-slide {
    height: auto;
    flex-shrink: 0;
    box-sizing: border-box;
}

.card-slides__card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.card-slides__hit {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.card-slides__hit--static {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.card-slides__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-slides__title {
    display: block;
}

/* Navigation */
.card-slides__prev,
.card-slides__next {
    width: 30px;
    height: 30px;
    border: 0;
  
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

    .card-slides__prev::after,
    .card-slides__next::after {
        font-size: 16px;
        font-weight: 700;
    }

    .card-slides__prev.swiper-button-disabled,
    .card-slides__next.swiper-button-disabled {
        opacity: 0;
        pointer-events: none;
    }

/* Pagination */
.card-slides__pagination {
    position: relative;
    margin-top: 16px;
}

/* Mobile */
@@media (max-width: 767px) {
    .card-slides__prev,
    .card-slides__next {
        width: 36px;
        height: 36px;
    }

        .card-slides__prev::after,
        .card-slides__next::after {
            font-size: 14px;
        }
}
