/* Basis */
.iv-page {
    --iv-green: #0a7f3f;
    --iv-ink: #14251d;
    --iv-muted: #5b6b62;

    clear: both;
    background: #f6f8f6;
    color: var(--iv-ink);
    padding-bottom: 64px;
}

.iv-page *,
.iv-footer * {
    box-sizing: border-box;
}

.iv-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.iv-page a {
    color: var(--iv-green);
}

.iv-page a:focus-visible,
.iv-footer a:focus-visible,
.iv-search input:focus-visible {
    outline: 3px solid #ff7a1a;
    outline-offset: 4px;
}

/* Banner met Thomas */
.iv-hero {
    min-height: 450px;
    padding: 36px 0 60px;
    border-bottom: 1px solid #dfebe1;
    background-color: #edf4ee;
    background-image:
        linear-gradient(
            90deg,
            rgba(246, 248, 246, .96) 0%,
            rgba(246, 248, 246, .88) 35%,
            rgba(246, 248, 246, .35) 55%,
            rgba(246, 248, 246, 0) 70%
        ),
        url('/images/banners/info-thomas-banner.png');
    background-position: center, right center;
    background-size: cover, cover;
    background-repeat: no-repeat;
}

.iv-crumb {
    margin-bottom: 38px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--iv-muted);
}

.iv-crumb span {
    margin: 0 10px;
}

.iv-hero-grid {
    display: block;
}

.iv-hero-grid > div:first-child {
    width: 55%;
    max-width: 660px;
}

.iv-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--iv-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.iv-page h1 {
    margin: 0 0 22px;
    color: var(--iv-ink);
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-transform: none;
    overflow-wrap: break-word;
}

.iv-hero p {
    max-width: 580px;
    margin: 0 0 26px;
    color: #344b3d;
    font-size: 18px;
    line-height: 1.8;
}

/* De banner vervangt het oude informatievak */
.iv-hero-note {
    display: none;
}

/* Knoppen */
.iv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--iv-green);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
}

.iv-btn:hover {
    background: #086734;
}

/* Categorieën */
.iv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 28px 0;
    border-bottom: 1px solid #e0e8e3;
}

.iv-tabs a {
    padding: 11px 18px;
    border: 1px solid #dce6df;
    border-radius: 30px;
    background: #fff;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.iv-tabs a:hover {
    background: #eaf3ed;
}

.iv-tabs a[aria-current="page"] {
    border-color: var(--iv-ink);
    background: var(--iv-ink);
    color: #fff;
}

/* Artikelen en zoekveld */
.iv-section {
    padding-top: 42px;
    scroll-margin-top: 100px;
}

.iv-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.iv-section-top h2 {
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.3;
    text-transform: none;
}

.iv-section-top > span {
    color: var(--iv-muted);
    white-space: nowrap;
}

.iv-search {
    max-width: 520px;
    margin: 4px 0 28px;
}

.iv-search label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.iv-search input {
    width: 100%;
    height: auto;
    padding: 15px 18px;
    border: 1px solid #d3dfd6;
    border-radius: 12px;
    background: #fff;
    color: var(--iv-ink);
    font-size: 16px;
    line-height: 1.5;
    box-shadow: none;
}

/* Artikelkaarten */
.iv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.iv-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe8e1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 37, 29, .04);
}

.iv-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9f0eb;
}

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

.iv-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.iv-tag {
    margin-bottom: 13px;
    color: var(--iv-green);
    font-size: 12px;
    font-weight: 700;
}

.iv-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.35;
    text-transform: none;
}

.iv-card h3 a {
    color: var(--iv-ink);
    text-decoration: none;
}

.iv-card h3 a:hover {
    color: var(--iv-green);
}

.iv-card p {
    margin: 0 0 24px;
    color: var(--iv-muted);
    line-height: 1.75;
}

.iv-read {
    margin-top: auto;
    font-weight: 700;
}

.iv-empty {
    padding: 26px;
    border-radius: 15px;
    background: #fff;
}

/* Opleidingenblok */
.iv-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 48px;
    padding: 34px;
    border: 1px solid #d9e6dd;
    border-radius: 24px;
    background: #eaf3ed;
}

.iv-cta h2 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.3;
    text-transform: none;
}

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

.iv-cta .iv-btn {
    flex-shrink: 0;
}

/* Footer */
.iv-footer {
    clear: both;
    padding: 38px 0;
    background: #14251d;
    color: #dce9e1;
}

.iv-footer strong {
    color: #fff;
    font-size: 21px;
}

.iv-footer p {
    margin-top: 12px;
    color: #b9cec1;
}

.iv-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 24px 0;
}

.iv-footer a {
    color: #dce9e1;
}

.iv-footer small {
    color: #b9cec1;
}

/* Toegankelijkheid en zoekresultaten */
.iv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.iv-card[hidden],
.iv-image[hidden],
.iv-empty[hidden] {
    display: none !important;
}

/* Tablet */
@media (max-width: 1000px) {
    .iv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .iv-hero-grid > div:first-child {
        width: 58%;
    }

    .iv-page h1 {
        font-size: 42px;
    }
}

/* Mobiel: foto boven de tekst */
@media (max-width: 700px) {
    .iv-wrap {
        padding: 0 18px;
    }

    .iv-hero {
        min-height: 0;
        padding: 0 0 32px;
        background: #edf4ee;
    }

    .iv-hero::before {
        content: "";
        display: block;
        height: clamp(200px, 55vw, 300px);
        margin-bottom: 24px;
        background:
            url('/images/banners/info-thomas-banner.png')
            85% center / cover no-repeat;
    }

    .iv-crumb {
        margin-bottom: 22px;
    }

    .iv-hero-grid > div:first-child {
        width: 100%;
        max-width: none;
    }

    .iv-page h1 {
        font-size: clamp(32px, 8vw, 42px);
    }

    .iv-hero p {
        font-size: 16px;
        line-height: 1.75;
    }

    .iv-grid {
        grid-template-columns: 1fr;
    }

    .iv-tabs {
        gap: 8px;
        padding: 22px 0;
    }

    .iv-tabs a {
        padding: 9px 13px;
        font-size: 13px;
    }

    .iv-section-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 20px;
    }

    .iv-section-top h2 {
        font-size: 26px;
    }

    .iv-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .iv-card-body {
        padding: 24px;
    }
}
.iv-hero {
    background:
        linear-gradient(90deg,
            rgba(246,248,246,.94) 0%,
            rgba(246,248,246,.80) 35%,
            rgba(246,248,246,0) 65%),
        url('/images/banners/info-thomas-banner.png')
        center right / cover no-repeat;
    padding: 36px 0 60px;
    min-height: 450px;
}

.iv-hero-grid {
    display: block;
}

.iv-hero-grid > div:first-child {
    max-width: 58%;
}

.iv-hero-note {
    display: none;
}

@media (max-width: 700px) {
    .iv-hero {
        background: #edf4ee;
        padding: 0 0 30px;
    }

    .iv-hero::before {
        content: "";
        display: block;
        height: 230px;
        margin-bottom: 24px;
        background:
            url('/images/banners/info-thomas-banner.png')
            85% center / cover no-repeat;
    }

    .iv-hero-grid > div:first-child {
        max-width: 100%;
    }
}