@charset "utf-8";
/* ===========================================================================
 * 글사유 ON 첫 화면 - 로그인 전(손님). 2026-11-15 확정 시안(home_handoff), 2026-11-16 2차 시안(home_handoff_2차)으로 고침.
 * cham/include/home_guest_on.php 가 그리고, 움직임은 cham/js/home-on.js.
 *
 * 예전 css(main.css · common.css · theme-gsu-on.css)가 .login · .notice · .rank · .box 같은
 * 이름을 이미 쓰고, 스킨 css 는 문서 맨 끝에서 불린다. 그래서 모든 이름에 gh- 를 붙이고
 * #gh 아래로만 적는다(아이디 하나로 스킨 규칙보다 앞선다).
 *
 * html.gh-home 은 이 화면일 때 cham/main/index.php 가 붙인다(머리말·옆 패널·바탕).
 * ======================================================================== */

/* ---------- 디자인 기준 값: cham/css/tokens-on.css(--gs-*, 2026-11-16 최종)를 그대로 쓴다. 여기는 이 화면 이름만 ---------- */
#gh, html.gh-home .gon-hd.is-home {
	--t-a: var(--gs-type-jeongseo); --t-b: var(--gs-type-banghyang); --t-c: var(--gs-type-dongjak); --t-d: var(--gs-type-gachi); --t-e: var(--gs-type-ganeung);
	--mo-out: var(--gs-ease-out);
}

/* 옆 패널이 없는 화면이라 그 자리(양옆 145px)까지 쓴다. 최대 폭은 사이트 넓은 틀과 같은 1280px. */
html.gh-home { --gon-w: 1000px; }
html.gh-home.gon-wide { --gon-w: clamp(1000px, calc(100vw - 96px), 1280px); }
html.gh-home body { background: var(--gs-sand); padding-top: 110px; }   /* 머리 띠(작은 줄 34 + 메뉴 76 = 110px) 바로 아래부터, 틈 없이 */
html.gh-home #quick_menu { display: none !important; }

/* ---------- 머리말: 처음부터 흰 띠로 위에 고정(110px), 24px 넘게 내리면 위 작은 줄이 접혀 68px·로고 250px (2차 시안) ---------- */
html.gh-home header.gon-hd.is-home {
	position: fixed; top: 0; left: 0; right: 0; z-index: 900;
	background: var(--gs-white); box-shadow: 0 1px 0 var(--gs-line);
	transition: box-shadow .35s var(--gs-ease);
}
html.gh-home .gon-hd.is-home .gon-util { max-height: 40px; overflow: hidden; transition: max-height .35s var(--gs-ease), opacity .25s, padding .35s var(--gs-ease), height .35s var(--gs-ease); }
html.gh-home .gon-hd.is-home .gon-row { transition: height .35s var(--gs-ease); }
html.gh-home .gon-hd.is-home h1.gon-logo img { transition: width .35s var(--gs-ease); }
html.gh-home .gon-hd.is-home h1.gon-logo img.gon-logo-w { display: none; }
/* 메뉴는 오른쪽에 모으고 맨 끝에 남색 로그인 단추 */
html.gh-home .gon-hd.is-home .gon-gnb { margin-left: auto; }
html.gh-home .gon-hd.is-home .gon-login {
	display: inline-flex; align-items: center; height: 40px; margin-left: 18px; padding: 0 20px; border-radius: var(--gs-r-btn);
	background: var(--gs-navy); color: var(--gs-white); font: 700 16px/1 var(--gs-font); white-space: nowrap; text-decoration: none;
	transition: background-color .25s ease;
}
html.gh-home .gon-hd.is-home .gon-login:hover { background: #2C3B57; }
html.gh-home .gon-hd.is-home .gon-login:focus-visible { outline: 2px solid var(--gs-navy); outline-offset: 2px; }
/* 내린 뒤 */
html.gh-home .gon-hd.is-home.is-solid { box-shadow: 0 1px 0 var(--gs-line), 0 6px 18px rgba(30,42,63,.06); }
html.gh-home .gon-hd.is-home.is-solid .gon-util { max-height: 0; height: 0; padding-top: 0; opacity: 0; }
html.gh-home .gon-hd.is-home.is-solid .gon-row { height: 68px; }
html.gh-home .gon-hd.is-home.is-solid h1.gon-logo img { width: 250px; }
@media (prefers-reduced-motion: reduce) {
	html.gh-home .gon-hd.is-home, html.gh-home .gon-hd.is-home * { transition: none !important; }
}
/* 바닥글: 오른쪽 대표전화 칸은 뺌(전화번호는 학습관 칸의 고객센터 카드에). 다른 쪽 바닥글은 운영자 확인 뒤 */
html.gh-home .gon-ft-tel { display: none; }
html.gh-home .gon-ft-grid { grid-template-columns: 1fr; }

/* ---------- 공통 ---------- */
#gh { font-family: var(--gs-font); color: var(--gs-text); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; text-align: left; }
#gh *, #gh *::before, #gh *::after { box-sizing: border-box; }
#gh h1, #gh h2, #gh h3, #gh p, #gh ul, #gh ol, #gh li, #gh figure, #gh dl, #gh dd { margin: 0; padding: 0; }
#gh ul, #gh ol { list-style: none; }
#gh a { color: inherit; text-decoration: none; }
#gh h1, #gh h2, #gh h3 { text-wrap: balance; }
#gh p, #gh li { text-wrap: pretty; }
#gh button { font-family: var(--gs-font); }
#gh .gh-card { position: relative; background: var(--gs-white); border-radius: var(--gs-r-card); box-shadow: var(--gs-shadow-card); overflow: hidden; }

/* 단추: 주황(화면에 하나) · 테두리 */
#gh .gh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: var(--gs-btn-lg); padding: 0 30px; border: 0; border-radius: var(--gs-r-btn);
	background: var(--gs-amber); color: var(--gs-navy); font: 700 18.5px/1 var(--gs-font); cursor: pointer;
}
#gh .gh-btn-line {
	display: inline-flex; align-items: center; justify-content: center;
	height: var(--gs-btn-lg); padding: 0 26px; border: 1px solid var(--gs-line-strong); border-radius: var(--gs-r-btn);
	background: var(--gs-white); color: var(--gs-text-sub); font: 500 17.5px/1 var(--gs-font); cursor: pointer;
}
#gh .gh-btn-line.is-md { height: var(--gs-btn-md); font-size: 16.5px; padding: 0 22px; }
#gh .gh-btn-line.is-sm { height: var(--gs-btn-sm); font-size: 15.5px; padding: 0 14px; }
#gh .gh-b-line { display: inline-flex; align-items: center; height: var(--gs-btn-lg); padding: 0 26px; border-radius: var(--gs-r-btn); border: 1px solid var(--gs-navy-line); color: #fff; font-size: 17.5px; font-weight: 600; }
#gh .gh-b-line.is-dark { border-color: var(--gs-line-strong); color: var(--gs-navy); background: #fff; }
#gh .gh-btn:focus-visible, #gh .gh-btn-line:focus-visible, #gh .gh-b-line:focus-visible, #gh a:focus-visible { outline: 2px solid var(--gs-navy); outline-offset: 2px; }

