/*
Theme Name: Classicx FM Theme 03
Theme URI: https://classicxfm.nl
Author: Classicx FM Team
Description: Custom WordPress thema met Veronica-style player sidebar en dynamische ticker subheader.
Version: 3.9
Text Domain: classicxfm
*/

/* =========================================================
   1. THEMA VARIABELEN & RESET
========================================================= */
:root {
  --purple-main: #0D1B4C;
  --purple-dark: #001240;
  --purple-sub: #000a26;
  --bg-gray: #f4f4f6;
  --sidebar-width: 360px;
  --header-height: 70px;
  --subheader-height: 30px;
  --total-header-height: calc(var(--header-height) + var(--subheader-height));
  --wp-admin-bar-height: 0px;
  --xfm-red: #ff007a;
  --xfm-red-hover: #e0006c;

  --bg-color: var(--bg-gray);
  --card-bg: #ffffff;
  --sidebar-bg: #ffffff;
  --text-color: #111111;
  --text-muted: #666666;
  --accent-color: var(--xfm-red);
  --accent-hover: var(--xfm-red-hover);
  --border-color: #e5e5e5;
}

/* WORDPRESS ADMIN BAR DYNAMISCHE HOOGTE */
html.wp-toolbar,
body.admin-bar {
  --wp-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
  html.wp-toolbar,
  body.admin-bar {
    --wp-admin-bar-height: 46px;
  }
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html, body {
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
}


.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 100000;
  background: #ffffff;
  color: var(--purple-main);
  padding: .6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: calc(var(--wp-admin-bar-height) + .5rem); }

