.ClientsBlock {
    overflow: hidden;
}
.revievs__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 80px;
    margin-bottom: 32px;
}

.revievs__head__title {
    color: #131313;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.revievs__head__all {
    color: #131313;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: underline !important;
}

.revievs__head__all:hover {
    color: #d0ab83;
}

.revievs__videos {
    overflow: hidden;
    width: 100%;
}

.revievs__videos > .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.revievs__videos__video {
    position: relative;
    overflow: hidden;
    min-width: 0;
    height: 508px;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.revievs__videos__video::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 50%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.revievs__videos__video.is-playing::after {
    opacity: 0;
}

.revievs__videos__video.is-playing.is-paused::after {
    opacity: 1;
}

.revievs__videos__video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.revievs__videos__video.is-playing video {
    opacity: 1;
    pointer-events: auto;
}

.revievs__videos__video__block {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
}

.revievs__videos__video__block__inner {
    min-width: 0;
}

.revievs__videos__video__block__inner span {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.revievs__videos__video__block__date {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.revievs__videos__video__block__svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #131313;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.revievs__videos__video__block__svg:focus {
    outline: none;
}

.revievs__videos__video__block__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    cursor: pointer;
    transform: translate(-50%, -50%);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.revievs__videos__video__block__play:focus {
    outline: none;
}

.swiper-pagination-reviews {
    display: none;
}

.swiper-pagination-bullet-theme {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: #d9d9d9;
    opacity: 1;
}

.swiper-pagination-bullet-theme-active {
    background: #d0ab83;
}

.receipt-modal[hidden] {
    display: none;
}

.receipt-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 170px;
}

.receipt-modal__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.62);
    cursor: pointer;
}

.receipt-modal__content {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    padding: 32px;
    border-radius: 8px;
    background: #fff;
}

.receipt-modal__content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
}

@media (max-width: 1440px) {
    .revievs__videos__video {
        height: 400px;
    }
}

@media (max-width: 1000px) {
    .revievs__videos > .swiper-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .revievs__videos > .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .revievs__head {
        align-items: flex-start;
        margin-top: 48px;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .revievs__head__title {
        font-size: 24px;
    }

    .revievs__head__all {
        font-size: 14px;
    }

    .revievs__videos {
        box-sizing: border-box;
        width: calc(100% + 32px);
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
        overflow: visible;
    }

    .revievs__videos > .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    .revievs__videos__video {
        height: 507px;
    }

    .revievs__videos__video__block {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .revievs__videos__video__block__inner span {
        font-size: 16px;
    }

    .swiper-pagination-reviews {
        display: flex;
        justify-content: center;
        margin-top: 18px;
    }

    .receipt-modal {
        padding: 24px 16px;
    }

    .receipt-modal__content {
        padding: 20px;
    }
}
