/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
/* =========================================================================
 * TenderVino — home page orientata agli attori del portale
 * Le classi arrivano dal campo "custom class" degli elementi ALB, quindi
 * restano modificabili dal builder senza toccare questo file.
 * ====================================================================== */

/* --- Sezione iniziale: una sola promessa, una sola azione ------------- */

#top #tv-hero .avia-button {
	padding: 18px 46px;
	font-size: 18px;
	letter-spacing: .01em;
}

#top #tv-hero .tv-hero__sotto {
	margin-top: 18px;
}

#top #tv-hero .tv-hero__sotto p {
	color: #6b7280;
	font-size: 15px;
}

/* --- Le tre porte d'ingresso ----------------------------------------- */

#top #tv-porte .tv-porta {
	display: flex;
	flex-direction: column;
	padding: 30px 26px 26px;
	background: #fff;
	border: 1px solid #e3e0de;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	transition: border-color .18s ease-in-out, box-shadow .18s ease-in-out, transform .18s ease-in-out;
}

#top #tv-porte .tv-porta:hover {
	border-color: #bc1823;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .09);
	transform: translateY(-3px);
}

/* La prima porta è quella che porta più valore al portale: va notata per prima. */
#top #tv-porte .tv-porta:first-of-type {
	border-top: 4px solid #bc1823;
}

#top #tv-porte .tv-porta h3 {
	margin-bottom: 8px;
	font-size: 21px;
	line-height: 1.25;
}

#top #tv-porte .tv-porta .tv-porta__testo > p:first-of-type {
	min-height: 3em;
	color: #6b7280;
	font-size: 15px;
}

#top #tv-porte .tv-porta ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

#top #tv-porte .tv-porta li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 26px;
	font-size: 15px;
	line-height: 1.5;
}

#top #tv-porte .tv-porta li::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 4px;
	width: 8px;
	height: 8px;
	background: #bc1823;
	border-radius: 50%;
}

/* Il pulsante resta ancorato in basso: le schede si allineano anche con testi
   di lunghezza diversa. */
#top #tv-porte .tv-porta .avia-button-wrap {
	margin-top: auto;
	padding-top: 24px;
}

#top #tv-porte .tv-porta .avia-button {
	width: 100%;
	box-sizing: border-box;
}

/* --- I quattro passi -------------------------------------------------- */

#top #tv-passi .tv-passo {
	padding: 0 14px;
}

#top #tv-passi .tv-passo__numero {
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	background: #bc1823;
	border-radius: 50%;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 52px;
}

#top #tv-passi .tv-passo h4 {
	margin-bottom: 6px;
	font-size: 17px;
}

#top #tv-passi .tv-passo p:not(.tv-passo__numero) {
	color: #55595c;
	font-size: 15px;
	line-height: 1.55;
}

/* --- Schede di approfondimento --------------------------------------- */

#top #tv-approfondimenti .tv-scheda h3 {
	margin: 16px 0 6px;
	font-size: 18px;
	line-height: 1.3;
}

#top #tv-approfondimenti .tv-scheda h3 a {
	color: inherit;
}

#top #tv-approfondimenti .tv-scheda p {
	color: #6b7280;
	font-size: 15px;
	line-height: 1.55;
}

#top #tv-approfondimenti .tv-scheda .avia_image {
	border-radius: 6px;
}

/* --- Chiusura --------------------------------------------------------- */

#top #tv-chiusura h2 {
	margin-bottom: 6px;
}

#top #tv-chiusura .avia-button {
	padding: 15px 40px;
	font-weight: 600;
}

/* --- Adattamento su schermi stretti ---------------------------------- */

@media only screen and (max-width: 767px) {

	#top #tv-porte .tv-porta {
		margin-bottom: 20px;
	}

	#top #tv-porte .tv-porta .tv-porta__testo > p:first-of-type {
		min-height: 0;
	}

	#top #tv-passi .tv-passo {
		margin-bottom: 28px;
	}

	#top #tv-hero .avia-button {
		width: 100%;
		box-sizing: border-box;
	}
}

/* =========================================================================
 * INIZIO SISTEMA VISIVO
 *
 * Tradotto dalla schermata Stitch "TenderVino - Landing Page (Layout
 * Completo e Visibile)" (progetto "TenderVino UX/UI Redesign") alle
 * strutture che genera Enfold. I valori sono quelli scritti nella
 * schermata: rosso #D31522, testo #2B2B2B, grigio #545454, fondo grigio
 * caldo #F7F4F0, righe #E5E0DA, Oswald per i titoli, Source Sans 3 per il
 * testo, angoli di 4 px, nessuna ombra vistosa.
 *
 * Per tornare indietro basta cancellare tutto ciò che sta fra questo commento
 * e "FINE SISTEMA VISIVO".
 * ====================================================================== */

/* --- 1. Token -------------------------------------------------------- */
:root {
	--tv-red: #D31522;
	--tv-red-deep: #B8121E;
	--tv-red-tint: #FBE8EA;
	--tv-ink: #2B2B2B;
	--tv-grey: #545454;
	--tv-grey-light: #7B7C80;
	--tv-paper: #FFFFFF;
	--tv-surface: #F7F4F0;
	--tv-line: #E5E0DA;
	--tv-line-soft: rgba(123, 124, 128, .25);
	--tv-testo-morbido: #545454;

	--tv-radius: 4px;
	--tv-radius-md: 6px;
	--tv-ombra-sm: 0 1px 2px rgba(0, 0, 0, .05);

	--tv-display: 'Oswald', 'Arial Narrow', sans-serif;
	--tv-corpo: 'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
	--tv-mono: var(--tv-display);

	/* Contenitore (max-w-[1200px]) e misura di lettura (max-w-xl, 580 px). */
	--tv-maxw: 1200px;
	/* I testi arrivano fino al margine della pagina (feedback del 29/09/2026). */
	--tv-misura: none;

	/* Il colore "primario" dello schema di Enfold, distribuito a duecento
	   regole tramite queste variabili: qui diventa il rosso del disegno. */
	--enfold-main-color-primary: #D31522;
	--enfold-main-color-secondary: #B8121E;
	--enfold-alternate-color-primary: #D31522;
	--enfold-alternate-color-secondary: #B8121E;
	--enfold-header-color-primary: #D31522;
	--enfold-header-color-secondary: #B8121E;
	--enfold-footer-color-primary: #545454;
	--enfold-footer-color-secondary: #D31522;
	--enfold-socket-color-primary: #545454;
	--enfold-socket-color-secondary: #D31522;
}

/* --- 2. Base --------------------------------------------------------- */
body,
#top,
#top #wrap_all,
#top #main {
	background-color: var(--tv-paper);
	color: var(--tv-ink);
	font-family: var(--tv-corpo);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

