/* ── JD-ICT NIEUWS PLUGIN CSS ───────────────────────────────── */

/* OVERZICHT HERO */
.jdnws-overzicht-hero {
    background: linear-gradient(135deg, #003033 0%, #0a4a4e 60%, #0d5a5e 100%);
    padding: 72px 32px 64px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.jdnws-overzicht-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(244,196,68,.08) 0%, transparent 65%);
    pointer-events: none;
}

.jdnws-overzicht-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(235,92,44,.06) 0%, transparent 65%);
    pointer-events: none;
}

.jdnws-hero-deco-1 {
    position: absolute;
    top: 28px; left: 60px;
    width: 44px; height: 44px;
    background: #f4c444;
    border-radius: 11px;
    transform: rotate(14deg);
    opacity: .55;
}

.jdnws-hero-deco-2 {
    position: absolute;
    bottom: 28px; right: 80px;
    width: 32px; height: 32px;
    background: #EB5C2C;
    border-radius: 8px;
    transform: rotate(-10deg);
    opacity: .5;
}

.jdnws-overzicht-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.jdnws-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f4c444;
    background: rgba(244,196,68,.12);
    border: 1px solid rgba(244,196,68,.25);
    padding: 5px 13px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.jdnws-hero-eyebrow::before {
    content: '';
    width: 5px; height: 5px;
    background: #f4c444;
    border-radius: 50%;
    flex-shrink: 0;
}

.jdnws-overzicht-titel {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.12;
    margin-bottom: 14px;
}

.jdnws-overzicht-sub {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255,255,255,.7);
    line-height: 1.75;
}

/* OVERZICHT WRAPPER */
.jdnws-overzicht-sectie {
    background: #f7faf9;
    padding: 56px 32px 80px;
}

.jdnws-overzicht-inner {
    max-width: 1160px;
    margin: 0 auto;
}

/* FILTERS */
.jdnws-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.jdnws-filter-btn {
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #d0dedd;
    background: #ffffff;
    color: #1a1a1a;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}

.jdnws-filter-btn:hover,
.jdnws-filter-btn.actief {
    background: #003033;
    color: #ffffff;
    border-color: #003033;
}

/* OVERZICHT GRID */
.jdnws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* KAART */
.jdnws-kaart {
    background: #ffffff;
    border: 1.5px solid #eef1f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.jdnws-kaart:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0,48,51,.13);
    border-color: rgba(0,143,103,.2);
}

.jdnws-kaart.verborgen {
    display: none;
}

/* Speels accent blokje per kaart */
.jdnws-kaart::after {
    content: '';
    position: absolute;
    top: 12px; right: 12px;
    width: 20px; height: 20px;
    border-radius: 5px;
    transform: rotate(12deg);
    z-index: 2;
    pointer-events: none;
}

.jdnws-kaart:nth-child(3n+1)::after { background: #008f67; opacity: .7; }
.jdnws-kaart:nth-child(3n+2)::after { background: #EB5C2C; opacity: .65; }
.jdnws-kaart:nth-child(3n+3)::after { background: #f4c444; opacity: .75; }

/* KAART FOTO */
.jdnws-kaart-foto {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
    background: #003033;
    text-decoration: none;
}

.jdnws-kaart-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.jdnws-kaart:hover .jdnws-kaart-foto img {
    transform: scale(1.05);
}

.jdnws-kaart-foto::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,48,51,.6) 0%, transparent 100%);
    pointer-events: none;
}

.jdnws-geen-foto {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #003033, #0a4a4e);
}

.jdnws-geen-foto svg {
    width: 48px; height: 48px;
}

.jdnws-kaart-cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}

/* KAART BODY */
.jdnws-kaart-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.jdnws-kaart-datum {
    font-size: 12px;
    font-weight: 500;
    color: #888;
}

.jdnws-kaart-titel {
    font-size: 18px;
    font-weight: 900;
    color: #111111;
    line-height: 1.25;
    margin: 0;
}

.jdnws-kaart-titel a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}

.jdnws-kaart-titel a:hover {
    color: #008f67;
}

.jdnws-kaart-excerpt {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    line-height: 1.65;
    flex: 1;
}

.jdnws-lees-meer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #008f67;
    text-decoration: none;
    margin-top: 4px;
    transition: gap .2s;
}

.jdnws-lees-meer:hover { gap: 10px; }
.jdnws-lees-meer svg { width: 14px; height: 14px; }

/* LEEG */
.jdnws-leeg {
    text-align: center;
    padding: 64px 32px;
    color: #888;
    font-size: 16px;
}

/* ── ARTIKEL PAGINA ─────────────────────────────────────────── */
.jdnws-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ARTIKEL HERO */
.jdnws-hero {
    background: linear-gradient(135deg, #003033 0%, #0a4a4e 60%, #0d5a5e 100%);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

.jdnws-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(244,196,68,.08) 0%, transparent 65%);
    pointer-events: none;
}

/* Speelse decoties op artikelpagina hero */
.jdnws-hero-art-deco-1 {
    position: absolute;
    top: 24px; right: 120px;
    width: 52px; height: 52px;
    background: #f4c444;
    border-radius: 13px;
    transform: rotate(14deg);
    opacity: .5;
}

