/* Festival hubs — /magazine/festivals/…
 *
 * Deliberately mirrors home.css and detail.css: same black ground, same red,
 * same hairline, same card geometry. A reader moving from the homepage to a
 * venue page to a festival guide should be looking at one site rather than
 * three, which is the note detail.css makes about home.css and the reason
 * these tokens are copied rather than reinvented.
 *
 * Tokens are declared here on :root with an `fs-` prefix, the way every other
 * sheet in this project scopes its own (home.css uses --home-, detail.css uses
 * --dp-). There is no global token file to import from.
 */

:root {
    --fs-max: 1100px;
    --fs-gut: 1.5rem;
    --fs-red: #ff0000;
    --fs-red-dim: #cc0000;
    --fs-red-soft: #ff4444;
    --fs-line: rgba(255, 255, 255, .10);
    --fs-line-soft: rgba(255, 255, 255, .06);
    --fs-surface: #101010;
    --fs-surface-2: #161616;
    --fs-muted: #8a8a8a;
    --fs-text: #e8e8e8;
}

.fest-page {
    max-width: var(--fs-max);
    margin: 0 auto;
    padding: 2rem var(--fs-gut) 4rem;
    color: var(--fs-text);
}

/* --- Breadcrumb ------------------------------------------------------- */

.fest-crumbs {
    font-size: .8rem;
    color: var(--fs-muted);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.fest-crumbs a { color: var(--fs-muted); text-decoration: none; }
.fest-crumbs a:hover { color: var(--fs-red-soft); }

/* --- Masthead --------------------------------------------------------- */

.fest-masthead {
    border-bottom: 1px solid var(--fs-line);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.fest-kicker {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fs-red);
    margin: 0 0 .5rem;
}

.fest-title {
    font-family: 'Lacquer', 'Inter', system-ui, sans-serif;
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 .75rem;
    color: #fff;
}

.fest-strapline {
    color: var(--fs-muted);
    max-width: 56ch;
    margin: 0;
    line-height: 1.6;
}

/* Fact strip. A definition list in spirit; a ul because the markup is flatter
 * and the label/value pairing is carried by the two spans. */
.fest-facts {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.fest-facts--wide { margin-bottom: 2rem; }

.fest-fact-k {
    display: block;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fs-muted);
    margin-bottom: .25rem;
}

.fest-fact-v {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* --- Sub-page nav ----------------------------------------------------- */

.fest-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}

.fest-tab {
    display: inline-block;
    padding: .45rem .9rem;
    border: 1px solid var(--fs-line);
    border-radius: 5px;
    background: var(--fs-surface);
    color: var(--fs-muted);
    text-decoration: none;
    font-size: .85rem;
    transition: border-color .15s, color .15s, transform .15s;
}

.fest-tab:hover {
    border-color: var(--fs-red-dim);
    color: #fff;
    transform: translateY(-2px);
}

.fest-tab.is-active {
    border-color: var(--fs-red);
    color: #fff;
    background: var(--fs-surface-2);
}

/* --- Sections --------------------------------------------------------- */

.fest-section { margin: 0 0 2.5rem; }

.fest-section h2 {
    font-family: 'Lacquer', 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: #fff;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .75rem;
}

.fest-count {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .8rem;
    font-weight: 400;
    color: var(--fs-muted);
}

.fest-lead {
    color: var(--fs-muted);
    line-height: 1.65;
    max-width: 62ch;
    margin: 0 0 1.25rem;
}

.fest-intro, .fest-prose {
    color: var(--fs-text);
    line-height: 1.7;
    max-width: 68ch;
    margin-bottom: 2rem;
}

.fest-intro p, .fest-prose p { margin: 0 0 1rem; }

.fest-empty {
    color: var(--fs-muted);
    background: var(--fs-surface);
    border: 1px solid var(--fs-line);
    border-radius: 6px;
    padding: 1.5rem;
    line-height: 1.6;
}

/* --- Lineup ----------------------------------------------------------- */

.fest-headliners {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.fest-headliners li {
    font-family: 'Lacquer', 'Inter', system-ui, sans-serif;
    font-size: 1.35rem;
    color: #fff;
}

.fest-headliners a { color: #fff; text-decoration: none; }
.fest-headliners a:hover { color: var(--fs-red-soft); }

.fest-lineup-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .5rem;
}

.fest-lineup-grid li {
    padding: .6rem .75rem;
    background: var(--fs-surface);
    border: 1px solid var(--fs-line-soft);
    border-radius: 5px;
    font-size: .9rem;
}

.fest-lineup-grid a { color: var(--fs-text); text-decoration: none; }
.fest-lineup-grid a:hover { color: var(--fs-red-soft); }

.fest-act--headliner { border-left: 2px solid var(--fs-red); }
.fest-act--sub { border-left: 2px solid var(--fs-red-dim); }

/* --- Lists ------------------------------------------------------------ */

.fest-list { list-style: none; margin: 0; padding: 0; }

.fest-list li {
    padding: .85rem 0;
    border-bottom: 1px solid var(--fs-line-soft);
}

.fest-list a { color: var(--fs-text); text-decoration: none; font-weight: 500; }
.fest-list a:hover { color: var(--fs-red-soft); }

.fest-meta {
    display: block;
    font-size: .8rem;
    color: var(--fs-muted);
    margin-top: .2rem;
}

/* Date-rail rows, the shape detail.css uses for gig listings. */
.fest-list--rows li {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    gap: 1rem;
    align-items: baseline;
}

.fest-row-date {
    font-size: .8rem;
    color: var(--fs-red);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fest-row-where {
    font-size: .8rem;
    color: var(--fs-muted);
    text-align: right;
}

@media (max-width: 640px) {
    .fest-list--rows li { grid-template-columns: 1fr; gap: .25rem; }
    .fest-row-where { text-align: left; }
}

/* --- Tickets ---------------------------------------------------------- */

.fest-price {
    font-family: 'Lacquer', 'Inter', system-ui, sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 1rem;
}

.fest-ticket-list { list-style: none; margin: 0; padding: 0; }

.fest-ticket-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--fs-line-soft);
}

.fest-ticket-name { flex: 1; min-width: 0; }
.fest-ticket-name a { color: var(--fs-text); text-decoration: none; }
.fest-ticket-name a:hover { color: var(--fs-red-soft); }

.fest-btn {
    flex: 0 0 auto;
    display: inline-block;
    padding: .5rem 1.1rem;
    background: var(--fs-red);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: background .15s;
}

.fest-btn:hover { background: var(--fs-red-dim); color: #fff; }

/* --- Cards ------------------------------------------------------------ */

.fest-cards {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.fest-card {
    background: var(--fs-surface);
    border: 1px solid var(--fs-line);
    border-radius: 6px;
    padding: 1.25rem;
    transition: border-color .15s, transform .15s;
}

.fest-card:hover { border-color: var(--fs-red-dim); transform: translateY(-2px); }

.fest-card h2, .fest-card h3 {
    font-family: 'Lacquer', 'Inter', system-ui, sans-serif;
    font-size: 1.2rem;
    margin: 0 0 .5rem;
}

.fest-card a { color: #fff; text-decoration: none; }
.fest-card a:hover { color: var(--fs-red-soft); }

.fest-card--past { opacity: .72; }

.fest-card-lineup {
    font-size: .8rem;
    color: var(--fs-muted);
    line-height: 1.6;
    margin: .5rem 0 0;
}

.fest-sibling-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.fest-sibling-row li {
    padding: .45rem .9rem;
    border: 1px solid var(--fs-line);
    border-radius: 5px;
    background: var(--fs-surface);
    font-size: .85rem;
}

.fest-sibling-row a { color: var(--fs-text); text-decoration: none; }
.fest-sibling-row a:hover { color: var(--fs-red-soft); }

/* --- FAQ -------------------------------------------------------------- */

.fest-faq dl { margin: 0; }

.fest-faq dt {
    font-weight: 600;
    color: #fff;
    margin-top: 1.25rem;
}

.fest-faq dd {
    margin: .4rem 0 0;
    color: var(--fs-muted);
    line-height: 1.65;
    max-width: 66ch;
}

/* --- Footers ---------------------------------------------------------- */

.fest-more-row { margin: 2rem 0 0; }

.fest-more {
    display: inline-block;
    color: var(--fs-red-soft);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    margin-top: 1rem;
}

.fest-more:hover { text-decoration: underline; }

.fest-official {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fs-line);
    font-size: .8rem;
    color: var(--fs-muted);
    word-break: break-all;
}

.fest-official a { color: var(--fs-muted); }
.fest-official a:hover { color: var(--fs-red-soft); }

.fest-archive .fest-meta { font-size: .85rem; }
