/* Scoped history page. Title uses div to avoid broad header sticky scripts. */
.sg-history-page{--sgh-ink:#263a31;--sgh-muted:#657064;--sgh-accent:#96523c;--sgh-line:#dce1d8;max-width:1200px;margin:0 auto;background:#fff;color:var(--sgh-ink);border-radius:48px 0 48px 0;overflow:hidden;font-family:'Pretendard Variable',Pretendard,'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:17px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.sg-history-page *{box-sizing:border-box}.sg-history-page :is(h1,h2,h3,p,ol,ul){margin:0}.sg-history-page h1,.sg-history-page h2,.sg-history-page h3{color:var(--sgh-ink);letter-spacing:-.035em}
.sg-history-page .sgh-top{padding:52px 64px 28px;border-bottom:1px solid var(--sgh-line);display:flex;justify-content:space-between;align-items:end;gap:24px}.sg-history-page .sgh-kicker{font-size:12px;color:var(--sgh-accent);font-weight:700;letter-spacing:.1em;margin-bottom:14px}.sg-history-page .sgh-top h1{font-size:36px;line-height:1.3;font-weight:650}.sg-history-page .sgh-top>p{font-size:13px;color:var(--sgh-muted)}
.sg-history-page .sgh-intro{padding:64px;display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:end}.sg-history-page .sgh-intro h2{font-family:'Noto Serif KR',Batang,serif;font-size:clamp(30px,3.5vw,44px);font-weight:500;line-height:1.55}.sg-history-page .sgh-intro h2 em{font-style:normal;color:var(--sgh-accent)}.sg-history-page .sgh-intro p{color:var(--sgh-muted);font-size:16px}.sg-history-page .sgh-intro p+p{margin-top:16px}
.sg-history-page .sgh-index{margin:0 64px;display:flex;flex-wrap:wrap;gap:12px;padding:20px 0;border-top:1px solid var(--sgh-line);border-bottom:1px solid var(--sgh-line)}.sg-history-page .sgh-index a{display:inline-flex;align-items:center;min-height:44px;padding:8px 20px;border-radius:999px;text-decoration:none;color:var(--sgh-ink);background:#f3f4ed;font-size:14px;transition:background-color .2s,color .2s}.sg-history-page .sgh-index a:hover{background:var(--sgh-ink);color:#fff}.sg-history-page a:focus-visible{outline:3px solid var(--sgh-accent);outline-offset:4px}
.sg-history-page .sgh-timeline{list-style:none;padding:20px 64px 64px}.sg-history-page .sgh-year{display:grid;grid-template-columns:180px minmax(0,1fr);gap:40px;padding-top:52px;scroll-margin-top:110px}.sg-history-page .sgh-year-label{font-family:Georgia,serif;font-size:64px;line-height:1;color:var(--sgh-accent);letter-spacing:-.05em}.sg-history-page .sgh-year-label span{display:block;font-family:inherit;font-size:14px;letter-spacing:0;margin-top:14px;color:var(--sgh-muted)}
.sg-history-page .sgh-events{position:relative;border-left:1px solid var(--sgh-line);padding-left:40px}.sg-history-page .sgh-events:before{content:'';position:absolute;top:12px;left:-6px;width:11px;height:11px;background:var(--sgh-accent);border-radius:50%;box-shadow:0 0 0 6px #fff}.sg-history-page .sgh-event{padding-bottom:40px;border-bottom:1px solid var(--sgh-line)}.sg-history-page .sgh-tag{display:inline-block;font-size:12px;letter-spacing:.04em;color:var(--sgh-accent);border:1px solid #dac5bb;border-radius:999px;padding:3px 12px;margin-bottom:16px}.sg-history-page .sgh-event h3{font-size:26px;font-weight:650;line-height:1.5;margin-bottom:18px}.sg-history-page .sgh-event p{font-size:16px;color:var(--sgh-muted)}.sg-history-page .sgh-details{padding:0;list-style:none;margin-top:24px;background:#f7f7f2;border-radius:12px}.sg-history-page .sgh-details li{display:grid;grid-template-columns:80px 1fr;gap:16px;padding:12px 20px;font-size:14px}.sg-history-page .sgh-details li+li{border-top:1px solid #e5e8df}.sg-history-page .sgh-details b{font-weight:600;color:var(--sgh-ink)}.sg-history-page .sgh-details span{color:var(--sgh-muted)}
.sg-history-page .sgh-future{margin:0 24px 48px;padding:48px 40px;background:var(--sgh-ink);color:#fff;border-radius:4px 4px 40px 4px;scroll-margin-top:110px}.sg-history-page .sgh-future .sgh-kicker{color:#e4caaa}.sg-history-page .sgh-future h2{color:#fff!important;font-size:30px;line-height:1.5;margin-bottom:18px}.sg-history-page .sgh-future>p:not(.sgh-kicker){color:#e5e9e1;font-size:16px;max-width:780px}.sg-history-page .sgh-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:32px;padding-top:28px;border-top:1px solid #5f7264}.sg-history-page .sgh-plans h3{font-size:19px;color:#fff!important;margin-bottom:10px}.sg-history-page .sgh-plans p{font-size:14px;line-height:1.85;color:#e5e9e1}
.sg-history-page .sgh-closing{padding:0 64px 52px;display:flex;justify-content:space-between;gap:28px;align-items:center}.sg-history-page .sgh-closing strong{display:block;font-family:'Noto Serif KR',Batang,serif;font-size:22px;font-weight:500;margin-bottom:10px}.sg-history-page .sgh-closing p{color:var(--sgh-muted);font-size:14px}.sg-history-page .sgh-back{color:var(--sgh-ink);font-size:14px;text-decoration:none;display:inline-flex;min-height:44px;align-items:center;gap:16px;white-space:nowrap;border-bottom:1px solid var(--sgh-ink)}
@media(max-width:991px){.sg-history-page .sgh-top{padding:36px 32px 24px}.sg-history-page .sgh-intro{padding:48px 32px;gap:28px}.sg-history-page .sgh-index{margin:0 32px}.sg-history-page .sgh-timeline{padding:12px 32px 48px}.sg-history-page .sgh-year{grid-template-columns:130px minmax(0,1fr);gap:24px}.sg-history-page .sgh-events{padding-left:28px}.sg-history-page .sgh-year-label{font-size:54px}.sg-history-page .sgh-closing{padding:0 32px 40px}}
@media(max-width:767px){.sg-history-page{border-radius:28px 0 28px 0;font-size:16px}.sg-history-page .sgh-top{padding:28px 24px 24px}.sg-history-page .sgh-top h1{font-size:28px}.sg-history-page .sgh-top>p{display:none}.sg-history-page .sgh-intro{display:block;padding:36px 24px}.sg-history-page .sgh-intro h2{font-size:31px;margin-bottom:24px}.sg-history-page .sgh-index{margin:0 24px;gap:8px}.sg-history-page .sgh-index a{padding:8px 16px}.sg-history-page .sgh-timeline{padding:0 24px 36px}.sg-history-page .sgh-year{display:block;padding-top:36px}.sg-history-page .sgh-year-label{font-size:48px;margin-bottom:28px}.sg-history-page .sgh-year-label span{font-size:13px;margin-top:10px}.sg-history-page .sgh-events{padding-left:24px}.sg-history-page .sgh-event h3{font-size:22px}.sg-history-page .sgh-details li{grid-template-columns:1fr;gap:4px;padding:12px 16px}.sg-history-page .sgh-future{margin:0 12px 32px;padding:32px 24px;border-radius:4px 4px 28px 4px}.sg-history-page .sgh-future h2{font-size:26px}.sg-history-page .sgh-plans{grid-template-columns:1fr;gap:24px}.sg-history-page .sgh-closing{padding:0 24px 36px;display:block}.sg-history-page .sgh-back{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.sg-history-page .sgh-index a{transition:none}}
@media print{.sg-history-page{border-radius:0;font-size:11pt}.sg-history-page .sgh-index,.sg-history-page .sgh-back{display:none}.sg-history-page .sgh-future{background:#fff;border:1px solid #dce1d8}.sg-history-page .sgh-future :is(h2,h3,p){color:#263a31!important}.sg-history-page .sgh-event{break-inside:avoid}}

/* 추가 이력: 제목은 스크롤을 따라오지 않으며, 기간 표기는 좁은 화면에서도 줄바꿈됩니다. */
.sg-history-page .sgh-top,.sg-history-page .sgh-year-label,.sg-history-page :is(h1,h2,h3){position:static!important;transform:none}
.sg-history-page .sgh-year-range{font-size:44px;line-height:1.12}.sg-history-page .sgh-year-range time{display:block}.sg-history-page .sgh-year-range .sgh-range-divider{display:block;font-family:Georgia,serif;font-size:24px;margin:4px 0;color:var(--sgh-accent)}
@media(max-width:991px){.sg-history-page .sgh-year-range{font-size:40px}}
@media(max-width:767px){.sg-history-page .sgh-year-range{font-size:36px}.sg-history-page .sgh-year-range time,.sg-history-page .sgh-year-range .sgh-range-divider{display:inline}.sg-history-page .sgh-year-range .sgh-range-divider{margin:0 6px;font-size:26px}}
