/* ===== Filter page v2 (2026-10-07, MOCKUP) — layered on elevate.css (Midnight). Body classes: grid-3 (default) | grid-4. ===== */
.bd-filter .row > .middle { display: none !important; }                 /* old title band → .fh hero */
.fh { max-width: var(--wrap); margin: 0 auto; padding: 34px 24px 10px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: center; }
.fh h1 { margin: 0 !important; color: #fff !important; font: 700 clamp(40px, 4.6vw, 64px)/.94 var(--display) !important; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; white-space: normal !important; }
.fh h1 em { display: block; margin-top: 12px; color: var(--gold) !important; font: 600 14px/1.2 var(--sans) !important; letter-spacing: .14em; font-style: normal; }
.fh .intro { margin: 18px 0 0; max-width: 56ch; color: #e4dfee; font: 400 18px/1.65 var(--sans); }
.fh .facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--hair); }
.fh .facts div { min-width: 0; }
.fh .facts b { display: block; color: #fff; font: 700 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.fh .facts b.gold { color: var(--gold); }
.fh .facts small { display: block; margin-top: 5px; color: var(--muted); font: 600 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.fh figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 812 / 520; box-shadow: 0 30px 60px rgba(8,6,14,.5); }
.fh figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; }

/* browse rail */
.browse { max-width: var(--wrap); margin: 26px auto 0; padding: 0 24px; box-sizing: border-box; }
.browse .lbl { color: var(--muted); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.browse .rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.browse .rail::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair);
  background: rgba(255,255,255,.04); color: var(--soft) !important; font: 600 13.5px/1 var(--sans); text-decoration: none !important; white-space: nowrap; cursor: pointer; }
