

/* Start:/local/components/kbnet/blocks/templates/gallery/style.css?17913790032486*/
a.gallery-tile {
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.gallery-lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.gallery-lightbox:not([open]) {
  display: none;
}

.gallery-lightbox[open] {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 24px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 46, 61, 0.92);
  color: #fff;
}

.gallery-lightbox::backdrop {
  background: rgba(26, 46, 61, 0.92);
}

.gallery-lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
}

.gallery-lightbox__figure img {
  display: block;
  max-width: min(1100px, calc(100vw - 160px));
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__figure figcaption {
  margin-top: 12px;
  font-family: var(--font-sans, Manrope, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.gallery-lightbox__figure figcaption[hidden] {
  display: none;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  background: var(--color-accent, #3D9B9B);
}

.gallery-lightbox__close {
  top: 16px;
  right: 16px;
}

.gallery-lightbox__nav--prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__nav--next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__nav[hidden] {
  display: none;
}

@media (max-width: 575px) {
  .gallery-lightbox[open] {
    padding: 56px 12px 80px;
  }

  .gallery-lightbox__figure img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 180px);
  }

  .gallery-lightbox__nav--prev,
  .gallery-lightbox__nav--next {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .gallery-lightbox__nav--prev {
    left: calc(50% - 52px);
  }

  .gallery-lightbox__nav--next {
    right: calc(50% - 52px);
  }
}

/* End */
/* /local/components/kbnet/blocks/templates/gallery/style.css?17913790032486 */
