.reviews {

}

.reviews h2 {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.reviews__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.reviews__row {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    min-width: 0;
}

.reviews__grid {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.reviews__grid:not(.slick-initialized) > :not(:first-child) {
    display: none;
}

.reviews__grid .slick-list {
    margin: 0 -12px;
    overflow: hidden;
    width: 100%;
}

.reviews__grid .slick-track {
    align-items: stretch;
    display: flex;
}

.reviews__grid .slick-slide {
    float: none;
    display: flex;
    height: auto;
    min-height: 0;
}

.reviews__grid .slick-slide[aria-hidden="true"] {
    pointer-events: none;
}

.reviews__grid .slick-slide > div {
    display: flex;
    height: 100%;
    padding: 0 12px;
}

.reviews__arrow {
    align-items: center;
    background: var(--primary-red);
    border: 0;
    border-radius: 999px;
    color: var(--white);
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 24px;
    height: 48px;
    justify-content: center;
    padding: 0;
    width: 48px;
    cursor: pointer;
}

.reviews__arrow > span {
    display: none;
}

.reviews__arrow::before {
    content: var(--arrow);
}

.reviews__arrow.reviews__arrow--right::before {
    transform: rotate(180deg);
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    min-width: 0;
    padding-inline: 4px;
}

.review-card__quote {
    color: transparent;
    user-select: none;
    background: var(--quote) no-repeat;
    width: 36px;
    height: 28px;
    display: block;
}

.review-card p, .review-card span {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.review-card p {
    margin-top: 0.2rem;
    margin-bottom: 1rem;
}

.review-card h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.reviews__dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.reviews__dots .slick-dots {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.reviews__dots .slick-dots li {
    display: flex;
}

.reviews__dot, .reviews__dots .slick-dots button {
    background: transparent;
    border: 1px solid #c7c7c7;
    border-radius: 999px;
    display: block;
    height: 12px;
    padding: 0;
    text-indent: -9999px;
    width: 12px;
}

.reviews__dot--active, .reviews__dots .slick-dots .slick-active button {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.lesson-reviews {
    padding-bottom: 40px;
}

@media (max-width: 1100px) {
    .reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .reviews h2 {
        font-size: 36px;
    }

    .reviews__inner {
        align-items: stretch;
    }

    .reviews__grid:not(.slick-initialized) {
        grid-template-columns: 1fr;
    }

    .reviews__row {
        display: block;
    }

    .reviews__arrow {
        display: none;
    }

    .reviews__grid:not(.slick-initialized) > :not(:first-child) {
        display: none;
    }

    .review-card {
        gap: 24px;
    }
}
