/* Layout Builder / Layout Library: alleen laden op nodes met een layout. */
.block-field-blocknodepagetitle .field--name-title {
    display: block;
    font-family: inherit;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 15px;
    text-transform: none;
}
@media (min-width: 992px) {
    .block-field-blocknodepagetitle .field--name-title { font-size: 32px; }
}
@media (min-width: 1200px) {
    .block-field-blocknodepagetitle .field--name-title { font-size: 36px; }
}
.layout-builder__layout [class*="col-"] > .block-field-blocknodepagetitle { margin-bottom: 0; }
.layout-builder__layout [class*="col-"] h1 { margin-top: -0.2em; }

/* Gelijke ademruimte, zonder gaten voor lege Layout Builder-blokken. */
.layout-builder__layout [class*="col-"] > * { margin-bottom: 1.75rem; }
.layout-builder__layout [class*="col-"] > *:last-child { margin-bottom: 0; }
.layout-builder__layout [class*="col-"] > .block:not(:has(
    .content > *:not(:empty),
    .content > img, .content > svg, .content > iframe, .content > video,
    .content > canvas, .content > embed, .content > object,
    .content > input, .content > hr
)) { margin-bottom: 0; }
.layout-builder__layout [class*="col-"] > .views-element-container:not(:has(.view-content, .view-header, .view-footer, .view-empty, form)) { margin-bottom: 0; }

/* Ruimere kolomgutter zonder mobiele overflow. */
.layout.row.layout-builder__layout { --bs-gutter-x: 3rem; }
@media (max-width: 767.98px) {
    article.node > .layout.row.layout-builder__layout,
    .node__content > .layout.row.layout-builder__layout {
        margin-left: 0;
        margin-right: 0;
    }
}
