/* ===========================================================================
   Radio Continu — reset, basisstijlen en typografie
   =========================================================================== */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--rc-ink);
  background: var(--rc-surface-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
}

body.has-player {
  padding-bottom: var(--player-h);
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p {
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}

a {
  color: var(--rc-blue);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

a:hover {
  color: var(--rc-red);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--rc-blue-500);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

ul,
ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

li + li {
  margin-top: var(--space-1);
}

hr {
  border: 0;
  border-top: 1px solid var(--rc-line);
  margin: var(--space-6) 0;
}

blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--rc-red);
  background: var(--rc-surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--rc-ink-70);
}

table {
  width: 100%;
  border-collapse: collapse;
}

code,
kbd,
samp {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, monospace;
  font-size: 0.875em;
  background: var(--rc-surface-3);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-xs);
}

::selection {
  background: var(--rc-red);
  color: #fff;
}

/* -- Hulpklassen ---------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
}

.section--night {
  background: var(--grad-night);
  color: #fff;
}

.section--night h1,
.section--night h2,
.section--night h3 {
  color: #fff;
}

.section--soft {
  background: var(--rc-surface-2);
}

.section--white {
  background: var(--rc-white);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: var(--z-modal);
  padding: var(--space-3) var(--space-5);
  background: var(--rc-red);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.stack > * + * {
  margin-top: var(--space-4);
}

.flow > * + * {
  margin-top: var(--space-5);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--rc-ink-50); }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

/* -- Redactie-inhoud ------------------------------------------------------ */

.prose {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--rc-ink-70);
}

.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

.prose h2,
.prose h3,
.prose h4 {
  color: var(--rc-ink);
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.prose h2 { font-size: var(--text-2xl); }
.prose h3 { font-size: var(--text-xl); }

.prose a {
  color: var(--rc-blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--rc-blue) 35%, transparent);
}

.prose a:hover {
  color: var(--rc-red);
  text-decoration-color: var(--rc-red);
}

.prose strong { color: var(--rc-ink); font-weight: 700; }

.prose img {
  border-radius: var(--radius);
  margin-block: var(--space-5);
  box-shadow: var(--shadow);
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li::marker {
  color: var(--rc-red);
  font-weight: 700;
}

.prose table {
  margin-block: var(--space-5);
  font-size: var(--text-base);
}

.prose th,
.prose td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--rc-line);
  text-align: left;
}

.prose th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rc-ink);
}

.prose--invert,
.prose--invert strong {
  color: rgba(255, 255, 255, 0.82);
}

.prose--invert h2,
.prose--invert h3,
.prose--invert strong {
  color: #fff;
}

.prose--invert a {
  color: #fff;
  text-decoration-color: var(--rc-red-300);
}
