/* Venue pages (/venues/<slug>/), built by generate_venue_pages.py.
 * Loaded before wod-theme.css like every page's own styles, so the theme's
 * colour tokens and nav win. Everything here is v- prefixed to stay out of
 * the way of the shared components. Mobile first.
 */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; }

.v-wrap { max-width: 1100px; margin: 0 auto; padding: .9rem 16px 2rem; }
@media (min-width: 1280px) { .v-wrap { max-width: 1240px; } }

.v-crumbs { font-size: .78rem; color: var(--text-muted); margin-bottom: .9rem; }
.v-crumbs a { color: var(--text-muted); text-decoration: none; }
.v-crumbs a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.v-hero { display: grid; gap: 1.25rem; margin-bottom: 2.2rem; }
@media (min-width: 860px) {
    .v-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.2rem; align-items: center; }
}
.v-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.v-h1 {
    font-family: 'Anton', 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase;
    font-size: clamp(2.6rem, 9vw, 4.8rem); line-height: .95; letter-spacing: .01em; margin: .35rem 0 .9rem;
    overflow-wrap: anywhere;
}
.v-stale { margin-top: .6rem; font-size: .82rem; color: var(--orange); }
.v-desc { margin: 1rem 0 1.1rem; color: var(--text-muted); line-height: 1.6; max-width: 38rem; }
.v-count { margin-top: .8rem; font-size: .8rem; color: var(--text-muted); }

.v-hero-photo { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.v-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v-hero-photo figcaption {
    position: absolute; right: .5rem; bottom: .5rem; font-size: .66rem; line-height: 1.3;
    padding: .2rem .5rem; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff;
}
.v-hero-photo figcaption a { color: #fff; }

.v-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.v-mosaic-4 { grid-template-columns: repeat(2, 1fr); }
.v-mosaic-tile { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--surface); }
.v-mosaic-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.v-mosaic-tile:hover img { transform: scale(1.04); }
.v-mosaic-tile span {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .5rem .4rem;
    font-size: .7rem; font-weight: 700; color: #fff; line-height: 1.2;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v-hero-plain {
    border-radius: 16px; aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--surface-hover));
    font-family: 'Anton', sans-serif; font-size: 2.2rem; text-transform: uppercase; color: #fff;
}

/* ---------- Buttons ---------- */
.v-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.v-actions-wrap { margin-top: 0; }
.v-btn {
    display: inline-flex; align-items: center; gap: .35rem; min-height: 2.1rem;
    padding: .4rem .85rem; border-radius: 99px; font-size: .82rem; font-weight: 600;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
    text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s, color .15s;
}
.v-btn:hover { border-color: var(--accent); color: var(--accent); }
.v-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.v-btn-primary { background: var(--chip-on-bg); color: var(--chip-on-ink); border-color: var(--chip-on-bg); }
.v-btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.v-btn-spotify svg { color: var(--spotify); }
.v-btn-ghost { color: var(--text-muted); }
.v-btn-off { color: var(--text-muted); border-style: dashed; cursor: default; }
.v-btn-off:hover { color: var(--text-muted); border-color: var(--border); }
.v-btn-link { border-color: transparent; background: none; color: var(--accent); padding-left: .4rem; padding-right: .4rem; }

/* ---------- Sections ---------- */
.v-section { margin: 0 0 2.6rem; scroll-margin-top: 4.5rem; }
.v-h2 {
    font-family: 'Anton', 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase;
    font-size: 1.65rem; letter-spacing: .01em; line-height: 1.1; margin-bottom: 1rem;
}
.v-h3 { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.v-also { margin-top: 1.6rem; }
.v-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.15rem; }
.v-lede { line-height: 1.6; margin-bottom: .9rem; }
.v-fine { font-size: .74rem; color: var(--text-muted); margin-top: .9rem; line-height: 1.5; }
.v-fine a { color: var(--text-muted); }
.v-empty p { line-height: 1.6; }

