/* ==========================================================================
   A magazine article (views/blogs/blog_detail.html), 13 Nov 2026.

   The magazine front page's language (content_page.css): a red kicker line
   over a hairline, heavy tight type set left, a white rule under the head.
   The body sits beside a sticky contents rail when the post has one, and
   alone in a reading column when it has not (.art-page--solo).
   ========================================================================== */

.art-page {
    --art-red: #ff0000;
    --art-line: #262626;
    --art-muted: #8a8a8a;
    max-width: 1120px;
    margin: 0 auto;
    padding: 100px 1.5rem 4rem;
    color: #e6e6e6;
}

/* Reading progress, under the site header. */
.art-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200; pointer-events: none; }
.art-progress span { display: block; height: 100%; background: #ff0000; transform: scaleX(0); transform-origin: 0 50%; }

/* --- Head ---------------------------------------------------------------- */

.art-head { border-bottom: 3px solid #fff; padding-bottom: 1.4rem; margin-bottom: 2.5rem; }
.art-head-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    border-bottom: 1px solid #333; padding-bottom: .5rem; margin-bottom: 1.6rem; }
.art-crumb, .art-date { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.art-crumb a { color: var(--art-red); text-decoration: none; }
.art-crumb a:hover { color: #fff; }
.art-crumb span { color: #444; margin: 0 .35em; }
.art-date { color: #777; font-weight: 400; letter-spacing: .1em; white-space: nowrap; }
.art-draft { display: inline-block; margin: 0 0 1rem; padding: .25rem .7rem; background: #664400; color: #ffcc66;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.art-title { margin: 0; max-width: 18ch; font-size: clamp(2.2rem, 6.2vw, 4.6rem); font-weight: 900; line-height: .98;
    letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.art-deck { margin: 1.4rem 0 0; max-width: 46rem; font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.45; color: #b9b9b9; }
.art-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.5rem; margin-top: 1.6rem; }
.art-meta p { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 0; font-size: .78rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--art-muted); }
.art-meta p > span + span::before { content: '/'; color: #444; margin: 0 .7em; }
.art-meta strong { color: #fff; font-weight: 700; }
.art-meta-actions { gap: .5rem !important; }
.art-chip { background: none; border: 1px solid #3a3a3a; color: #ddd; padding: .4rem .8rem; font: inherit; font-size: .7rem;
    font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.art-chip:hover { border-color: #fff; color: #fff; }

.art-hero { margin: -1rem 0 2.5rem; }
.art-hero img { display: block; width: 100%; max-height: 520px; object-fit: cover; }

/* --- Layout -------------------------------------------------------------- */

.art-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 4rem; align-items: start; }
.art-page--solo .art-layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
.art-page--solo .art-head { text-align: left; }

.art-rail { position: sticky; top: 96px; }
.art-rail-label { margin: 0 0 .9rem; font-size: .7rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.art-rail ol { list-style: none; margin: 0; padding: 0; counter-reset: rail; border-top: 1px solid var(--art-line); }
.art-rail li { counter-increment: rail; border-bottom: 1px solid var(--art-line); }
.art-rail a { display: grid; grid-template-columns: 1.9rem 1fr; padding: .65rem 0; font-size: .86rem; line-height: 1.35;
    color: #9a9a9a; text-decoration: none; transition: color .15s; }
.art-rail a::before { content: counter(rail, decimal-leading-zero); font-size: .68rem; font-weight: 700; letter-spacing: .05em;
    color: #555; padding-top: .15em; }
.art-rail a:hover, .art-rail a.is-here { color: #fff; }
.art-rail a.is-here::before { color: var(--art-red); }

/* --- Body ---------------------------------------------------------------- */

.blog-content { font-size: 1.1rem; line-height: 1.75; color: #d6d6d6; counter-reset: sec; }
.blog-content p { margin: 0 0 1.5rem; }
/* The opening paragraph carries the answer, so it is set as the lead. */
.blog-content > p:first-of-type { font-size: 1.32rem; line-height: 1.55; color: #fff; }
.blog-content a { color: #fff; text-decoration: underline; text-decoration-color: var(--art-red);
    text-decoration-thickness: 2px; text-underline-offset: 3px; }
.blog-content a:hover { color: var(--art-red); }
.blog-content strong { color: #fff; }

.blog-content h2 { counter-increment: sec; margin: 3.4rem 0 1.1rem; padding-top: 1.1rem; border-top: 1px solid #333;
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; color: #fff;
    scroll-margin-top: 90px; }
.blog-content h2::before { content: counter(sec, decimal-leading-zero); display: block; margin-bottom: .55rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--art-red); }
.blog-content h3 { margin: 2.2rem 0 .8rem; font-size: 1.2rem; font-weight: 700; color: #fff; }

.blog-content ul, .blog-content ol { margin: 0 0 1.6rem; padding: 0; list-style: none; }
.blog-content li { position: relative; margin: 0 0 .7rem; padding-left: 2rem; }
.blog-content ul > li::before { content: ''; position: absolute; left: .35rem; top: .72em; width: 7px; height: 7px; background: var(--art-red); }
.blog-content ol { counter-reset: step; }
.blog-content ol > li { counter-increment: step; }
.blog-content ol > li::before { content: counter(step); position: absolute; left: 0; top: .1em; font-size: .8rem; font-weight: 900;
    color: var(--art-red); }

.blog-content blockquote { margin: 2.4rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 4px solid var(--art-red);
    font-size: 1.45rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.blog-content blockquote p { margin: 0; }

.blog-content table { display: block; overflow-x: auto; width: 100%; margin: 2rem 0 2.2rem; border-collapse: collapse;
    border-top: 3px solid #fff; font-size: .95rem; line-height: 1.45; }
.blog-content thead th { padding: .7rem .9rem; font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase;
    color: #fff; text-align: left; border-bottom: 1px solid #444; white-space: nowrap; }
.blog-content td { padding: .8rem .9rem; border-bottom: 1px solid var(--art-line); text-align: left; vertical-align: top; }
.blog-content tbody td:first-child { color: #fff; font-weight: 700; }
.blog-content tbody tr:hover td { background: #121212; }

.blog-content img, .blog-content video { max-width: 100%; height: auto; }
.art-figure { margin: 0 0 2.2rem; }
.art-figure img { display: block; width: 100%; height: auto; }
.art-figure figcaption { margin-top: .5rem; font-size: .72rem; letter-spacing: .04em; color: #777; line-height: 1.4; }
.art-figure figcaption a { color: #999; text-decoration: none; border-bottom: 1px solid #444; }

/* A festival's live facts inside an article ([[festival:slug]], see
   custom_filters.festival_blocks). */
.fest-card-inline { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid #2a2a2a; border-left: 3px solid #ff0000;
  border-radius: 6px; background: #121212; }
.fest-card-inline p { margin: 0 0 .35rem; }
.fest-card-inline-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #ff5555; }
.fest-card-inline-title { font-size: 1.15rem; font-weight: 700; }
.fest-card-inline-title a { color: #fff; text-decoration: none; }
.fest-card-inline-meta { color: #bbb; font-size: .92rem; }
.fest-card-inline-facts { margin: .6rem 0; display: grid; gap: .3rem; }
.fest-card-inline-facts div { display: grid; grid-template-columns: 8rem 1fr; gap: .5rem; font-size: .9rem; }
.fest-card-inline-facts dt { color: #fff; font-weight: 700; }
.fest-card-inline-facts dd { margin: 0; color: #d8d8d8; }
.fest-card-inline-more { font-size: .9rem; }
.fest-card-inline-more a { color: #ff5555; }

/* --- Blocks drawn in the body (article_blocks.py) ------------------------- */

.art-block { margin: 2.4rem 0; padding: 1.3rem 1.4rem; background: #101010; border: 1px solid var(--art-line, #262626);
    border-top: 3px solid #ff0000; font-size: 1rem; }
.art-block p { margin: 0 0 .4rem; }
.art-block a { text-decoration: none; }
.art-block-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ff0000; }
.art-block-title { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.art-block-title a { color: #fff; }
.art-block-text { color: #aaa; font-size: .95rem; line-height: 1.5; }
.art-block-more { margin-top: .9rem !important; }
.art-block-more a { display: inline-block; padding: .55rem 1rem; background: #fff; color: #000 !important; font-size: .72rem;
    font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.art-block-more a:hover { background: #ff0000; color: #fff !important; }
.art-gigs-list { margin: .6rem 0 .4rem !important; }
.art-gigs-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; margin: 0 !important;
    padding: .6rem 0 !important; border-bottom: 1px solid #222; font-size: .98rem; }
.art-gigs-list li::before { display: none; }
.art-gigs-list li a { color: #fff; font-weight: 700; }
.art-gigs-list li a:hover { color: #ff0000; }
.art-gigs-list li span { color: #888; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.art-calc { padding: 0; border-top-width: 3px; }
.art-calc iframe { display: block; width: 100%; height: 620px; border: 0; background: #0b0b0b; }
.art-calc .art-block-more { margin: 0 !important; padding: .9rem 1.2rem; }

/* --- Foot ---------------------------------------------------------------- */

.art-more { margin-top: 4.5rem; }
.art-more-label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.2rem; font-size: .85rem; font-weight: 900;
    letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.art-more-label::after { content: ''; flex: 1; height: 1px; background: #333; }
.art-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid #fff; }
.art-more-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.5rem 0; color: inherit;
    text-decoration: none; border-bottom: 1px solid var(--art-line); }
.art-more-card + .art-more-card { padding-left: 1.4rem; border-left: 1px solid var(--art-line); }
.art-more-n { font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: #555; }
.art-more-cat { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--art-red); }
.art-more-title { font-size: 1.25rem; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; color: #fff; transition: color .15s; }
.art-more-card:hover .art-more-title { color: var(--art-red); }
.art-more-date { margin-top: auto; padding-top: .6rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #777; }

.art-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem;
    margin-top: 4rem; padding: 1.8rem 2rem; background: #fff; color: #000; }
.art-strip p { margin: 0; }
.art-strip-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.art-strip-text { margin-top: .35rem !important; font-size: .92rem; color: #444; }
.art-strip-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.art-btn { display: inline-block; padding: .8rem 1.2rem; border: 2px solid #000; color: #000; font-size: .74rem; font-weight: 900;
    letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.art-btn:hover { background: #000; color: #fff; }
.art-btn--solid { background: #ff0000; border-color: #ff0000; color: #fff; }
.art-btn--solid:hover { background: #000; border-color: #000; }

/* --- Narrow screens ------------------------------------------------------ */

@media (max-width: 900px) {
    .art-page { padding: 84px 1.1rem 3rem; }
    .art-layout, .art-page--solo .art-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .art-rail { position: static; padding: 1rem 1.1rem .4rem; background: #101010; border: 1px solid var(--art-line); }
    .art-rail ol { border-top: 0; }
    .art-rail li:last-child { border-bottom: 0; }
    .art-head { margin-bottom: 1.8rem; }
    .blog-content { font-size: 1.05rem; }
    .blog-content > p:first-of-type { font-size: 1.2rem; }
    .art-more-grid { grid-template-columns: 1fr; }
    .art-more-card, .art-more-card + .art-more-card { padding: 1.1rem 0 1.2rem; border-left: 0; }
    .art-strip { padding: 1.5rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .art-progress { display: none; }
}
