.home-reviews__slider { overflow: hidden; }
.home-reviews__slider .swiper-slide { height: auto; }
.home-review {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}
.home-review__rating { display: flex; gap: 4px; }
.home-review__rating img { display: block; }
.home-review__star--inactive { filter: grayscale(1); opacity: 0.45; }
.home-review blockquote { font-size: 1.375rem; font-weight: 500; line-height: normal; }
.home-review__author {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-weight: 500;
    line-height: normal;
}
.home-review__author p + p { color: var(--color-text-muted); font-size: 0.875rem; font-weight: 400; }

.home-reviews__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}
.home-reviews__pagination.swiper-pagination-horizontal {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: auto;
}
.home-reviews__pagination.swiper-pagination-horizontal .swiper-pagination-bullet {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin: 0;
    background: #ccc;
    opacity: 1;
}
.home-reviews__pagination.swiper-pagination-horizontal .swiper-pagination-bullet-active {
    background: var(--color-brand);
}
.home-reviews__controls button {
    display: grid;
    place-items: center;
    width: 100px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--color-text-muted);
    cursor: pointer;
}
.home-reviews__controls button::before {
    content: "";
    width: 28px;
    height: 28px;
    background: currentColor;
    mask: url("../../../icons/home/review-next.svg") center no-repeat;
}
.home-reviews__controls [data-review-prev]::before { transform: rotate(180deg); }
@media not (pointer: coarse) {
    .home-reviews__controls button:hover {
        color: var(--color-brand);
        border-color: var(--color-brand);
    }
}
.home-reviews__controls button:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; }
.home-reviews__controls .swiper-button-disabled { opacity: 0.4; cursor: default; }
.home-reviews__controls .swiper-button-lock,
.home-reviews__controls .swiper-pagination-lock { display: none; }

@media (min-width: 769px) {
    .home-reviews__controls button { position: absolute; top: 0; }
    .home-reviews__controls [data-review-prev] { right: calc(var(--layout-gutter) + 116px); }
    .home-reviews__controls [data-review-next] { right: var(--layout-gutter); }
}

@media (max-width: 768px) {
    .home-reviews { overflow: hidden; }
    .home-page > .home-reviews > .section-title { margin-bottom: 32px; }
    .home-reviews__slider { overflow: visible; }
    .home-review { gap: 16px; padding: 16px; }
    .home-review__rating { gap: 3.11px; }
    .home-review blockquote { font-size: 1.125rem; }
    .home-review__author { padding-top: 16px; font-size: 0.875rem; }
    .home-review__author p + p { font-size: 0.75rem; }
    .home-reviews__controls { margin-top: 24px; }
    .home-reviews__pagination.swiper-pagination-horizontal { max-width: 46%; flex-wrap: wrap; }
    .home-reviews__controls button { flex: 1; min-width: 0; height: 40px; }
    .home-reviews__controls button::before {
        width: 23px;
        height: 23px;
        mask-image: url("../../../icons/home/review-arrow-mobile.svg");
    }
}
