/* 메인 족보 체험과 학습 안내의 통합 구성 */
#home .home-combined{margin:1rem 0 3rem;scroll-margin-top:1rem}
#home .hc-heading h2{font-family:var(--c-serif);font-size:clamp(1.65rem,2.8vw,2.25rem);margin:0 0 .6rem;line-height:1.4}
#home .hc-heading p{margin:0 0 1.3rem;font-size:1rem}
#home .home-combined .c-workbench{padding:1.5rem;gap:1.8rem;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);margin:0;border-radius:16px;align-items:center}
#home .home-combined .c-work-left>h3{font-size:1.3rem;margin:0 0 .6rem}
#home .home-combined .c-instruction{font-size:.9rem;margin:0 0 .9rem}
#home .home-combined .c-glyph{min-height:105px;height:105px;font-size:clamp(3rem,5vw,4.5rem)}
#home .home-combined .c-glyph-item h3{font-size:.95rem;margin:.6rem 0 .25rem}
#home .home-combined .c-glyph-item p{font-size:.85rem;line-height:1.6}
#home .home-combined .c-reading-feedback{min-height:86px;margin-top:.9rem;padding:.7rem 0}
#home .home-combined .c-reading-feedback strong{font-size:1rem}
#home .home-combined .c-reading-feedback p{font-size:.85rem;line-height:1.7;margin-top:.35rem}
#home .home-combined .c-reading-steps{gap:.4rem}
#home .home-combined .c-reading-steps button{font-size:.85rem;padding:.4rem .65rem}
#home .home-combined .c-specimen-page{height:280px;min-height:0;aspect-ratio:auto;padding:.75rem}
#home .home-combined .c-specimen-columns{padding:.65rem .2rem}
#home .home-combined .c-specimen-columns>button,#home .home-combined .c-specimen-columns>.c-name-col{font-size:1.35rem}
#home .home-combined .c-seal{right:1.15rem;bottom:1.15rem;font-size:.8rem}
#home .home-combined .c-specimen figcaption{font-size:.75rem;margin-top:.4rem;padding:.2rem .6rem}
#home .home-combined .c-specimen-caution{font-size:.75rem;line-height:1.6;margin-top:.4rem}
#home .hc-next{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;padding:1.3rem 0;border-bottom:1px solid var(--rule)}
#home .hc-next h3{font-size:.9rem;margin:0 0 .6rem}
#home .hc-links{display:flex;gap:.4rem 1.2rem;flex-wrap:wrap}
#home .hc-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.9rem}
#home .hc-next>.primary{font-size:.95rem;min-height:48px}
@media(max-width:850px){#home .home-combined .c-workbench{grid-template-columns:minmax(0,1fr)}#home .home-combined .c-specimen{width:100%;max-width:360px;justify-self:center}#home .hc-next{align-items:flex-start;flex-direction:column}}

/* 홈페이지 안에서 열고 닫는 짧은 학습 설명 */
#home .hc-links button{display:inline-flex;align-items:center;min-height:44px;padding:0;font-size:.9rem;color:var(--pine);text-decoration:underline;text-underline-offset:.25em}
#home .hc-links button[aria-expanded="true"]{font-weight:700;text-decoration-thickness:2px}
#home .hc-peek-panel{padding:1.3rem 1.5rem;margin:1rem 0 0;border:1px solid var(--rule);border-radius:12px;background:var(--warm)}
#home .hc-peek-panel[hidden]{display:none!important}
#home .hc-peek-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.6rem}
#home .hc-peek-heading h3{font-size:1.15rem;margin:0}
#home .hc-peek-heading button{min-height:44px;padding:.3rem .8rem;border:1px solid var(--rule-strong);border-radius:999px;font-size:.85rem;flex:none}
#home .hc-peek-panel p{font-size:.95rem;line-height:1.8;max-width:80ch;margin:.6rem 0}
#home .hc-generation-example{display:flex;align-items:center;justify-content:flex-start;gap:1.2rem;margin:1rem 0}
#home .hc-generation-example>span{font-size:.85rem}
#home .hc-generation-example strong{display:block;font-size:1.15rem;color:var(--ink)}
#home .hc-hang-example{display:flex;flex-wrap:wrap;gap:1rem 3rem;padding:.8rem 0}
#home .hc-hang-example>div{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem}
#home .hc-hang-example span,#home .hc-hang-example small{font-size:.85rem;color:var(--muted)}
#home .hc-hang-example strong,.hc-inline-hanja{font-family:var(--serif);font-size:1.2rem}
#home .hc-hang-example mark{background:var(--pine-tint);color:var(--ink);padding:.15rem}
#home .hc-year-examples{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
#home .hc-year-examples span{border:1px solid var(--rule-strong);border-radius:999px;padding:.5rem 1rem;font-size:1rem;color:var(--ink)}
#home .hc-peek-panel .hc-peek-caution{font-size:.8rem;color:var(--muted);border-top:1px solid var(--rule);padding-top:.7rem;margin-top:.8rem}
#home .hc-source-links{list-style:none;padding:0;margin:.8rem 0}
#home .hc-source-links li{padding:.6rem 0;border-bottom:1px solid var(--rule)}
#home .hc-source-links li:last-child{border-bottom:0}
#home .hc-source-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.95rem;font-weight:700}
#home .hc-source-links span{display:block;font-size:.85rem;color:var(--muted)}
@media(max-width:760px){#home .hc-peek-panel{padding:1rem}#home .hc-hang-example{flex-direction:column;gap:.8rem}#home .hc-links{gap:.2rem 1rem}}

/* 짧은 설명과 전체 교실의 목적을 두 영역으로 구분합니다. */
#home .hc-next{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;gap:2rem;padding:1.5rem 0}
#home .hc-next h3{font-size:1rem;margin:0 0 .5rem}
#home .hc-next .hc-next-description{font-size:.85rem;line-height:1.7;margin:0 0 .8rem;color:var(--muted)}
#home .hc-links{gap:.5rem}
#home .hc-links button{min-height:44px;border:1px solid var(--rule-strong);border-radius:999px;padding:.55rem .9rem;background:var(--surface);text-decoration:none;font-weight:500;font-size:.9rem}
#home .hc-links button:hover{background:var(--warm);border-color:var(--pine)}
#home .hc-links button[aria-expanded="true"]{background:var(--pine-tint);border-color:var(--pine);color:var(--ink);font-weight:700}
#home .hc-full-learning{border-left:1px solid var(--rule);padding-left:2rem;min-width:0}
#home .hc-full-learning .hc-next-prompt{font-size:.9rem;font-weight:700;color:var(--ink);margin:0 0 .7rem}
#home .hc-full-learning .primary{font-size:.95rem;min-height:48px;max-width:100%;margin-bottom:.7rem;background:var(--pine);border-color:var(--pine);color:var(--on-pine)}
#home .hc-full-learning .hc-next-description{margin-bottom:0}
@media(max-width:760px){#home .hc-next{grid-template-columns:minmax(0,1fr);gap:1.25rem}#home .hc-full-learning{border-left:0;border-top:1px solid var(--rule);padding:1.25rem 0 0}}

/* 하단 탐색은 가벼운 한 줄로 압축합니다. */
#home .hc-next{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;padding:.65rem 0}
#home .hc-inline-learning{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
#home .hc-next h3{font-size:.85rem;margin:0;white-space:nowrap}
#home .hc-links{gap:.7rem}
#home .hc-links button{min-height:44px;padding:.25rem .1rem;border:0;border-radius:0;background:transparent;font-size:.85rem;text-decoration:underline;text-underline-offset:.3em}
#home .hc-links button:hover,#home .hc-links button[aria-expanded="true"]{background:transparent;border:0;color:var(--pine)}
#home .hc-full-learning{border:0;padding:0}
#home .hc-full-learning .hc-full-link{display:inline-flex;align-items:center;min-height:44px;font-size:.9rem;font-weight:700;text-underline-offset:.3em}
@media(max-width:760px){#home .hc-next{align-items:flex-start;gap:.25rem}#home .hc-inline-learning{gap:0 .8rem}#home .hc-full-learning{border:0;padding:0}}

/* 교실 이동은 작고 선명한 숲색 버튼으로 강조합니다. */
#home .hc-full-learning .hc-full-link{min-height:44px;padding:.55rem 1.1rem;border:1px solid var(--forest-action);border-radius:999px;background:var(--forest-action);color:var(--forest-on);font-size:.88rem;font-weight:700;line-height:1.4;text-decoration:none;white-space:normal}
#home .hc-full-learning .hc-full-link:hover{background:var(--forest-deep);border-color:var(--forest-deep)}
#home .hc-full-learning .hc-full-link:focus-visible{outline:3px solid var(--forest-action);outline-offset:3px}

/* 전체 교실로 이어지는 버튼은 제적등본 NEW 표시와 같은 노란색으로 구분합니다. */
#home .home-combined{--hc-gold:var(--forest-straw);--hc-gold-hover:#DFCA85;--hc-gold-edge:#A28E54;--hc-gold-ink:var(--forest-ink)}
#home .hc-full-learning .hc-full-link{background:var(--hc-gold);border-color:var(--hc-gold-edge);color:var(--hc-gold-ink)}
#home .hc-full-learning .hc-full-link:hover{background:var(--hc-gold-hover);border-color:var(--hc-gold-edge)}
