/* Supporting copy for the expanded visual stories. Image sizing stays in guide.css. */
.guide-photo-grid figcaption {
  display: grid;
  gap: .25rem;
  margin-top: .8rem;
  font-size: .9rem;
  line-height: 1.45;
}

.guide-photo-grid figcaption strong {
  font-size: 1rem;
  font-weight: 500;
}

.guide-photo-grid figcaption span {
  color: rgba(64, 54, 46, .72);
}

.experience-story,
.travel-story,
.faq-story,
.blog-story,
.rules-story {
  padding-top: .25rem;
  border-top: 1px solid rgba(64, 54, 46, .16);
}

.guide-photo-grid img {
  height: 18rem;
}

.house-jump {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  overflow-x: auto;
  background: rgba(248, 243, 234, .94);
  border-block: 1px solid rgba(64, 54, 46, .14);
  backdrop-filter: blur(12px);
}

.house-jump a {
  flex: 0 0 auto;
  color: #40362e;
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
}

.house-section-heading {
  width: min(48rem, 100%);
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.house-section-heading h2 {
  margin-block: .45rem 1rem;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: .98;
}

.house-section-heading > p:last-child {
  max-width: 42rem;
  color: rgba(64, 54, 46, .76);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.house-tour,
.house-spaces,
.house-details {
  scroll-margin-top: 5rem;
}

.room-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, .75fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  margin-bottom: clamp(4rem, 9vw, 9rem);
}

.room-feature.reverse {
  grid-template-columns: minmax(17rem, .75fr) minmax(0, 1.65fr);
}

.room-feature.reverse .room-photo {
  grid-column: 2;
}

.room-feature.reverse .room-copy {
  grid-column: 1;
  grid-row: 1;
}

.room-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
}

.room-copy h2 {
  margin-block: .5rem 1rem;
  font-size: clamp(2rem, 3.4vw, 3.75rem);
  line-height: 1.02;
}

.room-copy > p:not(.eyebrow) {
  color: rgba(64, 54, 46, .78);
  line-height: 1.7;
}

.room-facts {
  display: grid;
  gap: .55rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(64, 54, 46, .18);
  list-style: none;
}

.room-facts li {
  font-size: .9rem;
  letter-spacing: .04em;
}

.house-spaces {
  background: #eee2ce;
}

.house-outdoors {
  background: #25302f;
  color: #f8f3ea;
}

.house-outdoors .house-section-heading > p:last-child {
  color: rgba(248, 243, 234, .76);
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.space-card-wide {
  grid-column: 1 / -1;
}

.space-card {
  margin: 0;
}

.space-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.space-card-wide img {
  aspect-ratio: 16 / 8;
}

.space-card figcaption {
  display: grid;
  gap: .5rem;
  padding-top: 1rem;
}

.space-card figcaption strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
}

.space-card figcaption span {
  max-width: 40rem;
  color: rgba(64, 54, 46, .72);
  line-height: 1.55;
}

.house-outdoors .space-card figcaption span {
  color: rgba(248, 243, 234, .68);
}

.house-outdoors .space-card {
  background: transparent;
  border-color: rgba(248, 243, 234, .22);
  color: #f8f3ea;
}

.house-outdoors .space-card figcaption {
  padding: 1rem 1rem 1.25rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(64, 54, 46, .2);
  border-left: 1px solid rgba(64, 54, 46, .2);
}

.detail-grid article {
  display: grid;
  gap: .75rem;
  min-height: 12rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-right: 1px solid rgba(64, 54, 46, .2);
  border-bottom: 1px solid rgba(64, 54, 46, .2);
}

.detail-grid strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
}

.detail-grid span {
  color: rgba(64, 54, 46, .72);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .guide-photo-grid,
  .guide-photo-grid figure:first-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .guide-photo-grid img {
    height: clamp(220px, 38vw, 280px);
  }

  .room-feature,
  .room-feature.reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .room-feature.reverse .room-photo,
  .room-feature.reverse .room-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .room-feature.reverse .room-photo {
    order: 0;
  }

  .room-feature.reverse .room-copy {
    order: 1;
  }

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

@media (max-width: 600px) {
  .guide-photo-grid img {
    height: clamp(190px, 58vw, 230px);
  }

  .guide-card-gallery img {
    height: 7.5rem;
  }

  .guide-card-gallery img:first-child {
    height: 12rem;
  }

  .house-jump {
    justify-content: flex-start;
  }

  .house-section-heading h2 {
    font-size: clamp(2.1rem, 12vw, 3.25rem);
  }

  .room-feature {
    margin-bottom: 4.5rem;
  }

  .room-photo,
  .space-card img,
  .space-card-wide img {
    aspect-ratio: 4 / 3;
  }

  .space-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .space-card-wide {
    grid-column: auto;
  }

  .detail-grid article {
    min-height: 0;
  }
}
