.esun-awards-reviews {
    --awards-green: #12ad5c;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 0 74px;
    max-width: 1920px;
    margin: 90px auto 0;
}

/*.esun-awards-reviews *,*/
/*.esun-awards-reviews *::before,*/
/*.esun-awards-reviews *::after {*/
/*    box-sizing: border-box;*/
/*}*/

.esun-awards-reviews__heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 58px;
    max-width: 1440px;
    padding: 0 24px;
}

.esun-awards-reviews__heading h2 {
    color: #303030;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 6px;
    margin: 0;
    position: relative;
    text-transform: uppercase;
}

.esun-awards-reviews__heading h2::after {
    background: var(--awards-green);
    bottom: -24px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 70px;
}

.esun-awards-reviews__navigation {
    display: flex;
    gap: 16px;
}
.esun-awards-reviews__previous {
    padding-right: 9px;
    background: #fff;
}
.esun-awards-reviews__previous {
    padding-right: 9px;
}
.esun-awards-reviews__next {
    padding-left: 9px;
}
.esun-awards-reviews__previous:hover,
.esun-awards-reviews__next:hover {
    background: #18a957;
    color: #fff;
}
.esun-awards-reviews__previous:hover .arrow-left {
    border-color: #fff;
}
.esun-awards-reviews__previous,
.esun-awards-reviews__next {
    align-items: center;
    border: 1px solid var(--awards-green);
    border-radius: 50%;
    box-shadow: none;
    color: var(--awards-green);
    display: flex;
    font-size: 34px;
    height: 52px;
    justify-content: center;
    line-height: 1;
    width: 52px;
}

.esun-awards-reviews__next {
    background: var(--awards-green);
    color: #fff;
}

.esun-awards-reviews__slider {
    overflow: visible;
    padding: 28px 0 48px;
}

.esun-awards-reviews__slide {
    align-items: center;
    display: flex;
    height: 450px;
    opacity: 0.35;
    transition: opacity 0.45s ease;
}

.esun-awards-reviews__slide.swiper-slide-active {
    opacity: 1;
    z-index: 2;
}

.esun-awards-reviews__card {
    border-radius: 34px;
    box-shadow: none;
    height: 270px;
    overflow: visible;
    position: relative;
    transition:
        height 0.45s ease,
        box-shadow 0.45s ease,
        transform 0.45s ease;
    width: 100%;
}

.esun-awards-reviews__slide.swiper-slide-active .esun-awards-reviews__card {
    box-shadow: 0 24px 48px rgba(36, 68, 50, 0.2);
    height: 450px;
    transform: translateY(-12px);
}

.esun-awards-reviews__thumbnail,
.esun-awards-reviews__image {
    border-radius: 34px;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: opacity 0.4s ease;
    width: 100%;
}

.esun-awards-reviews__image {
    opacity: 0;
}

.esun-awards-reviews__slide.swiper-slide-active
    .esun-awards-reviews__thumbnail {
    opacity: 0;
}

.esun-awards-reviews__slide.swiper-slide-active .esun-awards-reviews__image {
    opacity: 1;
}

.esun-awards-reviews__copy {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 34px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
    opacity: 0;
    padding: 38px 42px;
    position: absolute;
    right: -72px;
    top: 50%;
    transform: translate(20px, -50%);
    transition:
        opacity 0.35s ease 0.12s,
        transform 0.4s ease 0.08s;
    visibility: hidden;
    width: min(450px, 48%);
    z-index: 3;
}

.esun-awards-reviews__slide.swiper-slide-active .esun-awards-reviews__copy {
    opacity: 1;
    transform: translate(0, -50%);
    visibility: visible;
}

.esun-awards-reviews__copy h3 {
    color: #191919;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 42px;
    position: relative;
}

.esun-awards-reviews__copy h3::after {
    background: var(--awards-green);
    bottom: -22px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 58px;
}

.esun-awards-reviews__description {
    color: #667084;
    font-size: 16px;
}

@media (max-width: 767px) {
    .esun-awards-reviews {
        background: linear-gradient(180deg, #fff 35%, #f3faf5 100%);
        margin-top: 56px;
        padding-bottom: 90px;
    }

    .esun-awards-reviews__heading {
        margin-bottom: 42px;
        padding: 0 15px;
    }

    .esun-awards-reviews__heading h2 {
        font-size: 27px;
        letter-spacing: 3px;
    }

    .esun-awards-reviews__previous,
    .esun-awards-reviews__next {
        font-size: 28px;
        height: 42px;
        width: 42px;
    }

    .esun-awards-reviews__slide {
        height: clamp(460px, 76vw, 550px);
    }

    .esun-awards-reviews__card {
        height: clamp(300px, 52vw, 375px);
    }

    .esun-awards-reviews__slide.swiper-slide-active .esun-awards-reviews__card {
        height: clamp(360px, 62vw, 450px);
        transform: none;
    }

    .esun-awards-reviews__card,
    .esun-awards-reviews__thumbnail,
    .esun-awards-reviews__image {
        border-radius: 24px;
    }

    .esun-awards-reviews__copy {
        bottom: clamp(-100px, -14vw, -56px);
        left: 7%;
        padding: clamp(20px, 4vw, 28px);
        right: 7%;
        top: auto;
        transform: translateY(18px);
        width: auto;
    }

    .esun-awards-reviews__slide.swiper-slide-active .esun-awards-reviews__copy {
        transform: translateY(0);
    }

    .esun-awards-reviews__copy h3 {
        font-size: clamp(18px, 3.4vw, 24px);
        line-height: 1.35;
        margin-bottom: 34px;
    }

    .esun-awards-reviews__description {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        display: -webkit-box;
        font-size: clamp(13px, 2.2vw, 16px);
        line-height: 1.45;
        overflow: hidden;
    }
}
