/*
Theme Name: Mix of Music
Theme URI: https://mixofmusic.nl
Author: Mix of Music
Description: Maatwerk WordPress thema voor koor Mix of Music uit Ravenstein
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mix-of-music
*/

/* ===================================
   RESET & BASE
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
    overflow-x: hidden;
    background-color: #ffffff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   CUSTOM LOGO
   =================================== */

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo-link img.custom-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
}

/* ===================================
   HEADER: BORDER OVERRIDE
   Voegt alleen een bottom-border toe
   ipv rondom zoals in Tailwind border
   =================================== */

.site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ===================================
   HERO: SCROLL INDICATOR ANIMATIE
   =================================== */

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===================================
   COUNTDOWN: CIJFER STIJL
   Zorgt voor consistente breedte per getal
   =================================== */

.countdown-number {
    min-width: 2ch;
    display: inline-block;
    text-align: center;
}

/* ===================================
   EVENT CARD: IMAGE OVERLAY
   =================================== */

.event-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.05) 100%);
}

/* ===================================
   JUBILEUM: WATERMARK OVERLAY
   Positioneert het label over de "2027" tekst
   =================================== */

.jubileum-watermark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jubileum-watermark .year-bg {
    line-height: 1;
    user-select: none;
}

.jubileum-watermark .year-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20px);
    white-space: nowrap;
}

/* ===================================
   BUTTONS: HOVER EFFECTEN
   =================================== */

.btn-primary {
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.08);
}

/* ===================================
   NAVIGATIE: ACTIVE STATE
   =================================== */

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #7506dd;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.current::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.current {
    color: #7506dd;
}

/* ===================================
   HEADER – RESPONSIVE LAYOUT
   =================================== */

/* Desktop header (>1024px) */
.site-header {
    height: 97px;
}

.header-logo {
    height: 68px;
    width: auto;
}

/* Mobiel login-icoon: standaard verborgen */
.header-login-icon {
    display: none;
    align-items: center;
    justify-content: center;
    color: #7506dd;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-login-icon:hover {
    background-color: rgba(117, 6, 221, 0.08);
    color: #6205bb;
}

/* ===================================
   HAMBURGER KNOP
   =================================== */

/* Desktop: verborgen */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #334155;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

/* ===================================
   MOBIEL UITKLAP-MENU
   =================================== */

.mobile-nav {
    position: fixed;
    top: 72px;          /* gelijk aan mobiele header hoogte */
    left: 0;
    right: 0;
    z-index: 48;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Slide-in animatie: verborgen boven het beeld */
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity   0.24s ease,
        visibility 0s linear 0.28s;
}

.mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity   0.24s ease,
        visibility 0s linear 0s;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 2px;
}

/* Nav-link in het mobiele menu */
.mobile-nav-link {
    display: block;
    padding: 14px 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #334155;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.18s ease, background-color 0.18s ease;
    border-radius: 4px;
}

.mobile-nav-link:last-of-type {
    border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.current {
    color: #7506dd;
    background-color: rgba(117, 6, 221, 0.04);
}

/* Inloggen-knop onderaan mobiel menu */
.mobile-nav-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 14px 24px;
    background-color: #7506dd;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.mobile-nav-login:hover {
    background-color: #6205bb;
}

/* ===================================
   OVERLAY ACHTER HET MENU
   =================================== */

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 47;
    background: rgba(15, 1, 29, 0.35);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity   0.28s ease,
        visibility 0s linear 0.28s;
}

.mobile-nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
        opacity   0.28s ease,
        visibility 0s linear 0s;
}

/* ===================================
   BREAKPOINT: TABLET & KLEINER (≤1024px)
   Hamburger + login-icoon tonen,
   desktop-nav + tekstknop verbergen
   =================================== */

@media (max-width: 1024px) {
    .site-header {
        height: 72px;
    }

    .header-logo {
        height: 48px;
    }

    .desktop-nav {
        display: none;
    }

    /* Toon mobiel login-icoon */
    .header-login-icon {
        display: flex;
    }

    /* Verberg desktop tekst-knop */
    .header-login-btn {
        display: none;
    }
}

/* ===================================
   BREAKPOINT: MOBIEL (≤640px)
   Extra compacte header
   =================================== */

@media (max-width: 640px) {
    .site-header {
        height: 64px;
    }

    .mobile-nav {
        top: 64px;
    }
}

/* ===================================
   RESPONSIVE AANPASSINGEN – PAGINA CONTENT
   =================================== */

