/* Photos of the Habitat Center, added to the existing page layouts. */
.habitat-photo { margin: 0; overflow: hidden; border: 1px solid #526584; border-radius: 1rem; background: #152840; }
.habitat-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.habitat-photo figcaption { padding: .7rem 1rem; color: #e2e8f0; font-size: .875rem; }
.habitat-photo-hero { max-width: 58rem; margin: 2.5rem auto 0; text-align: left; }
.habitat-photo-hero img { aspect-ratio: 2 / 1; object-position: center 65%; }
.habitat-visit { max-width: 80rem; margin: 0 auto 3rem; padding-inline: clamp(1rem, 3vw, 2rem); }
.habitat-visit h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 800; }
.habitat-visit p { margin: .25rem 0 1rem; color: #cbd5e1; }
.habitat-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.habitat-directions { display: inline-block; margin-top: 1rem; padding: .6rem 1rem; border-radius: 999px; background: #00d4ff; color: #07111f; font-weight: 700; }
@media (max-width: 640px) {
  .habitat-gallery { grid-template-columns: 1fr; }
  .habitat-photo-hero img { aspect-ratio: 4 / 3; }
}
