/* =========================================================
   Afbeelding-bijschriften (site-wide) — PH Kompas
   Eén consistente stijl voor alle bronnen:
     - Gutenberg core/image  -> figcaption.wp-element-caption
     - Klassieke [caption]    -> .wp-caption-text
     - Template/ACF-figuren   -> .ph-caption (via ph_figure())
   ========================================================= */

.ph-caption,
figcaption.wp-element-caption,
.wp-block-image figcaption,
figure.wp-caption .wp-caption-text,
.gallery-caption{
    margin-top:8px;
    font-size:13px;
    line-height:1.45;
    color:#6b7884;
    font-style:italic;
    text-align:left;
}

figcaption.wp-element-caption {
    text-align: center;
}

/* Herbruikbare figuur-wrapper voor template-afbeeldingen */
.ph-figure{ margin:0; }
.ph-figure > img{ display:block; max-width:100%; height:auto; }

/* Bijschriften erven de tekstkleur/uitlijning netjes binnen de contentkaders */
.standaard-content .wp-element-caption,
.standaard-content .wp-caption-text{ margin-top:8px; }

/* Niet meenemen bij het afdrukken van felle kleuren nodig; blijft leesbaar */
@media print{
    .ph-caption,
    figcaption.wp-element-caption,
    .wp-block-image figcaption,
    figure.wp-caption .wp-caption-text{ color:#555; font-size:11px; }
}
