/* Transparent slide canvases let neighboring posters sit behind the active poster. */
.section-news .popupSwiper.news-gallery .news-slide {
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

.section-news .popupSwiper.news-gallery .swiper-slide {
    transition-property: transform, opacity;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.section-news .popupSwiper.news-gallery .news-slide-image {
    filter: drop-shadow(0 8px 14px rgba(25, 34, 29, .16));
    user-select: none;
    -webkit-user-drag: none;
}

.section-news .popupSwiper.news-gallery .swiper-slide-active .news-slide-image {
    filter: drop-shadow(0 10px 18px rgba(25, 34, 29, .22));
}

.section-news .popupSwiper.news-gallery .news-image-zoom,
.section-news .popupSwiper.news-gallery .news-swiper-pagination {
    z-index: 20;
}

.section-news .popupSwiper .swiper-pagination-bullet[hidden] {
    display: none !important;
}

/* Match the complete worship card grid, including its responsive page gutters. */
.section-news[data-news-match-worship],
html[data-theme] body #contents .section-news[data-news-match-worship] {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0 !important;
}

.section-news[data-news-match-worship] #newsCenterPanel,
html[data-theme] body #contents .section-news[data-news-match-worship] #newsCenterPanel {
    box-sizing: border-box !important;
    width: min(var(--news-worship-width, 100%), 100%) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
}

.section-news[data-news-match-worship] #newsCenterPanel > .popupSwiper,
html[data-theme] body #contents .section-news[data-news-match-worship] #newsCenterPanel > .popupSwiper {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
}

/* Transparent full-size slide canvases must not intercept neighbor-image taps. */
.section-news .popupSwiper.news-gallery .swiper-slide {
    pointer-events: none !important;
}

.section-news .popupSwiper.news-gallery .news-slide-image {
    pointer-events: auto !important;
}

.section-news .popupSwiper.news-gallery .swiper-slide:not(.swiper-slide-active) .news-slide-image {
    cursor: pointer;
}