#top .avia-section .container,
#top .container {
	max-width: var(--tv-maxw);
	padding-left: 24px;
	padding-right: 24px;
}

#top :focus-visible {
	outline: 3px solid var(--tv-red);
	outline-offset: 2px;
}

#top ::selection {
	background: var(--tv-red);
	color: #FFFFFF;
}

/* --- 3. Tipografia --------------------------------------------------- */
/* Oswald, peso 500, interlinea 1.2, leggermente stretto. */
#top h1,
#top h2,
#top h3,
#top h4,
#top h5,
#top h6,
#top .av-special-heading-tag {
	font-family: var(--tv-display);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.2;
	text-transform: none;
	color: var(--tv-ink);
}

#top .av-special-heading-tag {
	font-size: 36px;
	margin: 0 0 0.3em;
}

/* Il titolo grande della home: text-7xl. */
#top .tv-apertura .av-special-heading-tag {
	font-size: 72px;
	line-height: 1.2;
}

#top h3,
#top .tv-card .av-special-heading-tag {
	font-size: 30px;
}

/* L'occhiello: Oswald 13 px, spaziato, rosso, come le etichette delle porte. */
#top .av-special-heading .av-subheading_above {
	font-family: var(--tv-display);
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tv-red);
	margin: 0 0 10px;
}

#top .av-special-heading .av-subheading_above p {
	margin: 0;
	font-size: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}

#top .av-special-heading .av-subheading_below {
	font-family: var(--tv-corpo);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	color: var(--tv-grey);
	text-transform: none;
	letter-spacing: normal;
	max-width: var(--tv-misura);
}

/* La riga rossa sotto i titoli: 3 px, come nella schermata. */
#top .avia-section .special-heading-border,
#top .av-special-heading.modern-quote .special-heading-border {
	display: block;
	float: none !important;
	width: 64px !important;
	height: 3px;
	min-height: 0;
	padding: 0 !important;
	margin: 16px 0 0 !important;
	line-height: 0;
}

#top .avia-section .special-heading-border .special-heading-inner-border {
	display: block;
	width: 100%;
	margin: 0;
	border: none;
	border-top: 3px solid var(--tv-red);
	opacity: 1;
}

#top .avia_textblock {
	font-family: var(--tv-corpo);
	font-size: 17px;
	line-height: 1.6;
	color: var(--tv-ink);
}

#top .avia_textblock > p,
#top .avia_textblock > ul,
#top .avia_textblock > ol,
#top .avia_textblock > blockquote {
	max-width: var(--tv-misura);
}

#top .avia_textblock p {
	margin: 0.7em 0;
}

#top .avia_textblock p.tv-lead {
	font-size: 19px;
	line-height: 1.55;
	color: var(--tv-grey);
	max-width: var(--tv-misura);
}

#top .avia_textblock a {
	color: var(--tv-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#top .avia_textblock a:hover {
	color: var(--tv-red);
}

#top .av-special-heading {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	min-height: 0;
}

#top .av-special-heading + .av_textblock_section,
#top .av_textblock_section {
	margin-top: 20px;
}

#top .av_textblock_section + .av_textblock_section {
	margin-top: 0;
}

/* --- 4. Ritmo delle fasce -------------------------------------------- */
/* py-16: 64 px sopra e sotto. Le fasce grigie hanno una riga in cima. */
#top .avia-section .container {
	padding-top: 64px;
	padding-bottom: 64px;
}

#top .avia-section {
	border: none;
}

#top .avia-section.main_color,
#top .avia-section.main_color .container {
	background-color: var(--tv-paper) !important;
}

#top .avia-section.alternate_color {
	border-top: 1px solid rgba(123, 124, 128, .2) !important;
}

#top .avia-section.alternate_color,
#top .avia-section.alternate_color .container {
	background-color: var(--tv-surface) !important;
	color: var(--tv-ink) !important;
}

#top .avia-section.alternate_color h1,
#top .avia-section.alternate_color h2,
#top .avia-section.alternate_color h3,
#top .avia-section.alternate_color .av-special-heading-tag,
#top .avia-section.alternate_color .avia_textblock {
	color: var(--tv-ink) !important;
}

/* --- 5. Fascia di chiamata all'azione -------------------------------- */
#top .avia-section.tv-cta,
#top .avia-section.tv-cta .container {
	background-color: var(--tv-paper) !important;
}

#top .avia-section.tv-cta {
	border-top: 1px solid var(--tv-line) !important;
	border-bottom: 1px solid var(--tv-line) !important;
}

#top .avia-section.tv-cta .container {
	padding-top: 48px;
	padding-bottom: 48px;
}

#top .tv-cta .av-special-heading-tag {
	font-size: 30px;
	color: var(--tv-ink) !important;
}

#top .tv-cta .avia_textblock,
#top .tv-cta .avia_textblock p {
	color: var(--tv-grey) !important;
	font-size: 17px;
	max-width: none;
}

#top .tv-cta .special-heading-border {
	display: none;
}

/* --- 6. Card --------------------------------------------------------- */
#top .flex_column.tv-card {
	background: var(--tv-paper) !important;
	border: 1px solid var(--tv-line) !important;
	border-radius: var(--tv-radius) !important;
	padding: 28px 32px !important;
	box-shadow: none !important;
	margin-bottom: 24px;
	transition: border-color .15s;
}

#top .alternate_color .flex_column.tv-card {
	background: var(--tv-paper) !important;
}

#top .tv-card .av-special-heading-tag {
	color: var(--tv-ink) !important;
	margin-bottom: 8px;
}

#top .tv-card .av-subheading_above {
	margin-bottom: 8px;
}

#top .tv-card .special-heading-border {
	display: none;
}

#top .tv-card .avia_textblock,
#top .tv-card .avia_textblock p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--tv-grey) !important;
	max-width: none;
}

#top .flex_column.tv-card:hover {
	border-color: var(--tv-grey-light) !important;
}

/* --- 7. Pulsanti ----------------------------------------------------- */
/* Source Sans 3, maiuscolo, spaziato, angoli di 4 px. La classe
   personalizzata di un pulsante ALB finisce sul contenitore
   (.avia-button-wrap), non sul link. */
#top .avia-button {
	font-family: var(--tv-corpo);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 13px 24px !important;
	border-radius: var(--tv-radius) !important;
	border: 1px solid transparent !important;
	transition: background .15s, color .15s, border-color .15s;
}

#top .avia-button-wrap.tv-btn-primary.tv-btn-primary .avia-button,
#top .flex_column.tv-card .avia-button-wrap.tv-btn-primary.tv-btn-primary .avia-button {
	background-color: var(--tv-red) !important;
	border-color: var(--tv-red) !important;
	color: #FFFFFF !important;
	box-shadow: none !important;
}

