/* 2026-09 redesign, loaded after style.css and videos.css.
   Brand from the YouTube channel (navy ink, blue building, crane mark): a dark hero with the real covers,
   series posters, how the academy works, a project timeline and the way to the software. */
:root {
  --brand: var(--ds-ink);
  --brand-2: #10306b;
  --accent: var(--ds-primary);
  --accent-hover: var(--ds-primary-hover);
  --link: var(--ds-primary);
  --focus: var(--ds-primary);
  --grad: var(--ds-primary);
  --f-hero: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* ---------- top bar ---------- */
.wm-logo { width: 30px; height: 30px; border-radius: var(--r-s); display: block; }
.wordmark b { color: var(--accent); font-weight: 700; }
.nav a.nav-erp { color: var(--accent); font-weight: 600; }
.nav a.nav-erp:hover { background: color-mix(in oklab, var(--accent) 10%, transparent); }
.lang-switch { background: transparent; padding: 0; }
.langsel { position: relative; }
.langsel summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--fs-label); font-weight: 600; padding: 8px 12px; border-radius: var(--r-full); background: var(--alt); color: var(--ink-2); user-select: none; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-inline-start: 2px; }
.langsel[open] summary, .langsel summary:hover { background: var(--sunk); color: var(--ink); }
.langsel img { width: 20px; height: 14px; border-radius: var(--r-xs); object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); flex: none; }
.langsel-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; width: min(520px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-l); box-shadow: var(--e3); }
.langsel-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--r-m); text-decoration: none; font-size: var(--fs-body-s); color: var(--ink-2); }
.langsel-menu a:hover { background: var(--alt); color: var(--ink); }
.langsel-menu a[aria-current="true"] { background: color-mix(in oklab, var(--accent) 10%, #fff); color: var(--accent); font-weight: 600; }
/* Six menu items fit beside the wordmark down to 1024px; below that the menu takes its own row. */
@media (max-width: 1100px) {
  body .nav { order: 0; width: auto; margin: 0 0 0 auto; padding: 0; overflow: visible; }
  body .topbar-row { flex-wrap: nowrap; padding-top: 0; min-height: 56px; gap: 16px; }
  body .topbar-end { margin-left: 0; }
}
@media (max-width: 1023px) {
  body .nav { order: 3; width: calc(100% + 44px); margin: 0 -24px; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: none; }
  body .topbar-row { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; min-height: 0; }
  body .topbar-end { margin-inline-start: auto; }
}

/* ---------- hero ---------- */
.vh { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding-block: 72px 36px;
  background: radial-gradient(900px 520px at 85% 10%, rgba(10, 132, 255, 0.35), transparent 60%), radial-gradient(700px 480px at 5% 110%, rgba(26, 102, 232, 0.35), transparent 60%), linear-gradient(160deg, var(--brand) 0%, var(--ds-ink) 55%, var(--brand-2) 100%); }
.vh::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.vh-glow { position: absolute; width: 560px; height: 560px; inset-inline-start: -180px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 132, 255, 0.35), transparent); z-index: -1; animation: vh-float 14s ease-in-out infinite alternate; }
@keyframes vh-float { to { transform: translate(120px, 80px); } }
.vh-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.vh-text { display: grid; min-width: 0; }
.vh-kicker { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-size: var(--fs-body-s); font-weight: 600; color: rgba(255, 255, 255, 0.88); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); padding: 4px 16px 4px 4px; border-radius: var(--r-full); }
[dir="rtl"] .vh-kicker { padding: 4px 4px 4px 16px; }
.vh-kicker img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.vh-title { font-family: var(--f-hero); font-weight: 500; font-size: var(--fs-h1); line-height: 1.15; letter-spacing: -0.01em; margin-top: 20px; max-width: 15ch; color: #fff; background: linear-gradient(180deg, #fff 35%, #b9d3ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.vh-sub { color: rgba(255, 255, 255, 0.8); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.5; margin-top: 20px; max-width: 46ch; }
.vh .vsearch { margin: 28px 0 0; max-width: 560px; border: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.vh .vasks { justify-content: flex-start; margin: 16px 0 0; }
.vh .vasks-lab { color: rgba(255, 255, 255, 0.6); }
.vh .vask { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); }
.vh .vask:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }
.vh-wall { position: relative; height: 470px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; transform: perspective(1300px) rotateY(-14deg) rotateX(6deg); transform-origin: 30% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); }
[dir="rtl"] .vh-wall { transform: perspective(1300px) rotateY(14deg) rotateX(6deg); }
.vw-col { overflow: hidden; }
.vw-col:nth-child(2) .vw-track { animation-direction: reverse; }
.vw-track { display: grid; gap: 16px; animation: vw-roll var(--dur, 50s) linear infinite; }
.vw-track img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-m); display: block; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }
@keyframes vw-roll { to { transform: translateY(calc(-50% - 7px)); } }
.vh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 44px 0 0; }
.vh-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px 20px; border-radius: var(--r-l); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.vh-stats dd { margin: 0; font: 800 clamp(26px, 3vw, 36px)/1 var(--f-hero); letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; }
.vh-stats dt { font-size: var(--fs-label); color: rgba(255, 255, 255, 0.66); }

