/*
 * VARIABILI DEL TEMA Genesi Life: misure prese dal sito originale (Betheme) con Chrome a 1920/1366/1024/768/390.
 * Colori, font, dimensioni del testo, spaziature, larghezze, header, tempi.
 */
:root {
	/* Colori (Betheme: tema, pulsanti, footer) */
	--gl-color-primary: #0d6526;        /* pulsanti, footer */
	--gl-color-primary-dark: #005819;   /* pulsanti al passaggio del mouse */
	--gl-color-accent: #58b32b;         /* verde chiaro: link footer, pulsante hero, evidenziati, icone */
	--gl-color-accent-dark: #459e19;    /* link footer al passaggio */
	--gl-color-menu-active: #91d56e;    /* voce di menu attiva / al passaggio */
	--gl-color-toggle: #daf9d0;         /* icona del menu mobile */
	--gl-color-text: #486350;
	--gl-color-muted: #879298;
	--gl-color-heading: #052606;
	--gl-color-heading-alt: #3b4b50;    /* h4, h5 grigi */
	--gl-color-bg: #ffffff;
	--gl-color-bg-alt: #cdddcf;         /* fasce verde chiaro */
	--gl-color-dark: #052606;           /* header allo scroll e su mobile */
	--gl-color-on-dark: #ffffff;
	--gl-color-border: #eceff1;
	--gl-color-error: #b91c1c;
	--gl-color-success: #15803d;
	--gl-overlay: rgba(0, 0, 0, .25);

	/* Font: Lato self-hosted (assets/fonts) */
	--gl-font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	--gl-font-heading: var(--gl-font-body);
	--gl-weight-body: 400;
	--gl-weight-heading: 400;

	/* Dimensioni del testo: desktop (>= 960px) */
	--gl-fs-small: 13px;
	--gl-fs-body: 15px;
	--gl-lh-body: 21px;
	--gl-fs-lead: 17px;      /* p.big */
	--gl-lh-lead: 30px;
	--gl-fs-h5: 18px;
	--gl-lh-h5: 19px;
	--gl-fs-h4: 22px;
	--gl-lh-h4: 25px;
	--gl-fs-h3: 30px;
	--gl-lh-h3: 32px;
	--gl-fs-h2: 48px;
	--gl-lh-h2: 48px;
	--gl-fs-h1: 48px;
	--gl-lh-heading: 1.1;

	/* Spaziature */
	--gl-space-xs: 8px;
	--gl-space-s: 15px;
	--gl-space-m: 20px;
	--gl-space-l: 40px;
	--gl-space-xl: 80px;
	--gl-gap: 24px;

	/* Larghezze (section_wrapper di Betheme: 1220 / 940 / 708 / 100%; colonne con margine 1% = 12px) */
	--gl-width: 1196px;
	--gl-width-narrow: 780px;
	--gl-gutter: 12px;
	--gl-header-h: 81px;
	--gl-header-h-scrolled: 81px;

	/* Raggi, ombre, tempi */
	--gl-radius: 0;
	--gl-radius-l: 0;
	--gl-radius-btn: 0;
	--gl-shadow: none;
	--gl-shadow-l: 0 2px 6px rgba(0, 0, 0, .1);
	--gl-speed: .2s;
	--gl-ease: ease-in-out;

	/* Banner CookieYes di MG Toolkit: prima prendeva il colore dal kit di Elementor */
	--e-global-color-primary: var(--gl-color-primary);
}

/* Tablet verticale (768-959): Betheme riduce i titoli */
@media (min-width: 768px) {
	:root {
		--gl-width: 684px;
		--gl-header-h: 91px;
		--gl-header-h-scrolled: 91px;
	}
}

@media (min-width: 960px) {
	:root { --gl-width: 916px; }
}

@media (min-width: 1240px) {
	:root { --gl-width: 1196px; }
}

/* Testo piu' piccolo sotto i 960px (come l'originale, ma mai sotto i 14px per la leggibilita') */
@media (max-width: 959px) {
	:root {
		--gl-fs-body: 14px;
		--gl-lh-body: 20px;
		--gl-fs-lead: 14px;
		--gl-lh-lead: 21px;
		--gl-fs-h2: 41px;
		--gl-lh-h2: 41px;
		--gl-fs-h3: 26px;
		--gl-lh-h3: 28px;
		--gl-fs-h4: 19px;
		--gl-lh-h4: 22px;
	}
}

@media (max-width: 767px) {
	:root {
		--gl-gutter: 33px;
		--gl-fs-h2: 29px;
		--gl-lh-h2: 30px;
		--gl-fs-h3: 18px;
		--gl-lh-h3: 20px;
		--gl-fs-h4: 16px;
		--gl-lh-h4: 20px;
		--gl-fs-h5: 15px;
		--gl-lh-h5: 19px;
	}
}