#top .avia-button-wrap.tv-btn-primary.tv-btn-primary .avia-button:hover,
#top .avia-button-wrap.tv-btn-primary.tv-btn-primary .avia-button:focus {
	background-color: var(--tv-red-deep) !important;
	border-color: var(--tv-red-deep) !important;
	color: #FFFFFF !important;
}

#top .avia-button-wrap.tv-btn-ghost.tv-btn-ghost .avia-button,
#top .flex_column.tv-card .avia-button-wrap.tv-btn-ghost.tv-btn-ghost .avia-button,
#top .avia-section .avia-button-wrap.tv-btn-ghost.tv-btn-ghost .avia-button {
	background-color: transparent !important;
	color: var(--tv-ink) !important;
	border-color: var(--tv-grey) !important;
	box-shadow: none !important;
}

#top .avia-button-wrap.tv-btn-ghost.tv-btn-ghost .avia-button:hover,
#top .avia-section .avia-button-wrap.tv-btn-ghost.tv-btn-ghost .avia-button:hover {
	background-color: var(--tv-grey) !important;
	border-color: var(--tv-grey) !important;
	color: #FFFFFF !important;
}

#top .avia-button-wrap.tv-btn-primary,
#top .avia-button-wrap.tv-btn-ghost {
	display: inline-block;
	margin-right: 12px;
	margin-bottom: 12px;
}

/* --- 8. Percorso a passi --------------------------------------------- */
.tv-steps-timeline {
	max-width: 74ch;
	margin: 22px 0 0;
	padding: 0;
}

.tv-steps-timeline::before {
	display: none;
}

.tv-step-item,
.tv-step-item.step-left,
.tv-step-item.step-right {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
	text-align: left;
	padding: 12px 0;
	margin: 0;
	border-bottom: 1px solid var(--tv-line);
}

.tv-steps-timeline .tv-step-item:last-child {
	border-bottom: none;
}

.tv-step-badge {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin: 0;
	border-radius: var(--tv-radius);
	background: var(--tv-red);
	color: #FFFFFF;
	font-family: var(--tv-display);
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

.tv-step-content {
	width: auto;
	flex: 1;
}

.tv-step-content h4 {
	font-family: var(--tv-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2;
	color: var(--tv-ink) !important;
	margin: 0 0 2px;
}

.tv-step-content p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--tv-grey);
	margin: 0;
	max-width: 62ch;
}

/* --- 9. Numeri chiave ------------------------------------------------ */
#top .flex_column.tv-numero-chiave {
	border: 1px solid var(--tv-line) !important;
	border-top: 3px solid var(--tv-red) !important;
	border-radius: var(--tv-radius) !important;
	padding: 20px 24px !important;
	background: var(--tv-paper) !important;
	margin-bottom: 16px;
}

#top .tv-numero strong {
	display: block;
	font-family: var(--tv-display);
	font-weight: 500;
	font-size: 44px;
	line-height: 1;
	color: var(--tv-ink);
}

#top .tv-numero span {
	display: block;
	font-family: var(--tv-corpo);
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tv-grey);
	margin-top: 8px;
}

/* --- 10. Intestazione ------------------------------------------------ */
/* Bianca, con una riga sotto, fissa in alto; il logo alto 48 px e 14 px di
   spazio sopra e sotto. Non si restringe scorrendo. */
#top #header,
#top #header_main,
#top #header_main_alternate,
#top #header .header_bg,
#top #header.av_header_sticky.header-scrolled #header_main {
	background-color: var(--tv-paper) !important;
	box-shadow: none !important;
}

#top #header_main {
	border-bottom: 1px solid var(--tv-line-soft) !important;
}

#top #header_main .container.av-logo-container,
#top #header.header-scrolled #header_main .container.av-logo-container {
	height: 76px !important;
	line-height: 76px !important;
	padding-top: 0;
	padding-bottom: 0;
}

#top #header .logo,
#top #header .logo a,
#top #header.header-scrolled .logo,
#top #header.header-scrolled .logo a {
	height: 76px !important;
	max-height: 76px !important;
	padding: 0 !important;
	margin: 0;
	display: flex;
	align-items: center;
}

#top #header .logo a img,
#top #header.header-scrolled .logo a img {
	height: 48px !important;
	max-height: 48px !important;
	width: auto;
	max-width: none;
	padding: 0 !important;
	background: transparent;
	border-radius: 0;
}

/* Voci del menù: Source Sans 3, 15 px, peso 500, rosse al passaggio. */
#top #header .av-main-nav > li > a,
#top #header.header-scrolled .av-main-nav > li > a {
	height: 76px !important;
	line-height: 76px !important;
	padding: 0 12px;
	font-family: var(--tv-corpo);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tv-ink) !important;
	opacity: 1;
	transition: color .15s;
}

#top #header .av-main-nav > li > a .avia-menu-text {
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	text-transform: none;
	color: inherit !important;
}

#top #header .av-main-nav > li:hover > a,
#top #header .av-main-nav > li:hover > a .avia-menu-text,
#top #header .av-main-nav > li.current-menu-item > a,
#top #header .av-main-nav > li.current-menu-item > a .avia-menu-text,
#top #header .av-main-nav > li.current_page_item > a .avia-menu-text,
#top #header .av-main-nav > li.current-menu-ancestor > a .avia-menu-text {
	color: var(--tv-red) !important;
}

/* La schermata non ha la riga sotto la voce attiva né l'icona di ricerca. */
#top #header .av-main-nav > li > a .avia-menu-fx {
	display: none !important;
}

#top #header .av-main-nav > li#menu-item-search {
	display: none !important;
}

#top #header .av-main-nav ul {
	background-color: var(--tv-paper) !important;
	border: 1px solid var(--tv-line) !important;
	border-radius: var(--tv-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

#top #header .av-main-nav ul li a,
#top #header .av-main-nav ul li a .avia-menu-text {
	color: var(--tv-ink) !important;
	background-color: transparent !important;
	border-color: var(--tv-line) !important;
	font-family: var(--tv-corpo);
	text-transform: none;
	letter-spacing: 0;
}

#top #header .av-main-nav ul li:hover > a,
#top #header .av-main-nav ul li:hover > a .avia-menu-text {
	color: var(--tv-red) !important;
	background-color: var(--tv-surface) !important;
}

#top #header .av-burger-menu-main a {
	color: var(--tv-ink) !important;
	background-color: transparent !important;
}

#top #header .av-hamburger-inner,
#top #header .av-hamburger-inner::before,
#top #header .av-hamburger-inner::after {
	background-color: var(--tv-ink);
}

/* Il pulsante "Area Riservata": rosso, maiuscolo, staccato dal menù. */
#top #header .av-main-nav > li.tv-nav-riservata {
	float: left;
	padding: 18px 0 0 20px;
}

