/*
Theme Name: Blocksy Child
Template: blocksy
Version: 1.0
*/

/* ================================
   Lokale Google Fonts - Studio JOOS
   ================================ */

/* Montserrat - 400 */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}

/* Mulish - 300 */
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/mulish-v18-latin-300.woff2') format('woff2');
}

/* Mulish - 400 */
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/mulish-v18-latin-regular.woff2') format('woff2');
}

/* Mulish - 500 */
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/mulish-v18-latin-500.woff2') format('woff2');
}

/* Mulish - 600 */
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/mulish-v18-latin-600.woff2') format('woff2');
}

/* Mulish - 700 */
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/mulish-v18-latin-700.woff2') format('woff2');
}

/* Outfit - 300 */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/outfit-v15-latin-300.woff2') format('woff2');
}

/* Outfit - 400 */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/outfit-v15-latin-regular.woff2') format('woff2');
}

/* Outfit - 500 */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/outfit-v15-latin-500.woff2') format('woff2');
}

/* Outfit - 600 */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/outfit-v15-latin-600.woff2') format('woff2');
}

/* Outfit - 700 */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/outfit-v15-latin-700.woff2') format('woff2');
}

/* Outfit - 800 */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/outfit-v15-latin-800.woff2') format('woff2');
}

/* DM Serif Display - 400 */
@font-face {
  font-display: swap;
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2');
}

/* ── Cursussen Grid (homepage) ── */
.cursussen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0;
}

/* ── Cursus kaartje ── */
.cursus-item {
    background: #f6f6f6;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cursus-item--vol {
    opacity: 0.75;
}

/* ── Afbeelding ── */
.cursus-thumbnail-link {
    display: block;
    overflow: hidden;
}

.cursus-thumbnail-link img.cursus-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cursus-thumbnail-link:hover img.cursus-thumbnail {
    transform: scale(1.03);
}

.cursus-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0ede8;
}

/* ── Kaartje content ── */
.cursus-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Datum ── */
.cursus-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.cursus-meta svg {
    width: 13px;
    height: 13px;
    stroke: #888;
    flex-shrink: 0;
}

/* ── Titel ── */
.cursus-content h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.cursus-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.cursus-content h3 a:hover {
    color: var(--theme-palette-color-1);
}

/* ── Excerpt ── */
.cursus-excerpt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Knop ── */
.cursus-btn {
    display: inline-block;
    text-decoration: none;
    align-self: flex-start;
    margin-bottom: 8px;
}

.cursus-btn:hover {
    opacity: 0.85;
    color: #fff !important;
}

/* ── VOL knop op kaartje ── */
.cursus-btn--vol {
    background: #aaa !important;
    color: #fff !important;
    cursor: default;
    pointer-events: none;
}

/* ── Thumbnail wrapper ── */
.cursus-thumbnail-wrapper {
    position: relative;
}

/* ── Cursus type badge (overzicht kaartjes) ── */
.cursus-thumbnail-wrapper .cursus-type-label {
    position: absolute;
    top: 12px;
    left: 0;
    background: var(--e-global-color-blocksy_palette_2);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 1;
}

