/* Venue page — "Getting there" (loaded after summit.css, uses its tokens) */

.venue { padding-bottom: 96px; }

/* ---------- Opening: centred header (map + buttons sit at page bottom) ---------- */
.venue-hero { max-width: 1000px; margin: 0 auto; padding: 48px 0 40px; text-align: center; }

.venue-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin: 0 0 22px; padding: 0; list-style: none; cursor: default; }
.venue-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.venue-hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; line-height: 1.05; color: var(--text); }
.venue-hero__addr { margin: 14px 0 0; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; color: var(--muted); }

.venue-map-block {
  max-width: 1000px;
  margin: 56px auto 0;
}

.venue-map {
  position: relative;
  height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
}
.venue-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.venue-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.venue-hero__actions .btn { padding: 11px 22px; }
.venue-hero__actions .btn { font-family: inherit; font-size: 0.95rem; line-height: inherit; }
.venue-copy.is-done { background: var(--accent); color: #050816; }

/* ---------- Route: a transit diagram ---------- */
.venue-route-head {
  max-width: 62ch;
  margin: 0 auto 48px;
  text-align: center;
}

.venue-route-head .section-title { margin-bottom: 10px; }
.venue-route-head p { color: var(--muted); }

.venue-route {
  --rail-x: 31px;
  position: relative;
  list-style: none;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}

.venue-route::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: var(--rail-x);
  width: 4px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-deep), var(--accent) 85%);
}

.venue-stop {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  column-gap: 28px;
  padding: 0 0 52px;
}

.venue-stop__dot {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  margin: 4px 0 0 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 6px var(--bg);
}

.venue-stop h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  color: var(--accent);
}

.venue-stop p,
.venue-stop li { color: var(--muted); }

.venue-stop p { margin: 0 0 10px; max-width: 62ch; }
.venue-stop p strong,
.venue-stop li strong { color: var(--text); font-weight: 600; }

.venue-stop ul.venue-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.venue-list li {
  position: relative;
  padding-left: 22px;
  max-width: 62ch;
}

.venue-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.venue-stop__time {
  align-self: start;
  min-width: 96px;
  padding: 10px 14px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
}

.venue-stop__time b {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--accent);
}

.venue-stop__time span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Line roundels & chips (Paris metro palette) */
.venue-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #444;
}

.line--m1 { background: #ffce00; color: #1a1a1a; }
.line--m4 { background: #bb4d98; }
.line--m7 { background: #fa9aba; color: #1a1a1a; }
.line--m14 { background: #62259d; }
.line--rera { background: #e2231a; }
.line--rerb { background: #5291ce; }
.line--rerd { background: #00814f; }

.line--bus {
  border-radius: 6px;
  color: var(--text);
  background: transparent;
  border: 2px solid rgba(232, 238, 248, 0.45);
  height: 30px;
}

.line--pill {
  color: #050816;
  background: var(--accent);
}

/* Rail stops at the last dot */
.venue-stop:last-child { padding-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .venue-hero { padding-top: 28px; }
  .venue-map { height: 340px; }
}

@media (max-width: 640px) {
  .venue-route { --rail-x: 15px; }
  .venue-stop { grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; }
  .venue-stop__dot { margin-left: 4px; }
  .venue-stop p.venue-stop__time { grid-column: 2; grid-row: 2; justify-self: start; margin-top: 18px;
    display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; }
  .venue-stop__time b { display: inline; font-size: 1.15rem; }
  .venue-stop > div:nth-child(2) { grid-column: 2; grid-row: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .venue-stop { transition: transform 0.2s ease; }
  .venue-stop:hover .venue-stop__dot { background: var(--accent); }
}

.venue-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.venue-link:hover { color: var(--text); }
