/* ==========================================================================
   TT-NEWS.tv v3 — site.css
   Hand-written, no build step, no external requests.

    1  Fonts            8  Home
    2  Tokens           9  Listing, search, pagination
    3  Base            10  Video page
    4  Shell, header   11  Tags, static page, error page
    5  Navigation      12  Footer
    6  Components      13  Dark mode, motion, print
    7  Cards, rows
   ========================================================================== */

/* 1  Fonts — self-hosted variable fonts (SIL OFL 1.1), see ../fonts/
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/rubik-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback so the swap to Roboto barely moves the layout. */
@font-face {
  font-family: "Roboto Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 92.49%;
  descent-override: 24.34%;
  line-gap-override: 0%;
  size-adjust: 100.3%;
}

/* 2  Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  --font-head: "Rubik", "Roboto Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", "Roboto Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* tt-news.de family colours */
  --navy: #0b2983;
  --navy-600: #1638a6;
  --navy-800: #08206a;
  --navy-900: #061650;
  --navy-950: #040d2e;
  --sky: #4db2ec;
  --green: #82bc38;
  --green-700: #039861;
  --blue: #1e73be;

  /* surfaces & text (light) */
  --page: #eaeaea;
  --surface: #ffffff;
  --surface-2: #f4f5f8;
  --surface-3: #e8ebf2;
  --text: #15181f;
  --text-2: #3b414d;
  --muted: #5d6472;
  --line: #dde0e7;
  --line-strong: #c5cad6;

  /* roles */
  --brand-fill: var(--navy);     /* labels, active states, primary buttons */
  --brand-ink: var(--navy);      /* brand-coloured text on surfaces */
  --brand-line: var(--navy);     /* section rules (Newspaper block titles) */
  --brand-frame: var(--navy);    /* wordmark frame */
  --link: var(--blue);
  --hover-ink: var(--blue);
  --focus: var(--navy);
  --chip-bg: var(--surface-3);
  --chip-hover: #dbe2f4;
  --danger: #b3261e;
  --shadow-box: 0 0 0 1px rgb(0 0 0 / .03), 0 18px 50px -28px rgb(11 41 131 / .35);
  --shadow-pop: 0 14px 34px -12px rgb(4 13 46 / .45);

  /* dark "stage" bands (hero, player) — identical in both schemes */
  --stage: #040b26;
  --stage-2: #0a1c5a;
  --on-stage: #ffffff;
  --on-stage-2: #d0d7ec;
  --on-stage-muted: #a3aed0;

  /* type scale */
  --fs-xs: .75rem;
  --fs-sm: .8125rem;
  --fs-md: .9375rem;
  --fs-h1: clamp(1.625rem, 1.15rem + 1.9vw, 2.5rem);
  --fs-hero: clamp(1.375rem, 1rem + 1.5vw, 2.125rem);
  --fs-video: clamp(1.375rem, 1.05rem + 1.25vw, 2rem);

  /* geometry */
  --wrap: 1320px;
  --gutter: 16px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

/* 3  Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 1rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
svg { overflow: visible; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--link); text-underline-offset: .16em; text-decoration-thickness: from-font; }
a:hover { color: var(--hover-ink); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

[hidden] { display: none !important; }

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -.125em;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.sep { margin-inline: .45em; opacity: .6; }

/* 4  Shell & header
   -------------------------------------------------------------------------- */
.site {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: var(--wrap);
  margin-inline: auto;
  background: var(--surface);
  box-shadow: var(--shadow-box);
}

.wrap { padding-inline: var(--gutter); }

.main { flex: 1 0 auto; }
.main:focus { outline: none; }

.skip-link {
  position: absolute;
  top: -200px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font: 600 var(--fs-md) var(--font-head);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; outline-color: var(--sky); }

/* top bar */
.topbar {
  display: none;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 400 var(--fs-xs)/1 var(--font-head);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}
.topbar__links { display: flex; gap: 4px 18px; list-style: none; }
.topbar__links a { color: var(--text-2); text-decoration: none; }
.topbar__links a:hover { color: var(--brand-ink); text-decoration: underline; }
@media (min-width: 640px) { .topbar { display: block; } }

/* header row */
.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 12px;
}
@media (min-width: 1100px) { .header { flex-wrap: nowrap; padding-block: 20px; } }

/* wordmark: [TT][NEWS][▶tv] — echoes the tt-news.de logo, with a distinct .tv tab */
.brand {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
}
.brand__mark {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--brand-frame);
  border-radius: 4px;
  overflow: hidden;
  font: 800 22px/1 var(--font-head);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.brand__tt, .brand__news, .brand__tv { display: inline-flex; align-items: center; padding: 5px 6px 4px; }
