.home-result-details {
  scroll-margin-top: 110px;
}
.home-result-details .result-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-block: 32px;
}
.home-result-details .home-section-heading {
  max-width: 900px;
  margin-bottom: 36px;
}
.home-result-details .home-section-heading .lead {
  margin-top: 20px;
}
@media (max-width: 899px) {
  .home-result-details .home-section-heading { margin-bottom: 28px; }
}
.home-result-details .result-card{padding:0;border:1px solid #d8e1eb;border-radius:14px;overflow:hidden;background:#fff}.result-card figure{margin:0;position:relative}.result-card figure>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.result-card figcaption{position:absolute;left:12px;bottom:12px;right:12px;width:fit-content;max-width:calc(100% - 24px);background:#102b45eb;color:white;padding:7px 10px;border-radius:5px;font-size:.875rem;line-height:1.4}.result-copy{padding:24px}.result-copy .result-type{color:#775c19;font-size:1rem;font-weight:700;margin:0 0 10px}.result-copy h3{margin:0 0 14px;line-height:1.45}.result-copy p{line-height:1.75}.home-result-details .result-disclosure{font-size:.9375rem;line-height:1.75;color:#526379;margin:0 0 24px;padding:16px 20px;background:#e8eef4;border-radius:8px}@media(max-width:899px){.home-result-details .result-gallery{grid-template-columns:1fr;max-width:680px;margin-inline:auto}.result-card figure>img{aspect-ratio:4/3}.result-copy{padding:22px}}

/* The portrait photo becomes a full-width 4:3 image after a quarter turn. */
.home-result-details .result-surface-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.home-result-details .result-surface-photo > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  height: calc(400% / 3);
  aspect-ratio: auto;
  transform: translate(-50%, -50%) rotate(90deg);
}
