/* 
Theme Name: Patrizia Paolini Theme
Description: Hello Elementor Child
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
*/

/* For browsers that support clamp  */
@supports (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--fs-sm: clamp(0.83rem, 0.36vi + 0.74rem, 1rem);
		--fs-base: clamp(1rem, 0.54vi + 0.86rem, 1.25rem);
		--fs-md: clamp(1.2rem, 0.78vi + 1rem, 1.56rem);
		--fs-lg: clamp(1.44rem, 1.11vi + 1.16rem, 1.95rem);
		--fs-xl: clamp(1.73rem, 1.54vi + 1.34rem, 2.44rem);
		--fs-xxl: clamp(2.07rem, 2.11vi + 1.54rem, 3.05rem);
		--fs-xxxl: clamp(2.49rem, 2.87vi + 1.77rem, 3.81rem);
  }
}
/* 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: 1140px) {
    :root {
			--fs-sm: 1rem;
			--fs-base: 1.25rem;
			--fs-md: 1.56rem;
			--fs-lg: 1.95rem;
			--fs-xl: 2.44rem;
			--fs-xxl: 3.05rem;
			--fs-xxxl: 3.81rem;
    }
  }
}

body {
	font-size: var(--fs-base);
 }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--e-global-typography-primary-font-family);
	font-weight: 700;
}
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);
}

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

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

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

/* Foooter */
.ele-footer {
  font-size: var(--fs-sm);
  color: var( --e-global-color-10da3ce );
}

.ele-footer a {
    color: var( --e-global-color-a817ff7 );
}

.ele-footer a:not(.elementor-button):hover {
  text-decoration: underline;
}

.ele-footer p {
  margin-block-end: 0;
}

/* Articoli blog */
.single-post .entry-content h2, .single-post .entry-content h3, .single-post .entry-content h4, .single-post .entry-content h5, .single-post .entry-content h6 {
	margin-block-start: 1.5em;
	margin-block-end: .5em;
}
