:root {
  --gm-navy: #092941;
  --gm-orange: #e95e20;
  --gm-paper: #fffdf8;
  --gm-muted: #69747c;
  --gm-line: #dfddd5;
  --gm-page: min(1200px, calc(100% - 48px));
  --gm-font-heading: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

body.gm-menu-open { overflow: hidden; }
.wp-site-blocks > header,
.wp-site-blocks > footer { display: none !important; }
.gm-shell-container { width: var(--gm-page); margin-inline: auto; }
.gm-site-header,
.gm-site-footer { font-family: var(--gm-font-heading); }
.gm-site-header * ,
.gm-site-footer * { box-sizing: border-box; }
.gm-site-header a,
.gm-site-footer a { color: inherit; text-decoration: none; }

.gm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 158px;
  border-bottom: 1px solid rgba(9, 41, 65, .08);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.gm-social-bar { height: 36px; border-bottom: 1px solid rgba(9, 41, 65, .06); background: rgba(9, 41, 65, .035); }
.gm-social-links { display: flex; height: 100%; align-items: center; justify-content: flex-end; gap: 28px; color: #7c858b; font-size: 11px; font-weight: 700; }
.gm-social-links a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.gm-social-links a:hover,
.gm-social-links a:focus-visible { color: var(--gm-navy); }
.gm-header-inner { height: 122px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.gm-header-brand { display: inline-flex; align-items: center; min-width: 76px; }
.gm-header-brand img { display: block; width: 99px; height: 96px; object-fit: contain; mix-blend-mode: multiply; }
.gm-main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.gm-main-nav a { position: relative; padding: 8px 0; }
.gm-main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gm-orange); transition: width .2s ease; }
.gm-main-nav a:hover::after,
.gm-main-nav a:focus-visible::after,
.gm-main-nav a[aria-current="page"]::after { width: 100%; }
.gm-main-nav .gm-mobile-cta { display: none; }
.gm-header-actions { display: flex; align-items: center; gap: 12px; }
.gm-icon-button,
.gm-menu-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: var(--gm-navy); cursor: pointer; }
.gm-icon-button svg,
.gm-menu-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.gm-menu-button { display: none; }
.gm-header-cta { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid var(--gm-navy); border-radius: 999px; color: white !important; background: var(--gm-navy); box-shadow: 0 10px 24px rgba(9, 41, 65, .16); font-size: 12px; font-weight: 800; }

.gm-site-footer { padding: 34px 0; border-top: 1px solid var(--gm-line); color: var(--gm-navy); background: white; }
.gm-footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.gm-footer-brand { display: inline-flex; min-width: 0; justify-self: start; }
.gm-footer-brand img { display: block; width: 114px; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.gm-footer-nav { display: flex; justify-content: center; gap: 24px; color: var(--gm-muted); font-size: 12px; }
.gm-copyright { justify-self: end; color: #8a9296; font-size: 11px; }

@media (max-width: 1000px) {
  :root { --gm-page: min(100% - 36px, 860px); }
  .gm-main-nav { display: none; position: fixed; inset: 158px 0 auto; padding: 26px; flex-direction: column; border-bottom: 1px solid var(--gm-line); background: var(--gm-paper); box-shadow: 0 18px 36px rgba(9, 41, 65, .09); }
  .gm-main-nav.is-open { display: flex; }
  .gm-main-nav .gm-mobile-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: min(100%, 340px); min-height: 48px; margin-top: 8px; padding: 0 20px; border-radius: 999px; color: white; background: var(--gm-navy); box-shadow: 0 10px 24px rgba(9, 41, 65, .16); font-weight: 800; }
  .gm-main-nav .gm-mobile-cta::after { display: none; }
  .gm-menu-button { display: grid; }
  .gm-header-cta,
  .gm-icon-button { display: none; }
}

@media (max-width: 680px) {
  :root { --gm-page: calc(100% - 32px); }
  .gm-site-header { height: 139px; }
  .gm-social-bar { height: 30px; }
  .gm-social-links { justify-content: space-between; gap: 8px; font-size: 10px; }
  .gm-header-brand { min-width: 0; }
  .gm-header-brand img { width: 85px; height: 83px; }
  .gm-header-inner { height: 109px; }
  .gm-main-nav { top: 139px; }
  .gm-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .gm-footer-brand,
  .gm-copyright { justify-self: center; }
  .gm-footer-nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .gm-site-header *,
  .gm-site-footer * { transition-duration: .01ms !important; }
}
