/* The exhibition has its own compact identity; other routes keep their header. */
body[data-home-design="gallery"][data-mode="culture"] #header.culture-masthead {
  background:#101b19;
  color:#f3f0e7;
  border-bottom:1px solid #d5c6a330;
  backdrop-filter:none;
}
#header.culture-masthead .header-inner {
  width:calc(100% - 80px);
  max-width:1640px;
  min-height:88px;
  grid-template-columns:auto minmax(0,1fr);
  gap:48px;
  padding-block:0;
}
#header.culture-masthead .brand { gap:12px; }
#header.culture-masthead .brand-mark { width:46px; height:46px; flex:none; }
#header.culture-masthead .masthead-identity { display:grid; gap:4px; color:inherit; }
#header.culture-masthead .masthead-identity b { font:400 28px/1 Georgia,serif; }
#header.culture-masthead .masthead-identity small { font-size:9px; line-height:1.2; color:#b8c2ba; font-weight:500; margin:0; }
#header.culture-masthead .navigation-cluster { justify-self:stretch; justify-content:space-between; gap:28px; min-width:0; position:static; }
#header.culture-masthead .mode-switch { display:flex; gap:3px; padding:4px; border:1px solid #d5c6a330; border-radius:5px; background:#ffffff04; flex:none; }
#header.culture-masthead .mode-switch a { display:flex; justify-content:center; align-items:center; gap:9px; min-width:122px; min-height:42px; padding:9px 15px; border:0; border-radius:3px; color:#b8c2ba; font-size:13px; font-weight:500; transition:background .18s,color .18s; }
#header.culture-masthead .mode-switch a:hover { background:#ffffff0d; color:#fff; }
#header.culture-masthead .mode-switch a[aria-current] { background:#dfd3b4; color:#14231e; }
#header.culture-masthead .mode-switch svg { width:17px; height:17px; flex:none; }
#header.culture-masthead .mode-switch .mode-label { font:inherit; margin:0; }
#header.culture-masthead .home-shortlinks { display:flex; align-items:center; gap:26px; margin-left:auto; white-space:nowrap; }
#header.culture-masthead .home-shortlinks a { display:flex; align-items:center; min-height:44px; font-size:13px; font-weight:400; color:#c9d0c9; text-decoration:none; transition:color .18s; }
#header.culture-masthead .home-shortlinks a:hover { color:#e5d5ab; }
#header.culture-masthead .masthead-actions { display:flex; gap:20px; align-items:center; flex:none; }
#header.culture-masthead .language-switch { display:flex; gap:1px; padding-right:20px; border-right:1px solid #d5c6a330; }
#header.culture-masthead .language-switch button { min-height:44px; min-width:30px; padding:0 5px; border:0; border-radius:0; background:transparent; color:#9aa8a0; font-size:11px; font-weight:500; position:relative; }
#header.culture-masthead .language-switch button[aria-pressed="true"] { color:#f3f0e7; }
#header.culture-masthead .language-switch button[aria-pressed="true"]::after { content:""; position:absolute; bottom:7px; width:12px; height:1px; background:#dfd3b4; left:50%; transform:translateX(-50%); }
#header.culture-masthead .language-switch>span { display:none; }
#header.culture-masthead .menu-button { width:44px; height:44px; padding:11px; border:1px solid #d5c6a347; border-radius:4px; background:transparent; color:#f3f0e7; flex:none; transition:background .18s,border-color .18s; }
#header.culture-masthead .menu-button:hover,#header.culture-masthead .menu-button[aria-expanded="true"] { background:#dfd3b417; border-color:#dfd3b4; }
#header.culture-masthead .menu-button svg { width:20px; height:20px; }
#header.culture-masthead .menu-close-icon,#header.culture-masthead .menu-button[aria-expanded="true"] .menu-open-icon { display:none; }
#header.culture-masthead .menu-button[aria-expanded="true"] .menu-close-icon { display:block; }
#header.culture-masthead :is(a,button,input):focus-visible { outline:2px solid #dfd3b4; outline-offset:4px; }
#header.culture-masthead .menu-panel {
  position:absolute;
  top:calc(100% + 10px);
  right:max(40px,calc((100% - 1640px)/2));
  left:auto;
  width:370px;
  min-width:0;
  max-width:calc(100vw - 32px);
  max-height:calc(100svh - 114px);
  overflow:auto;
  padding:18px;
  border:1px solid #d5c6a340;
  border-radius:6px;
  background:#15231e;
  color:#f3f0e7;
  box-shadow:0 20px 50px #0005;
}
#header.culture-masthead .menu-heading { color:#dfd3b4; border-bottom:1px solid #d5c6a330; padding:5px 10px 17px; margin-bottom:8px; font-size:12px; }
#header.culture-masthead .menu-panel a { min-height:48px; padding:12px 10px; color:#e4e9e2; border-radius:3px; font-size:14px; }
#header.culture-masthead .menu-panel a:hover,#header.culture-masthead .menu-panel a[aria-current] { background:#dfd3b414; color:#eadbb7; }
#header.culture-masthead .menu-number { color:#a1b1a5; font-size:10px; }
#header.culture-masthead .menu-panel .view-preference { margin-top:12px; padding:16px 10px 5px; border-top:1px solid #d5c6a330; color:#c9d0c9; }
@media (max-width:1200px) {
  #header.culture-masthead .header-inner { gap:30px; width:calc(100% - 48px); }
  #header.culture-masthead .home-shortlinks { gap:18px; }
  #header.culture-masthead .navigation-cluster { gap:20px; }
  #header.culture-masthead .menu-panel { right:24px; }
}
@media (max-width:1080px) {
  #header.culture-masthead .home-shortlinks { display:none; }
  #header.culture-masthead .navigation-cluster { justify-content:flex-end; gap:30px; }
}
@media (max-width:650px) {
  #header.culture-masthead .header-inner { width:calc(100% - 32px); min-height:124px; grid-template-columns:1fr auto; grid-template-rows:62px 54px; gap:0 12px; padding:0 0 8px; }
  #header.culture-masthead .brand { grid-row:1; grid-column:1; gap:8px; }
  #header.culture-masthead .brand-mark { width:34px; height:34px; }
  #header.culture-masthead .masthead-identity { gap:3px; }
  #header.culture-masthead .masthead-identity b { font-size:23px; }
  #header.culture-masthead .masthead-identity small { font-size:8px; }
  #header.culture-masthead .navigation-cluster { display:contents; }
  #header.culture-masthead .masthead-actions { grid-column:2; grid-row:1; gap:10px; }
  #header.culture-masthead .language-switch { gap:0; padding-right:0; border:0; }
  #header.culture-masthead .language-switch button { min-width:28px; min-height:44px; font-size:10px; padding:0 4px; }
  #header.culture-masthead .mode-switch { grid-column:1/-1; grid-row:2; display:grid; grid-template-columns:1fr 1fr; gap:3px; }
  #header.culture-masthead .mode-switch a { min-width:0; min-height:42px; font-size:12px; padding:8px; }
  #header.culture-masthead .menu-panel { top:calc(100% + 8px); right:16px; left:16px; width:auto; max-height:calc(100svh - 148px); }
}
@media (prefers-reduced-motion:reduce) {
  #header.culture-masthead :is(a,button) { transition:none; }
}
