/* videonieuws.nl — mobiele gids bij TipTop
   Layout: een smalle leeskolom met een vaste schermindex ernaast,
   opgebouwd alsof de pagina een reeks schermen op een toestel is. */

:root {
  --bg: #111213;
  --panel: #1a1b21;
  --panel-2: #15161b;
  --line: #343641;
  --line-soft: #26272f;
  --ink: #ffffff;
  --ink-2: #aeb2c0;
  --ink-3: #7e8393;
  --mint: #51fe9e;
  --mint-soft: #9affd5;
  --cyan: #22d6e4;
  --on-mint: #1f2028;
  --link: #5aef9f;
  --link-hover: #5dffc9;
  --radius: 14px;
  --radius-s: 8px;
  --font: Poppins, "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --measure: 68ch;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { color: var(--link-hover); text-decoration: underline; }

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

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mint);
  color: var(--on-mint);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-s) 0;
  font-weight: 600;
  z-index: 60;
}
.skiplink:focus { left: 0; }

/* ---------- topbalk ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 18, 19, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
}

.bar-in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark { display: inline-flex; align-items: center; }
.mark img { width: 118px; height: auto; }

.navtoggle {
  margin-left: auto;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
}
.navtoggle:hover { border-color: var(--mint); color: var(--mint); }
.navtoggle[aria-expanded="true"] { background: var(--mint); color: var(--on-mint); border-color: var(--mint); }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.nav a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav a:hover { color: var(--ink); background: var(--panel); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--mint); border-color: var(--line); background: var(--panel); }

@media (max-width: 1020px) {
  .nav {
    order: 3;
    flex-basis: 100%;
    display: none;
    border-top: 1px solid var(--line-soft);
    padding-top: 10px;
    margin-top: 2px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 10px 12px; }
}
@media (min-width: 1021px) {
  .navtoggle { display: none; }
}

/* ---------- leeftijdsregel ---------- */

.ageline {
  margin: 0;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 20px;
  text-align: center;
}
.ageline b { color: var(--mint); font-weight: 700; margin-right: 6px; }

/* ---------- raamwerk ---------- */

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 20px 72px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.rail { position: sticky; top: 84px; }
.rail h2 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: scherm;
  border-left: 1px solid var(--line);
}
.rail li { counter-increment: scherm; }
.rail a {
  display: block;
  position: relative;
  padding: 7px 0 7px 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
  border-left: 2px solid transparent;
  margin-left: -1px;
}
.rail a::before {
  content: counter(scherm, decimal-leading-zero);
  font-size: 11px;
  color: var(--ink-3);
  display: block;
  letter-spacing: 0.08em;
}
.rail a:hover { color: var(--ink); text-decoration: none; }
.rail a.here { color: var(--mint); border-left-color: var(--mint); }
.rail a.here::before { color: var(--mint); }

.col { min-width: 0; max-width: var(--measure); }

@media (max-width: 960px) {
  .wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 24px; }
  .rail {
    position: static;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 14px 16px;
  }
  .rail ol { display: flex; gap: 10px; overflow-x: auto; border-left: 0; padding-bottom: 4px; }
  .rail li { flex: 0 0 auto; }
  .rail a { border-left: 0; padding: 0; white-space: nowrap; font-size: 13px; }
  .rail a.here { text-decoration: underline; }
  .col { max-width: none; }
}

/* ---------- kop van de pagina ---------- */

.lead { padding-bottom: 6px; }

.chip {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(30px, 5.2vw, 43px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 700;
}

.standfirst {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.standfirst strong { color: var(--ink); font-weight: 600; }

/* ---------- schermen ---------- */

.screen {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
.screen > h2 {
  font-size: clamp(21px, 3vw, 26px);
  line-height: 1.26;
  margin: 0 0 16px;
  font-weight: 650;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.screen > h2::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--mint);
  transform: translateY(-2px);
}
.screen h3 {
  font-size: 18px;
  margin: 28px 0 8px;
  font-weight: 600;
}
p { margin: 0 0 16px; }
p strong { color: var(--ink); }

/* ---------- stappen ---------- */

.steps {
  list-style: none;
  counter-reset: stap;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  counter-increment: stap;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px 14px 58px;
  font-size: 16px;
}
.steps li::before {
  content: counter(stap);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--on-mint);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps strong { color: var(--ink); }

/* ---------- eisen / lijsten ---------- */

.specs {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.specs li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  color: var(--ink-2);
}
.specs li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}
.specs strong { color: var(--ink); }

ul.plain { margin: 20px 0; padding-left: 20px; color: var(--ink-2); }
ul.plain li { margin-bottom: 10px; }
ul.plain strong { color: var(--ink); }

/* ---------- kanalen naast elkaar ---------- */

.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.channel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.channel h3 { margin: 0 0 8px; font-size: 17px; }
.channel p { margin: 0; font-size: 15px; color: var(--ink-2); }
.channel.accent { border-color: var(--mint); }

/* ---------- uitgelicht blok ---------- */

.callout {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------- tabellen ---------- */

.tablewrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 440px;
}
caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px 0;
  font-size: 13px;
  color: var(--ink-3);
}
th, td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  background: var(--panel-2);
}
tbody th { font-weight: 600; color: var(--ink); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ---------- beeld ---------- */

figure {
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
figcaption {
  font-size: 13.5px;
  color: var(--ink-3);
  padding: 12px 18px;
}

/* ---------- vragen ---------- */

.qa { margin: 22px 0 0; }
.qa details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: 10px;
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 52px 15px 18px;
  font-weight: 600;
  font-size: 16.5px;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 22px;
  font-weight: 400;
  color: var(--mint);
  line-height: 1.2;
}
.qa details[open] summary::after { content: "–"; }
.qa .answer { padding: 0 18px 4px; color: var(--ink-2); }

/* ---------- gidsen ---------- */

.guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.guide {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--ink);
}
.guide:hover { border-color: var(--mint); text-decoration: none; }
.guide .route {
  display: block;
  font-size: 12.5px;
  color: var(--cyan);
  margin-bottom: 6px;
  word-break: break-word;
}
.guide span.what { display: block; font-size: 15px; color: var(--ink-2); }

/* ---------- onderzoeksbasis ---------- */

.sources { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.sources div { padding: 12px 0; border-bottom: 1px dashed var(--line-soft); }
.sources div:last-child { border-bottom: 0; }
.sources b { color: var(--ink); }

/* ---------- voet ---------- */

.foot {
  border-top: 1px solid var(--line-soft);
  background: var(--panel-2);
  padding: 34px 20px 44px;
}
.foot-in {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.foot h2 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
  font-weight: 600;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 7px; font-size: 15px; }
.foot p { font-size: 14.5px; color: var(--ink-2); }
.foot img { width: 106px; }
.legal {
  max-width: 1160px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-3);
}
.legal p { margin: 0 0 6px; }
