.gallery-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.gallery-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 2752 / 508;
  overflow: hidden;
}

.gallery-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-banner h1 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font: 500 clamp(28px, 2.2vw, 40px)/1 "Lora", Georgia, serif;
  text-shadow: 0 1px 3px #111;
}

.gallery-content {
  flex: 1;
  width: calc(100% - 36px);
  margin: 0 auto;
  padding: 48px 0 90px;
  font-family: "Lora", Georgia, serif;
}

.gallery-content p {
  margin: 0;
  color: #222;
  font-size: clamp(16px, 1.15vw, 21px);
  font-style: italic;
}

@media (max-width: 760px) {
  .gallery-page {
    width: 100%;
  }

  .gallery-content {
    width: calc(100% - 32px);
    padding-top: 34px;
  }
}