/* 마우스 반응: 0.25초, 올린 것만 바뀜 */
#gh .gh-btn, #gh .gh-btn-line, #gh .gh-b-line, #gh .gh-go, #gh .gh-ctl button, #gh .gh-w, #gh .gh-open .gh-t, #gh .gh-more, #gh .gh-login-links a, #gh .gh-list a {
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s var(--mo-out); }
#gh .gh-btn:hover { background: #D6950F; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(228,161,28,.28); }
#gh .gh-btn-line:hover, #gh .gh-b-line.is-dark:hover { background: var(--gs-navy); border-color: var(--gs-navy); color: #fff; }
#gh .gh-b-line:not(.is-dark):hover { background: #fff; border-color: #fff; color: var(--gs-navy); }
#gh .gh-more:hover, #gh .gh-login-links a:hover, #gh .gh-list a:hover { color: var(--gs-navy); text-decoration: underline; text-underline-offset: 4px; }

/* 글자가 차례로 떠오르는 효과 */
@keyframes gh-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#gh .gh-up { animation: gh-up .5s var(--gs-ease) both; animation-delay: var(--d, 0s); }

/* ---------- 배너 (높이 460px, 머리 띠 바로 아래) ---------- */
#gh .gh-bn { position: relative; height: 460px; overflow: hidden; background: var(--gs-ivory); }
#gh .gh-slides, #gh .gh-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
#gh .gh-slide { opacity: 0; visibility: hidden; transition: opacity .9s var(--gs-ease), visibility 0s .9s; }
#gh .gh-slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s var(--gs-ease), visibility 0s; }
#gh .gh-slide-in { height: 100%; display: flex; align-items: center; padding-top: 0; padding-bottom: 40px; }
#gh .gh-txt { max-width: 600px; position: relative; z-index: 2; }
#gh .gh-slide .gh-up { animation: none; opacity: 0; }
#gh .gh-slide.is-on .gh-up { animation: gh-up .7s var(--gs-ease) both; animation-delay: var(--d, 0s); }
#gh .gh-eb { font-size: var(--gs-fs-label); font-weight: 700; letter-spacing: .1em; color: var(--gs-amber-text); }
#gh .gh-slide h1 { margin-top: 14px; font-size: 46px; line-height: 1.3; font-weight: 400; color: var(--gs-text-sub); letter-spacing: var(--gs-ls-title); }
#gh .gh-slide h1 b { font-weight: 800; color: var(--gs-navy); }
#gh .gh-lead { margin-top: 20px; font-size: var(--gs-fs-lead); line-height: var(--gs-lh-body); color: var(--gs-text-sub); }
#gh .gh-btns { display: flex; gap: 12px; margin-top: 32px; }
#gh .gh-art { position: absolute; z-index: 1; pointer-events: none; }
#gh .s1 { background: var(--gs-ivory); }
#gh .s1 .gh-txt { max-width: 720px; }
#gh .s2 { background: var(--gs-navy); }
#gh .s2 .gh-eb { color: var(--gs-amber); }
#gh .s2 h1 { color: var(--gs-navy-body); }
#gh .s2 h1 b { color: #fff; }
#gh .s2 h1 .gh-on { display: inline-flex; align-items: center; height: 50px; padding: 0 14px; margin: 0 6px; border: 3px solid var(--gs-amber); border-radius: 999px; color: var(--gs-amber); font-size: 32px; font-weight: 800; vertical-align: 4px; }
#gh .s2 .gh-lead { color: var(--gs-navy-body); }
#gh .s2 .gh-icon { width: 170px; right: 410px; top: 130px; }
#gh .s3 { background: var(--gs-tint); }
#gh .s3 .gh-eb { color: var(--gs-text-muted); }
#gh .s3 .gh-steps { right: 410px; top: 120px; display: flex; gap: 8px; align-items: flex-end; }
#gh .s3 .gh-steps span { width: 34px; border-radius: 10px 10px 4px 4px; background: #fff; box-shadow: var(--gs-shadow-item); }
#gh .s3 .gh-steps span:nth-child(1) { height: 60px; } #gh .s3 .gh-steps span:nth-child(2) { height: 90px; }
#gh .s3 .gh-steps span:nth-child(3) { height: 120px; } #gh .s3 .gh-steps span:nth-child(4) { height: 150px; }
#gh .s3 .gh-steps span:nth-child(5) { height: 180px; background: var(--gs-navy); }
/* 글사유 학습관 7기 모집 (2026-11-17, 시안 gsu-on-home-banner-7gi) - 호박색 바탕, 주 단추는 남색 */
#gh .s7 { background: var(--gs-amber); }
#gh .s7 .gh-eb { color: var(--gs-navy); }
#gh .s7 h1 { color: var(--gs-text); }
#gh .s7 h1 b { color: var(--gs-navy); }
#gh .s7 .gh-btn { background: var(--gs-navy); color: #fff; }
#gh .s7 .gh-btn:hover { background: #15203A; }
#gh .gh-info { display: flex; gap: 28px; width: fit-content; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid rgba(30,42,63,.22); }
#gh .gh-info div { display: flex; flex-direction: column; gap: 2px; }
#gh .gh-info dt { font-size: 13px; font-weight: 600; color: rgba(30,42,63,.7); }
#gh .gh-info dd { margin: 0; font-size: 18px; font-weight: 800; color: var(--gs-navy); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
#gh .s7 .gh-btns { margin-top: 28px; }
#gh .s7 .gh-geo { top: 0; bottom: 0; left: 0; right: 0; z-index: 0; }
#gh .s7 .gh-geo svg { position: absolute; display: block; overflow: visible; }
#gh .s7 .gh-geo .g1 { left: 440px; top: 20px; width: 420px; height: 420px; }
#gh .s7 .gh-geo .g2 { left: 880px; top: 250px; width: 420px; height: 420px; }
#gh .s7 .gh-seven { left: 520px; top: 40px; width: 220px; height: 380px; }
#gh .s7 .gh-seven .n { position: absolute; left: 28px; top: 40px; font-size: 260px; line-height: 1.2; font-weight: 800; letter-spacing: -.06em; color: var(--gs-navy); }
#gh .s7 .gh-seven .k { position: absolute; left: 160px; top: 290px; font-size: 38px; font-weight: 800; color: var(--gs-navy); }
@media (max-width: 1199px) { #gh .s7 .gh-seven, #gh .s7 .gh-geo .g1 { display: none; } }
@media (max-height: 740px) {
	#gh .gh-slide h1 { font-size: 40px; }
	#gh .gh-lead { margin-top: 14px; }
	#gh .gh-btns { margin-top: 24px; }
}

/* 넘김 단추 · 진행 막대 */
#gh .gh-ctl-wrap { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; pointer-events: none; z-index: 5; }
#gh .gh-ctl { position: absolute; left: 0; bottom: 30px; display: flex; align-items: center; gap: 10px; pointer-events: auto; }
#gh .gh-ctl button { border: 0; background: rgba(255,255,255,.75); color: var(--gs-navy); width: 34px; height: 34px; padding: 0; border-radius: 50%; font: 700 18px/1 var(--gs-font); cursor: pointer; box-shadow: var(--gs-shadow-item); }
#gh .gh-ctl .gh-pause { font-size: 12px; }
#gh .gh-ctl button:hover { background: #fff; }
#gh .gh-dots { display: flex; gap: 6px; }
#gh .gh-dots button { width: 34px; height: 34px; background: none; box-shadow: none; display: flex; align-items: center; justify-content: center; }
#gh .gh-dots button:hover { background: none; }
#gh .gh-dots i { display: block; width: 24px; height: 4px; border-radius: 2px; background: rgba(30,42,63,.22); overflow: hidden; position: relative; }
#gh .gh-dots .on i::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--gs-navy); transform-origin: left; animation: gh-fill var(--bn-dur, 6s) linear both; }
#gh .gh-bn.is-paused .gh-dots .on i::after { animation-play-state: paused; }
#gh .gh-bn.is-dark .gh-dots i { background: rgba(255,255,255,.25); }
#gh .gh-bn.is-dark .gh-dots .on i::after { background: #fff; }
@keyframes gh-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
#gh .gh-ctl button:focus-visible { outline: 2px solid var(--gs-amber); outline-offset: 2px; }

/* ---------- 로그인 카드 ---------- */
#gh .gh-login {
	position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 360px; pointer-events: auto;
	padding: 28px 28px 22px; display: flex; flex-direction: column;
	background: #fff; border-radius: var(--gs-r-card); box-shadow: var(--gs-shadow-card);
}
#gh .gh-login h2 { font-size: 21px; font-weight: 800; color: var(--gs-navy); margin-bottom: 18px; }
#gh .gh-login input.gh-in {
	display: block; width: 100%; margin: 12px 0 0; height: 50px; border: 0; border-radius: var(--gs-r-item); background: var(--gs-tint);
	padding: 0 16px; font: 400 var(--gs-fs-ui)/1 var(--gs-font); color: var(--gs-text); outline: none; box-shadow: none;
	transition: box-shadow .2s;
}
#gh .gh-login input.gh-in:first-of-type { margin-top: 0; }
#gh .gh-login input.gh-in::placeholder { color: var(--gs-text-muted); opacity: 1; }
#gh .gh-login input.gh-in:focus { box-shadow: inset 0 0 0 2px var(--gs-navy); }
#gh .gh-go { margin-top: 14px; height: 52px; border: 0; border-radius: var(--gs-r-btn); background: var(--gs-navy); color: #fff; font: 700 17.5px/1 var(--gs-font); cursor: pointer; }
#gh .gh-go:hover { background: #2C3B57; }
#gh .gh-go:focus-visible { outline: 2px solid var(--gs-amber); outline-offset: 2px; }
#gh .gh-save { margin: 14px 0 18px; display: flex; align-items: center; gap: 8px; font-size: var(--gs-fs-small); color: var(--gs-text-sub); cursor: pointer; position: relative; }
#gh .gh-save input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
#gh .gh-save i { width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--gs-line-strong); background: #fff; flex: none; position: relative; }
#gh .gh-save input:checked + i { background: var(--gs-navy); box-shadow: none; }
#gh .gh-save input:checked + i::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#gh .gh-save input:focus-visible + i { outline: 2px solid var(--gs-navy); outline-offset: 2px; }
#gh .gh-login-links { padding-top: 16px; border-top: 1px solid var(--gs-line); display: flex; justify-content: space-between; font-size: var(--gs-fs-small); color: var(--gs-text-muted); font-weight: 600; }
#gh .gh-login-links a.is-b { color: var(--gs-navy); font-weight: 800; }

