/*
Theme Name: Spotlight Maniac
Theme URI: https://spotlightmaniac.nl
Author: Jesse
Description: Custom thema voor Spotlight Maniac — waar voetbal en musicals elkaar ontmoeten. Fris, licht en typografisch, met Bebas Neue als koppenfont.
Version: 2.42
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spotlight-maniac
*/

/* -------------------------------------------------- */
/* Tokens                                              */
/* -------------------------------------------------- */
:root {
  --bg: oklch(0.98 0.008 205);
  --surface: oklch(0.955 0.012 205);
  --surface-2: oklch(0.92 0.016 205);
  --ink: oklch(0.30 0.06 205);
  --muted: oklch(0.50 0.03 205);
  --line: oklch(0.85 0.02 205);

  --fuchsia: oklch(0.55 0.23 350);
  --fuchsia-ink: oklch(0.99 0.01 350);
  --teal: oklch(0.45 0.10 200);
  --teal-ink: oklch(0.99 0.01 200);
  --yellow: oklch(0.86 0.17 95);
  --yellow-ink: oklch(0.28 0.05 95);

  --radius: 4px;
  --z-dropdown: 20;
  --z-sticky: 30;
  --z-overlay: 40;

  --font-display: "Odibee Sans", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* -------------------------------------------------- */
/* Base                                                */
/* -------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--fuchsia); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0 0 0.4em;
}

p { text-wrap: pretty; }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.prose {
  max-width: 68ch;
}

/* -------------------------------------------------- */
/* Nieuwsticker                                        */
/* -------------------------------------------------- */
.news-ticker {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
}

.news-ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-inline: 16px;
  background: var(--fuchsia);
  color: var(--fuchsia-ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.news-ticker__track {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
}

.news-ticker__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker__list { animation: none; }
  .news-ticker__track { overflow-x: auto; }
}

.news-ticker__list li {
  flex-shrink: 0;
  padding-inline: 20px;
  border-inline-end: 1px solid oklch(0.99 0.01 205 / 0.25);
}

.news-ticker__list a {
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-ticker__list a:hover { color: var(--yellow); text-decoration: none; }

.news-ticker__source {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: oklch(0.99 0.01 205 / 0.6);
}

@media (max-width: 600px) {
  .news-ticker__label { display: none; }
}

/* -------------------------------------------------- */
/* Header                                              */
/* -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: oklch(0.99 0.006 205 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo-fallback-link { display: flex; align-items: center; }
.site-logo-fallback { height: 52px; width: auto; display: block; }

/* Zelfde formaat/uitlijning als je zelf een logo instelt via
   Weergave -> Aanpassen -> Site-identiteit -> Logo in wp-admin. */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { height: 52px; width: auto; }

/*
 * Header toont alleen het icoon, geen geschreven merknaam ernaast.
 * De titel/tagline blijven wel in de HTML staan (goed voor SEO en
 * schermlezers) maar zijn visueel verborgen met .sr-only.
 */
.site-title,
.site-tagline {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.primary-nav a:hover { color: var(--fuchsia); text-decoration: none; }

.header-search { position: relative; margin-left: 4px; }
.header-search__toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.header-search__toggle:hover { border-color: var(--fuchsia); color: var(--fuchsia); }
.header-search__form {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: var(--z-dropdown);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 8px 24px oklch(0.1 0.02 205 / 0.15);
}
.header-search__form.is-open { display: block; }
.header-search__form .search-form { margin: 0; }
.header-search__form .search-field { width: 220px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 1rem;
}

@media (max-width: 719px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; width: 100%; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 4px; padding-block: 12px; }
  .site-header__inner { flex-wrap: wrap; }
}


/* -------------------------------------------------- */
/* Hero                                                */
/* -------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 100px);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.25em;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 46ch;
  margin-inline: auto;
  font-family: var(--font-body);
  text-transform: none;
}

/* -------------------------------------------------- */
/* Hero slider (2 slides: afbeelding of YouTube-video) */
/* -------------------------------------------------- */
.hero-slider {
  position: relative;
  margin-top: 24px;
  margin-bottom: 56px;
}


.hero-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}

@media (max-width: 700px) {
  .hero-slider__viewport { aspect-ratio: 4 / 5; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.hero-slide__link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__image--placeholder {
  background: linear-gradient(135deg, var(--fuchsia), var(--teal));
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, oklch(0.45 0.10 200 / 0.6) 0%, transparent 42%, transparent 58%, oklch(0.55 0.23 350 / 0.6) 100%);
}

.hero-slide__video {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 64px 32px 28px;
  background: linear-gradient(to top, oklch(0.08 0.02 205 / 0.85) 0%, oklch(0.08 0.02 205 / 0.45) 55%, transparent);
  color: oklch(0.99 0.005 205);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}

.hero-slide__credit {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
}

.hero-slide__credit .image-credit {
  margin: 0;
  font-size: 0.7rem;
  color: oklch(0.85 0.01 205 / 0.85);
  text-transform: none;
  font-family: var(--font-body);
}

.hero-slide__credit .image-credit a { color: inherit; text-decoration: underline; }

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: oklch(0.99 0.005 205 / 0.85);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__arrow--prev { left: 16px; }
.hero-slider__arrow--next { right: 16px; }
.hero-slider__arrow:hover { background: var(--fuchsia); color: var(--fuchsia-ink); }

.hero-slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.hero-slider__dot.is-active {
  background: var(--fuchsia);
  border-color: var(--fuchsia);
}

/* -------------------------------------------------- */
/* Pills / category badges                             */
/* -------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.pill--show, .pill.cat-show-recensies { background: var(--fuchsia); color: var(--fuchsia-ink); }
.pill--youtube, .pill.cat-youtube-parels { background: var(--yellow); color: var(--yellow-ink); }
.pill--nieuws, .pill.cat-nieuws { background: var(--teal); color: var(--teal-ink); }
.pill--default { background: var(--surface-2); color: var(--ink); }

/*
 * Automatische kleuren voor zelf-aangemaakte categorieën (bv.
 * "Albumrecensies"). Elke categorie krijgt via functions.php altijd
 * dezelfde van deze 6 kleuren toegewezen, zodat 'ie nooit grijs blijft.
 */
.pill--auto-1 { background: oklch(0.55 0.18 250); color: oklch(0.99 0.01 250); }
.pill--auto-2 { background: oklch(0.50 0.18 300); color: oklch(0.99 0.01 300); }
.pill--auto-3 { background: oklch(0.72 0.17 50); color: oklch(0.25 0.05 50); }
.pill--auto-4 { background: oklch(0.55 0.15 145); color: oklch(0.99 0.01 145); }
.pill--auto-5 { background: oklch(0.52 0.20 25); color: oklch(0.99 0.01 25); }
.pill--auto-6 { background: oklch(0.55 0.14 220); color: oklch(0.99 0.01 220); }

/* -------------------------------------------------- */
/* Section headers (shared)                            */
/* -------------------------------------------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.section-head a { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

/* -------------------------------------------------- */
/* Top stories (3-card grid)                           */
/* -------------------------------------------------- */
.top-stories { padding-block: 8px 56px; }

.top-stories__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.3fr 1fr 1fr;
}

@media (max-width: 860px) {
  .top-stories__grid { grid-template-columns: 1fr; }
}

.story-card { display: block; color: inherit; }
.story-card__link { display: block; color: inherit; }
.story-card .thumb { margin-bottom: 14px; aspect-ratio: 16 / 10; }
.story-card h3 { font-size: 1.35rem; margin: 8px 0 6px; }
.top-stories__grid > .story-card:first-child h3 { font-size: 1.9rem; }
.story-card .excerpt { font-size: 0.92rem; }

/* -------------------------------------------------- */
/* Pagina-indeling: hoofdkolom + sidebar               */
/* -------------------------------------------------- */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
  padding-block: 8px 60px;
}