#top #header .av-main-nav > li.tv-nav-riservata > a,
#top #header.header-scrolled .av-main-nav > li.tv-nav-riservata > a {
	display: inline-flex;
	align-items: center;
	height: 40px !important;
	line-height: 40px !important;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	background-color: var(--tv-red) !important;
	color: #FFFFFF !important;
	border-radius: var(--tv-radius-md);
	box-shadow: var(--tv-ombra-sm);
	transition: background .15s;
}

#top #header .av-main-nav > li.tv-nav-riservata > a:hover {
	background-color: var(--tv-red-deep) !important;
	color: #FFFFFF !important;
}

/* --- 11. Fascia del titolo su blog e articoli ------------------------ */
#top .title_container {
	background-color: var(--tv-surface) !important;
	border-bottom: 1px solid var(--tv-line) !important;
}

#top .title_container .main-title,
#top .title_container .main-title a,
#top .title_container .breadcrumb,
#top .title_container .breadcrumb a {
	color: var(--tv-ink) !important;
	font-family: var(--tv-display);
}

/* --- 12. Piè di pagina ----------------------------------------------- */
/* Bianco, riga sopra, 40 px di respiro: a sinistra logo e descrizione,
   a destra i recapiti allineati a destra; sotto, la riga del copyright. */
#top #footer {
	background-color: var(--tv-paper) !important;
	color: var(--tv-grey) !important;
	border: none !important;
	border-top: 1px solid var(--tv-line) !important;
}

#top #footer .container {
	padding-top: 40px;
	padding-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

#top #footer .container > .flex_column {
	width: auto !important;
	margin: 0 !important;
	float: none;
}

#top #footer .container > .flex_column:first-child {
	max-width: 620px;
}

#top #footer .container > .flex_column:nth-child(2) {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	margin-left: auto !important;
}

#top #footer .widget {
	margin: 0;
	padding: 0;
	border: none;
}

#top #footer a,
#top #footer .widget li a {
	color: var(--tv-ink) !important;
	text-decoration: none;
	transition: color .15s;
}

#top #footer a:hover {
	color: var(--tv-red) !important;
}

#top #footer h3,
#top #footer .widgettitle {
	display: none;
}

#top #footer p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

#top #socket {
	background-color: var(--tv-paper) !important;
	border-top: 1px solid var(--tv-line) !important;
	color: var(--tv-grey) !important;
}

#top #socket a {
	color: var(--tv-grey) !important;
}

/* --- 12b. Mandate a capo -------------------------------------------- */
#top .av-special-heading-tag,
#top h1, #top h2, #top h3 {
	text-wrap: balance;
}

#top .avia_textblock p,
#top .avia_textblock li {
	text-wrap: pretty;
}

/* --- 12c. Apertura centrata della home ------------------------------- */
/* Solo il titolo, centrato, e sotto la riga rossa larga 330 px. */
#top .avia-section.tv-apertura--centrata .container {
	padding-top: 64px;
	padding-bottom: 64px;
	text-align: center;
}

#top .tv-apertura--centrata .av-special-heading,
#top .tv-apertura--centrata .av-special-heading-tag {
	text-align: center;
	float: none;
	width: 100%;
}

#top .tv-apertura--centrata .av-special-heading-tag {
	max-width: 896px;
	margin: 0 auto;
}

#top .tv-apertura--centrata .avia-section .special-heading-border,
#top .avia-section.tv-apertura--centrata .special-heading-border {
	width: 330px !important;
	max-width: 90%;
	margin: 16px auto 0 !important;
}

/* --- 12d. Le due porte d'ingresso in home ---------------------------- */
/* Enfold mette le due colonne in una tabella per pareggiarne l'altezza:
   qui la tabella diventa una griglia a due colonne, e ogni porta una
   colonna flessibile con le azioni spinte in fondo. */
#top .tv-porte .flex_column_table {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	width: 100%;
	margin: 0;
}

/* Fra le due colonne Enfold mette un segnaposto vuoto: nella griglia
   occuperebbe una cella e spingerebbe la seconda porta alla riga sotto. */
#top .tv-porte .flex_column_table > .av-flex-placeholder {
	display: none;
}

#top .tv-porte .flex_column.tv-porta,
#top .tv-porte .flex_column_table > .flex_column.tv-porta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: auto !important;
	height: auto;
	margin: 0 !important;
	padding: 32px !important;
	background: var(--tv-paper) !important;
	border: 1px solid var(--tv-line) !important;
	border-left: 4px solid var(--tv-red) !important;
	border-radius: var(--tv-radius) !important;
	box-shadow: none !important;
}

#top .tv-porte .flex_column.tv-porta--en {
	border-left-color: var(--tv-grey) !important;
}

#top .tv-porta .av_textblock_section {
	margin: 0;
}

#top .tv-porta .av_textblock_section:last-child {
	margin-top: auto;
}

#top .tv-porta .avia_textblock .tv-porta__corpo > p,
#top .tv-porta .avia_textblock .tv-porta__azioni > p {
	max-width: none;
}

/* La riga in testa: etichetta rossa a sinistra, lingua a destra. */
#top .tv-porta .avia_textblock p.tv-porta__testa {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 1.3;
}

#top .tv-porta .tv-porta__etichetta {
	font-family: var(--tv-display);
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--tv-red);
}

#top .tv-porta .tv-porta__lingua {
	font-family: var(--tv-corpo);
	font-weight: 400;
	letter-spacing: 0.05em;
	color: var(--tv-grey);
}

#top .tv-porta .avia_textblock h3.tv-porta__titolo {
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.2;
	color: var(--tv-ink);
	margin: 16px 0 8px;
}

#top .tv-porta .avia_textblock p.tv-porta__testo {
	font-size: 17px;
	line-height: 1.6;
	color: var(--tv-grey);
	margin: 0 0 24px;
}

/* Le azioni: pulsante a tutta larghezza, sotto i due collegamenti. */
#top .tv-porta .avia_textblock .tv-porta__azioni {
	padding-top: 8px;
}

#top .tv-porta .avia_textblock .tv-porta__azioni a.tv-porta__primario {
	display: block;
	width: 100%;
	text-align: center;
	padding: 14px 24px;
	border-radius: var(--tv-radius);
	background: var(--tv-red);
	color: #FFFFFF;
	font-family: var(--tv-corpo);
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .15s;
}

#top .tv-porta .avia_textblock .tv-porta__azioni a.tv-porta__primario:hover,
#top .tv-porta .avia_textblock .tv-porta__azioni a.tv-porta__primario:focus {
	background: var(--tv-red-deep);
	color: #FFFFFF;
}

#top .tv-porta--en .avia_textblock .tv-porta__azioni a.tv-porta__primario {
	background: var(--tv-grey);
}

