/* Shared anonymous header across public pages and PHP views. */
:is(#gk-design .gk-header,.gk-header){box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px 20px;width:100%;max-width:1440px;height:auto;min-height:100px;margin:0 auto;padding:20px 32px;border-bottom:1px solid #d6d1c4;color:#243d33;font:12px/1.6 Studio,Arial,sans-serif}
:is(#gk-design .gk-header,.gk-header)>.gk-brand{grid-column:1;grid-row:1;display:flex;align-items:center;gap:12px;min-width:0;margin:0;color:inherit;font:23px/1.1 Archive,Georgia,serif;text-decoration:none}
:is(#gk-design .gk-header,.gk-header) .gk-mark{display:block;flex:0 0 42px;width:42px;height:44px;max-width:100%;padding:0;border:0;border-radius:0;object-fit:contain}
:is(#gk-design .gk-header,.gk-header)>.gk-brand>span{min-width:0;overflow-wrap:anywhere}
:is(#gk-design .gk-header,.gk-header) .gk-brand small{display:block;margin-top:7px;color:#687068;font:9px/1.5 Studio,Arial,sans-serif;letter-spacing:.13em}
:is(#gk-design .gk-header,.gk-header)>#navigation{grid-column:2;grid-row:1;position:static;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 22px;min-width:0;width:auto;flex-basis:auto;margin:0;padding:0;border:0;box-shadow:none;background:transparent;font:12px/1.6 Studio,Arial,sans-serif}
:is(#gk-design .gk-header,.gk-header)>#navigation a{display:block;max-width:100%;padding:9px 0;color:inherit;text-decoration:none;overflow-wrap:anywhere}
:is(#gk-design .gk-header,.gk-header)>#navigation a:is(:hover,[aria-current=page]){color:#735a31;text-decoration:underline;text-underline-offset:5px}
:is(#gk-design .gk-header,.gk-header)>.language-switch{grid-column:3;grid-row:1;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:6px;min-width:0;width:auto;flex:0 0 auto;margin:0;padding:4px 0;align-self:center;border:0;box-shadow:none;background:transparent}
:is(#gk-design .gk-header,.gk-header)>.language-switch a{display:flex;align-items:center;justify-content:center;gap:4px;min-width:36px;min-height:36px;padding:3px;line-height:1;text-decoration:none}
:is(#gk-design .gk-header,.gk-header)>.profile-menu{grid-column:4;grid-row:1;margin:0;align-self:center}
:is(#gk-design .gk-header,.gk-header) .profile-menu-button{width:82px}
@media(max-width:1000px){
 :is(#gk-design .gk-header,.gk-header){grid-template-columns:minmax(0,1fr) auto auto;column-gap:10px}
 :is(#gk-design .gk-header,.gk-header)>#navigation{grid-column:1/-1;grid-row:2;width:100%;justify-content:space-between;padding:10px 0;border-block:1px solid #d6d1c4}
 :is(#gk-design .gk-header,.gk-header)>.language-switch{grid-column:2;flex-direction:column;gap:0;padding:0}
 :is(#gk-design .gk-header,.gk-header)>.language-switch a{min-height:26px}
 :is(#gk-design .gk-header,.gk-header)>.profile-menu{grid-column:3}
 :is(#gk-design .gk-header,.gk-header) .profile-menu-button{width:60px}
}
@media(max-width:600px){:is(#gk-design .gk-header,.gk-header){padding:18px 24px}}
@media(max-width:380px){
 :is(#gk-design .gk-header,.gk-header){padding-inline:16px;column-gap:6px}
 :is(#gk-design .gk-header,.gk-header)>.gk-brand{font-size:18px;gap:6px}
 :is(#gk-design .gk-header,.gk-header) .gk-mark{width:30px;height:34px;flex-basis:30px}
 :is(#gk-design .gk-header,.gk-header) .gk-brand small{font-size:7px;letter-spacing:.06em}
}


/* Authenticated public pages use the same header geometry as the workspace. */
.workspace-header{box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px 20px;width:100%;max-width:1600px;min-height:100px;margin:0 auto;padding:20px 32px;border-bottom:1px solid #d6d1c4;color:#243d33;font:12px/1.6 Studio,Arial,sans-serif}
.workspace-header>.brand{grid-column:1;grid-row:1;display:flex;align-items:center;gap:12px;min-width:0;margin:0;color:inherit;font:23px/1.1 Archive,Georgia,serif;text-decoration:none}
.workspace-header .brand-mark{display:block;flex:0 0 42px;width:42px;height:48px;max-width:100%;padding:0;border:0;border-radius:0;object-fit:contain}
.workspace-header>.brand>span{min-width:0;overflow-wrap:anywhere}
.workspace-header .brand small{display:block;margin-top:7px;color:#687068;font:9px/1.5 Studio,Arial,sans-serif;letter-spacing:.13em}
.workspace-header>.workspace-nav{grid-column:2;grid-row:1;position:static;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 10px;min-width:0;width:auto;margin:0;padding:0;border:0;box-shadow:none;background:transparent;font:11px/1.5 Studio,Arial,sans-serif}
.workspace-header>.workspace-nav a{display:block;max-width:100%;margin:0;padding:9px 8px;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.workspace-header>.workspace-nav a:is(:hover,[aria-current=page]){color:#735a31;text-decoration:underline;text-underline-offset:5px}
.workspace-header>.language-switch{grid-column:3;grid-row:1;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:6px;min-width:0;width:auto;flex:0 0 auto;margin:0;padding:4px 0;align-self:center}
.workspace-header>.language-switch a{display:flex;align-items:center;justify-content:center;gap:4px;min-width:36px;min-height:36px;padding:3px;line-height:1;text-decoration:none}
.workspace-header>.language-switch a[aria-current=true]{border-color:#866936;background:#e8e9df}
.workspace-header>.language-switch img{display:block;width:28px;height:20px;object-fit:cover;border:1px solid #0002}
.workspace-header>.language-switch .language-code{font-size:10px;line-height:1;font-weight:700;color:inherit}
.workspace-header>.profile-menu{grid-column:4;grid-row:1;margin:0;align-self:center}
.workspace-header .profile-menu-button{width:82px}
@media(max-width:1180px){
 .workspace-header{grid-template-columns:minmax(0,1fr) auto auto;column-gap:10px;padding:18px 24px 0;border-bottom:0;row-gap:16px}
 .workspace-header>.workspace-nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:space-between;padding:10px 0;border-block:1px solid #d6d1c4}
 .workspace-header>.language-switch{grid-column:2;grid-row:1;flex-direction:column;gap:0;padding:0}
 .workspace-header>.language-switch a{min-height:26px}
 .workspace-header>.profile-menu{grid-column:3;grid-row:1}
 .workspace-header .profile-menu-button{width:60px}
}
@media(max-width:600px){
 .workspace-header{padding:18px 24px;column-gap:6px}
 .workspace-header>.brand{flex:1 1 120px;gap:7px;font-size:20px}
 .workspace-header .brand-mark{width:30px;height:34px;flex-basis:30px}
 .workspace-header .brand small{font-size:8px;letter-spacing:.08em}
 .workspace-header>.language-switch{margin:0;flex-direction:column;gap:0;padding:0}
 .workspace-header>.language-switch a{min-width:31px;min-height:26px}
 .workspace-header>.language-switch img{width:24px;height:17px}
 .workspace-header>.profile-menu .profile-menu-button{width:60px}
 .workspace-header>.workspace-nav{justify-content:space-between;gap:4px 6px;padding:8px 0}
 .workspace-header>.workspace-nav a{padding:8px 4px;font-size:10px}
}
@media(max-width:380px){
 .workspace-header{padding-inline:16px}
 .workspace-header>.brand{gap:6px;font-size:18px}
 .workspace-header .brand-mark{width:30px;height:34px;flex-basis:30px}
 .workspace-header .brand small{font-size:7px;letter-spacing:.06em}
}
