.advanced-gallery .swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1;
}
.advanced-gallery .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: ease;
  box-sizing: content-box;
}
.advanced-gallery .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  position: relative;
  transition-property: transform;
}
.advanced-gallery .swiper-button-prev,
.advanced-gallery .swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}
.advanced-gallery .swiper-button-prev.swiper-button-disabled,
.advanced-gallery .swiper-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}
.advanced-gallery .swiper-button-prev::after,
.advanced-gallery .swiper-button-next::after {
  display: none;
  content: "";
}
.advanced-gallery .swiper-pagination {
  position: relative;
  text-align: center;
  transition: opacity 0.3s;
  z-index: 10;
  margin-top: var(--wdg-gap-small, 1rem);
}
.advanced-gallery .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  cursor: pointer;
  margin: 0 0.25rem;
  transition: opacity 0.2s ease;
}
.advanced-gallery .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--wdg-color-primary, currentColor);
}

.advanced-gallery {
  --ag-gap: 16px;
  max-width: var(--wdg-width-wide);
  margin-inline: auto;
  position: relative;
}
.advanced-gallery.alignfull {
  max-width: none;
}
.advanced-gallery__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  position: relative;
}
.advanced-gallery__item:hover, .advanced-gallery__item:focus, .advanced-gallery__item:active {
  background: none;
}
.advanced-gallery--has-lightbox .advanced-gallery__item {
  cursor: pointer;
}
.advanced-gallery__item:focus-visible {
  outline: 2px solid var(--wdg-color-primary, #0073aa);
  outline-offset: 2px;
  border-radius: var(--wdg-input-border-radius, 4px);
}
.advanced-gallery__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--wdg-input-border-radius, 4px);
  background-color: var(--wdg-color-light-grey, #f0f0f0);
  height: 100%;
}
.advanced-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .advanced-gallery__thumb img {
    transition: none;
  }
}
.advanced-gallery--has-lightbox .advanced-gallery__item:hover .advanced-gallery__thumb img, .advanced-gallery--has-lightbox .advanced-gallery__item:focus-visible .advanced-gallery__thumb img {
  transform: scale(1.05);
}
.advanced-gallery__caption {
  margin: 0;
  font-size: var(--wdg-font-size-small, 0.875rem);
  line-height: 1.4;
}
.advanced-gallery--caption-hover .advanced-gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.5rem 0.75rem 0.75rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: 0 0 var(--wdg-input-border-radius, 4px) var(--wdg-input-border-radius, 4px);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .advanced-gallery--caption-hover .advanced-gallery__caption {
    transition: none;
  }
}
.advanced-gallery--caption-hover .advanced-gallery__item:hover .advanced-gallery__caption,
.advanced-gallery--caption-hover .advanced-gallery__item:focus-visible .advanced-gallery__caption {
  opacity: 1;
}
@media (hover: none) {
  .advanced-gallery--caption-hover .advanced-gallery__caption {
    opacity: 1;
  }
}
.advanced-gallery__grid {
  display: grid;
  gap: var(--ag-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 48em) {
  .advanced-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-1 .advanced-gallery__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-2 .advanced-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-3 .advanced-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-4 .advanced-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-5 .advanced-gallery__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-6 .advanced-gallery__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.advanced-gallery--aspect-ratio-1-1 .advanced-gallery__thumb {
  aspect-ratio: 1;
}
.advanced-gallery--aspect-ratio-4-3 .advanced-gallery__thumb {
  aspect-ratio: 4/3;
}
.advanced-gallery--aspect-ratio-3-2 .advanced-gallery__thumb {
  aspect-ratio: 3/2;
}
.advanced-gallery--aspect-ratio-16-9 .advanced-gallery__thumb {
  aspect-ratio: 16/9;
}
.advanced-gallery--aspect-ratio-3-4 .advanced-gallery__thumb {
  aspect-ratio: 3/4;
}
.advanced-gallery__masonry {
  -moz-column-count: 1;
       column-count: 1;
  -moz-column-gap: var(--ag-gap);
       column-gap: var(--ag-gap);
}
@media (min-width: 48em) {
  .advanced-gallery__masonry {
    -moz-column-count: 2;
         column-count: 2;
  }
}
.advanced-gallery__masonry .advanced-gallery__item {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: var(--ag-gap);
}
@media (min-width: 62em) {
  .advanced-gallery--cols-1 .advanced-gallery__masonry {
    -moz-column-count: 1;
         column-count: 1;
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-2 .advanced-gallery__masonry {
    -moz-column-count: 2;
         column-count: 2;
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-3 .advanced-gallery__masonry {
    -moz-column-count: 3;
         column-count: 3;
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-4 .advanced-gallery__masonry {
    -moz-column-count: 4;
         column-count: 4;
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-5 .advanced-gallery__masonry {
    -moz-column-count: 5;
         column-count: 5;
  }
}
@media (min-width: 62em) {
  .advanced-gallery--cols-6 .advanced-gallery__masonry {
    -moz-column-count: 6;
         column-count: 6;
  }
}
.advanced-gallery__justified {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ag-gap);
}
.advanced-gallery__justified .advanced-gallery__item {
  flex: 1 1 240px;
  width: auto;
}
.advanced-gallery__justified .advanced-gallery__thumb {
  height: 100%;
  border-radius: var(--wdg-input-border-radius, 4px);
}
.advanced-gallery__swiper {
  padding-bottom: var(--wdg-gap-large, 2rem);
}
.advanced-gallery__swiper .advanced-gallery__item {
  height: 100%;
}
.advanced-gallery__swiper .advanced-gallery__thumb {
  aspect-ratio: 4/3;
}
.advanced-gallery__nav {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background-color: var(--wdg-color-primary, #1a1a1a);
  color: var(--wdg-color-white, #fff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.advanced-gallery__nav svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.advanced-gallery__nav:hover {
  transform: translateY(-50%) scale(1.08);
}
.advanced-gallery__nav:focus-visible {
  outline: 2px solid var(--wdg-color-primary, #0073aa);
  outline-offset: 2px;
}
.advanced-gallery .swiper-button-prev.advanced-gallery__nav {
  left: 0.5rem;
}
.advanced-gallery .swiper-button-next.advanced-gallery__nav {
  right: 0.5rem;
}
.advanced-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: advancedGalleryFadeIn 0.25s ease;
}
.advanced-gallery__lightbox[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .advanced-gallery__lightbox {
    animation: none;
  }
}
.advanced-gallery__lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
}
.advanced-gallery__lightbox-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 3.5rem 1rem 1.5rem;
  box-sizing: border-box;
}
.advanced-gallery__lightbox-counter {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-size: var(--wdg-font-size-small, 0.875rem);
  letter-spacing: 0.05em;
}
.advanced-gallery__lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.2s ease;
}
.advanced-gallery__lightbox-close svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: auto;
}
.advanced-gallery__lightbox-close:hover, .advanced-gallery__lightbox-close:focus-visible {
  background-color: rgba(255, 255, 255, 0.25);
}
.advanced-gallery__lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.advanced-gallery__lightbox-swiper {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.advanced-gallery__lightbox-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.advanced-gallery__lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}
.advanced-gallery__lightbox-image {
  display: block;
  flex: 0 1 auto;
  min-height: 0;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: var(--wdg-input-border-radius, 4px);
}
.advanced-gallery__lightbox-caption {
  flex: 0 0 auto;
  width: 100%;
  max-width: min(70ch, 92vw);
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  font-size: var(--wdg-font-size-small, 0.875rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.advanced-gallery__lightbox-nav {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.advanced-gallery__lightbox-nav svg {
  width: 1.75rem;
  height: 1.75rem;
  margin: auto;
}
.advanced-gallery__lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.advanced-gallery__lightbox-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.advanced-gallery__lightbox-nav.swiper-button-disabled {
  opacity: 0.25;
}
.advanced-gallery .swiper-button-prev.advanced-gallery__lightbox-nav {
  left: 1rem;
}
.advanced-gallery .swiper-button-next.advanced-gallery__lightbox-nav {
  right: 1rem;
}
.advanced-gallery__lightbox-thumbs {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
}
.advanced-gallery__lightbox-thumbs .swiper-wrapper {
  justify-content: center;
}
.advanced-gallery__lightbox-thumbs .swiper-slide {
  width: 4.5rem;
  height: 3.25rem;
  opacity: 0.45;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.advanced-gallery__lightbox-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.advanced-gallery__lightbox-thumbs .swiper-slide:hover {
  opacity: 0.75;
}
.advanced-gallery__lightbox-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  outline: 2px solid #fff;
  outline-offset: -2px;
}

@keyframes advancedGalleryFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*# sourceMappingURL=style.css.map */