/* ======================================================
   STUDIO NATHALSTEAM — HOOFDSTIJLEN
====================================================== */

:root {
    --gold: #ffcc00;
    --cream: #E5D3BA;
    --bg-dark: #000;
    --panel-bg: rgba(42, 42, 42, .9);

    --title-grad-top: #1ea0ff;
    --title-grad-btm: #0a66c2;

    --ptb-min-h: 64px;
    --ptb-pad-x: 22px;
    --ptb-radius: 8px;
    --ptb-logo-h: 60px;

    --dot-size: 14px;
    --dot-gap: 10px;
}

/* ======================================================
   RESET & BASIS
====================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: url("/assets/img/nathalsteam.png") no-repeat center center fixed;
    background-size: cover;
    background-color: var(--bg-dark);
    color: var(--cream);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 0;
}

.site-header,
.persistent-player,
.container,
footer {
    position: relative;
    z-index: 1;
}

.accent {
    color: var(--gold);
}

h1,
h2,
h3,
h4,
h5 {
    color: #fff;
    text-shadow: 1px 1px 4px #000;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color .25s, text-decoration-color .25s, opacity .25s;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ======================================================
   HEADER + NAVIGATIE (GECENTREERD)
====================================================== */

.site-header {
    background: rgba(0, 0, 0, .65);
    border-bottom: 3px solid var(--gold);
    min-height: 120px;
    padding: 20px;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-header>* {
    margin-left: auto;
    margin-right: auto;
}

.site-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, .9);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.main-nav {
    margin-top: 15px;
    width: 100%;
    max-width: 720px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.main-nav ul li {
    display: flex;
}

.main-nav ul li a {
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    font-weight: 700;
    transition: background .3s, color .3s, transform .2s;
    text-align: center;
    width: 100%;
}

.main-nav ul li a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
}

/* ======================================================
   PERSISTENT PLAYER
====================================================== */

.persistent-player {
    width: 100%;
    max-width: 100vw;
    margin: 15px auto 0;
    padding-inline: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.persistent-player iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 110px;
    border: none;
    border-radius: 8px;
    margin: 0 auto;
}

/* ======================================================
   LAYOUT GRID
====================================================== */

.container {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    grid-template-rows: auto 1fr;
    gap: 20px;
    margin: 20px;
    align-items: start;
    grid-auto-flow: dense;
    width: auto;
}

.sidebar-left {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
}

.sidebar-right {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: start;
}

/* ======================================================
   PAGE TITLE BAR
====================================================== */

.page-titlebar {
    display: none;
}

.container>.page-titlebar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    column-gap: clamp(24px, 6vw, 120px);
    padding: 12px var(--ptb-pad-x);
    min-height: var(--ptb-min-h);
    border-radius: var(--ptb-radius);
    background: linear-gradient(180deg, var(--title-grad-top) 0%, var(--title-grad-btm) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

.container>.page-titlebar h2 {
    grid-column: 2;
    margin: 0;
    text-align: center;
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.15;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.container>.page-titlebar .ptb-logo {
    height: var(--ptb-logo-h);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
    transition: transform .18s ease;
}

.container>.page-titlebar .ptb-logo:hover {
    transform: scale(1.05);
}

.container>.page-titlebar .ptb-logo--left {
    grid-column: 1;
    justify-self: start;
}

.container>.page-titlebar .ptb-logo--right {
    grid-column: 3;
    justify-self: end;
}

/* ======================================================
   CONTENT + BANNERS
====================================================== */

.content {
    grid-column: 2;
    grid-row: 2;
    padding: 20px;
    background: var(--panel-bg);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .6);
    color: var(--cream);
    position: relative;
    margin: 0 !important;
}

.content,
.content>*:first-child,
.chat-section {
    margin-top: 0 !important;
}

/* iframes & afbeeldingen binnen content */

.content iframe {
    display: block;
    max-width: 100%;
    border: none;
}

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

/* Algemene banner wrapper (oude) */

.banner-wrap {
    margin-top: 14px;
    text-align: center;
}

.banner-wrap iframe,
.banner-wrap img {
    margin-left: auto;
    margin-right: auto;
}

/* STEM-BANNERS (RadioTop50 + MuziekTop50) */

.vote-banners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* desktop: kleine ruimte naast elkaar */
    margin: 10px 0 0;
}

