.team-carousel {
    margin-top: 0.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.team-carousel__track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding-bottom: 0.25rem;
}

.team-carousel__track::-webkit-scrollbar {
    display: none;
}

.team-carousel__slide {
    flex: 0 0 calc((100% - 30px) / 3);
    scroll-snap-align: start;
    min-width: 0;
}

.team-carousel__slide--empty {
    flex: 1 0 100%;
}

.team-carousel .team {
    margin-bottom: 0;
    margin-top: 0;
    height: 100%;
}

.team-carousel .team .thumbnail {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #0f0f0f;
}

.team-carousel .team .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.team-carousel__dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1.75rem;
    min-height: 1rem;
}

.team-carousel__dots:empty {
    display: none;
}

.team-carousel__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #f9004d;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.team-carousel__dot:hover,
.team-carousel__dot:focus-visible {
    opacity: 0.7;
    outline: none;
}

.team-carousel__dot.is-active {
    opacity: 1;
    transform: scale(1.15);
}

.product-photo-carousel .team .thumbnail,
.product-photo-carousel .team .thumbnail.home-media-cover {
    aspect-ratio: 4 / 3;
}

.product-photo-carousel .product-photo-card .content {
    padding-top: 0.85rem;
}

.product-photo-carousel .product-photo-card .title {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.product-photo-carousel__more {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
}

@media (max-width: 575px) {
    .product-photo-carousel .team .thumbnail,
    .product-photo-carousel .team .thumbnail.home-media-cover {
        aspect-ratio: 4 / 3;
    }
}

    .team-carousel__slide {
        flex: 0 0 calc((100% - 15px) / 2);
    }
}

@media (max-width: 575px) {
    .team-carousel__slide {
        flex: 0 0 100%;
    }

    .team-carousel .team .thumbnail {
        aspect-ratio: 4 / 5;
    }
}
