/* listing.css: listing detail page. Uses the site tokens from site.css. Mobile first; two columns from 900px. */
.ldp { padding-block: 20px 56px; }
.ldp__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.ldp__info { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ldp__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ldp__title { overflow-wrap: anywhere; }
.ldp__partner { color: var(--lavender); font-weight: 600; margin: 0; }
.ldp__loc, .ldp__age { color: var(--muted); margin: 0; }
.ldp__age .muted { margin-right: 6px; }
.ldp__cta { margin-block: 8px 4px; }
.ldp__sec { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.ldp__sec .h3 { margin-bottom: 12px; }
.ldp__about { color: var(--muted); margin: 0; overflow-wrap: anywhere; max-width: 68ch; }
.lticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.lticks li { position: relative; padding-left: 22px; overflow-wrap: anywhere; }
.lticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); }
.lplans { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lplan { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.lplan__t { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.lplan__p { white-space: nowrap; color: var(--muted); font-size: .9rem; text-align: right; }
.lplan__p b { color: var(--text); font-weight: 600; font-size: 1rem; }
@media (max-width: 420px) { .lplan { flex-direction: column; align-items: flex-start; gap: 4px; } .lplan__p { text-align: left; } }

/* gallery: whole image (contain) over a blurred copy of itself */
.gal { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 3; min-width: 0; }
.gal[data-empty] { aspect-ratio: 16 / 9; }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track:focus-visible { outline: 2px solid var(--lavender); outline-offset: -2px; }
.gal__s { position: relative; flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; overflow: hidden; }
.gal__bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px) brightness(.7); transform: scale(1.05); }
.gal__s img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.gal__nav { position: absolute; top: 50%; translate: 0 -50%; background: rgba(16, 7, 31, .6); font-size: 1.6rem; line-height: 1; padding-bottom: 3px; }
.gal__nav--p { left: 10px; } .gal__nav--n { right: 10px; }
.gal__nav:hover { background: rgba(16, 7, 31, .85); }
.gal__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gal__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.gal__dots span.is-on { background: #fff; }

/* loading skeleton */
.skel { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: ldp-sh 1.3s linear infinite; border-radius: var(--r-sm); }
.skel--img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.skel--l { height: 16px; margin-bottom: 12px; } .skel--h { height: 36px; margin-bottom: 14px; width: 90%; } .skel--box { height: 120px; margin-top: 18px; border-radius: var(--r); }
.skel.w40 { width: 40%; } .skel.w60 { width: 60%; } .skel.w80 { width: 80%; }
@keyframes ldp-sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

.ldp__empty { text-align: center; padding: 72px 0; display: grid; gap: 20px; justify-items: center; }
[hidden] { display: none !important; }

@media (min-width: 900px) {
  .ldp { padding-block: 28px 80px; }
  .ldp__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .ldp__grid > .gal, .ldp__grid > .skel--img { position: sticky; top: 96px; }
  .ldp__cta .btn { width: auto; min-width: 260px; }
}