.brand__tt { background: #fff; color: var(--navy); }
.brand__news { background: var(--navy); color: #fff; padding-right: 7px; }
.brand__tv {
  gap: 3px;
  padding-inline: 6px 8px;
  background: var(--sky);
  color: var(--navy-950);
  font-size: .72em;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.brand__play { width: .6em; height: .72em; }
.brand:hover .brand__tv { background: #fff; }
@media (min-width: 960px) {
  .brand__mark { font-size: 28px; }
  .brand__tt, .brand__news, .brand__tv { padding-block: 6px 5px; }
}
.brand--inverse .brand__mark { --brand-frame: #fff; }

.header__tagline {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  color: var(--text);
  font: 600 var(--fs-md)/1.2 var(--font-head);
}
.header__tagline span { color: var(--muted); font: 400 var(--fs-sm)/1.3 var(--font-body); }
.header__tagline a { color: var(--brand-ink); }
@media (min-width: 1100px) { .header__tagline { display: flex; } }

/* header search */
.search {
  position: relative;
  display: flex;
  width: 100%;
  order: 3;
}
.search__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 52px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}
.search__input::placeholder { color: var(--muted); opacity: 1; }
.search__input:focus { outline: none; border-color: var(--focus); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.search__btn {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-fill);
  color: #fff;
}
.search__btn .icon { width: 18px; height: 18px; }
.search__btn:hover { background: var(--navy-600); }
.js .search { display: none; }
.js .search.is-open { display: flex; }
@media (min-width: 1100px) {
  .search, .js .search { display: flex; order: 0; width: min(100%, 400px); margin-left: auto; }
}

.header__actions { display: flex; gap: 4px; margin-left: auto; }
.no-js .header__actions { display: none; }
@media (min-width: 1100px) { .header__actions { display: none; } }

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--brand-ink);
  font: 500 var(--fs-md) var(--font-head);
  text-decoration: none;
}
.iconbtn .icon { width: 24px; height: 24px; }
.iconbtn:hover { background: var(--surface-3); color: var(--brand-ink); }
.iconbtn[aria-expanded="true"] { background: var(--brand-fill); color: #fff; }
.iconbtn--menu .icon--close,
.iconbtn--menu[aria-expanded="true"] .icon--open { display: none; }
.iconbtn--menu[aria-expanded="true"] .icon--close { display: inline-block; }

/* 5  Navigation
   -------------------------------------------------------------------------- */
.mainnav {
  --focus: #fff;
  position: relative;
  z-index: 20;
  background: var(--navy);
  color: #fff;
}
.mainnav__list { display: flex; flex-wrap: wrap; list-style: none; }
.mainnav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 14px;
  color: #fff;
  font: 700 var(--fs-md)/1.2 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.mainnav__link:hover { color: #fff; }
.mainnav__link:focus-visible { outline-offset: -3px; }
.mainnav__caret, .mainnav__ext { width: 14px; height: 14px; opacity: .8; }
.mainnav__item--parent .mainnav__link { color: #d5ddf7; font-weight: 500; }
.subnav-count { opacity: .7; font-size: .85em; font-variant-numeric: tabular-nums; }

@media (min-width: 1100px) {
  .mainnav__item { position: relative; }
  .mainnav__item--parent { margin-left: auto; }
  .mainnav__link::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 3px;
    background: var(--sky);
    transform: scaleX(0);
    transition: transform .2s ease;
  }
  .mainnav__item:hover > .mainnav__link,
  .mainnav__item:focus-within > .mainnav__link { background: var(--navy-800); }
  .mainnav__item:hover > .mainnav__link::after,
  .mainnav__item.is-active > .mainnav__link::after { transform: scaleX(1); }

  .mainnav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    min-width: 280px;
    max-width: 380px;
    padding: 8px 0;
    list-style: none;
    background: var(--navy);
    border-top: 3px solid var(--sky);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-pop);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  }
  .mainnav__item:hover > .mainnav__sub,
  .mainnav__item:focus-within > .mainnav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .mainnav__sub a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 18px;
    color: #fff;
    font: 400 .875rem/1.35 var(--font-body);
    text-decoration: none;
  }
  .mainnav__sub a:hover, .mainnav__sub a:focus-visible, .mainnav__sub a[aria-current] { background: var(--navy-800); }
  .mainnav__sub a:focus-visible { outline-offset: -3px; }
  .subnav-item--all a { margin-bottom: 4px; border-bottom: 1px solid rgb(255 255 255 / .14); font-weight: 700; }
  .subnav-item.depth-2 a { padding-left: 34px; }
  .subnav-item.depth-3 a { padding-left: 50px; }

  /* Long sub-menus (the archive under "Table Tennis History"): short names in three
     columns, read top to bottom; anchored at the item's right edge. */
  .mainnav__sub--grid {
    right: 0;
    left: auto;
    width: 600px;
    max-width: calc(100vw - 2 * var(--gutter));
    min-width: 0;
    padding: 8px 8px 10px;
    columns: 3;
    column-gap: 4px;
  }
  .mainnav__sub--grid .subnav-item { break-inside: avoid; }
  .mainnav__sub--grid .subnav-item--all { column-span: all; margin-bottom: 4px; }
  .mainnav__sub--grid a { padding: 7px 10px; border-radius: 3px; }
  .mainnav__sub--grid .subnav-item--all a { border-radius: 0; }
}
/* Narrow desktops: tighter items; tt-news.de stays reachable via top bar and tagline. */
@media (min-width: 1100px) and (max-width: 1319.98px) {
  .mainnav__link { padding-inline: 10px; font-size: .875rem; letter-spacing: 0; }
  .mainnav__link::after { right: 10px; left: 10px; }
  .mainnav__item--parent { display: none; }
}

@media (max-width: 1099.98px) {
  /* Without JS: one scrollable row of top-level links. */
  .no-js .mainnav__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .no-js .mainnav__list::-webkit-scrollbar { display: none; }
  .no-js .mainnav__sub, .no-js .mainnav__caret { display: none; }

  /* With JS: collapsible panel below the header. */
  .js .mainnav { display: none; }
  .js .mainnav.is-open { display: block; }
  .js .mainnav__inner { padding-inline: 0; }
  .js .mainnav__list { flex-direction: column; padding-block: 6px 10px; }
  .js .mainnav__link { min-height: 50px; padding-inline: var(--gutter); font-size: 1rem; }
  .js .mainnav__item.is-active > .mainnav__link { box-shadow: inset 4px 0 0 var(--sky); }
  .js .mainnav__caret { display: none; }
  .js .mainnav__sub { margin: -4px 0 8px; list-style: none; }
  .js .mainnav__sub a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--gutter) 10px calc(var(--gutter) + 16px);
    color: #d5ddf7;
    font-size: var(--fs-md);
    text-decoration: none;
  }
  .js .mainnav__sub a[aria-current] { color: #fff; font-weight: 700; }
  .js .subnav-item--all { display: none; }
  .js .subnav-item.depth-2 a { padding-left: calc(var(--gutter) + 32px); }
  .js .subnav-item.depth-3 a { padding-left: calc(var(--gutter) + 48px); }
  /* Long sub-menus: short names in a compact grid instead of one long list. */
  /* Fixed column counts: auto-fill would size the flex item for one column (huge gap below). */
  .js .mainnav__sub--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    padding: 0 var(--gutter) 0 calc(var(--gutter) + 16px);
  }
  .js .mainnav__sub--grid a { padding: 8px 0; }
  .js .mainnav__item--parent { margin-top: 6px; border-top: 1px solid rgb(255 255 255 / .14); }
}
@media (min-width: 640px) and (max-width: 1099.98px) {
  .js .mainnav__sub--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
}

/* 6  Components
   -------------------------------------------------------------------------- */
/* Category label — the tagDiv/Newspaper "category box" */
.label {
  display: inline-block;
  padding: 6px 9px 5px;
  border-radius: 2px;
  background: var(--brand-fill);
  color: #fff;
  font: 600 .6875rem/1 var(--font-head);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: middle;
}
.label--sky { background: var(--sky); color: var(--navy-950); }
a.label:hover { background: var(--sky); color: var(--navy-950); }