#top .tv-porta--en .avia_textblock .tv-porta__azioni a.tv-porta__primario:hover,
#top .tv-porta--en .avia_textblock .tv-porta__azioni a.tv-porta__primario:focus {
	background: var(--tv-ink);
}

#top .tv-porta .avia_textblock p.tv-porta__sotto {
	margin: 16px 0 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tv-grey);
}

#top .tv-porta .avia_textblock p.tv-porta__sotto a {
	color: var(--tv-ink);
	font-weight: 600;
	text-decoration: underline;
}

#top .tv-porta .avia_textblock p.tv-porta__sotto a:hover {
	color: var(--tv-red);
}

#top .tv-porta .tv-porta__sep {
	margin: 0 6px;
}

/* --- 12e. I quattro passi in orizzontale ----------------------------- */
#top .flex_column.tv-passo {
	border-top: 3px solid var(--tv-red) !important;
	padding: 16px 18px 6px 0 !important;
}

#top .tv-passo .avia_textblock p.tv-passo__numero {
	font-family: var(--tv-display);
	font-size: 14px;
	font-weight: 500;
	color: #FFFFFF;
	background: var(--tv-red);
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--tv-radius);
	margin: 0 0 12px;
}

#top .tv-passo .avia_textblock h4.tv-passo__titolo {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 500;
	margin: 0 0 6px;
}

#top .tv-passo .avia_textblock p.tv-passo__testo {
	font-size: 16px;
	line-height: 1.6;
	color: var(--tv-grey);
	margin: 0;
}

/* --- 12f. Le sei schede mercato: trattamento tipografico ------------- */
#top .flex_column.tv-mercato {
	padding: 28px 28px !important;
}

#top .tv-mercato .av-special-heading-tag {
	font-size: 32px !important;
	line-height: 1.1;
	margin-bottom: 10px;
}

#top .tv-mercato .avia_textblock p {
	font-size: 16px;
}

/* --- 12g. Navigazione fra le schede mercato -------------------------- */
#top .tv-nav-schede .avia-button-wrap {
	margin-bottom: 0;
}

#top .tv-nav-schede .avia-button-wrap + .avia-button-wrap {
	margin-left: 6px;
}

/* --- 12h. Blog: elenco dei titoli --------------------------------------- */
#top .template-blog .post-entry .post-title,
#top .template-blog .post-entry .post-title a {
	text-transform: none;
	font-size: 26px;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

#top .template-blog .post-entry .post-format-icon,
#top .template-blog .post-entry .blog-meta,
#top .template-blog .post-entry .read-more-link {
	display: none;
}

#top .template-blog .post-entry .blog-categories,
#top .template-blog .post-entry .post-meta-infos {
	font-family: var(--tv-corpo);
	font-size: 13px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--tv-grey);
}

/* --- 12i. Recapiti nella pagina Contatti ----------------------------- */
#top .avia_textblock p.tv-recapito {
	margin: 0 0 18px;
}

#top .avia_textblock .tv-recapito__etichetta {
	display: block;
	font-family: var(--tv-display);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--tv-red);
	margin-bottom: 4px;
}

#top .avia_textblock p.tv-recapito a {
	font-family: var(--tv-display);
	font-weight: 500;
	font-size: 26px;
	text-decoration: none;
	color: var(--tv-ink);
}

#top .avia_textblock p.tv-recapito a:hover {
	color: var(--tv-red);
}

/* --- 12l. Correzioni di dettaglio ------------------------------------ */
#top .flex_column.tv-passo .av_textblock_section {
	margin-top: 0;
}

/* Una card che resta sola nell'ultima riga non deve allargarsi a tutta la
   pagina: Enfold la mette in una tabella da una cella sola, larga il 100%.
   Dentro l'involucro c'è anche uno <style>, quindi si guarda se è l'unico div. */
#top .flex_column_table.sc-av_one_third:has(> .flex_column_table_cell:only-of-type) {
	width: 30.66%;
}

/* --- 13. Schermi stretti --------------------------------------------- */
@media only screen and (max-width: 1023px) {

	#top .tv-porte .flex_column_table {
		grid-template-columns: 1fr;
	}

	#top .tv-apertura .av-special-heading-tag {
		font-size: 60px;
	}
}

@media only screen and (max-width: 767px) {

	#top .avia-section .container {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	#top .tv-apertura .av-special-heading-tag {
		font-size: 40px !important;
		line-height: 1.2 !important;
	}

	#top .av-special-heading-tag {
		font-size: 28px;
	}

	#top .flex_column.tv-card {
		margin-bottom: 16px !important;
	}

	#top .tv-porte .flex_column.tv-porta,
	#top .tv-porte .flex_column_table > .flex_column.tv-porta {
		padding: 28px !important;
	}

	#top .avia-button {
		display: block;
		text-align: center;
	}

	#top .avia-button-wrap.tv-btn-primary,
	#top .avia-button-wrap.tv-btn-ghost {
		display: block;
		margin-right: 0;
	}
}

/* =========================================================================
 * FINE SISTEMA VISIVO
 * ====================================================================== */

/* =========================================================================
 * INIZIO FASCE A TUTTA LARGHEZZA
 *
 * Enfold rende le sezioni fuori dal contenitore del post solo quando trova
 * un suo indice degli elementi salvato dal builder. Le pagine scritte dal
 * plugin quell'indice ce l'hanno, ma se manca le fasce vengono comunque
 * riportate a tutta larghezza con il foglio di stile.
 *
 * Per tornare indietro basta cancellare tutto ciò che sta fra questo commento
 * e "FINE FASCE A TUTTA LARGHEZZA".
 * ====================================================================== */

#top .entry-content-wrapper > .avia-section,
#top .entry-content-wrapper > p > .avia-section {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Il calcolo sopra usa la larghezza della finestra, che comprende la barra di
   scorrimento: senza questo, su Windows comparirebbe una barra orizzontale. */
#top #wrap_all {
	overflow-x: hidden;
}

#top .entry-content-wrapper > p:empty {
	display: none;
}

#top .template-page.content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#top .template-page .entry-content-wrapper > p:first-child {
	margin-top: 0;
}

/* =========================================================================
 * FINE FASCE A TUTTA LARGHEZZA
 * ====================================================================== */

/* =========================================================================
 * INIZIO PIÈ DI PAGINA
 * I due blocchi che scrive il plugin e la riga in fondo con copyright e
 * privacy. Per tornare indietro basta cancellare fino a "FINE PIÈ DI PAGINA".
 * ====================================================================== */

#top #footer .tv-footer-logo {
	margin: 0;
	line-height: 0;
}

#top #footer .tv-footer-logo img {
	height: 48px;
	width: auto;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

#top #footer .tv-footer-nota {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tv-grey);
	max-width: 580px;
}

