.coast-grid .photo-card img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.activities-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.activities-poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.activity-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.activity-list li {
  padding: 15px 0;
  border-top: 1px solid #cdd5d3;
  font-size: 15px;
}

@media (max-width: 760px) {
  .activities-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hero-photo {
  background: #e4edef;
}

.hero-photo img {
  object-fit: contain !important;
  object-position: center !important;
  height: calc(100% - 52px) !important;
  top: 0;
  left: 0;
}

.hero-photo figcaption {
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  text-align: center;
  background: #e4edef;
}

@media (max-width: 760px) {
  .hero-photo {
    min-height: 0 !important;
    display: block;
  }

  .hero-photo img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .hero-photo figcaption {
    position: static;
  }
}
