/* Главная: карусель одобренных отзывов (стиль карточек как на hotel-details). */

.home-reviews-section {
    padding: var(--section-padding-y) 0;
}

.home-reviews-swiper-wrap {
    position: relative;
    padding: 0 0.25rem 0.25rem;
}

.home-reviews-swiper {
    overflow: hidden;
    padding-bottom: 2.5rem;
    box-sizing: border-box;
}

.home-reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

.home-reviews-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-self: stretch;
}

.home-reviews-swiper .home-review-card {
    width: 100%;
    flex: 1 1 auto;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* Avatar-размеры наследуются из .review-card (hotel-details.css) */

.home-reviews-swiper .home-review-card__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    min-height: 100%;
    flex: 1;
}

.home-reviews-swiper .home-review-card__main {
    flex: 1 1 auto;
    min-width: 0;
}

.home-reviews-swiper .home-review-card__foot {
    margin-top: auto;
    flex-shrink: 0;
    padding-top: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.home-reviews-swiper .home-review-card__foot .btn {
    width: auto;
    max-width: 100%;
}

/* Звёзды наследуют из .review-card (hotel-details.css); дублировать не нужно */

.home-review-hotel {
    font-size: var(--text-xs);
    line-height: 1.35;
    margin: 0 0 0.35rem;
}

.home-review-hotel__link {
    font-weight: var(--font-weight-section);
    color: var(--primary-on-light);
    text-decoration: none;
}

@media (hover: hover) {
    .home-review-hotel__link:hover {
        text-decoration: underline;
    }
}

.home-review-hotel__city {
    display: block;
    font-weight: var(--font-weight-regular);
    font-size: var(--text-xs);
    margin-top: 0.1rem;
}

.home-review-text {
    margin-top: 0.5rem;
    font-size: var(--text-sm);
    line-height: var(--line-height-body);
    color: var(--gray);
}

.home-reviews-swiper .swiper-button-prev,
.home-reviews-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    background: var(--white-alpha-95);
    border-radius: 50%;
    box-shadow: var(--shadow-card-glass);
    top: 42%;
    margin-top: 0;
}

@media (hover: hover) {
    .home-reviews-swiper .swiper-button-prev:hover,
    .home-reviews-swiper .swiper-button-next:hover {
        background: var(--primary-color);
    }
}

.home-reviews-swiper .swiper-button-prev::after,
.home-reviews-swiper .swiper-button-next::after {
    font-size: var(--text-base);
    font-weight: bold;
    color: var(--dark);
}

@media (hover: hover) {
    .home-reviews-swiper .swiper-button-prev:hover::after,
    .home-reviews-swiper .swiper-button-next:hover::after {
        color: var(--white);
    }
}

.home-reviews-swiper .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.5rem;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.home-reviews-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--neutral);
    opacity: 1;
    transition: width var(--motion-base) var(--ease-standard), background var(--motion-base) var(--ease-standard);
}

.home-reviews-swiper .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    background: var(--primary-color);
}

@media (max-width: 575.98px) {
    .home-reviews-swiper .swiper-button-prev,
    .home-reviews-swiper .swiper-button-next {
        display: none;
    }
}