.vote-banner-item {
    flex: 1 1 320px;
    max-width: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.vote-banner-item iframe,
.vote-banner-item img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    margin: 0;
    padding: 0;
}

/* ======================================================
   SIDEBARS & WIDGETS
====================================================== */

.sidebar {
    min-width: 260px;
}

.sidebar iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: none;
    border-radius: 8px;
}

.sidebar img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.widget {
    background: #2a2a2a;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, .5);
}

.widget h3 {
    font-size: 1.2rem;
    margin: 0;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #0059b3, #0099ff);
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .7);
}

.widget h3 span {
    flex: 1;
    font-weight: 700;
}

.widget h3::after {
    content: "";
    width: 120px;
    height: 70px;
    background: url("/assets/img/widget-nathalsteam.png") no-repeat center;
    background-size: contain;
    margin-left: 10px;
}

.widget>*:not(h3) {
    padding: 15px;
}

.sidebar-left .widget h3 {
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
    padding-left: 10px;
}

.sidebar-left .widget h3 span {
    flex: initial;
}

.sidebar-left .widget h3::before {
    content: "";
    width: 120px;
    height: 70px;
    display: inline-block;
    margin-right: 8px;
    background: url("/assets/img/widget-nathalsteam.png") no-repeat left center;
    background-size: contain;
}

.sidebar-left .widget h3::after {
    content: none !important;
}

.weer-link {
    display: block;
    padding: 0;
}

.buienradar {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 8px 8px;
}

/* ======================================================
   STUDIO CAM
====================================================== */

.studio-cam-widget .video-stream {
    position: relative;
    background: transparent;
    padding: 12px;
    border-radius: 8px;
}

.studio-cam {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

/* iframe zelf: vult de volledige box */
.studio-cam iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
    border-radius: 8px;
}

.studio-cam-widget small {
    display: block;
    margin: 12px 8px 6px;
    padding: 0;
    color: var(--cream);
    opacity: .95;
    text-align: center;
    line-height: 1.5;
}

/* ======================================================
   PROGRAMMA / BADGES
====================================================== */

.external-platform-card {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.badge-in-review {
    position: absolute;
    top: 18px;
    right: -8px;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 6px;
    transform: rotate(45deg);
    white-space: nowrap;
    z-index: 10;
}

.live-badge {
    background: #e60000;
    color: #fff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .85rem;
    box-shadow: 0 0 6px rgba(230, 0, 0, .7);
}

.nonstop-badge {
    background: linear-gradient(145deg, var(--gold), #e6b800);
    color: #000;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .85rem;
    box-shadow: 0 0 6px rgba(255, 204, 0, .6);
}

/* Programma vandaag */

.program-today-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.program-today-box .program-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 8px;
}

.program-today-box .program-item:last-child {
    border-bottom: none;
}

.program-today-box .tijd {
    font-weight: 800;
    color: #fff;
    min-width: 130px;
    white-space: nowrap;
}

.program-today-box .dj {
    flex: 1;
    color: var(--cream);
    padding-right: calc(var(--dot-size) + var(--dot-gap) + 6px);
}

.program-today-box .program-item.current.live {
    background: linear-gradient(180deg, rgba(255, 0, 0, .12), rgba(255, 0, 0, .08));
    border-left: 4px solid #e60000;
}

.program-today-box .program-item.current.nonstop {
    background: linear-gradient(180deg, rgba(255, 204, 0, .12), rgba(255, 204, 0, .08));
    border-left: 4px solid var(--gold);
}

.program-today-box .status-dot {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: var(--dot-size);
    height: var(--dot-size);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    line-height: 0;
    box-shadow: 0 0 8px currentColor;
    overflow: hidden;
    text-indent: -9999px;
}

.program-today-box .status-dot.live {
    background: #17bf6e;
    color: #17bf6e;
    animation: dot-blink 1s infinite ease-in-out;
}

.program-today-box .status-dot.nonstop {
    background: #e63b3b;
    color: #e63b3b;
    animation: dot-blink 1.15s infinite.ease-in-out;
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: .55;
        transform: translateY(-50%) scale(.88);
    }
}

