/* Shared site header. Every page loads this file; class names start with lgh- so they never clash with a form's own styles. */
.lgh{position:sticky;top:0;z-index:30;flex:none;background:#fff;border-bottom:1px solid #e5e2e0;font-family:"IBM Plex Sans Thai","Noto Sans KR",system-ui,sans-serif;color:#1b1b1d}
html[lang=ko] .lgh{font-family:"Noto Sans KR","IBM Plex Sans Thai",system-ui,sans-serif}
.lgh *{box-sizing:border-box}
.lgh-bar{max-width:1320px;margin:auto;display:flex;align-items:center;gap:16px;padding:10px max(16px,3vw)}
.lgh-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#1b1b1d;flex:none}
.lgh-mark{width:30px;height:30px;border-radius:50%;background:#a50034;display:grid;place-items:center;color:#fff;font-weight:700;font-size:12px}
.lgh-brand b{display:block;font-size:15px;line-height:1.2}
.lgh-brand small{display:block;color:#66666c;font-size:12px;line-height:1.2}
.lgh-nav{display:flex;gap:2px;overflow-x:auto;flex:1;scrollbar-width:none;min-width:0}
.lgh-nav::-webkit-scrollbar{display:none}
.lgh-nav a{flex:none;padding:8px 12px;border-radius:8px;text-decoration:none;color:#66666c;font-size:14px;font-weight:500;white-space:nowrap}
.lgh-nav a:hover{background:#f6f4f3;color:#1b1b1d}
.lgh-nav a[aria-current=page]{color:#a50034;background:#fbeef2}
.lgh-lang{display:flex;border:1px solid #e5e2e0;border-radius:999px;padding:2px;flex:none}
.lgh-lang button{border:0;background:none;padding:5px 12px;border-radius:999px;font:inherit;font-size:13px;cursor:pointer;color:#66666c;min-height:32px}
.lgh-lang button[aria-pressed=true]{background:#1b1b1d;color:#fff}
.lgh a:focus-visible,.lgh button:focus-visible{outline:2px solid #a50034;outline-offset:1px}
@media(max-width:600px){.lgh-bar{flex-wrap:wrap;gap:8px}.lgh-nav{order:3;flex-basis:100%}}

/* ---------- phone: bottom tab bar instead of the scrolling menu ---------- */
.lgtab{display:none}
@media(max-width:720px){
  .lgh-bar{flex-wrap:nowrap}
  .lgh-nav{display:none}
  .lgh-brand{flex:1}
  .lgtab{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid #e5e2e0;padding:4px 4px calc(4px + env(safe-area-inset-bottom,0px));font-family:"IBM Plex Sans Thai","Noto Sans KR",system-ui,sans-serif}
  .lgtab a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;border-radius:10px;text-decoration:none;color:#66666c;font-size:11px;line-height:1.2;text-align:center;min-height:52px;justify-content:center}
  .lgtab a svg{width:22px;height:22px}
  .lgtab a[aria-current=page]{color:#a50034;background:#fbeef2}
  body.lg-hastab{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  body.lg-form .lgtab{display:none}
}
/* ---------- opened inside LINE / Facebook / other app browsers ---------- */
.lgh-iab{background:#fff7d6;border-bottom:1px solid #e6d58a;color:#4a3b00;padding:10px max(16px,3vw);font:14px/1.45 "IBM Plex Sans Thai",system-ui,sans-serif;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.lgh-iab span{flex:1 1 220px}
.lgh-iab a,.lgh-iab button{border:0;background:#a50034;color:#fff;border-radius:8px;padding:8px 14px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;min-height:40px}
@media(max-width:720px){body.lg-form.lg-hastab{padding-bottom:0}}
