/* Explain: Styles for the homepage testimonials carousel. */
/* Homepage testimonials carousel — swipeable review cards that save page space. */

.review-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.review-track::-webkit-scrollbar {
    display: none;
}
.review-track:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.review-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
}
.review-slide > figure {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .review-slide {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}
@media (min-width: 1024px) {
    .review-slide {
        flex-basis: calc((100% - 3rem) / 3);
    }
}

.review-nav {
    display: flex;
    gap: 0.5rem;
}
.review-nav .cal-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.review-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.5rem;
}
.review-dot {
    width: 0.6rem;
    height: 0.6rem;
    padding: 0;
    border: 1px solid var(--secondary-color);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.review-dot:hover {
    background: var(--surface-alt);
}
.review-dot:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.review-dot.is-on {
    width: 1.6rem;
    background: var(--primary-color);
    border-color: var(--primary-color);
}