/* One layout for public navigation in the client site and learning pages. */
.top{display:grid!important;grid-template-columns:minmax(230px,1fr) auto minmax(230px,1fr);height:auto!important;min-height:84px;padding:12px clamp(20px,4vw,80px)!important;gap:20px!important;overflow:visible!important}
.top .identity{grid-column:1;grid-row:1;justify-self:start;order:0!important;min-width:0!important;max-width:none!important;gap:10px!important}
.top .identity img{width:60px!important;height:60px!important;flex:0 0 60px;object-fit:contain}
.top .identity span{font-size:16px;letter-spacing:1.5px}
.top .identity small{line-height:1.4;font-size:11px}
.top #public-nav{grid-column:2;grid-row:1;position:static!important;inset:auto!important;display:flex!important;flex:none!important;width:auto!important;max-width:none!important;padding:0!important;margin:0!important;order:0!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:14px!important;overflow:visible!important;font-size:13px}
.top #public-nav>a{flex:none!important;order:0!important;margin:0!important;min-width:0;white-space:nowrap;line-height:1.4;padding:10px 0}
.top #public-nav>a[data-page=login],.top #public-nav>a[data-page=dashboard]{order:0!important;margin:0!important;padding:10px 14px!important;box-shadow:none!important}
.top #portal-language-switch{grid-column:3;grid-row:1;justify-self:end;order:0!important;margin:0!important;height:42px;min-height:42px;padding:0 16px!important;min-width:92px;font-size:13px}
.top #menu-toggle{display:none!important;order:0!important}
.top .app-download{display:none!important}
.seo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,260px));justify-content:start;gap:22px;margin-top:28px}
.seo-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--panel)}
.seo-card>a{display:block}.seo-card>a>img{display:block;width:100%;aspect-ratio:1;max-height:none;object-fit:cover}
.seo-card>a>div{padding:16px}.seo-card h2{font-size:18px;line-height:1.6;margin:10px 0}.seo-card p{margin:8px 0}
@media(max-width:1440px){
 .top{grid-template-columns:minmax(0,1fr) auto auto;gap:12px!important;padding:12px 20px!important}
 .top .identity{grid-column:1;min-width:0!important}.top .identity small{display:none}
 .top #portal-language-switch{grid-column:2;justify-self:stretch}
 .top #menu-toggle{grid-column:3;grid-row:1;display:flex!important;width:44px;height:44px;padding:0;flex:none}
 .top #public-nav{grid-column:1/-1;grid-row:2;display:none!important;width:100%!important;max-height:65dvh;overflow-y:auto!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;background:#0c1a2c;padding:12px!important;border-radius:14px}
 .top #public-nav.open{display:flex!important}.top #public-nav>a{width:100%!important;text-align:center;justify-content:center;padding:11px!important}
}
@media(max-width:480px){.top{padding:10px 12px!important;gap:8px!important}.top .identity img{width:44px!important;height:44px!important;flex-basis:44px}.top .identity span{font-size:12px;letter-spacing:.6px}.top #portal-language-switch{min-width:72px;font-size:12px;padding:0 10px!important}.top #menu-toggle{width:40px;height:42px}.seo-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.seo-card h2{font-size:15px}.seo-card>a>div{padding:12px}.seo-meta{font-size:12px}}
@media(max-width:350px){.top .identity span{font-size:10px}.top .identity{gap:6px!important}.seo-list{grid-template-columns:1fr}}

/* Mobile navigation is an overlay, never an extra row inside the sticky header. */
@media(max-width:1440px){
 html body header.top{position:sticky!important;top:0!important;isolation:isolate;overflow:visible!important;grid-template-rows:auto!important}
 html body header.top #public-nav{position:absolute!important;grid-column:auto!important;grid-row:auto!important;inset-inline:12px!important;top:calc(100% + 6px)!important;bottom:auto!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:calc(100vh - var(--public-menu-top,var(--public-header-height,90px)) - 18px)!important;max-height:calc(100dvh - var(--public-menu-top,var(--public-header-height,90px)) - 18px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scroll-padding-block:10px;scrollbar-gutter:stable;justify-content:flex-start!important;align-content:flex-start!important;align-items:stretch!important;flex-direction:column!important;gap:4px!important;padding:10px!important;margin:0!important;border-radius:12px!important;border:1px solid #d6dde6!important;background:#fff!important;box-shadow:0 14px 36px #18263b24!important;z-index:40}
 html body header.top #public-nav:not(.open){display:none!important}
 html body header.top #public-nav.open{display:flex!important}
 html body header.top #public-nav>a{flex:0 0 auto!important;box-sizing:border-box!important;min-height:44px!important;width:100%!important;margin:0!important;padding:10px 14px!important;line-height:1.6!important;justify-content:flex-start!important;text-align:start!important;border-radius:7px;white-space:normal!important;overflow-wrap:anywhere}
 html body header.top #public-nav>a:hover,html body header.top #public-nav>a:focus-visible{background:#edf1f5!important;color:#27384e!important}
 html body header.top #public-nav>a[aria-current=page]{background:#eee5d2!important;color:#62491f!important;font-weight:750!important}
 html body header.top #public-nav>a:after{display:none!important}
 html body header.top #menu-toggle{align-items:center;justify-content:center;min-width:42px;min-height:44px;flex-shrink:0}
}
