/*
 * SG Shortcodes — stili di base.
 * I default replicano quelli di Elementor (padding container 10px, gap 20px, colori e font
 * globali del kit) così che le pagine migrate restino identiche.
 * Breakpoint: tablet <= 1024px, mobile <= 767px.
 */

/* Font (self-hosted, nessuna richiesta a Google) ------------------------- */

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url(../fonts/source-sans-3-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url(../fonts/source-sans-3-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url(../fonts/source-sans-3-italic-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url(../fonts/source-sans-3-italic-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans Pro: usato da alcuni widget Elementor, ha metriche leggermente diverse. */
@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/source-sans-pro-400-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/source-sans-pro-400-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/source-sans-pro-600-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/source-sans-pro-600-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/source-sans-pro-700-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/source-sans-pro-700-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans Pro";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/source-sans-pro-400-italic-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans Pro";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/source-sans-pro-400-italic-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--sg-font: "Source Sans 3", sans-serif;
}

/* Contenitori ------------------------------------------------------------ */

.sg-c {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 1 auto;
	gap: 20px;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 10px;
}

.sg-section {
	margin-right: auto;
	margin-left: auto;
	max-width: 100%;
}

.sg-boxed {
	gap: 0;
}

.sg-boxed > .sg-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
	width: 100%;
	max-width: min(100%, 1140px);
	height: 100%;
	flex-grow: 1;
	margin: 0 auto;
}

/* Come ".elementor a": niente sottolineatura dei link del tema dentro i layout SG. */
.sg-c a,
.sg-c a:hover {
	box-shadow: none;
	text-decoration: none;
}

a.sg-c,
a.sg-c:hover,
a.sg-c:focus {
	color: inherit;
	text-decoration: none;
}

.sg-has-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
}

@media (max-width: 767px) {
	.sg-c:not(.sg-boxed),
	.sg-boxed > .sg-inner {
		flex-wrap: wrap;
	}
	.sg-boxed > .sg-inner {
		max-width: 100%;
	}
}

/* Widget ----------------------------------------------------------------- */

.sg-w {
	position: relative;
	box-sizing: border-box;
	min-width: 0;
}

.sg-heading {
	margin: 0;
	padding: 0;
	color: var(--sg-c-primary);
	font-family: var(--sg-font);
	font-weight: 600;
	line-height: 1;
}

.sg-heading a {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
}

.sg-text {
	color: var(--sg-c-text);
	font-family: var(--sg-font);
	font-weight: 400;
}

.sg-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	box-sizing: border-box;
	padding: 12px 24px;
	border-radius: 3px;
	background-color: var(--sg-c-accent);
	color: #fff;
	fill: currentColor;
	font-family: var(--sg-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s;
}

.sg-button:hover,
.sg-button:focus,
.sg-button:visited {
	color: #fff;
	text-decoration: none;
}

.sg-button-icon {
	display: inline-flex;
	align-items: center;
}

.sg-button-icon svg {
	width: 1em;
	height: auto;
}

.sg-image {
	margin: 0;
	text-align: center;
}

.sg-image img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	border: none;
	border-radius: 0;
	box-shadow: none;
	vertical-align: middle;
}

.sg-icon {
	text-align: center;
}

.sg-icon-i {
	display: inline-block;
	color: var(--sg-c-primary);
	font-size: 50px;
	line-height: 1;
	text-align: center;
	/* Linea di base sul bordo inferiore, come le icone SVG di Elementor. */
	overflow: hidden;
	transition: all 0.3s;
}