/* ---------- 이번 주 소식: 배너 바로 아래(배너 밖). 마우스를 올리면 아래로 2·3위까지 펼침(아래 칸 위에 겹침) ---------- */
#gh .gh-news-sec { padding: 28px 0 0; position: relative; z-index: 4; }
#gh .gh-news { position: static; }
#gh .gh-news-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
#gh .gh-news-head h2 { font-size: 17.5px; font-weight: 800; color: var(--gs-navy); transition: color .35s; }
#gh .gh-news-head span { font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gh .gh-news-head .gh-more { margin-left: auto; font-size: var(--gs-fs-small); font-weight: 600; color: var(--gs-text-muted); }
#gh .gh-news-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-template-rows: 74px; align-items: start; height: 74px; position: relative; z-index: 4; }
#gh .gh-nc {
	position: relative; z-index: 1; background: #fff; border-radius: var(--gs-r-card); box-shadow: var(--gs-shadow-card); padding: 14px 20px; outline: none;
	transform-origin: 50% 0; will-change: transform;
	transition: transform .55s var(--mo-out), box-shadow .55s var(--mo-out);
}
#gh .gh-nc-k { font-size: var(--gs-fs-micro); font-weight: 700; color: var(--gs-text-muted); letter-spacing: .04em; margin-bottom: 6px; }
#gh .gh-nc.is-school .gh-nc-k { color: var(--gs-amber-text); }
#gh .gh-nc-r { display: grid; grid-template-columns: 22px auto 1fr; align-items: baseline; gap: 8px; }
#gh .gh-nc-r i { font-style: normal; font-size: var(--gs-fs-micro); font-weight: 800; color: var(--gs-text-muted); }
#gh .gh-nc-r b { font-size: 20px; font-weight: 800; color: var(--gs-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#gh .gh-nc-r span { justify-self: end; font-size: var(--gs-fs-small); color: var(--gs-text-sub); white-space: nowrap; }
#gh .gh-nc-r.r1 i { color: var(--gs-navy); }
#gh .gh-nc-r.is-empty { display: block; font-size: var(--gs-fs-small); color: var(--gs-text-muted); line-height: 28px; }
#gh .gh-nc-r.r2, #gh .gh-nc-r.r3 {
	max-height: 0; opacity: 0; overflow: hidden; transform: translateY(6px); margin-top: 0;
	transition: max-height .5s var(--mo-out), opacity .35s ease, transform .5s var(--mo-out), margin-top .5s var(--mo-out);
}
#gh .gh-nc-r.r2 b, #gh .gh-nc-r.r3 b { font-size: 17px; font-weight: 700; color: var(--gs-text); }
#gh .gh-nc:hover, #gh .gh-nc:focus-visible { z-index: 3; transform: translateY(-2px) scale(1.025); box-shadow: 0 2px 4px rgba(30,42,63,.08), 0 16px 36px rgba(30,42,63,.18); }
#gh .gh-nc:focus-visible { box-shadow: 0 0 0 2px var(--gs-navy), 0 16px 36px rgba(30,42,63,.18); }
#gh .gh-nc:hover .gh-nc-r.r2, #gh .gh-nc:hover .gh-nc-r.r3,
#gh .gh-nc:focus-visible .gh-nc-r.r2, #gh .gh-nc:focus-visible .gh-nc-r.r3 { max-height: 34px; opacity: 1; transform: none; margin-top: 8px; }
#gh .gh-nc:hover .gh-nc-r.r2, #gh .gh-nc:focus-visible .gh-nc-r.r2 { transition-delay: .05s; }
#gh .gh-nc:hover .gh-nc-r.r3, #gh .gh-nc:focus-visible .gh-nc-r.r3 { transition-delay: .12s; }

