/* One shared header/footer frame on all public pages. */
body .museum-site-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;width:100%;max-width:1280px;margin:0 auto;padding:16px 24px;box-sizing:border-box;flex-wrap:nowrap;border:0;background:transparent}
body .museum-site-header>.museum-wordmark,body .museum-site-header>.brand{flex:0 0 230px;margin:0;padding:0}body .museum-site-header>.museum-wordmark img,body .museum-site-header>.brand img{display:block;width:230px;height:auto;max-width:100%}
body .museum-site-header .museum-unified-nav{position:static;flex:1;min-width:0;max-width:none;margin:0;padding:0;border:0;background:transparent}
body .museum-site-header .museum-main-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:none;margin:0;gap:0}
body .museum-site-header .museum-main-tabs>button{min-height:48px;padding:8px 4px;text-align:center;white-space:nowrap;font:14px/1.5 system-ui;color:#173842}
body .museum-site-header .museum-menu-toggle{display:none}
body .museum-site-header .museum-menu-panel[data-menu]{position:absolute;left:auto;right:24px;top:100%;width:min(var(--panel-width),calc(100% - 48px));box-sizing:border-box;padding:16px 20px;max-height:65vh;overflow:auto;z-index:100}
body footer{display:block;width:100%;box-sizing:border-box;padding:20px 24px;margin-top:24px;background:#15333d;color:#e0e9e7}
body footer>.museum-site-footer-inner{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:12px 28px;width:100%;max-width:1232px;margin:0 auto;padding:0;box-sizing:border-box}
body footer .museum-wordmark{margin:0;padding:0}body footer .museum-wordmark img{display:block;width:200px;max-width:100%;height:auto}
body footer .museum-footer-nav{grid-column:1/-1;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 28px;padding:0;margin:0;border:0}
body footer .museum-footer-nav a{color:inherit;font:13px/1.6 system-ui;text-decoration:none}body footer .museum-footer-nav a:hover{text-decoration:underline}
body footer p{margin:4px 0;font-size:12px;line-height:1.7}body footer small{font-size:11px}
@media(max-width:800px){body .museum-site-header{gap:14px;padding:12px 16px}body .museum-site-header>.museum-wordmark,body .museum-site-header>.brand{flex-basis:150px}body .museum-site-header .museum-main-tabs{grid-template-columns:repeat(5,minmax(100px,1fr));overflow-x:auto;scrollbar-width:thin}body .museum-site-header .museum-main-tabs>button{font-size:12px}body .museum-site-header .museum-menu-panel[data-menu]{left:16px;right:16px;width:calc(100% - 32px);padding:12px}body footer{padding:18px 16px}body footer>.museum-site-footer-inner{grid-template-columns:1fr;gap:12px}body footer .museum-footer-nav{justify-content:flex-start;gap:8px 20px}}

.museum-partners{max-width:1200px;margin:0 auto;padding:32px 24px;box-sizing:border-box}.museum-partners h2{font:400 28px/1.4 "Yu Mincho",serif;margin:0 0 10px}.museum-partners>p{font-size:14px;line-height:1.7}.partner-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.partner-card{border:1px solid #c9c6be;background:#fffdf7;min-width:0}.partner-photo-placeholder{aspect-ratio:4/3;display:grid;place-items:center;background:#ece8df;color:#667779;font:16px/1.4 system-ui}.partner-card>p{font:13px/1.6 system-ui;color:#193a42;padding:10px;margin:0;min-height:42px}@media(max-width:700px){.partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.museum-partners{padding:24px 16px}}@media(max-width:360px){.partner-grid{grid-template-columns:1fr}}


/* Keep the five visitor destinations visible without horizontal scrolling. */
@media (max-width: 800px) {
  body .museum-site-header,
  body.mosaic-home .masthead.museum-site-header {
    /* museum.css sets the shared header row with !important. */
    flex-direction: column !important;
    gap: 8px;
    padding: 12px 16px;
  }

  body .museum-site-header > .museum-wordmark,
  body .museum-site-header > .brand {
    flex: none;
    width: 150px;
  }

  body .museum-site-header .museum-unified-nav {
    flex: none;
    width: 100%;
  }

  :is(body .museum-site-header, body.mosaic-home .masthead) .museum-unified-nav .museum-main-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  :is(body .museum-site-header, body.mosaic-home .masthead) .museum-unified-nav .museum-main-tabs > button {
    min-height: 44px;
    padding: 6px 4px;
    white-space: normal;
    overflow-wrap: normal;
    font: 600 14px/1.4 system-ui;
    color: #173842;
    border-radius: 4px;
  }

  body .museum-site-header .museum-menu-panel[data-menu] {
    overscroll-behavior: contain;
  }

  body .museum-site-header .museum-menu-panel :is(a, summary, button, input) {
    min-height: 44px;
    box-sizing: border-box;
  }

  body .museum-site-header .museum-menu-panel summary {
    padding-block: 10px;
  }

  body .museum-site-header .museum-menu-panel input {
    font-size: 16px;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  :is(body .museum-site-header, body.mosaic-home .masthead) .museum-unified-nav .museum-main-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body .museum-site-header .museum-unified-nav :is(a, button, summary, input):focus-visible {
  outline: 3px solid #005b70;
  outline-offset: 2px;
}

body .museum-site-header .museum-main-tabs > button:focus-visible {
  outline-offset: -3px;
}
