/* Shared panorama header; the official logo and account controls stay interactive. */
.site-header-panorama{position:relative;isolation:isolate;background:#8fcded;border-bottom:0;backdrop-filter:none}
.site-header-panorama::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('../illustrations/home-header-panorama.webp') center/cover no-repeat}
.site-header-panorama .header-inner{max-width:1680px;min-height:clamp(260px,19.45vw,340px);display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);gap:0;padding:36px 3% 40px;align-items:center}
.site-header-panorama .brand{grid-column:1;grid-row:1;width:min(100%,540px);padding:0;position:relative;isolation:isolate}
.site-header-panorama .brand::before{content:"";position:absolute;inset:0 -12px;z-index:-1;background:radial-gradient(ellipse,#fffdf8e8 25%,#fffdf899 48%,#fffdf800 72%)}
.site-header-panorama .brand img{mask-image:url('../illustrations/home-logo-mask.svg');mask-size:100% 100%;mask-repeat:no-repeat;filter:drop-shadow(0 3px 3px #12304725)}
.site-header-panorama .header-controls{min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:16px;padding-top:26px}
.site-header-panorama .header-navigation{display:flex;align-items:center;justify-content:flex-end;gap:14px;width:fit-content;max-width:100%;padding:8px 16px 8px 22px;border:1px solid #fffdf6c9;border-radius:26px;background:#fffdf6f2;box-shadow:0 5px 18px #173d4620}
.site-header-panorama .main-nav{order:0;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 21px;min-width:0;margin:0;padding:0}
.site-header-panorama .main-nav a{display:flex;align-items:center;min-height:44px;padding:5px 0;font-size:1rem;font-weight:750;white-space:nowrap}
.site-header-panorama .account-nav{order:1;align-self:center;justify-content:flex-end;gap:8px;max-width:240px;flex-wrap:nowrap;padding:0 0 0 10px;border-left:1px solid #12304726}
.site-header-panorama .account-menu summary{background:transparent;max-width:170px;padding:3px 0;gap:8px;border-radius:12px}
.site-header-panorama .account-menu summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 3px 4px;flex-shrink:0}
.site-header-panorama .account-display-name{max-width:110px}
.site-header-panorama .account-login{white-space:nowrap;font-size:.875rem}
.site-header-panorama .account-register{font-size:.875rem;padding:9px 12px;min-height:40px}
.site-header-panorama .language-switch{display:flex;flex-wrap:wrap;grid-column:auto;justify-content:center;justify-self:auto;gap:3px;width:fit-content;max-width:100%;padding:7px 10px;margin:0;border:1px solid #fffdf6c9;border-radius:23px;background:#fffdf6f2;box-shadow:0 5px 18px #173d4620}
.site-header-panorama .language-switch a{flex:0 1 auto;gap:6px;min-height:38px;padding:7px 10px;font-size:.875rem;font-weight:750;border-radius:13px}
.site-header-panorama .language-switch img{width:26px;height:18px}
@media(min-width:1051px) and (max-width:1450px){.site-header-panorama .header-inner{grid-template-columns:minmax(0,38%) minmax(0,62%);padding-inline:3%}.site-header-panorama .header-navigation{gap:10px;padding-inline:15px}.site-header-panorama .main-nav{gap:2px 14px}.site-header-panorama .main-nav a{font-size:.875rem}.site-header-panorama .account-display-name{max-width:80px}}
@media(max-width:1050px){.site-header-panorama .header-inner{grid-template-columns:minmax(0,1fr);gap:18px;min-height:0;padding:26px 24px}.site-header-panorama .brand{grid-column:1;grid-row:1;width:min(66%,470px);justify-self:start}.site-header-panorama .header-controls{padding:0;gap:12px;align-items:flex-end}.site-header-panorama .header-navigation{width:100%;justify-content:space-between}.site-header-panorama .main-nav{grid-column:auto;grid-row:auto;justify-content:flex-start;gap:2px 18px}.site-header-panorama .language-switch{grid-column:auto;grid-row:auto;justify-self:auto}}
@media(max-width:600px){.site-header-panorama::before{background-position:42% center}.site-header-panorama .header-inner{padding:22px 14px 18px;gap:18px}.site-header-panorama .brand{width:min(90%,350px);justify-self:center}.site-header-panorama .header-controls{align-items:stretch;gap:10px}.site-header-panorama .header-navigation{flex-wrap:wrap;justify-content:center;gap:5px;padding:8px 12px;border-radius:20px}.site-header-panorama .main-nav{justify-content:center;gap:0 16px;width:100%}.site-header-panorama .main-nav a{min-height:44px;font-size:.875rem}.site-header-panorama .account-nav{max-width:100%;border-left:0;border-top:1px solid #12304720;justify-content:center;width:100%;padding:5px 0 0;gap:12px}.site-header-panorama .account-menu summary{max-width:230px}.site-header-panorama .account-display-name{max-width:150px}.site-header-panorama .language-switch{width:100%;padding:5px;gap:2px;border-radius:18px}.site-header-panorama .language-switch a{flex:1 0 28%;font-size:.875rem;min-height:44px;padding:6px;gap:6px}}
