/* Only public Home / Chi sono, tablet portrait and small landscape. */
@media(min-width:768px) and (max-width:1024px){
html body.gfhm-tablet-public .td-header-template-wrap{background:#fff!important;position:relative!important;top:auto!important;min-height:0!important}
html body.gfhm-tablet-public .td-header-template-wrap .vc_row:has(.tdb_header_menu){padding:12px 18px!important;margin:0!important;min-height:0!important;background:#fff!important}
html body.gfhm-tablet-public .td-header-template-wrap .vc_column:has(.tdb_header_logo){padding:0 10px 0 0!important;min-width:0!important}
html body.gfhm-tablet-public .td-header-template-wrap .tdb-logo-img{width:100%!important;max-width:220px!important;height:auto!important;object-fit:contain}
html body.gfhm-tablet-public .td-header-template-wrap .tdb_header_menu{margin:0!important;max-width:100%!important}
html body.gfhm-tablet-public .td-header-template-wrap .tdb-menu{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end;gap:0!important;white-space:nowrap}
html body.gfhm-tablet-public .td-header-template-wrap .tdb-menu>li{margin:0!important;float:none!important;flex:0 0 auto}
html body.gfhm-tablet-public .td-header-template-wrap .tdb-menu>li>a{font-size:12px!important;padding:0 5px!important;line-height:48px!important;white-space:nowrap}
html body.gfhm-tablet-public .td-header-template-wrap .tdb-menu>li>a .tdb-sub-menu-icon{margin-left:3px!important;font-size:10px!important}
/* Ensure theme sticky rows have a solid canvas while scrolling. */
html body.gfhm-tablet-public .td-header-template-wrap .vc_row:has(.tdb_header_menu),html body.gfhm-tablet-public .td-header-template-wrap .tdc-row:has(.tdb_header_menu){background-color:#fff!important}
html body.gfhm-tablet-home .gfhm-desktop .gfa-side{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
html body.gfhm-tablet-home .gfhm-desktop .gfa-side>*{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;grid-column:1/-1!important}
html body.gfhm-tablet-home .gfhm-desktop .gfa-side .gfhm-subscribe{width:100%!important;max-width:none!important}
html body.gfhm-tablet-home .gfhm-desktop{margin-top:0!important;padding-top:0!important}
html body.gfhm-tablet-home :is(.tdc-zone,.tdc_zone):has(.gfhm-desktop){padding-top:0!important;margin-top:0!important}
html body .gfcs.gfcs-public-refresh .pillars{grid-template-columns:minmax(0,1fr)!important;gap:14px}
html body .gfcs.gfcs-public-refresh .pillar{padding:20px 22px;min-height:0}
html body .gfcs.gfcs-public-refresh .pillar-icon{float:left;margin:0 18px 8px 0}
html body .gfcs.gfcs-public-refresh .pillar h2{margin-top:0}
html body .gfcs.gfcs-public-refresh .pillar p{margin-bottom:0}
html body .gfcs.gfcs-public-refresh .method{grid-template-columns:minmax(0,1fr)!important;gap:18px;padding:24px}
html body .gfcs.gfcs-public-refresh .method ul{margin:0;padding-left:0}
html body .gfcs.gfcs-public-refresh .quote{margin-top:24px;margin-bottom:0;padding-top:8px;padding-bottom:8px}
html body .gfcs.gfcs-public-refresh .content{padding-bottom:22px}
html body:has(.gfcs-public-refresh) .gfhm-about-tablet-footer{margin-top:0!important}
}

@media(min-width:768px) and (max-width:1024px){
 body.gfhm-tablet-home .gfhm-tablet-calm{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
 body.gfhm-tablet-home .gfhm-tablet-calm-tabs{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;white-space:normal!important;height:auto!important}
 body.gfhm-tablet-home .gfhm-tablet-calm-tabs> :is(button,[role="tab"],a){flex:1 1 200px!important;min-width:0!important;max-width:100%!important;white-space:normal!important;height:auto!important;min-height:44px;box-sizing:border-box}
 body.gfhm-tablet-home .gfhm-tablet-calm :is([role="tabpanel"],article){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;overflow-wrap:break-word}
 body.gfhm-tablet-home .gfhm-tablet-calm img{max-width:100%!important;height:auto}
 body.gfhm-tablet-home .gfhm-tablet-calm :is(h1,h2,h3,p){max-width:100%!important;white-space:normal!important;overflow-wrap:break-word}
 body.gfhm-tablet-home .gfhm-tablet-empty-layout-row{display:none!important}
 body.gfhm-tablet-home .gfhm-tablet-footer{clear:both}
}

@media(min-width:768px) and (max-width:1024px){
 body.gfhm-tablet-home .gfhm-tablet-home-empty-tail{display:none!important}
 body.gfhm-tablet-home .gfhm-tablet-footer{box-sizing:border-box;width:100%!important;max-width:1320px;margin:0 auto!important;padding:0 8px;background:#fff}
 body.gfhm-tablet-home .gfhm-tablet-footer .gfs-site-footer{margin-bottom:0!important}
}
