/* Static sections inherit the current site palette and header typography. */
.shared-page-header .logo>span:last-child{white-space:nowrap}
.shared-page-header .lang-menu>.nav-dropdown{right:0;left:auto;transform:none;width:220px;max-height:min(68dvh,540px);overflow-y:auto;overscroll-behavior:contain}
.shared-page-header .nav-dropdown a[aria-current=page]{background:var(--pink);font-weight:750}
.shared-mobile-nav{display:none}
.shared-page-footer .footer-line{align-items:flex-start;gap:16px}
.shared-page-footer p{font-size:12px;line-height:1.6;max-width:60ch}
.shared-page-footer nav{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px}
.shared-page-footer nav a{min-height:32px;display:inline-flex;align-items:center}
@media(max-width:1100px){
 .shared-page-header{backdrop-filter:none}
 .shared-page-header .wrap.nav{min-height:68px;align-items:center;flex-wrap:nowrap;gap:12px;position:relative}
 .shared-page-header .nav-links{display:none!important}
 .shared-page-header .logo{max-width:calc(100% - 100px);font-size:19px;gap:9px}
 .shared-page-header .logo-square{width:34px;height:34px;flex-shrink:0}
 .shared-mobile-nav{display:block;margin-left:auto;position:static}
 .shared-page-header .shared-mobile-nav>summary{min-height:44px;min-width:84px;display:flex;align-items:center;justify-content:center;gap:9px;padding:9px 12px;border:1px solid var(--border);border-radius:7px;background:var(--surface);font:650 13px var(--font)}
 .shared-page-header .shared-mobile-nav[open]>summary{background:var(--pink)}
 .shared-menu-bars{width:17px;height:14px;display:flex;flex-direction:column;justify-content:space-between}
 .shared-menu-bars i{height:2px;background:var(--ink);width:100%;border-radius:1px}
 .shared-mobile-panel{position:absolute;top:calc(100% - 1px);right:0;z-index:60;width:min(380px,100%);max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:0 0 10px 10px;box-shadow:0 12px 28px #25252920}
 .shared-mobile-nav:not([open]) .shared-mobile-panel{display:none}
 .shared-mobile-panel>nav:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .shared-mobile-panel nav a{min-width:0;min-height:44px;display:flex;align-items:center;padding:10px;font-size:14px;font-weight:600;border-radius:5px;color:var(--ink);overflow-wrap:anywhere}
 .shared-mobile-panel nav a:hover{background:var(--bg)}
 .shared-mobile-panel nav a[aria-current=page]{background:var(--pink);color:var(--ink)}
 .shared-mobile-panel nav a:after{display:none}
 .shared-language-label{border-top:1px solid var(--border);padding-top:13px;margin:14px 10px 6px;color:var(--muted);font-weight:650;font-size:12px}
 .shared-mobile-panel .shared-language-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
 .shared-mobile-panel .shared-language-list a{font-size:13px}
 .shared-mobile-panel button{display:block;min-height:44px;width:100%;margin-top:14px;border:1px solid var(--border);border-radius:5px;background:var(--card2);color:var(--ink);font-size:13px;font-weight:650}
}
@media(max-width:480px){
 .shared-page-header .wrap.nav{min-height:64px}
 .shared-page-header .logo{font-size:17px;letter-spacing:-.04em;gap:7px}
 .shared-page-header .logo-square{width:30px;height:30px;font-size:17px}
 .shared-page-footer{padding-bottom:24px}
 .shared-page-footer .footer-line{display:flex;flex-direction:column}
 .shared-page-footer nav{gap:5px 15px}
}
