/* ==========================================================================
   Bloque: Galería Swiper + embed privado
   ========================================================================== */
.swiper {
    width: 100%;
    /*height: 300px;*/
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
}

.mySwiper2 .swiper-slide {
    display: flex;
    flex-direction: column;
}

.mySwiper2 .swiper-slide img {
    height: auto;
    aspect-ratio: 16 / 9;
}

.nintenduo-gallery-caption-bar {
    margin-top: 8px;
    margin-bottom: 6px;
    min-height: 20px;
    font-size: var(--caption-size, 14px);
    line-height: 1.4;
    color: var(--nintenduo-caption-muted-color, #757575);
    text-align: left;
}

.nintenduo-gallery-caption-bar:empty {
    display: none;
}

.mySwiper {
    height: 20%;
    box-sizing: border-box;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6;
}

.mySwiper .swiper-slide img {
    border-radius: 0;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-next:hover {
    background-color: rgba(26, 26, 26, 0.8);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.swiper-button-prev:hover {
    background-color: rgba(26, 26, 26, 0.8);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1) rotate(180deg);
}

div[class^="swiper-button-"] {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 26, 26, 0.4);
    border-radius: 50%;
    transition: all .3s ease-in-out;
}

div[class^="swiper-button-"]:after {
    content: "";
}

div[class^="swiper-button-"] svg {
    width: 38px !important;
    height: 26px !important;
}

.swiper-button-prev {
    transform: rotate(180deg);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}



/* acf/embed-private */

.embed-private iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1150px) {
    .swiper-thumbs {
        height: 61px;
    }

    .swiper-thumbs .swiper-slide {
        width: 109px !important;
        margin-right: 16px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    div[class^="swiper-button-"] {
        width: 48px;
        height: 48px;
    }

    div[class^="swiper-button-"] svg {
        width: 28px !important;
        height: 19px !important;
    }

    .swiper-thumbs .swiper-slide {
        width: 165px;
        /*height: 91px;*/
    }
}
