/* Artist card page, design "A · Portrait" (inc/artist-page.php, template-parts/artist-page*.php, 2026-11-05).
   The Artists & Music rust carries the head; each kind of material keeps its homepage colour: recordings on the
   Recordings navy, podcast episodes in their programme colours, people in rust. Square corners, rules, no shadows. */

.ap-page { --ap-navy: #32365f; --ap-rust: #b84329; --ap-rust-deep: #9c3620; --ap-tint: #fbece5; --ap-gold: #e8c26a; --ap-sky: #a8c5dc; --ap-olive: #5f6f35; --ap-rule: rgba(34, 34, 31, .16); }
.ap-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ap-nowrap { white-space: nowrap; }
.ap-arrow { display: inline-block; transition: transform .15s; }
a:hover > .ap-arrow, a:hover .ap-arrow { transform: translateX(3px); }
[dir="rtl"] .ap-arrow, .lang-ar .ap-arrow { transform: scaleX(-1); }
.lang-ar a:hover .ap-arrow { transform: scaleX(-1) translateX(3px); }

/* ---------- the head band ---------- */
.ap-head__in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 320px); gap: clamp(24px, 4vw, 64px); align-items: end; }
.ap-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--sec-muted); }
.ap-crumbs a { color: var(--sec-fg); text-decoration: none; border-bottom: 1px solid var(--sec-line); }
.ap-crumbs a:hover { border-bottom-color: currentColor; }
.ap-crumbs span { opacity: .7; }
.ap-head .ap-name { max-width: none; font-size: clamp(36px, 4.4vw, 68px); font-weight: 600; line-height: .92; letter-spacing: -.05em; text-wrap: initial; }
.ap-head .ap-name span { white-space: nowrap; }
.lang-ar .ap-head .ap-name { font-size: clamp(34px, 4vw, 62px); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.ap-alt { text-align: end; margin: 8px 0 0; font-size: clamp(20px, 2vw, 30px); font-weight: 500; line-height: 1.25; opacity: .92; }
.ap-alt[lang="ar"] { font-family: var(--font-ar); }
.ap-alt[lang="en"] { font-family: var(--font); letter-spacing: -.02em; }
.ap-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 0; border-top: 1px solid var(--sec-line); }
.ap-facts > div { padding-block: 10px 12px; padding-inline: 0 16px; }
.ap-facts > div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--sec-line); }
.ap-facts dt { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sec-muted); }
.lang-ar .ap-facts dt { font-size: 12.5px; letter-spacing: 0; }
.ap-facts dd { margin: 0; }
.ap-facts__main { margin-top: 2px !important; font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.ap-facts__sub { font-size: 14px; color: var(--sec-muted); line-height: 1.45; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ap-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 0; background: #1d1d1b; color: #fff; font: 700 14px/1.2 var(--font); cursor: pointer; }
.lang-ar .ap-btn { font-family: var(--font-ar); font-size: 15px; }
.ap-btn small { font-weight: 500; font-size: 13px; opacity: .75; }
.ap-btn:hover { background: #000; }
.ap-btn:focus-visible { outline: 2px solid var(--sec-fg); outline-offset: 3px; }
.ap-portrait { margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.ap-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.ap-portrait figcaption { padding-top: 8px; font-size: 12px; color: var(--sec-muted); }
.ap-plate { display: grid; place-items: center; aspect-ratio: 1; padding: 8%; background: var(--ap-rust-deep); color: rgba(255, 255, 255, .92); text-align: center; overflow: hidden; }
.ap-plate span { font-size: clamp(48px, 6.4vw, 112px); font-weight: 700; line-height: 1.1; }
.ap-plate[lang="ar"] { font-family: var(--font-ar); }
.ap-plate[lang="en"] span { font-family: var(--font); font-weight: 600; letter-spacing: -.05em; text-transform: uppercase; font-size: clamp(38px, 5vw, 88px); }

/* a tight join between the band and the page: little rust under the portrait, little ground before the text, so the
   bar sticks without a pale band sliding up under it first (user review 2026-11-05) */
.ap-page .ap-head { padding-bottom: 6px; }
.ap-page > .ed-strip { margin-bottom: 0; }
.ap-page .ap-bio { padding-top: clamp(28px, 3vw, 44px); }

/* the links, before page-head.js moves them into the strip (no JavaScript) */
.ap-nav:not(.ed-strip .ap-nav) { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 14px 0; border-bottom: 1px solid var(--ap-rule); font-size: 14px; font-weight: 600; }
.ap-nav:not(.ed-strip .ap-nav) a { text-decoration: none; }

/* ---------- sections ---------- */
.ap-sec { padding-block: clamp(44px, 6vw, 96px); }
.ap-sec + .ap-sec { padding-top: 0; }
.ap-band + .ap-sec { padding-top: clamp(44px, 6vw, 96px); }
.ap-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 34px; }
.ap-sec__head p { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.ap-page .ap-h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); font-weight: 500; line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.lang-ar .ap-page .ap-h2 { font-weight: 700; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.ap-count { margin-inline-start: 8px; vertical-align: top; font-size: .42em; font-weight: 700; letter-spacing: 0; color: var(--c, var(--muted)); }
.ap-kick { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lang-ar .ap-kick { font-size: 13px; letter-spacing: 0; }

/* ---------- biography ---------- */
.ap-bio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.ap-bio__text p { margin: 0 0 1.1em; max-width: 68ch; font-size: 18px; line-height: 1.72; }
.lang-ar .ap-bio__text p { font-size: 19px; line-height: 1.95; }
.ap-bio__text p.ap-lead { font-size: clamp(21px, 1.9vw, 26px); font-weight: 500; line-height: 1.48; letter-spacing: -.01em; }
.lang-ar .ap-bio__text p.ap-lead { font-size: clamp(22px, 2vw, 27px); line-height: 1.75; letter-spacing: 0; }
.ap-ref { font-size: .62em; line-height: 0; margin-inline-start: 2px; }
.ap-ref a { text-decoration: none; color: var(--ap-rust); font-weight: 700; }
.ap-long { margin: 8px 0 24px; border-top: 1px solid var(--ap-rule); }
.ap-long summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
.ap-long summary::-webkit-details-marker { display: none; }
.ap-long summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 500; }
.ap-long[open] summary::before { content: "–"; }
.ap-printed { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 28px 0 0; padding: 14px 16px; background: #fff; border-inline-start: 3px solid var(--ap-olive); }
.ap-printed b { flex: 0 0 100%; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-olive); }
.lang-ar .ap-printed b { font-size: 12.5px; letter-spacing: 0; }
.ap-printed bdi { font-size: 17px; font-weight: 600; }
.ap-aside { position: sticky; top: calc(var(--cap-h, 76px) + var(--ab-h, 0px) + var(--strip-t, 58px) + 76px); }
.ap-aside .amr--line { margin: 0 0 28px; }
.ap-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.ap-stats a { padding-block: 14px 16px; text-decoration: none; border-bottom: 1px solid var(--ap-rule); }
.ap-stats a:nth-child(odd) { padding-inline-end: 12px; border-inline-end: 1px solid var(--ap-rule); }
.ap-stats a:nth-child(even) { padding-inline-start: 16px; }
.ap-stats b { display: block; font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--c); }
.ap-stats span { font-size: 13px; font-weight: 700; }
.ap-stats a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.ap-tl { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; background: var(--ap-sky); color: #1c2433; font-size: 14px; font-weight: 700; text-decoration: none; }
.ap-tl:hover { background: #bcd3e6; }

/* a card without a biography: no empty text column, the archive's links take the width */
.ap-bio--none { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(28px, 3vw, 48px); }
.ap-bio--none .ap-aside { position: static; }
.ap-bio--none .ap-doors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); column-gap: 32px; }
.ap-bio--none .ap-tlcard { max-width: 560px; }

/* the archive's doors: link rows that look like what they are */
.ap-doors { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ap-door { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--ap-rule); text-decoration: none; transition: background-color .15s, padding .15s; }
.ap-door:hover, .ap-door:focus-visible { background: #fff; padding-inline-start: 12px; }
.ap-door__n { font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--c); font-variant-numeric: tabular-nums; }
.ap-door__t strong { display: block; font-size: 15px; line-height: 1.25; }
.ap-door__t small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.ap-door__go { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; font-size: 16px; line-height: 1; color: var(--ink); transition: background-color .15s, color .15s; }
.ap-door:hover .ap-door__go, .ap-door:focus-visible .ap-door__go { background: var(--c); border-color: var(--c); color: #fff; }
.ap-door:hover .ap-door__t strong { text-decoration: underline; text-underline-offset: 4px; }
/* the timeline: a card with the life drawn on the timeline's century */
.ap-tlcard { display: block; margin-top: 20px; padding: 16px 16px 14px; background: var(--ap-sky); color: #1c2433; text-decoration: none; transition: background-color .15s; }
.ap-tlcard:hover, .ap-tlcard:focus-visible { background: #bcd3e6; }
.ap-tlcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap-tlcard__top strong { display: block; font-size: 16px; }
.ap-tlcard__top small { display: block; margin-top: 2px; font-size: 13px; color: #34425c; }
.ap-tlcard .ap-door__go { color: #1c2433; }
.ap-tlcard:hover .ap-door__go, .ap-tlcard:focus-visible .ap-door__go { background: #1c2433; border-color: #1c2433; color: #fff; }
.ap-tlcard__axis { position: relative; display: block; height: 30px; margin-top: 16px; border-top: 1px solid rgba(28, 36, 51, .35); direction: ltr; }
.lang-ar .ap-tlcard__axis { transform: scaleX(-1); }
.ap-tlcard__life { position: absolute; top: -3px; height: 5px; background: #1c2433; }
.ap-tlcard__dot { position: absolute; top: -6px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #1c2433; box-shadow: 0 0 0 2px var(--ap-sky); }
.ap-tlcard__tick { position: absolute; top: 8px; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: #34425c; font-variant-numeric: tabular-nums; }
.lang-ar .ap-tlcard__tick { transform: translateX(-50%) scaleX(-1); }
.ap-tlcard__tick:first-of-type { transform: none; }
.lang-ar .ap-tlcard__tick:first-of-type { transform: scaleX(-1); }

/* ---------- recordings: the Recordings navy, full width ---------- */
.ap-band { position: relative; color: #fff; background: var(--ap-navy); box-shadow: 0 0 0 100vmax var(--ap-navy); clip-path: inset(0 -100vmax); padding-block: clamp(44px, 6vw, 96px); }
.ap-band .ap-sec__head p { color: rgba(255, 255, 255, .78); }
.ap-band .ap-count { color: var(--ap-gold); }
.ap-page .ap-band .ap-h2 { color: #fff; }
.ap-reclist { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.ap-rec { display: grid; grid-template-columns: clamp(96px, 13vw, 180px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding-block: 30px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.ap-disc { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #111 0 31%, transparent 31.5%), repeating-radial-gradient(circle, #1b1b1b 0 1px, #0c0c0c 1px 3px); }
.ap-disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ap-disc svg { position: absolute; inset: 19%; width: 62%; height: 62%; }
.ap-disc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.4%; height: 3.4%; transform: translate(-50%, -50%); border-radius: 50%; background: #f1f0ec; }
.ap-spin { animation: ap-spin 2.6s linear infinite; animation-play-state: paused; }
.ap-rec.is-playing .ap-spin { animation-play-state: running; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ap-spin { animation: none; } }
.ap-page .ap-rec__t { margin: 0; color: #fff; font-size: clamp(21px, 2.1vw, 30px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.lang-ar .ap-page .ap-rec__t { letter-spacing: 0; line-height: 1.45; }
.ap-rec__alt { text-align: end; margin: 4px 0 0; font-size: 18px; opacity: .85; }
.ap-rec__alt[lang="ar"] { font-family: var(--font-ar); }
.ap-rec__alt[lang="en"] { font-family: var(--font); }
.ap-rec__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .88); }
.ap-rec__meta b { color: #fff; }
.ap-rec__ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 18px; direction: ltr; } /* media controls keep their direction in Arabic */
.ap-pp { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--ap-navy); cursor: pointer; }
.ap-pp:focus-visible { outline: 2px solid var(--ap-gold); outline-offset: 3px; }
.ap-tri { display: block; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.ap-pp .ap-tri { margin-inline-start: 3px; margin-left: 3px; margin-right: 0; }
.is-playing > .ap-tri, .ap-pp.is-playing .ap-tri, .ap-btn.is-playing .ap-tri { width: 10px; height: 12px; margin: 0; border: 0; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.ap-wave { position: relative; height: 48px; cursor: pointer; --p: 0; }
.ap-wave__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 1px; }
.ap-wave__bars i { flex: 1; min-height: 2px; background: rgba(255, 255, 255, .28); }
.ap-wave__bars--on { clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0); }
.ap-wave__bars--on i { background: var(--ap-gold); }
.ap-wave__pv { position: absolute; top: -5px; bottom: -5px; border-inline: 1px dashed rgba(255, 255, 255, .55); pointer-events: none; }
.ap-rec__time { font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.ap-rec__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; font-size: 13px; }
.ap-rec__foot a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.ap-rec__foot a:hover { border-bottom-color: #fff; }
.ap-rec__pv { color: rgba(255, 255, 255, .7); }
.ap-rec.is-error .ap-rec__pv { color: var(--ap-gold); }

/* ---------- podcast episodes ---------- */
.ap-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ap-prog { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; }
.ap-prog::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--c); }
.ap-eplist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.ap-ep { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 14px; border-top: 4px solid var(--c); text-decoration: none; }
.ap-ep img, .ap-ep__ph { width: 112px; height: 112px; object-fit: cover; background: #e6e3da; }
.ap-ep__body { display: flex; flex-direction: column; min-width: 0; }
.ap-ep__n { margin-top: 4px; font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--c); font-variant-numeric: tabular-nums; text-align: start; }
.ap-ep__t { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.ap-ep__m { margin-top: 6px; font-size: 13px; color: var(--muted); }
.ap-ep__plays { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--ap-navy); }
.ap-ep__plays::before { content: "♪"; }
.ap-ep:hover .ap-ep__t { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- people named in the biography ---------- */
.ap-people { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; }
.ap-person { display: block; text-decoration: none; }
.ap-person img, .ap-person .ap-plate { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.ap-plate--s { background: var(--ap-tint); color: var(--ap-rust-deep); filter: none !important; }
.ap-plate--s span { font-size: clamp(16px, 1.6vw, 22px); }
.ap-plate--s[lang="en"] span { font-size: clamp(14px, 1.3vw, 18px); }
.ap-person strong { display: block; margin-top: 10px; font-size: 16px; line-height: 1.25; }
.ap-person small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.ap-person:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- sources ---------- */
.ap-page .ap-sources { display: block; }
.ap-srcfold { border-top: 1px solid var(--ink); }
.ap-srcfold summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding: 18px 0; cursor: pointer; list-style: none; }
.ap-srcfold summary::-webkit-details-marker { display: none; }
.ap-srcfold .ap-h2 { font-size: clamp(24px, 2.4vw, 34px); }
.ap-srcfold__hint { margin-inline-start: auto; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ap-srcfold__hint::after { content: " +"; text-decoration: none; display: inline-block; margin-inline-start: 4px; }
.ap-srcfold[open] .ap-srcfold__hint::after { content: " –"; }
.ap-srcfold[open] > .ap-srcs { padding-bottom: 8px; }
.ap-srcfold:not([open]) > .ap-srcs { display: none; } /* the list's own layout would otherwise show through the fold */
.ap-sources { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.ap-srcs { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.ap-srcs li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 0 6px; padding: 10px 0; border-top: 1px solid var(--ap-rule); break-inside: avoid; font-size: 14px; line-height: 1.5; }
.ap-srcs li[hidden] { display: none; }
.ap-srcs li::before { content: attr(value); grid-row: span 2; font-weight: 800; color: var(--muted); }
.ap-srcs li:target { background: #fff; outline: 2px solid var(--ap-rust); outline-offset: 2px; }
.ap-srcs a { text-decoration: none; }
.ap-srcs a:hover { text-decoration: underline; }
.ap-host { grid-column: 2; font-size: 12px; color: var(--muted); text-align: start; }
.ap-more, .ap-link { padding: 0; border: 0; background: none; color: var(--ink); font: 700 14px/1.4 inherit; font-family: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ap-more { margin-top: 18px; }
.ap-more--band { margin-top: 24px; color: #fff; }
.ap-eplist > li[hidden], .ap-reclist > li[hidden] { display: none; }

/* ---------- the generation, the page's details ---------- */
.ap-gen { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 24px; padding-block: 26px; background: var(--ap-tint); box-shadow: 0 0 0 100vmax var(--ap-tint); clip-path: inset(0 -100vmax); }
.ap-gen > a:not(.ap-gen__all) { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.ap-gen img { flex: none; width: 52px; height: 52px; object-fit: cover; filter: grayscale(1); }
.ap-gen small { display: block; font-size: 12px; font-weight: 700; color: var(--ap-rust-deep); }
.ap-gen strong { display: block; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.ap-gen em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.ap-gen .ap-gen__next { justify-content: flex-end; text-align: end; flex-direction: row-reverse; }
.ap-gen__all { grid-column: 2; grid-row: 1; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ap-rust-deep); text-decoration: none; }
.lang-ar .ap-gen__all { letter-spacing: 0; }
.ap-gen__prev { grid-column: 1; grid-row: 1; }
.ap-gen__next { grid-column: 3; grid-row: 1; }
.ap-gen a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ap-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-block: 22px 0; font-size: 13px; color: var(--muted); }
.ap-meta a { color: var(--ink); font-weight: 700; }
.ap-meta .ap-link { font-size: 13px; }
.ap-meta__msg { color: var(--ap-olive); font-weight: 700; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
	.ap-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ap-eplist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.ap-head__in { grid-template-columns: 1fr; }
	.ap-portrait { order: -1; max-width: 300px; }
	.ap-bio, .ap-sources { grid-template-columns: 1fr; }
	.ap-aside { position: static; }
	.ap-srcs { columns: 1; }
	.ap-gen { grid-template-columns: 1fr 1fr; }
	.ap-gen__all { display: none; }
	.ap-gen__next { grid-column: 2; }
}
@media (max-width: 600px) {
	.ap-facts { grid-template-columns: 1fr 1fr; }
	.ap-facts > div:nth-child(3) { grid-column: 1 / -1; padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--sec-line); }
	.ap-eplist { grid-template-columns: 1fr; }
	.ap-ep { grid-template-columns: 88px minmax(0, 1fr); }
	.ap-ep img, .ap-ep__ph { width: 88px; height: 88px; }
	.ap-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-rec { grid-template-columns: 1fr; }
	.ap-disc { width: 120px; }
	.ap-rec__ctl { grid-template-columns: auto minmax(0, 1fr); }
	.ap-rec__time { grid-column: 2; }
	.ap-gen { grid-template-columns: 1fr; }
	.ap-gen__next, .ap-gen__prev { grid-column: 1; grid-row: auto; }
	.ap-gen .ap-gen__next { flex-direction: row; justify-content: flex-start; text-align: start; }
}
