/* =========================================================
   Hero (ACF block) — content links + afbeelding rechts
   PH Kompas huisstijl
   ========================================================= */

.hero{
    display:grid;
    grid-template-columns:2.5fr 1fr;   /* tekst krijgt meer ruimte */
    background:#ffffff;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(8,40,70,.08);
    overflow:hidden;
    width:100%;
    flex:1 1 100%;                     /* altijd volle breedte, ook in een flex-groep en met korte tekst */
}

/* --- Linkerkolom: content --- */
.hero__content{
    padding:48px 56px;                 /* ruimer */
    align-self:center;
}
/* Breadcrumb (Rank Math SEO) */
.hero__breadcrumb{
    margin:0 0 12px;
    font-size:13px;
    color:#7a8794;
    line-height:1.5;
}
.hero__breadcrumb a{
    color:#FC308C;                 /* brand-pink */
    font-weight:600;
    text-decoration:none;
}
.hero__breadcrumb a:hover{ text-decoration:underline; }
/* Rank Math wrappers netjes in de hero laten passen */
.hero__breadcrumb p,
.hero__breadcrumb .rank-math-breadcrumb p{ margin:0; }
.hero__breadcrumb .separator{ margin:0 6px; color:#c3ccd4; }
.hero__title{
    margin:0 0 16px;
    color:#1f2d38;
    font-size:38px;
    line-height:1.12;
    font-weight:800;
}
.hero__intro{
    margin:0 0 24px;
    color:#36454f;
    font-size:17.5px;
    line-height:1.65;
}
.hero__intro p{ margin:0 0 10px; }
.hero__intro p:last-child{ margin-bottom:0; }

/* --- Infokaartjes --- */
.hero__cards{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:0 0 22px;
}
.hero__card{
    display:flex;
    align-items:baseline;
    gap:14px;
    background:#EAF4FB;            /* lichtblauw */
    border-radius:12px;
    padding:12px 16px;
}
.hero__card-label{
    flex:0 0 auto;
    min-width:150px;
    color:#0069A4;                 /* brand-blue */
    font-weight:800;
    font-size:12px;
    letter-spacing:.5px;
    text-transform:uppercase;
}
.hero__card-value{
    color:#1f2d38;
    font-weight:600;
}

/* --- Knoppen --- */
.hero__buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.hero__btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 32px;
    border-radius:999px;
    border:2px solid transparent;
    font-weight:700;
    font-size:17px;
    line-height:1;
    text-decoration:none;
    cursor:pointer;
    transition:background-color .18s ease, color .18s ease, border-color .18s ease;
}
.hero__btn.is-primary{
    background:#FC308C;
    color:#ffffff;
    box-shadow:0 6px 16px rgba(252,48,140,.28);
}
.hero__btn.is-primary:hover{ background:#d61f72; }
.hero__btn.is-secondary{
    background:#ffffff;
    color:#FC308C;
    border-color:#FC308C;
}
.hero__btn.is-secondary:hover{ background:#FDF2F8; }

/* --- Rechterkolom: afbeelding (altijd vierkant) --- */
.hero__media{
    position:relative;
    aspect-ratio:1 / 1;        /* forceert een vierkant beeld, los van de teksthoogte */
    align-self:center;         /* centreert het vierkant als de tekst hoger is */
    background:#eef3f7;
    overflow:hidden;
}
.hero__media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.hero__placeholder{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#9aa6b1;
    font-weight:700;
    background:repeating-linear-gradient(45deg,#eef3f7,#eef3f7 12px,#e6edf2 12px,#e6edf2 24px);
}

/* --- Responsive --- */
@media (max-width:820px){
    .hero{ grid-template-columns:1fr; }
    .hero__media{ order:-1; width:100%; max-width:360px; margin:0 auto; }   /* vierkant, gecentreerd bovenaan op mobiel */
    .hero__content{ padding:30px 26px; }
    .hero__title{ font-size:28px; }
    .hero__btn{ font-size:16px; padding:13px 26px; }
    .hero__card{ flex-direction:column; gap:2px; }
    .hero__card-label{ min-width:0; }
}

/* --- Print: compacte hero (afbeelding links, introtekst rechts), fijne lijn i.p.v. schaduw.
       Zelfde aanpak als de Onderzoek-pagina's. --- */
@media print{
    .hero{
        display:grid !important;
        grid-template-columns:1fr 1.4fr !important;   /* afbeelding links (smal), introteksten rechts */
        box-shadow:none !important;
        border:1px solid #d9e1e8;
        border-radius:10px;
        overflow:hidden;
        break-inside:avoid; page-break-inside:avoid;
        margin-bottom:10px;
    }
    .hero__media{
        grid-column:1; grid-row:1; order:0;
        width:auto; max-width:none; margin:0;
        aspect-ratio:1 / 1; max-height:70mm;
    }
    .hero__content{ grid-column:2; grid-row:1; padding:16px 18px; }
    .hero__title{ font-size:24px; }
    .hero__buttons{ display:none !important; }   /* knoppen zijn nutteloos op papier */
    .hero__card{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}
