/*
 * Poprawka dotyczy wyłącznie konkretnego bloku WYSIWYG na stronie /dla-firm/.
 * H3 musi znajdować się bezpośrednio po H1, więc inne nagłówki pozostają bez zmian.
 */
body.page-dla-firm .single-element.single-element-tresc_wysiwig > .text-wysiwig > h1 + h3,
body.page-template-default .single-element.single-element-tresc_wysiwig > .text-wysiwig > h1 + h3 {
    margin-top: 34px !important;
}

/* Usunięcie ewentualnego dolnego marginesu H1 zapobiega sumowaniu odstępów. */
body.page-dla-firm .single-element.single-element-tresc_wysiwig > .text-wysiwig > h1,
body.page-template-default .single-element.single-element-tresc_wysiwig > .text-wysiwig > h1 {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    body.page-dla-firm .single-element.single-element-tresc_wysiwig > .text-wysiwig > h1 + h3,
    body.page-template-default .single-element.single-element-tresc_wysiwig > .text-wysiwig > h1 + h3 {
        margin-top: 24px !important;
    }
}