.chip i { color: var(--gold); font-size: 17px; }
.chip small { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: rgba(233,193,52,.6); color: #fff !important; }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #17141f !important; }
.chip[aria-current="page"] i, .chip[aria-pressed="true"] i, .chip[aria-current="page"] small, .chip[aria-pressed="true"] small { color: #17141f; }
.chip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* results toolbar */
.bd-filter .listing-wrapper { max-width: var(--wrap) !important; width: auto !important; padding: 0 24px !important; box-sizing: border-box; margin: 0 auto !important; }
.bd-filter h2.listing-head { text-align: left !important; margin: 40px 0 0 !important; padding: 0 !important; font: 700 30px/1.05 var(--display) !important; color: #fff !important; }
.bd-filter h2.listing-head::before, .bd-filter h2.listing-head::after { display: none !important; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 16px 0 22px; padding: 0 0 16px; border-bottom: 1px solid var(--hair); }
.tools .piers { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.tools .piers .chip { height: 36px; font-size: 13px; }
.tools label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 600 13px/1 var(--sans); }
.tools select { height: 40px; padding: 0 34px 0 14px; border-radius: 10px; border: 1px solid var(--hair); background: var(--night-2); color: #fff; font: 600 14px/1 var(--sans); }
.tools .shown { color: var(--muted); font: 600 13px/1 var(--sans); font-variant-numeric: tabular-nums; }

/* grid: 3 across by default, 4 per filter setting */
.bd-filter .listing-wrapper > ul { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 0 !important; margin: 0 !important; }
body.grid-4.bd-filter .listing-wrapper > ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bd-filter .listing-wrapper > ul > div { display: contents; }
.bd-filter .listing-wrapper li.list-item { width: auto !important; margin: 0 !important; float: none !important; }
.bd-filter .listing-wrapper li.list-item[hidden] { display: none !important; }
.no-match { grid-column: 1 / -1; padding: 40px 0; color: var(--soft); font-size: 16px; }

/* browse grid after the results */
.more-ways { max-width: var(--wrap); margin: 64px auto 0; padding: 0 24px 64px; box-sizing: border-box; }
.more-ways h2 { margin: 0 0 18px !important; color: #fff !important; font: 700 34px/1 var(--display) !important; text-transform: uppercase; }
.more-ways .cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.more-ways a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; border: 1px solid var(--hair); background: var(--night-2); color: #fff !important; text-decoration: none !important; min-width: 0; }
.more-ways a i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--gold); background: rgba(233,193,52,.1); }
.more-ways a span { min-width: 0; font: 700 17px/1.15 var(--display); text-transform: uppercase; }
.more-ways a small { display: block; margin-top: 4px; color: var(--muted); font: 600 12px/1 var(--sans); text-transform: none; }
.more-ways a:hover { border-color: rgba(233,193,52,.6); }

/* header search button */
.bd-searchbtn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: #fff; display: grid; place-items: center; font-size: 19px; cursor: pointer; flex: 0 0 auto; }
.bd-searchbtn:hover { border-color: var(--gold); }

/* ===== Search dialog ===== */
.sd-back { position: fixed; inset: 0; z-index: 200; background: rgba(10,8,16,.62); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 9vh 16px 16px; }
.sd { width: 100%; max-width: 680px; max-height: 78vh; display: flex; flex-direction: column; border-radius: 16px; background: var(--night-2); border: 1px solid var(--hair); box-shadow: 0 40px 90px rgba(0,0,0,.55); overflow: hidden; }
.sd-top { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--hair); }
.sd-top i { color: var(--gold); font-size: 21px; }
.sd-top input { flex: 1; min-width: 0; height: 62px; border: 0; background: transparent; color: #fff; font: 400 19px/1 var(--sans); outline: none; }
.sd-top input::placeholder { color: var(--muted); }
.sd-top .esc { font: 600 12px/1 var(--sans); color: var(--muted); border: 1px solid var(--hair); border-radius: 6px; padding: 6px 8px; background: none; cursor: pointer; }
.sd-chips { display: flex; gap: 8px; padding: 12px 16px 0; }
.sd-chips .chip { height: 34px; font-size: 13px; }
.sd-body { overflow-y: auto; padding: 8px 8px 12px; }
.sd h6 { margin: 14px 10px 6px; color: var(--muted); font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.sd-row { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 10px; color: #fff !important; text-decoration: none !important; min-width: 0; }
.sd-row img { flex: 0 0 auto; width: 92px; height: 46px; object-fit: cover; border-radius: 6px; background: var(--night-3); }
.sd-row .ci { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 21px; color: var(--gold); background: rgba(233,193,52,.1); }
.sd-row .t { flex: 1; min-width: 0; }
.sd-row .t b { display: block; font: 700 15px/1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-row .t b mark { background: none; color: var(--gold); }
.sd-row .t small { display: block; margin-top: 3px; color: var(--muted); font: 400 13px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-row .px { flex: 0 0 auto; color: var(--gold); font: 700 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.sd-row .px small { color: var(--muted); font: 600 11px/1 var(--sans); margin-left: 3px; }
.sd-row[aria-selected="true"], .sd-row:hover { background: rgba(255,255,255,.06); }
.sd-empty { padding: 28px 12px; color: var(--soft); }
.sd-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--hair); color: var(--muted); font: 600 12px/1 var(--sans); }

@media (max-width: 980px) {
  .fh { grid-template-columns: 1fr; gap: 20px; padding: 18px 16px 4px; }
  .fh figure { order: -1; margin: 0 -16px; border-radius: 0; aspect-ratio: 16 / 9; box-shadow: none; }
  .fh h1 { font-size: 40px !important; }
  .fh .intro { font-size: 17px; }
  .fh .facts b { font-size: 22px; }
  .browse { padding: 0 16px; }
  .browse .rail { margin: 0 -16px; padding: 0 16px 4px; }
  .bd-filter .listing-wrapper { padding: 0 16px !important; }
  .bd-filter h2.listing-head { font-size: 24px !important; }
  .tools { gap: 10px; }
  .tools .piers { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; flex-basis: 100%; }
  .bd-filter .listing-wrapper > ul, body.grid-4.bd-filter .listing-wrapper > ul { grid-template-columns: 1fr !important; gap: 16px; }
  .bd-filter .listing-wrapper li.list-item { width: 100% !important; flex: none !important; }
  .more-ways { padding: 0 16px 48px; }
  .more-ways .cats { grid-template-columns: 1fr 1fr; }
  .more-ways a { padding: 14px; gap: 10px; }
  .more-ways a i { width: 38px; height: 38px; font-size: 19px; }
  .more-ways a span { font-size: 15px; }
  .sd-back { padding: 0; }
  .sd { max-width: none; max-height: none; height: 100%; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .sd-back { backdrop-filter: none; } }

/* ---- hero, blended (Josh): the photo sits behind the content and dissolves into the night ---- */
.fh-wrap { position: relative; isolation: isolate; overflow: hidden; }
.fh-bg { position: absolute; inset: 0 0 0 30%; z-index: -2; background-size: cover; background-position: center 45%; }
.fh-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--night) 28%, rgba(23,20,31,.82) 46%, rgba(23,20,31,.25) 72%, rgba(23,20,31,.45) 100%),
              linear-gradient(180deg, rgba(23,20,31,.35) 0%, rgba(23,20,31,0) 30%, rgba(23,20,31,.2) 70%, var(--night) 100%); }
.fh { grid-template-columns: minmax(0, 640px) 1fr; padding-top: 70px; padding-bottom: 46px; min-height: 520px; }
.fh figure { display: none; }

/* ---- room for more content: editor-managed blocks ---- */
.fx { max-width: var(--wrap); margin: 72px auto 0; padding: 0 24px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.fx h2 { margin: 0 0 16px !important; color: #fff !important; font: 700 32px/1.02 var(--display) !important; text-transform: uppercase; text-wrap: balance; }
.fx p { margin: 0 0 1em; color: #e4dfee; font: 400 18px/1.7 var(--sans); max-width: 62ch; }
.piers-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.piers-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.piers-list i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; color: var(--gold); background: rgba(233,193,52,.1); }
.piers-list b { display: block; color: #fff; font: 700 17px/1.2 var(--display); text-transform: uppercase; }
.piers-list span { display: block; margin-top: 4px; color: var(--soft); font: 400 15px/1.5 var(--sans); }
.piers-list span a { color: var(--soft) !important; text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }

/* ---- FAQ ---- */
.faq { max-width: var(--wrap); margin: 72px auto 0; padding: 0 24px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; }
.faq h2 { margin: 0 !important; color: #fff !important; font: 700 40px/1 var(--display) !important; text-transform: uppercase; }
.faq .side p { color: var(--soft); font: 400 16px/1.6 var(--sans); margin: 14px 0 0; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-child { border-top: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; color: #fff; font: 600 18px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 auto; color: var(--gold); font-size: 20px; transition: transform .2s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.faq .a { padding: 0 0 20px; color: #e4dfee; font: 400 17px/1.7 var(--sans); max-width: 68ch; }
.faq .a a { color: var(--gold) !important; }

@media (max-width: 980px) {
  .fh-bg { inset: 0 0 auto 0; height: 300px; }
  .fh-wrap::before { background: linear-gradient(180deg, rgba(23,20,31,.15) 0%, rgba(23,20,31,.35) 120px, var(--night) 300px, var(--night) 100%); }
  .fh { padding-top: 190px; padding-bottom: 20px; min-height: 0; }
  .fx, .faq { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; padding: 0 16px; }
  .fx h2 { font-size: 26px !important; }
  .fx p { font-size: 17px; }
  .faq h2 { font-size: 32px !important; }
  .faq summary { font-size: 17px; }
}
.sd-back[hidden] { display: none !important; }
.sd-top input::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (max-width: 980px) {
  .bd-searchbtn { position: absolute; left: 58px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; }
  .fh .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
}

/* PR #19 (2026-10-08) added an empty <span itemprop="organizer"> next to each tile; inside a display:contents wrapper it became a grid cell. Keep it out of the grid. */
.listing-wrapper > ul > div > span[itemprop="organizer"] { display: none !important; }
