/* 모든 페이지의 로고·메뉴·언어 선택을 한곳에서 관리한다. */
:root { --header-height: 80px; }
.site-header, .site-header * { box-sizing: border-box; }
.site-header {
  position: sticky; top: 0; z-index: 1100; height: var(--header-height);
  padding: 0; margin: 0; border: 0; border-bottom: 1px solid #e4d8c5;
  background: #fffbf2; color: #503b2c; backdrop-filter: none;
  font-family: inherit; font-size: 14px; line-height: 1.4;
}
.site-header-inner { max-width: 1160px; height: 100%; padding: 0 20px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.site-header a { text-decoration: none; color: inherit; }
.site-brand { display: flex; flex: 0 0 79px; align-items: center; margin-right: auto; }
.site-brand img { display: block; width: 79px; height: 59px; image-rendering: pixelated; }
.site-navigation { display: flex; align-items: center; gap: 19px; }
.site-navigation > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; white-space: nowrap; }
.site-navigation > a:hover, .site-navigation > a[aria-current="page"] { color: #8a542f; text-decoration: underline; text-underline-offset: 7px; }
.site-navigation > a img { width: 26px; height: 26px; image-rendering: pixelated; }
.site-header .site-app-cta { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border-radius: 10px; background: #68452e; color: #fffaf0; font-weight: 750; white-space: nowrap; }
.site-header .site-app-cta:hover { background: #503522; }
.site-language { position: relative; margin: 0; padding: 0; border: 0; background: transparent; }
.site-language summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 4px; cursor: pointer; font-weight: 600; white-space: nowrap; list-style: none; }
.site-language summary::-webkit-details-marker { display: none; }
.site-chevron { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.site-language-links { position: absolute; right: 0; top: 100%; display: flex; flex-direction: column; min-width: 140px; padding: 6px; background: #fffbf2; border: 1px solid #e4d8c5; border-radius: 10px; box-shadow: 0 8px 20px #3c26151a; }
.site-language-links a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14px; white-space: nowrap; }
.site-language-links a:hover, .site-language-links a[aria-current="page"] { background: #efe5d1; }
.site-menu-toggle { display: none; }
.site-menu-shade { position: fixed; inset: var(--header-height) 0 0; z-index: 1090; background: #36291e42; }
.site-menu-shade[hidden] { display: none; }
.site-skip-link { position: fixed; top: 8px; left: 12px; z-index: 1200; transform: translateY(calc(-100% - 16px)); background: #503b2c; color: white; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.site-skip-link:focus { transform: translateY(0); }
.site-header :focus-visible { outline: 3px solid #a66c33; outline-offset: 4px; }
.site-footer-logo { display: block; width: 79px !important; height: 59px !important; object-fit: contain; image-rendering: pixelated; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 24px; font-size: 14px; }
.site-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; font-size: 13px; color: #776b60; }
.site-breadcrumb a { color: inherit; }
.site-document main.container { padding-top: 36px; padding-bottom: 64px; }
body.site-utility { display: block; padding: 0; }
.site-utility > .card { width: calc(100% - 40px); margin: 48px auto; }
#main { scroll-margin-top: calc(var(--header-height) + 16px); }
@media (min-width: 900px) and (max-width: 1080px) {
  .site-header-inner { gap: 14px; padding: 0 16px; }
  .site-navigation { gap: 12px; font-size: 13px; }
  .site-navigation > a { gap: 4px; }
  .site-navigation > a img { width: 22px; height: 22px; }
  .site-header .site-app-cta { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 899px) {
  :root { --header-height: 76px; }
  .site-header-inner { padding: 0 20px; gap: 12px; }
  .site-header .site-app-cta { min-height: 40px; padding: 9px 13px; font-size: 13px; }
  .site-menu-toggle { display: flex; flex: 0 0 42px; width: 42px; height: 42px; padding: 10px; border: 1px solid #cdbcaa; border-radius: 9px; background: transparent; color: inherit; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
  .site-menu-toggle span { width: 19px; height: 2px; background: currentColor; transition: transform .15s, opacity .15s; }
  .site-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .site-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-header:not(.site-header--utility) .site-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; background: #fffbf2; border-bottom: 1px solid #e4d8c5; box-shadow: 0 10px 16px #3c261514; }
  .site-header.is-menu-open .site-navigation { display: flex; }
  .site-navigation > a { min-height: 49px; padding: 0 10px; font-size: 15px; }
  .site-header:not(.site-header--utility) .site-language { border-top: 1px solid #e4d8c5; margin-top: 7px; padding-top: 12px; }
  .site-header:not(.site-header--utility) .site-language summary { display: none; }
  .site-header:not(.site-header--utility) .site-language-links { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 5px; padding: 0; border: 0; box-shadow: none; }
  .site-header--utility .site-navigation { gap: 12px; }
  .site-header--utility .site-navigation > a { padding: 0; font-size: 14px; }
  .site-header--utility .site-language summary { font-size: 13px; }
  .site-utility > .card { margin: 28px auto; }
  .site-document main.container { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .site-menu-toggle span { transition: none; } }
