/* Correzioni di compatibilità tra il CSS originale (Tailwind) e Divi */
[hidden] { display: none !important; }
body.clinixdent { margin: 0; }
/* I moduli Divi (testo, colonne senza classi) non devono creare box: i figli restano "figli diretti" del layout originale */
body.clinixdent:not(.et-fb) .et_pb_text,
body.clinixdent:not(.et-fb) .et_pb_text_inner,
body.clinixdent:not(.et-fb) .cx-contents { display: contents; }
/* Con la barra admin di WP (utente loggato) l'header fisso resta sotto di essa */
body.admin-bar > header.fixed { top: 32px; }
@media (max-width: 782px) { body.admin-bar > header.fixed { top: 46px; } }
#wpadminbar { position: fixed; }
#page-container { padding-top: 0 !important; }

/* space-y-* (Tailwind) agisce sui figli diretti: qui i figli stanno dentro il modulo Testo di Divi */
.space-y-1 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 1); }
.space-y-1\.5 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 1.5); }
.space-y-2 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 2); }
.space-y-3 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 3); }
.space-y-4 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 4); }
.space-y-5 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 5); }
.space-y-6 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 6); }
.space-y-8 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 8); }
.space-y-10 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 10); }
.space-y-12 > .et_pb_text > .et_pb_text_inner > :not(:last-child) { margin-block-end: calc(var(--spacing) * 12); }

