/* CSA Gallery Button — text button that opens its photos in Elementor's lightbox. */

.csa-gallery-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	background-color: transparent;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.csa-gallery-button__label {
	color: #ffffff;
	line-height: 1.2;
}

/* Extra gallery images: present in the DOM to feed the slideshow,
   but hidden from layout, screen readers and keyboard focus. */
.csa-gallery-button__hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	pointer-events: none;
}

/* Lightbox slideshow arrows — scoped to this widget's galleries via the
   modal id Elementor builds from our slideshow group ("csa-gallery-*").
   The default arrows rely on the eicons chevron glyph (which does not
   paint reliably on this site) and are near-white with no contrast, so
   they look missing. Draw the chevrons with CSS borders instead, so they
   are always visible regardless of the icon font. */
/* Elementor lazy-loads the swiper button positioning CSS, and it does not
   reliably reach the public (logged-out) frontend — leaving the arrows with
   position:static so they fall below the slideshow, off-screen. Pin them
   ourselves so they sit centered at the left/right edges of the viewport. */
[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 100px;
	cursor: pointer;
	opacity: 1;
}

[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button-prev {
	left: 0;
}

[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button-next {
	right: 0;
}

[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button > i,
[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button > svg {
	display: none;
}

[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button::after {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	border: solid #ffffff;
	border-width: 0 4px 4px 0;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button-next::after {
	transform: rotate(-45deg);
	margin-right: 8px;
}

[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-swiper-button-prev::after {
	transform: rotate(135deg);
	margin-left: 8px;
}

/* We intentionally emit no per-image title, so the slideshow caption is
   empty. Hide the footer outright so no leftover bar shows under the photo. */
[id^="elementor-lightbox-slideshow-csa-gallery-"] .elementor-slideshow__footer {
	display: none;
}