/* Section heading: navy tab sitting on a 2px rule (Newspaper block title) */
.blockhead {
  display: flex;
  align-items: flex-end;
  gap: 8px 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--brand-line);
}
.blockhead__title {
  min-width: 0;
  font: 600 .875rem/1.25 var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blockhead__title > span {
  display: inline-block;
  padding: 9px 14px 7px;
  border-radius: 3px 3px 0 0;
  background: var(--brand-fill);
  color: #fff;
}
.blockhead__meta {
  display: none;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: var(--fs-sm);
  white-space: nowrap;
}
.blockhead__more {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding-bottom: 7px;
  color: var(--brand-ink);
  font: 500 .875rem var(--font-head);
  text-decoration: none;
  white-space: nowrap;
}
.blockhead__more:hover { color: var(--brand-ink); text-decoration: underline; }
.blockhead__more .icon { transition: transform .2s ease; }
.blockhead__more:hover .icon { transform: translateX(3px); }
@media (min-width: 640px) { .blockhead__meta { display: block; } }

.minihead {
  margin-bottom: 12px;
  color: var(--muted);
  font: 600 var(--fs-sm)/1.2 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 var(--fs-md)/1.1 var(--font-head);
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--brand-fill); color: #fff; }
.btn--primary:hover { background: var(--navy-600); color: #fff; }
.btn--ghost { border-color: var(--line-strong); background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.btn--play { background: var(--sky); color: var(--navy-950); }
.btn--play:hover { background: #fff; color: var(--navy-950); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); color: var(--navy-950); }
.btn--ghost-light { border-color: rgb(255 255 255 / .55); background: transparent; color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / .1); color: #fff; }
.btn--block { width: 100%; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips--center { justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--text);
  font: 500 var(--fs-sm)/1.2 var(--font-head);
  text-decoration: none;
}
.chip .icon { width: 14px; height: 14px; color: var(--brand-ink); }
.chip:hover { background: var(--chip-hover); color: var(--brand-ink); }
.chip__count { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.chips--sm .chip { min-height: 30px; padding: 4px 11px; }

/* Badges on posters */
.badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  background: rgb(0 0 0 / .78);
  color: #fff;
  font: 500 var(--fs-xs)/1 var(--font-body);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.badge--time { right: 6px; bottom: 6px; }
.badge--sm { right: 4px; bottom: 4px; padding: 3px 4px; font-size: .6875rem; }
.badge--lg { right: 12px; bottom: 12px; padding: 5px 8px; font-size: var(--fs-sm); }
.badge--na { top: 6px; left: 6px; background: rgb(18 20 28 / .86); }
.badge--na .icon { width: 13px; height: 13px; color: #ffb0a6; }

/* Poster placeholder — a stylised table seen from above */
.poster-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 15% 0%, rgb(77 178 236 / .28), transparent 55%),
    linear-gradient(140deg, #123596 0%, var(--navy) 45%, var(--navy-950) 100%);
  color: rgb(255 255 255 / .92);
}
.poster-ph::before { /* table edge + centre line */
  content: "";
  position: absolute;
  inset: 16% 9%;
  border: 2px solid rgb(255 255 255 / .28);
  background: linear-gradient(transparent calc(50% - 1px), rgb(255 255 255 / .2) calc(50% - 1px), rgb(255 255 255 / .2) calc(50% + 1px), transparent calc(50% + 1px));
}
.poster-ph::after { /* net */
  content: "";
  position: absolute;
  top: 11%;
  bottom: 11%;
  left: calc(50% - 2px);
  width: 4px;
  border-radius: 2px;
  background: rgb(255 255 255 / .45);
}
.poster-ph__icon {
  position: relative;
  z-index: 1;
  width: 22%;
  max-width: 64px;
  aspect-ratio: 1;
  height: auto;
  padding: 3%;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 3px rgb(255 255 255 / .25);
}
.poster-ph__brand {
  position: relative;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--navy);
  font: 700 .6875rem/1.2 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.poster-ph--sm .poster-ph__icon { width: 34%; padding: 5%; box-shadow: 0 0 0 2px rgb(255 255 255 / .25); }
.poster-ph--lg .poster-ph__icon { max-width: 120px; }
.poster-ph--lg .poster-ph__brand { font-size: var(--fs-sm); }

/* 7  Cards & rows
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 28px 20px;
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Home event rows: swipe row on phones, 3 (6 cards) on tablets, 4 (8 cards) on desktop */
@media (max-width: 639.98px) {
  .grid--row {
    grid-template-columns: none;
    grid-auto-columns: min(78%, 300px);
    grid-auto-flow: column;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .grid--row > * { scroll-snap-align: start; }
}
@media (min-width: 640px) and (max-width: 1099.98px) {
  .grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--row > :nth-child(n + 7) { display: none; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  isolation: isolate;
}
.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-3);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.card:hover .card__media img { transform: scale(1.045); }
.card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(4 13 46 / .32);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.card__play svg {
  width: 46px;
  height: 46px;
  padding: 12px 10px 12px 14px;
  border-radius: 50%;
  background: rgb(255 255 255 / .94);
  color: var(--navy);
  box-shadow: 0 6px 18px rgb(0 0 0 / .35);
}
.card:hover .card__play,
.card:has(.card__link:focus-visible) .card__play { opacity: 1; }
.card__event {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  max-width: calc(100% - 64px);
  overflow: hidden;
  padding: 6px 8px 5px;
  border-top-right-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font: 500 .6875rem/1 var(--font-head);
  letter-spacing: .05em;
  text-decoration: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.card__event:hover { background: var(--sky); color: var(--navy-950); }
.card__event:focus-visible { outline-color: #fff; outline-offset: -3px; }
.card.is-unavailable .card__media img { filter: grayscale(.9) brightness(.82); }
.card__body { display: flex; flex-direction: column; gap: 5px; padding-top: 10px; }
.card__title {
  display: -webkit-box;
  overflow: hidden;
  font: 500 1rem/1.32 var(--font-head);
  letter-spacing: -.003em;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-wrap: pretty;
}
.card__link { color: var(--text); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__link { color: var(--hover-ink); }
.card__link:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 2px; }
.card:has(.card__link:focus-visible) .card__media { outline: 3px solid var(--focus); outline-offset: 2px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: var(--fs-sm); }

/* Compact row: thumbnail + title */
.vrow {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-inline: -8px;
  padding: 8px;
  border-radius: var(--radius);
  isolation: isolate;
  transition: background-color .15s ease;
}
.vrow:hover { background: var(--surface-2); }
.vrow--rank { grid-template-columns: 2rem 116px minmax(0, 1fr); }
.vrow__rank {
  align-self: center;
  color: var(--brand-ink);
  font: 700 1.625rem/1 var(--font-head);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.vrow__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
}
.vrow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vrow.is-unavailable .vrow__thumb img { filter: grayscale(.9) brightness(.82); }
.vrow__body { min-width: 0; }
.vrow__kicker {
  margin-bottom: 3px;
  color: var(--brand-ink);
  font: 600 .6875rem/1.2 var(--font-head);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.vrow__title {
  display: -webkit-box;
  overflow: hidden;
  font: 500 var(--fs-md)/1.3 var(--font-head);
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.vrow__link { color: var(--text); text-decoration: none; }
.vrow__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.vrow:hover .vrow__link { color: var(--hover-ink); }
.vrow__link:focus-visible { outline: none; }
.vrow:has(.vrow__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 0; }
.vrow__meta { margin-top: 4px; color: var(--muted); font-size: var(--fs-xs); }
.vrow__na { color: var(--danger); font-weight: 500; }

/* 8  Home
   -------------------------------------------------------------------------- */
.stage {
  --focus: var(--sky);
  --link: #9fd3f7;
  --hover-ink: #fff;
  background-color: var(--stage);
  background-image:
    radial-gradient(80% 110% at 88% -20%, rgb(40 95 230 / .38), transparent 62%),
    linear-gradient(180deg, var(--stage-2) 0%, var(--stage) 78%);
  color: var(--on-stage);
}

.hero { display: grid; gap: 20px; padding-block: 0 24px; }
@media (min-width: 640px) { .hero { padding-block: 24px 32px; } }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-block: 28px 36px; } }
@media (min-width: 1240px) { .hero { grid-template-columns: minmax(0, 1fr) 372px; } }

.hero__feature { min-width: 0; }
.hero__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-inline: calc(-1 * var(--gutter));
  background: #000;
}
@media (min-width: 640px) {
  .hero__media { margin-inline: 0; border-radius: var(--radius-lg); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .8); }
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero__feature:hover .hero__media img { transform: scale(1.025); }
.hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: rgb(11 41 131 / .9);
  box-shadow: 0 0 0 7px rgb(255 255 255 / .16), 0 12px 30px rgb(0 0 0 / .45);
  color: #fff;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.hero__play svg { width: 28px; height: 28px; margin-left: 4px; }
.hero__feature:hover .hero__play { background: var(--sky); color: var(--navy-950); transform: scale(1.06); }
@media (min-width: 1024px) {
  .hero__play { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
  .hero__play svg { width: 36px; height: 36px; }
}

.hero__body { padding-top: 16px; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.hero__event { color: var(--on-stage-2); font: 500 .875rem/1.3 var(--font-head); text-decoration: none; }
.hero__event:hover { color: #fff; text-decoration: underline; }
.hero__title { font: 700 var(--fs-hero)/1.16 var(--font-head); letter-spacing: -.015em; }
.hero__title a { color: #fff; text-decoration: none; }
.hero__title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 3px; text-underline-offset: .14em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; color: var(--on-stage-2); font-size: .875rem; }
.hero__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta .icon { color: var(--sky); }
.hero__excerpt {
  display: -webkit-box;
  max-width: 72ch;
  margin-top: 12px;
  overflow: hidden;
  color: var(--on-stage-muted);
  font-size: var(--fs-md);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.hero__cta { margin-top: 18px; }

/* "Neueste Videos" panel */
.hero__latest {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / .045);
}
.hero__latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
.hero__latest-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 .875rem/1 var(--font-head);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero__latest-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(130 188 56 / .22);
}
.hero__latest-more { display: inline-flex; align-items: center; gap: 4px; color: var(--on-stage-2); font: 500 var(--fs-sm) var(--font-head); text-decoration: none; }
.hero__latest-more:hover { color: #fff; text-decoration: underline; }
.hero__scroll { position: relative; flex: 1; }
.hero__list { display: grid; gap: 2px; padding: 8px 16px; list-style: none; }
.hero__list > li:nth-child(n + 6) { display: none; }
.stage .vrow:hover { background: rgb(255 255 255 / .07); }
.stage .vrow__link { color: #fff; }
.stage .vrow:hover .vrow__link { color: #fff; }
.stage .vrow__meta { color: var(--on-stage-muted); }
.stage .vrow__thumb { background: rgb(255 255 255 / .08); }
@media (min-width: 1024px) {
  /* The panel is as tall as the featured video; the list scrolls inside it. */
  .hero__list {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgb(255 255 255 / .28) transparent;
    scrollbar-width: thin;
  }
  .hero__list > li:nth-child(n + 6) { display: block; }
}

/* Archive strip ("Ticker") */
.strip { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 12px; }
.strip__label { display: flex; flex-shrink: 0; align-items: center; gap: 10px; color: var(--text-2); font: 400 .875rem/1 var(--font-head); white-space: nowrap; }
.strip__total strong { color: var(--brand-ink); font-weight: 700; }
.strip__list {
  display: flex;
  flex: 1 1 100%;
  gap: 8px;
  min-width: 0;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.strip__list::-webkit-scrollbar { display: none; }
.strip__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 5px 4px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: 500 .875rem/1.1 var(--font-head);
  text-decoration: none;
  white-space: nowrap;
}
.strip__chip:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.strip__count {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--text-2);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 760px) {
  .strip__inner { flex-wrap: nowrap; }
  .strip__list { flex-basis: auto; margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
}

/* Popular + tags band */
.band { display: grid; gap: 40px; padding-block: 32px 0; }
@media (min-width: 1100px) { .band { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; padding-top: 40px; } }

.ranklist { display: grid; gap: 4px 32px; list-style: none; }
@media (min-width: 760px) {
  .ranklist { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; }
}

.cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.cloud__tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--text-2);
  font: 500 var(--fs-sm)/1.2 var(--font-head);
  text-decoration: none;
}
.cloud__tag--w2 { font-size: .875rem; }
.cloud__tag--w3 { color: var(--text); font-size: var(--fs-md); }
.cloud__tag--w4 { color: var(--brand-ink); font-size: 1rem; font-weight: 600; }
.cloud__tag:hover { background: var(--brand-fill); color: #fff; }

.sections { display: grid; gap: 40px; padding-block: 40px 0; }
@media (min-width: 1100px) { .sections { gap: 52px; padding-top: 48px; } }
.block { scroll-margin-top: 16px; }

/* 9  Listing, search, pagination
   -------------------------------------------------------------------------- */
.pagehead {
  margin-bottom: 24px;
  padding-block: 24px 22px;
  border-bottom: 2px solid var(--brand-line);
  background: var(--surface-2);
}
.pagehead > .wrap { display: grid; justify-items: start; gap: 10px; }
@media (min-width: 960px) { .pagehead { margin-bottom: 32px; padding-block: 40px 30px; } }
.pagehead__title { color: var(--brand-ink); font: 700 var(--fs-h1)/1.12 var(--font-head); letter-spacing: -.02em; }
.pagehead__count { color: var(--muted); font: 500 var(--fs-md)/1.3 var(--font-head); }
.pagehead__intro { max-width: 68ch; color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; }
/* Long event descriptions (e.g. "Table Tennis History"): three lines, then "Mehr lesen". */
.pagehead__intro-wrap { display: grid; justify-items: start; gap: 4px; }
.js .pagehead__intro--clamp:not(.is-open) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.pagehead__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--brand-ink);
  font: 600 var(--fs-md)/1.4 var(--font-body);
  cursor: pointer;
}
.pagehead__more:hover { text-decoration: underline; }
.pagehead__more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.pagehead__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.pagehead__sub { width: 100%; margin-top: 6px; }
.pagehead--page { background: transparent; }

.bigsearch { position: relative; display: flex; align-items: center; width: 100%; max-width: 640px; margin-top: 6px; }
.bigsearch__icon { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.bigsearch__input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 112px 0 48px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.0625rem;
  -webkit-appearance: none;
  appearance: none;
}
.bigsearch__input::placeholder { color: var(--muted); opacity: 1; }
.bigsearch__input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 20%, transparent); }
.bigsearch__btn { position: absolute; right: 5px; min-height: 42px; padding-block: 8px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.toolbar__info { color: var(--muted); font-size: .875rem; }
.sort { display: flex; align-items: center; gap: 10px; max-width: 100%; }
@media (max-width: 479.98px) { .sort__label { display: none; } }
.sort__label { color: var(--muted); font: 500 var(--fs-xs) var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.segmented { display: inline-flex; max-width: 100%; padding: 3px; overflow-x: auto; border-radius: 999px; background: var(--surface-3); list-style: none; scrollbar-width: none; }
.segmented a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font: 500 .875rem/1.1 var(--font-head);
  text-decoration: none;
  white-space: nowrap;
}
.segmented a:hover { color: var(--brand-ink); }
.segmented a[aria-current] { background: var(--surface); color: var(--brand-ink); box-shadow: 0 1px 3px rgb(0 0 0 / .16); }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; }
.pager__list { display: flex; align-items: center; gap: 6px; list-style: none; }
.pager__num, .pager__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: 500 var(--fs-md) var(--font-head);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.pager__num:hover, .pager__step:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.pager__num[aria-current] { border-color: var(--brand-fill); background: var(--brand-fill); color: #fff; }
.pager__step .icon { width: 18px; height: 18px; }
.pager__step.is-disabled { opacity: .4; }
.pager__gap { padding: 0 2px; color: var(--muted); }
.pager__compact { display: none; color: var(--text-2); font: 500 var(--fs-md) var(--font-head); font-variant-numeric: tabular-nums; }
@media (max-width: 559.98px) {
  .pager { justify-content: space-between; }
  .pager__list { display: none; }
  .pager__compact { display: block; }
}

.empty {
  max-width: 660px;
  margin: 16px auto;
  padding: 40px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  text-align: center;
}
.empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 6px var(--surface-3);
  color: var(--brand-ink);
}
.empty__icon .icon { width: 28px; height: 28px; }
.empty__title { margin-bottom: 10px; font: 700 1.375rem/1.25 var(--font-head); }
.empty__text { color: var(--text-2); }
.empty__tips { display: grid; gap: 6px; max-width: 48ch; margin: 14px auto 0; padding-left: 1.2em; color: var(--text-2); text-align: left; }
.empty__ideas-label { margin: 26px 0 10px; color: var(--muted); font: 600 var(--fs-xs) var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* 10  Video page
   -------------------------------------------------------------------------- */
.stage--video {
  background-color: #02050f;
  background-image: radial-gradient(70% 95% at 50% -5%, rgb(11 41 131 / .6), transparent 72%);
}
.player-shell { width: 100%; margin-inline: auto; }
@media (min-width: 640px) {
  .player-shell {
    max-width: clamp(720px, (100vh - 220px) * 16 / 9 + 2 * var(--gutter), 1344px);
    max-width: clamp(720px, (100svh - 220px) * 16 / 9 + 2 * var(--gutter), 1344px);
    padding: 20px var(--gutter) 18px;
  }
}
.player { position: relative; background: #000; }
@media (min-width: 640px) {
  .player { overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .9); }
}
.player__video { width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; }
.player__fallback { padding: 24px; color: #fff; }
.player__fallback a { color: var(--sky); }

.unavail {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px; /* phones: no aspect-ratio here — combined with min-height it widens the box */
  contain: paint; /* clips the scaled backdrop without affecting scroll width */
  background: radial-gradient(80% 110% at 50% 0%, #15308c, #040a22 72%);
  color: #fff;
  text-align: center;
}
@media (min-width: 640px) { .unavail { aspect-ratio: 16 / 9; min-height: 0; } }
.unavail__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(.6) brightness(.38);
  transform: scale(1.15);
}
.unavail__body { position: relative; display: grid; justify-items: center; gap: 10px; max-width: 540px; padding: 28px 20px; }
.unavail__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgb(255 255 255 / .1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22);
}
.unavail__icon .icon { width: 28px; height: 28px; }
.unavail__title { font: 700 clamp(1.125rem, 1rem + 1vw, 1.625rem)/1.2 var(--font-head); text-wrap: balance; }
.unavail__text { color: #cbd3ea; font-size: var(--fs-md); }
.unavail__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

.parts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px var(--gutter) 16px; color: var(--on-stage-2); }
@media (min-width: 640px) { .parts { padding: 16px 0 2px; } }
.parts__label { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 500 .875rem var(--font-head); }
.parts__label .icon { width: 18px; height: 18px; color: var(--sky); }
.parts__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.parts__item {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 88px;
  min-height: 46px;
  padding: 6px 16px;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .05);
  color: #fff;
  font: 600 var(--fs-md)/1.15 var(--font-head);
  text-decoration: none;
}
.parts__item:hover { border-color: var(--sky); background: rgb(77 178 236 / .14); color: #fff; }
.parts__item[aria-current="true"] { border-color: var(--sky); background: var(--sky); color: var(--navy-950); }
.parts__item.is-broken:not([aria-current="true"]) { border-style: dashed; color: var(--on-stage-muted); }
.parts__sub { font: 400 var(--fs-xs)/1.25 var(--font-body); opacity: .85; }
.parts__hint { flex-basis: 100%; color: var(--on-stage-muted); font-size: var(--fs-sm); }
@media (min-width: 960px) { .parts__hint { flex-basis: auto; margin-left: auto; } }
.parts.is-advancing .parts__hint { color: var(--sky); }
.no-js .parts__hint { display: none; }

.video-layout { display: grid; gap: 32px; padding-block: 20px 0; }
@media (min-width: 1024px) { .video-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 30px; } }

.video-head { display: grid; justify-items: start; gap: 10px; }
.video-head__title { color: var(--text); font: 700 var(--fs-video)/1.2 var(--font-head); letter-spacing: -.015em; }
.metalist { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 2px; color: var(--text-2); font-size: var(--fs-md); list-style: none; }
.metalist li { display: inline-flex; align-items: center; gap: 7px; }
.metalist .icon { width: 18px; height: 18px; color: var(--brand-ink); }
.metalist__na, .metalist__na .icon { color: var(--danger); }

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}
.share__title { color: var(--muted); font: 600 var(--fs-xs)/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.sharebtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: 500 .875rem/1 var(--font-head);
  text-decoration: none;
}
.sharebtn .icon { width: 18px; height: 18px; color: var(--brand-ink); }
.sharebtn:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.sharebtn--whatsapp:hover .icon { color: #1c9d50; }
.sharebtn--facebook:hover .icon { color: #1877f2; }
.sharebtn.is-done { border-color: var(--green-700); color: var(--green-700); }
.sharebtn.is-done .icon { color: inherit; }
@media (max-width: 479.98px) {
  .sharebtn--whatsapp, .sharebtn--facebook, .sharebtn--x, .sharebtn--mail { width: 40px; padding: 0; }
  .sharebtn--whatsapp span, .sharebtn--facebook span, .sharebtn--x span, .sharebtn--mail span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}

.video-desc { margin-top: 26px; }
.video-report__source { max-width: 72ch; margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); }
.video-report__source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.video-tags { margin-top: 28px; }

.prose { max-width: 72ch; color: var(--text-2); line-height: 1.7; overflow-wrap: break-word; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1em; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose h2 { margin: 1.9em 0 .6em; color: var(--text); font: 700 1.375rem/1.25 var(--font-head); }
.prose h3 { margin: 1.6em 0 .5em; color: var(--text); font: 600 1.125rem/1.3 var(--font-head); }
.prose h4 { margin: 1.4em 0 .4em; color: var(--text); font: 600 1rem/1.3 var(--font-head); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose img { height: auto; border-radius: var(--radius); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 6px 10px; border: 1px solid var(--line); text-align: left; }
.prose blockquote { padding-left: 1em; border-left: 3px solid var(--brand-line); }
.prose--page { max-width: 68ch; padding-bottom: 16px; color: var(--text); font-size: 1.0625rem; }

.video-side { display: grid; align-content: start; gap: 20px; }
@media (min-width: 1024px) { .video-side { position: sticky; top: 16px; align-self: start; } }
.sidebox { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.sidebox__list { display: grid; gap: 6px; list-style: none; }
.sidebox .vrow:hover { background: var(--surface); }
.eventbox__name { font: 700 1.125rem/1.3 var(--font-head); }
.eventbox__name a { color: var(--text); text-decoration: none; }
.eventbox__name a:hover { color: var(--hover-ink); text-decoration: underline; }
.eventbox__count { margin: 4px 0 16px; color: var(--muted); font-size: .875rem; }
.eventbox__also { margin: 18px 0 8px; color: var(--muted); font-size: var(--fs-sm); }

.block--related { padding-top: 44px; }

/* 11  Tags, static page, error page
   -------------------------------------------------------------------------- */
.az { width: 100%; margin-top: 8px; }
.az__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.az__list a {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand-ink);
  font: 600 var(--fs-md) var(--font-head);
  text-decoration: none;
}
.az__list a:hover { border-color: var(--brand-fill); background: var(--brand-fill); color: #fff; }
.tagindex { display: grid; gap: 28px; }
.tagindex__group { display: grid; gap: 12px; scroll-margin-top: 16px; }
.tagindex__letter { color: var(--brand-ink); font: 700 1.75rem/1 var(--font-head); }
@media (min-width: 760px) {
  .tagindex { gap: 0; }
  .tagindex__group { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); }
  .tagindex__group:first-child { border-top: 0; padding-top: 0; }
}

.errorpage { padding-block: 40px 8px; text-align: center; }
@media (min-width: 960px) { .errorpage { padding-top: 72px; } }
.errorpage__inner { display: grid; justify-items: center; gap: 14px; }
.errorpage__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .04em;
  color: var(--brand-ink);
  font: 800 clamp(5rem, 3.4rem + 8vw, 9rem)/1 var(--font-head);
  letter-spacing: -.03em;
}
.errorpage__ball {
  display: inline-block;
  width: .74em;
  height: .74em;
  margin-inline: .03em;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 16%, #f2f4fa 38%, #c4cee8 100%);
  box-shadow: inset -.04em -.06em .12em rgb(11 41 131 / .28), 0 .08em .18em rgb(11 41 131 / .25);
}
.errorpage__title { font: 700 var(--fs-h1)/1.15 var(--font-head); }
.errorpage__msg { color: var(--text); font-weight: 500; }
.errorpage__lead { max-width: 52ch; color: var(--text-2); }
.errorpage .bigsearch { margin-top: 10px; }
.errorpage__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; list-style: none; }
.grid--four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 1100px) { .grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 12  Footer
   -------------------------------------------------------------------------- */
.footer {
  --focus: var(--sky);
  margin-top: 64px;
  background: var(--navy-900);
  color: #c3cce6;
  font-size: var(--fs-md);
}
.footer a { color: #e7ecf9; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer__inner { display: grid; gap: 32px; padding-block: 40px 32px; }
@media (min-width: 400px) and (max-width: 759.98px) {
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer__about, .footer__col--wide { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 52px 44px; }
}
.footer__about p { max-width: 44ch; margin-top: 16px; line-height: 1.6; }
.footer__parent { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.footer__head { margin-bottom: 14px; color: #fff; font: 600 var(--fs-sm)/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.footer__head::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 10px; background: var(--sky); }
.footer__col ul { display: grid; gap: 9px; list-style: none; }
.footer__col a { display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom { background: var(--navy-950); color: #a7b3d6; font-size: var(--fs-sm); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.footer__top { display: inline-flex; align-items: center; gap: 6px; }

/* 13  Dark mode, motion, print
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --page: #03060d;
    --surface: #0c1222;
    --surface-2: #111a2e;
    --surface-3: #1a2440;
    --text: #e8ebf3;
    --text-2: #c2c9da;
    --muted: #959fb5;
    --line: #222c47;
    --line-strong: #34415f;
    --brand-fill: #2b50c8;
    --brand-ink: #a3bfff;
    --brand-line: #2b50c8;
    --brand-frame: rgb(255 255 255 / .92);
    --link: #7cc8f5;
    --hover-ink: #a6dbfa;
    --focus: #7cc8f5;
    --chip-bg: #18213a;
    --chip-hover: #233160;
    --danger: #ff9e92;
    --shadow-box: 0 0 0 1px rgb(255 255 255 / .04);
  }
  .btn--primary:hover, .search__btn:hover { background: #3a60dc; }
  .card__event { background: #1d3ca3; }
  .card__media, .vrow__thumb { background: var(--surface-3); }
  .errorpage__ball { box-shadow: inset -.04em -.06em .12em rgb(11 41 131 / .35), 0 0 .3em rgb(124 200 245 / .25); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover .card__media img,
  .hero__feature:hover .hero__media img,
  .hero__feature:hover .hero__play { transform: none; }
}

@media print {
  body { background: #fff; }
  .site { box-shadow: none; max-width: none; }
  .topbar, .header__actions, .search, .mainnav, .stage, .strip, .share, .video-side, .block--related, .pager, .footer__inner, .footer__top { display: none !important; }
  .footer { margin-top: 24px; background: none; color: #000; }
  .footer__bottom { background: none; color: #000; }
  a { color: #000; }
}

/* ==========================================================================
   14  Technik — /technik and /technik/{slug} (WTTV-Technikreihe 2010)
       Templates technik-index.php and technik-topic.php; class prefix tk-.
       Self-contained block: no rule above this line depends on it.
   ========================================================================== */
.tk-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; color: var(--muted); font: 400 var(--fs-sm)/1.4 var(--font-head); }
.tk-crumbs li + li::before { content: "›"; margin-inline: .5em; color: var(--line-strong); }
.tk-crumbs a { color: var(--text-2); text-decoration: none; }
.tk-crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.tk-crumbs [aria-current] { color: var(--text); }

.tk-lead { display: grid; gap: 12px; max-width: 70ch; color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; }
.tk-unavail { display: flex; align-items: flex-start; gap: 8px; max-width: 72ch; color: var(--muted); font-size: var(--fs-md); line-height: 1.5; }
.tk-unavail .icon { width: 18px; height: 18px; margin-top: .15em; }
.tk-unavail--plain { padding-left: 26px; }

.tk-body { display: grid; gap: 44px; }
.tk-body > * { min-width: 0; }
@media (min-width: 960px) { .tk-body { gap: 56px; } }

/* Overview: one card per part */
.tk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; list-style: none; }
@media (min-width: 1100px) { .tk-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-fill);
  border-radius: var(--radius) var(--radius) var(--radius-lg) var(--radius-lg);
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tk-card:hover { border-color: var(--line-strong); border-top-color: var(--sky); box-shadow: 0 12px 30px -18px rgb(4 13 46 / .45); }
.tk-card:has(.tk-card__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.tk-card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 500 var(--fs-xs)/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.tk-card__part { color: var(--brand-ink); font-weight: 700; }
.tk-card__title { font: 700 1.375rem/1.2 var(--font-head); letter-spacing: -.01em; }
.tk-card__link { color: var(--text); text-decoration: none; }
.tk-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tk-card__link:focus-visible { outline: none; }
.tk-card:hover .tk-card__link { color: var(--hover-ink); }
.tk-card__text { color: var(--text-2); font-size: var(--fs-md); line-height: 1.5; }
.tk-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; list-style: none; }
.tk-card__tags li { padding: 4px 10px; border-radius: 999px; background: var(--chip-bg); color: var(--text-2); font: 500 var(--fs-sm)/1.3 var(--font-head); }
.tk-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-ink); font: 600 var(--fs-md) var(--font-head); }
.tk-card__more .icon { transition: transform .2s ease; }
.tk-card:hover .tk-card__more .icon { transform: translateX(3px); }

/* Topic page */
.tk-toc { width: 100%; margin-top: 4px; }
.tk-prose { color: var(--text); font-size: 1.0625rem; }
.tk-source { max-width: 72ch; margin-top: 14px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.tk-intro .tk-unavail { margin-top: 10px; }
.tk-text { max-width: 72ch; margin-bottom: 14px; color: var(--text-2); }
.tk-muted { color: var(--muted); }
.tk-stroke { scroll-margin-top: 16px; }
.tk-meta { display: block; }
@media (max-width: 639.98px) { .tk-meta__more { display: none; } }
.tk-abbr { color: var(--brand-ink); font: 700 var(--fs-sm) var(--font-head); letter-spacing: .02em; }

/* Technique table: the three phases as columns. On phones (screen only — not in print)
   it becomes one card per body part with the phase named above each list; the ARIA
   roles in the markup keep the table semantics when display changes. */
.tk-tablewrap { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.tk-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: var(--text); font-size: var(--fs-md); line-height: 1.5; }
.tk-table th, .tk-table td { padding: 14px 16px; text-align: left; vertical-align: top; overflow-wrap: break-word; }
.tk-table thead th { padding-block: 11px; border-bottom: 2px solid var(--brand-line); background: var(--surface-2); color: var(--brand-ink); font: 600 var(--fs-sm)/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.tk-table .tk-table__corner { width: 8.5rem; }
.tk-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.tk-table tbody th { background: var(--surface-2); color: var(--brand-ink); font: 700 1rem/1.3 var(--font-head); }
.tk-table td { border-left: 1px solid var(--line); }
.tk-table__phase { display: none; }
.tk-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55em; list-style: none; }
@media (max-width: 1099.98px) { .tk-table td { hyphens: auto; } } /* narrow phase columns: long compounds */
.tk-list li { position: relative; padding-left: 1.05em; }
.tk-list li::before { content: ""; position: absolute; top: .72em; left: 0; width: .5em; height: 2px; border-radius: 1px; background: var(--brand-line); }
.tk-empty { color: var(--muted); }

@media screen and (max-width: 759.98px) {
  .tk-tablewrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .tk-table, .tk-table tbody, .tk-table tr, .tk-table th, .tk-table td { display: block; width: auto; }
  .tk-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tk-table tbody { display: grid; gap: 12px; }
  .tk-table tbody tr { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
  .tk-table tbody tr + tr > * { border-top: 0; }
  .tk-table tbody tr > td + td { border-top: 1px solid var(--line); }
  .tk-table tbody th { padding: 9px 14px 8px; background: var(--brand-fill); color: #fff; font-size: var(--fs-sm); letter-spacing: .06em; text-transform: uppercase; }
  .tk-table td { padding: 12px 14px 14px; border-left: 0; }
  .tk-table__phase { display: block; margin-bottom: 6px; color: var(--muted); font: 600 var(--fs-xs)/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
}

.tk-note { max-width: 72ch; margin-top: 14px; padding: 12px 16px; border-left: 4px solid var(--brand-fill); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface-2); color: var(--text); font-style: italic; font-weight: 600; }
.tk-closing { max-width: 72ch; margin-top: 16px; color: var(--text-2); }
div.tk-closing { margin-top: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.tk-closing__label { margin-bottom: 6px; color: var(--brand-ink); font: 600 var(--fs-xs)/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }

/* Aufschlag: legend and demonstrated serves */
.tk-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.tk-dl > div { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tk-dl dt { min-width: 3em; color: var(--brand-ink); font: 700 1rem var(--font-head); }
.tk-dl dd { margin: 0; color: var(--text); }
.tk-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.tk-person { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.tk-person__name { font: 700 1.125rem/1.3 var(--font-head); }
.tk-person__about { margin-top: 2px; color: var(--text-2); font-size: var(--fs-sm); }
.tk-codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; list-style: none; }
.tk-codes li { padding: 5px 10px; border-radius: var(--radius-sm); background: var(--chip-bg); color: var(--text); font: 600 var(--fs-sm)/1.2 var(--font-head); letter-spacing: .02em; }
.tk-codes abbr { text-decoration: underline dotted; text-underline-offset: .2em; cursor: help; }

/* Mitwirkende */
.tk-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 24px; margin-bottom: 14px; list-style: none; }
.tk-roster li { display: grid; gap: 1px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tk-roster strong { color: var(--text); font: 600 1rem/1.3 var(--font-head); }
.tk-roster span { color: var(--muted); font-size: var(--fs-sm); }

/* PDF download */
.tk-download { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.tk-download__icon { flex-shrink: 0; width: 40px; height: 48px; color: var(--brand-ink); }
.tk-download__body { flex: 1 1 220px; min-width: 0; }
.tk-download__title { font: 600 1.0625rem/1.3 var(--font-head); }
.tk-download__meta { margin-top: 2px; color: var(--muted); font-size: var(--fs-sm); overflow-wrap: anywhere; }

/* Previous / next part */
.tk-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tk-pn__link { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); text-decoration: none; }
.tk-pn__link:hover { border-color: var(--brand-ink); }
.tk-pn__link--next { align-items: flex-end; text-align: right; }
.tk-pn__dir { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font: 600 var(--fs-xs)/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.tk-pn__dir .icon { width: 14px; height: 14px; }
.tk-pn__title { color: var(--brand-ink); font: 600 1.0625rem/1.3 var(--font-head); }
.tk-pn__link:hover .tk-pn__title { text-decoration: underline; }
@media (max-width: 479.98px) {
  .tk-pn { grid-template-columns: minmax(0, 1fr); }
  .tk-pn__link--next { align-items: flex-start; text-align: left; }
}

.tk-credit { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }

@media print {
  @page { margin: 14mm 12mm; }
  .tk-crumbs, .tk-toc, .tk-pn, .tk-download, .tk-unavail .icon, .tk-card__more { display: none !important; }
  .tk-head { margin-bottom: 12pt; padding-block: 0 8pt; background: none; }
  .tk-head .label, .tk-body .blockhead__title > span { padding: 0; background: none; color: #000; }
  .tk-head .pagehead__title, .tk-card__part, .tk-table thead th, .tk-table tbody th, .tk-dl dt { color: #000; }
  .tk-body { gap: 18pt; }
  .tk-body .blockhead { margin-bottom: 8pt; border-bottom-color: #000; }
  .tk-unavail--plain { padding-left: 0; }
  .tk-stroke, .tk-card, .tk-person, .tk-roster li, div.tk-closing { break-inside: avoid; }
  .tk-tablewrap { border-color: #777; border-radius: 0; }
  .tk-body .blockhead { align-items: baseline; }
  .tk-table { font-size: 9.5pt; line-height: 1.35; }
  .tk-table th, .tk-table td { padding: 6pt 7pt; }
  .tk-table td { hyphens: auto; }
  .tk-table .tk-table__corner { width: 6.75rem; }
  .tk-table tbody th { font-size: 10.5pt; }
  .tk-table thead th, .tk-table tbody th { background: none; }
  .tk-table thead th { border-bottom: 1.5pt solid #000; }
  .tk-table td, .tk-table tbody tr + tr > * { border-color: #aaa; }
  .tk-list li::before { height: 0; border-top: 1.5pt solid #000; background: none; } /* backgrounds are often not printed */
  .tk-note, div.tk-closing { background: none; border-color: #000; }
}
