/* Resale listing page. Shares development.css (gallery, layout, rail, map);
   only what one existing home needs lives here. */
@layer page {
  /* Details: the same key-value grid, a little more room per fact. */
  .resale__sheet { gap: var(--sp-4) var(--sp-5); }
  .resale__sheet dd { font-size: var(--fs-l); line-height: 1.25; }

  /* Running costs: label left, amount right. */
  .resale__costs { max-width: 32rem; }
  .resale__costs dt { color: var(--ink-2); }
  .resale__costs dd { font-weight: 600; white-space: nowrap; }
  .resale__ownership { padding: var(--sp-4) var(--sp-5); border-left: 3px solid var(--amber); }
  .resale__ownership h2 { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-l); }

  /* A fallback summary is a one-line stand-in, not a lead paragraph. */
  .dev__text .dev__fallback p:first-child { font-size: var(--fs-m); color: var(--ink-2); }

  /* Without photos the frame is a shallow band, not a hero. */
  .resale__no-photos { background: var(--stone-2); }
  @media (min-width: 64em) {
    .gallery:has(img[data-placeholder]) .gallery__track, .gallery:has(.resale__no-photos) .gallery__track { aspect-ratio: 3.2 / 1; }
    .gallery:has(img[data-placeholder]) .gallery__slide img[data-placeholder] { padding: var(--sp-7); }
  }
}
