/* Shared sticky navigation for the SSL, enterprise mail and S/MIME columns. */
html:has(#main-content .ssl-jump){
 --section-header-height:75px;
 --section-header-offset:0px;
 --section-nav-height:61px;
 scroll-padding-top:calc(var(--section-header-offset) + var(--section-header-height) + var(--section-nav-height) + 12px);
}
html:has(body.admin-bar #main-content .ssl-jump){--section-header-offset:32px}
@media(min-width:1201px){html:has(#main-content .ssl-jump){--section-header-height:97px}}
@media(min-width:901px) and (max-width:1200px){html:has(#main-content .ssl-jump){--section-header-height:85px}}
@media(max-width:782px){html:has(body.admin-bar #main-content .ssl-jump){--section-header-offset:46px}}
/* Reserve enough space for wrapped mail navigation before JavaScript measures it. */
@media(max-width:620px){html:has(#main-content .ssl-jump){--section-nav-height:109px}}
html:has(#main-content .marketing-banner--ssl){--section-nav-height:57px}
@media(max-width:620px){html:has(#main-content .marketing-banner--ssl){--section-nav-height:55px}}
#main-content .ssl-jump{top:calc(var(--section-header-offset,0px) + var(--section-header-height,75px))}
#main-content .ssl-jump>.wrap{height:auto}
#main-content:has(.ssl-jump) :is(section,article,div)[id]{scroll-margin-top:0!important}
