/* Consistent, legible navigation across the main site and photo archive. */
.site-header .header-inner { width:min(100% - 64px,1440px); height:82px; margin-inline:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-header .brand { display:inline-flex; align-items:baseline; gap:11px; color:#f1f5f7; text-decoration:none; white-space:nowrap; }
.site-header .brand-hanja { font-family:'Noto Serif KR','Maru Buri',serif; font-size:30px; font-weight:700; letter-spacing:-.13em; }
.site-header .brand-korean { font-family:'Pretendard Variable',sans-serif; font-size:15px; font-weight:600; }
.site-header .primary-nav { display:flex; align-items:center; gap:clamp(12px,1.5vw,23px); font-size:14px; }
.site-header .primary-nav>a { display:flex; flex-direction:column; justify-content:center; min-height:44px; padding:8px 0; white-space:nowrap; color:#dfebf5; font-weight:550; text-decoration:none; }
.site-header .nav-description { display:none; }
.site-header .nav-notifications[hidden]{display:none!important}
.site-header .primary-nav>a[aria-current] .nav-label { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:7px; color:#fff; }
.site-header .primary-nav>a[aria-current] { text-decoration:none; }
.site-header .primary-nav>a:hover { opacity:1; color:#fff; }
.site-header .nav-signout{flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid #819ab466;border-radius:3px;background:transparent;color:#dfebf5;font:inherit;font-weight:550;white-space:nowrap;cursor:pointer}.site-header .nav-signout:hover{background:#29486b;color:#fff}.site-header .nav-signout[hidden]{display:none!important}.site-header .nav-signout:disabled{opacity:.5;cursor:wait}
.nav-auth-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10000;width:max-content;max-width:calc(100% - 40px);padding:15px 22px;background:#14294f;color:#fff;border:1px solid #7896b4;border-radius:4px;font:15px/1.6 'Pretendard Variable',sans-serif;box-sizing:border-box}.nav-auth-notice[hidden]{display:none!important}
.site-header .menu-toggle { display:none; }
.site-header :focus-visible { outline:2px solid #d3e7f7; outline-offset:4px; }
main section[id] { scroll-margin-top:100px; }
.photos-site-header { position:relative; z-index:25; background:#14294f; color:#f1f5f7; }
.photo-section-nav { display:flex; align-items:center; gap:24px; padding-block:10px; font-size:13px; color:#355b7c; }
.photo-section-nav a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:5px; }
.photo-section-nav a:last-child { margin-left:auto; }
.photos-skip { position:absolute; z-index:10000; left:16px; top:-100px; padding:12px; background:#14294f; color:#fff; }
.photos-skip:focus { top:12px; }
@media(max-width:1100px) {
 .site-header .header-inner { height:69px; width:calc(100% - 40px); }
 .site-header .menu-toggle { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:12px; min-width:82px; height:44px; border:0; padding:0 6px; background:transparent; color:#fff; cursor:pointer; }
 .site-header .menu-toggle>.menu-toggle-label { width:auto; height:auto; background:none; transform:none; font-size:13px; font-weight:600; }
 .site-header .menu-toggle>.menu-toggle-lines { display:flex; flex-direction:column; gap:6px; width:22px; height:auto; background:none; transform:none; }
 .site-header .menu-toggle[aria-expanded] > span { transform:none; }
 .menu-toggle-lines i { display:block; height:2px; width:22px; background:currentColor; }
 .menu-toggle[aria-expanded='true'] .menu-toggle-lines i:first-child { transform:translateY(4px) rotate(45deg); }
 .menu-toggle[aria-expanded='true'] .menu-toggle-lines i:last-child { transform:translateY(-4px) rotate(-45deg); }
 .site-header .primary-nav { display:none; position:absolute; top:69px; left:0; right:0; padding:10px 24px 22px; margin:0; background:#14294f; box-shadow:0 15px 25px #08193030; flex-direction:column; align-items:stretch; gap:0; max-height:calc(100svh - 69px); overflow-y:auto; overscroll-behavior:contain; }
 .site-header .primary-nav.is-open { display:flex; }
 .site-header .primary-nav>a { gap:7px; min-height:66px; padding:13px 7px; border-bottom:1px solid #8099b435; font-size:16px; white-space:normal; }
 .site-header .nav-description { display:block; font-size:12px; line-height:1.5; font-weight:400; color:#b6cbdd; }
 .site-header .nav-signout{align-self:flex-start;margin:12px 7px 0;padding-inline:20px;font-size:15px}
 .site-header .primary-nav>a[aria-current] { background:#29486b; border-radius:3px; padding-inline:12px; }
 .site-header .primary-nav .motion-toggle { align-self:flex-start; margin:16px 0 0; font-size:12px; min-height:44px; }
 .photo-section-nav { flex-wrap:wrap; gap:6px 20px; }
}
@media(max-width:400px) { .photo-section-nav a:last-child { margin-left:0; } }
