.media-carousel .swiper-slide img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.media-carousel .swiper-slide {
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
}

.main-carousel {
    margin-bottom: 0.625rem;
}

@media (max-width: 767px) {
    .main-carousel {
        margin-bottom: 0.5rem;
    }
}

.media-carousel .thumbs {
    overflow: visible;
}

.media-carousel .thumbs .swiper-slide {
    width: 25%;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.2s;
}

.media-carousel .thumbs .swiper-slide:hover {
    opacity: 0.7;
}

.media-carousel .thumbs .swiper-slide-thumb-active {
    opacity: 1;
    cursor: unset;
}

.media-carousel .thumbs .swiper-slide.swiper-slide-thumb-active:hover {
    opacity: 1;
}

.media-carousel .media-carousel__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.media-carousel .swiper-pagination {
    position: relative;
    bottom: unset;
    width: auto;
    min-width: 3.188rem;
    font-size: 0.875rem;
    user-select: none;
}

.media-carousel .media-carousel__button-prev,
.media-carousel .media-carousel__button-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 4.375rem;
    width: 100%;
    height: 2.5rem;
    box-sizing: border-box;
    border: 1px solid #00000026;
    border-radius: 100rem;
    transition: border-color 0.2s;
    cursor: pointer;
}

.media-carousel .media-carousel__button-prev:hover,
.media-carousel .media-carousel__button-next:hover {
    border-color: #000000;
}

.media-carousel iframe {
    width: 100%;
    height: 100%;
}

.media-carousel .swiper-slide[data-video] {
    cursor: pointer;
}

.media-carousel .cover-video-play {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.media-carousel .cover-video-play::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index: -1;
    width: 100%;
    bottom: 0;
}

.media-carousel .video-play {
    align-items: center;
    border: 1px solid #ffffff;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    transition: all 0.2s;
    height: 4.375rem;
    width: 4.375rem;
    position: relative;
    z-index: 3;
}

.media-carousel .video-play:after {
    background-color: #ffffff;
    content: '';
    height: 3.5rem;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    transition: all 0.2s;
    width: 3.5rem;
    border-radius: 100%;
    z-index: 1;
}

.media-carousel .video-play svg {
    height: auto;
    width: 0.9rem;
    right: -0.1rem;
    position: relative;
    color: #000000;
    transition: all 0.2s;
    z-index: 2;
}

.media-carousel .swiper-slide:hover .video-play {
    background-color: #ffffff;
}

.media-carousel .swiper-slide:hover .video-play::after {
    background-color: var(--e-global-color-accent);
}

.media-carousel .thumbs .thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.media-carousel .thumbs .thumb-play::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: inherit;
    z-index: -1;
}

.media-carousel .thumbs .thumb-play svg {
    height: auto;
    width: 0.9rem;
    color: #fff;
    z-index: 1;
}