/* ---------- 본문 ---------- */
#gh .gh-main { background: var(--gs-sand); padding-bottom: 80px; }
#gh .gh-main section { padding-top: 56px; }
#gh .gh-h { font-size: 36px; font-weight: 800; color: var(--gs-navy); letter-spacing: var(--gs-ls-title); }
#gh .gh-lab { font-size: var(--gs-fs-label); font-weight: 700; letter-spacing: .1em; color: var(--gs-amber-text); }

/* 글사유 공부법이 무엇인가요? */
#gh .gh-main section.gh-what { padding-top: 72px; }
#gh .gh-what-lead { margin: 22px 0 28px; font-size: var(--gs-fs-lead); line-height: var(--gs-lh-body); color: var(--gs-text-sub); }

/* 오각형 카드 */
#gh .gh-pcard { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; }
#gh .gh-chart { padding: 28px 12px 20px 28px; position: relative; }
#gh .gh-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
#gh .gh-chart .grid polygon { fill: none; stroke: var(--gs-line); stroke-width: 1; }
#gh .gh-chart .grid polygon.outer { stroke: var(--gs-line-strong); }
#gh .gh-chart .axis { stroke: var(--gs-line); stroke-width: 1; }
#gh .gh-chart .water .w1 { fill: url(#gh-gFill); opacity: .55; }
#gh .gh-chart .water .w2 { fill: url(#gh-gFill); opacity: .75; }
#gh .gh-chart .water .w3 { fill: url(#gh-gCore); stroke: url(#gh-gEdge); stroke-width: 1.6; }
#gh .gh-chart .v { cursor: pointer; outline: none; }
#gh .gh-chart .v .hit { fill: transparent; }
#gh .gh-chart .v .dot { fill: var(--c); transition: r .25s var(--gs-ease), opacity .25s; }
#gh .gh-chart .v .ring { fill: none; stroke: var(--c); stroke-width: 2; opacity: 0; transition: opacity .25s var(--gs-ease), r .25s var(--gs-ease); }
#gh .gh-chart .v text { font-family: var(--gs-font); font-size: 21px; font-weight: 800; fill: var(--c); transition: opacity .25s var(--gs-ease); }
#gh .gh-chart .v.e text { fill: #8C8B87; }
#gh .gh-chart svg.has-on .v:not(.on) text { opacity: .35; }
#gh .gh-chart svg.has-on .v:not(.on) .dot { opacity: .45; }
#gh .gh-chart .v.on .dot { r: 13; }
#gh .gh-chart .v.on .ring { opacity: .35; r: 21; }
#gh .gh-chart .v:focus-visible .ring { opacity: 1; r: 21; stroke: var(--gs-navy); }

