/* ===== News Section - Professional Homepage Design ===== */

.news-section {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
}

/* ── Nieuws skeleton ──────────────────────────────────── */
.nib-news-skeleton {
    background: var(--rz-base-200, #e8edf2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nib-news-skeleton-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--rz-base-300, #d4dce6);
    border-bottom: 1px solid var(--rz-base-300, #d4dce6);
}

.nib-news-skeleton-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.nib-news-skeleton-image {
    min-height: 420px;
}

.nib-news-skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    justify-content: center;
    padding: 2rem 2.5rem;
    background: var(--rz-base-200, #e8edf2);
}

.nib-news-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1px;
    background: var(--rz-base-300, #d4dce6);
}

.nib-news-skeleton-card {
    display: flex;
    flex-direction: column;
    background: var(--rz-base-200, #e8edf2);
}

.nib-news-skeleton-card-image {
    height: 160px;
    width: 100%;
}

.nib-news-skeleton-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
}

@media (max-width: 768px) {
    .nib-news-skeleton-featured { grid-template-columns: 1fr; }
    .nib-news-skeleton-image    { min-height: 200px; }
}

/* ═══════════════════════════════════════════════════════
   NIB NIEUWS BLOK  (Index pagina)
   Zelfde structuur als nib-photos-block:
   blok = visuele container, header = aangehechte balk.
   ═══════════════════════════════════════════════════════ */

/* Toon-variabelen: blok-niveau (header) én per item (featured, card) */
.nib-news-block,
.nib-news-featured,
.nib-news-card {
    --photo-bg-1: color-mix(in oklab, var(--photo-color, #075082), white 20%);
    --photo-bg-2: color-mix(in oklab, var(--photo-color, #075082), white 35%);
    --photo-bg-3: color-mix(in oklab, var(--photo-color, #075082), white 48%);
    --photo-bg-4: color-mix(in oklab, var(--photo-color, #075082), white 62%);
    --photo-bg-5: color-mix(in oklab, var(--photo-color, #075082), white 80%);
    --photo-text:        color-mix(in oklab, var(--photo-color, #075082), black 40%);
    --photo-text-accent: color-mix(in oklab, var(--photo-color, #075082), black 20%);
}

/* ── Blok-container (identiek aan nib-photos-block) ── */
.nib-news-block {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ── Header balk (identiek aan nib-photos-header) ── */
.nib-news-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: var(--photo-bg-4);
    border-bottom: 1px solid var(--photo-bg-3);
}

/* ── Content-wrapper met padding ── */
.nib-news-content {
    
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nib-news-header-left { flex: 1; min-width: 0; }

.nib-news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--photo-text);
    margin: 0 0 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nib-news-title i { font-size: 0.95rem; color: var(--photo-text-accent); }

.nib-news-sub {
    font-size: 0.8rem;
    color: var(--photo-text-accent);
    margin: 0;
    opacity: 0.8;
}

.nib-news-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    background: var(--photo-bg-1);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.nib-news-all-btn:hover { opacity: 0.85; color: #fff; text-decoration: none; }
.nib-news-all-btn:hover i { transform: translateX(3px); }
.nib-news-all-btn i { font-size: 0.72rem; transition: transform 0.15s; }

/* ── Featured kaart ── */
.nib-news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: none;
}

.nib-news-featured:hover {
    box-shadow: none;
    transform: none;
}

/* Afbeelding: rechterhelft */
.nib-news-featured-image {
    position: relative;
    overflow: hidden;
    background: var(--photo-bg-3);
}

.nib-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.nib-news-featured:hover .nib-news-featured-image img { filter: brightness(0.95); }

.nib-news-featured-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--photo-bg-3);
    color: var(--photo-text-accent);
    font-size: 4rem;
    opacity: 0.3;
}

/* Content: linkerhelft */
.nib-news-featured-content {
    background: var(--photo-bg-5);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.nib-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nib-news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--photo-text-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nib-news-meta-item i { font-size: 0.7rem; opacity: 0.7; }

.nib-news-featured-title {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 800;
    color: var(--photo-text);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.nib-news-featured-excerpt {
    font-size: 0.9rem;
    color: var(--photo-text-accent);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Verwijder HTML-tags visueel niet nodig — clip doet het werk */
.nib-news-featured-excerpt p,
.nib-news-featured-excerpt br { display: none; }
.nib-news-featured-excerpt * { display: inline; }

.nib-news-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--photo-bg-1);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    align-self: flex-start;
    transition: opacity 0.15s;
    margin-top: 0.25rem;
}

.nib-news-featured:hover .nib-news-featured-link { opacity: 0.88; }
.nib-news-featured-link i { font-size: 0.72rem; }

/* ── Grid kleinere kaarten ── */
.nib-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.1rem;
}

.nib-news-card {
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: var(--photo-bg-5);
}

.nib-news-card:hover {
    box-shadow: none;
    transform: none;
}

.nib-news-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--photo-bg-3);
    flex-shrink: 0;
}

.nib-news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.nib-news-card:hover .nib-news-card-image img { filter: brightness(0.95); }

.nib-news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--photo-bg-3);
    color: var(--photo-text-accent);
    font-size: 2rem;
    opacity: 0.3;
}

.nib-news-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.nib-news-card-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--photo-text-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.8;
}

.nib-news-card-date i { font-size: 0.65rem; }

.nib-news-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--photo-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nib-news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--photo-text-accent);
    margin-top: auto;
    padding-top: 0.35rem;
    transition: gap 0.15s;
}

.nib-news-card:hover .nib-news-card-link { gap: 0.55rem; }
.nib-news-card-link i { font-size: 0.65rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .nib-news-featured {
        grid-template-columns: 1fr;
    }

    .nib-news-featured-image {
        aspect-ratio: 16 / 9;
        min-height: auto;
    }

    .nib-news-featured-content {
        padding: 1.5rem 1.25rem;
    }

    .nib-news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .nib-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Dark mode ── */
.rz-material-dark .nib-news-block,
.rz-material-dark .nib-news-featured,
.rz-material-dark .nib-news-card {
    --photo-bg-1: color-mix(in oklab, var(--photo-color, #075082), black 15%);
    --photo-bg-2: color-mix(in oklab, var(--photo-color, #075082), black 28%);
    --photo-bg-3: color-mix(in oklab, var(--photo-color, #075082), black 42%);
    --photo-bg-4: color-mix(in oklab, var(--photo-color, #075082), black 56%);
    --photo-bg-5: color-mix(in oklab, var(--photo-color, #075082), black 70%);
    --photo-text:        color-mix(in oklab, var(--photo-color, #075082), white 85%);
    --photo-text-accent: color-mix(in oklab, var(--photo-color, #075082), white 60%);
}

.rz-material-dark .nib-news-header {
    border-bottom-color: var(--photo-bg-3);
}

/* ===== Animal Featured Block - Matching News Featured Style ===== */

/* ═══════════════════════════════════════════════════════
   NIB ANIMAL BLOCK  (AnimalBlockColor)
   Zelfde structuur als nib-foto-block / nib-news-block
   ═══════════════════════════════════════════════════════ */

.nib-animal-block {
    --photo-bg-1: color-mix(in oklab, var(--photo-color, #075082), white 20%);
    --photo-bg-2: color-mix(in oklab, var(--photo-color, #075082), white 35%);
    --photo-bg-3: color-mix(in oklab, var(--photo-color, #075082), white 40%);
    --photo-bg-4: color-mix(in oklab, var(--photo-color, #075082), white 55%);
    --photo-bg-5: color-mix(in oklab, var(--photo-color, #075082), white 72%);
    --photo-text:        color-mix(in oklab, var(--photo-color, #075082), black 30%);
    --photo-text-accent: color-mix(in oklab, var(--photo-color, #075082), black 10%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.rz-material-dark .nib-animal-block {
    --photo-bg-1: color-mix(in oklab, var(--photo-color, #075082), black 10%);
    --photo-bg-2: color-mix(in oklab, var(--photo-color, #075082), black 20%);
    --photo-bg-3: color-mix(in oklab, var(--photo-color, #075082), black 30%);
    --photo-bg-4: color-mix(in oklab, var(--photo-color, #075082), black 45%);
    --photo-bg-5: color-mix(in oklab, var(--photo-color, #075082), black 70%);
    --photo-text:        color-mix(in oklab, var(--photo-color, #075082), white 80%);
    --photo-text-accent: color-mix(in oklab, var(--photo-color, #075082), white 50%);
}

/* ── Header balk ──────────────────────────────────────── */
.nib-animal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: var(--photo-bg-4);
    border-bottom: 1px solid var(--photo-bg-3);
}

.nib-animal-header-left { flex: 1; min-width: 0; }

.nib-animal-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--photo-text);
    margin: 0 0 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nib-animal-header-title i { font-size: 0.95rem; }

.nib-animal-header-sub {
    font-size: 0.8rem;
    color: var(--photo-text);
    margin: 0;
    opacity: 0.72;
}

.nib-animal-header-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    background: var(--photo-bg-1);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.nib-animal-header-link:hover { opacity: 0.85; color: #fff; text-decoration: none; }
.nib-animal-header-link i { font-size: 0.72rem; transition: transform 0.15s; }
.nib-animal-header-link:hover i { transform: translateX(3px); }

/* Ontkoppelen-knop in de header */
.nib-animal-unlink-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    background: rgba(211, 47, 47, 0.12);
    color: #c62828;
    border: 1.5px solid rgba(211, 47, 47, 0.35);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    white-space: nowrap;
}

.nib-animal-unlink-btn:hover {
    background: rgba(211, 47, 47, 0.22);
    border-color: #c62828;
    transform: translateY(-1px);
}

.nib-animal-unlink-btn i { font-size: 0.78rem; }

.rz-material-dark .nib-animal-unlink-btn {
    background: rgba(239, 83, 80, 0.15);
    color: #ef9a9a;
    border-color: rgba(239, 83, 80, 0.3);
}

.rz-material-dark .nib-animal-unlink-btn:hover {
    background: rgba(239, 83, 80, 0.28);
    border-color: #ef9a9a;
}

/* ── Body: afbeelding + content ───────────────────────── */
.nib-animal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

/* Afbeelding */
.nib-animal-image {
    position: relative;
    overflow: hidden;
    background: var(--photo-bg-3);
}

.nib-animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.nib-animal-block:hover .nib-animal-image img { transform: scale(1.03); }

.nib-animal-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--photo-text);
    opacity: 0.4;
}

.nib-animal-image-placeholder i { font-size: 3rem; }
.nib-animal-image-placeholder span { font-size: 0.9rem; font-weight: 500; }

/* Content */
.nib-animal-content {
    padding: 2rem 2rem 2rem 2.5rem;
    background: var(--photo-bg-5);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    justify-content: center;
}

/* Taxonomie pills */
.nib-animal-taxon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.nib-animal-taxon-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--photo-bg-2);
    color: var(--photo-text);
    white-space: nowrap;
}

.nib-animal-taxon-pill i { font-size: 0.68rem; }
.nib-animal-taxon-dim { opacity: 0.75; }

/* Stats rij */
.nib-animal-stats {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.nib-animal-stat {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.nib-animal-stat > i {
    font-size: 0.85rem;
    color: var(--photo-text);
    opacity: 0.7;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}

.nib-animal-stat-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--photo-text);
    opacity: 0.6;
    line-height: 1.2;
}

.nib-animal-stat-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--photo-text);
    line-height: 1.3;
}

/* Beschrijving */
.nib-animal-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--photo-text);
    border-top: 1px solid var(--photo-bg-3);
    padding-top: 1rem;
    flex: 1;
}

.nib-animal-description p { margin: 0; }

.nib-animal-description-empty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    font-style: italic;
    font-size: 0.85rem;
}

/* Tags */
.nib-animal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.nib-animal-tag {
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 500;
    background: var(--photo-bg-3);
    color: var(--photo-text);
    opacity: 0.8;
}

/* ── Skeleton (exact dimensies van nib-animal-block) ──── */
.nib-animal-sk-block {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nib-animal-sk-header {
    padding: 1.25rem 1.5rem;
    background: var(--rz-base-300, #d4dce6);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-bottom: 1px solid var(--rz-base-200, #e8edf2);
}

/* Body: zelfde 2-koloms grid als .nib-animal-body */
.nib-animal-sk-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

/* Linker kolom: volledige shimmer als image-placeholder */
.nib-animal-sk-image {
    border-radius: 0 !important;
    min-height: 420px;
}

/* Rechter kolom: content placeholders */
.nib-animal-sk-content {
    padding: 2rem 2rem 2rem 2.5rem;
    background: var(--rz-base-100, #f4f7fa);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    justify-content: center;
}

@media (max-width: 900px) {
    .nib-animal-sk-body      { grid-template-columns: 1fr; min-height: auto; }
    .nib-animal-sk-image     { min-height: 260px; }
    .nib-animal-sk-content   { padding: 1.5rem; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
    .nib-animal-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .nib-animal-image { min-height: 260px; }
    .nib-animal-content { padding: 1.5rem; }
}

/* ── Legacy animal-featured (behoud voor eventueel andere plekken) ── */
.animal-featured {
    display: none; /* vervangen door nib-animal-block */
}

@media (max-width: 768px) {
    .animal-featured-content {
        padding: 24px;
    }

    .animal-featured-title {
        font-size: 28px;
    }

    .animal-featured-latin {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .animal-taxonomy {
        gap: 8px;
    }

    .animal-taxonomy-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .animal-featured-excerpt {
        font-size: 15px;
    }

    .animal-featured-image {
        height: 300px;
    }
}

/* ===== VARIANT 1: 50/50 Split (Current - Light Background) ===== */

.news-featured {
    display: flex;
    height: 500px;
    /*    ;
*/ overflow: hidden;
    cursor: pointer;
    /*    transition: all 0.3s ease;
*/ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--photo-bg-4, var(--rz-panel-background-color));
    /*    border: 1px solid var(--rz-panel-border-color);
*/
}

    .news-featured:hover {
        /*        transform: translateY(-4px);
*/ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--rz-primary-lighter);
    }

.news-featured-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background: var(--rz-base-200);
}

    .news-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.news-featured:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-content {
    flex: 0 0 50%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--photo-bg-4, var(--rz-panel-background-color));
}

.news-featured-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--rz-text-color);
    margin: 0 0 16px;
    line-height: 1.3;
}

.news-featured-excerpt {
    font-size: 16px;
    color: var(--rz-text-secondary-color);
    line-height: 1.7;
    margin: 0 0 24px;
}

.news-featured-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding: 12px 24px;
    background: var(--photo-bg-5);
    color: var(--photo-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.news-featured:hover .news-featured-link {
    background: var(--photo-bg-3);
}

.news-featured-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.news-featured:hover .news-featured-link i {
    transform: translateX(4px);
}

/* ===== VARIANT 2: Full Width with Dark Overlay (Magazine Style) ===== */

.news-featured-v2 {
    position: relative;
    height: 600px;
    /*    ;
*/ overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .news-featured-v2:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

    .news-featured-v2 .news-featured-image {
        position: absolute;
        inset: 0;
        flex: none;
    }

        .news-featured-v2 .news-featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

    .news-featured-v2:hover .news-featured-image img {
        transform: scale(1.05);
    }

    .news-featured-v2 .news-featured-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.3) 70%, transparent 100% );
    }

    .news-featured-v2 .news-featured-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 48px;
        z-index: 2;
        flex: none;
        background: none;
    }

    .news-featured-v2 .news-featured-title {
        font-size: 42px;
        font-weight: 700;
        color: white;
        margin: 0 0 16px;
        line-height: 1.2;
    }

    .news-featured-v2 .news-featured-excerpt {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.7;
        margin: 0 0 24px;
        max-width: 800px;
    }

    .news-featured-v2 .news-meta {
        color: rgba(255, 255, 255, 0.9);
    }

    .news-featured-v2 .news-featured-link {
        background: white;
        color: var(--rz-primary);
    }

    .news-featured-v2:hover .news-featured-link {
        background: var(--rz-primary);
        color: white;
    }

/* ===== VARIANT 3: Card Style with Image on Top ===== */

.news-featured-v3 {
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--rz-panel-background-color);
    border: 1px solid var(--rz-panel-border-color);
}

    .news-featured-v3:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--rz-primary-lighter);
    }

    .news-featured-v3 .news-featured-image {
        flex: 0 0 400px;
        width: 100%;
        position: relative;
        overflow: hidden;
        background: var(--rz-base-200);
    }

        .news-featured-v3 .news-featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

    .news-featured-v3:hover .news-featured-image img {
        transform: scale(1.05);
    }

    .news-featured-v3 .news-featured-content {
        flex: 1;
        padding: 40px;
        display: flex;
        flex-direction: column;
        background: var(--rz-panel-background-color);
    }

    .news-featured-v3 .news-featured-title {
        font-size: 36px;
        font-weight: 700;
        color: var(--rz-text-color);
        margin: 0 0 16px;
        line-height: 1.3;
    }

    .news-featured-v3 .news-featured-excerpt {
        font-size: 17px;
        color: var(--rz-text-secondary-color);
        line-height: 1.7;
        margin: 0 0 24px;
    }

/* ===== VARIANT 4: Asymmetric Layout (60/40 Split with Accent) ===== */

.news-featured-v4 {
    display: flex;
    height: 550px;
    ;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--rz-panel-background-color);
    border: 1px solid var(--rz-panel-border-color);
    position: relative;
}

    .news-featured-v4::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: var(--rz-primary);
        z-index: 3;
    }

    .news-featured-v4:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--rz-primary-lighter);
    }

    .news-featured-v4 .news-featured-image {
        flex: 0 0 60%;
        position: relative;
        overflow: hidden;
        background: var(--rz-base-200);
    }

        .news-featured-v4 .news-featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

    .news-featured-v4:hover .news-featured-image img {
        transform: scale(1.05);
    }

    .news-featured-v4 .news-featured-content {
        flex: 0 0 40%;
        padding: 48px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: var(--rz-panel-background-color);
    }

    .news-featured-v4 .news-featured-title {
        font-size: 30px;
        font-weight: 700;
        color: var(--rz-text-color);
        margin: 0 0 16px;
        line-height: 1.3;
    }

    .news-featured-v4 .news-featured-excerpt {
        font-size: 15px;
        color: var(--rz-text-secondary-color);
        line-height: 1.7;
        margin: 0 0 24px;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-featured-v4 .news-meta {
        padding: 12px 16px;
        background: var(--rz-base-100);
        border-radius: 8px;
        margin-bottom: 20px;
    }

/* ===== News Meta (Date/Author) ===== */

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    margin-bottom: 20px;
}

.news-featured .news-meta {
    color: var(--rz-text-secondary-color);
}

.news-date,
.news-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== News Grid (3 Smaller Articles) ===== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0.1em;
}

/* ===== CARD VARIANT 1: Classic Card (Image Top - Current) ===== */

.news-card {
    background: var(--rz-panel-background-color);
    ;
    overflow: hidden;
    cursor: pointer;
    /*    transition: all 0.3s ease;
*/ /*    border: 1px solid var(--rz-panel-border-color);
    border-bottom-width: 4px;
    border-bottom-style: solid;
    border-bottom-color: var(--news-card-accent-color, #075082);
*/
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .news-card:hover {
        /*        transform: translateY(-4px);
*/ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--rz-primary-lighter);
        border-bottom-color: var(--news-card-accent-color, #075082);
    }

.news-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: var(--rz-base-200);
}

    .news-card-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-meta {
    color: var(--rz-text-secondary-color);
    margin-bottom: 12px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 15px;
    color: var(--rz-text-secondary-color);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rz-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.news-card:hover .news-card-link {
    gap: 10px;
}

.news-card-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-link i {
    transform: translateX(4px);
}

/* ===== CARD VARIANT 2: Horizontal Layout (Image Left) ===== */

.news-card-v2 {
    background: var(--rz-panel-background-color);
    ;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--rz-panel-border-color);
    border-bottom-width: 4px;
    border-bottom-color: var(--news-card-accent-color, #075082);
    display: flex;
    flex-direction: row;
    height: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .news-card-v2:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--rz-primary-lighter);
        border-bottom-color: var(--news-card-accent-color, #075082);
    }

    .news-card-v2 .news-card-image {
        flex: 0 0 40%;
        position: relative;
        padding-top: 0;
        height: 100%;
        overflow: hidden;
        background: var(--rz-base-200);
    }

        .news-card-v2 .news-card-image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

    .news-card-v2:hover .news-card-image img {
        transform: scale(1.08);
    }

    .news-card-v2 .news-card-content {
        flex: 1;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .news-card-v2 .news-meta {
        color: var(--rz-text-secondary-color);
        margin-bottom: 8px;
        font-size: 13px;
        gap: 12px;
    }

    .news-card-v2 .news-card-title {
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card-v2 .news-card-excerpt {
        font-size: 14px;
        line-height: 1.5;
        margin: 0 0 12px;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card-v2 .news-card-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: auto;
    }

/* ===== CARD VARIANT 3: Compact Card (Small Image, More Text) ===== */

.news-card-v3 {
    background: var(--rz-panel-background-color);
    ;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--rz-panel-border-color);
    border-bottom-width: 4px;
    border-bottom-color: var(--news-card-accent-color, #075082);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .news-card-v3:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--rz-primary-lighter);
        border-bottom-color: var(--news-card-accent-color, #075082);
    }

    .news-card-v3 .news-card-image {
        position: relative;
        width: 100%;
        padding-top: 40%; /* Smaller 5:2 aspect ratio */
        overflow: hidden;
        background: var(--rz-base-200);
    }

        .news-card-v3 .news-card-image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

    .news-card-v3:hover .news-card-image img {
        transform: scale(1.08);
    }

    .news-card-v3 .news-card-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .news-card-v3 .news-meta {
        color: var(--rz-text-secondary-color);
        margin-bottom: 10px;
        font-size: 13px;
        padding: 8px 12px;
        background: var(--rz-base-100);
        border-radius: 6px;
        display: inline-flex;
        align-self: flex-start;
    }

    .news-card-v3 .news-card-title {
        font-size: 19px;
        font-weight: 600;
        margin: 0 0 12px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card-v3 .news-card-excerpt {
        font-size: 15px;
        color: var(--rz-text-secondary-color);
        line-height: 1.6;
        margin: 0 0 16px;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card-v3 .news-card-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 18px;
        background: var(--rz-base-100);
        color: var(--rz-primary);
        border-radius: 6px;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: auto;
        align-self: flex-start;
    }

    .news-card-v3:hover .news-card-link {
        background: var(--rz-primary);
        color: white;
    }

/* ===== CARD VARIANT 4: Minimal Card (Text Focused with Badge) ===== */

.news-card-v4 {
    background: var(--rz-panel-background-color);
    ;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--rz-panel-border-color);
    border-bottom-width: 4px;
    border-bottom-color: var(--news-card-accent-color, #075082);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .news-card-v4::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--rz-primary);
    }

    .news-card-v4:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-color: var(--rz-primary-lighter);
        border-bottom-color: var(--news-card-accent-color, #075082);
    }

/* ===== Alle Berichten Card ===== */

.news-card-all {
    background: var(--photo-bg-4, var(--rz-panel-background-color));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.news-card-all-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    width: 100%;
}

.news-card-all-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--photo-bg-3, var(--rz-base-200));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

    .news-card-all-icon i {
        font-size: 36px;
        color: var(--photo-text, var(--rz-primary));
    }

.news-card-all:hover .news-card-all-icon {
    transform: scale(1.1);
    background: var(--photo-bg-2, var(--rz-primary));
}

    .news-card-all:hover .news-card-all-icon i {
        color: var(--photo-color, #fff);
    }

.news-card-all-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--photo-text, var(--rz-text-color));
    margin: 0 0 24px 0;
    line-height: 1.3;
}

.news-card-all-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.news-card-all-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.news-card-all-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--photo-text, var(--rz-primary));
    line-height: 1;
}

.news-card-all-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--photo-text-accent, var(--rz-text-secondary-color));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-all-link {
    margin-top: 8px;
}

/* ===== Responsive Design ===== */

@media (max-width: 1024px) {
    .news-featured,
    .news-featured-v4 {
        height: 450px;
    }

    .news-featured-v2 {
        height: 500px;
    }

    .news-featured-content,
    .news-featured-v4 .news-featured-content {
        padding: 36px;
    }

    .news-featured-v2 .news-featured-content {
        padding: 36px;
    }

    .news-featured-v3 .news-featured-image {
        flex: 0 0 350px;
    }

    .news-featured-v3 .news-featured-content {
        padding: 36px;
    }

    .news-featured-title,
    .news-featured-v3 .news-featured-title {
        font-size: 28px;
    }

    .news-featured-v2 .news-featured-title {
        font-size: 36px;
    }

    .news-featured-v4 .news-featured-title {
        font-size: 26px;
    }

    .news-featured-excerpt {
        font-size: 15px;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .news-featured,
    .news-featured-v4 {
        flex-direction: column;
        height: auto;
    }

        .news-featured-image,
        .news-featured-v4 .news-featured-image {
            flex: 0 0 300px;
            width: 100%;
        }

    .news-featured-v2 {
        height: 450px;
    }

    .news-featured-v3 .news-featured-image {
        flex: 0 0 300px;
    }

    .news-featured-content,
    .news-featured-v4 .news-featured-content {
        flex: 1;
        padding: 24px;
    }

    .news-featured-v2 .news-featured-content {
        padding: 24px;
    }

    .news-featured-v3 .news-featured-content {
        padding: 30px;
    }

    .news-featured-title,
    .news-featured-v3 .news-featured-title,
    .news-featured-v4 .news-featured-title {
        font-size: 24px;
    }

    .news-featured-v2 .news-featured-title {
        font-size: 30px;
    }

    .news-featured-excerpt {
        font-size: 14px;
        margin: 0 0 16px;
    }

    .news-featured-v2 .news-featured-excerpt {
        font-size: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card-content {
        padding: 20px;
    }

    .news-card-title {
        font-size: 18px;
    }

    /* Card V2 responsive */
    .news-card-v2 {
        flex-direction: column;
        height: auto;
    }

        .news-card-v2 .news-card-image {
            flex: 0 0 200px;
            width: 100%;
        }

    /* Card V3 responsive */
    .news-card-v3 .news-card-image {
        padding-top: 50%;
    }

    /* Card V4 responsive */
    .news-card-v4 .news-card-image {
        padding-top: 56.25%;
    }
}

@media (max-width: 480px) {
    .news-featured-image,
    .news-featured-v4 .news-featured-image {
        flex: 0 0 250px;
    }

    .news-featured-v2 {
        height: 400px;
    }

    .news-featured-v3 .news-featured-image {
        flex: 0 0 250px;
    }

    .news-featured-content,
    .news-featured-v4 .news-featured-content {
        padding: 20px;
    }

    .news-featured-v2 .news-featured-content {
        padding: 24px;
    }

    .news-featured-v3 .news-featured-content {
        padding: 24px;
    }

    .news-featured-title,
    .news-featured-v3 .news-featured-title,
    .news-featured-v4 .news-featured-title {
        font-size: 20px;
    }

    .news-featured-v2 .news-featured-title {
        font-size: 26px;
    }

    .news-featured-excerpt {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-featured-v2 .news-featured-excerpt {
        font-size: 15px;
        -webkit-line-clamp: 3;
    }

    .news-card-excerpt {
        -webkit-line-clamp: 2;
    }

    .news-view-all-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Dark Mode ===== */

.rz-material-dark .news-featured,
.rz-material-dark .news-featured-v3,
.rz-material-dark .news-featured-v4,
.rz-material-dark .news-card,
.rz-material-dark .news-card-v2,
.rz-material-dark .news-card-v3,
.rz-material-dark .news-card-v4 {
    background: var(--rz-base-800);
    border-color: var(--rz-base-700);
}

    .rz-material-dark .news-featured:hover,
    .rz-material-dark .news-featured-v3:hover,
    .rz-material-dark .news-featured-v4:hover,
    .rz-material-dark .news-card:hover,
    .rz-material-dark .news-card-v2:hover,
    .rz-material-dark .news-card-v3:hover,
    .rz-material-dark .news-card-v4:hover {
        border-color: var(--rz-primary);
    }

    .rz-material-dark .news-featured-content,
    .rz-material-dark .news-featured-v3 .news-featured-content,
    .rz-material-dark .news-featured-v4 .news-featured-content {
        background: var(--rz-base-800);
    }

    .rz-material-dark .news-featured-v4 .news-meta,
    .rz-material-dark .news-card-v3 .news-meta,
    .rz-material-dark .news-card-v3 .news-card-link {
        background: var(--rz-base-900);
    }

.rz-material-dark .news-view-all-btn {
    background: var(--rz-primary);
}

    .rz-material-dark .news-view-all-btn:hover {
        background: var(--rz-primary-light);
    }

/* Dynamische foto kleur (per card) - EXTENDED voor FotoNew pagina */
/* Geen global fallback meer - elke card zet zijn eigen --photo-color */

/* Card achtergronden en tekst worden per card berekend */
/* photo-exif-card en photo-location-card NIET hier - die erven --photo-color van parent .photo-item */
.news-card, .photo-grid-card, .pc-featured, .news-featured, .photo-detail {
    /* Default fallback als --photo-color niet gezet is */
    --photo-color: #075082;
    /* Licht thema: mix met wit voor tinten */
    --photo-bg-1: color-mix(in oklab, var(--photo-color), white 20%);
    --photo-bg-2: color-mix(in oklab, var(--photo-color), white 35%);
    --photo-bg-3: color-mix(in oklab, var(--photo-color), white 40%);
    --photo-bg-4: color-mix(in oklab, var(--photo-color), white 55%);
    --photo-bg-5: color-mix(in oklab, var(--photo-color), white 65%);
    /* Tekstkleur: mix met foto kleur voor contrast */
    --photo-text: color-mix(in oklab, var(--photo-color), black 35%);
    --photo-text-accent: color-mix(in oklab, var(--photo-color), black 15%);
    background: var(--photo-bg-4);
    color: var(--photo-text);
}

    .rz-material-dark .news-card, .pc-featured
    .rz-material-dark .photo-grid-card,
    .rz-material-dark .photo-detail {
        /* Donker thema: mix met zwart voor shades */
        --photo-bg-1: color-mix(in oklab, var(--photo-color), black 10%);
        --photo-bg-2: color-mix(in oklab, var(--photo-color), black 20%);
        --photo-bg-3: color-mix(in oklab, var(--photo-color), black 30%);
        --photo-bg-4: color-mix(in oklab, var(--photo-color), black 40%);
        --photo-bg-5: color-mix(in oklab, var(--photo-color), black 80%);
        /* Tekstkleur: mix met foto kleur voor contrast */
        --photo-text: color-mix(in oklab, var(--photo-color), white 80%);
        background: var(--photo-bg-1);
        color: var(--photo-text);
    }