#top #footer .tv-footer-mail a,
#top #footer .tv-footer-linkedin a {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--tv-ink) !important;
}

#top #footer .tv-footer-mail a {
	font-weight: 600;
}

#top #footer .tv-footer-linkedin a {
	font-weight: 500;
}

#top #footer .tv-footer-mail a:hover,
#top #footer .tv-footer-linkedin a:hover {
	color: var(--tv-red) !important;
}

#top #footer .tv-footer-icona {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: var(--tv-red);
}

#top #footer .tv-footer-icona--piccola {
	width: 16px;
	height: 16px;
}

/* La riga in fondo, stampata dal plugin dopo i due blocchi. */
#top #footer .tv-footer-basso {
	flex: 0 0 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 8px;
	padding-top: 24px;
	border-top: 1px solid var(--tv-line);
	font-size: 14px;
	line-height: 1.5;
	color: var(--tv-grey);
}

#top #footer .tv-footer-basso p {
	margin: 0;
	font-size: 14px;
}

#top #footer .tv-footer-basso a {
	color: var(--tv-grey) !important;
	font-weight: 400;
}

#top #footer .tv-footer-basso a:hover {
	color: var(--tv-red) !important;
}

@media only screen and (max-width: 767px) {

	#top #footer .container > .flex_column:nth-child(2) {
		align-items: flex-start;
		margin-left: 0 !important;
	}

	#top #footer .tv-footer-mail a,
	#top #footer .tv-footer-linkedin a {
		justify-content: flex-start;
	}

	#top #footer .tv-footer-basso {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

/* =========================================================================
 * FINE PIÈ DI PAGINA
 * ====================================================================== */

/* --- 14. Griglie di card con pulsante in fondo (25/09 e 29/09/2026) --- */
/* Le colonne ad altezza pari di Enfold sono una tabella: per allineare i
   pulsanti in fondo a tutte le card la riga diventa una griglia e ogni card
   una colonna flessibile, con il pulsante spinto in basso. Vale per le otto
   card dei Servizi (4 per riga), la Formazione, le card dei Monopoli (3) e le
   due card d'azione delle schede mercato (2). Il segnaposto che Enfold mette
   fra le colonne occuperebbe una cella: si nasconde. */
#top .flex_column.tv-card--servizio {
	padding: 24px 22px !important;
}

#top .tv-card--servizio .avia_textblock,
#top .tv-card--servizio .avia_textblock p {
	font-size: 16px;
	line-height: 1.55;
}

#top .tv-card--servizio .avia-button {
	padding: 12px 16px !important;
	white-space: nowrap;
}

@media only screen and (min-width: 768px) {

	#top .flex_column_table:has(> .tv-card--servizio),
	#top .flex_column_table:has(> .tv-card--azione) {
		display: grid;
		gap: 24px;
		width: 100%;
		margin: 0 0 24px;
	}

	#top .flex_column_table.sc-av_one_fourth:has(> .tv-card--servizio) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	#top .flex_column_table.sc-av_one_third:has(> .tv-card--azione) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#top .flex_column_table.sc-av_one_half:has(> .tv-card--servizio),
	#top .flex_column_table.sc-av_one_half:has(> .tv-card--azione) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#top .flex_column_table:has(> .tv-card--servizio) > .av-flex-placeholder,
	#top .flex_column_table:has(> .tv-card--azione) > .av-flex-placeholder {
		display: none;
	}

	#top .flex_column_table > .flex_column.tv-card--servizio,
	#top .flex_column_table > .flex_column.tv-card--azione,
	#top .flex_column_table:has(> .tv-card--servizio) > .flex_column {
		display: flex;
		flex-direction: column;
		width: auto !important;
		margin: 0 !important;
	}

	#top .flex_column.tv-card--servizio > .avia-button-wrap,
	#top .flex_column.tv-card--azione > .avia-button-wrap {
		margin-top: auto;
		margin-bottom: 0;
		padding-top: 12px;
	}
}

/* Fra 768 e 1023 px quattro colonne sono troppo strette: due per riga. */
@media only screen and (min-width: 768px) and (max-width: 1023px) {

	#top .flex_column_table.sc-av_one_fourth:has(> .tv-card--servizio),
	#top .flex_column_table.sc-av_one_third:has(> .tv-card--azione) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- 15. Chi siamo, schermata Stitch (25/09/2026) --------------------- */
/* Il testo segue subito l'apertura: due fasce bianche di fila, senza il
   margine pieno in mezzo. */
#top .avia-section.tv-chisiamo-intro .container {
	padding-top: 0;
}

/* La domanda in apertura del testo, in grassetto come nel disegno. */
#top .tv-chisiamo-intro .tv-domanda {
	margin-bottom: 20px;
	color: var(--tv-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
}

/* Il team: due schede "Team Member" di Enfold, speculari, con la foto
   rotonda verso il centro della pagina. Foto, nome, ruolo ed email si
   cambiano dall'editor; qui si decide solo la disposizione. */
#top .avia-team-member.tv-membro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 112px;
	column-gap: 20px;
	align-items: center;
	margin: 0;
}

#top .avia-team-member.tv-membro--sinistra {
	text-align: right;
}

#top .avia-team-member.tv-membro--destra {
	grid-template-columns: 112px minmax(0, 1fr);
	text-align: left;
}

#top .tv-membro .team-img-container {
	grid-row: 1 / span 3;
	grid-column: 2;
	width: 112px;
	height: 112px;
	margin: 0;
	overflow: hidden;
	border-radius: 50%;
	border: 4px solid var(--tv-paper);
	box-shadow: 0 0 0 1px var(--tv-line);
}

#top .tv-membro--destra .team-img-container {
	grid-column: 1;
}

#top .tv-membro .team-img-container img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#top .tv-membro .team-member-name,
#top .tv-membro .team-member-job-title,
#top .tv-membro .team-member-description {
	grid-column: 1;
}

#top .tv-membro--destra .team-member-name,
#top .tv-membro--destra .team-member-job-title,
#top .tv-membro--destra .team-member-description {
	grid-column: 2;
}

#top .tv-membro .team-member-name {
	margin: 0 0 2px;
	font-family: var(--tv-display);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--tv-ink);
}

#top .tv-membro .team-member-job-title {
	margin: 0 0 6px;
	color: var(--tv-grey-light);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

#top .tv-membro .team-member-description,
#top .tv-membro .team-member-description p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

#top .tv-membro .team-member-description a {
	color: var(--tv-red);
	font-weight: 600;
	text-decoration: none;
}

#top .tv-membro .tv-qualifica {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 10px;
	border: 1px solid var(--tv-red);
	border-radius: var(--tv-radius);
	color: var(--tv-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

#top .tv-membro--sinistra .tv-qualifica,
#top .tv-membro--destra .tv-qualifica {
	display: table;
}

