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

/* Text wrap */
h1,h2,h3,h4,h5,h6, .balance {
    text-wrap: balance;
}

ul,ol,dl,dt,dd,p,figure,blockquote, .pretty {
    text-wrap: pretty;
}

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

/* Fallback per browser che non supportano clamp() */
@supports not (padding: clamp(1rem, 1vw, 2rem)) {
	/* Valori base mobile */
	.ele-section-inline {
		padding-inline: 1rem !important;
	}
	.ele-section-xs {
		padding-block: 1rem;
		padding-inline: 1rem !important;
	}
	.ele-section-s {
		padding-block: 1.5rem;
		padding-inline: 1rem !important;
	}
	.ele-section-m {
		padding-block: 1.5rem;
		padding-inline: 1rem !important;
	}
	.ele-section-d {
		padding-block: 3rem;
		padding-inline: 1rem !important;
	}
	.ele-section-l {
		padding-block: 4.5rem;
		padding-inline: 1rem !important;
	}
	.ele-section-xl {
		padding-block: 6rem;
		padding-inline: 1rem !important;
	}
	
	/* Valori massimi per desktop */
	@media (min-width: 1280px) {
		.ele-section-inline {
			padding-inline: 1.5rem !important;
		}
		.ele-section-xs {
			padding-block: 1.5rem;
			padding-inline: 1.5rem !important;
		}
		.ele-section-s {
			padding-block: 1.5rem;
			padding-inline: 1.5rem !important;
		}
		.ele-section-m {
			padding-block: 2.5rem;
			padding-inline: 1.5rem !important;
		}
		.ele-section-d {
			padding-block: 5rem;
			padding-inline: 1.5rem !important;
		}
		.ele-section-l {
			padding-block: 7.5rem;
			padding-inline: 1.5rem !important;
		}
		.ele-section-xl {
			padding-block: 10rem;
			padding-inline: 1.5rem !important;
		}
	}
}

/* For browsers that support clamp  */
@supports (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--fs-sm: clamp(0.89rem, 0.12vi + 0.86rem, 0.95rem);
		--fs-base: clamp(1.06rem, 0.23vi + 1.01rem, 1.19rem);
		--fs-md: clamp(1.27rem, 0.38vi + 1.18rem, 1.48rem);
		--fs-lg: clamp(1.53rem, 0.59vi + 1.38rem, 1.86rem);
		--fs-xl: clamp(1.84rem, 0.88vi + 1.62rem, 2.32rem);
		--fs-xxl: clamp(2.2rem, 1.27vi + 1.89rem, 2.9rem);
		--fs-xxxl: clamp(2.64rem, 1.78vi + 2.2rem, 3.62rem);
  }
}
/* For browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--fs-sm: 0.89rem;
		--fs-base: 1.06rem;
		--fs-md: 1.27rem;
		--fs-lg: 1.53rem;
		--fs-xl: 1.84rem;
		--fs-xxl: 2.2rem;
		--fs-xxxl: 2.64rem;
  }
  @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;
    }
  }
}
body {
	font-size: var(--fs-base);
}
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);
}

/* Utilities */

.no-margin > * + *, .no-margin p  {
  margin-block-end: 0;
}

/* Gravity Forms */

body .gform-theme--framework.gform-theme.gform_wrapper .gform_footer .gform_button  {
    background-color: #0c0a09 !important;
	letter-spacing: 0.03em !important;
    color: #f5f5f4 !important;
	text-transform: uppercase !important;
	font-weight: bold !important;
}

body .gform-theme--framework.gform-theme.gform_wrapper .gform_footer .gform_button:hover {
	background-color: #44403c !important;
	color: #fafaf9 !important;
}

body h3.gsection_title {
	font-size: var(--fs-lg);
	margin-bottom: 0px;
}