@media (prefers-reduced-motion: reduce) {

    .program-today-box .status-dot.live,
    .program-today-box .status-dot.nonstop {
        animation: none;
    }
}

.program-today-box .status-dot::after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    top: -34px;
    transform: translateX(-50%) scale(.96);
    background: rgba(0, 0, 0, .9);
    color: #fff;
    font-weight: 800;
    font-size: .7rem;
    letter-spacing: .3px;
    padding: 6px 8px;
    border-radius: 999px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

.program-today-box .status-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, .9);
    opacity: 0;
    transition: opacity .18s;
}

.program-today-box .status-dot:hover::after,
.program-today-box .status-dot:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.program-today-box .status-dot:hover::before,
.program-today-box .status-dot:focus-visible::before {
    opacity: 1;
}

/* Volledig programma */

.program-day {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(42, 42, 42, .85);
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, .6);
    transition: transform .3s ease, box-shadow .3s ease;
}

.program-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 204, 0, .4);
}

.program-day h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--gold);
    text-shadow: 1px 1px 4px #000;
    border-bottom: 2px solid rgba(255, 204, 0, .5);
    padding-bottom: 5px;
}

.program-day ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.program-day .program-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.program-day .program-item:last-child {
    border-bottom: none;
}

.program-day .tijd {
    font-weight: 700;
    color: #fff;
    min-width: 95px;
    flex-shrink: 0;
    white-space: nowrap;
}

.program-day .dj {
    flex: 1;
    color: var(--cream);
    font-size: .95rem;
}

.program-day .live-badge,
.program-day .nonstop-badge {
    margin-left: 8px;
    flex-shrink: 0;
}

.program-day.today-highlight {
    border-left: 5px solid var(--gold);
    background: rgba(255, 204, 0, .08);
}

/* ======================================================
   NOW PLAYING
====================================================== */

.nowplaying-box {
    padding: 12px;
    font-size: .95rem;
    color: var(--cream);
}

.nowplaying-box .np-row {
    margin: 4px 0;
}

.np-ticker {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    vertical-align: middle;
}

.np-ticker__track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    padding-left: 100%;
    animation: np-marquee var(--np-speed, 14s) linear infinite;
}

@keyframes np-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-ticker__track {
        animation: none;
        padding-left: 0;
    }
}

.np-refresh {
    margin-top: 10px;
    font-size: .8rem;
    color: #aaa;
    text-align: right;
}

/* ======================================================
   CHATBOX WIDGET (NATHALS CAFÉ)
====================================================== */

.chatbox-widget {
    background: #2a2a2a;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    text-align: center;
    box-shadow: 0 0 12px rgba(0, 0, 0, .5);
}

.chatbox-widget p {
    padding: 10px 15px;
}

.chatbox-widget .chatbox-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.chatbox-widget img {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
    margin: 12px auto;
}

/* ======================================================
   SOCIAL
====================================================== */

.social-media-widget img,
.social-media-widget .social-links img {
    width: 55px !important;
    height: 55px !important;
    object-fit: contain;
    border-radius: 8px;
}

.social-media-widget .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 15px;
}

/* ======================================================
   TEAM & PARTNERS
====================================================== */

.team-grid,
.partners-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 10px;
}

.team-member {
    background: rgba(42, 42, 42, .9);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, .6);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
}

.team-member img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    display: block;
    transition: transform .4s ease;
}

.team-member h4 {
    margin: 5px 0;
    font-weight: 700;
    color: #fff;
}

.team-function {
    font-size: .9rem;
    color: var(--cream);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 204, 0, .5);
}

.team-member:hover img {
    transform: scale(1.05);
}

.partner-item {
    background: rgba(42, 42, 42, .9);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, .6);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.partner-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform .4s ease;
}

.partner-item:hover img {
    transform: scale(1.5);
}