/* ── Cursus type label (detailpagina) ── */
.cursus-links .cursus-type-label {
    display: inline-block;
    position: static;
    background: transparent;
    color: var(--e-global-color-blocksy_palette_2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0;
    margin-bottom: 10px;
}

/* ── VOL badge op thumbnail (overzicht) ── */
.cursus-vol-badge {
    position: absolute;
    top: 12px;
    right: 0;
    background: #7a3e3d;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 1;
}

/* ── Responsive homepage grid ── */
@media (max-width: 1024px) {
    .cursussen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ────────────────────────────────────────
   CURSUS DETAILPAGINA
──────────────────────────────────────── */

/* ── Blocksy wrapper fix ── */
main.site-main {
    padding: 0 !important;
    max-width: 100% !important;
}

/* ── Cursus pagina wrapper ── */
.cursus-pagina {
    max-width: 100%;
    margin: 0;
    padding: 0 0 80px;
}

/* ── Hero: linkerkolom + infobox ── */
.cursus-hero {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 64px !important;
    padding: 56px 120px !important;
    align-items: start !important;
}

/* ── Linkerkolom ── */
.cursus-links h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cursus-beschrijving {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-top: 16px;
    margin-bottom: 40px;
}

/* ── Sectie titel (inbegrepen) ── */
.cursus-inbegrepen .cursus-sectie-titel {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    margin: 0 0 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Inbegrepen lijst ── */
.cursus-inbegrepen {
    margin-bottom: 40px;
}

.cursus-inbegrepen-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cursus-inbegrepen-lijst li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #333;
}

.cursus-check-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cursus-check-icon svg {
    width: 16px;
    height: 16px;
    stroke: #8b7954;
}

/* ── Sessies lijst ── */
.cursus-sessies {
    margin-bottom: 40px;
    overflow-x: auto;
}

.cursus-sectie-titel {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    margin: 0 0 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Sessies tijdlijn ── */
.cursus-tijdlijn {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 24px 0 8px;
    min-width: min-content;
}

.cursus-tijdlijn-balk {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0dbd3;
    z-index: 0;
}

.cursus-tijdlijn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 72px;
}

.cursus-tijdlijn-stip {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #e0dbd3;
    border: 2px solid #fff !important;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.cursus-tijdlijn-item--eerste .cursus-tijdlijn-stip {
    width: 14px !important;
    height: 14px !important;
    background: #7a3e3d;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 2px #7a3e3d;
}

.cursus-tijdlijn-item--laatste .cursus-tijdlijn-stip {
    width: 14px !important;
    height: 14px !important;
    background: #8b7954;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 2px #8b7954;
}

.cursus-tijdlijn-datum {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

.cursus-tijdlijn-item--eerste .cursus-tijdlijn-datum,
.cursus-tijdlijn-item--laatste .cursus-tijdlijn-datum {
    font-weight: 700;
    color: #1a1a1a;
}

/* ── Fotogrid ── */
.cursus-fotogrid {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 6px !important;
    margin-top: 40px;
}

.cursus-fotogrid-item {
    overflow: hidden;
}

.cursus-fotogrid-item:first-child {
    grid-row: 1 / 3;
    aspect-ratio: auto;
}

.cursus-fotogrid-item:not(:first-child) {
    aspect-ratio: 4 / 3;
}

/* ── Infobox ── */
.cursus-infobox {
    background: #f6f6f6;
    padding: 36px 32px;
    position: sticky;
    top: 32px;
}

.cursus-infobox--vol {
    opacity: 0.9;
}

.cursus-vol-banner {
    background: #7a3e3d;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    padding: 8px;
    margin: -36px -32px 24px;
}

/* ── Prijs ── */
.cursus-prijs-groot {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.cursus-prijs-btw {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
    margin-left: 4px;
}

/* ── Prijs op mobiel (alleen zichtbaar onder 1024px) ── */
.cursus-prijs-mobiel {
    display: none;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cursus-prijs-mobiel-btw {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
    margin-left: 4px;
}

/* ── Boeken knop ── */
.cursus-boeken-btn {
    display: block !important;
    text-align: center;
    width: 100%;
    margin-bottom: 28px;
    box-sizing: border-box;
}

/* ── Wachtlijst knop ── */
.cursus-wachtlijst-btn {
    background: #8b7954 !important;
    border-color: #8b7954 !important;
}

.cursus-wachtlijst-btn:hover {
    background: #7a6b45 !important;
    border-color: #7a6b45 !important;
    color: #fff !important;
}

/* ── VOL knop in infobox ── */
.cursus-vol-knop {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 12px;
    box-sizing: border-box;
    background: #aaa;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px;
    border-radius: 4px;
}

.cursus-vol-tekst {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ── Detail items ── */
.cursus-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.cursus-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #444;
}

.cursus-detail-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--e-global-color-blocksy_palette_2);
    flex-shrink: 0;
}

/* ── Infobox secties ── */
.cursus-infobox-sectie {
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
    margin-top: 16px;
}

.cursus-infobox-sectie-titel {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 12px;
}

/* ── Inbegrepen compact ── */
.cursus-infobox-inbegrepen {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cursus-infobox-inbegrepen--compact {
    margin: 12px 0 20px;
}

.cursus-infobox-inbegrepen li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #555;
}

/* ── Cursusdata tijdlijn ── */
.cursus-infobox-datums {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.cursus-infobox-datums::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 24px;
    bottom: 12px;
    width: 2px;
    background: #e0dbd3;
    z-index: 0;
}

.cursus-infobox-datum {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #444;
    padding: 5px 0;
    position: relative;
    z-index: 1;
}

.cursus-infobox-datum-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    background: #f6f6f6;
}

.cursus-infobox-datum-icon svg {
    width: 16px;
    height: 16px;
    stroke: #7a3e3d;
}

.cursus-infobox-datum-stip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    background: #f6f6f6;
}

.cursus-infobox-datum-stip::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e0dbd3;
    border: 2px solid #f6f6f6;
}

