.hero-photo {
  margin: 0;
  justify-self: center;
  max-width: 560px;
  width: 100%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 30px 70px #5d312b30;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 8px 4px;
  font-size: 13px;
}

.hero-photo figcaption span { color: var(--muted); }
.gallery-section { background: #fff; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.photo-grid figure {
  margin: 0;
  background: #f7f3ee;
  overflow: hidden;
}

.photo-grid figure.wide { grid-column: span 2; }

.photo-grid img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.photo-grid .wide img { height: 360px; }

.photo-grid figcaption,
.entrance-photo figcaption {
  padding: 12px 15px;
  color: #5f534f;
  font-size: 13px;
}

.entrance-photo {
  margin: 18px 0 0;
  background: #f7f3ee;
}

.entrance-photo img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 58%;
}

@media (max-width: 900px) {
  .hero-photo { max-width: 680px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid figure.wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .hero-photo img { height: 280px; }
  .hero-photo figcaption { flex-direction: column; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid figure.wide { grid-column: auto; }
  .photo-grid img,
  .photo-grid .wide img { height: 260px; }
  .entrance-photo img { height: 280px; }
}
