@media (max-width: 768px) {

    .myAutoSwiper .swiper-wrapper {
        height: 100%;
    }

    .myAutoSwiper .swiper-slide {
        position: relative;
        width: 100%;
        height: 100vh;
        background: transparent;
        overflow: hidden;
    }

    .nested-gallery {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    .nested-gallery .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nested-gallery .swiper-pagination {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 8px;
        height: auto;
        width: auto;
    }

    .nested-gallery .swiper-pagination-bullet {
        display: block !important;
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.8);
        opacity: 1;
        border-radius: 50%;
        margin: 0;
    }

    .nested-gallery .swiper-pagination-bullet-active {
        background: #fff;
        width: 14px;
        height: 14px;
    }

    .nested-gallery .swiper-button-prev,
    .nested-gallery .swiper-button-next {
        color: #fff;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    }

    .overlay-info {
        position: absolute;
        left: 20px;
        bottom: 20px;
        width: 90%;
        color: #fff;
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
        border-radius: 10px;
        z-index: 3;
    }

    .overlay-info h2 {
        font-size: 24px;
        margin: 0 0 5px;
    }

    .overlay-info h4 {
        font-size: 16px;
        margin: 0 0 10px;
    }

    .overlay-info .description-box {
        font-size: 14px;
        line-height: 1.4;
        max-height: 100px;
        overflow: hidden;
    }

    .action-buttons {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 20px;
        z-index: 4;
    }

    .action-buttons button {
        background: rgba(255, 0, 79, 1);
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 15px rgba(255, 0, 79, 0.5);
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .action-buttons button:hover {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(255, 0, 79, 0.8);
    }

    .main-pagination {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        z-index: 10;
    }

    .main-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: rgba(255, 255, 255, 0.5);
        margin: 8px 0;
    }

    .main-pagination .swiper-pagination-bullet-active {
        background: #fff;
        width: 16px;
        height: 16px;
    }

}










































.myAutoSwiper {
    /*height: 100vh;
    width: 100%;
    position: relative;
    background: #000;  Csak fallback, ha nincs kép */
}

.myAutoSwiper .swiper-wrapper {
    height: 100%;
}

.myAutoSwiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    background: transparent; /* Slide maga átlátszó legyen */
    overflow: hidden;
}

/* Belső galléria mindig a legalsó rétegben, de a slide felett */
.nested-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.nested-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galléria dot-style pagination */
.nested-gallery .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 5;
    text-align: left;
}

.nested-gallery .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
    margin: 5px 0;
}

.nested-gallery .swiper-pagination-bullet-active {
    background: #fff;
    width: 12px;
    height: 12px;
}

/* Galléria navigáció */
.nested-gallery .swiper-button-prev,
.nested-gallery .swiper-button-next {
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

/* Overlay info mindig a kép fölött */
.overlay-info {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 90%;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    z-index: 3;
}

.overlay-info h2 {
    font-size: 24px;
    margin: 0 0 5px;
}

.overlay-info h4 {
    font-size: 16px;
    margin: 0 0 10px;
}

.overlay-info .description-box {
    font-size: 14px;
    line-height: 1.4;
    max-height: 100px;
    overflow: hidden;
}

/* Like + Egyéb gombok jobb oldalt vertikálisan, középen */
.action-buttons {
    position: absolute;
    right: -5px;
    top: -90%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 4;
}

/* Egyes gombok */
.action-buttons button {
    background: rgba(255, 0, 79, 1);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 0, 79, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-buttons button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 79, 0.8);
}


/* Fő pagination */
.main-pagination {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.main-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    margin: 8px 0;
}

.main-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 16px;
    height: 16px;
}

/* Navigációk (gallery belső swiper) */
.nested-gallery .swiper-pagination,
.nested-gallery .swiper-button-prev,
.nested-gallery .swiper-button-next {
    z-index: 5;
}

.nested-gallery .swiper-pagination {
    position: absolute;
    right: 16px;
    top: 80%;
    /*transform: translateY(-50%);*/
    z-index: 4;
    display: flex !important; /* Biztos ami biztos */
    /*flex-direction: column !important; */
    align-items: center;
    gap: 8px;
    height: 10px;
    width: auto;
    justify-content: center;
}

.nested-gallery .swiper-pagination-bullet {
    display: block !important;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
    border-radius: 50%;
    margin: 0;
}

.nested-gallery .swiper-pagination-bullet-active {
    background: #fff;
    width: 14px;
    height: 14px;
}
