.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0;
}

.seo-links .text-link,
.seo-header-link {
  font-size: 0.875rem;
}

.seo-page h1 {
  max-width: 20ch;
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

.seo-page h2 {
  margin: 2rem 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.seo-lead {
  max-width: 62ch;
}

a.property-image {
  display: block;
}

.seo-property,
.seo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  margin: 2rem 0;
}

.seo-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-property figure,
.seo-gallery figure {
  margin: 0;
}

.seo-property img,
.seo-gallery img {
  width: 100%;
  height: auto;
}

.seo-page figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.seo-property h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .seo-property {
    grid-template-columns: 1fr;
  }

  .seo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