#gh .gh-panel { padding: 44px 48px 44px 28px; min-height: 470px; display: flex; flex-direction: column; justify-content: center; }
#gh .gh-panel .lab { font-size: 14.5px; font-weight: 700; letter-spacing: .1em; color: var(--gs-text-muted); }
#gh .gh-panel .name { margin: 10px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--gs-navy); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#gh .gh-panel .name.big { font-size: 38px; line-height: 1.3; display: block; }
#gh .gh-panel .name .sw { width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--gs-navy)); flex: none; }
#gh .gh-panel .name .kw { font-size: 22px; font-weight: 400; color: var(--gs-text-sub); letter-spacing: 0; }
#gh .gh-panel .ch { display: inline-block; }
#gh .gh-panel .rows { margin-top: 22px; display: grid; gap: 10px; }
#gh .gh-panel .row { background: var(--gs-tint); border-radius: 10px; padding: 15px 18px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; font-size: 17.5px; line-height: 1.6; color: var(--gs-text); }
#gh .gh-panel .row b { font-size: 14.5px; font-weight: 700; color: var(--gs-text-muted); padding-top: 2px; }
#gh .gh-panel .row.need { background: #fff; box-shadow: inset 0 0 0 1.5px var(--gs-line-strong); }
#gh .gh-panel .row.need strong { color: var(--gs-navy); font-weight: 800; }
#gh .gh-panel .hint2 { margin: 22px 0 0; font-size: 17.5px; color: var(--gs-text-muted); }
#gh .gh-pfoot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 16px 28px; background: var(--gs-tint); }
#gh .gh-pfoot span { font-size: var(--gs-fs-ui); color: var(--gs-text-sub); }
#gh .gh-pfoot .gh-btn-line { background: #fff; }
#gh .gh-pfoot .gh-btn-line:hover { background: var(--gs-navy); }

