/* Main-page metrics: 12px type, 32px controls, 16px horizontal / 8px vertical gaps. */
html body header.aia-unified-header.aia-unified-header{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;height:auto!important;min-height:0!important}
html body header.aia-unified-header .aia-unified-layout{display:grid!important;grid-template-columns:minmax(180px,max-content) minmax(0,1fr)!important;align-items:center!important;gap:12px 24px!important;box-sizing:border-box!important;width:100%!important;max-width:1480px!important;margin:0 auto!important;padding:20px 4%!important}
html body header.aia-unified-header .aia-unified-brand{min-width:0!important;max-width:360px!important}
html body header.aia-unified-header .aia-unified-brand :is(.header-inner,.literacy-header-inner){display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;min-height:0!important}
html body header.aia-unified-header .aia-unified-brand :is(.brand-links,.museum-brands,.literacy-brand,.brandCluster,.brand-group){max-width:100%!important;flex-wrap:wrap!important;gap:8px!important}
html body header.aia-unified-header .aia-unified-brand .aia-motto{position:static!important;display:block!important;flex-basis:100%!important;margin:0!important;font-size:12px!important;line-height:18px!important;white-space:normal!important}
html body header.aia-unified-header .aia-unified-brand .brand-links{padding-bottom:0!important}
html body header.aia-unified-header .menu-toggle{display:none!important}
html body header.aia-unified-header nav.aia-unified-nav,html body nav.aia-unified-tools{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;align-content:center!important;justify-content:flex-start!important;gap:8px 16px!important;width:max-content!important;max-width:100%!important;min-width:0!important;margin:0 0 0 auto!important;padding:0!important;box-sizing:border-box!important;background:transparent!important;height:auto!important;overflow:visible!important;border:0!important}
html body header.aia-unified-header nav.aia-unified-nav>:is(a,button,strong),html body nav.aia-unified-tools>:is(a,button,strong),html body header.aia-unified-header :is(#help,.brand-reader){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;align-self:center!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:100%!important;height:32px!important;min-height:32px!important;margin:0!important;padding:4px 10px!important;font-family:'Noto Sans KR',sans-serif!important;font-size:12px!important;font-weight:500!important;line-height:24px!important;letter-spacing:0!important;white-space:nowrap!important;vertical-align:middle!important;border:0!important;border-radius:20px!important;box-shadow:none!important;text-decoration:none!important}
html body header.aia-unified-header nav.aia-unified-nav>[data-image-menu],html body header.aia-unified-header :is(#help,.brand-reader)[data-image-menu]{padding:4px 0!important}
html body header.aia-unified-header nav.aia-unified-nav .menu-image,html body header.aia-unified-header :is(#help,.brand-reader) .menu-image{font-size:12px!important;line-height:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;flex-shrink:0!important}
html body nav.aia-unified-tools{width:92%!important;max-width:1362px!important;margin:0 auto!important;padding:12px 0!important}
@media(max-width:1024px){html body header.aia-unified-header .aia-unified-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:16px 4%!important}html body header.aia-unified-header .aia-unified-brand{max-width:100%!important}html body header.aia-unified-header nav.aia-unified-nav{width:100%!important;margin:0!important}}
@media(prefers-reduced-motion:reduce){html body header.aia-unified-header nav.aia-unified-nav{scroll-behavior:auto}}
/* Existing children's utility buttons carry ID-specific font rules. */
html body header.aia-unified-header nav.aia-unified-nav>:is(#desktopInstall,#savedTop,#forestTop){font-size:12px!important;line-height:24px!important}

/* Library lockup stays compact so short navigation labels have useful space. */
html body header.aia-unified-header[data-aia-library-header] .aia-unified-layout{grid-template-columns:240px minmax(0,1fr)!important}
html body header.aia-unified-header[data-aia-library-header] .aia-unified-brand{width:240px!important;max-width:240px!important}
html body header.aia-unified-header[data-aia-library-header] .brand-links{gap:4px 8px!important}
@media(max-width:1280px){html body header.aia-unified-header[data-aia-library-header] .aia-unified-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}html body header.aia-unified-header[data-aia-library-header] nav.aia-unified-nav{width:100%!important;margin:0!important}}

/* Compact header: logo and motto share a vertically centered row. */
html body header.aia-unified-header .aia-unified-layout{padding:8px 4%!important;gap:8px 20px!important}
html body header.aia-unified-header .aia-unified-brand{max-width:100%!important}
html body header.aia-unified-header :is(.aia-home-brand,.aia-cinema-brand){display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;margin:0!important;padding:0!important}
html body header.aia-unified-header .aia-unified-brand :is(.motto,.aia-cinema-motto,.aia-motto){position:static!important;display:inline-block!important;flex:0 0 auto!important;align-self:center!important;width:auto!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:18px!important;white-space:nowrap!important}
html body header.aia-unified-header .brand-links{display:flex!important;align-items:center!important;gap:4px 8px!important}
html body header.aia-unified-header .brand-links .brand-home{order:0!important;flex-shrink:0!important}
html body header.aia-unified-header .brand-links .aia-motto{order:1!important}
html body header.aia-unified-header .brand-links .brand-reader{order:2!important}
html body header.aia-unified-header .museum-brands .aiacube-home{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important}
html body header.aia-unified-header .museum-brands .aia-ci-lockup{flex-shrink:0!important}
html body header.aia-unified-header[data-aia-library-header] .aia-unified-layout{grid-template-columns:minmax(0,max-content) minmax(0,1fr)!important}
html body header.aia-unified-header[data-aia-library-header] .aia-unified-brand{width:auto!important;max-width:100%!important}
html body nav.aia-unified-tools{padding:8px 0!important}
@media(max-width:1280px){html body header.aia-unified-header[data-aia-library-header] .aia-unified-layout{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}}
@media(max-width:1024px){html body header.aia-unified-header .aia-unified-layout{padding:8px 4%!important;gap:8px!important}}

html body header.aia-unified-header .museum-brands .aiacube-home{flex-wrap:nowrap!important}

/* Museum brand order remains logo / museum / motto, including narrow screens. */
html body header.aia-unified-header .aia-unified-brand .museum-brands{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;width:max-content!important;max-width:100%!important}
html body header.aia-unified-header .museum-brands>a{flex:0 0 auto!important;margin:0!important;align-self:center!important}
html body header.aia-unified-header .museum-brands .aia-museum-motto{display:block!important;font-size:12px!important;font-weight:400!important;line-height:18px!important;padding:0!important;background:transparent!important;border:0!important;white-space:nowrap!important;text-decoration:none!important;color:inherit!important}
@media(max-width:600px){
html body header.aia-unified-header .aia-unified-brand .museum-brands{gap:6px!important}
html body header.aia-unified-header .museum-brands .aia-ci-icon{width:22px!important;height:22px!important}
html body header.aia-unified-header .museum-brands .aia-ci-lockup{gap:4px!important}
html body header.aia-unified-header .museum-brands .menu-wordmark{font-size:16px!important}
html body header.aia-unified-header .museum-brands>.brand .menu-image{font-size:11px!important;height:24px!important}
html body header.aia-unified-header .museum-brands .aia-museum-motto{font-size:10px!important;letter-spacing:-.3px!important}
}
@media(max-width:360px){html body header.aia-unified-header .aia-unified-brand .museum-brands{gap:4px!important}html body header.aia-unified-header .museum-brands .menu-wordmark{font-size:14px!important}html body header.aia-unified-header .museum-brands>.brand .menu-image{font-size:10px!important}html body header.aia-unified-header .museum-brands .aia-museum-motto{font-size:9px!important}}
