.review {
    position: relative;
    width: 100%;
}

.review-items {
    position: relative;
    background: var(--p-color);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 640px;
}

.review-items::before,
.review-items::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    aspect-ratio: 1920 / 162;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    z-index: 1;
}

.review-items::before {
    top: -2px;
    background-image: url('../shape/shape-t.svg');
}

.review-items::after {
    bottom: -2px;
    background-image: url('../shape/shape-b.svg');
}

.review-items .section-title {
    margin-top: 90px;
}

.review-slider.swiper {
    width: 100%;
    overflow: hidden;
}

.review-cards.swiper-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.review-card-contents {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card.swiper-slide {
    display: flex;
    gap: 12px;
    align-items: start;
    background: var(--w-color);
    padding: 15px;
    border-radius: 32px;
    box-sizing: border-box;
    height: auto !important;
    flex-shrink: 0 !important;
    flex-direction: column;
}

.review-card-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 24px;
    line-height: 0;
}

.review-card-image img {
    width: 100%;
}

.review-card-info-r span {
    background: var(--p-color);
    padding: 4px 8px;
    border-radius: 8px;
    color: var(--w-color);
    font-size: 14px;
    font-weight: 500;
}

.review-card-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-card-info-l {
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-card-info-l img {
    width: 20px;
}

.review-card-info-l span {
    font-size: 16px;
    font-weight: 500;
}

.review-card-title h3 {
    font-size: 20px;
}

.review-card-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-arrows {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    z-index: 10;
    pointer-events: none;
}

.slider-r-arrow,
.slider-l-arrow {
    pointer-events: auto;
    cursor: pointer;
}

.slider-r-arrow.swiper-button-disabled,
.slider-l-arrow.swiper-button-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.slider-r-arrow {
    margin-right: 20px;
}

.slider-l-arrow {
    margin-left: 20px;
}



@media (max-width: 1400px) {
    .review-card-text p {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .review-items {
        height: 540px;
    }

    .slider-arrows {
        top: 52%;
    }
}

@media (max-width: 992px) {

    .review-items .section-title {
        margin-top: 62px;
    }

    .review-items {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .review-items {
        height: 460px;
    }

    .review-items .section-title {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .review-items {
        height: 426px;
        gap: 10px;
    }

    .review-items .section-title {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {

    .review-items::before,
    .review-items::after {
        aspect-ratio: 1920 / 172;
    }

    .review-card-title h3 {
        font-size: 18px;
    }

    .review-items {
        padding: 30px;
    }

    .review-card-info-r span {
        font-size: 12px;
    }

    .review-items {
        gap: 10px;
    }

    .slider-arrows {
        top: 80%;
        justify-content: center;
        gap: 12px;
    }

    .review-card-image {
        width: 100px;
        height: 100px;
        overflow: hidden;
        border-radius: 24px;
        line-height: 0;
    }

}

@media (max-width: 400px) {
    .review-card-image {
        width: 90px;
        height: 90px;
        overflow: hidden;
        border-radius: 24px;
        line-height: 0;
    }

    .review-items {
        padding: 20px;
    }
}