/* Only applied to widgets enhanced by gallery.js on the selected gallery page. */
body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel {
  --fbcs-gallery-blue: #006ab5;
  --fbcs-gallery-surface: #f2f0ec;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel > .elementor-widget-container {
  max-width: 980px;
  margin-inline: auto;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-image-carousel-wrapper {
  position: relative;
  /* Leave viewport space for the section heading and photo counter. */
  height: min(clamp(280px, 48vw, 520px), 70vh);
  height: min(clamp(280px, 48vw, 520px), 70svh);
  padding: 0;
  overflow: hidden;
  border: 1px solid #e5e1db;
  border-radius: 12px;
  background: var(--fbcs-gallery-surface);
  box-shadow: 0 8px 28px rgb(38 48 59 / 6%);
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .swiper-wrapper,
body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .swiper-slide {
  height: 100% !important;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .swiper-slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .swiper-slide > a {
  display: block;
  height: 100%;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .swiper-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(0 106 181 / 15%);
  border-radius: 50%;
  background: #fff;
  color: var(--fbcs-gallery-blue);
  font-size: 20px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 15%);
  transition: background-color 160ms ease, color 160ms ease;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button-prev { left: 18px; }
body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button-next { right: 18px; }

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button svg {
  fill: currentColor;
  color: inherit;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button i {
  color: inherit;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button:hover {
  background: var(--fbcs-gallery-blue);
  color: #fff;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button:focus-visible {
  outline: 3px solid var(--fbcs-gallery-blue);
  outline-offset: 4px;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}

body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel.fbcs-gallery-ready .swiper-pagination { display: none; }

.fbcs-gallery-counter {
  margin-top: 14px;
  text-align: center;
  color: #53616b;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-image-carousel-wrapper {
    height: min(clamp(260px, 82vw, 360px), 70vh);
    height: min(clamp(260px, 82vw, 360px), 70svh);
    border-radius: 9px;
  }
  body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button-prev { left: 10px; }
  body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button-next { right: 10px; }
  .fbcs-gallery-counter { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .elementor-swiper-button,
  body.page-id-2823 .elementor-widget-image-carousel.fbcs-gallery-carousel .swiper-wrapper { transition-duration: 0ms !important; }
}
