/* Compactere secties */
section.section.modular { padding: 48px 0; }

/* Hero compacter en gecentreerd */
.intro { max-width: 720px; margin: 0 auto; text-align: center; }
.intro__content h1 { margin-bottom: 12px; }

/* Knoppen in de intro-sectie */
.intro__content a.btn {
    display: inline-block;
    margin: 8px 8px 0 0;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.intro__content a.btn-primary {
    background: var(--accent, #3085EE);
    color: #fff;
}
.intro__content a.btn-primary:hover {
    background: var(--accent-hover, #126ee0);
    color: #fff;
}
.intro__content a.btn-ghost {
    border: 1px solid var(--accent, #3085EE);
    color: var(--accent, #3085EE);
}
.intro__content a.btn-ghost:hover {
    background: var(--accent, #3085EE);
    color: #fff;
}

/* Foto als ovaal in plaats van een cirkel */
.intro__img {
    width: 180px;
    height: 220px;            /* Maak de hoogte iets groter dan de breedte voor een ovaal effect */
    max-width: 180px;
    flex: 0 0 180px;
    object-fit: cover;
    border-radius: 50% / 40%; /* Maakt de vorm ovaal (horizontaal 50%, verticaal 40%) */
    border: 3px solid #e5e5e5;
}

@media (max-width: 600px) {
    .intro__img { 
        width: 120px; 
        height: 150px;        /* Ook op mobiel de hoogte iets groter houden */
        max-width: 120px; 
        flex-basis: 120px; 
    }
}

/* Iconen: klein rondje, icoon echt gecentreerd */
.about__detail__icon {
    font-size: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* theme-hack ongedaan maken */
.about__detail__icon i {
    padding: 0;
    font-size: 20px;
    line-height: 1;
}

/* Icoontje iets dichter bij de titel */
.about__detail__icon + h4 {
    margin-top: 8px;
}

/* Blog-teasers op de homepage */
.blog__teaser {
    list-style: none;
    padding: 0;
    max-width: 680px;
    margin: 0 auto 24px;
    text-align: left;
}
.blog__teaser li {
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}
.blog__teaser li:last-child { border-bottom: none; }
.blog__teaser a { font-weight: 600; text-decoration: none; }
.blog__teaser small { display: block; color: #606060; margin-top: 4px; }

/* Tags onder blogpost */
.blog-post__tags { margin-top: 32px; padding-top: 16px; border-top: 1px solid #e5e5e5; }
.blog-post__tags span { color: #606060; margin-right: 6px; }
.blog-post__tag {
    display: inline-block;
    background: #eaf2fd;
    color: #3085EE;
    border-radius: 12px;
    padding: 3px 12px;
    font-size: 14px;
    margin-right: 6px;
    text-decoration: none;
}
.blog-post__tag:hover { background: #3085EE; color: #fff; }

/* Blog-detailpagina: afbeelding kleiner en tekst eromheen */
.blog-post img:first-of-type,
.blog__content img:first-of-type,
#body .blog-post img:first-of-type {
    float: left;
    max-width: 400px;
    width: 100%;
    margin: 4px 28px 20px 0;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .blog-post img:first-of-type,
    .blog__content img:first-of-type,
    #body .blog-post img:first-of-type {
        float: none;
        display: block;
        margin: 0 auto 16px auto;
        max-width: 100%;
    }
}

/* General image handling */

/* ── Afbeeldingen schalen mee met de kolom ────────────────── */
img {
    max-width: 100%;
    height: auto;
}

/* ── Rustige leesmarge rond de content, alle schermen ─────── */
#body {
    padding-left: 24px;
    padding-right: 24px;
}

/* ── Boeken-pagina ── */
.boeken-pagina h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.boeken-pagina img.book-cover {
    float: left;
    margin: 0 28px 20px 0;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 100%;
}

/* De horizontale lijn breekt de float gegarandeerd af */
.boeken-pagina hr {
    clear: both;
    border: none;
    border-top: 1px solid #e5e5e5; /* Pas aan naar wens, of zet border: none; voor een onzichtbare scheiding */
    margin: 40px 0;
}

@media (max-width: 600px) {
    .boeken-pagina img.book-cover {
        float: none;
        display: block;
        margin: 0 auto 16px auto;
        max-width: 260px;
    }
}