/**
 * Pagine statiche — titolo tema nascosto in frontend.
 *
 * Il titolo resta in admin (elenco pagine, menu); Hello Elementor non lo stampa in pagina.
 * Selettore body.page: solo pagine, non articoli blog né prodotti WooCommerce.
 *
 * @package Bacheca_Theme_Global
 */

body.page .entry-header,
body.page .page-header,
body.page h1.entry-title {
	display: none !important;
}

/* Footer proprietar: sempre sotto il flusso contenuto (tema-agnostico). */
body.bacheca-own-footer-active .bacheca-own-footer {
	clear: both;
	position: relative;
	z-index: 1;
}

/*
 * Colonne con paragrafo + altezza fissa nel CSS del blocco: il box layout resta
 * basso (es. 30px) ma il testo esce in overflow; il footer dopo </main> finisce
 * visivamente tra la fascia e il resto del testo (vedi screenshot DevTools).
 */
body.bacheca-own-footer-active main .wp-block-columns:has(.wp-block-paragraph),
body.bacheca-own-footer-active main .wp-block-column:has(> .wp-block-paragraph) {
	height: auto !important;
	min-height: 0;
	overflow: visible;
}
