/* =============================================================
   VIA DELTA — Nieuws & Activiteiten pagina
   Kleurenpalet: Geel #FFCC26 | Zwart #1A1A1A | Donkergrijs #2D2D2D
                 Lichtgrijs #F4F4F4 | Wit #FFFFFF
   ============================================================= */

/* ---------------------------------------------------------------
   HERO SECTIE
   --------------------------------------------------------------- */
.vd-nieuws-hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vd-nieuws-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 204, 38, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.vd-nieuws-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFCC26;
}

.vd-nieuws-hero__title {
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.vd-nieuws-hero__subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------------------------------------
   GEDEELDE CONTAINER & SECTIE-TITELS
   --------------------------------------------------------------- */
.vd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.vd-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.vd-section-title--light {
    color: #FFFFFF;
}

.vd-section-subtitle {
    color: #666666;
    font-size: 1rem;
    margin: 0 0 48px;
}

.vd-section-subtitle--light {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------------
   NIEUWS SECTIE
   --------------------------------------------------------------- */
.vd-nieuws-section {
    background: #FFFFFF;
    padding: 80px 0;
}

/* Grid: 3 kolommen op desktop, 2 op tablet, 1 op mobiel */
.vd-nieuws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .vd-nieuws-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vd-nieuws-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ---------------------------------------------------------------
   NIEUWSKAART
   --------------------------------------------------------------- */
.vd-nieuws-card {
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.vd-nieuws-card:hover,
.vd-nieuws-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #FFCC26;
    outline: none;
}

/* Afbeelding */
.vd-nieuws-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F4F4F4;
}

.vd-nieuws-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.vd-nieuws-card:hover .vd-nieuws-card__image img {
    transform: scale(1.04);
}

.vd-nieuws-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F4F4F4 0%, #E8E8E8 100%);
}

.vd-nieuws-card__placeholder-icon {
    color: #CCCCCC;
    width: 48px;
    height: 48px;
}

.vd-nieuws-card__placeholder-icon svg {
    width: 100%;
    height: 100%;
}

/* Categorie badge */
.vd-nieuws-card__cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #FFCC26;
    color: #1A1A1A;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 1;
}

/* Body */
.vd-nieuws-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.vd-nieuws-card__date {
    font-size: 0.8rem;
    color: #999999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vd-nieuws-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.4;
}

.vd-nieuws-card__excerpt {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.vd-nieuws-card__btn {
    align-self: flex-start;
    margin-top: 8px;
    pointer-events: none; /* Kaart zelf is klikbaar */
}

/* ---------------------------------------------------------------
   LEGE STAAT NIEUWS
   --------------------------------------------------------------- */
.vd-nieuws-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: #F4F4F4;
    border-radius: 12px;
    border: 2px dashed #DDDDDD;
}

.vd-nieuws-empty__icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.vd-nieuws-empty h3 {
    font-size: 1.3rem;
    color: #1A1A1A;
    margin: 0 0 8px;
}

.vd-nieuws-empty p {
    color: #666666;
    margin: 0;
}

/* ---------------------------------------------------------------
   ACTIVITEITEN SECTIE
   --------------------------------------------------------------- */
.vd-activiteiten-section {
    background: #2D2D2D;
    padding: 80px 0;
}

/* ---------------------------------------------------------------
   AGENDA
   --------------------------------------------------------------- */
.vd-agenda {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.vd-agenda__maand-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 204, 38, 0.4);
}

.vd-agenda__maand-naam {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFCC26;
    letter-spacing: -0.01em;
}

