/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* 2025 CSS Reset */
* { box-sizing:border-box; }
html { text-size-adjust:none; }
body { margin:0; min-height:100vh; line-height:1.5; -webkit-font-smoothing:antialiased; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap:break-word; }
/*h1, h2, h3, h4, h5, h6 { line-height:1.2; text-wrap:balance; }*/
p { text-wrap: pretty; }
a { color:inherit; text-decoration-skip-ink:auto; }
img, picture, video, canvas, svg { max-width:100%; display:block; }
input, button, textarea, select { 
	font-family: inherit !important; /*forzatura per chrome mobile se no usa monospace su textarea*/ 
	font-size:inherit; 
	font-weight:inherit; 
}
textarea { min-height:10em; }
:target { scroll-margin-block:5rem; } /* sticky header height */

/* Sostituisce la logica "prevent" */
/* Applica queste regole ai contenitori dove vuoi mantenere lo scroll nativo */

/* Lenis fix: permette lo scroll nativo all'interno dell'elemento */
#cc-settings-modal, .cc-modal, .cc-modal-content, .e-off-canvas { 
    overflow-y: scroll !important; 
    overscroll-behavior: contain; 
}