/* dc-jilpaq-news widget (developercode-core). Colours come from the widget controls via Elementor selectors. */
.dc-jilpaq-news {
    --p: #C8102E;
    --a: #FFF8EE;
    --d: #0A0A0A;
}
.dc-jilpaq-news *, .dc-jilpaq-news *::before, .dc-jilpaq-news *::after { box-sizing: border-box; }

/* Donkere sectie (hero-001 vibe) */
.dc-jilpaq-news .jq-nws {
    position: relative;
    padding: clamp(60px, 9vh, 110px) clamp(20px, 4vw, 56px);
    background: var(--d); color: #fff;
    overflow: hidden;
    font-family: 'Inter','Poppins',system-ui,sans-serif;
    isolation: isolate;
}
.dc-jilpaq-news .jq-nws__inner {
    max-width: 1280px; margin: 0 auto;
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

/* ===== Links: header + CTA's ===== */
.dc-jilpaq-news .jq-nws__head { position: relative; }

/* Eyebrow pill (zoals "Join us" met groene cirkel in design) */
.dc-jilpaq-news .jq-nws__eyebrow-pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    padding: 7px 16px 7px 8px;
    border-radius: 100px;
    margin-bottom: 36px;
    color: #fff;
    font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.dc-jilpaq-news .jq-nws__eyebrow-dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--p);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 25%, transparent);
}
.dc-jilpaq-news .jq-nws__eyebrow-dot svg { width: 12px; height: 12px; }

.dc-jilpaq-news .jq-nws__title {
    font-family: 'Inter','Poppins',sans-serif;
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 800; line-height: 1.04; letter-spacing: -.028em;
    margin: 0 0 24px;
    color: #fff;
}
.dc-jilpaq-news .jq-nws__title em {
    color: var(--p); font-style: normal;
}

.dc-jilpaq-news .jq-nws__lead {
    font-size: clamp(14px, 1vw, 16px); line-height: 1.65;
    color: rgba(255,255,255,.65); margin: 0 0 32px; max-width: 460px;
}

.dc-jilpaq-news .jq-nws__ctas {
    display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.dc-jilpaq-news .jq-nws__cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--p); color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 14px; font-weight: 700;
    text-decoration: none;
    transition: all .35s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--p) 55%, transparent);
}
.dc-jilpaq-news .jq-nws__cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px -12px color-mix(in srgb, var(--p) 70%, transparent);
}
.dc-jilpaq-news .jq-nws__cta-primary svg { width: 16px; height: 16px; transition: transform .3s ease; }
.dc-jilpaq-news .jq-nws__cta-primary:hover svg { transform: translateX(4px); }
.dc-jilpaq-news .jq-nws__cta-text {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: #fff;
    text-decoration: none;
    opacity: .85;
    transition: opacity .3s ease, gap .3s ease;
}
.dc-jilpaq-news .jq-nws__cta-text:hover { opacity: 1; gap: 12px; color: var(--p); }
.dc-jilpaq-news .jq-nws__cta-text svg { width: 14px; height: 14px; }

/* Categorie pills onder de CTA's */
.dc-jilpaq-news .jq-nws__cats {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding-top: 24px;
    border-top: 1px dashed rgba(255,255,255,.1);
    max-width: 480px;
}
.dc-jilpaq-news .jq-nws__cat {
    padding: 6px 13px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.75);
    border-radius: 100px; text-decoration: none;
    border: 1px solid rgba(255,255,255,.08);
    transition: all .3s ease;
}
.dc-jilpaq-news .jq-nws__cat:hover {
    background: var(--p); color: #fff; border-color: var(--p);
    transform: translateY(-1px);
}

/* ===== Rechts: card-collage ===== */
.dc-jilpaq-news .jq-nws__collage {
    position: relative;
    min-height: clamp(480px, 50vw, 620px);
}

/* Dashed connectie SVG */

/* Featured card (groot, bovenaan) */
.dc-jilpaq-news .jq-nws__feature {
    position: absolute;
    top: 0; right: 0;
    width: 78%;
    background: var(--p);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 30px 70px -28px color-mix(in srgb, var(--p) 55%, transparent),
        0 6px 16px -6px rgba(0,0,0,.4);
    z-index: 3;
    text-decoration: none; color: #fff;
    display: flex; flex-direction: column;
    transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
    transform: translateY(20px) rotate(-1.5deg);
    opacity: 0;
}
.dc-jilpaq-news .jq-nws__feature.is-in {
    opacity: 1;
    transform: translateY(0) rotate(-1.5deg);
}
.dc-jilpaq-news .jq-nws__feature:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow:
        0 40px 80px -28px color-mix(in srgb, var(--p) 70%, transparent),
        0 10px 20px -6px rgba(0,0,0,.5);
}

.dc-jilpaq-news .jq-nws__feature-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 0;
    color: rgba(255,255,255,.85);
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.dc-jilpaq-news .jq-nws__dots {
    display: inline-flex; gap: 4px;
}
.dc-jilpaq-news .jq-nws__dots span {
    width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.7);
}

.dc-jilpaq-news .jq-nws__feature-media {
    position: relative;
    margin: 14px 14px 0;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: rgba(0,0,0,.18);
}
.dc-jilpaq-news .jq-nws__feature-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 1s cubic-bezier(.22,1,.36,1);
}
.dc-jilpaq-news .jq-nws__feature:hover .jq-nws__feature-media img { transform: scale(1.05); }
.dc-jilpaq-news .jq-nws__feature-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45));
}

