/* Listings-only pieces. Tokens, navbar, hero, search bar, tiles and footer all come from ../site.css */
html { scroll-padding-top: 88px; }
.l-search { width: min(860px, 100%); }
.pick { flex: 1; min-width: 0; display: grid; padding: 0 12px; border-left: 1px solid var(--line); text-align: left; }
.pick span { font-size: 12px; color: var(--dim); line-height: 1.2; }
.pick select { width: 100%; min-height: 26px; padding: 0 18px 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5851' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; border: 0; outline: none; appearance: none; -webkit-appearance: none; font-size: 15px; font-weight: 600; cursor: pointer; text-overflow: ellipsis; }
.results { padding-block: clamp(36px, 6vw, 64px); }
.res-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.res-head h2 { font-size: clamp(24px, 2.8vw, 34px); }
.res-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--accent); }
.clear { flex: none; padding: 6px 2px; background: none; border: 0; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.grid { display: grid; gap: 18px; }
.card, .ask { animation: cardin .5s var(--ease) both; }
.ask { animation-delay: .06s; }
@keyframes cardin { from { opacity: 0; transform: translateY(14px); } }
.card { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(18px, 3vw, 32px); padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--soft); }
.media { position: relative; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; background: var(--tint); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 10px; top: 10px; padding: 4px 12px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; color: var(--accent); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { flex: 1; min-width: 0; padding: 0; aspect-ratio: 16/9; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; opacity: .75; transition: opacity .2s, border-color .2s; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.body { display: flex; flex-direction: column; padding: 8px 10px 8px 0; }
.where { margin: 0 0 2px; font-size: 14px; color: var(--dim); }
h3 { font-size: 22px; }
.facts { list-style: none; display: flex; gap: 8px; margin: 14px 0; padding: 0; }
.facts li { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--tint); font-size: 13px; color: var(--dim); }
.facts b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.sum { margin: 0 0 12px; color: var(--dim); font-size: 15px; }
.views { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; font-size: 14px; color: var(--dim); }
.views span { padding: 3px 12px; border-radius: 99px; background: var(--accent-soft); font-weight: 600; color: var(--accent); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1.5px solid var(--accent); border-radius: 99px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent); transition: background .25s, color .25s, transform .2s var(--ease); }
.btn:hover { background: var(--accent-soft); }
.btn:active { transform: scale(.97); }
.btn.solid { background: var(--accent); color: #fff; }
.btn.solid:hover { background: var(--accent-dark); }
.ask { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; padding: 20px 24px; border-radius: 20px; background: var(--tint); }
.ask h3 { flex: 1 0 100%; font-size: 19px; }
.ask p { flex: 1 1 320px; margin: 0; color: var(--dim); font-size: 15px; }
.sheet .tiles { grid-template-columns: repeat(4, 1fr); }
.sheet .tile { aspect-ratio: 4/5; }
.sheet .tile > span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 18px; background: linear-gradient(0deg, rgba(10, 6, 4, .84), rgba(10, 6, 4, .3) 50%, transparent 75%); }
@media (max-width: 980px) {
  .hbar { flex-wrap: wrap; gap: 8px; padding: 12px; border-radius: 20px; }
  .hq { flex: 1 0 100%; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 99px; text-align: left; }
  .pick { flex: 1 1 100%; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 14px; }
  .hbar .btn-accent { flex: 1 0 100%; }
  .card { grid-template-columns: 1fr; }
  .body { padding: 2px 4px 6px; }
  .sheet .tiles { grid-template-columns: 1fr 1fr; }
  .sheet .tile { aspect-ratio: 1; }
  .acts .btn { flex: 1; padding-inline: 14px; white-space: nowrap; }
  .facts li { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { .card, .ask { animation: none; } }
.sub-hero h1 b { display: block; }