#top .tv-membro--sinistra .tv-qualifica {
	margin-left: auto;
}

/* Riconoscimenti: il logo (elemento "Immagine") in un riquadro chiaro. */
#top .tv-riconoscimento .avia-image-container.tv-logo {
	display: block;
	margin: 14px 0 18px;
}

#top .tv-riconoscimento .avia-image-container.tv-logo img {
	width: 100%;
	max-height: 110px;
	object-fit: contain;
	border-radius: var(--tv-radius);
}

@media only screen and (max-width: 767px) {

	/* Su telefono le due schede si impilano, entrambe con la foto a sinistra. */
	#top .avia-team-member.tv-membro,
	#top .avia-team-member.tv-membro--destra {
		grid-template-columns: 88px minmax(0, 1fr);
		text-align: left;
		margin-bottom: 24px;
	}

	#top .tv-membro .team-img-container,
	#top .tv-membro--destra .team-img-container {
		grid-column: 1;
		width: 88px;
		height: 88px;
	}

	#top .tv-membro .team-member-name,
	#top .tv-membro .team-member-job-title,
	#top .tv-membro .team-member-description {
		grid-column: 2;
	}

	#top .tv-membro--sinistra .tv-qualifica {
		margin-left: 0;
	}

	#top .tv-chisiamo-intro .tv-domanda {
		font-size: 19px;
	}
}


/* --- 16. Feedback del 29/09/2026 --------------------------------------- */

/* Piè di pagina su grigio chiaro. */
#top #footer,
#top #footer .container,
#top #socket,
#top #socket .container {
	background-color: var(--tv-surface) !important;
}

/* Home: apertura grigia e più bassa, pagina bianca, porte in grigio. */
#top .avia-section.tv-apertura--compatta .container {
	padding-top: 40px;
	padding-bottom: 40px;
}

#top .tv-porte .flex_column.tv-porta,
#top .tv-porte .flex_column_table > .flex_column.tv-porta {
	background: var(--tv-surface) !important;
}

/* Fasce con titolo e pulsanti centrati rispetto alla pagina. */
#top .tv-cta--centrata .container,
#top .tv-cta--centrata .av-special-heading,
#top .tv-cta--centrata .av-special-heading-tag,
#top .tv-cta--centrata .avia_textblock,
#top .tv-cta--centrata .avia_textblock p {
	text-align: center;
}

#top .avia-section.tv-cta--centrata.alternate_color,
#top .avia-section.tv-cta--centrata.alternate_color .container {
	background-color: var(--tv-surface) !important;
}

#top .tv-cta--centrata .flex_column.av_one_full,
#top .tv-pulsanti-centrati .flex_column.av_one_full {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 12px;
}

#top .tv-cta--centrata .flex_column.av_one_full > *:not(.avia-button-wrap),
#top .tv-pulsanti-centrati .flex_column.av_one_full > *:not(.avia-button-wrap) {
	flex: 0 0 100%;
}

#top .tv-cta--centrata .avia-button-wrap,
#top .tv-pulsanti-centrati .avia-button-wrap {
	margin: 8px 0 0 !important;
}

/* Pulsanti della stessa larghezza (chiusura dei Servizi e delle schede). */
#top .tv-cta--centrata .avia-button {
	min-width: 220px;
	text-align: center;
}

/* Scheda mercato: i cinque passi con la riga rossa e il numero grande. */
#top .flex_column.tv-passo-mercato {
	border-top: 3px solid var(--tv-red);
	padding-top: 14px !important;
}

#top .tv-passo-mercato .avia_textblock p,
#top .tv-passo-card .avia_textblock p {
	font-size: 15px;
	line-height: 1.55;
	color: var(--tv-grey);
}

#top .avia_textblock p.tv-passo-numero,
#top .tv-passo-card .avia_textblock p.tv-passo-numero {
	margin: 0 0 8px;
	font-family: var(--tv-display);
	font-size: 40px;
	font-weight: 500;
	line-height: 1;
	color: var(--tv-red);
}

#top .tv-card--sapere .av-special-heading-tag {
	color: var(--tv-red) !important;
}

#top .avia_textblock em.tv-nome-locale {
	font-size: 13px;
	font-weight: 400;
	color: var(--tv-grey-light);
}

/* Produttore: le quattro card "Come funziona". */
#top .flex_column.tv-passo-card {
	border-top: 3px solid var(--tv-red) !important;
}

#top .tv-passo-card .avia_textblock h4.tv-passo-titolo {
	margin: 0 0 8px;
	font-family: var(--tv-display);
	font-size: 20px;
	font-weight: 500;
	color: var(--tv-ink);
}

/* Card grigie su fondo bianco (Chi siamo breve di Produttore e Importer). */
#top .flex_column.tv-card--grigia {
	background: var(--tv-surface) !important;
	border-color: var(--tv-surface) !important;
}

/* Servizi: testo della Formazione, a destra della card. */
#top .tv-formazione .avia_textblock p.tv-formazione-invito {
	font-size: 19px;
	line-height: 1.6;
	color: var(--tv-grey);
}

/* I Monopoli: testo lungo che sfuma, con "Leggi di più / Leggi meno".
   Funziona con i soli CSS: la casella nascosta ricorda se è aperto. */
#top .tv-espandibile {
	position: relative;
}

#top .tv-espandibile__stato {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

#top .tv-espandibile__testo {
	position: relative;
	max-height: 10.5em;
	overflow: hidden;
}

#top .tv-espandibile__testo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5em;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--tv-paper));
}

/* I selettori partono dal contenitore: WordPress può avvolgere casella ed
   etichetta in paragrafi, e il selettore "fratello" non le troverebbe. */
#top .tv-espandibile:has(.tv-espandibile__stato:checked) .tv-espandibile__testo {
	max-height: none;
}

#top .tv-espandibile:has(.tv-espandibile__stato:checked) .tv-espandibile__testo::after {
	display: none;
}

#top .tv-espandibile__comando {
	display: inline-block;
	margin-top: 10px;
	cursor: pointer;
	color: var(--tv-red);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#top .tv-espandibile__meno,
#top .tv-espandibile:has(.tv-espandibile__stato:checked) .tv-espandibile__piu {
	display: none;
}

#top .tv-espandibile:has(.tv-espandibile__stato:checked) .tv-espandibile__meno {
	display: inline;
}

#top .tv-espandibile:has(.tv-espandibile__stato:focus-visible) .tv-espandibile__comando {
	outline: 2px solid var(--tv-red);
	outline-offset: 3px;
}

/* Importer: fascia del modulo "Join the network" su grigio. */
#top .tv-join .avia_textblock p.tv-lead {
	margin-bottom: 0;
	color: var(--tv-ink);
}

