.gallery-page {
  margin-top: 72px;
  background: #fff;
  color: #183c27;
  font:
    14px/1.7 "Open Sans",
    sans-serif;
}
.gallery-page .gl-wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.gallery-page .gl-header {
  padding: 38px 0;
  background: #ffe9ed;
}
.gallery-page h1 {
  font:
    700 clamp(30px, 4vw, 46px)/1.2 "Lora",
    Georgia,
    serif;
  color: #183c27;
  letter-spacing: -0.03em;
  margin: 0;
}
.gallery-page .gl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 56px;
}
.gallery-page .gl-photo {
  margin: 0;
  border: 1px solid #e4e9df;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.gallery-page .gl-photo a {
  display: block;
  background: #f8f8f5;
  padding: 12px;
  aspect-ratio: 4/3;
}
.gallery-page .gl-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-page figcaption {
  padding: 16px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.gallery-page figcaption span {
  color: #64874b;
  font-size: 20px;
}
.gallery-page a:focus-visible {
  outline: 3px solid #82ae46;
  outline-offset: -4px;
}
@media (max-width: 600px) {
  .gallery-page .gl-wrap {
    width: calc(100% - 36px);
  }
  .gallery-page .gl-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 36px;
  }
  .gallery-page .gl-header {
    padding: 28px 0;
  }
}