.cursus-infobox-datum--eerste {
    font-weight: 600;
    color: #1a1a1a;
}

.cursus-infobox-datum--laatste .cursus-infobox-datum-stip::before {
    background: #8b7954;
    border-color: #f6f6f6;
}

/* ── Responsive detailpagina ── */
@media (max-width: 1024px) {
    .cursus-hero {
        grid-template-columns: 1fr !important;
        padding: 32px !important;
        gap: 32px !important;
    }

    .cursus-infobox {
        position: static;
    }

    .cursus-fotogrid {
        grid-template-columns: 1.4fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
    }

    .cursus-prijs-mobiel {
        display: block;
    }
}

@media (max-width: 600px) {
    .cursus-hero {
        padding: 24px !important;
    }

    .cursus-fotogrid {
        grid-template-columns: 1.4fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 4px !important;
        max-height: 280px;
    }

    .cursus-fotogrid-item:first-child {
        grid-row: 1 / 3;
        aspect-ratio: auto;
    }

    .cursus-fotogrid-item:not(:first-child) {
        aspect-ratio: auto;
    }
}

/* ── Beschikbaarheid ── */
.cursus-beschikbaarheid {
    max-width: 1290px;
    margin: 0 auto;
    padding: 24px 48px;
    text-align: center;
}

.cursus-beschikbaarheid--weinig .cursus-beschikbaarheid-titel,
.cursus-beschikbaarheid--weinig p {
    color: #7a3e3d;
}

.cursus-beschikbaarheid-anker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7a3e3d;
    margin-top: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.cursus-beschikbaarheid-anker:hover {
    background: #8b7954;
    transform: translateY(3px);
}

.cursus-beschikbaarheid-anker svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* ── Wachtlijst intro tekst boven formulier ── */
.cursus-wachtlijst-intro {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ────────────────────────────────────────
   LIGHTBOX
──────────────────────────────────────── */

.cursus-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cursus-lightbox--actief {
    display: flex;
}

.cursus-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}

.cursus-lightbox-sluiten {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 100000;
}

.cursus-lightbox-sluiten:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cursus-lightbox-sluiten svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* ── Fotogrid items klikbaar maken ── */
.cursus-fotogrid-item a.cursus-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.cursus-fotogrid-item a.cursus-lightbox-trigger img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    max-width: none !important;
    transition: transform 0.4s ease;
}

.cursus-fotogrid-item a.cursus-lightbox-trigger:hover img {
    transform: scale(1.03);
}

/* ────────────────────────────────────────
   FORMULIER STYLING
──────────────────────────────────────── */

.cursus-formulier-sectie {
    max-width: 1290px;
    margin: 60px auto;
    padding: 48px;
    background: #ffffff;
    border-radius: 8px;
}

.cursus-formulier-sectie h2 {
    margin-bottom: 32px;
}

.cursus-formulier-sectie .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cursus-formulier-sectie .wpcf7-form p:has(textarea),
.cursus-formulier-sectie .wpcf7-form p:last-child {
    grid-column: 1 / -1;
}

.cursus-formulier-sectie label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 500;
}

.cursus-formulier-sectie input[type="text"],
.cursus-formulier-sectie input[type="email"],
.cursus-formulier-sectie input[type="tel"],
.cursus-formulier-sectie textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #f6f6f6;
    border-radius: 6px;
    background: #f6f6f6;
    font-size: 1rem;
    color: #1a1a1a;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.cursus-formulier-sectie input[type="text"]:focus,
