/* "Our Puja Moments" gallery — copied from css/desktop/pages/servicepagedesktop.css
   for pages that do not load that stylesheet (homepage desktop + mobile). */
.np-gallery-section {
    padding: 35px 0;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.np-gallery-header {
    max-width: 760px;
    margin: 0 auto 22px;
    padding: 0 15px;
}

.np-gallery-title {
    font-size: 26px;
    font-weight: 700;
    color: #0d2745;
    margin: 0 0 8px;
    line-height: 1.25;
}

.np-gallery-tagline {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 auto;
}

.np-gallery-swiper {
    width: 100%;
    padding: 10px 0 45px;
    overflow: visible;
}

.np-gallery-swiper .swiper-wrapper {
    align-items: center;
        column-gap: 20px;
        height: auto;

}

.np-gallery-swiper .swiper-slide {
    width: 260px;
    min-height: 190px;
    transition: 0.3s ease;
}

.np-gallery-swiper .swiper-slide > a {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.fancybox__container {
    z-index: 10000010 !important;
}

.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.92);
}

body.np-fancybox-open header,
body.np-fancybox-open .header_allPujas,
body.np-fancybox-open #gtranslate_wrapper,
body.np-fancybox-open .np-book-pandit-tab,
body.np-fancybox-open .book_a_pandit_sticky {
    z-index: 1 !important;
}

.np-gallery-img {
    width: 100%;
    height: 190px;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    border: 5px solid #f0dfd3;
    cursor: pointer;
}

/* .np-gallery-swiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.55;
    filter: blur(1px);
} */

.np-gallery-swiper .swiper-slide-active {
    opacity: 1;
    filter: blur(0);
}

.np-gallery-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #e7cdcd;
    opacity: 1;
}

.np-gallery-pagination .swiper-pagination-bullet-active {
    background: #b23b42;
}

@media (max-width: 767px) {
    .np-gallery-section {
        padding: 22px 0;
        overflow: hidden;
    }

    .np-gallery-swiper {
        width: 100%;
        max-width: 100%;
        padding: 6px 0 20px;
        overflow: hidden;
    }

    .np-gallery-swiper .swiper-wrapper {
        column-gap: 0;
        align-items: stretch;
        height: auto !important;
    }

    .np-gallery-swiper .swiper-slide {
        min-height: 0;
        height: auto;
        flex-shrink: 0;
    }

    .np-gallery-img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-width: 4px;
        border-radius: 12px;
    }
}

@media (max-width: 575px) {
    .np-gallery-title {
        font-size: 22px;
    }

    .np-gallery-tagline {
        font-size: 14px;
    }

}
