/* 
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
*/

/* For browsers that support clamp  */
@supports (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--fs-sm: clamp(0.83rem, 0.21vi + 0.78rem, 0.95rem);
		--fs-base: clamp(1rem, 0.34vi + 0.91rem, 1.19rem);
		--fs-md: clamp(1.2rem, 0.52vi + 1.07rem, 1.48rem);
		--fs-lg: clamp(1.44rem, 0.76vi + 1.25rem, 1.86rem);
		--fs-xl: clamp(1.73rem, 1.08vi + 1.46rem, 2.32rem);
		--fs-xxl: clamp(2.07rem, 1.5vi + 1.7rem, 2.9rem);
		--fs-xxxl: clamp(2.49rem, 2.06vi + 1.97rem, 3.62rem);
  }
}
/* For browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--fs-sm: 0.83rem;
		--fs-base: 1rem;
		--fs-md: 1.2rem;
		--fs-lg: 1.44rem;
		--fs-xl: 1.73rem;
		--fs-xxl: 2.07rem;
		--fs-xxxl: 2.49rem;
  }
  @media screen and (min-width: 1280px) {
    :root {
			--fs-sm: 0.95rem;
			--fs-base: 1.19rem;
			--fs-md: 1.48rem;
			--fs-lg: 1.86rem;
			--fs-xl: 2.32rem;
			--fs-xxl: 2.9rem;
			--fs-xxxl: 3.62rem;
    }
  }
}

:is(h1, h2, h3, h4, h5, h6), .balance {
    text-wrap: balance;
}

p, div, blockquote, li {
    text-wrap: pretty;
}

body {
	font-size: var(--fs-base);
	line-height: 1.5;
 }
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	color: #2B3E64;
}
h1 {
	font-size: var(--fs-xxxl);
}
h2 {
	font-size: var(--fs-xxl);
}
h3 {
	font-size: var(--fs-xl);
}
h4 {
	font-size: var(--fs-lg);
}
h5 {
	font-size: var(--fs-md);
}
h6 {
	font-size: var(--fs-base);
}

/* PERSONALIZZAZIONI TIPOGRAFIA */
.blogpost-title h1 {
	font-size: var(--fs-xxl);
	font-weight: 900;
}
.blogpost-content h2 {
	font-size: var(--fs-xl);
}
.blogpost-content h3 {
	font-size: var(--fs-lg);
}
.blogpost-content h4 {
	font-size: var(--fs-md);
}
.blogpost-content h5 {
	font-size: var(--fs-md);
	font-weight: 600;
}
.blogpost-content h6 {
	font-size: var(--fs-md);
	font-weight: 500;
}

/* PADDING SEZIONI */

.ele-section-inline {
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-xs {
	padding-block: clamp(1rem, 0.833rem + 0.741vw, 1.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-s {
	padding-block: clamp(1.5rem, 1.5rem + 0vw, 1.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-m {
	padding-block: clamp(1.5rem, 1.167rem + 1.481vw, 2.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-d {
	padding-block: clamp(3rem, 2.333rem + 2.963vw, 5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-l {
	padding-block: clamp(4.5rem, 3.5rem + 4.444vw, 7.5rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

.ele-section-xl {
	padding-block: clamp(6rem, 4.667rem + 5.926vw, 10rem);
	padding-inline: clamp(1rem, 0.833rem + 0.741vw, 1.5rem) !important;
}

/* ARTICOLI BLOG */

.single-post .blogpost-content .wp-block-image {
margin-block: 2em;
}

.single-post .blogpost-content .wp-block-heading:not(:first-child) {
	margin-block-start: 1.5em;
	margin-block-end: .5em;
}