/* Header only: match index.html without changing page content or preview files. */
body > header.site-head {
 position:sticky;top:0;z-index:20;display:grid;grid-template-columns:auto minmax(0,1fr) auto;
 align-items:center;justify-content:space-between;gap:12px 18px;margin:0;width:100%;max-width:none;
 padding:17px max(24px,calc((100vw - 1240px)/2));box-sizing:border-box;
 background:#fffffff5;border:0;border-bottom:1px solid #dfe3e8;backdrop-filter:blur(12px);
 font:normal 16px/normal 'Malgun Gothic',sans-serif;color:#202c3d;letter-spacing:normal;
}
body > header.site-head *{box-sizing:border-box}
body > header.site-head > .brand {
 display:flex;align-items:center;gap:10px;margin:0;padding:0;border:0;
 font-size:19px;font-weight:700;line-height:normal;white-space:nowrap;color:#202c3d;text-decoration:none;
}
body > header.site-head > .brand > img {
 display:block;width:43px;height:43px;min-width:43px;object-fit:contain;margin:0;padding:0;border:0;border-radius:0;
}
body > header.site-head > .brand small {
 display:block;font-size:8px;line-height:1.6;font-weight:400;letter-spacing:.7px;margin:4px 0 0;
}
body > header.site-head > nav {
 display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:42px;
 grid-column:auto;grid-row:auto;align-items:center;justify-content:normal;gap:6px;
 width:100%;max-width:none;min-width:0;margin:0;padding:0;overflow:visible;order:0;
 font-size:12px;line-height:normal;white-space:normal;
}
body > header.site-head > nav > a {
 display:grid;place-items:center;align-self:stretch;min-width:0;margin:0;padding:0 3px;
 border:1px solid #a87786;border-radius:10px;background:#f5e8ec;color:#602039;
 font-size:14px;font-weight:700;line-height:1.2;letter-spacing:normal;text-align:center;
 white-space:nowrap;text-decoration:none;
}
body > header.site-head > nav > a:hover,
body > header.site-head > nav > a:focus-visible{background:#76213c;border-color:#76213c;color:#fff}
body > header.site-head > .button.small {
 display:inline-flex;align-items:center;justify-content:center;gap:normal;margin:0;padding:11px 16px;
 border:1px solid #aa1837;border-radius:10px;background:#aa1837;color:#fff;
 font-size:12px;font-weight:700;line-height:normal;letter-spacing:normal;text-decoration:none;white-space:nowrap;
}
@media(max-width:1150px){
 body > header.site-head{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:8px 16px}
 body > header.site-head > nav{grid-column:1/-1;grid-row:2;grid-auto-rows:44px}
}
@media(max-width:1100px){body > header.site-head > .brand{font-size:16px}}
@media(max-width:800px){
 body > header.site-head > .brand{font-size:16px}
 body > header.site-head > .brand > img{width:37px;height:37px;min-width:37px}
 body > header.site-head > .button.small{margin-left:auto}
}
@media(max-width:760px){
 body > header.site-head{padding-inline:10px}
 body > header.site-head > nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 body > header.site-head > nav > a{font-size:clamp(12px,3.6vw,14px)}
}
@media(max-width:319px){
 body > header.site-head{position:static}
 body > header.site-head > nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}