/* The public city page — lobbyfinder.com/<slug> (functions/_cityPage.js).
 * Loaded AFTER landing.css and built on it: the same tavern tokens, type,
 * header, buttons, .band and footer. Only what the agenda adds lives here.
 * Linked with a ?v= content hash (web/landing/brand.mjs), so an edit reaches
 * every visitor on the next deploy. */

.city-hero { padding-top: 46px; padding-bottom: 6px; }
.eyebrow {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 3px; color: var(--accent);
}
.city-hero h1 {
  margin-top: 10px;
  font-size: clamp(30px, 4.6vw, 46px); font-weight: 700; line-height: 1.16; letter-spacing: 0.5px;
}
.city-hero h1 em { font-style: normal; color: var(--gold); }
.city-hero .lede { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 36em; }
.city-hero .lede b { color: var(--text); font-weight: 600; }

/* Game-type chips: links, not a script — each is the same page filtered. */
.filters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filters a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--elevated);
  color: var(--text); font-size: 15.5px; font-weight: 600; white-space: nowrap;
}
.filters a:hover { border-color: var(--gold); text-decoration: none; }
.filters a[aria-current] {
  background: linear-gradient(180deg, #e5a55d, var(--accent));
  border-color: transparent; color: var(--ink);
}
.filters svg { width: 17px; height: 17px; flex: none; stroke: var(--gold); }
.filters a[aria-current] svg { stroke: var(--ink); }
.filters .n { font-weight: 400; font-size: 14px; color: var(--muted); }
.filters a[aria-current] .n { color: rgba(10, 5, 16, 0.7); }

.city-main { padding-top: 6px; padding-bottom: 20px; }
.in-app { font-size: 16px; font-weight: 600; }

/* ---------- the agenda: one block per day, one row per listing ---------- */
/* A day is a <div>, never a <section>: landing.css pads every section. */
.day { margin-top: 36px; }
.day-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.day-head h2 { font-size: 21px; font-weight: 600; letter-spacing: 0.5px; }
.day-head .count { font-size: 15px; color: var(--muted); }
.rows { list-style: none; }
.row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 0 14px;
  padding: 13px 6px; border-bottom: 1px solid rgba(236, 200, 112, 0.08);
  color: var(--text);
}
.row:hover { background: rgba(35, 20, 50, 0.7); text-decoration: none; }
.row .time {
  padding-top: 2px; font-family: 'Cinzel', serif; font-weight: 700; font-size: 17px;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.row .title { display: block; font-weight: 600; font-size: 17.5px; line-height: 1.3; }
.row .meta {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 3px;
  font-size: 15px; color: var(--muted); line-height: 1.35;
}
.row .meta svg { width: 15px; height: 15px; flex: none; margin-top: 3px; stroke: var(--accent); }
.row .meta span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price {
  align-self: start; white-space: nowrap;
  padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14.5px; color: var(--text);
}
.price.free { color: var(--gold); }
.day .in-app { display: block; padding: 12px 6px 0 84px; }
.city-note { margin-top: 34px; font-size: 17px; color: var(--muted); }
.hosted { display: block; margin-top: 34px; font-size: 17px; font-weight: 600; }
/* The invitation to host, when the week has few board games. After the
   players' own tables it is the second half of the same thought. */
.hosted + .host-invite { margin-top: 12px; }

/* ---------- places that lend games ---------- */
.lend { padding-top: 52px; padding-bottom: 0; }
.places { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.place {
  display: block; height: 100%; padding: 14px 16px; border-radius: 14px;
  background: var(--elevated); border: 1px solid rgba(236, 200, 112, 0.10); color: var(--text);
}
.place:hover { border-color: var(--line); text-decoration: none; }
.place b { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.place span { font-size: 14.5px; color: var(--muted); }
/* The venue's game library as a taste: "124 her · Catan, Azul, Dixit". */
.place .games {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 4px; font-size: 14px; color: var(--text-2);
}
.lend .in-app { display: inline-block; margin-top: 16px; }

/* ---------- an organization's programme page, /o/<slug> (functions/_orgPage.js) ---------- */
.org-hero .org-logo {
  display: block; width: 64px; height: 64px; margin-bottom: 14px;
  border-radius: 14px; object-fit: cover; background: var(--elevated); border: 1px solid var(--line);
}
.org-rows { margin-top: 26px; border-top: 1px solid var(--line); }
.org-tile {
  align-self: start; width: 52px; padding: 5px 0 6px; border-radius: 10px;
  background: var(--elevated); border: 1px solid rgba(236, 200, 112, 0.14);
  text-align: center; line-height: 1.05;
}
.org-tile small {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold);
}
.org-tile b { display: block; font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700; color: var(--text); }
.org-tile i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.org-block { margin-top: 46px; }
.org-block h2 { font-size: 22px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 14px; }
.org-note { font-size: 17px; color: var(--muted); max-width: 36em; }
.org-cal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.org-cal-url { margin-top: 14px; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.org-cal-url code { font-size: 14px; color: var(--text-2); }

.band .free-note { margin: 20px auto 0; font-size: 15.5px; }
.source-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
  .places { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .city-hero { padding-top: 30px; }
  .city-hero .lede { font-size: 17.5px; }
  .filters a { font-size: 14.5px; padding: 6px 12px 6px 10px; }
  .day { margin-top: 30px; }
  .day-head h2 { font-size: 19px; }
  .row { grid-template-columns: 52px 1fr auto; gap: 0 10px; padding: 12px 2px; }
  .row .time { font-size: 15.5px; }
  .row .title { font-size: 16.5px; }
  .row .meta { font-size: 14.5px; }
  .day .in-app { padding-left: 64px; }
  .places { grid-template-columns: 1fr; gap: 8px; }
  .place { padding: 11px 14px; }
  .lend { padding-top: 40px; }
  .org-tile { width: 46px; }
  .org-tile b { font-size: 18px; }
  .org-block { margin-top: 38px; }
}
