@font-face {
  font-family: "Pretendard Variable";
  src: url("/fonts/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f8fafc;
  --paper: #fff;
  --surface: #fff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  font-family: "Pretendard Variable", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
.blog-index, .post-page { background: #f8fafc; }
.blog-index .page-bg, .post-page .page-bg { display: none; }
.topbar { padding: 20px 0; gap: 24px; }
.topbar .brand, .header-inner .brand { flex-shrink: 0; gap: 16px; }
.public-document-logo { display: block; width: auto; height: 40px; max-width: 100%; }
.public-document-context { border-left: 1px solid #cbd5e1; padding-left: 16px; color: #475569; font-size: 13px; font-weight: 500; white-space: nowrap; }
.topnav { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 8px; color: #475569; font-size: 14px; font-weight: 600; transition: background-color 160ms ease, color 160ms ease; }
.topnav a:hover, .topnav a[aria-current="page"] { background: #eff6ff; color: #1d4ed8; }
.topnav .public-document-inquiry,
.header-nav .public-document-inquiry { margin-left: 8px; background: #2563eb; color: #fff; }
.topnav .public-document-inquiry:hover,
.header-nav .public-document-inquiry:hover { background: #1d4ed8; color: #fff; }
.topbar a:focus-visible, .header-inner a:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.public-guide-page .header-inner { gap: 20px; }
.public-guide-page .header-nav { flex-wrap: wrap; }
.public-guide-page .brand { font-size: 14px; }
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; gap: 16px; }
  .public-guide-page .header-inner { flex-wrap: wrap; padding: 14px 0; }
}
@media (max-width: 640px) {
  .topbar { position: relative; flex-direction: column; align-items: flex-start; }
  .topnav { justify-content: flex-start; width: 100%; }
  .topnav a { padding-inline: 10px; font-size: 13px; }
  .public-document-logo { height: 36px; }
  .public-guide-page .header-nav { width: 100%; justify-content: flex-start; }
  .public-guide-page .site-header { position: relative; }
  .topnav .public-document-inquiry, .header-nav .public-document-inquiry { margin-left: 0; }
  .topnav .public-document-inquiry { position: absolute; top: 18px; right: 0; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .topnav a { transition: none; }
}
