.geo-page .article-hero {
  min-height: min(78svh, 800px);
}

.geo-page .article-hero > img {
  object-position: center;
}

.geo-page .article-body section {
  scroll-margin-top: 104px;
}

.geo-page .article-body > section + section {
  margin-top: 72px;
  padding-top: 4px;
}

.fact-grid,
.nearby-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
}

.fact-grid article,
.nearby-list article {
  min-width: 0;
  padding: 26px;
  background: #202020;
}

.fact-grid strong,
.nearby-list strong {
  display: block;
  margin-bottom: 9px;
  color: #ffffff;
  font-size: 15px;
}

.fact-grid p,
.nearby-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.house-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0;
}

.house-link-grid a {
  min-width: 0;
  overflow: hidden;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
}

.house-link-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.house-link-grid span {
  display: block;
  padding: 18px;
}

.house-link-grid strong,
.house-link-grid small {
  display: block;
}

.house-link-grid strong {
  color: #ffffff;
  font-size: 14px;
}

.house-link-grid small {
  margin-top: 7px;
  color: #a8b0a9;
  font-size: 10px;
}

.inline-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 20px;
  color: #081006;
  background: #7ac943;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.geo-related {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 110px;
}

.geo-related h2 {
  margin: 0 0 30px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.geo-related > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
}

.geo-related > div a {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: #ffffff;
  background: #202020;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.geo-related > div a:hover,
.geo-related > div a:focus-visible {
  color: #7ac943;
}

.geo-related > div span,
.geo-related > p a {
  color: #7ac943;
}

.geo-related > p {
  margin: 22px 0 0;
  color: #a8b0a9;
  font-size: 13px;
}

@media (max-width: 900px) {
  .geo-related > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .geo-page .article-hero {
    min-height: 700px;
  }

  .fact-grid,
  .nearby-list,
  .house-link-grid,
  .geo-related > div {
    grid-template-columns: 1fr;
  }

  .house-link-grid img {
    aspect-ratio: 16 / 10;
  }
}
