.review__inner {
    width: min(375px, 100% - 30px);
    margin: 0 auto;
    display: grid;
    grid-template-areas:
        "header"
        "slider"
        "navigation";
    gap: 22px;
}

@media (min-width: 768px) {
    .review__inner {
        width: min(768px, 100% - 48px);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .review__inner {
        width: min(1460px, 100% - 40px);
        grid-template-columns: 250px minmax(0, 1fr);
        grid-template-areas:
            "header slider"
            "navigation slider";
        column-gap: 50px;
        row-gap: 30px;
        align-items: start;
    }
}

.review__header {
    grid-area: header;
}

.review__title {
    font-weight: 900;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin: 0;
    text-align: center;
    color: #ccbcff;
}

@media (min-width: 768px) {
    .review__title {
        font-size: 38px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-align: left;
    }
}

.review__slider {
    grid-area: slider;
    width: 100%;
    overflow: hidden;
    margin-top: 18px;
}

.review__slider:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
}

.review__slider:not(.swiper-initialized) .review__slide {
    min-width: 0;
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .review__slider {
        margin-top: 0;
    }

    .review__slider:not(.swiper-initialized) .review__slide {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (min-width: 1024px) {
    .review__slider:not(.swiper-initialized) .swiper-wrapper {
        gap: 30px;
    }

    .review__slider:not(.swiper-initialized) .review__slide {
        flex-basis: calc((100% - 60px) / 3);
    }
}

.review__card {
    height: 100%;
    min-width: 0;
}

.review__image {
    display: block;
    width: 100%;
}

.review__image-file {
    display: block;
    width: 100%;
    height: auto;
}

.review__navigation {
    grid-area: navigation;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .review__navigation {
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .review__navigation {
        justify-content: flex-start;
    }
}

.review__button {
    position: static;
    width: 30px;
    height: 30px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transform: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .review__button:hover {
        color: #fff;
    }
}

.review__button-icon {
    display: block;
    width: 7px;
    height: 12px;
}

.review__button--next .review__button-icon {
    transform: rotate(180deg);
}

.review__navigation .review__pagination.swiper-pagination {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    display: flex;
    justify-content: center;
}

.review__navigation .review__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    border-radius: 50%;
}

.review__navigation .review__pagination .swiper-pagination-bullet-active {
    background: #fff;
    box-shadow: 0 0 28px rgba(26, 17, 66, 0.18), 0 0 28px #f2f2f2, 0 0 24px #f2f2f2, 0 0 12px #f2f2f2, 0 0 6px #f2f2f2, 0 0 3px #f2f2f2;
}

@media (min-width: 768px) {
    .review__navigation .review__pagination .swiper-pagination-bullet-active {
        box-shadow: 0 0 80px rgba(26, 17, 66, 0.2), 0 0 80px #f2f2f2, 0 0 72px #f2f2f2, 0 0 36px #f2f2f2, 0 0 10px #f2f2f2, 0 0 5px #f2f2f2;
    }
}
