/* Product landing: native Avia content; presentation follows the existing showcase switch. */
#top.afr-product-hub .afr-hub-intro .container{padding-top:30px;padding-bottom:30px}
#top.afr-product-hub .afr-hub-intro .entry-content-wrapper{display:grid;grid-template-columns:1fr 2fr;gap:36px;align-items:center}
#top.afr-product-hub .afr-hub-intro .entry-content-wrapper:before,#top.afr-product-hub .afr-hub-intro .entry-content-wrapper:after{display:none}
#top.afr-product-hub .afr-hub-intro .flex_column{width:auto;margin:0;float:none}
#top.afr-product-hub .afr-hub-intro h1{font-size:clamp(32px,4vw,52px);line-height:1.05;letter-spacing:-.025em}
#top.afr-product-hub .afr-hub-intro .av-special-heading{margin:0;padding:0!important}
#top.afr-product-hub .afr-hub-kicker{font:600 11px/1.4 Archivo,sans-serif;letter-spacing:.16em;text-transform:uppercase;margin:0 0 8px;color:#173e44}
#top.afr-product-hub .afr-hub-intro p{margin:0 0 10px;max-width:75ch}
#top.afr-product-hub .afr-hub-intro .avia-button-wrap{display:inline-block;float:none;margin:0 14px 0 0}
#top.afr-product-hub .afr-hub-intro .avia-button{min-width:180px;min-height:44px;padding:12px 18px;border-radius:0;box-shadow:none}
#top.afr-product-hub .afr-hub-guide .container{padding-top:44px;padding-bottom:44px}
#top.afr-product-hub .afr-hub-guide .av-special-heading{margin-top:0}
#top.afr-product-hub .afr-hub-step{position:relative;padding:22px 0 16px 52px;border-top:1px solid #173e442b;margin-top:18px!important}
#top.afr-product-hub .afr-hub-step .afr-hub-kicker{position:absolute;top:25px;left:0;font-size:14px;color:#173e4499;letter-spacing:0}
#top.afr-product-hub .afr-hub-step h3{font:600 20px/1.25 Archivo,sans-serif}
#top.afr-product-hub .afr-hub-step p{margin:8px 0 0;font-size:16px;line-height:1.55}
#top.afr-product-hub .afr-hub-guide .afr-hub-guide-link{margin-top:6px}
#top.afr-product-hub .afr-hub-special .container{padding-top:34px;padding-bottom:34px}
#top.afr-product-hub .afr-hub-special .entry-content-wrapper{display:flex;align-items:center;gap:40px}
#top.afr-product-hub .afr-hub-special .entry-content-wrapper:before,#top.afr-product-hub .afr-hub-special .entry-content-wrapper:after{display:none}
#top.afr-product-hub .afr-hub-special .flex_column{float:none;flex:1;min-width:0;margin:0}
#top.afr-product-hub .afr-hub-special .av-special-heading{margin:0}
#top.afr-product-hub .afr-hub-special h2{max-width:22ch}
#top.afr-product-hub .afr-hub-special .avia_textblock p{margin:0 0 14px}
#top.afr-product-hub .afr-hub-cta .container{padding-top:38px;padding-bottom:38px}
#top.afr-product-hub .afr-hub-cta .entry-content-wrapper{display:flex;align-items:center;gap:32px}
#top.afr-product-hub .afr-hub-cta .entry-content-wrapper:before,#top.afr-product-hub .afr-hub-cta .entry-content-wrapper:after{display:none}
#top.afr-product-hub .afr-hub-cta .flex_column{float:none;margin:0;min-width:0}
#top.afr-product-hub .afr-hub-cta .flex_column:first-child{flex:1.6}
#top.afr-product-hub .afr-hub-cta .flex_column:last-child{flex:1}
#top.afr-product-hub .afr-hub-cta .av-special-heading{margin:0;padding:0!important}
#top.afr-product-hub .afr-hub-cta p{margin:12px 0 0;max-width:65ch}
#top.afr-product-hub .afr-hub-actions{display:grid;grid-template-columns:1fr;gap:10px}
#top.afr-product-hub .afr-hub-actions .avia-button{display:flex;justify-content:center;align-items:center;min-height:48px;width:100%;padding:13px 18px;border-radius:0;box-sizing:border-box}
#top.afr-product-hub .afr-hub-actions .avia-button-wrap{width:100%;margin:0;float:none}
#top.afr-product-hub .afr-hub-cta a:not(.avia-button){color:#fff}
#top.afr-product-hub a:focus-visible{outline:2px solid #ffc900;outline-offset:4px}
@media(max-width:767.98px){#top.afr-product-hub .afr-hub-intro .entry-content-wrapper{gap:24px;grid-template-columns:1fr 2fr}#top.afr-product-hub .afr-hub-intro .avia-button{min-width:150px}#top.afr-product-hub .afr-hub-cta .entry-content-wrapper{gap:24px}#top.afr-product-hub .afr-hub-step{padding-left:35px}}
@media(max-width:767.98px){#top.afr-product-hub .afr-hub-intro .entry-content-wrapper{grid-template-columns:1fr;gap:14px}#top.afr-product-hub .afr-hub-intro .container{padding-top:24px;padding-bottom:24px}#top.afr-product-hub .afr-hub-intro p,#top.afr-product-hub .afr-hub-step p{font-size:17px}#top.afr-product-hub .afr-hub-intro .avia-button-wrap{display:block;margin:8px 0 0;width:100%}#top.afr-product-hub .afr-hub-intro .avia-button{width:100%;box-sizing:border-box}#top.afr-product-hub .afr-hub-guide .container{padding-top:30px;padding-bottom:30px}#top.afr-product-hub .afr-hub-step{margin-top:16px!important;padding-bottom:4px}#top.afr-product-hub .afr-hub-special .entry-content-wrapper,#top.afr-product-hub .afr-hub-cta .entry-content-wrapper{display:block}#top.afr-product-hub .afr-hub-special .flex_column,#top.afr-product-hub .afr-hub-cta .flex_column{width:100%;margin:0}#top.afr-product-hub .afr-hub-special .flex_column+.flex_column,#top.afr-product-hub .afr-hub-cta .flex_column+.flex_column{margin-top:20px}#top.afr-product-hub .afr-hub-special .av-special-heading{margin:0}
#top.afr-product-hub .afr-hub-special h2{max-width:none}}
#top.afr-product-hub .afr-hub-intro .afr-hub-kicker p,#top.afr-product-hub .afr-hub-step .afr-hub-kicker p,#top.afr-product-hub .afr-hub-special .afr-hub-kicker p{font-size:inherit;line-height:inherit;margin:0}

/* Products opening follows the Home visual + independent motto band. */
#top.afr-product-hub #video-prodotti{border:0;min-height:0!important}
#top.afr-product-hub #video-prodotti .container{height:clamp(200px,calc(100vw * 904 / 1292),360px)!important;min-height:0!important}
#top.afr-product-hub #video-prodotti .content{padding:24px 0!important;vertical-align:middle}
#top.afr-product-hub #video-prodotti .av-special-heading{margin:0;padding:0!important}
#top.afr-product-hub .afr-hub-video-copy{position:relative;float:right!important;width:min(560px,48%)!important;margin:0!important;padding:24px 28px;background:rgba(255,255,255,.72);border-radius:24px;box-sizing:border-box}
#top.afr-product-hub .afr-hub-video-copy:before{content:"";position:absolute;right:100%;top:0;width:95px;height:100%;background:linear-gradient(123deg,transparent 0 25%,rgba(255,255,255,.72) 25% 34%,transparent 34% 40%,rgba(255,255,255,.72) 40% 59%,transparent 59% 65%,rgba(255,255,255,.72) 65%);pointer-events:none}
#top.afr-product-hub #video-prodotti h1{font-size:clamp(28px,2.5vw,40px);font-weight:700;line-height:1.15;letter-spacing:-.025em}
#top.afr-product-hub .afr-hub-video-lead p{font-size:17px;line-height:1.45;margin:14px 0 0;color:#173e44}
#top.afr-product-hub #prodotti-introduzione{border:0;min-height:0}
#top.afr-product-hub #prodotti-introduzione .container{width:100%;max-width:none;padding:0 20px}
#top.afr-product-hub #prodotti-introduzione .content{padding:18px 0!important}
#top.afr-product-hub #prodotti-introduzione .av-special-heading{margin:0!important;padding:0!important}
#top.afr-product-hub #prodotti-introduzione h2{font-size:clamp(24px,2.5vw,44px);line-height:1.12;letter-spacing:-.025em;font-style:italic;font-weight:800;text-align:center}
#top.afr-product-hub #prodotti-introduzione .special-heading-border{display:none}
#top.afr-product-hub .afr-hub-experience .container{padding-top:32px;padding-bottom:32px}
#top.afr-product-hub .afr-hub-experience .entry-content-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
#top.afr-product-hub .afr-hub-experience .entry-content-wrapper:before,#top.afr-product-hub .afr-hub-experience .entry-content-wrapper:after{display:none}
#top.afr-product-hub .afr-hub-experience .flex_column{width:auto;margin:0;float:none}
#top.afr-product-hub .afr-hub-experience .av-special-heading{margin:0;padding:0!important}
#top.afr-product-hub .afr-hub-experience h2{font-size:22px;line-height:1.4;letter-spacing:0}
#top.afr-product-hub .afr-hub-experience p{margin:0;font-size:17px;line-height:1.6}
#top.afr-product-hub .afr-hub-experience .afr-hub-kicker{margin-bottom:10px}
#top.afr-product-hub .afr-hub-experience .afr-hub-kicker p{font-size:11px;line-height:1.4}
#top.afr-product-hub .afr-hub-orient .container{padding-top:24px;padding-bottom:24px}
#top.afr-product-hub .afr-hub-orient .entry-content-wrapper{display:flex;align-items:center;gap:24px}
#top.afr-product-hub .afr-hub-orient .entry-content-wrapper:before,#top.afr-product-hub .afr-hub-orient .entry-content-wrapper:after{display:none}
#top.afr-product-hub .afr-hub-orient .flex_column{display:contents}
#top.afr-product-hub .afr-hub-orient .avia_textblock{flex:1}
#top.afr-product-hub .afr-hub-orient p{margin:0;font-size:17px;line-height:1.5}
#top.afr-product-hub .afr-hub-orient .avia-button-wrap{margin:0;flex-shrink:0}
#top.afr-product-hub .afr-hub-orient .avia-button{min-height:44px;padding:12px 18px}
@media(min-width:768px){
 #top.afr-product-hub #main{padding-top:var(--afr-products-header,90px)!important}
 #top.afr-product-hub #video-prodotti .container{height:max(180px,calc(100svh - var(--afr-products-top,122px) - var(--afr-products-strip,79px)))!important}
}
@media(max-width:767.98px){#top.afr-product-hub .afr-hub-video-copy{width:65%!important}}
@media(max-width:767.98px){
 #top.afr-product-hub #video-prodotti .content{padding:16px 0!important;vertical-align:bottom}
 #top.afr-product-hub .afr-hub-video-copy{width:100%!important;max-width:350px;padding:16px 18px}
 #top.afr-product-hub .afr-hub-video-copy:before{display:none}
 #top.afr-product-hub #video-prodotti h1{font-size:24px}
 #top.afr-product-hub .afr-hub-video-lead p{font-size:14px;line-height:1.4;margin-top:10px}
 #top.afr-product-hub #prodotti-introduzione .content{padding:14px 0!important}
 #top.afr-product-hub #prodotti-introduzione h2{font-size:22px;line-height:1.15}
 #top.afr-product-hub .afr-hub-experience .entry-content-wrapper{grid-template-columns:1fr;gap:18px}
 #top.afr-product-hub .afr-hub-experience .container{padding-top:26px;padding-bottom:26px}
 #top.afr-product-hub .afr-hub-experience h2{font-size:20px}
 #top.afr-product-hub .afr-hub-orient .entry-content-wrapper{display:grid;grid-template-columns:1fr;gap:12px}
 #top.afr-product-hub .afr-hub-orient .avia-button-wrap,#top.afr-product-hub .afr-hub-orient .avia-button{width:100%;box-sizing:border-box}
}
/* On phones the video stays unobstructed; the same editable title follows it. */
@media(max-width:767.98px){
 #top.afr-product-hub #video-prodotti .av-section-video-bg{height:calc(100vw * 904 / 1292);max-height:360px;bottom:auto;top:0}
 #top.afr-product-hub #video-prodotti .av-section-color-overlay{height:calc(100vw * 904 / 1292);max-height:360px;bottom:auto;top:0}
 #top.afr-product-hub #video-prodotti .container{height:auto!important;padding-top:min(360px,calc(100vw * 904 / 1292))}
 #top.afr-product-hub #video-prodotti .content{padding:0!important;vertical-align:top}
 #top.afr-product-hub .afr-hub-video-copy{float:none!important;width:100%!important;max-width:none;padding:18px;border-radius:0;background:#ffffff}
}
#top.afr-product-hub #video-prodotti .content{padding-top:0!important;padding-bottom:0!important}
@media(min-width:768px) and (max-height:600px){
 #top.afr-product-hub .afr-hub-video-copy{padding:16px 22px}
 #top.afr-product-hub #video-prodotti h1{font-size:28px}
 #top.afr-product-hub .afr-hub-video-lead p{font-size:15px;line-height:1.35;margin-top:10px}
}
@media(max-width:767.98px){
 #top.afr-product-hub #video-prodotti{background-size:100% auto!important;background-position:center top!important}
 #top.afr-product-hub #video-prodotti .container{width:100%;max-width:none;padding-left:0;padding-right:0}
 #top.afr-product-hub .afr-hub-video-copy{padding-left:7.5vw;padding-right:7.5vw}
 #top.afr-product-hub #video-prodotti .av-section-video-bg video{width:100%!important;height:100%!important;left:0!important;top:0!important;object-fit:contain}
}
/* Height is already reserved above: the native minimum-height fade is redundant. */
#top.afr-product-hub #video-prodotti .container{opacity:1!important;transition:none!important}

/* Native editable heading/subheading: compact category guidance. */
#top.afr-product-hub .afr-hub-category-heading{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;flex-wrap:wrap}
#top.afr-product-hub .afr-hub-category-heading .av-special-heading-tag{float:none}
#top.afr-product-hub .afr-hub-category-heading .av-subheading{margin:0;max-width:none;font-size:14px;line-height:1.5;opacity:.85;text-align:left}
#top.afr-product-hub .afr-hub-category-heading .av-subheading p{margin:0}
#top.afr-product-hub .afr-hub-category-heading .special-heading-border{display:none}
@media(max-width:767.98px){#top.afr-product-hub .afr-hub-category-heading{display:flex;flex-direction:column;align-items:flex-start;gap:8px}#top.afr-product-hub .afr-hub-category-heading .av-subheading{max-width:none;font-size:14px}}

/* Thin native Enfold page index, editable in Avia. */
#top.afr-product-hub #prodotti-indice{height:30px;min-height:30px;border:0;background:#f4f4f4;color:#173e44;box-shadow:0 1px 0 #173e4420}
#top.afr-product-hub #prodotti-indice + .sticky_placeholder{height:30px!important}
#top.afr-product-hub #prodotti-indice .container{width:85%;max-width:none;height:30px;min-height:0;overflow-x:auto;scrollbar-width:none}
#top.afr-product-hub #prodotti-indice .container::-webkit-scrollbar{display:none}
#top.afr-product-hub #prodotti-indice .av-subnav-menu{display:flex;justify-content:center;align-items:center;gap:20px;white-space:nowrap;min-width:max-content;height:30px}
#top.afr-product-hub #prodotti-indice .av-subnav-menu>li{display:block;float:none;padding:0;height:30px}
#top.afr-product-hub #prodotti-indice .av-subnav-menu>li>a{display:flex;align-items:center;min-height:30px;padding:0 6px;border:0;font-size:12px;line-height:1.2;color:#173e44;background:transparent}
#top.afr-product-hub #prodotti-indice .av-subnav-menu>li>a[aria-current="location"]{box-shadow:none;color:#173e44;background:#ffc90015}
@media(max-width:767.98px){#top.afr-product-hub #prodotti-indice{position:sticky!important;top:0!important;margin:0}#top.afr-product-hub #prodotti-indice + .sticky_placeholder{display:none}#top.afr-product-hub #prodotti-indice .container{width:100%;padding:0 16px!important}#top.afr-product-hub #prodotti-indice .av-subnav-menu{justify-content:flex-start;gap:12px} }
@media(max-width:767.98px){#top.afr-product-hub #wrap_all{overflow:clip}#top.afr-product-hub #prodotti-indice{top:calc(var(--afr-products-header,60px) + var(--wp-admin--admin-bar--height,0px))!important}}
@media(max-width:767.98px){#top.afr-product-hub{overflow-x:clip;overflow-y:visible}}

@media(max-width:767.98px){#top.afr-product-hub #prodotti-indice .container{box-sizing:border-box;padding-left:12px!important;padding-right:12px!important}#top.afr-product-hub #prodotti-indice .av-subnav-menu{width:max-content;min-width:100%;justify-content:center;gap:8px}#top.afr-product-hub #prodotti-indice .av-subnav-menu>li>a{padding-left:4px;padding-right:4px}}
/* Compact real special-project image, native Avia columns/content. */
#top.afr-product-hub .afr-hub-special .entry-content-wrapper{display:grid;grid-template-columns:.9fr 1.2fr .65fr;gap:26px}
#top.afr-product-hub .afr-hub-special .flex_column{width:auto}
#top.afr-product-hub .afr-hub-special-picture .avia-image-container{width:100%;max-width:300px;filter:drop-shadow(0 7px 12px #0b171926)}
#top.afr-product-hub .afr-hub-special-picture img{display:block;width:100%;height:auto}
@media(min-width:768px) and (max-height:850px){#top.afr-product-hub .afr-hub-special .container{padding-top:18px;padding-bottom:18px}#top.afr-product-hub .afr-hub-cta .container{padding-top:22px;padding-bottom:22px}#top.afr-product-hub .afr-hub-special h2,#top.afr-product-hub .afr-hub-cta h2{font-size:28px;line-height:1.18}#top.afr-product-hub .afr-hub-special .avia_textblock p{font-size:16px;line-height:1.5;margin-bottom:10px}}

@media(max-width:767.98px){#top.afr-product-hub .afr-hub-special .entry-content-wrapper{display:flex;flex-direction:column;align-items:stretch;gap:0}#top.afr-product-hub .afr-hub-special-picture .avia-image-container{max-width:240px;margin-left:auto;margin-right:auto}}

/* Stable initial geometry: the browser sizes the native editorial strip directly. */
#top.afr-product-hub .afr-products-first-screen{display:flow-root}
@media(min-width:768px){
 #top.afr-product-hub{--afr-hub-header-space:60px}
 #top.afr-product-hub #main{padding-top:var(--afr-hub-header-space)!important}
 #top.afr-product-hub .afr-products-first-screen{display:grid;grid-template-rows:minmax(180px,1fr) auto;min-height:calc(100svh - var(--afr-hub-header-space))}
 #top.afr-product-hub.admin-bar .afr-products-first-screen{min-height:calc(100svh - var(--afr-hub-header-space) - 32px)}
 #top.afr-product-hub .afr-products-first-screen>div{float:none;width:100%;min-width:0}
 #top.afr-product-hub #video-prodotti{display:flex}
 #top.afr-product-hub #video-prodotti>.container{height:auto!important;display:flex;align-items:center}
 #top.afr-product-hub #video-prodotti .content{width:100%;float:none}
}
@media(min-width:768px){#top.afr-product-hub{--afr-hub-header-space:calc(var(--af-menu-height,60px) + 2 * var(--af-menu-top,15px))}}
