/* ========================================
   BASIS — ALLEEN NIEUWSINHOUD
   ======================================== */

.news-content {
    --news-green: #0a7f3f;
    --news-ink: #14251d;
    --news-muted: #58695f;
    --news-line: #dfe8e2;

    clear: both;
    background: #f6f8f6;
    color: var(--news-ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

.news-content *,
.news-site-footer * {
    box-sizing: border-box;
}

.news-content .wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.news-content a {
    color: var(--news-green);
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4 {
    color: var(--news-ink);
    text-transform: none;
}

.news-content a:focus-visible,
.news-content button:focus-visible,
.news-content select:focus-visible,
.news-site-footer a:focus-visible {
    outline: 3px solid #ff7a1a;
    outline-offset: 4px;
}


/* ========================================
   BREADCRUMB
   ======================================== */

.news-breadcrumb-bar {
    background: linear-gradient(135deg, #e8f3eb, #f6f8f6);
}

.news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;

    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 28px;

    color: var(--news-muted);
    font-size: 13px;
    line-height: 1.7;
}

.news-breadcrumb > span:last-child {
    overflow-wrap: anywhere;
}


/* ========================================
   HERO
   ======================================== */

.news-content .hero {
    padding: 60px 0 64px;
    border-bottom: 1px solid var(--news-line);
    background: linear-gradient(135deg, #e8f3eb, #f6f8f6);
}

.news-content .eyebrow {
    margin: 0 0 12px;
    color: var(--news-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.news-content .hero h1 {
    margin: 0 0 24px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.news-content .hero p:not(.eyebrow) {
    max-width: 660px;
    margin-bottom: 28px;
    color: var(--news-muted);
    font-size: 18px;
    line-height: 1.8;
}


/* ========================================
   KNOPPEN
   ======================================== */

.news-content .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 13px 22px;
    border-radius: 11px;
    background: var(--news-green);
    color: #fff;
    font-weight: 700;
    line-height: 1.5;
}

.news-content .button:hover {
    background: #086734;
    text-decoration: none;
}


/* ========================================
   SECTIES EN MAANDFILTER
   ======================================== */

.news-content .section {
    padding-top: 48px;
    padding-bottom: 60px;
    scroll-margin-top: 100px;
}

.news-content .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.news-content .section-head h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.news-content .section-head p {
    margin: 0;
    color: var(--news-muted);
}

.news-content .section-head .eyebrow {
    margin-bottom: 12px;
    color: var(--news-green);
}

.news-content .section-head form {
    margin: 0;
}

.news-content .section-head label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.news-content .filter {
    display: flex;
    gap: 8px;
}

.news-content .filter select,
.news-content .filter button {
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #d5dfd8;
    border-radius: 9px;
    background: #fff;
    color: var(--news-ink);
    font: inherit;
}

.news-content .filter button {
    border-color: var(--news-green);
    background: var(--news-green);
    color: #fff;
    cursor: pointer;
}


/* ========================================
   NIEUWSKAARTEN
   ======================================== */

.news-content .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.news-content .card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--news-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 37, 29, .025);
}

.news-content .image-link {
    position: relative;
    display: block;
}

.news-content .card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.news-content .photo-label {
    position: absolute;
    bottom: 10px;
    left: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .92);
    color: #435148;
    font-size: 10px;
}

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

.news-content .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #65766b;
    font-size: 12px;
}

.news-content .meta span {
    color: var(--news-green);
    font-weight: 700;
}

.news-content .card h3 {
    margin: 14px 0 12px;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.news-content .card h3 a {
    color: var(--news-ink);
}

.news-content .card p {
    margin: 0 0 24px;
    color: var(--news-muted);
    font-size: 15px;
    line-height: 1.75;
}

.news-content .read {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
}


/* ========================================
   PAGINERING EN LEGE RESULTATEN
   ======================================== */

.news-content .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 32px 0;
}

.news-content .pagination a {
    padding: 9px 14px;
    border: 1px solid var(--news-line);
    border-radius: 9px;
    background: #fff;
    font-weight: 700;
}

.news-content .empty {
    margin-bottom: 24px;
    padding: 32px;
    border: 1px solid var(--news-line);
    border-radius: 18px;
    background: #fff;
}


/* ========================================
   OPROEP TOT ACTIE
   ======================================== */

.news-content .cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-top: 44px;
    padding: 32px;
    border: 1px solid #d2e3d7;
    border-radius: 24px;
    background: #e7f0e9;
}

.news-content .cta h2 {
    margin: 0 0 10px;
    font-size: 27px;
    line-height: 1.3;
}

.news-content .cta p {
    margin: 0;
    color: var(--news-muted);
}

.news-content .cta .button {
    flex-shrink: 0;
}


/* ========================================
   NIEUWSARTIKEL
   ======================================== */

.news-content .detail {
    max-width: 950px;
}

.news-content .back {
    display: inline-block;
    margin-bottom: 32px;
    font-weight: 700;
}

.news-content .detail h1 {
    margin: 18px 0 28px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.news-content .detail figure {
    margin: 0 0 30px;
}

.news-content .detail figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    border-radius: 16px;
    object-fit: cover;
}

.news-content .detail figcaption {
    margin-top: 6px;
    color: var(--news-muted);
    font-size: 12px;
}

.news-content .intro {
    color: #43574a;
    font-size: 21px;
    line-height: 1.75;
}

.news-content .article-body {
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.news-content .article-body h2 {
    margin-top: 30px;
    font-size: 28px;
    line-height: 1.3;
}

.news-content .article-body h3 {
    font-size: 23px;
    line-height: 1.4;
}

.news-content .article-body p {
    margin: 0 0 20px;
}

.news-content .article-body ul,
.news-content .article-body ol {
    margin: 0 0 24px;
    padding-left: 25px;
}

.news-content .article-body li {
    margin-bottom: 8px;
}

.news-content .article-body blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--news-green);
    background: #edf5ef;
    color: #52675a;
    font-size: inherit;
}