.sg-icon-i svg,
.sg-icon-i .sg-icon-img {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sg-icon-i i {
	display: block;
	width: 1em;
	height: 1em;
}

.sg-spacer {
	flex-shrink: 0;
	height: 50px;
}

.sg-dots {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.sg-dot {
	display: block;
	width: 20px;
	aspect-ratio: 1;
	border-radius: 100vmax;
}

.sg-divider {
	display: flex;
	padding-block: 15px;
}

.sg-divider-line {
	display: block;
	width: 100%;
	margin: 0 auto;
	border-top: 1px solid var(--sg-c-secondary);
}

/* Accordion -------------------------------------------------------------- */

.sg-accordion {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.sg-acc-title {
	border: 1px solid #d5d8dc;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px;
	cursor: pointer;
	list-style: none;
	font-family: var(--sg-font);
	font-weight: 600;
	transition: all 0.3s;
}

.sg-acc-title::-webkit-details-marker {
	display: none;
}

.sg-accordion--icon-start .sg-acc-title {
	flex-direction: row-reverse;
	justify-content: flex-end;
}

.sg-acc-text {
	margin: 0;
	font: inherit;
	color: inherit;
}

.sg-acc-icon {
	display: inline-flex;
	line-height: 1;
}

.sg-acc-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sg-acc-opened,
.sg-acc-item[open] > .sg-acc-title .sg-acc-closed {
	display: none;
}

.sg-acc-item[open] > .sg-acc-title .sg-acc-opened {
	display: inline;
}

.sg-acc-content {
	padding: 0;
}

/* Menu ------------------------------------------------------------------- */

.sg-menu {
	--sg-ptr: var(--sg-c-accent);
	--sg-ptr-a: var(--sg-ptr);
}

.sg-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0.25em;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--sg-c-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.sg-menu-toggle svg {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.sg-menu-toggle .sg-menu-close,
.sg-menu.is-open .sg-menu-toggle .sg-menu-open {
	display: none;
}

.sg-menu.is-open .sg-menu-toggle .sg-menu-close {
	display: block;
}

.sg-menu-list,
.sg-menu-list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-menu-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.sg-menu--vertical .sg-menu-list {
	flex-direction: column;
	align-items: stretch;
}

/* Spazio tra le voci diviso a metà sui due lati, come Elementor. */
.sg-menu--horizontal .sg-menu-list > li:not(:last-child) {
	margin-inline-end: calc(var(--sg-menu-gap, 0px) / 2);
}

.sg-menu--horizontal .sg-menu-list > li:not(:first-child) {
	margin-inline-start: calc(var(--sg-menu-gap, 0px) / 2);
}

.sg-menu-list li {
	position: relative;
	margin: 0;
}

.sg-menu-list a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5em;
	padding: 13px 20px;
	color: var(--sg-c-text);
	font-family: var(--sg-font);
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
	transition: all 0.3s;
}

.sg-menu-list > li > a:hover,
.sg-menu-list > li:hover > a {
	color: var(--sg-c-accent);
}

/* Freccia dei sottomenu (chevron di Elementor): 10px dal testo, icona a 0.7em. Nei
   sottomenu a tendina punta a destra. */
.sg-sub-arrow {
	display: inline-flex;
	align-items: center;
	width: 0.7em;
	margin-inline-start: calc(10px - 0.5em);
}

.sg-menu-list .sub-menu .sg-sub-arrow svg {
	transform: rotate(-90deg);
}

.sg-sub-arrow svg {
	width: 100%;
	height: auto;
	fill: currentColor;
}

.sg-menu--ptr-underline .sg-menu-list > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var(--sg-ptr);
	opacity: 0;
	transition: opacity 0.3s;
}

.sg-menu--ptr-underline .sg-menu-list > li > a:hover::after,
.sg-menu--ptr-underline .sg-menu-list > li:hover > a::after {
	opacity: 1;
}

.sg-menu--ptr-underline .sg-menu-list > .current-menu-item > a::after {
	background: var(--sg-ptr-a);
	opacity: 1;
}

.sg-menu--ptr-background .sg-menu-list > li > a:hover,
.sg-menu--ptr-background .sg-menu-list > li:hover > a {
	background-color: var(--sg-ptr);
	color: #fff;
}

.sg-menu--ptr-background .sg-menu-list > .current-menu-item > a {
	background-color: var(--sg-ptr-a);
}

/* Sottomenu a tendina (desktop) */
.sg-menu-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 100;
	display: none;
	min-width: 12em;
	background-color: #fff;
}

.sg-menu-list .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.sg-menu-list li:hover > .sub-menu,
.sg-menu-list li:focus-within > .sub-menu {
	display: block;
}

.sg-menu-list .sub-menu a {
	padding: 10px 20px;
	border-bottom: 1px solid var(--sg-sub-divider, transparent);
	color: var(--sg-c-text);
	font-weight: 600;
	white-space: nowrap;
}

.sg-menu-list .sub-menu a:hover {
	background-color: var(--sg-c-accent);
	color: #fff;
}

/* Hamburger: stesse regole per i due breakpoint (tablet e mobile). */
@media (max-width: 1024px) {
	.sg-menu.sg-menu--bp-tablet .sg-menu-toggle {
		display: inline-flex;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 1000;
		display: none;
		min-width: 260px;
		margin-top: var(--sg-panel-top, 0);
		background-color: var(--sg-panel-bg, #fff);
		box-shadow: var(--sg-panel-shadow, none);
	}
	.sg-menu.sg-menu--bp-tablet.is-open .sg-menu-panel {
		display: block;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sg-menu-list > li {
		margin-inline: 0;
	}
	.sg-menu.sg-menu--bp-tablet .sg-sub-arrow {
		display: inline-flex;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sub-menu .sg-sub-arrow svg {
		transform: none;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sg-menu-list {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sg-menu-list a {
		padding: 10px 20px;
		border-bottom: 1px solid var(--sg-sub-divider, transparent);
		background-color: var(--sg-panel-bg, #fff);
		color: var(--sg-panel-color, var(--sg-c-text));
		font-size: var(--sg-panel-size, inherit);
		white-space: normal;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sg-menu-list a::after {
		display: none;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sg-menu-list a:hover {
		background-color: var(--sg-panel-bg-h, var(--sg-c-accent));
		color: var(--sg-panel-color-h, #fff);
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sg-menu-list .current-menu-item > a {
		background-color: var(--sg-panel-bg-a, var(--sg-panel-bg, #fff));
		color: var(--sg-panel-color-a, var(--sg-panel-color, var(--sg-c-text)));
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sub-menu {
		position: static;
		display: none;
		box-shadow: none;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel .sub-menu a {
		padding-left: 40px;
	}
	.sg-menu.sg-menu--bp-tablet .sg-menu-panel li.is-sub-open > .sub-menu {
		display: block;
	}
}

@media (max-width: 767px) {
	.sg-menu.sg-menu--bp-mobile .sg-menu-toggle {
		display: inline-flex;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel {
		position: absolute;
		top: 100%;
		right: 0;
		z-index: 1000;
		display: none;
		min-width: 260px;
		margin-top: var(--sg-panel-top, 0);
		background-color: var(--sg-panel-bg, #fff);
		box-shadow: var(--sg-panel-shadow, none);
	}
	.sg-menu.sg-menu--bp-mobile.is-open .sg-menu-panel {
		display: block;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sg-menu-list > li {
		margin-inline: 0;
	}
	.sg-menu.sg-menu--bp-mobile .sg-sub-arrow {
		display: inline-flex;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sub-menu .sg-sub-arrow svg {
		transform: none;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sg-menu-list {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sg-menu-list a {
		padding: 10px 20px;
		border-bottom: 1px solid var(--sg-sub-divider, transparent);
		background-color: var(--sg-panel-bg, #fff);
		color: var(--sg-panel-color, var(--sg-c-text));
		font-size: var(--sg-panel-size, inherit);
		white-space: normal;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sg-menu-list a::after {
		display: none;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sg-menu-list a:hover {
		background-color: var(--sg-panel-bg-h, var(--sg-c-accent));
		color: var(--sg-panel-color-h, #fff);
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sg-menu-list .current-menu-item > a {
		background-color: var(--sg-panel-bg-a, var(--sg-panel-bg, #fff));
		color: var(--sg-panel-color-a, var(--sg-panel-color, var(--sg-c-text)));
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sub-menu {
		position: static;
		display: none;
		box-shadow: none;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel .sub-menu a {
		padding-left: 40px;
	}
	.sg-menu.sg-menu--bp-mobile .sg-menu-panel li.is-sub-open > .sub-menu {
		display: block;
	}
}

/* Elenchi di articoli ----------------------------------------------------- */

.sg-posts {
	--sg-gap: 20px;
	--sg-cols: var(--sg-cols-d, 3);
	width: 100%;
}

.sg-posts--grid .sg-posts-track {
	display: grid;
	grid-template-columns: repeat(var(--sg-cols, 3), minmax(0, 1fr));
	gap: var(--sg-gap-v, var(--sg-gap)) var(--sg-gap);
}

.sg-posts--carousel .sg-posts-track {
	display: grid;
	grid-auto-columns: calc((100% - (var(--sg-cols, 3) - 1) * var(--sg-gap)) / var(--sg-cols, 3));
	grid-auto-flow: column;
	gap: var(--sg-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.sg-posts--carousel .sg-posts-track::-webkit-scrollbar {
	display: none;
}

.sg-posts--carousel .sg-posts-item {
	scroll-snap-align: start;
}

@media (max-width: 1024px) {
	.sg-posts {
		--sg-cols: var(--sg-cols-t, 2);
	}
}

@media (max-width: 767px) {
	.sg-posts {
		--sg-cols: var(--sg-cols-m, 1);
	}
}

.sg-posts-item {
	display: flex;
	min-width: 0;
}

.sg-posts-item > .sg-c {
	width: 100% !important;
	max-width: 100%;
	height: 100%;
}

.sg-posts-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 15px;
}

.sg-posts-dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #000;
	opacity: 0.2;
	cursor: pointer;
}

.sg-posts-dots button[aria-current="true"] {
	opacity: 1;
}

.sg-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}



/* Card di riserva per [sg_posts] senza layout */
.sg-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.09);
	color: inherit;
	text-decoration: none;
}

.sg-card-media img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.sg-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
}

.sg-card-title {
	margin: 0;
	font-size: 20px;
}

/* Animazioni d'ingresso (come quelle di Elementor) ----------------------- */

.sg-js .sg-anim:not(.sg-animated) {
	visibility: hidden;
}

.sg-animated {
	animation-duration: 1.25s;
	animation-fill-mode: both;
}

.sg-animated[data-sg-anim="fadeIn"] { animation-name: sgFadeIn; }
.sg-animated[data-sg-anim="fadeInUp"] { animation-name: sgFadeInUp; }
.sg-animated[data-sg-anim="fadeInDown"] { animation-name: sgFadeInDown; }
.sg-animated[data-sg-anim="fadeInLeft"] { animation-name: sgFadeInLeft; }
.sg-animated[data-sg-anim="fadeInRight"] { animation-name: sgFadeInRight; }
.sg-animated[data-sg-anim="zoomIn"] { animation-name: sgZoomIn; }

@keyframes sgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sgFadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes sgFadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes sgFadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes sgFadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes sgZoomIn { from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.sg-animated {
		animation: none;
	}
}

/* Visibilità per dispositivo -------------------------------------------- */

@media (min-width: 1025px) {
	.sg-hide-d { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	.sg-hide-t { display: none !important; }
}

@media (max-width: 767px) {
	.sg-hide-m { display: none !important; }
}

/* Varie ------------------------------------------------------------------ */

.sg-fallback {
	box-sizing: border-box;
	max-width: 1140px;
	margin: 0 auto;
	padding: 40px 20px;
}