/* ---------- section headings ---------- */
.vsec { padding-top: 64px; }
.vsec h2, .vsec-title h2 { font-family: var(--f-hero); font-weight: 800; letter-spacing: -0.035em; }

/* ---------- featured video ---------- */
.vfeat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); text-decoration: none; color: inherit; border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--rule); box-shadow: var(--e3); transition: transform 240ms ease, box-shadow 240ms ease; }
.vfeat:hover { transform: translateY(-3px); box-shadow: var(--e3); }
.vfeat-media { position: relative; aspect-ratio: 16 / 9; background: var(--brand); overflow: hidden; }
.vfeat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms ease; }
.vfeat:hover .vfeat-media img { transform: scale(1.03); }
.vfeat:hover .vplay { background: var(--accent); transform: scale(1.06); }
.vfeat-body { display: grid; align-content: center; justify-items: start; gap: 12px; padding: clamp(22px, 3vw, 40px); }
.vfeat-kick { font-size: var(--fs-label); font-weight: 700; color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, #fff); padding: 4px 12px; border-radius: var(--r-full); }
.vfeat-title { font: 700 clamp(22px, 2.6vw, 32px)/1.12 var(--f-hero); letter-spacing: -0.03em; color: var(--ink); }
.vfeat-q { font-size: var(--fs-body-l); color: var(--ink-2); line-height: 1.45; }
.vfeat-meta { color: var(--ink-3); }
.vbtn svg { width: 18px; height: 18px; fill: currentColor; }
.vbtn.is-big { min-height: var(--btn-h); padding: 0 24px; font: var(--btn-font); background: var(--ds-primary); color: var(--ds-on-primary); box-shadow: none; }
.vbtn.is-big:hover { background: var(--ds-primary-hover); }

/* ---------- how it works ---------- */
.vhow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vhow-step { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--r-xl); background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); border: 1px solid var(--ds-primary-tonal); }
.vhow-ic { width: 48px; height: 48px; border-radius: var(--r-l); display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 22px rgba(26, 102, 232, 0.28); }
.vhow-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vhow-n { position: absolute; inset-inline-end: 22px; top: 22px; color: #b6c6e6; font-size: var(--fs-title-l); font-weight: 700; }
.vhow-step h3 { font-size: var(--fs-title); margin-top: 8px; }
.vhow-step p { color: var(--ink-2); font-size: var(--fs-body); line-height: 1.5; }
.vhow-step:not(:last-child)::after { content: ""; position: absolute; top: 48px; inset-inline-end: -13px; width: 10px; height: 10px; border-top: 2px solid #9fb6e2; border-right: 2px solid #9fb6e2; transform: rotate(45deg); z-index: 1; background: #fff; }
[dir="rtl"] .vhow-step:not(:last-child)::after { transform: rotate(-135deg); }

/* ---------- series posters ---------- */
.vposters { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.vposter { position: relative; display: grid; text-decoration: none; color: #fff; border-radius: var(--r-xl); overflow: hidden; min-height: 300px; background: var(--brand); box-shadow: var(--e3); transition: transform 240ms ease, box-shadow 240ms ease; isolation: isolate; }
.vposter:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.vposter-art { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.vposter-art.n1 { grid-template-columns: 1fr; }
.vposter-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms ease; }
.vposter:hover .vposter-art img { transform: scale(1.05); }
.vposter-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 54, 0.1) 0%, rgba(11, 27, 54, 0.55) 45%, rgba(11, 27, 54, 0.96) 100%); }
.vposter-body { align-self: end; display: grid; gap: 8px; padding: 20px 20px 24px; }
.vposter-kick { display: flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.vflagimg { width: 20px; height: 14px; border-radius: var(--r-xs); object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.vglobe svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.7; display: block; }
.vbadge { margin-inline-start: auto; font-size: var(--fs-label-s); padding: 2px 8px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.16); color: #fff; }
.vposter-title { font: 700 var(--fs-title-l)/1.15 var(--f-hero); letter-spacing: -0.025em; }
.vposter-meta { color: rgba(255, 255, 255, 0.78); }
.vposter-prog { height: 4px; border-radius: var(--r-xs); background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.vposter-prog span { display: block; height: 100%; width: var(--p); background: #34c759; }
.vposters.is-page { margin-top: 24px; }
.vplaylists { padding-block: 28px 72px; }
.vpage-title { font: 500 var(--fs-h1)/1.15 var(--f-hero); letter-spacing: -0.01em; margin: 16px 0 8px; }

/* ---------- path by role and country ---------- */
.vpath-card { border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px); background: linear-gradient(180deg, var(--ds-surface), #fff 60%); border: 1px solid var(--ds-primary-tonal); }

/* ---------- tasks: a bar shows how many videos ---------- */
.vtopic { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--rule); padding: 16px 20px 20px; }
.vtopic:hover { border-color: color-mix(in oklab, var(--accent) 40%, transparent); background: #fff; }
.vtopic-n { font: 700 var(--fs-title-s)/1 var(--f-hero); color: var(--accent); }
.vtopic-bar { position: absolute; inset-inline-start: 0; bottom: 0; height: 4px; width: var(--p); background: var(--grad); }

/* ---------- project timeline ---------- */
.vtimeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
.vtimeline::before { content: ""; position: absolute; top: 33px; inset-inline: 6%; height: 3px; border-radius: var(--r-xs); background: linear-gradient(90deg, var(--ds-line-2), var(--accent), var(--ds-line-2)); }
.vtimeline a { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; padding: 0 4px 8px; }
.vtl-dot { width: calc(68px * var(--s)); height: calc(68px * var(--s)); margin-top: calc(34px - 34px * var(--s)); border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 0 0 6px #fff, 0 10px 22px rgba(26, 102, 232, 0.3); transition: transform 200ms ease; }
.vtl-dot .mono { font: 700 var(--fs-body-l)/1 var(--f-hero); color: #fff; }
.vtimeline a:hover .vtl-dot { transform: scale(1.1); }
.vtimeline a.is-empty { pointer-events: none; }
.vtimeline a.is-empty .vtl-dot { background: #e6ebf4; box-shadow: 0 0 0 6px #fff; }
.vtimeline a.is-empty .vtl-dot .mono { color: var(--ink-3); }
.vtl-n { color: var(--ink-3); font-size: var(--fs-label-s); margin-top: calc(34px - 34px * var(--s)); }
.vtimeline b { font-size: var(--fs-label); line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; hyphens: auto; }
.vtimeline a:hover b { color: var(--accent); }
[dir="rtl"] .vtimeline::before { background: linear-gradient(270deg, var(--ds-line-2), var(--accent), var(--ds-line-2)); }

/* ---------- call to action ---------- */
.vcta { margin-top: 80px; color: #fff; padding-block: 56px; background: radial-gradient(700px 300px at 90% 0%, rgba(10, 132, 255, 0.4), transparent 70%), linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.vcta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.vcta h2 { color: #fff; font: 500 var(--fs-h2)/1.15 var(--f-hero); letter-spacing: -0.01em; }
.vcta p { color: rgba(255, 255, 255, 0.8); margin-top: 12px; max-width: 58ch; font-size: var(--fs-body-l); }
.vcta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.vbtn.is-light { background: #fff; color: var(--brand); box-shadow: none; }
.vbtn.is-light:hover { background: var(--ds-primary-tonal); filter: none; }
.vbtn.is-yt { background: #ff0033; box-shadow: none; }

/* ---------- footer ---------- */
.footer { background: #081427; color: rgba(255, 255, 255, 0.72); border-top: 0; font-size: var(--fs-body-s); padding-block: 36px 44px; }
.footer b { color: #fff; }
.footer p { max-width: none; }
#footer-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-body-l); }
.foot-brand img { border-radius: var(--r-s); background: #fff; }
.foot-links { display: inline-flex; flex-wrap: wrap; gap: 16px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.foot-more { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 16px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--f-body); font-size: var(--fs-label); }
.foot-more a { color: rgba(255, 255, 255, 0.84); }
.foot-more-lab { color: rgba(255, 255, 255, 0.5); }

/* ---------- sections rise in once (only when motion is welcome; see videos.js animateHome) ---------- */
.vreveal { transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.vreveal.is-pending { opacity: 0; transform: translateY(26px); }

/* ---------- right to left ---------- */
[dir="rtl"] .vsearch-icon { left: auto; right: 19px; }
[dir="rtl"] .vsearch input { padding: 12px 48px 12px 16px; }
[dir="rtl"] .vsearch.is-big input { padding-block: 16px; }
[dir="rtl"] .vkbd { margin-right: 0; margin-left: 16px; }
[dir="rtl"] .vfacet, [dir="rtl"] .vchapters button, [dir="rtl"] .vtr button { text-align: right; }

@media (max-width: 960px) {
  .vh-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .vh-wall, [dir="rtl"] .vh-wall { height: 200px; transform: none; order: -1; }
  .vfeat { grid-template-columns: minmax(0, 1fr); }
  .vhow { grid-template-columns: minmax(0, 1fr); }
  .vhow-step:not(:last-child)::after { display: none; }
  .vtimeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
  .vtimeline::before { display: none; }
  .vcta-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .vh { padding-block: 24px 28px; }
  .vh-wall { display: none; }
  .vh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .vh-stats > div { padding: 12px 16px; }
  .vposters { grid-template-columns: minmax(0, 1fr); }
  .vposter { min-height: 240px; }
  .vtimeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vsec { padding-top: 48px; }
  .vcta { margin-top: 56px; padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .vw-track, .vh-glow { animation: none; }
  .vreveal.is-pending { opacity: 1; transform: none; }
}
/* legal links: plain, small, always present (also without JavaScript) */
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-label); opacity: 0.75; margin-top: 16px; }
.foot-legal a { color: inherit; }
/* narrow phones: the menu fits on one line, the ERP link keeps its short name */
@media (max-width: 480px) {
  .erp-long { display: none; }
  .nav a { padding-left: 8px; padding-right: 8px; }
}

/* /classic/: earlier version with the full menu */
.classic-bar { margin: 0; padding: 8px 16px; background: var(--ds-ink); color: #fff; font-size: var(--fs-label); text-align: center; }
.classic-bar a { color: #8ab8ff; }
body.is-classic .nav { overflow-x: auto; scrollbar-width: none; }
body.is-classic .erp-long { display: none; }
body.is-classic .nav { gap: 0; }
body.is-classic .nav a { padding-inline: 8px; }
body.is-classic .wordmark span { white-space: nowrap; }
@media (max-width: 1280px) { body.is-classic .wordmark span b { display: none; } }

/* with Explore and Worldwide in the menu, the ERP link keeps its short name below 1200px */
@media (max-width: 1199px) { .erp-long { display: none; } }

/* the language picked from the reader's region, said once under the header */
.lang-note { background: #eef5ff; color: var(--ds-ink); font-size: var(--fs-body-s); border-bottom: 1px solid rgba(0, 113, 227, 0.18); }
.lang-note-row { display: flex; align-items: center; gap: 4px 16px; padding-block: 8px; }
.lang-note-row > span { flex: 1 1 auto; min-width: 0; }
.lang-note a { color: #0058b8; font-weight: 600; }
.lang-note-x { flex: none; min-width: 36px; min-height: 36px; border: 0; border-radius: var(--r-m); background: transparent; color: inherit; font-size: var(--fs-title-l); line-height: 1; cursor: pointer; }
.lang-note-x:hover { background: rgba(0, 113, 227, 0.1); }

/* ---- design polish 2026-09-28 (v2 only; /classic/ keeps its look) ---- */
/* one blue: links and "core" use the brand accent */
body:not(.is-classic) { --link: var(--accent); --core: var(--accent); --f-hero: var(--ds-font); --f-display: var(--f-hero); --f-body: var(--f-hero); }
/* numbers and meta lines in Inter with tabular figures, not a code font */
body:not(.is-classic) .mono { font-family: var(--f-body), "Inter", -apple-system, "Segoe UI", system-ui, sans-serif; font-feature-settings: "tnum" 1, "zero" 0; letter-spacing: 0; }
body:not(.is-classic) .vkbd, body:not(.is-classic) .iso { font-family: var(--f-mono); }
/* no automatic hyphenation in headings and short lines; German long words may still break */
body:not(.is-classic) :is(.vp-title, .vp-q, .vp-kick, .vtitle, .vq, .vres-body h3, .st-card .vtitle, h1, h2, .vstages b, .rt-name) { hyphens: manual; }
body:not(.is-classic) :is(h1, h2, .vtitle, .vp-title, .vres-body h3, .vstages b):lang(de) { hyphens: auto; }
/* hero task chips: calm blocks, not bubbles */
.vh .vasks { justify-content: flex-start; margin-top: 20px; }
.vask { border-radius: var(--r-m); font-weight: 500; }
.vh .vask { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.vh .vask:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
/* one line under a title never grows past two lines */
.vq, .vfeat-q { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* watch page: the question heads its answer */
.vw-qa { border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; margin: 4px 0 0; max-width: 72ch; }
.vw-qa .vw-q { font: 600 var(--fs-title-s)/1.35 var(--f-hero); letter-spacing: -0.012em; color: var(--ink); margin: 0 0 8px; }
.vw-qa .vw-answer { border: 0; padding: 0; margin: 0; font-size: var(--fs-body-l); line-height: 1.6; color: var(--ink-2); }
/* the player note is a footnote */
.vplayer + .vnote { font-size: var(--fs-label-s); margin-top: 8px; }
/* mobile and RTL pass */
.vw-qa { border-left: 0; border-inline-start: 3px solid var(--accent); padding: 2px 0; padding-inline-start: 16px; }
.vdur { right: auto; inset-inline-end: 8px; }
.vflag { left: auto; inset-inline-start: 8px; }
.vdone { right: auto; inset-inline-end: 8px; }
.vsources { padding-left: 0; padding-inline-start: 20px; }
.vseg { position: relative; }
.vseg::before { content: ""; position: absolute; inset: -8px 0; }
.vkick { font-size: var(--fs-label-s); line-height: 1.4; }
.vrail.is-single { grid-auto-columns: minmax(0, 520px); }
.vposter-art::after { background: linear-gradient(180deg, rgba(11, 27, 54, 0.25) 0%, rgba(11, 27, 54, 0.78) 38%, rgba(11, 27, 54, 0.97) 70%); }
.vposter-title { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.vfacet { justify-content: flex-start; gap: 8px; align-items: baseline; }
.vfacet .mono { margin-inline-start: auto; }
@media (max-width: 600px) {
  .nav, .mode-tabs { -webkit-mask-image: linear-gradient(to left, transparent, #000 28px); mask-image: linear-gradient(to left, transparent, #000 28px); }
  [dir="rtl"] .nav, [dir="rtl"] .mode-tabs { -webkit-mask-image: linear-gradient(to right, transparent, #000 28px); mask-image: linear-gradient(to right, transparent, #000 28px); }
  .nav a { padding-block: 8px; }
  .vsec-head { flex-wrap: wrap; row-gap: 8px; }
  .vsec-head > div:first-child { flex-basis: 100%; }
  .vrail { margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 22px; }
  .vrail.is-single { grid-auto-columns: 100%; }
  .vpath-list a, .vpl-list a { align-items: start; }
  .vw-actions .vbtn { flex: 1 1 100%; justify-content: center; }
  .wall-sq { pointer-events: none; }
}
@media (max-width: 960px) {
  .vtr { border: 1px solid var(--rule); border-radius: var(--r-m); padding: 4px; }
  .vchapters { max-height: none; }
  .vchapters button, .vtr button { padding: 12px 8px; }
}
.langsel-menu img { background: var(--sunk, #eef1f5); }
.vposter-art.n1 img { object-position: left center; }

.vposter .voriginal { display: block; margin-top: 4px; font: italic 500 var(--fs-label)/1.3 var(--f-body, inherit); color: inherit; opacity: 0.85; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }

/* Analytics consent (src/consent.js) */
#oca-consent { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; padding: 16px 20px; border-radius: var(--r-l); background: var(--ds-ink); color: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); font-size: var(--fs-body-s); line-height: 1.45; }
#oca-consent p { margin: 0 0 12px; }
#oca-consent.is-inline, [dir="rtl"] #oca-consent.is-inline { position: relative; inset: auto; left: auto; right: auto; bottom: auto; max-width: none; margin: 0; border-radius: 0; box-shadow: none; }
.oca-consent-btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.oca-consent-btns a { color: #b8c7e6; margin-inline-end: auto; }
.oca-consent-btns button { font: inherit; font-weight: 600; padding: 8px 16px; border-radius: var(--r-m); border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; cursor: pointer; }
.oca-consent-btns button:focus-visible, .oca-consent-btns a:focus-visible { outline: 2px solid #7fb0ff; outline-offset: var(--ring-offset); }
/* ---------- analytics consent on every page: one slim bar along the bottom edge ---------- */
#oca-consent, [dir="rtl"] #oca-consent { left: 0; right: 0; bottom: 0; max-width: none; margin: 0; display: flex; align-items: center; gap: 8px 24px; padding: 12px max(16px, calc((100vw - 1240px) / 2 + 32px)); border-radius: 0; background: #fff; color: var(--ds-ink-2); border-top: 1px solid var(--ds-line); box-shadow: var(--e2); font-size: var(--fs-label); line-height: 1.45; }
#oca-consent p { margin: 0; flex: 1 1 auto; min-width: 0; }
.oca-consent-btns { flex: none; gap: 8px; flex-wrap: nowrap; }
.oca-consent-btns a { color: var(--ds-primary); margin-inline-end: 8px; }
.oca-consent-btns button { padding: 8px 16px; border-radius: var(--r-full); font-size: var(--fs-label); color: var(--ds-primary); border-color: var(--ds-line-2); background: #fff; }
.oca-consent-btns button[data-v="granted"] { background: var(--ds-primary); color: #fff; border-color: var(--ds-primary); }
.oca-consent-btns button:focus-visible, .oca-consent-btns a:focus-visible { outline-color: var(--ds-primary); }
@media (max-width: 760px) {
  #oca-consent, [dir="rtl"] #oca-consent { flex-wrap: wrap; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); font-size: var(--fs-label-s); line-height: 1.4; gap: 8px; }
  #oca-consent p { flex-basis: 100%; }
  .oca-consent-btns { width: 100%; }
  .oca-consent-btns button { padding: 4px 12px; font-size: var(--fs-label-s); }
}
/* light hero: paper ground, blue light from the top right, navy type */
.vh { color: var(--ink); background:
  radial-gradient(760px 460px at 88% -8%, rgba(10, 132, 255, 0.20), transparent 62%),
  radial-gradient(620px 420px at -6% 104%, rgba(94, 92, 230, 0.12), transparent 60%),
  linear-gradient(180deg, var(--ds-surface) 0%, #ffffff 78%); border-bottom: 1px solid rgba(13, 37, 82, 0.07); }
.vh::before { background-image: linear-gradient(rgba(13, 37, 82, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 37, 82, 0.055) 1px, transparent 1px); }
.vh-glow { background: radial-gradient(closest-side, rgba(10, 132, 255, 0.16), transparent); }
.vh-kicker { color: var(--ds-ink); background: rgba(255, 255, 255, 0.85); border-color: rgba(13, 37, 82, 0.1); box-shadow: var(--e2); }
.vh-kicker img { box-shadow: 0 0 0 1px rgba(13, 37, 82, 0.08); }
.vh-title { color: var(--ds-ink); background: none; -webkit-text-fill-color: currentColor; }
.vh-sub { color: #475069; }
.vh .vsearch { border: 1px solid rgba(13, 37, 82, 0.1); box-shadow: var(--e3); }
.vh .vsearch:focus-within { border-color: rgba(10, 113, 227, 0.5); box-shadow: 0 0 0 4px rgba(10, 113, 227, 0.12), 0 18px 44px rgba(13, 37, 82, 0.14); }
.vh .vasks-lab { color: var(--ink-3); }
.vh .vask { color: var(--ds-ink); background: rgba(255, 255, 255, 0.9); border-color: rgba(13, 37, 82, 0.12); }
.vh .vask:hover { color: var(--ds-primary); background: #fff; border-color: rgba(10, 90, 214, 0.45); box-shadow: var(--e2); }
.vw-track img { box-shadow: var(--e2); }
.vh-stats > div { background: rgba(255, 255, 255, 0.8); border-color: rgba(13, 37, 82, 0.08); box-shadow: var(--e1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vh-stats dd { color: var(--ds-ink); }
.vh-stats dt { color: var(--ink-3); }
.vh :focus-visible { outline-color: var(--accent); }
.vw-track img { background: linear-gradient(135deg, var(--ds-primary-tonal), var(--ds-surface)); }
body:not(.is-classic) .vh-title, body:not(.is-classic) .vh-sub { hyphens: manual; -webkit-hyphens: manual; }
/* hero covers: a still 3-column grid, one large cover, staggered fade-in */
.vh-wall, [dir="rtl"] .vh-wall { height: auto; transform: none; -webkit-mask-image: none; mask-image: none;
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; align-content: center; }
.vh-wall img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--r-m);
  background: linear-gradient(135deg, var(--ds-primary-tonal), var(--ds-surface)); box-shadow: var(--e2);
  opacity: 0; transform: translateY(10px); animation: vb-in 0.7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.vh-wall .vb-0 { grid-column: span 2; grid-row: span 2; border-radius: var(--r-l); box-shadow: var(--e3); }
@keyframes vb-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vh-wall img { animation: none; opacity: 1; transform: none; } }
body:not(.is-classic) .vh :is(.vh-title, .vh-sub):lang(de) { hyphens: manual; -webkit-hyphens: manual; }

/* contrast: AA for white on red and accent pill text */
.vbtn.is-yt { background: #d9002c; }
body:not(.is-classic) .vfeat-kick { color: color-mix(in oklab, var(--accent) 82%, #000); }

/* Header account link: small, next to the language menu */
.acct-link { font-size: var(--fs-label); font-weight: 600; padding: 8px 12px; border-radius: var(--r-full); color: var(--ink-2); text-decoration: none; white-space: nowrap; border: 1px solid var(--rule-2); }
.acct-link:hover { color: var(--ink); background: var(--alt); }
@media (max-width: 520px) { .acct-link { padding: 4px 8px; font-size: var(--fs-label-s); } }

/* header search: an icon on wide screens, icon and word in the folded phone menu */
.nav a.nav-search { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 36px; }
.nav-search-t { display: none; }
@media (max-width: 860px) { body:not(.is-classic) .nav a.nav-search { justify-content: flex-start; } body:not(.is-classic) .nav-search-t { display: inline; } }

/* tap targets: footer, crumbs and "more" links are at least 24px tall */
.foot-more a, .foot-legal a, .foot-links a, .pr-crumbs a, .hm-more, .co-tv { display: inline-flex; align-items: center; min-height: 24px; }
.foot-langs a { min-width: 24px; justify-content: center; }
.oca-consent-btns a { display: inline-flex; align-items: center; min-height: 24px; }