.partner-item p.partner-name {
    margin-top: 8px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--cream);
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    padding: 0 5px;
    background: rgba(0, 0, 0, .6);
    word-wrap: break-word;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.partner-item a {
    color: var(--cream);
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .5);
}

/* ======================================================
   FOOTER
====================================================== */

footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, .85);
    border-top: 3px solid var(--gold);
    margin-top: 20px;
    color: var(--cream);
}

/* ======================================================
   DJ DISPLAY
====================================================== */

.dj-display-widget {
    text-align: center;
}

.dj-display-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.dj-display-frame iframe {
    width: 150px;
    height: 150px;
    border: none;
    border-radius: 8px;
    background: #111;
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
    transition: transform .3s ease, box-shadow .3s ease;
}

.dj-display-frame iframe:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 204, 0, .6);
}

/* ======================================================
   LUISTERLINKS
====================================================== */

.listen-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 15px;
    justify-items: center;
    align-items: center;
    margin: 20px 0;
}

.listen-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    position: relative;
    transition: transform .2s ease;
}

.listen-links a img {
    width: 56px;
    height: 56px;
    transition: transform .2s ease, filter .2s ease;
}

.listen-links a:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.listen-links a span {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .3s ease, max-height .3s ease;
}

.listen-links a:hover span {
    opacity: 1;
    max-height: 20px;
    margin-top: 5px;
}

/* ======================================================
   DJ GEZOCHT
====================================================== */

.dj-apply-wrap {
    max-width: 100%;
    margin: 0 auto;
}

.dj-apply-intro {
    margin-bottom: 16px;
    opacity: .95;
}

.dj-apply-card {
    background: var(--panel-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
}

.dj-apply-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
}

.dj-apply-form {
    display: grid;
    gap: 14px;
}

.dj-apply-form label {
    display: block;
    font-size: 14px;
    margin: 0 0 6px;
    color: #f2e9d8;
}

.dj-apply-form input,
.dj-apply-form select,
.dj-apply-form textarea {
    width: 100%;
    background: #0d0d0d;
    color: var(--cream);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

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

.dj-apply-form input:focus,
.dj-apply-form select:focus,
.dj-apply-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, .12);
}

@media (min-width: 900px) {
    .dj-apply-form .inline-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.dj-apply-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dj-btn {
    appearance: none;
    border: 1px solid #3a3a3a;
    background: #161616;
    color: var(--cream);
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.dj-btn:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
}

.dj-btn-primary {
    background: linear-gradient(180deg, #1a1a1a, #141414);
    border-color: var(--gold);
    box-shadow: 0 6px 16px rgba(255, 204, 0, .08);
}

.dj-help {
    font-size: 13px;
    opacity: .85;
}

.dj-apply-form fieldset.dj-slots-wrap {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    background: transparent;
    box-shadow: none;
}

.dj-apply-form legend {
    display: block;
    font-size: 14px;
    margin: 0 0 6px;
    color: #f2e9d8;
}

.sr-only {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dj-slots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dj-day {
    border: 1px solid #212121;
    border-radius: 12px;
    background: rgba(0, 0, 0, .25);
    overflow: hidden;
}

.dj-day>summary.dj-day-head {
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    column-gap: 10px;
    background: rgba(0, 0, 0, .25);
    font-weight: 800;
    color: #fff;
}

.dj-day>summary.dj-day-head::-webkit-details-marker {
    display: none;
}

.dj-day>summary.dj-day-head .badge-mini {
    order: 3;
    margin-left: auto;
}

.dj-day>summary.dj-day-head::after {
    content: "▾";
    order: 4;
    margin-left: 6px;
    transition: transform .18s;
    opacity: .85;
}

.dj-day[open]>summary.dj-day-head::after {
    transform: rotate(180deg);
}

.badge-mini {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--gold), #e6b800);
    color: #000;
    font-weight: 800;
    font-size: .75rem;
    box-shadow: 0 0 6px rgba(255, 204, 0, .35);
}

.dj-slot-list {
    padding: 10px 12px 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.dj-slot {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #0b0b0b;
    border: 1px solid #1c1c1c;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .05s;
}

.dj-slot input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--gold);
    margin-right: 6px;
}

.dj-slot span {
    line-height: 1.25;
}

.dj-slot:hover {
    background: #111;
    border-color: #2a2a2a;
}

.dj-slot.unavailable {
    opacity: .6;
    cursor: not-allowed;
    background: rgba(0, 0, 0, .18);
    border-color: #222;
}

.dj-slot.unavailable input {
    pointer-events: none;
}

.dj-slot.unavailable span {
    color: #bdbdbd;
}

.dj-slot.unavailable span::after {
    content: " — bezet";
    font-weight: 700;
    margin-left: 6px;
}

.dj-notice {
    font-size: 14px;
    padding: 10px 12px;
    border: 1px dashed #3a3a3a;
    border-radius: 10px;
    background: #0e0e0e;
}

.dj-status-ok {
    color: #b3f5b3;
}

.dj-status-warn {
    color: #ffb2b2;
}

@media (max-width: 768px) {
    .dj-apply-grid {
        gap: 14px;
        padding: 14px;
    }

    .dj-slot-list {
        grid-template-columns: 1fr;
    }

    .dj-slot {
        padding: 10px 12px;
        gap: 12px;
    }
}

/* ======================================================
   ERROR PAGINA'S
====================================================== */

.content.content--narrow {
    display: grid;
    place-items: center;
}

.error-page {
    width: 100%;
    max-width: 720px;
    margin: 24px auto;
    padding: 28px 22px;
    background: var(--panel-bg);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, .6);
    text-align: center;
    color: var(--cream);
}

