.static-gallery-ready #photo-album-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 24px 0 48px;
}

.static-gallery-ready #photo-album-3::before,
.static-gallery-ready #photo-album-3::after {
  display: none !important;
  content: none !important;
}

.static-gallery-ready #photo-album-3 .mk-album-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  transform: none !important;
}

.static-gallery-ready #photo-album-3 figure {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.static-gallery-ready #photo-album-3 figure:hover,
.static-gallery-ready #photo-album-3 figure:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.22);
}

.static-gallery-ready #photo-album-3 .album-cover-image {
  display: none;
}

.static-gallery-ready #photo-album-3 figcaption {
  position: static;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.static-gallery-ready #photo-album-3 .album-sneak-peak {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 190px;
  opacity: 1;
  visibility: visible;
}

.static-gallery-ready #photo-album-3 .album-sneak-item {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block;
  width: auto;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  transform: none !important;
}

.static-gallery-ready #photo-album-3 .album-sneak-item img {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 250ms ease;
}

.static-gallery-ready #photo-album-3 figcaption::before,
.static-gallery-ready #photo-album-3 figcaption::after,
.static-gallery-ready #photo-album-3 .album-sneak-item::before,
.static-gallery-ready #photo-album-3 .album-sneak-item::after {
  display: none !important;
}

.static-gallery-ready #photo-album-3 figure:hover .album-sneak-item img {
  transform: scale(1.04);
}

.static-gallery-ready #photo-album-3 .item-meta {
  position: static;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  background: #266d05;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.static-gallery-ready #photo-album-3 .item-meta .the-title {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.static-gallery-ready #photo-album-3 .mk-album-link {
  position: absolute;
  inset: 0;
  z-index: 20 !important;
  display: block;
  cursor: zoom-in;
  pointer-events: auto;
}

.static-gallery-ready #photo-album-3 .mk-album-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.sg-lightbox[hidden] {
  display: none;
}

.sg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 64px 16px 24px;
  background: rgba(10, 10, 10, 0.94);
}

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

.sg-lightbox__image {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  max-height: calc(100vh - 145px);
  object-fit: contain;
  background: #222;
}

.sg-lightbox__caption {
  margin-top: 14px;
  color: #fff;
  font-size: 15px;
  text-align: center;
}

.sg-lightbox__button {
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font: inherit;
  transition: background 150ms ease;
}

.sg-lightbox__button:hover,
.sg-lightbox__button:focus-visible {
  background: #266d05;
  outline: 2px solid #fff;
}

.sg-lightbox__prev,
.sg-lightbox__next {
  width: 48px;
  height: 48px;
  font-size: 32px;
  line-height: 1;
}

.sg-lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

body.sg-no-scroll {
  overflow: hidden;
}

@media (max-width: 820px) {
  .sg-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .static-gallery-ready #photo-album-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sg-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .sg-card__images {
    height: 210px;
  }

  .static-gallery-ready #photo-album-3 {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .static-gallery-ready #photo-album-3 .album-sneak-peak {
    height: 210px;
  }

  .sg-lightbox {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    padding: 58px 4px 18px;
  }

  .sg-lightbox__prev,
  .sg-lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}
.sg-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 24px 0 48px;
}

.sg-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
  cursor: zoom-in;
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sg-card:hover,
.sg-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.22);
  outline: 3px solid #266d05;
  outline-offset: 2px;
}

.sg-card__images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 190px;
  background: #eee;
}

.sg-card__images img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.sg-card__title {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  background: #266d05;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