/* Tablet: hero padding aanpassen aan lagere header */
@media (max-width: 1024px) {
    /* Hero sectie: padding-top gelijk aan header hoogte */
    .site-main section:first-child {
        padding-top: 120px !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px !important;
        line-height: 1.1 !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .countdown-wrapper {
        display: none;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card-image {
        min-height: 250px !important;
    }

    .jubileum-heading {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    .cta-heading {
        font-size: 40px !important;
    }
}

@media (max-width: 640px) {
    /* Hero: nog kleinere heading */
    .hero-title {
        font-size: 36px !important;
        line-height: 1.15 !important;
    }

    .site-main section:first-child {
        padding-top: 108px !important;
    }
}

/* ===================================
   AGENDA PAGINA – ACHTERGROND
   =================================== */

.agenda-bg {
    background: #f8f6fb;
}

/* Agenda pagina: padding-top gelijkgesteld aan header hoogte */
.agenda-page {
    padding-top: 97px;
}

@media (max-width: 1024px) {
    .agenda-page {
        padding-top: 72px;
    }
}

@media (max-width: 640px) {
    .agenda-page {
        padding-top: 64px;
    }
}

/* ===================================
   AGENDA – TIJDLIJN KOLOM
   Verbergen op kleine schermen
   =================================== */

@media (max-width: 640px) {
    .timeline-col {
        display: none;
    }

    .agenda-event {
        gap: 0;
    }
}

/* ===================================
   AGENDA – EVENT KAART
   Responsive: afbeelding gaat naar beneden op mobiel
   =================================== */

/* Tablet: afbeelding iets kleiner */
@media (max-width: 900px) {
    .agenda-card-image {
        width: 180px !important;
        height: 180px !important;
    }
}

/* Mobiel: kaart wordt verticaal gestapeld */
@media (max-width: 640px) {
    .agenda-card {
        flex-direction: column !important;
    }

    .agenda-card-image {
        width: 100% !important;
        height: 200px !important;
    }
}

/* ===================================
   AGENDA – VORIGE OPTREDENS BANNER
   Responsive: titel + link stapelen op mobiel
   =================================== */

@media (max-width: 540px) {
    .agenda-archive-link {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ===================================
   AANMELDEN PAGINA – ACHTERGROND
   =================================== */

.aanmelden-bg {
    background: #f8f7ff;
}

/* Aanmelden pagina: padding-top gelijkgesteld aan header hoogte */
.aanmelden-page {
    padding-top: 97px;
}

@media (max-width: 1024px) {
    .aanmelden-page {
        padding-top: 72px;
    }
}

@media (max-width: 640px) {
    .aanmelden-page {
        padding-top: 64px;
    }
}

/* ===================================
   AANMELDEN – STEMTYPE GRID
   4 kolommen → 2 kolommen → 1 kolom
   =================================== */

@media (max-width: 768px) {
    .stemtype-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .stemtype-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===================================
   AANMELDEN – VOORDELEN SECTIE
   Flex-row op desktop → flex-col op mobiel
   =================================== */

@media (max-width: 768px) {
    .voordelen-section {
        flex-direction: column;
        gap: 48px;
    }

    /* Badge positie aanpassen zodat het niet buiten beeld valt */
    .voordelen-foto {
        padding-bottom: 48px;
    }
}

/* ===================================
   AANMELDEN – PRAKTISCHE INFO GRID
   3-kolom flex → column stapelen op mobiel
   =================================== */

@media (max-width: 900px) {
    .praktisch-grid {
        flex-direction: column !important;
        gap: 32px !important;
    }

    /* Info-kolom: volledige breedte */
    .praktisch-grid > div:first-child {
        width: 100% !important;
    }
}

/* ===================================
   AANMELDEN – FORMULIER NAAM RIJ
   2 kolommen → 1 kolom op kleine schermen
   =================================== */

@media (max-width: 480px) {
    .formulier-naam-rij {
        grid-template-columns: 1fr !important;
    }
}

/* ===================================
   LEIDING PAGINA – ACHTERGROND
   =================================== */

.leiding-bg {
    background: #fdfbf7;
}

/* Leiding pagina: padding-top gelijkgesteld aan header hoogte */
.leiding-page {
    padding-top: 97px;
}

@media (max-width: 1024px) {
    .leiding-page {
        padding-top: 72px;
    }
}

@media (max-width: 640px) {
    .leiding-page {
        padding-top: 64px;
    }
}

/* ===================================
   LEIDING – DIRIGENT SECTIE
   Foto + tekst: naast elkaar → gestapeld op mobiel
   =================================== */

.leiding-dirigent-inner {
    align-items: center;
}

/* Foto: vaste breedte op desktop, responsive op kleinere schermen */
.leiding-dirigent-foto img {
    width: 448px;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .leiding-dirigent-inner {
        gap: 48px !important;
    }

    .leiding-dirigent-foto img {
        width: 360px;
    }
}

@media (max-width: 768px) {
    .leiding-dirigent-inner {
        flex-direction: column !important;
        gap: 48px !important;
    }

    /* Stel de decoratieve border in bij gestapelde weergave */
    .leiding-dirigent-foto {
        padding-bottom: 24px;
        padding-right: 20px;
    }

    .leiding-dirigent-foto img {
        width: 100%;
        max-width: 400px;
    }
}

/* ===================================
   LEIDING – BESTUUR KAARTJES GRID
   4 kolommen → 2 kolommen → 1 kolom
   =================================== */

@media (max-width: 900px) {
    .leiding-bestuur-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .leiding-bestuur-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Kaart-foto's: aspect-ratio bewaken op kleine schermen */
.leiding-card-foto {
    width: 100%;
}

/* ===================================
   LEIDING – CTA KNOPPEN
   Naast elkaar → gestapeld op mobiel
   =================================== */

@media (max-width: 480px) {
    .leiding-cta-knoppen {
        flex-direction: column !important;
        width: 100%;
    }

    .leiding-cta-knoppen a {
        text-align: center;
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   HISTORIE PAGINA – ACHTERGROND
   =================================== */

.historie-bg {
    background: #fdfbf7;
}

.historie-page {
    padding-top: 97px;
}

@media (max-width: 1024px) {
    .historie-page {
        padding-top: 72px;
    }
}

@media (max-width: 640px) {
    .historie-page {
        padding-top: 64px;
    }
}

/* ===================================
   HISTORIE – HERO
   Titel schaalt mee op kleine schermen
   =================================== */

@media (max-width: 768px) {
    .histoire-hero-outer h1 {
        font-size: 48px !important;
        line-height: 52px !important;
        tracking: -0.8px !important;
    }
}

@media (max-width: 480px) {
    .histoire-hero-outer h1 {
        font-size: 36px !important;
        line-height: 40px !important;
    }

    .histoire-hero-outer p {
        font-size: 16px !important;
    }
}

/* ===================================
   HISTORIE – TIJDLIJN
   Desktop: links/rechts afwisselend
   Tablet/mobiel: alles gestapeld centraal
   =================================== */

/* Op tablet en kleiner: verberg de centrale lijn,
   alle kaartjes staan op volle breedte */
@media (max-width: 768px) {
    .historie-timeline-lijn {
        display: none;
    }

    .historie-timeline-item {
        justify-content: center !important;
        padding-left: 0 !important;
    }

    .historie-timeline-item .bg-white {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Centrum-stip verbergen op mobiel */
    .historie-timeline-item > .absolute {
        display: none;
    }
}

/* Op mobiel: kleinere tekstgrootte in de kaartjes */
@media (max-width: 480px) {
    .historie-timeline-item .bg-white {
        padding: 16px !important;
    }
}

/* ===================================
   HISTORIE – CTA KNOPPEN
   Naast elkaar → gestapeld op mobiel
   =================================== */

@media (max-width: 480px) {
    .historie-cta-knoppen {
        flex-direction: column !important;
        width: 100%;
    }

    .historie-cta-knoppen a {
        text-align: center;
        width: 100%;
    }
}

/* ===================================
   CONTACT PAGINA – ACHTERGROND
   =================================== */

.contact-bg {
    background: #ffffff;
}

.contact-page {
    padding-top: 97px;
}

@media (max-width: 1024px) {
    .contact-page {
        padding-top: 72px;
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding-top: 64px;
    }
}

/* ===================================
   CONTACT – HERO
   Zijdelingse padding schaalt mee
   =================================== */

@media (max-width: 1200px) {
    .contact-hero-outer {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

@media (max-width: 768px) {
    .contact-hero-outer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .contact-hero-outer h1 {
        font-size: 36px !important;
        line-height: 40px !important;
    }
}

/* ===================================
   CONTACT – HOOFD GRID
   Desktop: naast elkaar | Mobiel: gestapeld
   =================================== */

@media (max-width: 1200px) {
    .contact-main-grid {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

@media (max-width: 900px) {
    .contact-main-grid {
        flex-direction: column !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        gap: 48px !important;
    }

    .contact-form-col,
    .contact-info-col {
        flex: none !important;
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .contact-main-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ===================================
   CONTACT – NAAM/EMAIL RIJ
   2 kolommen → 1 kolom op mobiel
   =================================== */

@media (max-width: 640px) {
    .contact-naam-email-rij {
        grid-template-columns: 1fr !important;
    }
}

/* ===================================
   JUBILEUM PAGINA – ACHTERGROND
   =================================== */

.jubileum-bg {
    background: #ffffff;
}

.jubileum-page {
    padding-top: 97px;
}

@media (max-width: 1024px) {
    .jubileum-page {
        padding-top: 72px;
    }
}

@media (max-width: 640px) {
    .jubileum-page {
        padding-top: 64px;
    }
}

/* ===================================
   JUBILEUM – HERO
   Grote Playfair-titel schaalt mee op kleine schermen
   =================================== */

/* Hero hoogte schaalt ook mee */
@media (max-width: 1024px) {
    .jubileum-hero {
        height: 560px !important;
    }
}

@media (max-width: 768px) {
    .jubileum-hero {
        height: auto !important;
        min-height: 480px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .jubileum-titel {
        font-size: 60px !important;
        line-height: 64px !important;
    }

    .jubileum-subtitle {
        font-size: 17px !important;
    }
}

@media (max-width: 480px) {
    .jubileum-titel {
        font-size: 42px !important;
        line-height: 48px !important;
    }

    .jubileum-subtitle {
        font-size: 16px !important;
    }
}

/* ===================================
   JUBILEUM – PASSIE SECTIE
   Heading schaalt mee
   =================================== */

@media (max-width: 768px) {
    .jubileum-passie-titel {
        font-size: 36px !important;
        line-height: 40px !important;
    }
}

@media (max-width: 480px) {
    .jubileum-passie-titel {
        font-size: 28px !important;
        line-height: 34px !important;
    }
}

/* ===================================
   JUBILEUM – REUNION SECTIE
   Heading + knop schalen mee
   =================================== */

@media (max-width: 768px) {
    .jubileum-reunion-titel {
        font-size: 36px !important;
        line-height: 40px !important;
    }

    .jubileum-reunion-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* ===================================
   JUBILEUM – STEUN SECTIE
   Desktop: naast elkaar | Mobiel: gestapeld
   =================================== */

@media (max-width: 768px) {
    .jubileum-steun-inner {
        flex-direction: column !important;
        gap: 32px !important;
        align-items: flex-start !important;
    }

    .jubileum-steun-knoppen {
        width: 100%;
    }

    .jubileum-steun-knoppen a {
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .jubileum-steun-knoppen {
        flex-direction: column !important;
    }

    .jubileum-steun-knoppen a {
        width: 100% !important;
        min-width: 0 !important;
    }
}


/* ===================================
   INLOGGEN – PAGINA
   =================================== */

.inloggen-page {
    background: #fdfbf7;
}

/* Padding-top aanpassen bij kleinere header */
@media (max-width: 768px) {
    .inloggen-page {
        padding-top: 80px !important;
    }
}

/* ===================================
   INLOGGEN – HERO / CARD SECTIE
   =================================== */

.inloggen-hero-section {
    min-height: calc(100vh - 97px - 221px); /* vult scherm op tussen header en CTA */
}

/* Card breedte meeschalen op kleine schermen */
@media (max-width: 480px) {
    .inloggen-card {
        padding: 24px 20px !important;
        border-radius: 10px !important;
    }
}

/* ===================================
   INLOGGEN – INPUT ICOON WRAPPER
   Focus-ring doortrekken naar volledige rij
   =================================== */

.inloggen-input:focus + div,
.inloggen-input:focus-within + div {
    border-color: #7506dd !important;
}

/* ===================================
   INLOGGEN – CTA KNOPPEN
   Gestapeld op kleine schermen
   =================================== */

@media (max-width: 480px) {
    .inloggen-cta-knoppen {
        flex-direction: column !important;
        width: 100%;
    }

    .inloggen-cta-knoppen a {
        text-align: center;
        justify-content: center;
        width: 100% !important;
    }
}


/* ===================================
   LEDENPORTAAL – ALGEMEEN
   Sidebar: position:fixed — scrollt altijd mee, ongeacht overflow
   op voorouder-elementen. Main-content krijgt margin-left
   ter breedte van de sidebar.
   =================================== */

/* ─── Tablet: smallere sidebar ─── */
@media (max-width: 1024px) {
    .portal-aside {
        width: 240px !important;
    }
    .portal-main {
        margin-left: 240px !important;
    }
}

/* ─── Mobiel: sidebar wordt balk bovenaan ─── */
@media (max-width: 768px) {
    /* Sidebar: van fixed verticaal naar fixed horizontaal bovenaan */
    .portal-aside {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        z-index: 40;
    }

    /* Main: geen left-margin meer, maar padding-top voor de balk */
    .portal-main {
        margin-left: 0 !important;
        padding-top: 64px; /* hoogte van de mobiele sidebar-balk */
    }

    /* Bovenste div in aside: horizontale rij */
    .portal-aside > div:first-child {
        flex-direction: row !important;
        flex-wrap: nowrap;
        align-items: center;
        gap: 4px !important;
        padding: 12px 16px !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Logo klein op mobiel */
    .portal-aside > div:first-child > div:first-child {
        flex-shrink: 0;
    }

    .portal-aside img {
        height: 28px !important;
    }

    /* Nav links naast elkaar */
    .portal-aside nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 4px !important;
    }

    .portal-aside nav a {
        white-space: nowrap;
        padding: 6px 12px !important;
        flex-shrink: 0;
    }

    /* Uitloggen-blok onderaan verbergen op mobiel */
    .portal-aside > div:last-child {
        display: none !important;
    }

    /* Topbar niet sticky op mobiel (pagina scrollt al) */
    .portal-main > header {
        position: relative !important;
        top: auto !important;
    }
}

/* ─── WordPress admin-bar compensatie (mobiel) ─── */
@media screen and (max-width: 782px) {
    .admin-bar .portal-main {
        padding-top: calc(64px + 46px);
    }
}

/* ─── Content padding ─── */
@media (max-width: 1280px) {
    .portal-content-padding {
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
}

@media (max-width: 1024px) {
    .portal-content-padding {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

@media (max-width: 768px) {
    .portal-content-padding {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 24px !important;
    }
}

/* ===================================
   LEDENPORTAAL – DASHBOARD GRID
   Desktop: naast elkaar | Tablet/Mobiel: gestapeld
   =================================== */

@media (max-width: 1100px) {
    .portal-dashboard-grid {
        flex-direction: column !important;
    }

    .portal-right-col {
        width: 100% !important;
    }
}

/* ===================================
   LEDENPORTAAL – WELKOM HEADING
   Schalen op kleinere schermen
   =================================== */

@media (max-width: 768px) {
    .portal-main h1 {
        font-size: 28px !important;
        line-height: 34px !important;
    }
}

@media (max-width: 480px) {
    .portal-main h1 {
        font-size: 24px !important;
        line-height: 30px !important;
    }
}

/* ===================================
   LEDENPORTAAL – NAV LINK HOVER
   Smooth transition op alle links
   =================================== */

.portal-nav-link {
    transition: background-color 0.15s ease, border-color 0.15s ease;
}


/* ===================================
   BLADMUZIEK – PAGINA
   =================================== */

/* Titelbreedte meeschalen */
@media (max-width: 900px) {
    .bladmuziek-titel-kolom {
        width: 120px !important;
    }
}

@media (max-width: 640px) {
    /* Op mobiel: titel en partijen onder elkaar */
    .bladmuziek-rij {
        flex-direction: column !important;
    }
    .bladmuziek-titel-kolom {
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 8px !important;
    }
    .bladmuziek-partijen-grid > div {
        border-left: none !important;
    }
}

/* Audio player breedte begrenzen */
.bladmuziek-player {
    width: 180px;
    height: 36px;
    border-radius: 4px;
}

@media (max-width: 480px) {
    .bladmuziek-player {
        width: 140px;
    }
}

/* Placeholder (geen mp3 gekoppeld) */
.bladmuziek-player-placeholder {
    width: 180px;
    height: 36px;
    border-radius: 4px;
    font-size: 11px;
}

@media (max-width: 480px) {
    .bladmuziek-player-placeholder {
        width: 140px;
    }
}


/* ===================================
   LEDENINFO – TABEL
   =================================== */

/* Horizontaal scrollen op kleine schermen */
.ledeninfo-tabel-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Kolommen verbergen op kleine schermen */
@media (max-width: 1024px) {
    .ledeninfo-col-adres {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .ledeninfo-col-tel,
    .ledeninfo-col-email {
        display: none !important;
    }
}

/* Tabelrij highlight */
.ledeninfo-tabel tbody tr:last-child {
    border-bottom: none;
}


/* ===================================
   VERJAARDAGEN – OPKOMENDE GRID
   =================================== */

.verjaardagen-opkomend-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
    .verjaardagen-opkomend-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   VERJAARDAGEN – MAANDEN GRID
   Desktop: 3 kolommen | Tablet: 2 | Mobiel: 1
   =================================== */

.verjaardagen-maanden-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 640px) {
    .verjaardagen-maanden-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   PRIVACY VERKLARING – LIJST-STIJL
   =================================== */

.privacy-lijst {
    list-style: disc;
}

.privacy-lijst li::marker {
    color: #7506dd;
}