.jdnws-hero-art-deco-2 {
    position: absolute;
    bottom: 24px; left: 100px;
    width: 36px; height: 36px;
    background: #EB5C2C;
    border-radius: 9px;
    transform: rotate(-10deg);
    opacity: .45;
}

.jdnws-terug {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color .15s;
}

.jdnws-terug:hover { color: rgba(255,255,255,.9); }

.jdnws-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.jdnws-hero-cat {
    background: #008f67;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.jdnws-hero-datum {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,.5);
}

.jdnws-hero-titel {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 16px;
    max-width: 760px;
}

.jdnws-hero-intro {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,.75);
    line-height: 1.75;
    max-width: 680px;
    margin: 0;
}

/* UITGELICHTE AFBEELDING */
.jdnws-uitgelicht-wrap {
    background: #f7faf9;
    padding: 40px 0 0;
}

.jdnws-uitgelicht {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/6;
    box-shadow:
        0 24px 64px rgba(0,48,51,.20),
        0 8px 24px rgba(0,48,51,.12);
    position: relative;
}

/* Speelse blokken naast de uitgelichte afbeelding */
.jdnws-uitgelicht-wrap .jdnws-container {
    position: relative;
}

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

/* INHOUD SECTIE */
.jdnws-inhoud-sectie {
    background: #f7faf9;
    padding: 56px 0 80px;
}

.jdnws-artikel-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* ARTIKEL TEKST */
.jdnws-artikel-body {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    border: 1.5px solid #eef1f0;
    box-shadow: 0 2px 12px rgba(0,48,51,.05);
}

.jdnws-artikel-body h2 {
    font-size: 26px;
    font-weight: 900;
    color: #111111;
    margin: 36px 0 14px;
    line-height: 1.2;
    padding-top: 8px;
    border-top: 2px solid #f0f5f3;
}

.jdnws-artikel-body h2:first-child { border-top: none; margin-top: 0; }

.jdnws-artikel-body h3 {
    font-size: 20px;
    font-weight: 900;
    color: #111111;
    margin: 24px 0 10px;
}

.jdnws-artikel-body p {
    font-size: 17px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.85;
    margin-bottom: 20px;
}

.jdnws-artikel-body ul,
.jdnws-artikel-body ol {
    margin: 0 0 20px 20px;
}

.jdnws-artikel-body li {
    font-size: 16px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.75;
    margin-bottom: 8px;
}

.jdnws-artikel-body a {
    color: #008f67;
    font-weight: 600;
    text-underline-offset: 3px;
}

.jdnws-artikel-body strong {
    font-weight: 700;
    color: #111111;
}

.jdnws-artikel-body img {
    max-width: 100%;
    border-radius: 14px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(0,48,51,.1);
}

.jdnws-artikel-body blockquote {
    border-left: 4px solid #008f67;
    margin: 28px 0;
    padding: 20px 28px;
    background: #f7faf9;
    border-radius: 0 14px 14px 0;
    font-size: 17px;
    font-style: italic;
    color: #1a1a1a;
    line-height: 1.7;
}

/* Speels accent in artikel */
.jdnws-artikel-body h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #008f67;
    border-radius: 3px;
    margin-right: 10px;
    transform: rotate(8deg);
    vertical-align: middle;
}

/* SIDEBAR */
.jdnws-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.jdnws-sidebar-kaart {
    background: #ffffff;
    border: 1.5px solid #eef1f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,48,51,.05);
}

.jdnws-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
}

.jdnws-sidebar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f5f3;
    text-decoration: none;
    transition: all .15s;
}

.jdnws-sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jdnws-sidebar-item:hover { transform: translateX(3px); }

.jdnws-sidebar-thumb {
    width: 56px; height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.jdnws-sidebar-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.jdnws-sidebar-datum {
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
}

.jdnws-sidebar-titel {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
}

/* SIDEBAR CTA */
.jdnws-sidebar-cta {
    background: linear-gradient(145deg, #003033, #0a4a4e);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.jdnws-sidebar-cta::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(0,143,103,.15) 0%, transparent 65%);
    pointer-events: none;
}

.jdnws-sidebar-cta-deco {
    position: absolute;
    bottom: 12px; right: 16px;
    width: 28px; height: 28px;
    background: #f4c444;
    border-radius: 7px;
    transform: rotate(-10deg);
    opacity: .5;
}

.jdnws-sidebar-cta-inner {
    position: relative;
    z-index: 1;
}

.jdnws-sidebar-cta-titel {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.jdnws-sidebar-cta-tekst {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    margin-bottom: 18px;
}

.jdnws-sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #008f67;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(0,143,103,.3);
    width: 100%;
}

.jdnws-sidebar-cta-btn:hover {
    background: #00a878;
    transform: translateY(-1px);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .jdnws-grid { grid-template-columns: repeat(2, 1fr); }
    .jdnws-artikel-wrap { grid-template-columns: 1fr; }
    .jdnws-sidebar { position: static; }
}

@media (max-width: 640px) {
    .jdnws-grid { grid-template-columns: 1fr; }
    .jdnws-artikel-body { padding: 28px 20px; }
    .jdnws-hero { padding: 48px 0; }
    .jdnws-container { padding: 0 20px; }
    .jdnws-overzicht-sectie { padding: 40px 20px 60px; }
    .jdnws-hero-art-deco-1,
    .jdnws-hero-art-deco-2 { display: none; }
}
