/* Зона «gallery». Дословная выборка из sensey-landing/src/styles/base.css. Собрано tools/extract-zones.sh */
  .gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

  .gallery-grid img {
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

  .gallery-grid__item {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: transparent;
  cursor: zoom-in;
}

  .gallery-grid__item img {
  display: block;
  width: 100%;
  transition: transform 360ms ease;
}

  .gallery-grid__item:hover img {
  transform: scale(1.025);
}

  .gallery-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(20, 20, 20, 0.9);
  cursor: zoom-out;
}

  .gallery-popup__image {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 56px);
  object-fit: contain;
  cursor: default;
}

  .gallery-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 32px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
}

  .gallery-grid {
  display: grid;
  gap: 24px;
}

@media (max-width: 820px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

}

