[id^="pswp-"] > figure > a {
  width:100%;
  height: 100%;
  display: block;
  position: relative;
}
[id^="pswp-"] > figure > a > img  {
  webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  object-fit: cover;
  width:100%;
  height:100%;
}
[id^="pswp-"] > figure > a > svg {
  display:none;
  z-index: 2;
  width: 24px;
  height: 24px;
}
[id^="pswp-"] > figure > a:hover > svg  {
  display: block;
  left: calc(50% - 18px);
  position: absolute;
  top: calc(50% - 18px);
  font-size: 36px;
  color: #fff;
}
[id^="pswp-"] > figure > a:hover > img  {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
  filter: grayscale(100%);
}
[id^="pswp-"] figure {
  width: 200px;
  aspect-ratio: 1 / 1;
  figcaption {
      display:none;
  }
}
.pswp__google-map-container {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pswp__google-map-container iframe {
  background: #444;
  width: 100%;
  height: 100%;
  max-width: 800px;
  max-height: 600px;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pswp__preloader svg{
  display: none;
}
.pswp__video-container iframe {
  background: #444;
  aspect-ratio: 16 / 9;
  pointer-events: auto;
  position: absolute;
  max-width: 80%;
  max-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
section.pswp__scroll-wrap {
  margin-top: 0 !important;
  .pswp__top-bar, .pswp__button {
    margin-top: 0 !important;
  }
}
.lg-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}



#pswp-main-gallery {
  grid-gap: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  figure {
    width: auto;
  }
}
#pswp-home {
  grid-gap: 10px;
  display: grid;
  grid-template-columns: 1fr .5fr .5fr;
  position: relative;
  max-height: 500px;
  width: 100%;
  figure {
    width: auto;
    aspect-ratio: unset;
    max-height: calc(250px - 5px);
    &:first-child, &:nth-child(3) {
      grid-row: span 2;
      max-height: 500px;
    }
    &[data-count=4] {
      img {
        object-position: top;

      }
    }
  }
}