@media (max-width: 940px) {
  .page-layout { grid-template-columns: 1fr; }
}

/* Wrapper om de sidebar-blokken (Aanbevolen shows + Laatste nieuws): zonder
   deze wrapper zijn het losse directe children van .page-layout, en plaatst
   de browser het tweede blok automatisch in kolom 1 i.p.v. eronder in
   kolom 2 — dat gaf een lege ruimte naast een verkeerd geplaatst blok. */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* -------------------------------------------------- */
/* Aanbevolen shows (sidebar)                          */
/* -------------------------------------------------- */
.shows-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 8px;
}

@media (min-width: 941px) {
  .shows-sidebar { position: sticky; top: 96px; }
}

.shows-sidebar .section-head {
  border-bottom-color: var(--line);
  margin-bottom: 4px;
  padding-bottom: 8px;
}

.shows-sidebar .section-head h2 { font-size: 1.15rem; }

.show-card-sm {
  display: flex;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.show-card-sm:first-of-type { border-top: none; }

.show-card-sm__image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 3px;
  object-fit: cover;
}

.show-card-sm__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.show-card-sm h4 { font-size: 0.96rem; margin: 2px 0 0; }
.show-card-sm .venue { font-size: 0.72rem; color: var(--muted); text-transform: none; line-height: 1.4; }
.show-card-sm .pill { font-size: 0.62rem; padding: 2px 8px; align-self: flex-start; }
.show-card-sm .cta { font-size: 0.78rem; font-weight: 700; margin-top: 2px; }

