@import url('./quest-colors.css');
/* Published listings and their draft previews share their type, controls and gutters with site.css. */
.lst { --lst-accent: var(--go); --lst-bg: var(--paper); --lst-panel: var(--fog); --lst-ink: var(--ink); --lst-soft: var(--ink-2); --lst-line: var(--rule);
  max-width: var(--max); margin: auto; padding: clamp(20px, 3vw, 46px) var(--gut) clamp(48px, 6vw, 90px);
  color: var(--lst-ink); background: var(--lst-bg); box-shadow: 0 0 0 100vmax var(--lst-bg); clip-path: inset(0 -100vmax); overflow-wrap: anywhere; }
.lst--sand { --lst-bg: #f8f4ea; --lst-panel: #ece4d2; --lst-ink: #302c23; --lst-soft: #5f5749; --lst-line: #d6cbb6; --lst-accent: var(--quest-blue); }
.lst--dark { --lst-bg: var(--ink); --lst-panel: #1b3449; --lst-ink: #f7f8f7; --lst-soft: #c3d0d9; --lst-line: #425769; }
.lst-preview-note { margin: 0; padding: 8px 16px; background: var(--ink); color: #fff; font-size: 14px; text-align: center; }
.listing-embedded body > .util, .listing-embedded body > header.top, .listing-embedded .lst-preview-note { display: none; }
.lst-hero { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 64px); }
.lst-hero-photo { min-width: 0; position: relative; }
.lst-hero-photo > a { display: block; position: relative; }
.lst-hero-photo > a span, .lst-badge { position: absolute; bottom: 12px; left: 12px; padding: 6px 12px; background: var(--ink); color: white; border-radius: 3px; font-size: 15px; font-weight: 500; }
.lst-badge { bottom: auto; top: 12px; background: var(--paper); color: var(--ink); }
.lst-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lst-panel); }
.lst-photo--none { display: grid; place-items: center; color: var(--lst-soft); }
.lst-thumbs { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.lst-thumbs a { flex: 0 0 clamp(54px, 6vw, 84px); } .lst-thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lst :is([data-lst-photo], .lst-btn):focus-visible { outline: 3px solid var(--river); outline-offset: -3px; }
.lst-hero-say { min-width: 0; }
.lst-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--lst-soft); font-size: 15px; font-weight: 500; }
.lst-kicker::before { content: ""; width: 28px; height: 3px; background: var(--lst-accent); flex: none; }
.lst-title { font-size: clamp(36px, 4.3vw, 68px); line-height: 1; letter-spacing: -.034em; text-wrap: balance; }
.lst-sub { margin-top: 14px; max-width: 48ch; color: var(--lst-soft); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; }
.lst-price { margin-top: 22px; font-size: clamp(27px, 2.4vw, 38px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.lst-meta { display: block; margin-top: 5px; font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: normal; color: var(--lst-soft); }
.lst-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 18px 0 0; }
.lst-actions .tbtn { color: var(--lst-ink); text-decoration-color: currentColor; }
.lst-hero--wide, .lst--story .lst-hero, .lst--showcase .lst-hero { grid-template-columns: minmax(0, 1fr); }
.lst-hero--wide .lst-photo, .lst--story .lst-photo { aspect-ratio: 2.6; }
.lst--showcase .lst-hero { gap: 0; }
.lst--showcase .lst-hero-photo { grid-area: 1 / 1; }
.lst--showcase .lst-photo { aspect-ratio: 2.1; min-height: 420px; }
.lst--showcase .lst-hero-say { grid-area: 1 / 1; z-index: 1; align-self: end; justify-self: end; width: min(46%, 530px); margin: 0 24px 22px 0;
  padding: clamp(24px, 3vw, 42px); border-top: 4px solid var(--lst-accent); background: var(--lst-panel); }
.lst--showcase .lst-title { font-size: clamp(36px, 3.4vw, 56px); }
.lst--story .lst-hero-say { order: -1; max-width: 840px; justify-self: center; text-align: center; }
.lst--story .lst-title { font: 500 clamp(38px, 5vw, 76px)/1.03 Georgia, serif; letter-spacing: -.045em; }
.lst--story .lst-kicker, .lst--story .lst-actions { justify-content: center; } .lst--story .lst-sub { margin-inline: auto; }
.lst-section { margin-top: clamp(32px, 4.2vw, 64px); padding-top: clamp(20px, 2.2vw, 32px); border-top: 1px solid var(--lst-line); }
.lst-h { margin: 0 0 18px; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; letter-spacing: -.025em; }
.lst-body p, .lst-cta > p, .lst-faq p { max-width: 68ch; } .lst-body p + p { margin-top: .8em; }
.lst--story .lst-text:not(.lst-text--photo) .lst-body { max-width: 65ch; margin: auto; }
.lst-highlights ul, .lst-specs dl { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.lst-highlights ul { list-style: none; gap: 6px; }
.lst-highlights li { padding: 14px 18px; border-left: 3px solid var(--lst-accent); background: var(--lst-panel); font-weight: 500; }
.lst-specs dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; } .lst-spec { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lst-line); }
.lst-spec dt { color: var(--lst-soft); } .lst-spec dd { margin: 0; font-weight: 500; text-align: right; } .lst-spec-group { margin: 20px 0 2px; }
.lst-gallery-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.lst-gallery--strip .lst-gallery-in { display: flex; overflow-x: auto; } .lst-gallery--strip a { flex: 0 0 min(78%, 320px); }
.lst-gallery--mosaic .lst-gallery-in a:first-child { grid-column: span 2; grid-row: span 2; }
.lst-gallery-photo { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lst-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 16px; }
.lst-fact { border-top: 3px solid var(--lst-accent); padding: 12px 0; } .lst-fact-big { display: block; font-size: 36px; font-weight: 500; } .lst-fact-small, .lst-quote-by { color: var(--lst-soft); }
.lst-quote { margin: 0; border-left: 3px solid var(--lst-accent); padding-left: 24px; max-width: 46ch; font: 400 28px/1.35 Georgia, serif; } .lst-quote-by { margin-top: 12px; font: 400 16px var(--f); }
.lst-faq details { padding: 12px 0; border-bottom: 1px solid var(--lst-line); } .lst-faq summary { font-weight: 500; cursor: pointer; }
.lst-text--photo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; } .lst-text--right > a { order: 2; } .lst-text-photo { width: 100%; }
.lst-cta { background: var(--lst-panel); border: 0; padding: clamp(20px, 3vw, 44px); }
[data-photo-viewer] { width: fit-content; max-width: 96vw; max-height: 96dvh; padding: 12px; border: 0; background: var(--ink); color: white; }
[data-photo-viewer]::backdrop { background: #061320ed; }
[data-photo-viewer] form { display: flex; justify-content: end; margin-bottom: 6px; }
[data-photo-viewer] img { width: auto; height: auto; max-height: 69dvh; margin: auto; object-fit: contain; }
[data-photo-viewer] > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
[data-photo-viewer] p { flex: 1; text-align: center; overflow-wrap: anywhere; line-height: 1.35; font-size: 16px; }
[data-photo-viewer] button { min-height: 44px; padding: 4px 12px; background: transparent; border: 1px solid #8797a3; border-radius: 3px; cursor: pointer; }
@media (max-width: 800px) {
  .lst-hero, .lst-text--photo { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lst--classic .lst-photo { aspect-ratio: 16 / 10; }
  .lst--showcase .lst-hero-photo, .lst--showcase .lst-hero-say { grid-area: auto; }
  .lst--showcase .lst-photo { min-height: 0; aspect-ratio: 5 / 4; }
  .lst--showcase .lst-hero-say { width: auto; margin: 0 0 0 12px; justify-self: stretch; padding: 20px; }
  .lst--showcase .lst-hero-photo:not(:has(.lst-thumbs)) + .lst-hero-say { margin-top: -16px; }
  .lst--story .lst-photo { aspect-ratio: 16 / 10; } .lst--story .lst-price { margin-top: 15px; }
  .lst-specs dl { grid-template-columns: 1fr; } .lst-gallery-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lst-gallery--mosaic .lst-gallery-in a:first-child { grid-column: 1 / -1; grid-row: auto; } .lst-text--right > a { order: 0; }
}
