


.slideshow-containerNN {
    position: relative;
    max-height: 70vh;
    width:100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.slideNN {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

    .slideNN.active {
        opacity: 1;
        pointer-events: auto;
        z-index: 1;
    }

    .slideNN img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.1);
        transition: transform 7s ease, opacity 2s ease;
        will-change: transform, opacity;
    }

    .slideNN.active img {
        transform: scale(1);
        opacity: 1;
    }

.overlayNEww {
 
}

.captionNN {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slideNN.active  {
    opacity: 1;
    transform: translateY(0);
}

/* navigation */
.prevNN,
.nextNN {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    padding: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    opacity: 0.4;
    z-index: 3;
    user-select: none;
}

    .prevNN:hover,
    .nextNN:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.15);
    }

.prevNN {
    left: 15px;
}

.nextNN {
    right: 15px;
}

/* indicator dots */
.dots-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.top-rightNEE {
    position: absolute;
    bottom: 1px;
    left: 2px;

}
.text-blockNNN {
    position: absolute;
    background-color: lightskyblue;
    color:#cacaca;
    font-weight: bold;
    opacity: 0.7;
    color: black;
    padding: 2px;
    font-size:10px;
    border: 1px solid gold;
}

    .dot.active {
        background: rgba(255, 255, 255, 0.8);
        transform: scale(1.3);
    }

    .dot:hover {
        background: rgba(255, 255, 255, 0.6);
    }

/* mobile-friendly */
@media (max-width: 600px) {
    .caption {
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
    }

    .prevNN,
    .nextNN {
        font-size: 1.6rem;
        padding: 10px;
    }
}