/* 진행 카드 */
#gh .gh-flow { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr .78fr; gap: 20px; }
#gh .gh-flow .gh-card { padding: 24px 26px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
#gh .gh-flow .gh-no { width: 44px; height: 44px; border-radius: 50%; background: var(--gs-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
#gh .gh-flow h3 { font-size: 19px; font-weight: 800; color: var(--gs-navy); }
#gh .gh-flow p { margin-top: 6px; font-size: var(--gs-fs-small); line-height: var(--gs-lh-body); color: var(--gs-text-sub); }
#gh .gh-flow .gh-card.is-plus { display: block; background: var(--gs-tint); box-shadow: none; padding: 22px 24px; }
#gh .gh-flow .gh-tag2 { display: inline-block; margin-bottom: 8px; font-size: var(--gs-fs-micro); font-weight: 700; color: var(--gs-amber-text); letter-spacing: .04em; }
#gh .gh-flow .is-plus h3 { font-size: 17px; }

/* 공식 교재 */
#gh .gh-main section.gh-books { padding-top: 20px; }
#gh .gh-bk-card { display: grid; grid-template-columns: 420px 1fr; gap: 40px; padding: 40px 44px 40px 48px; align-items: center; }
#gh .gh-bk-txt h2 { margin-top: 8px; font-size: 28px; font-weight: 800; color: var(--gs-navy); letter-spacing: var(--gs-ls-title); }
#gh .gh-bk-txt h2 b { color: var(--gs-amber-text); }
#gh .gh-bk-txt > p { margin-top: 10px; font-size: var(--gs-fs-ui); line-height: var(--gs-lh-body); color: var(--gs-text-sub); }
#gh .gh-bk-num { margin: 22px 0 26px; display: grid; grid-template-columns: repeat(4, auto); border-radius: 12px; background: var(--gs-tint); }
#gh .gh-bk-num li { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
#gh .gh-bk-num li + li { box-shadow: inset 1px 0 0 rgba(30,42,63,.08); }
#gh .gh-bk-num span { font-size: var(--gs-fs-micro); color: var(--gs-text-muted); white-space: nowrap; }
#gh .gh-bk-num b { font-size: 20px; font-weight: 800; color: var(--gs-navy); }
#gh .gh-bk-num em { font-style: normal; font-size: var(--gs-fs-small); color: var(--gs-text-sub); }
#gh .gh-bk-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#gh .gh-bk-note { margin-top: 14px; font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gh .gh-shelf { position: relative; height: 300px; display: flex; align-items: center; padding: 0 28px; justify-content: center; border-radius: 14px; background: #E6DFD1; }
#gh .gh-bk { flex: 1 1 0; min-width: 0; max-width: 136px; margin: 0 0 0 -12px; position: relative; z-index: calc(10 - var(--i)); outline: none; transition: transform .4s var(--gs-ease); }
#gh .gh-bk:first-child { margin-left: 0; }
#gh .gh-bk img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.414; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 0 0 1px rgba(30,42,63,.06), 6px 10px 20px rgba(30,42,63,.22); transition: filter .3s; }
#gh .gh-bk figcaption { position: absolute; left: -20px; right: -20px; top: calc(100% + 10px); text-align: center; font-size: var(--gs-fs-micro); color: var(--gs-text-muted); opacity: 0; transition: opacity .3s var(--gs-ease); white-space: nowrap; }
#gh .gh-bk figcaption b { display: block; font-size: var(--gs-fs-small); color: var(--gs-navy); font-weight: 800; }
#gh .gh-bk:hover, #gh .gh-bk:focus-visible { transform: translateY(-14px); z-index: 20; }
#gh .gh-bk:hover figcaption, #gh .gh-bk:focus-visible figcaption { opacity: 1; }
#gh .gh-shelf:hover .gh-bk:not(:hover) img { filter: saturate(.75); }

