/* Server-rendered archive surfaces: the hub's archive index, recording, collection,
   news and status pages, and credit lines. Tokens and type come from styles.css. */
.hero-availability { max-width: 34rem; margin: 1rem 0 0; color: var(--ink-secondary); font-size: 0.85rem; line-height: 1.6; }
.credit-line { display: block; color: var(--ink-secondary); font-size: 0.78rem; line-height: 1.5; overflow-wrap: anywhere; }
.credit-line a, .map-sound-credit a, .focused-player-credit a, .sound-card-credit a, .hero-feature-credit a, .live-player-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.map-sound-credit { display: block; margin-top: 0.35rem; color: var(--ink-secondary); font-size: 0.75rem; }
.focused-player-credit { margin: 0.5rem 0 0; color: var(--ink-secondary); font-size: 0.82rem; line-height: 1.5; }
/* Import credit beside cards, the hero caption and the compact player (owner decision 2026-11-04). */
.sound-card-credit { display: block; color: var(--ink-tertiary); font-size: 0.72rem; line-height: 1.45; overflow-wrap: anywhere; }
.hero-feature-credit { display: block; width: min(100%, 33rem); margin-top: 0.5rem; padding-left: 3.65rem; color: var(--ink-secondary); font-size: 0.74rem; line-height: 1.45; overflow-wrap: anywhere; }
.live-player-copy > .live-player-credit { white-space: normal; overflow-wrap: anywhere; font-size: 0.62rem; line-height: 1.35; }
.live-player-copy > .live-player-credit:empty { display: none; }
/* The place follows the recordist only when the recording has one. */
#focused-player-location:not(:empty)::before { content: ' · '; }
.focused-player-permalink { display: inline-block; margin-top: 0.5rem; color: var(--ink); font-size: 0.85rem; text-underline-offset: 3px; }
.sound-card-license { color: var(--ink-tertiary); font-size: 0.72rem; }

.archive-index { max-width: calc(74rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 4rem; }
.archive-facts { max-width: 48rem; margin: 0 0 2.5rem; }
.archive-facts h3, .archive-columns h3, .archive-collections h3, .archive-definitions h3 { margin: 0 0 0.75rem; font-size: 1rem; font-weight: 650; }
.archive-facts p, .archive-definitions p { margin: 0; color: var(--ink-secondary); line-height: 1.75; }
.archive-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem 3rem; margin-bottom: 2.5rem; }
.archive-list { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.archive-item { display: grid; gap: 0.15rem; min-width: 0; }
.archive-item-title { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.archive-item-title:hover, .archive-item-title:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.archive-item-meta { color: var(--ink-secondary); font-size: 0.82rem; overflow-wrap: anywhere; }
.archive-collections ul { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.archive-collections a { color: var(--ink); font-weight: 600; }
.archive-collections span { margin-left: 0.4rem; color: var(--ink-tertiary); font-size: 0.82rem; }
.archive-definitions { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem 3rem; }

.archive-main { max-width: calc(52rem + 2 * var(--gutter)); min-height: 60vh; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) 3rem; }
.archive-site-header .language-switch { margin-left: auto; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; color: var(--ink-secondary); font-size: 0.85rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--ink-faint); }
.breadcrumb a { color: inherit; }
.record h1, .collection-heading h1, .status-page h1, .archive-main .news-heading h1 { margin: 0 0 0.75rem; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; overflow-wrap: anywhere; }
.record-byline { margin: 0 0 1.5rem; color: var(--ink-secondary); }
.record-audio { display: block; width: 100%; margin: 0 0 1.5rem; }
.record-description, .record-note p, .collection-heading p, .status-page p { color: var(--ink-secondary); line-height: 1.75; overflow-wrap: anywhere; }
.record-note h2, .record-related h2, .collection-others h2 { margin: 2rem 0 0.75rem; font-size: 1.15rem; font-weight: 650; }
.record-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem 2rem; margin: 1.5rem 0; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.record-facts dt { color: var(--ink-tertiary); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.record-facts dd { margin: 0.2rem 0 0; overflow-wrap: anywhere; }
.record-credit { color: var(--ink-secondary); font-size: 0.9rem; line-height: 1.6; }
.record-credit .credit-line { display: inline; font-size: inherit; }
.record-archive-link { margin: 2.5rem 0 0; }
.collection-count { color: var(--ink-tertiary); font-size: 0.85rem; }
.collection-heading { margin-bottom: 2rem; }
.collection-others ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0; list-style: none; }
.status-page { padding: 3rem 0; }
@media (max-width: 38rem) {
  .archive-site-header .header-cta-btn { display: none; }
}