.news-content .article-body img {
    max-width: 100%;
    height: auto;
}

.news-content .article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.news-content .article-body iframe {
    max-width: 100%;
}


/* ========================================
   BRONVERMELDING
   ======================================== */

.news-content .source {
    margin-top: 30px;
    padding: 30px;
    border: 1px solid var(--news-line);
    border-radius: 18px;
    background: #fff;
}

.news-content .source h2 {
    margin-top: 0;
    font-size: 24px;
}

.news-content .source p {
    color: var(--news-muted);
}


/* ========================================
   VIDEO
   ======================================== */

.news-content .news-video {
    margin: 36px 0;
}

.news-content .video-frame {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 16px;
    background: #102c1c;
}

.news-content .video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ========================================
   FOOTER — DEZELFDE STIJL ALS HOME
   ======================================== */

.news-site-footer {
    clear: both;
    padding: 36px 0;
    background: #14251d;
    color: #dce9e1;
}

.news-footer-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.news-site-footer strong {
    color: #fff;
    font-size: 20px;
}

.news-site-footer p {
    color: #b9cec1;
}

.news-site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 22px 0;
}

.news-site-footer a {
    color: #dce9e1;
}

.news-site-footer small {
    color: #b9cec1;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 960px) {
    .news-content .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-content .hero {
        padding: 44px 0;
    }

    .news-content .cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ========================================
   MOBIEL
   ======================================== */

@media (max-width: 600px) {
    .news-content .wrap,
    .news-footer-wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .news-breadcrumb {
        padding: 20px 18px;
    }

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

    .news-content .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-content .section {
        padding-top: 32px;
        padding-bottom: 40px;
    }

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

    .news-content .cta,
    .news-content .source {
        padding: 22px;
    }

    .news-content .button {
        font-size: 14px;
    }

    .news-content .hero p:not(.eyebrow) {
        font-size: 17px;
    }
}
/* =========================================
   NIEUWS — BANNER EN BREADCRUMB
   ========================================= */

.news-hero {
    position: relative;
    clear: both;
    width: 100%;
    min-height: 460px;

    background-color: #edf5ee;
    background-image:
        linear-gradient(
            90deg,
            rgba(237, 245, 238, .98) 0%,
            rgba(237, 245, 238, .90) 35%,
            rgba(237, 245, 238, .35) 58%,
            rgba(237, 245, 238, 0) 75%
        ),
        url("/images/banners/info-thomas-banner.png");

    background-position: center, center right;
    background-size: cover;
    background-repeat: no-repeat;

    border-bottom: 1px solid #dfe8e2;
}

.news-hero,
.news-hero * {
    box-sizing: border-box;
}

.news-hero-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 28px 60px;
}

/* Breadcrumb */

.news-hero-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin: 0 0 38px;
    padding: 0;

    font-size: 13px;
    line-height: 1.6;
    color: #58695f;
}

.news-hero-crumb a {
    color: #0a7f3f;
    font-weight: 400;
    text-decoration: none;
}

.news-hero-crumb a:hover {
    text-decoration: underline;
}

/* Bannertekst */

.news-hero-copy {
    width: 55%;
    max-width: 650px;
}

.news-hero-kicker {
    display: block;
    margin-bottom: 16px;

    color: #0a7f3f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-hero .news-hero-copy h1 {
    margin: 0 0 22px;

    color: #14251d !important;
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-transform: none;
}

.news-hero .news-hero-copy p {
    max-width: 540px;
    margin: 0 0 28px;

    color: #58695f !important;
    font-size: 18px;
    line-height: 1.8;
}

/* Knop */

.news-hero .news-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 14px 22px;
    border: 1px solid #0a7f3f;
    border-radius: 12px;

    background: #0a7f3f;
    color: #fff !important;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
}

.news-hero .news-hero-button:hover {
    background: #086734;
    border-color: #086734;
}

.news-hero a:focus-visible {
    outline: 3px solid #ff7a1a;
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1000px) {
    .news-hero-copy {
        width: 60%;
    }

    .news-hero {
        min-height: 420px;
    }
}

/* Mobiel: afbeelding boven de tekst */

@media (max-width: 700px) {
    .news-hero {
        min-height: 0;
        background: #edf5ee;
    }

    .news-hero::before {
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 3 / 1;

        background-image:
            url("/images/banners/info-thomas-banner.png");
        background-position: center right;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .news-hero-inner {
        padding: 24px 18px 34px;
    }

    .news-hero-crumb {
        margin-bottom: 24px;
    }

    .news-hero-copy {
        width: 100%;
        max-width: none;
    }

    .news-hero .news-hero-copy h1 {
        font-size: clamp(34px, 8vw, 44px);
    }

    .news-hero .news-hero-copy p {
        font-size: 16px;
    }
}