.error-page h1 {
    margin: 0 0 10px;
    color: --gold;
    text-shadow: 1px 1px 4px #000;
    font-size: clamp(22px, 3.4vw, 30px);
}

.error-page p {
    margin: 8px 0;
}

.error-page .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, #0059b3, #0099ff);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.error-page .btn:hover {
    filter: brightness(1.1);
}

/* ======================================================
   RESPONSIVE LAYOUT
====================================================== */

@media (max-width: 1200px) {
    .container {
        grid-template-columns: 220px 1fr 220px;
    }
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        margin: 15px;
        gap: 18px;
    }

    .sidebar-left,
    .sidebar-right {
        grid-column: auto;
        grid-row: auto;
    }

    .sidebar {
        margin-top: 20px;
        min-width: 0;
        width: 100%;
    }

    .container>.page-titlebar,
    .content {
        grid-column: 1;
        grid-row: auto;
    }

    :root {
        --ptb-min-h: 60px;
        --ptb-pad-x: 18px;
        --ptb-logo-h: 48px;
    }
}

@media (max-width: 900px) {
    .content {
        padding: 18px 16px;
    }

    .widget {
        margin-bottom: 16px;
    }

    .chatbox-widget {
        margin-inline: 0;
    }
}

/* MOBIEL / TABLET SPECIFIEK */

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-position: center top;
    }

    .site-header {
        padding: 16px 12px;
    }

    .site-title {
        font-size: 2rem;
        margin-bottom: 6px;
    }

    .container {
        gap: 16px;
    }

    .content {
        padding: 16px 12px;
    }

    .sidebar-left,
    .sidebar-right {
        margin-top: 10px;
    }

    .dj-apply-card {
        border-radius: 10px;
    }

    .widget h3 {
        font-size: 1rem;
    }

    .program-day h2 {
        font-size: 1.2rem;
    }

    .np-ticker {
        max-width: 100%;
    }

    :root {
        --dot-size: 12px;
    }

    .program-today-box .program-item,
    .program-day .program-item {
        flex-wrap: wrap;
    }

    .program-today-box .tijd,
    .program-day .tijd {
        min-width: auto;
    }

    .persistent-player iframe {
        height: 100px;
    }

    /* STEM-BANNERS OP MOBIEL: STRAK ONDER ELKAAR */
    .vote-banners {
        flex-direction: column;
        align-items: center;
        gap: 0;
        /* echt geen ruimte ertussen */
        margin: 8px 0 0;
    }

    .vote-banner-item {
        width: 100%;
        max-width: 468px;
        margin: 0;
        padding: 0;
    }

    .vote-banner-item iframe[data-code="c98fd0de3b2d7d845fa1"] {
        height: 100px !important;
        /* exact formaat van de mobiele banner */
        max-height: 100px !important;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    .vote-banner-item img {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        display: block;
    }
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
    }

    :root {
        --ptb-min-h: 56px;
        --ptb-pad-x: 14px;
        --ptb-logo-h: 38px;
    }

    .container>.page-titlebar {
        border-radius: 6px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .container>.page-titlebar h2 {
        font-size: clamp(18px, 5vw, 22px);
        white-space: normal;
    }

    .partner-item {
        height: auto;
    }

    .partner-item img {
        height: 100px;
    }

    footer {
        padding: 12px 8px;
        font-size: .9rem;
    }
}