.cursus-formulier-sectie input[type="email"]:focus,
.cursus-formulier-sectie input[type="tel"]:focus,
.cursus-formulier-sectie textarea:focus {
    outline: none;
    border-color: #8b7954;
}

.cursus-formulier-sectie textarea {
    min-height: 140px;
    resize: vertical;
}

.cursus-formulier-sectie .cursus-vol-breedte {
    grid-column: 1 / -1;
}

.cursus-formulier-sectie .cursus-betaal-info {
    font-size: 0.85rem;
    color: #6b6b6b;
    margin: -24px 0 0 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.cursus-formulier-sectie input[type="submit"] {
    background: #7a3e3d;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cursus-formulier-sectie input[type="submit"]:hover {
    background: #8b7954;
}

.cursus-formulier-sectie .wpcf7-not-valid-tip {
    color: #7a3e3d;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.cursus-formulier-sectie .wpcf7-not-valid {
    border-color: #7a3e3d !important;
}

.cursus-formulier-sectie .wpcf7-response-output {
    border: 1px solid #7a3e3d;
    background: #f9f0f0;
    color: #7a3e3d;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-top: 16px;
    grid-column: 1 / -1;
}

/* ── Bevestigingsblok na succesvol verzenden ── */
.wpcf7 form.sent .wpcf7-response-output {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: none;
    border-left: 4px solid #8b7954;
    background: #f5f2ec;
    color: #1a1a1a;
    padding: 24px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-style: normal;
    margin-top: 24px;
}

.wpcf7 form.sent .wpcf7-response-output::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: #8b7954;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    margin-top: 1px;
}

@media (max-width: 768px) {
    .cursus-formulier-sectie {
        padding: 24px;
        margin: 32px 16px;
    }

    .cursus-formulier-sectie .wpcf7-form {
        grid-template-columns: 1fr;
    }

    .cursus-formulier-sectie .wpcf7-form p:has(textarea),
    .cursus-formulier-sectie .wpcf7-form p:last-child {
        grid-column: 1;
    }
}

/* ────────────────────────────────────────
   AGENDA LIJSTWEERGAVE (cursuspagina)
──────────────────────────────────────── */

.cursussen-agenda {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.agenda-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    gap: 24px;
    background: #fff;
    margin-bottom: 8px;
}

.agenda-item--vol {
    opacity: 0.6;
}

.agenda-item-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.agenda-type-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    align-self: flex-start;
}

.agenda-type-badge--workshops,
.agenda-type-badge--cursussen,
.agenda-type-badge--zomercursus {
    background: var(--theme-palette-color-7);
    color: #39332e;
    border: none;
}

.agenda-titel {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.agenda-titel a {
    color: #1a1a1a;
    text-decoration: none;
}

.agenda-titel a:hover {
    color: var(--theme-palette-color-1);
}

.agenda-meta-rij {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #888;
    flex-wrap: wrap;
}

.agenda-scheidingsteken {
    color: #ccc;
}

.agenda-item-rechts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.agenda-prijs {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.agenda-plekken {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.agenda-plekken--ruim   { color: #3a5c3a; }
.agenda-plekken--weinig { color: #7a3e3d; }
.agenda-plekken--vol    { color: #aaa; }

.agenda-boeken-btn {
    display: inline-block;
    background: #7a3e3d;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.agenda-boeken-btn:hover {
    background: #8b7954;
    color: #fff;
}

.agenda-boeken-btn--vol {
    background: #aaa;
    pointer-events: none;
}

/* ── Laad meer ── */
.agenda-laad-meer-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.agenda-laad-meer-btn {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--e-global-color-blocksy_palette_2);
    border: 1px solid var(--e-global-color-blocksy_palette_2);
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.agenda-laad-meer-btn:hover {
    background: var(--e-global-color-blocksy_palette_2);
    color: #fff;
}

@media (max-width: 600px) {
    .agenda-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .agenda-item-rechts {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .agenda-prijs {
        margin-right: auto;
    }
}

/* reCAPTCHA badge verbergen */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Nieuwsbrief formulier in footer */
.form-rydnrkxypz input[type=email] {
  background: #ffffff;
}

.form-rydnrkxypz input[type=submit] {
  margin-top: 12px;
}