/* 글사유 학습관 */
#gh .gh-main section.gh-ctr { padding-top: 72px; }
#gh .gh-ctr .gh-h { margin-bottom: 24px; }
#gh .gh-ctr-card { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 40px 48px 44px; align-items: center; }
#gh .gh-map svg { width: 100%; height: auto; display: block; overflow: visible; }
#gh .gh-map path { fill: #F2E6CB; stroke: #fff; stroke-width: 1.2; transition: fill .35s var(--gs-ease); }
#gh .gh-map path[data-g="x"] { fill: var(--gs-sand); }
#gh .gh-map.is-hl path:not([data-g="x"]) { fill: #F6EFDF; }
#gh .gh-map.is-hl path.on { fill: #E9C57A; }
#gh .gh-map .bub circle { fill: var(--gs-amber); stroke: #fff; stroke-width: 3; transition: transform .35s var(--gs-ease); transform-box: fill-box; transform-origin: center; }
#gh .gh-map .bub text { fill: var(--gs-navy); font: 800 30px/1 var(--gs-font); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
#gh .gh-map .bub g { cursor: pointer; }
#gh .gh-map .bub g.on circle { transform: scale(1.12); }
#gh .gh-sum { display: flex; align-items: baseline; gap: 6px; padding-bottom: 22px; }
#gh .gh-sum b { font-size: 64px; font-weight: 800; line-height: 1; color: var(--gs-navy); letter-spacing: -.02em; }
#gh .gh-sum span { font-size: 22px; font-weight: 700; color: var(--gs-navy); }
#gh .gh-sum em { margin-left: 18px; font-style: normal; font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gh .gh-rgs { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; gap: 12px; }
#gh .gh-rg { padding: 16px 18px 18px; border-radius: 12px; background: var(--gs-tint); outline: none; transition: background .3s var(--gs-ease), box-shadow .3s var(--gs-ease); }
#gh .gh-rg.on, #gh .gh-rg:focus-visible { background: var(--gs-amber-tint); box-shadow: inset 0 0 0 1.5px #E9C57A; }
#gh .gh-rg h3 { display: flex; align-items: baseline; gap: 8px; font-size: 18px; font-weight: 800; color: var(--gs-navy); }
#gh .gh-rg h3 b { font-size: 16px; font-weight: 800; color: var(--gs-amber-text); }
#gh .gh-rg ul { margin: 12px 0 0; display: grid; gap: 9px; }
#gh .gh-rg.is-wide ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
#gh .gh-rg li { font-size: var(--gs-fs-ui); color: var(--gs-text); white-space: nowrap; }
#gh .gh-ctr-cta { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; margin-top: 20px; }
#gh .gh-ctr-cta h3 { font-size: 22px; font-weight: 800; color: var(--gs-navy); }
#gh .gh-find { padding: 32px 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
#gh .gh-find h3 { margin-bottom: 0; }
#gh .gh-fnote { margin: 10px 0 18px; font-size: var(--gs-fs-ui); line-height: var(--gs-lh-body); color: var(--gs-text-sub); }
#gh .gh-contact { margin: 0 0 24px; display: grid; gap: 8px; width: 100%; }
#gh .gh-contact div { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; padding: 12px 18px; border-radius: 12px; background: var(--gs-tint); }
#gh .gh-contact dt { font-size: var(--gs-fs-small); font-weight: 700; color: var(--gs-text-muted); }
#gh .gh-contact dd { margin: 0; }
#gh .gh-contact a { font-size: 19px; font-weight: 800; color: var(--gs-navy); letter-spacing: -.01em; transition: color .25s ease; }
#gh .gh-contact div:last-child a { font-size: 17px; font-weight: 700; }
#gh .gh-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
#gh .gh-open { padding: 32px 36px; background: var(--gs-navy); color: var(--gs-navy-body); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
/* 원장님 카드 오른쪽: 인증 현판 */
#gh .gh-plaque { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
#gh .gh-plaque img { width: 136px; height: 136px; display: block; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 12px 28px rgba(0,0,0,.28); }
#gh .gh-plaque figcaption { font-size: var(--gs-fs-micro); color: var(--gs-navy-muted); white-space: nowrap; }
#gh .gh-open .gh-lab { color: var(--gs-amber); }
#gh .gh-open h3 { margin-top: 8px; color: #fff; font-size: 24px; }
#gh .gh-open ul { margin: 16px 0 24px; display: grid; gap: 8px; }
#gh .gh-open li { position: relative; padding-left: 16px; font-size: var(--gs-fs-ui); line-height: 1.6; color: var(--gs-navy-body); }
#gh .gh-open li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gs-amber); }
#gh .gh-open li b { color: #fff; font-weight: 700; }
#gh .gh-open-btns { display: flex; gap: 18px; align-items: center; }
#gh .gh-w { display: inline-flex; align-items: center; height: var(--gs-btn-md); padding: 0 24px; border-radius: var(--gs-r-btn); background: #fff; color: var(--gs-navy); font-weight: 800; font-size: 16.5px; }
#gh .gh-w:hover { background: var(--gs-ivory); transform: translateY(-1px); }
#gh .gh-open .gh-t { color: var(--gs-navy-body); font-size: var(--gs-fs-ui); text-decoration: underline; text-underline-offset: 4px; }
#gh .gh-open .gh-t:hover { color: #fff; }