@media (max-width: 480px) {
    .dj-display-frame iframe {
        width: 150px;
        height: 150px;
    }

    .social-media-widget .social-links {
        gap: 8px;
    }

    .social-media-widget img,
    .social-media-widget .social-links img {
        width: 45px !important;
        height: 45px !important;
    }

    .listen-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .listen-links a img {
        width: 52px;
        height: 52px;
    }

    .container {
        margin: 8px;
        gap: 12px;
    }

    .content {
        padding: 12px 9px;
    }

    .team-grid,
    .partners-grid {
        gap: 14px;
    }

    .chatbox-widget {
        margin: 14px 0;
    }

    .persistent-player iframe {
        height: 90px;
    }
}

/* ======================================================
   MOBILE NAV (HAMBURGER)
====================================================== */

@media (max-width: 768px) {
    .main-nav {
        width: 100%;
        max-width: 580px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
        margin-inline: auto;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: 260px;
        padding: 10px 12px;
        background: rgba(0, 0, 0, .9);
        border-radius: 6px;
        border: 1px solid rgba(255, 204, 0, .7);
        color: #fff;
        font-weight: 700;
        font-size: .95rem;
        letter-spacing: .05em;
        text-transform: uppercase;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .7);
        text-align: center;
        margin-inline: auto;
    }

    .nav-toggle-icon {
        font-size: 1.2rem;
        line-height: 1;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-4px);
        transition:
            max-height .25s ease,
            opacity .2s ease,
            transform .2s ease;
    }

    .main-nav ul li {
        width: 100%;
        display: flex;
    }

    .main-nav ul li a {
        width: 100%;
        text-align: left;
        padding: 9px 12px;
        font-size: .9rem;
        background: rgba(255, 255, 255, .06);
        border-radius: 4px;
    }

    .main-nav ul li a:hover {
        background: var(--gold);
        color: #000;
    }

    .main-nav.main-nav--open ul {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }

    .persistent-player {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        max-width: 100%;
    }

    .nav-toggle {
        padding: 9px 10px;
        font-size: .9rem;
    }

    .main-nav ul li a {
        padding: 8px 10px;
        font-size: .9rem;
    }

    .site-header {
        padding-inline: 8px;
    }

    .site-title {
        font-size: 1.6rem;
    }
}

/* ===== STEM-BANNERS MOBIEL HARD FIX ===== */
@media (max-width: 768px) {
    .vote-banners {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 8px 0 0;
        padding: 0;
    }

    .vote-banner-item {
        width: 100%;
        max-width: 468px;
        margin: 0;
        padding: 0;
    }

    /* forceer hoogte van RadioTop50-banner */
    .vote-banner-item iframe[data-code="c98fd0de3b2d7d845fa1"] {
        height: 100px !important;
        max-height: 100px !important;
        margin: 0;
        padding: 0;
        overflow: hidden;
        display: block;
    }

    .vote-banner-item img {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        display: block;
    }

    /* trek de tweede banner visueel naar boven
       om eventuele 'lege' ruimte van het iframe te compenseren */
    .vote-banner-item+.vote-banner-item {
        margin-top: -24px;
        /* eventueel -20 / -30 testen wat het mooiste is */
    }
}