.pill--nederland { background: var(--teal); color: var(--teal-ink); }
.pill--westend { background: var(--ink); color: var(--bg); }
.pill--broadway { background: var(--surface-2); color: var(--ink); border: 1px solid var(--ink); }

/* -------------------------------------------------- */
/* Sidebar-widget: laatste nieuws (uit de RSS-feeds)   */
/* -------------------------------------------------- */
.news-widget { margin-top: 0; }

.news-widget__item { display: flex; color: inherit; }
.news-widget__item:hover { text-decoration: none; }
.news-widget__item:hover h4 { text-decoration: underline; }

.news-widget__source {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2px;
}

/* -------------------------------------------------- */
/* Los blok: laatste nieuws (homepage, onder de blog)  */
/* -------------------------------------------------- */
.news-section { padding-block: 8px 60px; }

.news-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 780px) {
  .news-section__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .news-section__grid { grid-template-columns: 1fr; }
}

.news-card { display: block; color: inherit; }
.news-card:hover { text-decoration: none; }
.news-card:hover .news-card__title { text-decoration: underline; }

.news-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  object-fit: cover;
  margin-bottom: 10px;
}

.news-card__source {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 3px;
}

.news-card__title { font-size: 0.98rem; margin: 0; text-transform: none; }

.tone-1 { background: linear-gradient(135deg, oklch(0.68 0.19 350), oklch(0.4 0.15 20)); }
.tone-2 { background: linear-gradient(135deg, oklch(0.55 0.14 250), oklch(0.3 0.1 260)); }
.tone-3 { background: linear-gradient(135deg, oklch(0.9 0.15 95), oklch(0.65 0.18 60)); }
.tone-4 { background: linear-gradient(135deg, oklch(0.6 0.11 200), oklch(0.35 0.09 200)); }
.tone-5 { background: linear-gradient(135deg, oklch(0.62 0.19 30), oklch(0.4 0.15 10)); }
.tone-6 { background: linear-gradient(135deg, oklch(0.5 0.16 300), oklch(0.28 0.1 280)); }
.tone-show { background: linear-gradient(135deg, oklch(0.68 0.19 350), oklch(0.48 0.20 340)); }
.tone-youtube { background: linear-gradient(135deg, oklch(0.90 0.15 95), oklch(0.78 0.17 85)); }
.tone-nieuws { background: linear-gradient(135deg, oklch(0.60 0.11 200), oklch(0.40 0.10 200)); }

