.main {
    overflow: hidden;
}

.reviews {
    padding: 5em 0;
    position: relative;
    font-size: 16px;
}

.reviews-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.reviews-title {
    color: #212529;
    text-align: center;
}

.reviews-swiper {
    padding: 40px 0 40px 0 !important;
    --swiper-theme-color: #212529;
    --swiper-navigation-size: 14px;
    /* --swiper-navigation-sides-offset: -10px; */

    overflow: visible !important;
}

.reviews-swiper:before {
    background: rgba(255, 255, 255, 0.377);
    backdrop-filter: blur(3px);
    content: "";
    height: 100%;
    position: absolute;
    right: 100%;
    top: 0;
    transform: scaleX(-1);
    width: calc(50vw - 50%);
    z-index: 3;
}

.reviews-swiper:after {
    background: rgba(255, 255, 255, 0.377);
    backdrop-filter: blur(3px);
    content: "";
    height: 100%;
    position: absolute;
    left: 100%;
    top: 0;
    transform: scaleX(-1);
    width: calc(50vw - 50%);
    z-index: 3;
}

.de-gray-bg .reviews-swiper:before,
.de-gray-bg .reviews-swiper:after {
    background: #f8f5f5bf;
}

.reviews-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 60px 1fr;
    grid-template-rows: min-content min-content auto;
    gap: 1em;
    padding: 2em;

    border-radius: 1em;
    background: #f8f5f5;

    height: auto !important;
}

.de-gray-bg .reviews-card {
    background: #fff;
}

.reviews-card img {
    max-width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}

.reviews-card__person {
    grid-area: 1 / 2 / 1 / 2;
}

.reviews-card__name {
    font-size: 1.2em;
    font-weight: bold;
    color: #212529;
}

.reviews-card__position {
    color: #212529;
    font-size: 0.8em;
}

.reviews-card__text {
    font-size: 0.8em;
}

.reviews-card__pic {
    grid-area: 1 / 1 / 1 / 1;
}

.reviews-card__text {
    grid-area: 3 / 1 / 3 / 3;
}


.reviews .swiper-pagination-bullet {
    transition: all 0.3s;
}

.reviews .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 2em;
    border-radius: 5px;
}

.reviews .swiper-button-prev,
.reviews .swiper-button-next {
    width: 2em;
    height: 2em;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
