#top #footer-page{background:#0b1719}#top #rabotti-footer-assistenza .content{padding:28px 0 24px}#top #rabotti-footer-assistenza .entry-content-wrapper{display:flex;align-items:center;gap:28px}#top #rabotti-footer-assistenza .flex_column{margin:0;min-width:0}#top #rabotti-footer-assistenza .av_one_fifth{width:90px;flex:0 0 90px}#top #rabotti-footer-assistenza .av_two_fifth{width:auto;flex:1}#top #rabotti-footer-assistenza .av_two_fifth:last-child{flex:0 1 auto}#top .afr-support-portrait img{width:80px;height:80px;object-fit:cover;border-radius:50%;border:1px solid #426369}#top #footer-page p{font-size:15px;line-height:1.5;margin:0 0 6px}#top #footer-page h3{font-family:Archivo,sans-serif;font-size:17px;font-weight:600;line-height:1.3}#top #footer-page .av-special-heading{margin-top:0}#top #footer-page a{color:#dbdbdb;text-decoration:none}#top #footer-page a:hover,#top #footer-page a:focus-visible{color:#ffc900}#top #footer-page .avia-button{color:#0b1719;border-radius:30px;padding:13px 22px}#top #rabotti-footer-colonne .content{padding:28px 0 32px;border-top:1px solid #42636966}#top #rabotti-footer-colonne .entry-content-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:30px}#top #rabotti-footer-colonne .flex_column{width:auto;margin:0;min-width:0}#top #rabotti-footer-colonne .entry-content-wrapper:before,#top #rabotti-footer-colonne .entry-content-wrapper:after{display:none}#top .afr-footer-brand{max-width:82.56px;margin:0 0 16px}#top .afr-footer-partner{max-width:164px;background:#fff;padding:9.6px;border-radius:4px;margin:0 0 16px}#top .afr-footer-partner img{width:100%;height:auto}#top #footer-page .avia-image-container-inner{display:block}#top #footer-page #rabotti-assistenza-popup{color:#0b1719}
@media(max-width:767.98px){#top #rabotti-footer-colonne .entry-content-wrapper{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}#top #rabotti-footer-assistenza .entry-content-wrapper{gap:18px}#top #rabotti-footer-assistenza .av_one_fifth{flex-basis:70px;width:70px}#top .afr-support-portrait img{width:64px;height:64px}}
@media(max-width:767.98px){#top #rabotti-footer-assistenza .entry-content-wrapper{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px 18px}#top #rabotti-footer-assistenza .flex_column{width:auto!important;margin:0!important}#top #rabotti-footer-assistenza .av_two_fifth:last-child{grid-column:2}#top #rabotti-footer-assistenza .avia-button-wrap{text-align:left}#top #rabotti-footer-colonne .entry-content-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px}#top #rabotti-footer-colonne .flex_column{margin:0!important}#top #rabotti-footer-colonne .flex_column:last-child{grid-column:1/-1;display:flex;align-items:center;gap:22px}#top .afr-footer-partner{width:calc(40% - 8.8px);max-width:164px;margin:0;padding:8px}#top #footer-page p{font-size:14px}#top #footer-page h3{font-size:16px}#top #footer-page .avia-button{padding:12px 16px;font-size:14px}#top #footer-page a{overflow-wrap:anywhere}#top #footer-page .avia-image-container{margin-bottom:12px}}
@media(max-width:359px){#top #rabotti-footer-colonne .entry-content-wrapper{grid-template-columns:1fr}#top #rabotti-footer-colonne .flex_column:last-child{display:block}#top .afr-footer-partner{width:152px;margin-bottom:16px}}
#top #footer-page{display:flow-root}#top #footer-page .image-overlay{display:none!important}#top #rabotti-footer-colonne .flex_column:last-child{display:flex;flex-direction:column;align-items:flex-start}#top .afr-footer-partner{width:80%}
#top #rabotti-footer-colonne .entry-content-wrapper{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}#top .afr-footer-brand,#top .afr-footer-brand .avia-image-container-inner,#top .afr-footer-brand img{width:82.56px;max-width:100%;height:auto}#top #rabotti-footer-colonne .afr-footer-support .avia-image-container{width:72px;margin:0 0 12px}#top #rabotti-footer-colonne .afr-footer-support img{width:72px;height:72px;object-fit:cover}#top #rabotti-footer-colonne .afr-footer-support .avia-button{font-size:13px;padding:10px 14px}#top #rabotti-footer-colonne .afr-footer-support p{font-size:14px}
@media(max-width:767.98px){#top #rabotti-footer-colonne .entry-content-wrapper{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}}
@media(max-width:767.98px){#top #rabotti-footer-colonne .entry-content-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}#top #rabotti-footer-colonne .flex_column:last-child{grid-column:auto}#top .afr-footer-partner{width:80%}#top #rabotti-footer-colonne .afr-footer-support{grid-column:auto}}
@media(max-width:359px){#top #rabotti-footer-colonne .entry-content-wrapper{grid-template-columns:1fr}#top #rabotti-footer-colonne .flex_column:last-child{grid-column:1}#top .afr-footer-partner{width:164px}}
#top #footer-page .afr-footer-social{display:inline-flex;float:none;margin:0 8px 8px 0}#top #footer-page .afr-footer-social .av-icon-char{display:flex;align-items:center;justify-content:center;width:38px;height:38px;color:#fff;font-size:26px}#top #footer-page .afr-footer-social a:hover,#top #footer-page .afr-footer-social a:focus-visible{color:#ffc900}#top #footer-page .afr-footer-social span.av-icon-char{opacity:.55}

/* Keep the native footer below floated Avia content, including when the green strip is redundant. */
#top #footer-page{clear:both}

/* Two native Enfold support blocks share the column equally. */
#top #rabotti-footer-colonne .afr-footer-support{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:28px;align-self:start;}
#top #footer-page .av_promobox.afr-footer-support-part{display:flex;flex-direction:column;gap:10px;float:none;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;}
#top #footer-page .av_promobox.afr-footer-support-part .avia-promocontent{margin:0;}
#top #footer-page .av_promobox.afr-footer-support-part h3{margin:0 0 4px;}
#top #footer-page .av_promobox.afr-footer-support-part p{margin:0;font-size:13px;}
#top #footer-page .av_promobox.afr-footer-support-part .avia-button-wrap{float:none;width:fit-content;max-width:100%;align-self:flex-start;margin:0;margin-top:0;text-align:left;}
#top #footer-page .av_promobox.afr-footer-support-part .avia-button{position:static;inset:auto;float:none;width:auto;max-width:100%;min-width:0;margin:0;min-height:30px;padding:7px 12px;font-size:12px;line-height:16px;text-align:center;background:#ffc900;color:#0b1719;}
#top #footer-page .av_promobox.afr-footer-support-part .avia-button:hover,#top #footer-page .av_promobox.afr-footer-support-part .avia-button:focus-visible{background:#ffffff;color:#173e44;}

#top #rabotti-footer-colonne .afr-footer-support:before,#top #rabotti-footer-colonne .afr-footer-support:after{display:none;}

/* Requested spacing: buttons 10px closer; a quiet divider in the existing gap. */
#top #footer-page .av_promobox.afr-footer-support-part{position:relative;}
#top #footer-page .av_promobox.afr-footer-support-part .avia-button-wrap{translate:none;}
#top #footer-page .av_promobox.afr-footer-support-part+.av_promobox.afr-footer-support-part:before{content:"";display:block;position:absolute;top:-14.5px;left:0;width:80px;max-width:100%;border-top:1px solid #ffffff26;}

/* A compact native icon grid, with its title centered over both columns. */
#top #rabotti-footer-colonne .flex_column:has(> .afr-footer-social){display:grid;grid-template-columns:repeat(2,44px);gap:8px;align-content:start;justify-content:start;}
#top #rabotti-footer-colonne .flex_column:has(> .afr-footer-social)>.av-special-heading{grid-column:1/-1;width:100%;margin:0!important;padding-bottom:4px!important;text-align:center;}
#top #rabotti-footer-colonne .flex_column:has(> .afr-footer-social)>.av-special-heading h3{float:none;text-align:center;}
#top #footer-page .afr-footer-social{display:flex;margin:0;align-items:center;justify-content:center;width:44px;height:44px;line-height:1;}
#top #footer-page .afr-footer-social .av-icon-char{width:44px;height:44px;line-height:1;font-size:26px;}
#top #footer-page .afr-footer-social .av-icon-char:before{display:block;line-height:1;}
#top #footer-page .afr-footer-social [aria-label="YouTube"]{font-size:25px;}

/* Native Enfold back-to-top mirrors the discreet consent badge at the opposite edge. */
#top #scroll-top-link{right:2px;left:auto;bottom:21px;width:28px;height:28px;line-height:26px;border-radius:2px 0 0 0;}
#top #scroll-top-link svg{width:12px;height:14px;vertical-align:middle;}
#top #scroll-top-link.avia_pop_class{opacity:1;}
#top #scroll-top-link.avia_pop_class:hover,#top #scroll-top-link.avia_pop_class:focus-visible{opacity:1;}

/* Both native controls sit in the viewport corners with equal visual weight. */
#top #av-cookie-consent-badge.av-consent-badge-left-bottom{left:2px;right:auto;bottom:21px;width:28px;height:28px;padding:0;line-height:26px;text-align:center;border-radius:0 2px 0 0;box-sizing:border-box;}
#top #av-cookie-consent-badge svg{width:12px;height:14px;vertical-align:middle;}
#top #av-cookie-consent-badge.avia_pop_class{opacity:1;}
#top #av-cookie-consent-badge.avia_pop_class:hover,#top #av-cookie-consent-badge.avia_pop_class:focus-visible{opacity:1;}

/* Center the native arrow independently of font baselines. */
#top #scroll-top-link{display:flex;align-items:center;justify-content:center;padding:0;line-height:1;}
#top #scroll-top-link svg{display:block;margin:0;}

/* Matching opaque corner tabs. */
#top #scroll-top-link,#top #av-cookie-consent-badge.av-consent-badge-left-bottom{background:#173e44;color:#fff;border:1px solid #ffffff33;}
#top #scroll-top-link:hover,#top #scroll-top-link:focus-visible,#top #av-cookie-consent-badge:hover,#top #av-cookie-consent-badge:focus-visible{background:#173e44;color:#fff;border-color:#ffffff66;}
#top #scroll-top-link svg,#top #av-cookie-consent-badge svg{fill:currentColor;}
#top #av-cookie-consent-badge svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;}

/* Partner order requested: ADS, then Politecnico di Torino. */
#top #rabotti-footer-colonne .afr-footer-partner:has(a[href*="diesel.org"]){order:-1}