/* 아래 세 칸 */
#gh .gh-main section.gh-r3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 40px; }
#gh .gh-box { padding: 26px 28px 20px; }
#gh .gh-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
#gh .gh-sec-head h2 { font-size: 21px; font-weight: 800; color: var(--gs-navy); letter-spacing: var(--gs-ls-title); }
#gh .gh-sec-head h2 span { font-size: var(--gs-fs-small); font-weight: 400; color: var(--gs-text-sub); margin-left: 8px; letter-spacing: 0; }
#gh .gh-sec-head .gh-more { font-size: var(--gs-fs-small); font-weight: 600; color: var(--gs-text-muted); }
#gh .gh-rank li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: var(--gs-r-item); font-size: var(--gs-fs-ui); }
#gh .gh-rank li:nth-child(odd) { background: var(--gs-tint); }
#gh .gh-rank .gh-n { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--gs-fs-small); font-weight: 800; color: var(--gs-text-sub); box-shadow: inset 0 0 0 1.5px var(--gs-line-strong); background: #fff; }
#gh .gh-rank li.is-top .gh-n { background: var(--gs-navy); color: #fff; box-shadow: none; }
#gh .gh-rank .gh-sn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#gh .gh-rank .gh-p { font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gh .gh-rank .gh-p b { color: var(--gs-navy); font-weight: 800; }
#gh .gh-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--gs-line); font-size: var(--gs-fs-ui); }
#gh .gh-list li:last-child { border-bottom: 0; }
#gh .gh-list .gh-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#gh .gh-chip-s { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--gs-r-sm); background: var(--gs-tint); color: var(--gs-navy); font-size: var(--gs-fs-micro); font-weight: 700; margin-right: 8px; vertical-align: 1px; }
#gh .gh-list .gh-d { font-size: var(--gs-fs-small); color: var(--gs-text-muted); }
#gh .gh-rank li.is-empty, #gh .gh-list li.is-empty { display: block; color: var(--gs-text-muted); font-size: var(--gs-fs-small); background: none; }
#gh .gh-nums li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: var(--gs-r-item); background: var(--gs-tint); font-size: var(--gs-fs-small); color: var(--gs-text-muted); font-weight: 600; }
#gh .gh-nums li + li { margin-top: 10px; }
#gh .gh-nums b { font-size: 28px; font-weight: 800; color: var(--gs-navy); letter-spacing: var(--gs-ls-num); }
#gh .gh-nums b small { font-size: var(--gs-fs-small); font-weight: 500; color: var(--gs-text-sub); margin-left: 3px; letter-spacing: 0; }
#gh .gh-note { margin-top: 12px; font-size: var(--gs-fs-micro); color: var(--gs-text-muted); }

/* ---------- 스크롤 등장 (칸마다 한 번) ---------- */
html.gh-rv #gh .gh-rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--mo-out), transform 1s var(--mo-out); transition-delay: var(--rv-d, 0s); }
html.gh-rv #gh .gh-rv.in { opacity: 1; transform: none; }
@keyframes gh-bkUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes gh-pop { from { opacity: 0; transform: scale(.4); } }
html.gh-rv #gh .gh-bk-card .gh-bk { opacity: 0; }
html.gh-rv #gh .gh-bk-card.in .gh-bk { opacity: 1; animation: gh-bkUp .8s var(--mo-out) backwards; animation-delay: calc(.25s + var(--i) * .07s); }
html.gh-rv #gh .gh-ctr-card .bub g { opacity: 0; }
html.gh-rv #gh .gh-ctr-card.in .bub g { opacity: 1; animation: gh-pop .7s var(--mo-out) backwards; animation-delay: calc(.35s + var(--bi) * .09s); transform-box: fill-box; transform-origin: center; }

/* ---------- 좁은 화면: 깨지지 않을 정도만(모바일 시안은 아직 없음) ---------- */
@media (max-width: 1100px) {
	#gh .gh-pcard { grid-template-columns: minmax(0, 1fr); }
	#gh .gh-panel { padding: 8px 28px 30px; min-height: 0; }
	#gh .gh-bk-card, #gh .gh-ctr-card { grid-template-columns: minmax(0, 1fr); }
	#gh .gh-ctr .gh-map { max-width: 340px; }
}

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
	#gh *, #gh *::before, #gh *::after { animation: none !important; transition: none !important; }
	#gh .gh-slide.is-on .gh-up, #gh .gh-up { opacity: 1 !important; }
	html.gh-rv #gh .gh-rv, html.gh-rv #gh .gh-bk, html.gh-rv #gh .bub g { opacity: 1 !important; transform: none !important; }
}