/* Nelle fasce centrate la riga rossa sotto il titolo non serve (come in
   Stitch); "Leggi di più" leggibile. */
#top .tv-cta--centrata .special-heading-border {
	display: none !important;
}

#top .tv-espandibile__comando {
	font-size: 16px;
}

/* --- 17. Segnalazioni del 01/10/2026 ----------------------------------- */

/* Frecce in fondo alle schede mercato e servizio: centrate. Su telefono
   "indietro" e "avanti" sulla stessa riga, l'indice sotto, al centro. */
#top .tv-nav-schede .flex_column.av_one_full {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 12px;
}

#top .tv-nav-schede .avia-button-wrap {
	margin: 6px 0 !important;
}

@media only screen and (max-width: 767px) {

	#top .tv-nav-schede .flex_column.av_one_full {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 10px;
	}

	#top .tv-nav-schede .avia-button-wrap {
		margin: 0 !important;
	}

	#top .tv-nav-schede .avia-button-wrap:nth-of-type(1) {
		grid-row: 1;
		grid-column: 1;
		justify-self: start;
	}

	#top .tv-nav-schede .avia-button-wrap:nth-of-type(3) {
		grid-row: 1;
		grid-column: 2;
		justify-self: end;
	}

	#top .tv-nav-schede .avia-button-wrap:nth-of-type(2) {
		grid-row: 2;
		grid-column: 1 / -1;
		justify-self: center;
	}

	#top .tv-nav-schede .avia-button {
		padding: 10px 12px !important;
		font-size: 13px;
		white-space: normal;
	}
}

/* Pulsante "torna su": è quello di Enfold, che di solito lo nasconde sugli
   schermi stretti. Qui resta visibile anche su telefono, in rosso. */
#top #scroll-top-link,
#scroll-top-link {
	background-color: var(--tv-red);
	color: #ffffff;
}

#scroll-top-link svg path {
	fill: #ffffff;
}

#scroll-top-link:hover {
	background-color: var(--tv-red-deep);
}

@media only screen and (max-width: 767px) {

	.responsive #scroll-top-link {
		display: block;
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
		line-height: 44px;
	}

	.responsive #scroll-top-link.avia-svg-icon svg:first-child {
		margin-top: 14px;
	}
}

/* Tabelle su telefono: ogni riga diventa una scheda e ogni cella riporta il
   nome della colonna (attributo data-label scritto dal generatore). */
@media only screen and (max-width: 767px) {

	#top .avia_textblock div.tv-tabella {
		overflow: visible;
		border: none;
		background: transparent;
	}

	/* Il plugin dà alla tabella 660px minimi per lo scorrimento da computer:
	   impilata in schede deve invece stare nella larghezza del telefono. */
	#top .avia_textblock div.tv-tabella table {
		min-width: 0;
	}

	#top .avia_textblock div.tv-tabella tr,
	#top .avia_textblock div.tv-tabella th,
	#top .avia_textblock div.tv-tabella td {
		box-sizing: border-box;
		white-space: normal;
	}

	#top .avia_textblock div.tv-tabella table,
	#top .avia_textblock div.tv-tabella tbody,
	#top .avia_textblock div.tv-tabella tr,
	#top .avia_textblock div.tv-tabella th,
	#top .avia_textblock div.tv-tabella td {
		display: block;
		width: 100%;
	}

	#top .avia_textblock div.tv-tabella thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	#top .avia_textblock div.tv-tabella tr {
		margin: 0 0 14px;
		padding: 14px 16px;
		background: var(--tv-paper);
		border: 1px solid var(--tv-line);
		border-top: 3px solid var(--tv-red);
		border-radius: var(--tv-radius);
	}

	#top .avia_textblock div.tv-tabella tbody th,
	#top .avia_textblock div.tv-tabella td {
		padding: 6px 0 !important;
		border: none !important;
		text-align: left;
		background: transparent !important;
		color: var(--tv-ink) !important;
	}

	#top .avia_textblock div.tv-tabella tbody th {
		font-size: 16px;
		letter-spacing: .04em;
	}

	#top .avia_textblock div.tv-tabella td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		font-family: var(--tv-display);
		font-size: 12px;
		letter-spacing: .06em;
		text-transform: uppercase;
		color: var(--tv-red);
	}
}

/* La colonna di Enfold ha un ::after di "clearfix": dentro un contenitore
   flex diventa un elemento vuoto e lo spazio fra i pulsanti spinge l'ultimo
   pulsante di qualche pixel fuori asse. */
#top .tv-cta--centrata .flex_column.av_one_full::before,
#top .tv-cta--centrata .flex_column.av_one_full::after,
#top .tv-pulsanti-centrati .flex_column.av_one_full::before,
#top .tv-pulsanti-centrati .flex_column.av_one_full::after,
#top .tv-nav-schede .flex_column.av_one_full::before,
#top .tv-nav-schede .flex_column.av_one_full::after {
	display: none;
}

/* --- 18. Cerchietto di chi è connesso (feedback del 09/10/2026) -------- */
/* Accanto ad "Area Riservata": le iniziali dell'azienda dicono subito che
   si è dentro. Il nome resta per i lettori di schermo e compare per esteso
   nel menù mobile. */
#top #header .av-main-nav > li.tv-nav-utente {
	float: left;
	padding: 18px 0 0 10px;
}

#top #header .av-main-nav > li.tv-nav-utente > a,
#top #header.header-scrolled .av-main-nav > li.tv-nav-utente > a {
	display: inline-flex;
	align-items: center;
	height: 40px !important;
	line-height: 40px !important;
	padding: 0 !important;
	background-color: transparent !important;
}

#top .tv-nav-utente__iniziali {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 2px solid var(--tv-red);
	border-radius: 50%;
	background-color: var(--tv-red-tint);
	color: var(--tv-red-deep);
	font-family: var(--tv-corpo);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: uppercase;
	transition: background-color .15s, color .15s;
}

#top #header .av-main-nav > li.tv-nav-utente > a:hover .tv-nav-utente__iniziali,
#top #header .av-main-nav > li.tv-nav-utente > a:focus-visible .tv-nav-utente__iniziali {
	background-color: var(--tv-red);
	color: #FFFFFF;
}

#top #header .av-main-nav > li.tv-nav-utente .tv-nav-utente__nome {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

#top #av-burger-menu-ul li.tv-nav-utente > a {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* --- 19. Tabelle editoriali leggibili (informativa privacy, 19/10/2026) -- */
/* Enfold schiarisce il testo delle righe pari: in un testo legale (e nelle
   tabelle dei mercati) ogni riga deve leggersi allo stesso modo. */
#top .avia_textblock div.tv-tabella tbody tr th,
#top .avia_textblock div.tv-tabella tbody tr td {
	color: var(--tv-ink);
}
