/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

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

body {
	font-family: var(--e-global-typography-text-font-family);
	font-size: var(--fs-base);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--e-global-typography-primary-font-family);
}

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

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/* Custom CSS Elementor */
.card-image-cover img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
}

.ar-9-16 {
	aspect-ratio: 9 / 16;
}

.ar-2-3 {
	aspect-ratio: 1 / 1;
}

@media only screen and (min-width: 768px) {
    .ar-2-3 {
		aspect-ratio: 2 / 3;
	}
}

.ar-4-3 {
	aspect-ratio: 4 / 3;
}

.box-title {
	margin-top: -50px;
}
.box-title .elementor-widget-container {
	padding: 8px 16px;
	background-color: var(--e-global-color-604e9fc);
}

.box-title h2 {
	color: var(--e-global-color-2ccf656);
}