/* ===========================================================================
   /inzichten — overzicht en artikel

   Los bestand, alleen op deze twee pagina's geladen. De opmaak van de
   artikelinhoud zelf (.blog-content) staat al in blog-profiel.php; die is
   hierheen verhuisd zodat hij niet meer middenin een pagina staat.
   =========================================================================== */

/* --- de kop van het overzicht ------------------------------------------- */

.inz-kop {
    background: #103856;
    color: #fff;
    padding: 56px 0 44px;
}

.inz-kop h1 {
    color: #fff;
    margin: 0 0 .6rem;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1.1;
}

.inz-kop__lead {
    margin: 0;
    max-width: 580px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgb(255 255 255 / .85);
}

/* --- filters ------------------------------------------------------------ */

.inz-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.inz-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .5rem 1.1rem;
    border: 1px solid #d9e0e8;
    border-radius: 999px;
    background: #fff;
    color: #103856;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s, border-color .2s;
}

.inz-filter span {
    color: #8a929c;
    font-weight: 500;
    font-size: .84rem;
}

.inz-filter:hover {
    background: #f2f5f8;
    color: #103856;
}

.inz-filter.is-actief {
    background: #103856;
    border-color: #103856;
    color: #fff;
}

.inz-filter.is-actief span { color: rgb(255 255 255 / .7); }

/* --- de lijst ----------------------------------------------------------- */

.inz-lijst { padding: 48px 0 64px; }

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

.inz-kaart {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.165,.84,.44,1), box-shadow .3s ease;
}

.inz-kaart:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgb(16 56 86 / .10);
}

.inz-kaart__beeld {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f5f7;
}

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

.inz-kaart__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 22px 22px;
}

.inz-kaart__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: .8rem;
    color: #6e7680;
}

.inz-kaart__label {
    display: inline-block;
    padding: .18rem .6rem;
    border-radius: 6px;
    background: #fdf0e6;
    color: #c2561a;
    font-weight: 700;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.inz-kaart__titel {
    margin: 0 0 .5rem;
    font-size: 1.14rem;
    line-height: 1.35;
}

.inz-kaart__titel a {
    color: #103856;
    text-decoration: none;
}

.inz-kaart__titel a:hover { text-decoration: underline; }

.inz-kaart__kort {
    margin: 0 0 1rem;
    color: #6e6e73;
    font-size: .92rem;
    line-height: 1.6;
}

.inz-kaart__voet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: auto 0 0;
    color: #8a929c;
    font-size: .82rem;
}

/* Leestijd. Een punt ertussen in plaats van een streepje of een kader: het
   is bijzaak en hoort niet te concurreren met de datum. */
.inz-kaart__lezen:not(:first-child)::before,
.inz-artikel__lezen:not(:first-child)::before {
    content: "·";
    margin-right: 10px;
    color: #c3cad2;
}

.inz-artikel__lezen {
    white-space: nowrap;
}

.inz-leeg {
    color: #6e7680;
    font-size: 1.02rem;
}

/* --- het artikel -------------------------------------------------------- */

.inz-artikel__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: .86rem;
    color: #6e7680;
}

.inz-artikel h1 {
    color: #103856;
    line-height: 1.12;
    margin-bottom: .8rem;
}

.inz-artikel__lead {
    font-size: 1.14rem;
    line-height: 1.65;
    color: #44506a;
    margin-bottom: 1.6rem;
}

/* --- de sprekers onder het artikel -------------------------------------- */

.inz-sprekers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.inz-spreker {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}

.inz-spreker__beeld {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

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

.inz-spreker__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 24px 24px;
}

.inz-spreker__naam {
    margin: 0 0 .2rem;
    font-size: 1.1rem;
    color: #103856;
}

.inz-spreker__naam a { color: inherit; text-decoration: none; }
.inz-spreker__naam a:hover { text-decoration: underline; }

.inz-spreker__functie {
    margin: 0 0 .8rem;
    color: #6e7680;
    font-size: .88rem;
}

.inz-spreker__info {
    color: #44506a;
    font-size: .94rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* --- de inhoud van het artikel ------------------------------------------
   Stond als <style> middenin blog-profiel.php. Hoort in een stijlbestand:
   zo geldt hij ook op het overzicht en in de voettekst, en kan de browser
   hem bewaren. */

.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.blog-content figure { margin: 2rem 0; }

.blog-content figcaption {
    font-size: .88rem;
    color: #6b7280;
    margin-top: .6rem;
    line-height: 1.5;
}

/* Een foto die kleiner is dan de kolom wordt niet opgerekt — 620 pixels
   uitvergroten naar 870 levert een wazig plaatje op. */
.blog-content figure img,
.blog-content > img {
    margin-left: 0;
    margin-right: auto;
}

.blog-content h2 { margin: 2.2rem 0 .8rem; }
.blog-content h3 { margin: 1.8rem 0 .7rem; }
.blog-content h4 { margin: 1.5rem 0 .6rem; }

.blog-content p  { margin-bottom: 1.1rem; line-height: 1.8; }
.blog-content ul,
.blog-content ol { margin-bottom: 1.2rem; line-height: 1.8; }
.blog-content li { margin-bottom: .4rem; }

.blog-content blockquote {
    margin: 1.8rem 0;
    padding: .4rem 0 .4rem 1.2rem;
    border-left: 3px solid #f56c20;
    color: #44506a;
}

/* --- smallere schermen -------------------------------------------------- */

@media (max-width: 991.98px) {
    .inz-grid,
    .inz-sprekers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .inz-kop { padding: 36px 0 30px; }
    .inz-lijst { padding: 32px 0 48px; }

    .inz-grid,
    .inz-sprekers { grid-template-columns: 1fr; }

    .inz-filters { gap: 8px; margin-bottom: 26px; }
    .inz-filter { padding: .42rem .9rem; font-size: .86rem; }
}