/* =========================================================
   2. HOOFDHEADER & SUBHEADER
========================================================= */
/* HOOFDHEADER (70px) */
header.site-header {
  position: fixed;
  top: var(--wp-admin-bar-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--purple-dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 99999;
}

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

header.site-header h1.site-title a { 
  color: #ffffff; 
  text-decoration: none; 
  font-size: 1.8rem; 
  font-weight: 800; 
  letter-spacing: 1px; 
}

.site-logo img,
.custom-logo {
  max-height: 50px;
  width: auto;
  display: block;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-navigation a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-navigation a:hover {
  color: var(--accent-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* SUBHEADER (30px) */
.sub-header {
  position: fixed;
  top: calc(var(--header-height) + var(--wp-admin-bar-height));
  left: 0;
  right: 0;
  height: var(--subheader-height);
  background-color: var(--purple-sub);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  overflow: hidden;
}

.sub-header-content {
  position: relative;
  width: 97%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.ticker-item {
  position: absolute;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: #a0b0d0;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   3. LAYOUT CONTAINER & STRUCTUUR
========================================================= */
.app-container {
  display: block;
  width: 100%;
  min-height: calc(100vh - var(--total-header-height) - var(--wp-admin-bar-height));
  position: relative;
  margin-top: calc(var(--total-header-height) + var(--wp-admin-bar-height));
}

body.admin-bar .app-container {
  margin-top: var(--total-header-height);
}

/* =========================================================
   4. DESKTOP PLAYER-SIDEBAR (VASTGEZET OP SCHERM)
========================================================= */
aside.player-sidebar {
  position: fixed;
  top: calc(var(--total-header-height) + var(--wp-admin-bar-height));
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--total-header-height) - var(--wp-admin-bar-height));
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  z-index: 100;
}

/* Custom Scrollbar voor de Sidebar op Desktop */
aside.player-sidebar::-webkit-scrollbar {
  width: 6px;
}
aside.player-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}
aside.player-sidebar::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* =========================================================
   5. INHOUD & FOOTER (RECHTS VAN SIDEBAR)
========================================================= */
/* style.css - Sectie 5 */
main.site-content {
  margin-left: var(--sidebar-width);
  padding: 2rem;
  box-sizing: border-box;
  display: flow-root;
}

/* Zorg dat blokken binnen de content de volle breedte benutten */
main.site-content .card,
main.site-content > div,
main.site-content > section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.played-tracks-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.cookie-preferences-page {
  width: 100%;
  max-width: 1125px;
  margin: 0 auto 2rem;
  overflow: hidden;
  background: #ffffff;
}

.cookie-preferences-hero {
  position: relative;
  padding: 4rem 3rem 3.5rem;
  background: linear-gradient(110deg, var(--purple-dark), var(--purple-main));
  color: #ffffff;
}

.cookie-preferences-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: 32%; height: 4px; background: var(--accent-color); }

.cookie-preferences-kicker { color: var(--accent-color); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.cookie-preferences-hero h1 { margin: .55rem 0 .7rem; color: #ffffff; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.cookie-preferences-hero p { max-width: 560px; color: #c9d2ed; font-size: 1rem; }
.cookie-preferences-content { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 2rem; padding: 2.75rem 3rem 3rem; background: #ffffff; }
.cookie-preferences-content h2 { margin: 0 0 .7rem; color: var(--purple-main); font-size: 1.4rem; }
.cookie-preferences-content p { color: var(--text-muted); }
.cookie-preferences-button { margin-top: 1.4rem; padding: .8rem 1.1rem; border: 0; border-radius: 5px; background: var(--accent-color); color: #ffffff; font-weight: 800; cursor: pointer; }
.cookie-preferences-button:hover { background: var(--accent-hover); }
.cookie-preferences-status { margin-top: .8rem; font-size: .85rem; }
.cookie-preferences-note { align-self: start; padding: 1.1rem; border-left: 4px solid var(--accent-color); background: #f7f8fc; }
.cookie-preferences-note strong { color: var(--purple-main); }
.cookie-preferences-note p { margin-top: .4rem; font-size: .85rem; }

.author-profile { width: 100%; background: var(--bg-color); }
.author-profile-hero { background: var(--purple-dark); color: #ffffff; }
.author-profile-inner, .author-profile-content { width: min(1125px, calc(100% - 4rem)); margin: 0 auto; }
.author-profile-inner { display: grid; grid-template-columns: 190px minmax(0, 1fr) 170px; align-items: center; gap: 2rem; padding: 2.5rem 0; }
.author-profile-image-wrap { width: 190px; height: 190px; overflow: hidden; border-radius: 50%; border: 4px solid var(--accent-color); background: var(--purple-main); }
.author-profile-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.author-profile-kicker { color: var(--accent-color); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.author-profile-intro h1 { margin: .35rem 0 .25rem; color: #ffffff; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.author-profile-show { margin: 0 0 .8rem; color: #c8d2ef; font-size: 1.05rem; font-weight: 700; }
.author-profile-meta { display: flex; flex-wrap: wrap; gap: .45rem; color: #aeb9d8; font-size: .78rem; }
.author-profile-meta span { padding-right: .45rem; border-right: 1px solid rgba(255,255,255,.25); }
.author-profile-meta span:last-child { border-right: 0; }
.author-profile-action, .author-connect-button { display: inline-block; margin-top: 1rem; padding: .6rem .85rem; border: 0; border-radius: 4px; background: var(--accent-color); color: #ffffff; font-size: .78rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.author-profile-socials { align-self: stretch; padding-left: 1.2rem; border-left: 1px solid rgba(255,255,255,.18); }
.author-profile-socials h2 { margin: 0 0 .8rem; color: #ffffff; font-size: .85rem; text-transform: uppercase; }
.author-profile-socials a { display: block; margin: .45rem 0; color: #d8def0; font-size: .8rem; text-decoration: none; }
.author-profile-content { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr); gap: 1.25rem; padding: 2rem 0 3rem; }
.author-profile-section { padding: 1.35rem; background: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.author-profile-main, .author-profile-side { display: grid; align-content: start; gap: 1.25rem; }
.author-profile-section h2 { margin: 0 0 1rem; color: var(--purple-main); font-size: 1.2rem; }
.author-profile-section h2::before { content: ""; display: inline-block; width: 4px; height: 1em; margin-right: .45rem; vertical-align: -.12em; background: var(--accent-color); }
.author-profile-section p { color: var(--text-muted); }
.author-show-list, .author-archive-list { display: grid; gap: .6rem; }
.author-show-item, .author-archive-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem; border-left: 3px solid var(--accent-color); background: #f7f8fc; color: var(--purple-main); text-decoration: none; }
.author-show-item span, .author-archive-list span { color: var(--text-muted); font-size: .8rem; }
.author-profile-muted { color: var(--text-muted); font-size: .9rem; }
.author-mix-card audio { width: 100%; }
.author-mix-card p { margin-top: .7rem; font-size: .85rem; }
.author-mix-list { display: grid; gap: .45rem; margin-top: 1rem; }
.author-mix-list a { color: var(--accent-color); font-size: .8rem; font-weight: 700; text-decoration: none; }
.author-connect-card strong { display: block; color: var(--accent-color); font-size: 2.2rem; line-height: 1; }
.author-connect-card p { margin-top: .5rem; font-size: .85rem; }
.author-connect-status { display: block; margin-top: .65rem; color: var(--text-muted); font-size: .75rem; }
.author-connect-button.is-connected { background: var(--purple-main); cursor: default; }
.author-profile-empty { margin: 2rem; padding: 3rem; background: #ffffff; }

@media (max-width: 900px) {
  .author-profile-inner, .author-profile-content { width: calc(100% - 2rem); }
  .author-profile-inner { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; }
  .author-profile-image-wrap { width: 110px; height: 110px; }
  .author-profile-socials { grid-column: 1 / -1; padding: 1rem 0 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .author-profile-socials a { display: inline-block; margin-right: .8rem; }
  .author-profile-content { grid-template-columns: 1fr; padding-top: 1rem; }
  .author-show-item, .author-archive-list a { flex-direction: column; gap: .25rem; }
}
.cookie-policy-page { width: 100%; max-width: 1125px; margin: 0 auto 2rem; overflow: hidden; background: #ffffff; }
.cookie-policy-content { padding: 2.75rem 3rem 3rem; }
.cookie-policy-updated { color: var(--text-muted); font-size: .8rem; }
.cookie-policy-content h2 { margin: 2rem 0 .65rem; color: var(--purple-main); font-size: 1.35rem; }
.cookie-policy-content h2:first-of-type { margin-top: 1rem; }
.cookie-policy-content h3 { margin: 1.25rem 0 .45rem; color: var(--purple-main); font-size: 1rem; }
.cookie-policy-content p { max-width: 760px; color: var(--text-muted); }
.cookie-policy-content a { color: var(--accent-color); font-weight: 700; }
.cookie-policy-table-wrap { margin-top: 1rem; overflow-x: auto; }
.cookie-policy-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .85rem; }
.cookie-policy-table th, .cookie-policy-table td { padding: .75rem; border: 1px solid var(--border-color); text-align: left; }
.cookie-policy-table th { background: #f7f8fc; color: var(--purple-main); }

.cookie-preferences-page h2::before, .cookie-policy-page h2::before { content: ""; display: inline-block; width: 4px; height: 1em; margin-right: .45rem; vertical-align: -.12em; background: var(--accent-color); }

.classicxfm-cookie-banner { position: fixed; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; z-index: 100001; padding: 1.2rem 1.35rem; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: #071538; color: #ffffff; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.classicxfm-cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 1125px; margin: 0 auto; }
.classicxfm-cookie-banner h2, .classicxfm-cookie-modal h2 { margin: .25rem 0 .35rem; color: #ffffff; font-size: 1.1rem; }
.classicxfm-cookie-banner p { margin: 0; max-width: 680px; color: #d8def0; font-size: .82rem; }
.classicxfm-cookie-kicker { color: var(--accent-color) !important; font-size: .65rem !important; font-weight: 900; letter-spacing: .12em; }
.classicxfm-cookie-actions, .classicxfm-cookie-modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.classicxfm-cookie-button { padding: .65rem .85rem; border: 0; border-radius: 4px; background: var(--accent-color); color: #ffffff; font-size: .78rem; font-weight: 800; cursor: pointer; }
.classicxfm-cookie-button:hover { background: var(--accent-hover); }
.classicxfm-cookie-button-secondary { border: 1px solid rgba(255,255,255,.35); background: transparent; }
.classicxfm-cookie-button-secondary:hover { background: rgba(255,255,255,.1); }
.classicxfm-cookie-modal { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.62); }
.classicxfm-cookie-modal[hidden], .classicxfm-cookie-banner[hidden] { display: none; }
.classicxfm-cookie-modal-panel { position: relative; width: min(100%, 520px); padding: 2rem; border-radius: 8px; background: #ffffff; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.classicxfm-cookie-modal-panel h2 { color: var(--purple-main); }
.classicxfm-cookie-modal-intro { color: var(--text-muted); font-size: .88rem; }
.classicxfm-cookie-modal-close { position: absolute; top: .7rem; right: .8rem; border: 0; background: none; color: var(--text-muted); font-size: 1.6rem; cursor: pointer; }
.classicxfm-cookie-choice { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; padding: .85rem; border: 1px solid var(--border-color); border-radius: 5px; }
.classicxfm-cookie-choice strong, .classicxfm-cookie-choice small { display: block; }
.classicxfm-cookie-choice small { margin-top: .2rem; color: var(--text-muted); font-size: .76rem; }
.classicxfm-cookie-choice input { width: 18px; height: 18px; accent-color: var(--accent-color); }
.classicxfm-cookie-modal-actions { margin-top: 1.25rem; }

@media (max-width: 700px) {
  .classicxfm-cookie-banner-inner { align-items: stretch; flex-direction: column; }
  .classicxfm-cookie-actions, .classicxfm-cookie-modal-actions { justify-content: flex-start; }
  .classicxfm-cookie-button { flex: 1 1 auto; }
}

.history-hero {
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  margin: 0 0 2rem;
  padding: 2.5rem 3rem;
  background: #17181d;
  color: #ffffff;
}

.history-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 62%;
}

.history-live-badge { display: inline-block; margin-bottom: .7rem; padding: .3rem .65rem; border-radius: 999px; background: var(--accent-color); font-size: .65rem; font-weight: 900; }
.history-hero h1 { margin: 0; color: #ffffff; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; }
.history-hero p { margin: .45rem 0 0; color: var(--accent-color); font-weight: 700; }
.history-hero img {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .9;
  mask-image: linear-gradient(to right, transparent 0%, #000 28%);
}

.played-tracks-heading {
  margin-bottom: 1.5rem;
}

.played-tracks-heading h1 {
  margin: 0 0 .5rem;
  color: var(--purple-main);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.played-tracks-heading h1::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 1em;
  margin-right: .55rem;
  vertical-align: -.12em;
  background: var(--accent-color);
}

.played-tracks-heading p {
  margin: 0;
  color: var(--text-muted);
}

.played-tracks-content {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.radiodj-history-list { display: grid; gap: .65rem; }

.radiodj-history-track {
  display: grid;
  grid-template-columns: 4rem 42px minmax(0, 1fr) minmax(8rem, auto);
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.radiodj-history-track time { color: var(--accent-color); font-weight: 800; }
.track-cover-img { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; }
.radiodj-history-track strong,
.radiodj-history-track span { display: block; }
.radiodj-history-track span,
.radiodj-history-track small { color: var(--text-muted); font-size: .85rem; }

@media (max-width: 600px) {
  .history-hero { min-height: 330px; margin: 0 0 1.5rem; padding: 1.25rem; }
  .history-hero-copy { max-width: 100%; justify-content: flex-start; padding-top: 1rem; }
  .history-hero img { top: auto; bottom: 0; width: 100%; height: 58%; mask-image: linear-gradient(to bottom, transparent 0%, #000 32%); }
  .radiodj-history-track { grid-template-columns: 3rem 36px minmax(0, 1fr); gap: .65rem; }
  .radiodj-history-track small { grid-column: 3; }
}

@media (max-width: 900px) {
  .played-tracks-content { padding: 1rem; }
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card h2 {
  margin-bottom: 0.8rem;
}

.card h2 a {
  color: var(--purple-main);
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--accent-color);
}

footer.site-footer {
  position: relative;
  clear: both;
  z-index: 1;
  margin-left: var(--sidebar-width);
  padding: 2.75rem 2rem 1.1rem;
  color: #ffffff;
  font-size: 0.9rem;
  background: #07186b;
  width: calc(100% - var(--sidebar-width));
  box-sizing: border-box;
}

.footer-inner,
.footer-bottom { max-width: 1125px; margin: 0 auto; }
.footer-inner { display: grid; grid-template-columns: minmax(260px, 1.45fr) repeat(2, minmax(180px, 1fr)); gap: 3.25rem; }
.footer-brand h2 { margin: .8rem 0 .55rem; color: #ffffff; font-size: 1.7rem; }
.footer-logo { display: block; width: auto; max-width: 150px; max-height: 48px; margin-bottom: .9rem; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 290px; color: #ffffff; }
.footer-kicker { color: #ffffff; font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.footer-social-title { margin-top: 3.4rem !important; margin-bottom: .8rem !important; }
.footer-column h3 { margin: .15rem 0 1rem; color: #ffffff; font-size: .9rem; font-weight: 800; }
.footer-link-list { list-style: none; margin: 0; padding: 0; }
.footer-link-list li { margin: 0 0 .72rem; }
.footer-link-list a { color: #ffffff; text-decoration: none; transition: opacity .2s ease; }
.footer-link-list a:hover { opacity: .7; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-social-link { display: flex !important; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 !important; border-radius: 50%; background: var(--accent-color); color: #ffffff !important; font-size: 1.05rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.footer-social-link:hover { background: var(--accent-hover); transform: translateY(-3px) !important; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 3.5rem; padding-top: 1.1rem; border-top: 1px solid var(--accent-color); color: #ffffff; font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-legal-links .footer-link-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.25rem; }
.footer-legal-links .footer-link-list li { margin: 0; }
.footer-legal-links .footer-link-list a { white-space: nowrap; }

/* =========================================================
   6. SIDEBAR INTERNE ELEMENTEN (TABS, PLAYER, ETC.)
========================================================= */
.v-tabs {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
  gap: 1.5rem;
}

.v-tab {
  background: none;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  color: #888888;
  padding-bottom: 0.5rem;
  cursor: pointer;
}

.v-tab.active {
  color: var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
}

.dj-card { text-align: center; }

.dj-image-wrapper {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.dj-subname {
  font-size: 0.8rem;
  color: #888888;
  display: block;
}

.dj-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-color);
  line-height: 1.1;
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0.5rem 0;
}

.action-btn, 
a.action-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  text-decoration: none;
}

.action-btn .icon { font-size: 1.2rem; }
.action-btn .label { font-size: 0.75rem; color: #444444; font-weight: 600; }

.play-btn-main {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 0, 122, 0.3);
  transition: transform 0.2s, background-color 0.2s;
}

.play-btn-main:hover { 
  transform: scale(1.05); 
  background-color: var(--accent-hover);
}

.mobile-track-info { display: none; }

.volume-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0;
}

.volume-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.3rem;
}

.volume-popup {
  display: none;
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 0.8rem 0.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  z-index: 100;
}

.volume-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

#volumeRange {
  accent-color: var(--accent-color);
  cursor: pointer;
  writing-mode: vertical-lr;
  direction: rtl;
  width: 8px;
  height: 90px;
}

.playlist-history h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.time-label {
  font-size: 0.75rem;
  color: #888888;
  width: 35px;
  font-weight: 600;
}

.time-label.nu {
  color: var(--accent-color);
  font-weight: 800;
}

.cover-box {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
}

.track-details strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.track-details small { color: #666666; font-size: 0.8rem; }

/* =========================================================
   7. MOBIEL (MAX-WIDTH: 900PX)
========================================================= */
@media (max-width: 900px) {
  .app-container {
    display: block;
  }

  main.site-content {
    margin-left: 0;
    width: 100%;
    padding: 1rem;
    margin-bottom: 90px;
  }

  footer.site-footer {
    margin-left: 0;
    width: 100%;
    margin-bottom: 90px;
    padding: 2.5rem 1rem 1rem;
  }

  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social-title { margin-top: 2rem !important; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .footer-legal-links .footer-link-list { justify-content: flex-start; gap: .5rem 1rem; }
  .footer-legal-links .footer-link-list a { white-space: normal; }

  .cookie-preferences-content, .cookie-policy-content { padding: 1.5rem; }

  .ticker-item {
    font-size: 0.75rem;
  }

  aside.player-sidebar {
    position: fixed;
    bottom: 15px;
    top: auto;
    left: 15px;
    right: 15px;
    width: auto;
    height: auto;
    max-height: none;
    z-index: 99999;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    
    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;
    gap: 0.8rem;
    overflow: visible;
  }

  /* VERBERGEN OP MOBIEL */
  .v-tabs, 
  .action-btn, 
  .playlist-history, 
  .dj-subname,
  .volume-wrapper {
    display: none;
  }

  .dj-card { display: contents; }
  
  .dj-image-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    margin: 0;
  }

  .dj-meta { text-align: left; }
  .dj-title { font-size: 1.1rem; font-weight: 800; }

  .mobile-track-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #666666;
    grid-column: 2;
  }

  .player-controls-row { margin: 0; }
  
  .play-btn-main {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  /* MOBIELE NAVIGATIE OVERLAY */
  .mobile-menu-toggle { display: block; }
  
  .main-navigation {
    display: none;
    position: fixed;
    top: calc(var(--total-header-height) + var(--wp-admin-bar-height));
    left: 0;
    right: 0;
    background-color: var(--purple-dark);
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 99997;
  }

  .main-navigation.open { 
    display: block; 
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Compacte desktop- en laptoplayout */
@media (min-width: 901px) and (max-width: 1180px) {
  :root { --sidebar-width: 280px; }

  main.site-content { padding: 1.25rem; }
  footer.site-footer { padding-left: 1.25rem; padding-right: 1.25rem; }

  header.site-header { padding-left: 1.25rem; padding-right: 1.25rem; }
  .main-navigation ul { gap: .9rem; }
}

/* Afgespeelde nummers: Last.fm-style layout */
.now-playing-hero-lastfm {
  width: calc(100% + 4rem);
  min-height: 300px;
  margin: -2rem -2rem 0;
  overflow: hidden;
  background: #17181d;
  color: #ffffff;
}

.hero-inner-lastfm {
  min-height: 300px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 43%;
}

.hero-main-details {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 3rem;
}

.history-live-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .45rem;
  margin-bottom: 1rem;
  padding: .38rem .75rem;
  border: 1px solid rgba(255, 0, 122, .7);
  border-radius: 999px;
  background: rgba(255, 0, 122, .12);
  color: #ffffff;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(255, 0, 122, .15);
}

.hero-track-title {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: .98;
}

.hero-track-artist {
  margin: .7rem 0 1.6rem;
  color: var(--accent-color);
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-extra-meta { display: flex; }

.meta-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .75rem .5rem .5rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
}

.meta-thumb-img { width: 42px; height: 42px; border-radius: 4px; object-fit: cover; }
.meta-text { display: flex; flex-direction: column; gap: .15rem; }
.meta-label { color: #aab0bf; font-size: .65rem; text-transform: uppercase; }
.meta-value { color: #ffffff; font-size: .78rem; font-weight: 800; }

.hero-visual-side { position: relative; min-width: 0; }
.hero-cover-backdrop { position: absolute; inset: 0; }
.hero-large-img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-fade-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #17181d 0%, rgba(23, 24, 29, .82) 8%, transparent 55%); }

.history-main-inner { padding: 2rem 0 0; }
.history-content-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .7fr); gap: 1.5rem; }
.history-container, .requests-container { min-width: 0; }
.history-section-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.history-section-header h2 { margin: 0; color: var(--purple-main); font-size: 1.35rem; font-weight: 900; }
.history-refresh, .request-link { border: 0; border-radius: 4px; background: var(--purple-main); color: #ffffff; padding: .45rem .7rem; font-size: .72rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.request-link { background: var(--accent-color); }
.history-table-wrapper { overflow: hidden; border-radius: 8px; background: #101827; }
.history-table { width: 100%; border-collapse: collapse; color: #ffffff; }
.history-table th { padding: .75rem 1rem; background: #202b3c; color: #aeb7c7; font-size: .68rem; text-align: left; text-transform: uppercase; }
.history-table td { padding: .7rem 1rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; }
.history-table .col-time { width: 70px; color: var(--accent-color); font-weight: 900; }
.history-table .col-cover { width: 54px; padding-right: 0; }
.history-table .col-artist { color: #9ca6b7; }
.track-cover-img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; }
.requests-card-wrapper { min-height: 130px; padding: .7rem; border-radius: 8px; background: #202b3c; }
.requests-list { margin: 0; padding: 0; list-style: none; }
.request-item { display: flex; flex-direction: column; gap: .2rem; padding: .7rem .5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #ffffff; font-size: .78rem; }
.request-item span { color: #aab0bf; font-size: .72rem; }
.placeholder-item { align-items: center; justify-content: center; min-height: 100px; color: #aab0bf; }

@media (max-width: 900px) {
  .now-playing-hero-lastfm { width: calc(100% + 2rem); margin: -1rem -1rem 0; }
  .hero-inner-lastfm { min-height: 410px; display: block; }
  .hero-main-details { min-height: 410px; justify-content: flex-start; padding: 1.5rem; }
  .hero-track-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-visual-side { position: absolute; inset: auto 0 0; height: 58%; }
  .hero-fade-overlay { background: linear-gradient(0deg, #17181d 0%, rgba(23, 24, 29, .55) 45%, transparent 100%); }
  .history-main-inner { padding-top: 1.5rem; }
  .history-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .history-section-header { align-items: flex-start; flex-direction: column; }
  .history-table th, .history-table td { padding: .65rem .55rem; }
  .history-table .col-artist { display: none; }
}