.dc-jilpaq-news .jq-nws__feature-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 20px 22px;
}
.dc-jilpaq-news .jq-nws__feature-title {
    font-family: 'Inter','Poppins',sans-serif;
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 700; line-height: 1.3;
    margin: 0;
    color: #fff;
    flex: 1;
}
.dc-jilpaq-news .jq-nws__feature-title b {
    font-weight: 800;
    /* "with" highlight zoals in design */
    color: rgba(255,255,255,.7);
    font-weight: 600;
}
.dc-jilpaq-news .jq-nws__pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--a);
    color: var(--d);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12px; font-weight: 700; letter-spacing: .01em;
    white-space: nowrap;
    box-shadow: 0 6px 14px -4px rgba(0,0,0,.35);
    flex-shrink: 0;
}
.dc-jilpaq-news .jq-nws__pill svg { width: 12px; height: 12px; }

/* Tweede kaart (stat / overlap onder) */
.dc-jilpaq-news .jq-nws__stat {
    position: absolute;
    bottom: 6%; right: 10%;
    width: 72%;
    background: var(--p);
    border-radius: 24px;
    padding: 18px 20px;
    box-shadow:
        0 30px 70px -28px color-mix(in srgb, var(--p) 55%, transparent),
        0 6px 16px -6px rgba(0,0,0,.4);
    z-index: 4;
    color: #fff;
    display: flex; flex-direction: column; gap: 14px;
    transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
    transform: translateY(20px) rotate(2deg);
    opacity: 0;
}
.dc-jilpaq-news .jq-nws__stat.is-in {
    opacity: 1;
    transform: translateY(0) rotate(2deg);
}
.dc-jilpaq-news .jq-nws__stat:hover {
    transform: translateY(-6px) rotate(0deg);
    z-index: 12;
}

.dc-jilpaq-news .jq-nws__stat-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.dc-jilpaq-news .jq-nws__stat-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--a); color: var(--d);
    padding: 5px 12px 5px 5px;
    border-radius: 100px;
    font-size: 13px; font-weight: 800; letter-spacing: -.01em;
}
.dc-jilpaq-news .jq-nws__stat-avatars {
    display: inline-flex;
}
.dc-jilpaq-news .jq-nws__stat-avatars img {
    display: block; width: 22px; height: 22px; border-radius: 50%;
    margin-left: -7px;
    border: 2px solid var(--a);
    object-fit: cover; object-position: center;
}
.dc-jilpaq-news .jq-nws__stat-avatars img:first-child { margin-left: 0; }
.dc-jilpaq-news .jq-nws__stat-title {
    font-family: 'Inter','Poppins',sans-serif;
    font-weight: 800; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.25;
    color: #fff; margin: 0;
    max-width: 60%;
    text-align: right;
}
.dc-jilpaq-news .jq-nws__stat-title b {
    font-weight: 600;
    color: rgba(255,255,255,.7);
}

/* Floating decoratie-chips (asterisk, globe, heart-shield) */
.dc-jilpaq-news .jq-nws__chip {
    position: absolute;
    border-radius: 14px;
    background: var(--a);
    color: var(--p);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
    z-index: 6;
    animation: jq-nws-bob 6s ease-in-out infinite;
    will-change: transform;
}
.dc-jilpaq-news .jq-nws__chip svg { width: 22px; height: 22px; }
.dc-jilpaq-news .jq-nws__chip--star {
    top: -10px; right: 6%;
    width: 56px; height: 56px;
    animation-delay: 0s;
    color: #fff;
    background: var(--p);
}
.dc-jilpaq-news .jq-nws__chip--star svg { width: 28px; height: 28px; }
.dc-jilpaq-news .jq-nws__chip--globe {
    top: 4%; right: -6%;
    width: 48px; height: 48px;
    animation-delay: 1.5s;
}
.dc-jilpaq-news .jq-nws__chip--heart {
    bottom: 16%; right: -8%;
    width: 56px; height: 56px;
    animation-delay: 3s;
}
@keyframes jq-nws-bob {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50%      { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
.dc-jilpaq-news .jq-nws__chip--star  { --r: -6deg; }
.dc-jilpaq-news .jq-nws__chip--globe { --r: 8deg; }
.dc-jilpaq-news .jq-nws__chip--heart { --r: -4deg; }

/* Responsive */
@media (max-width: 1100px) {
    .dc-jilpaq-news .jq-nws__inner { grid-template-columns: 1fr; gap: 56px; }
    .dc-jilpaq-news .jq-nws__collage { min-height: 520px; }
}
@media (max-width: 720px) {
    .dc-jilpaq-news .jq-nws__feature { width: 100%; right: 0; }
    .dc-jilpaq-news .jq-nws__stat { width: 90%; right: 4%; bottom: 0; }
    .dc-jilpaq-news .jq-nws__chip--globe { right: 4%; }
    .dc-jilpaq-news .jq-nws__chip--heart { right: 0; }
    .dc-jilpaq-news .jq-nws__chip--star { right: 14%; }
    .dc-jilpaq-news .jq-nws__collage { min-height: 600px; }
}
@media (prefers-reduced-motion: reduce) {
    .dc-jilpaq-news .jq-nws__feature,
    .dc-jilpaq-news .jq-nws__stat,
    .dc-jilpaq-news .jq-nws__chip {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: rotate(var(--r, 0deg));
    }
}