.thumb { border-radius: var(--radius); aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.thumb-sm { border-radius: var(--radius); aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }

/* -------------------------------------------------- */
/* Channels: 3-column "laatste per categorie"          */
/* -------------------------------------------------- */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .channels-grid { grid-template-columns: 1fr; }
}

.channel-column .pill { margin-bottom: 14px; }

.channel-post {
  padding-block: 16px;
  border-top: 1px solid var(--line);
}

.channel-column .channel-post:last-child { border-bottom: 1px solid var(--line); }
.channel-post .thumb-sm { aspect-ratio: 16 / 9; margin-bottom: 10px; }

/* Albumhoezen zijn van zichzelf vierkant — die tonen we daarom in een
   vierkant vlak in plaats van de brede 16:9 die de andere kolommen
   gebruiken, zodat er niets van de hoes hoeft te worden afgesneden. */
.channel-post--square .thumb-sm { aspect-ratio: 1 / 1; }
.channel-post h4 { font-size: 1.15rem; margin: 0 0 6px; }
.channel-post .excerpt { font-size: 0.88rem; }

/* -------------------------------------------------- */
/* Featured + list rows (front page, archives)         */
/* -------------------------------------------------- */
.channels {
  display: grid;
  gap: 52px;
}

.featured-post {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 44px;
}

@media (max-width: 780px) {
  .featured-post { grid-template-columns: 1fr; }
}

.featured-post img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.featured-post h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-block: 0.3em 0.25em;
}

.post-list {
  display: flex;
  flex-direction: column;
}

.post-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.post-list .post-row:last-child { border-bottom: 1px solid var(--line); }

.post-row img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.post-row h3 {
  font-size: 1.5rem;
  margin: 0.15em 0 0.2em;
}

.post-row .excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  text-transform: none;
}

.post-meta {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-row:nth-child(3n+1) h3 { font-size: 1.75rem; }

/* -------------------------------------------------- */
/* Fakkel-waardering                                   */
/* -------------------------------------------------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-block: 10px 0;
}

.rating .flame-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.rating .flame-icon path {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.4;
}

.rating .flame-icon.is-active path {
  fill: var(--fuchsia);
  stroke: var(--fuchsia);
}

.channel-post .rating,
.post-row .rating {
  margin-block: 2px 6px;
}

.channel-post .rating .flame-icon,
.post-row .rating .flame-icon {
  width: 15px;
  height: 15px;
}

/* -------------------------------------------------- */
/* Single post / page                                  */
/* -------------------------------------------------- */
.entry-header {
  padding-block: 56px 28px;
  text-align: center;
}

.entry-header h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-block: 0.3em 0.25em;
}

.entry-header .rating {
  justify-content: center;
  margin-top: 14px;
}

.entry-header .rating .flame-icon {
  width: 26px;
  height: 26px;
}

.entry-thumbnail {
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--surface-2);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.spotify-embeds {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.spotify-embed {
  border-radius: var(--radius);
  border: 0;
}

/* -------------------------------------------------- */
/* Automatische bronvermelding bij externe afbeeldingen */
/* -------------------------------------------------- */
.image-credit {
  margin: 0 0 32px;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: none;
}

.image-credit a { color: var(--muted); text-decoration: underline; }
.image-credit a:hover { color: var(--fuchsia); }

.top-stories .image-credit,
.channel-post .image-credit {
  margin: 2px 0 6px;
  font-size: 0.72rem;
}

.image-credit--inline {
  display: block;
  margin: -12px 0 20px;
  font-size: 0.78rem;
  color: var(--muted);
}

.image-credit--inline a { color: var(--muted); text-decoration: underline; }

.entry-content {
  margin-inline: auto;
  font-size: 1.08rem;
}

.entry-content h2 { font-size: 1.9rem; margin-top: 1.3em; }
.entry-content h3 { font-size: 1.5rem; margin-top: 1.1em; }
.entry-content blockquote {
  border-inline-start: none;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-style: italic;
  color: var(--muted);
}

.entry-footer {
  margin-inline: auto;
  padding-block: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 64px;
  border-top: 1px solid var(--line);
}

.post-nav a { color: var(--ink); font-weight: 600; }
.post-nav span { display: block; color: var(--muted); font-size: 0.8rem; margin-bottom: 4px; text-transform: uppercase; }

/* -------------------------------------------------- */
/* Archive header                                      */
/* -------------------------------------------------- */
.archive-header {
  padding-block: 48px 16px;
  text-align: center;
}

.archive-header h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.archive-header p { color: var(--muted); text-transform: none; }
.archive-header .pill { margin-bottom: 16px; }

.post-row .pill { margin-bottom: 10px; }

/* -------------------------------------------------- */
/* Tag-filter (categoriepagina's)                      */
/* -------------------------------------------------- */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-bottom: 24px;
}