/* ---------- Featured show ---------- */
.v-feature {
    display: grid; gap: 0; border-radius: 16px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border);
    scroll-margin-top: 4.5rem;
}
@media (min-width: 760px) { .v-feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.v-feature-img, .v-card-photo { position: relative; display: block; overflow: hidden; }
.v-feature-img { aspect-ratio: 4 / 3; }
@media (min-width: 760px) { .v-feature-img { aspect-ratio: auto; min-height: 320px; } }
.v-feature-img img, .v-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.v-initials {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 2.2rem; letter-spacing: .04em;
}
.v-feature-body { padding: 1.2rem 1.2rem 1.3rem; display: flex; flex-direction: column; justify-content: center; }
.v-when { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.v-feature-act {
    font-family: 'Anton', 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase;
    font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1; margin: .45rem 0 .35rem; overflow-wrap: anywhere;
}
.v-feature-act a, .v-card-act a { color: inherit; text-decoration: none; }
.v-feature-act a:hover, .v-card-act a:hover { color: var(--accent); }
.v-support { color: var(--text-muted); font-size: .9rem; line-height: 1.4; }
.v-run { color: var(--text-muted); font-size: .8rem; margin-top: .15rem; }
.v-meta { font-size: .8rem; color: var(--text-muted); margin-top: .45rem; line-height: 1.5; }
.v-badge {
    display: inline-block; margin-left: .45rem; padding: .08rem .42rem; border-radius: 4px;
    font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    vertical-align: .1em; border: 1px solid currentColor;
}
.v-cancelled, .v-postponed { color: var(--red); }
.v-rescheduled { color: var(--orange); }
.v-soldout { color: var(--red); }
.v-free { color: var(--green); }
.is-off .v-feature-act, .is-off .v-card-act { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .7; }
.is-off img { filter: grayscale(1); opacity: .6; }

/* ---------- Show cards ---------- */
.v-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.2rem 0 1.2rem; }
.v-chip {
    font: inherit; font-size: .82rem; font-weight: 600; padding: .38rem .8rem; border-radius: 99px; cursor: pointer;
    background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.v-chip span { color: var(--text-muted); font-weight: 500; margin-left: .15rem; }
.v-chip.on { background: var(--chip-on-bg); color: var(--chip-on-ink); border-color: var(--chip-on-bg); }
.v-chip.on span { color: inherit; opacity: .7; }
.v-month { margin-bottom: 1.6rem; }
.v-month-h { font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .7rem; padding-bottom: .4rem; border-bottom: 1px solid var(--border); }
.v-cards { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }
.v-card {
    display: flex; flex-direction: column; border-radius: 14px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border); scroll-margin-top: 4.5rem;
    transition: border-color .15s, transform .15s;
}
.v-card:hover { border-color: var(--accent); }
.v-card:target, .v-feature:target { outline: 2px solid var(--accent); outline-offset: 2px; }
.v-card-img { position: relative; }
.v-card-photo { aspect-ratio: 16 / 11; }
.v-datechip {
    position: absolute; top: .55rem; left: .55rem; display: flex; flex-direction: column; align-items: center;
    min-width: 2.9rem; padding: .3rem .4rem .25rem; border-radius: 9px; line-height: 1;
    background: var(--surface); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.v-datechip b { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 1.35rem; letter-spacing: 0; margin: .12rem 0; }
.v-card-body { padding: .8rem .9rem .95rem; display: flex; flex-direction: column; flex: 1; }
.v-card-date { font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--accent); }
.v-card-act { font-size: 1.05rem; font-weight: 700; line-height: 1.25; margin: .25rem 0 .1rem; overflow-wrap: anywhere; }
.v-card .v-actions { margin-top: auto; padding-top: .7rem; }
.v-card .v-btn { min-height: 1.95rem; padding: .32rem .7rem; font-size: .78rem; }
.v-card .v-btn-spotify { padding: .32rem .5rem; }

/* Going / Interested: wod-community.css positions .soc-bar for the gig-list
   grid; here it's a plain line under the buttons. */
.v-soc .soc-bar { margin-top: .55rem; grid-column: auto; grid-row: auto; flex-wrap: wrap; }
.v-drop { display: none; margin-top: .7rem; }
.v-drop.open { display: block; }
.v-drop .drop-inner { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; }

/* Phones: cards become rows - photo left, text right - so a long listing
   scrolls like a list instead of a stack of posters. */
@media (max-width: 560px) {
    .v-cards { grid-template-columns: 1fr; gap: .6rem; }
    .v-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
    .v-card-photo { aspect-ratio: auto; height: 100%; min-height: 128px; }
    .v-datechip { top: .4rem; left: .4rem; min-width: 2.5rem; padding: .25rem .3rem .2rem; }
    .v-datechip b { font-size: 1.1rem; }
    .v-card-body { padding: .7rem .75rem .8rem; }
    .v-initials { font-size: 1.5rem; }
    .v-hero-photo img { aspect-ratio: 16 / 10; }
}

/* ---------- Venue guide ---------- */
.v-areas, .v-list { list-style: none; display: grid; gap: .7rem; }
.v-areas li { display: grid; gap: .15rem; line-height: 1.5; }
.v-areas li strong { font-size: .88rem; }
.v-areas li span { color: var(--text-muted); font-size: .88rem; }
.v-list li { position: relative; padding-left: 1rem; line-height: 1.5; font-size: .88rem; }
.v-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--accent); }
.v-areas + .v-actions { margin-top: 1rem; }
.v-grid-info { display: grid; gap: .85rem; }
@media (min-width: 860px) { .v-grid-info { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; } }
.v-info { display: grid; gap: .75rem; }
.v-info-row { display: grid; gap: .1rem; }
.v-info dt { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.v-info dd { font-size: .9rem; line-height: 1.5; }
.v-panel a { color: var(--accent); }
.v-panel .v-btn { color: var(--text); }
.v-panel .v-btn:hover { color: var(--accent); }
.v-contact { margin-top: .9rem; font-size: .88rem; }
.v-contact + p { margin-top: .35rem; font-size: .88rem; }

/* ---------- More venues ---------- */
.v-others { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.v-other {
    display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text);
}
.v-other:hover { border-color: var(--accent); }
.v-other span { font-size: .78rem; color: var(--text-muted); }
.v-more-links { margin-top: 1rem; font-size: .85rem; color: var(--text-muted); line-height: 1.8; }
.v-more-links a { color: var(--accent); text-decoration: none; }

.v-footer { text-align: center; padding: 2rem 1rem; font-size: .8rem; color: var(--text-muted); border-top: 1px solid var(--border); }
.v-footer a { color: inherit; }

/* ---------- Predicted setlist panel (mirrors the gig list's) ---------- */
.v-btn.loading { opacity: .6; }
.v-setlist[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.v-drop .drop-head { display: flex; align-items: baseline; gap: .5rem .7rem; flex-wrap: wrap; margin-bottom: .7rem; }
.v-drop .dh-t { font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.v-drop .dh-tour { font-size: .76rem; color: var(--text-muted); }
.v-drop .dh-src { margin-left: auto; font-size: .7rem; color: var(--text-muted); }
.v-drop .dh-src a, .v-drop .se-footer a, .v-drop .se-error a { color: var(--accent); text-decoration: none; }
.v-drop .songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .25rem 1.6rem; }
.v-drop .song { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr) auto; gap: .4rem; align-items: baseline; font-size: .82rem; padding: .18rem 0; }
.v-drop .song .n { color: var(--text-muted); font-variant-numeric: tabular-nums; font-size: .72rem; }
.v-drop .song .t > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-drop .song .bar { height: 3px; border-radius: 2px; background: var(--surface-hover); margin-top: .22rem; overflow: hidden; }
.v-drop .song .bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.v-drop .song .pct { font-size: .68rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.v-drop .se-sort { font-size: .72rem; color: var(--text-muted); margin-bottom: .5rem; }
.v-drop .se-sort-opt { color: var(--text-muted); text-decoration: none; margin: 0 .15rem; }
.v-drop .se-sort-opt.active { color: var(--accent); font-weight: 600; }
.v-drop .se-error { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.v-drop .se-footer { font-size: .72rem; color: var(--text-muted); margin-top: .7rem; line-height: 1.5; }
/* The feature card is two columns on desktop; its panel spans the text side
   only, which is plenty for one column of songs. */
.v-feature .v-drop .songs { grid-template-columns: 1fr; }

/* In a card the panel sits after the body, spanning the full card width -
   on a phone the text column beside the photo is too narrow for it. */
.v-card > .v-drop { margin: 0 .7rem .8rem; }
@media (max-width: 560px) { .v-card > .v-drop { grid-column: 1 / -1; } }
