:root{
  --bg:#f7f8fb;
  --panel:#ffffff;
  --panel-2:#fbfcff;
  --muted:#5d636b;
  --text:#0c1016;
  --brand:#b31212;
  --accent:#c51414;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 8px 24px rgba(0,0,0,.07);
  --shadow-soft:0 3px 10px rgba(0,0,0,.06);
  --border:1px solid #e6e9ef;
}

body{background:var(--bg);color:var(--text)}
.site-header{background:rgba(255,255,255,.85);border-bottom:var(--border)}
.brand img{width:44px;height:44px;border-radius:12px;background:#fff;border:1px solid #e7ebf2;padding:6px}
.brand span{display:none}
.nav a{color:#232833}
.nav a:hover,.nav a.active{background:#eef1f6;color:#0c1016}
.cta,.mini-cta,.btn{box-shadow:var(--shadow)}

.card{background:linear-gradient(180deg,var(--panel),var(--panel-2));border:var(--border)}
.news-card{background:linear-gradient(180deg,var(--panel),var(--panel-2));border:var(--border)}
.news-card .tag{background:#eef1f6;color:#0c1016}

.tile{background:#ffffff;border:var(--border)}
.player-bar{background:rgba(255,255,255,.96);border-top:var(--border)}
.player-bar .icon-btn{background:#f0f3f9;border:1px solid #e1e6ef;color:#111}
.player-bar .icon-btn:hover{background:#e8eef8}
.player-bar .artist,.player-bar .program{color:#606770}

.table th,.table td{border-bottom:1px solid #e6e9ef}
footer{color:#606770}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{max-width:1200px;margin:0 auto;padding:0 22px}

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

.site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(10,11,13,.7);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:var(--border);
}
.header-inner{display:flex;align-items:center;gap:14px;height:60px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-weight:900;font-size:22px;letter-spacing:.2px}
.brand img{width:44px;height:44px;border-radius:12px;background:#fff;border:1px solid #e7ebf2;padding:6px}

.nav{display:flex;gap:8px;margin-left:8px}
.nav a{color:var(--muted);text-decoration:none;font-weight:700;padding:10px 12px;border-radius:12px}
.nav a:hover,.nav a.active{color:var(--text);background:#1a1c21}

.cta,.mini-cta,.btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,var(--accent),#b70f0f);
  color:#fff;text-decoration:none;font-weight:900;
  padding:11px 16px;border-radius:14px;box-shadow:var(--shadow);
  border:none;cursor:pointer;transition:.2s transform,.2s filter;
}
.cta{margin-left:auto}
.btn:active,.cta:active{transform:translateY(1px)}
.cta:hover,.mini-cta:hover,.btn:hover{filter:brightness(1.05)}

.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}

.card{
  background:linear-gradient(180deg,var(--panel),var(--panel-2));
  border:var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}
.card h2{margin:0 0 12px 0;font-size:22px}
.card .muted{color:var(--muted)}

.hero{
  margin:26px 0 16px;
}
.hero-left{grid-column:span 8}
.hero-right{grid-column:span 4;display:flex;flex-direction:column;gap:18px}

.nowplaying{display:grid;grid-template-columns:140px 1fr auto;gap:18px;align-items:center}
.nowplaying .art{width:140px;height:140px;border-radius:14px;object-fit:cover;background:#222}
.nowplaying .np-text .title{font-weight:900;font-size:28px;line-height:1.25}
.nowplaying .np-text .artist{color:var(--muted);font-size:16px;margin-top:2px}
.nowplaying .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}

.badge{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:12px;
  letter-spacing:.2px;color:#fff;background:#2064e8;border-radius:999px;padding:6px 10px}
.badge.live{background:#cc2d2d}

.tile-list{display:flex;flex-direction:column;gap:12px}
.tile{
  display:flex;gap:12px;align-items:center;
  background:#14161a;border:var(--border);border-radius:14px;padding:10px 12px;
}
.tile img{width:52px;height:52px;border-radius:10px;object-fit:cover;background:#222}
.tile .meta{display:flex;flex-direction:column}
.tile .t{font-weight:800}
.tile .a{color:#666f7a;font-size:14px}
.tile .time{margin-left:auto;color:var(--muted);font-size:12px}

.section{grid-column:span 12}

.player-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:1200;
  display:flex;align-items:center;gap:12px;padding:12px 16px;
  background:linear-gradient(180deg,#101215 0%, #0b0c0f 100%);
  border-top:var(--border);
}
.player-bar .icon-btn{
  background:#1c1e23;border:1px solid #2a2f38;color:#fff;
  width:44px;height:44px;border-radius:12px;cursor:pointer;font-size:18px;
}
.player-bar .icon-btn:hover{background:#23262c}
.player-bar .art{width:44px;height:44px;border-radius:10px;object-fit:cover;background:#222}
.player-bar .meta{display:flex;flex-direction:column;gap:1px}
.player-bar .title{font-weight:900}
.player-bar .artist{color:var(--muted)}
.player-bar .program{font-size:12px;color:var(--muted)}
.player-bar .vol-wrap{opacity:.9}
.player-bar input[type=range]{width:140px}
.player-bar .grow{flex:1}

.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px;border-bottom:1px solid #24272e;text-align:left}
.table th{color:#d6d8dc;font-weight:800}

footer{color:var(--muted);padding:40px 0 96px}

@media (max-width: 980px){
  .hero-left{grid-column:span 12}
  .hero-right{grid-column:span 12}
  .nowplaying{grid-template-columns:100px 1fr;grid-auto-rows:auto}
  .nowplaying .art{width:100px;height:100px}
  .player-bar input[type=range]{width:110px}
}
@media (max-width: 1024px){
  .nav{display:flex;gap:8px;margin-left:8px}
  .cta{display:none}
  .player-bar input[type=range]{width:90px}
}


/* --- NEWS GRID --- */
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.news-card{display:flex;flex-direction:column;background:linear-gradient(180deg,var(--panel),var(--panel-2));border:var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-soft)}
.news-card img{width:100%;height:160px;object-fit:cover;background:#222}
.news-card .pad{padding:16px}
.news-card h3{margin:0 0 6px 0;font-size:18px}
.news-card .meta{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:8px}
.news-card .tag{background:#1f232a;border-radius:999px;padding:4px 8px;font-weight:800;font-size:11px}
.news-card p{margin:0 0 12px 0;color:#dce0e6}
.news-card a{font-weight:800;text-decoration:none;color:#fff}
.news-card a:hover{text-decoration:underline}

/* --- PROGRAMMING TIMELINE --- */
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.tab-btn{background:#17191e;border:1px solid #2a2f38;color:#cfd4db;padding:8px 12px;border-radius:999px;font-weight:800;cursor:pointer}
.tab-btn.active{background:var(--brand);border-color:#8f0f0f;color:#fff}

.timeline{overflow-x:auto;padding:0 6px}
.timeline-track{
  position:relative;height:88px;background:#121318;border:var(--border);border-radius:14px;
  box-shadow:var(--shadow-soft);display:block;min-width:900px;
}
.time-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(24,1fr)}
.time-grid div{border-left:1px dashed #252932;opacity:.6}
.label-row{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:6px 4px 8px}
.prog{
  position:absolute;top:12px;height:64px;border-radius:12px;display:flex;flex-direction:column;justify-content:center;
  padding:8px 12px;box-shadow:var(--shadow-soft);border:1px solid rgba(255,255,255,.06);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.prog .t{font-weight:900}
.prog .p{font-size:12px;color:#f1f3f5;opacity:.9}
.prog:hover{filter:brightness(1.05)}
.prog.small{height:46px;top:20px}
.legend{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-size:12px}
.legend .dot{width:10px;height:10px;border-radius:999px;display:inline-block;margin-right:6px}

.btn-lg{padding:14px 20px;font-size:16px;border-radius:16px}
.btn.ghost{background:#eef1f6;color:#0c1016}
.btn.ghost:hover{filter:none;background:#e6eaf2}

/* Webplayer refinements */
.player-bar{background:rgba(255,255,255,.96);border-top:1px solid #e6e9ef}
.player-bar .icon-btn.play{
  width:52px;height:52px;border-radius:16px;
  background:linear-gradient(180deg,var(--accent),#a80f0f);border:1px solid #b81414;color:#fff;
  font-size:20px;
}
.player-bar .icon-btn.play:hover{filter:brightness(1.05)}
.player-bar .art{border:1px solid #e9edf4}
.player-bar .title{color:#0c1016}
.player-bar .artist,.player-bar .program{color:#606770}


/* --- Header polish --- */
.site-header{background:rgba(255,255,255,.92)!important;border-bottom:1px solid #e7ebf2!important}
.header-inner{height:58px!important}
.brand img{width:48px!important;height:48px!important;border-radius:12px!important;background:#fff!important;border:1px solid #e7ebf2!important;padding:4px!important}
.nav a{padding:8px 12px!important;border-radius:12px!important}
.nav a:hover,.nav a.active{background:#eef2f7!important}

/* --- Force light recent section --- */
.tile-list{gap:12px!important}
.tile{background:#ffffff!important;border:1px solid #e6e9ef!important}
.tile img{background:#fff!important;border:1px solid #eef1f6!important}
.tile .t{color:#0c1016!important}
.tile .a{color:#606770!important}
.recent-list li{background:#ffffff!important;border:1px solid #e6e9ef!important;border-radius:12px!important;padding:8px!important}

/* --- Webplayer prominent play + light --- */
.player-bar{background:rgba(255,255,255,.96)!important;border-top:1px solid #e6e9ef!important}
.player-bar .icon-btn.play{
  width:54px!important;height:54px!important;border-radius:16px!important;
  background:linear-gradient(180deg,var(--accent),#a80f0f)!important;border:1px solid #b81414!important;color:#fff!important;
  font-size:22px!important;
}
.player-bar .icon-btn{box-shadow:0 2px 6px rgba(0,0,0,.08)!important}
.player-bar .art{border:1px solid #e9edf4!important}
.player-bar .title{color:#0c1016!important}
.player-bar .artist,.player-bar .program{color:#606770!important}


/* Header logo cleanup */
.brand img{background:transparent!important;border:none!important;padding:0!important;border-radius:10px!important}

/* Light timeline overrides */
.timeline-track{background:#ffffff!important;border:1px solid #e6e9ef!important}
.time-grid div{border-left:1px dashed #e6e9ef!important}
.label-row{color:#606770!important}
.prog{border:1px solid rgba(0,0,0,.05)!important;color:#0c1016!important}

/* Volume button (ghost) */
.icon-btn.ghost{background:#f0f3f9!important;border:1px solid #e1e6ef!important;color:#111!important}
.icon-btn.ghost:hover{background:#e7edf7!important}


/* --- Mobile header/menu --- */
.hamburger{display:none;position:relative;width:42px;height:42px;border-radius:12px;border:1px solid #e1e6ef;background:#f0f3f9;cursor:pointer}
.hamburger span{position:absolute;left:10px;right:10px;height:2px;background:#1f2430;border-radius:2px;transition:.2s}
.hamburger span:nth-child(1){top:12px}.hamburger span:nth-child(2){top:20px}.hamburger span:nth-child(3){top:28px}
.hamburger.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

.mobile-menu{
  position:fixed;top:60px;left:0;right:0;z-index:1100;
  background:#ffffff;border-bottom:1px solid #e6e9ef;display:flex;flex-direction:column;
}
.mobile-menu a{padding:14px 18px;text-decoration:none;color:#0c1016;border-top:1px solid #f0f2f7;font-weight:800}
.mobile-menu a.req{background:#eef2f7}

@media (max-width: 1024px){
  .hamburger{display:inline-flex;align-items:center;justify-content:center;margin-left:auto}
  .nav,.cta{display:none!important}
}

/* --- Header logo spacing --- */
.header-inner{height:62px}
.brand{padding:4px 0}
.brand img{width:56px;height:56px}

/* --- Ensure content not hidden by player --- */
:root{ --player-height: 80px }
body{ padding-bottom: calc(var(--player-height) + env(safe-area-inset-bottom)); }
main.container{margin-bottom:24px}

/* --- Professional play/pause icons --- */
.icon-btn.play svg{display:block}
.icon-btn.play{display:inline-flex;align-items:center;justify-content:center}


/* Logo natural aspect ratio */
.brand img{height:56px!important;width:auto!important;object-fit:contain!important}

/* Mobile overlay */
.menu-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.25);backdrop-filter:blur(1px);
  z-index:1050;
}
.menu-overlay[hidden]{display:none}

/* Card relative positioning to place badge */
.card{position:relative}
#home-badge{position:absolute;top:-10px;left:-10px;background:var(--brand)!important}

/* Strong light for recent list (legacy UL variant) */
.recent-list li{background:#fff!important;border:1px solid #e6e9ef!important;border-radius:12px!important}

/* Mobile: larger play/pause icon */
@media (max-width: 1024px){
  .icon-btn.play{width:64px!important;height:64px!important;border-radius:18px!important}
  .icon-btn.play svg{width:26px!important;height:26px!important}
}

/* Ensure mobile menu appears above content */
.mobile-menu[hidden]{display:none}
.mobile-menu{z-index:1100}


/* ===== v10 fixes ===== */
:root{ --header-h: 62px; }

/* Grid responsive */
@media (max-width: 1024px){
  .grid{grid-template-columns:1fr}
  .hero-left,.hero-right,.section{grid-column:1 / -1}
  .nowplaying{grid-template-columns:100px 1fr;grid-auto-rows:auto}
  .nowplaying .art{width:100px;height:100px}
}

/* Mobile menu uses dynamic header height and overlay */
.mobile-menu{
  position:fixed;top:var(--header-h);left:0;right:0;z-index:1200;
  background:#fff;border-bottom:1px solid #e6e9ef;display:flex;flex-direction:column;
  transform:translateY(-8px);opacity:0;pointer-events:none;transition:.18s ease;
}
.mobile-menu.open{transform:translateY(0);opacity:1;pointer-events:auto}
.menu-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.25);backdrop-filter:blur(1px);
  z-index:1100;opacity:0;pointer-events:none;transition:.18s ease;
}
.menu-overlay.open{opacity:1;pointer-events:auto}
@media (max-width: 1024px){
  .hamburger{display:inline-flex!important;align-items:center;justify-content:center;margin-left:auto}
  .nav,.cta{display:none!important}
}

/* Header logo with natural ratio, more space */
.header-inner{height:62px}
.brand{padding:4px 0;overflow:visible}
.brand img{height:56px;width:auto;object-fit:contain}

/* Ensure content not hidden by player */
:root{ --player-height: 86px }
body{ padding-bottom: calc(var(--player-height) + env(safe-area-inset-bottom)); }
#app{ padding-bottom: calc(var(--player-height) + 16px); }

/* Larger play/pause on mobile */
@media (max-width: 1024px){
  .player-bar .icon-btn.play{width:68px!important;height:68px!important;border-radius:20px!important}
  .player-bar .icon-btn.play svg{width:32px!important;height:32px!important}
}

/* Badge position/color */
#home-badge{position:absolute;top:-12px;left:-10px;background:var(--brand)!important}

#app:focus{outline:none}

@media (max-width: 1024px){
  .player-bar .icon-btn.play{width:72px!important;height:72px!important;border-radius:22px!important}
  .player-bar .icon-btn.play svg{width:34px!important;height:34px!important}
}

/* ===== v15: mobile volume controls removed ===== */
@media (max-width: 720px){
  #muteBtn, #volume { display: none !important; }
}

/* ===== v15: programming timeline mobile fix ===== */
@media (max-width: 720px){
  .timeline{ width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; padding: 0 8px; }
  .timeline-track{ width: max(640px, 100%); min-width: 640px; box-sizing: border-box; margin: 0; }
  .label-row{ padding: 0 8px; }
  .card{ overflow:hidden; }
}

/* ===== v16: Mobile header request button ===== */
.mobile-req{display:none;margin-left:8px}
@media (max-width: 720px){
  .mobile-req{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 12px;border-radius:12px}
  .hamburger{margin-left:auto} /* keep hamburger pushing to the right */
}

/* ===== v16: Fix home badge position (avoid clipping/overlap) ===== */
#home-badge{position:absolute !important; top:8px !important; right:12px !important; left:auto !important; z-index:2}

/* ===== v17: Home badge back to left & overlapping ===== */
.hero-left{ position:relative; overflow:visible !important; }
#home-badge{
  position:absolute !important;
  top:-12px !important;
  left:-10px !important;
  right:auto !important;
  z-index:3;
}
@media (max-width: 720px){
  #home-badge{ top:-10px !important; left:-8px !important; }
}


/* ===== v18: Header logo horizontal stretch controls ===== */
:root{
  --logo-scale-x-desktop: 1.18; /* increase to make it wider (e.g., 1.10–1.30) */
  --logo-scale-x-mobile: 1.10;  /* slightly wider on mobile */
}
.brand img{
  transform: scaleX(var(--logo-scale-x-desktop));
  transform-origin: center;
}
@media (max-width: 720px){
  .brand img{
    transform: scaleX(var(--logo-scale-x-mobile));
  }
}

/* ===== v19: Header logo uses original aspect ratio (no stretch) ===== */
:root{
  --logo-scale-x-desktop: 1 !important;
  --logo-scale-x-mobile: 1 !important;
}
.brand img{
  height: 56px;            /* pas aan naar 60/64 als je hem groter wilt tonen */
  width: auto;
  object-fit: contain;
  transform: none !important;
}
/* ===== v20: Header logo op originele breedte + retina ready ===== */
.brand img{
  width: auto !important;      /* natuurlijke breedte */
  height: auto !important;     /* geen vaste hoogte */
  max-height: 56px;            /* past in de header, pas desgewenst aan */
  object-fit: contain !important;
  transform: none !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  display: block;              /* voorkomt inline-gap */
}
/* ===== v23: Header logo op originele breedte + retina ready ===== */
.brand img{
  height:56px !important;
  width:auto !important;
  object-fit:contain !important;
  transform:none !important;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
  display:block;
}
/* ===== GEMIST SECTION ===== */
.gemist-section {
  margin: 22px 0 38px;
}

.section-title {
  margin-bottom: 18px;
}

.section-actions {
  text-align: center;
  margin-top: 20px;
}

.program-title {
  font-weight: 800;
  font-size: 16px;
  margin-top: 6px;
}

.program-subtitle {
  margin-top: 8px;
}

/* Gemist Grid */
.gemist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gemist-item {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.gemist-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.gemist-thumbnail {
  position: relative;
  width: 100%;
  height: 160px;
  background: #f5f7fa;
  overflow: hidden;
}

.gemist-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gemist-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--muted);
  background: linear-gradient(135deg, #f5f7fa, #e8eaed);
}

.gemist-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(179, 18, 18, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: all 0.2s;
}

.gemist-item:hover .gemist-play-overlay {
  background: rgba(179, 18, 18, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.gemist-content {
  padding: 16px;
}

.gemist-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.gemist-title {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.gemist-description {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gemist-date, .gemist-duration {
  font-size: 12px;
  color: var(--muted);
}

/* Platform Badges */
.platform-badge {
  background: #1976d2;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
}

.platform-badge.youtube { background: #ff0000; }
.platform-badge.soundcloud { background: #ff5500; }
.platform-badge.spotify { background: #1db954; }
.platform-badge.vimeo { background: #1ab7ea; }

.type-badge {
  background: #eef1f6;
  color: var(--text);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
}

.type-badge.video {
  background: #e8f4fd;
  color: #1976d2;
}

.type-badge.audio {
  background: #fff3e0;
  color: #f57c00;
}

/* Platform specific play overlay colors */
.gemist-item.youtube .gemist-play-overlay {
  background: rgba(255, 0, 0, 0.9);
}
.gemist-item.youtube:hover .gemist-play-overlay {
  background: rgba(255, 0, 0, 1);
}

.gemist-item.soundcloud .gemist-play-overlay {
  background: rgba(255, 85, 0, 0.9);
}
.gemist-item.soundcloud:hover .gemist-play-overlay {
  background: rgba(255, 85, 0, 1);
}

.gemist-item.spotify .gemist-play-overlay {
  background: rgba(29, 185, 84, 0.9);
}
.gemist-item.spotify:hover .gemist-play-overlay {
  background: rgba(29, 185, 84, 1);
}

.gemist-item.vimeo .gemist-play-overlay {
  background: rgba(26, 183, 234, 0.9);
}
.gemist-item.vimeo:hover .gemist-play-overlay {
  background: rgba(26, 183, 234, 1);
}

/* Mobile responsive */
@media (max-width: 720px) {
  .gemist-grid {
    grid-template-columns: 1fr;
  }
  
  .gemist-thumbnail {
    height: 140px;
  }
  
  .gemist-meta {
    font-size: 11px;
  }
  
  .gemist-title {
    font-size: 15px;
  }
  
  .gemist-description {
    font-size: 13px;
  }
}
/* ===== MISSED PAGE STYLES ===== */
.missed-section {
  margin: 22px 0 38px;
}

/* Filter buttons */
.gemist-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 24px 0;
}

.filter-btn {
  background: #eef1f6;
  color: var(--text);
  border: var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #e6eaf2;
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* Full page grid - more items per row */
.gemist-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Larger cards for full page */
.gemist-grid-full .gemist-item {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.gemist-grid-full .gemist-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.gemist-grid-full .gemist-thumbnail {
  position: relative;
  width: 100%;
  height: 180px;
  background: #f5f7fa;
  overflow: hidden;
}

.gemist-grid-full .gemist-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gemist-grid-full .gemist-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--muted);
  background: linear-gradient(135deg, #f5f7fa, #e8eaed);
}

.gemist-grid-full .gemist-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(179, 18, 18, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  transition: all 0.2s;
}

.gemist-grid-full .gemist-item:hover .gemist-play-overlay {
  background: rgba(179, 18, 18, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.gemist-grid-full .gemist-content {
  padding: 20px;
}

.gemist-grid-full .gemist-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.gemist-grid-full .gemist-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.gemist-grid-full .gemist-description {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Platform specific overlay colors for full page */
.gemist-grid-full .gemist-item.youtube .gemist-play-overlay {
  background: rgba(255, 0, 0, 0.9);
}
.gemist-grid-full .gemist-item.youtube:hover .gemist-play-overlay {
  background: rgba(255, 0, 0, 1);
}

.gemist-grid-full .gemist-item.soundcloud .gemist-play-overlay {
  background: rgba(255, 85, 0, 0.9);
}
.gemist-grid-full .gemist-item.soundcloud:hover .gemist-play-overlay {
  background: rgba(255, 85, 0, 1);
}

.gemist-grid-full .gemist-item.spotify .gemist-play-overlay {
  background: rgba(29, 185, 84, 0.9);
}
.gemist-grid-full .gemist-item.spotify:hover .gemist-play-overlay {
  background: rgba(29, 185, 84, 1);
}

.gemist-grid-full .gemist-item.vimeo .gemist-play-overlay {
  background: rgba(26, 183, 234, 0.9);
}
.gemist-grid-full .gemist-item.vimeo:hover .gemist-play-overlay {
  background: rgba(26, 183, 234, 1);
}

/* Mobile responsive for missed page */
@media (max-width: 768px) {
  .gemist-grid-full {
    grid-template-columns: 1fr;
  }
  
  .gemist-grid-full .gemist-thumbnail {
    height: 160px;
  }
  
  .gemist-filters {
    gap: 6px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .gemist-grid-full .gemist-content {
    padding: 16px;
  }
  
  .gemist-grid-full .gemist-title {
    font-size: 16px;
  }
  
  .gemist-grid-full .gemist-description {
    font-size: 14px;
  }
}
/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
  margin: 22px 0 38px;
}

/* Contact Info Card */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--panel-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-text strong {
  font-weight: 800;
  color: var(--text);
  font-size: 14px;
}

.contact-text span,
.contact-text a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* Social Links */
.social-links h3 {
  font-size: 18px;
  margin: 0 0 12px 0;
  color: var(--text);
}

.social-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-btn.facebook {
  background: #1877f2;
  color: white;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.social-icon {
  font-size: 18px;
  line-height: 1;
}

/* Contact Form Card */
.contact-form-card {
  position: relative;
}

.form-intro {
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.required {
  color: var(--brand);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  background: var(--panel);
  color: var(--text);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(179, 18, 18, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox Group */
.checkbox-group {
  margin: 8px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--brand);
  border-color: var(--brand);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-text {
  font-size: 14px;
  color: var(--muted);
}

.checkbox-text a {
  color: var(--brand);
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent), #b70f0f);
  color: white;
  border: none;
}

.btn-secondary {
  background: var(--panel-2);
  color: var(--text);
  border: var(--border);
}

.btn-secondary:hover {
  background: #e6eaf2;
  filter: none;
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loader-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success and Error Messages */
.success-message,
.error-message {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  margin-top: 20px;
}

.success-message {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  color: #166534;
}

.error-message {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid #fecaca;
  color: #dc2626;
}

.success-icon,
.error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.success-message h3,
.error-message h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
}

.success-message p,
.error-message p {
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.error-message a {
  color: inherit;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
  
  .contact-info,
  .contact-form-card {
    grid-column: 1 / -1;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .social-buttons {
    justify-content: center;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .checkbox-label {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .contact-item {
    padding: 12px;
  }
  
  .contact-icon {
    font-size: 20px;
  }
  
  .social-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .success-message,
  .error-message {
    padding: 24px 16px;
  }
  
  .success-icon,
  .error-icon {
    font-size: 36px;
  }
}
/* ===== GOOGLE CALENDAR INTEGRATION STYLES ===== */

.view-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.view-btn {
  background: #eef1f6;
  color: var(--text);
  border: 1px solid #e1e6ef;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.calendar-container {
  margin: 16px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: var(--border);
}

.calendar-header {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  background: var(--panel);
}

.calendar-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .calendar-wrapper {
    height: 500px;
  }
}
/* Verbeterde News Card Styling */

/* Gehele card klikbaar maken */
.news-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  cursor: pointer; /* Pointer cursor voor hele card */
  text-decoration: none; /* Remove default link styling */
  color: inherit;
  position: relative;
}

/* Hover effect voor hele card */
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: var(--brand);
}

.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #f5f7fa;
  transition: transform 0.2s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-card .pad {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.news-card:hover h3 {
  color: var(--brand);
}

.news-card .meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* Fix voor zichtbaarheid category tags */
.news-card .tag {
  background: var(--brand) !important; /* Gebruik brand kleur */
  color: white !important; /* Witte tekst voor contrast */
  border-radius: 12px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Alternatieve kleuren per categorie */
.news-card .tag.muziek {
  background: #059669 !important; /* Groen voor muziek */
  color: white !important;
}

.news-card .tag.kunst {
  background: #dc2626 !important; /* Rood voor kunst */
  color: white !important;
}

.news-card .tag.theater {
  background: #7c3aed !important; /* Paars voor theater */
  color: white !important;
}

.news-card .tag.cultuur {
  background: var(--brand) !important; /* Brand kleur voor cultuur */
  color: white !important;
}

.news-card .province-badge {
  color: white !important;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card .province-badge.friesland { 
  background: #1e40af !important; 
}

.news-card .province-badge.groningen { 
  background: #059669 !important; 
}

.news-card .province-badge.drenthe { 
  background: #dc2626 !important; 
}

.news-card p {
  margin: 0 0 12px 0;
  color: var(--muted);
  line-height: 1.5;
  flex-grow: 1;
  font-size: 14px;
}

.news-card .news-source {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card .news-source::before {
  content: "📡";
  font-size: 10px;
}

/* Fresh indicator */
.news-card.fresh::after {
  content: "NIEUW";
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444;
  color: white;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 800;
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Remove old link styling */
.news-card a {
  display: none; /* Hide the old "Lees meer" link */
}

/* Grid responsiveness */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-card {
    margin: 0 8px;
  }
  
  .news-card img {
    height: 140px;
  }
}

/* Loading and error states */
#news-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

#news-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

#news-error .btn {
  margin-top: 16px;
}

/* Filter buttons styling */
.view-btn {
  background: #eef1f6;
  color: var(--text);
  border: 1px solid #e1e6ef;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.view-btn:hover:not(.active) {
  background: #e6eaf2;
  transform: translateY(-1px);
}

/* Status indicator */
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-status 2s infinite;
  display: inline-block;
  margin-right: 6px;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}