.vd-agenda__maand-jaar {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.vd-agenda__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------------------------------------------------------------
   AGENDA ITEM
   --------------------------------------------------------------- */
.vd-agenda__item {
    display: grid;
    grid-template-columns: 64px 1fr 32px;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vd-agenda__item:hover,
.vd-agenda__item:focus {
    background: rgba(255, 204, 38, 0.1);
    border-color: rgba(255, 204, 38, 0.5);
    transform: translateX(4px);
    outline: none;
}

/* Dag blok */
.vd-agenda__dag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FFCC26;
    border-radius: 8px;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.vd-agenda__dag-naam {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1A1A1A;
    letter-spacing: 0.05em;
    line-height: 1;
}

.vd-agenda__dag-nr {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1;
}

/* Info */
.vd-agenda__info {
    min-width: 0;
}

.vd-agenda__type-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFCC26;
    border: 1px solid rgba(255, 204, 38, 0.4);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.vd-agenda__titel {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 8px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vd-agenda__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vd-agenda__meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.vd-agenda__meta-item svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Pijl */
.vd-agenda__arrow {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease, transform 0.2s ease;
}

.vd-agenda__arrow svg {
    width: 20px;
    height: 20px;
}

.vd-agenda__item:hover .vd-agenda__arrow {
    color: #FFCC26;
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .vd-agenda__item {
        grid-template-columns: 48px 1fr 24px;
        gap: 12px;
        padding: 16px;
    }

    .vd-agenda__dag {
        width: 44px;
        height: 44px;
    }

    .vd-agenda__dag-nr {
        font-size: 1.2rem;
    }

    .vd-agenda__titel {
        white-space: normal;
    }
}

/* ---------------------------------------------------------------
   LEGE STAAT ACTIVITEITEN
   --------------------------------------------------------------- */
.vd-activiteiten-empty {
    text-align: center;
    padding: 80px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
}

.vd-activiteiten-empty__icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.vd-activiteiten-empty h3 {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.vd-activiteiten-empty p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ---------------------------------------------------------------
   MODAL SYSTEEM
   --------------------------------------------------------------- */
.vd-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.vd-modal-backdrop.is-active {
    display: block;
}

.vd-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vd-modal.is-active {
    display: flex;
}

.vd-modal__overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.vd-modal__panel {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    animation: vdModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: #FFCC26 #F4F4F4;
}

.vd-modal__panel::-webkit-scrollbar {
    width: 6px;
}

.vd-modal__panel::-webkit-scrollbar-track {
    background: #F4F4F4;
    border-radius: 3px;
}

.vd-modal__panel::-webkit-scrollbar-thumb {
    background: #FFCC26;
    border-radius: 3px;
}

@keyframes vdModalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Sluitknop */
.vd-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

.vd-modal__close:hover {
    background: #FFCC26;
}

/* Hero afbeelding in modal */
.vd-modal__hero-img {
    position: relative;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.vd-modal__hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vd-modal__cat-badge {
    position: absolute;
    bottom: 16px;
    left: 24px;
    background: #FFCC26;
    color: #1A1A1A;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Modal content */
.vd-modal__content {
    padding: 32px;
}

.vd-modal__date {
    display: block;
    font-size: 0.8rem;
    color: #999999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.vd-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.vd-modal__body {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.75;
}

.vd-modal__body p {
    margin: 0 0 16px;
}

.vd-modal__body p:last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------------
   ACTIVITEIT MODAL — speciale opmaak
   --------------------------------------------------------------- */
.vd-modal--activiteit .vd-modal__panel {
    border-top: 4px solid #FFCC26;
}

.vd-modal__act-header {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #EEEEEE;
}

.vd-modal__act-datum-blok {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FFCC26;
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
}

.vd-modal__act-dag-nr {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1;
}

.vd-modal__act-maand {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.vd-modal__act-jaar {
    font-size: 0.75rem;
    color: rgba(26, 26, 26, 0.6);
    line-height: 1.4;
}

.vd-modal__act-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFCC26;
    background: #1A1A1A;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.vd-modal__act-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.vd-modal__act-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #555555;
}

.vd-modal__act-meta-row svg {
    width: 16px;
    height: 16px;
    color: #FFCC26;
    flex-shrink: 0;
}

.vd-modal__act-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #EEEEEE;
}

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

.vd-modal__act-cta .vd-btn svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 480px) {
    .vd-modal__act-header {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }

    .vd-modal__act-dag-nr {
        font-size: 2rem;
    }

    .vd-modal__content {
        padding: 24px;
    }
}

/* ---------------------------------------------------------------
   GEDEELDE BUTTON STIJLEN
   --------------------------------------------------------------- */
.vd-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
}

.vd-btn--yellow {
    background: #FFCC26;
    color: #1A1A1A;
}

.vd-btn--yellow:hover {
    background: #f0be00;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 204, 38, 0.4);
}

.vd-btn--sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ---------------------------------------------------------------
   BODY SCROLL LOCK wanneer modal open is
   --------------------------------------------------------------- */
body.vd-modal-open {
    overflow: hidden;
}