.tag-filter__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
}

.tag-filter__pill:hover {
  border-color: var(--fuchsia);
  color: var(--fuchsia);
  text-decoration: none;
}

.tag-filter__pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.fakkel-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-bottom: 24px;
}

.fakkel-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
}

.fakkel-filter__pill:hover {
  border-color: var(--fuchsia);
  color: var(--fuchsia);
  text-decoration: none;
}

.fakkel-filter__pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.fakkel-filter__icon {
  font-size: 0.85em;
}

/* -------------------------------------------------- */
/* Nieuwsbrief + social links (boven de footer)        */
/* -------------------------------------------------- */
.site-footer__signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.newsletter-signup__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

.newsletter-signup__form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-signup__form input[type="email"] {
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  min-width: 220px;
}

.newsletter-signup__form button {
  padding: 9px 18px;
  border-radius: var(--radius);
  border: none;
  background: var(--fuchsia);
  color: var(--fuchsia-ink);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  cursor: pointer;
}

.newsletter-signup__feedback {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links__item {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
}

.social-links__item:hover {
  border-color: var(--fuchsia);
  color: var(--fuchsia);
  text-decoration: none;
}

/* -------------------------------------------------- */
/* Deel-knoppen                                        */
/* -------------------------------------------------- */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-block: 24px;
}

.share-buttons__label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.share-buttons__btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.share-buttons__btn:hover {
  border-color: var(--fuchsia);
  color: var(--fuchsia);
  text-decoration: none;
}

/* -------------------------------------------------- */
/* Related posts ("Meer zoals dit")                    */
/* -------------------------------------------------- */
.related-posts {
  max-width: 68ch;
  margin-block: 8px 40px;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .related-posts__grid { grid-template-columns: 1fr; }
}

.related-posts .thumb { margin-bottom: 10px; aspect-ratio: 4 / 3; }
.related-posts h3 { font-size: 1.1rem; margin: 6px 0 0; }

/* -------------------------------------------------- */
/* Footer                                              */
/* -------------------------------------------------- */
.site-footer {
  border-top: 2px solid var(--ink);
  padding-block: 32px;
  margin-top: 48px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fuchsia); }

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* -------------------------------------------------- */
/* Cookiebanner (AVG)                                  */
/* -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 640px;
  margin-inline: auto;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  box-shadow: 0 8px 30px oklch(0.1 0.02 205 / 0.35);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  color: oklch(0.95 0.008 205);
  flex: 1 1 260px;
}

.cookie-banner__text a { color: var(--bg); text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  border: none;
  border-radius: 2px;
  padding: 9px 16px;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  cursor: pointer;
}

.cookie-banner__btn--reject {
  background: transparent;
  color: var(--bg);
  border: 1px solid oklch(0.99 0.005 205 / 0.4);
}

.cookie-banner__btn--accept {
  background: var(--fuchsia);
  color: var(--fuchsia-ink);
}

/* -------------------------------------------------- */
/* Search / 404                                        */
/* -------------------------------------------------- */
.search-form {
  display: flex;
  gap: 8px;
  margin-block: 24px;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.search-form button {
  padding: 10px 16px;
  border-radius: var(--radius);
  border: none;
  background: var(--fuchsia);
  color: var(--fuchsia-ink);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  cursor: pointer;
}
