/* Überschriften-Rhythmus im Inhalt - Frontend und Block-Editor (add_editor_style).
   Kadence setzt h1–h6 auf margin 1.5em 0 .5em; Vorgabe Kundin: H2 überall OHNE
   oberen Abstand (der Abstand kommt vom Absatz davor), H3 nach H2 näher heran.
   Gilt für Beiträge/Seiten (.single-content), Kadence-Spalten (.kt-inside-inner-col)
   und den Immobilien-Inhalt (.osm-immo__content). */
.single-content h2,
.kt-inside-inner-col h2,
.osm-immo__content h2,
.block-editor-block-list__layout h2,             /* Editor-Canvas (kein .single-content dort) */
.single-content h2.wp-block-kadence-advancedheading,
.kt-inside-inner-col h2.wp-block-kadence-advancedheading {
    margin-top: 0;
    margin-bottom: 0.5em;
}
.single-content h3,
.osm-immo__content h3,
.block-editor-block-list__layout h3 {
    margin: 1.1em 0 0.4em;
}
.osm-immo__content h4,
.osm-immo__content h5,
.osm-immo__content h6 {
    margin: 1em 0 0.4em;
}
.single-content h2 + h3,
.single-content h2 + h4,
.block-editor-block-list__layout h2 + h3,
.osm-immo__content h2 + h3,
.osm-immo__content h2 + h4 {
    margin-top: 0.4em;
}
.kt-inside-inner-col > .wp-block-kadence-advancedheading:first-child,
.osm-immo__content > :first-child {
    margin-top: 0;
}
