/* Single static navigation for all page families. Fonts are linked once in HTML. */
:root {
  --ink:#1a2440; --ink-soft:#4d5770; --ink-faint:#8891a3; --stone:#f6f2e9; --card:#fff;
  --blue:#b8863b; --blue-deep:#8a6329; --blue-pale:#f3e7d0;
  --green:#b8863b; --green-deep:#8a6329; --green-pale:#f3e7d0;
  --line:rgba(26,36,64,.14); --line-soft:rgba(26,36,64,.08); --radius:6px; --radius-sm:3px;
  --serif:"Noto Serif KR",serif; --sans:"Noto Sans KR","Malgun Gothic",sans-serif; --max:1180px;
  --site-nav-offset:88px;
}
html:has(.site-header[data-site-navigation="unified"]) { scroll-padding-top:var(--site-nav-offset)!important; }
body:has(>.site-header[data-site-navigation="unified"]) { margin:0; }
body:has(>.site-header[data-site-navigation="unified"]) main [id] { scroll-margin-top:16px!important; }
html body .site-header[data-site-navigation="unified"] {
  --ink:#1a2440; --ink-soft:#4d5770; --stone:#f6f2e9; --blue:#b8863b; --line:rgba(26,36,64,.14);
  --serif:"Noto Serif KR",serif; --sans:"Noto Sans KR","Malgun Gothic",sans-serif;
  position:sticky!important; top:0!important; z-index:100000!important; width:100%!important;
  height:72px!important; min-height:72px!important; max-height:72px!important; margin:0!important; padding:0!important;
  border:0!important; border-bottom:1px solid var(--line)!important; border-radius:0!important;
  background:var(--stone)!important; box-shadow:none!important; backdrop-filter:none!important;
}
.site-header[data-site-navigation="unified"], .site-header[data-site-navigation="unified"] * { box-sizing:border-box!important; }
html body .site-header[data-site-navigation="unified"] .nav {
  display:flex!important; align-items:center!important; justify-content:space-between!important;
  width:min(1180px,calc(100% - 40px))!important; height:72px!important; min-height:72px!important; max-height:72px!important;
  margin:0 auto!important; padding:0!important; gap:18px!important;
}
html body .site-header[data-site-navigation="unified"] .logo {
  display:inline-flex!important; align-items:center!important; flex:0 0 auto!important; gap:7px!important;
  color:var(--ink)!important; font:700 18px/1 var(--serif)!important; letter-spacing:-.01em!important;
  text-decoration:none!important; white-space:nowrap!important;
}
html body .site-header[data-site-navigation="unified"] .logo::before {
  content:"W"!important; display:inline-flex!important; align-items:center!important; justify-content:center!important;
  flex:0 0 auto!important; width:30px!important; height:30px!important; border-radius:3px!important;
  background:var(--ink)!important; color:var(--stone)!important; font:700 14px/1 var(--serif)!important;
}
html body .site-header[data-site-navigation="unified"] .brand-orange { color:var(--blue)!important; font-weight:700!important; }
html body .site-header[data-site-navigation="unified"] .brand-tail { color:var(--ink-soft)!important; font:500 .72em/1 var(--sans)!important; }
html body .site-header[data-site-navigation="unified"] .nav-links {
  display:flex!important; align-items:center!important; justify-content:center!important; flex:0 0 auto!important;
  height:auto!important; margin:0!important; padding:0!important; gap:12px!important;
  border:0!important; border-radius:0!important; background:transparent!important; color:var(--ink-soft)!important;
}
html body .site-header[data-site-navigation="unified"] .nav-links a {
  display:flex!important; align-items:center!important; justify-content:center!important; width:auto!important;
  min-height:44px!important; height:auto!important; max-height:none!important; padding:4px 2px!important; margin:0!important;
  border:0!important; border-bottom:1px solid transparent!important; border-radius:0!important; box-shadow:none!important;
  background:transparent!important; color:var(--ink-soft)!important; font:700 14px/1.5 var(--sans)!important;
  letter-spacing:-.025em!important; text-decoration:none!important; text-align:center!important; white-space:nowrap!important;
}
html body .site-header[data-site-navigation="unified"] .nav-links a:is(:hover,.active) { color:var(--ink)!important; border-bottom-color:var(--blue)!important; }
html body .site-header[data-site-navigation="unified"] a:focus-visible { outline:3px solid #2166bf!important; outline-offset:2px!important; }
@media (min-width:1121px) and (max-width:1360px) {
  html body .site-header[data-site-navigation="unified"] .brand-tail { display:none!important; }
  html body .site-header[data-site-navigation="unified"] .nav-links { gap:9px!important; }
}
@media (max-width: 1120px) {
  :root { --site-nav-offset:208px; }
  html body .site-header[data-site-navigation="unified"] { height:auto!important; min-height:0!important; max-height:none!important; }
  html body .site-header[data-site-navigation="unified"] .nav {
    width:calc(100% - 16px)!important; height:auto!important; min-height:0!important; max-height:none!important;
    flex-direction:column!important; align-items:stretch!important; justify-content:center!important; padding:8px 0!important; gap:8px!important;
  }
  html body .site-header[data-site-navigation="unified"] .logo { align-self:center!important; min-height:28px!important; font-size:15px!important; }
  html body .site-header[data-site-navigation="unified"] .logo::before { width:24px!important; height:24px!important; font-size:11px!important; }
  html body .site-header[data-site-navigation="unified"] .brand-tail { display:none!important; }
  html body .site-header[data-site-navigation="unified"] .nav-links {
    display:grid!important; width:100%!important; min-width:0!important; height:auto!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important; grid-template-rows:none!important; grid-auto-rows:minmax(44px,auto)!important; gap:2px 4px!important;
  }
  html body .site-header[data-site-navigation="unified"] .nav-links a { width:100%!important; padding:4px 0!important; white-space:normal!important; word-break:keep-all!important; overflow-wrap:anywhere!important; letter-spacing:-.045em!important; }
}
@media (max-width:600px) {
  :root { --site-nav-offset:208px; }
  html body .site-header[data-site-navigation="unified"] .nav-links { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
}

/* Related teacher introductions use the actual branch/neighborhood mapping. */
.teacher-related{box-sizing:border-box;margin:36px auto;padding:24px;max-width:1180px;border:1px solid rgba(26,36,64,.18);background:#fff;color:#1a2440;font-family:"Noto Sans KR","Malgun Gothic",sans-serif;line-height:1.8}
.teacher-related h2{font-size:22px;line-height:1.5;margin:0 0 12px;font-family:"Noto Serif KR",serif;word-break:keep-all}
.teacher-related p{font-size:14px;color:#4d5770;margin:0 0 18px}
.teacher-related-links{display:flex;flex-wrap:wrap;gap:12px}
.teacher-related-links a{display:block;box-sizing:border-box;padding:12px 16px;background:#f6f2e9;border:1px solid rgba(26,36,64,.14);border-radius:3px;max-width:100%;color:#1a2440;text-decoration:none;font-size:14px;overflow-wrap:anywhere}
.teacher-related-links a strong,.teacher-related-links a span{display:block}
.teacher-related-links a span{color:#4d5770;font-size:12px;margin-top:3px}
.teacher-related-links a:focus-visible{outline:3px solid #2166bf;outline-offset:3px}
@media(max-width:600px){.teacher-related{padding:20px;margin:28px 0}.teacher-related h2{font-size:20px}.teacher-related-links{display:block}.teacher-related-links a+a{margin-top:10px}}
@media(max-width:360px){html body .site-header[data-site-navigation="unified"] .nav-links a{font-size:13px!important}}

/* Useful information links */
.useful-related{box-sizing:border-box;width:min(1180px,calc(100% - 32px));margin:32px auto;padding:24px;border:1px solid rgba(26,36,64,.18);background:#fff;color:#1a2440;font:14px/1.85 "Noto Sans KR","Malgun Gothic",sans-serif}.useful-related h2{margin:0 0 12px;font:700 22px/1.55 "Noto Serif KR",serif;word-break:keep-all}.useful-related p{margin:0 0 16px;color:#4d5770}.useful-related-links{display:flex;flex-wrap:wrap;gap:10px}.useful-related-links a{box-sizing:border-box;max-width:100%;display:block;border:1px solid rgba(26,36,64,.18);padding:10px 14px;color:#1a2440;background:#f6f2e9;text-decoration:none;border-radius:3px;overflow-wrap:anywhere}.useful-related-links .useful-related-all{color:#fff;background:#1a2440}.useful-related-links a:focus-visible{outline:3px solid #2166bf;outline-offset:3px}@media(max-width:600px){.useful-related{padding:20px;margin:26px auto}.useful-related h2{font-size:20px}.useful-related-links{flex-direction:column}.useful-related-links a{width:100%}}

/* Useful links fixed-control spacing */
@media(min-width:901px) and (max-width:1499px){.useful-related{width:calc(100% - 200px);margin-left:32px;margin-right:auto}}
