/* [galeria_inmueble] slider (see inc/gallery.php) */
.nc-gallery {
    position: relative;
}

.nc-gallery__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.nc-gallery__track::-webkit-scrollbar {
    display: none;
}

.nc-gallery__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.nc-gallery__slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.nc-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 30px;
    line-height: 40px;
    cursor: pointer;
}

.nc-gallery__nav:hover,
.nc-gallery__nav:focus-visible {
    background: rgba(0, 0, 0, 0.75);
}

.nc-gallery__prev {
    left: 12px;
}

.nc-gallery__next {
    right: 12px;
}

.nc-gallery__count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 14px;
}
