/* 홈 전용 스타일. 모든 규칙은 .slnh-* 또는 body.slnh-body 범위로 제한한다(다른 페이지에 로드되지 않음). */
:root {
  --slnh-bg: #f7f6f1;
  --slnh-white: #fff;
  --slnh-tint: #eff4f0;
  --slnh-green: #245747;
  --slnh-green-dark: #1b4437;
  --slnh-text: #23312e;
  --slnh-sub: #4f5f5a;
  --slnh-line: #dde5df;
  --slnh-warn: #7a5a14;
  --slnh-warn-bg: #fbf3df;
  --slnh-max: 1240px;
  --slnh-font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
body.slnh-body { margin: 0; background: var(--slnh-bg); color: var(--slnh-text); font: 400 1.0625rem/1.65 var(--slnh-font); -webkit-font-smoothing: antialiased; word-break: keep-all; }
.slnh-body *, .slnh-body *::before, .slnh-body *::after { box-sizing: border-box; }
.slnh-body h1, .slnh-body h2, .slnh-body p, .slnh-body ul { margin: 0; padding: 0; }
.slnh-body ul { list-style: none; }
.slnh-body a { color: inherit; text-decoration: none; }
.slnh-body img { display: block; max-width: 100%; height: auto; }
.slnh-ico { width: 22px; height: 22px; flex: none; }
.slnh-ico--lg { width: 38px; height: 38px; }
.slnh-ico--xl { width: 54px; height: 54px; }
.slnh-body :focus-visible { outline: 3px solid var(--slnh-green); outline-offset: 3px; border-radius: 4px; }
.slnh-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--slnh-green); color: #fff !important; border-radius: 8px; }
.slnh-skip:focus { top: 8px; }

/* 헤더 */
.slnh-header { position: relative; z-index: 20; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--slnh-line); }
.slnh-header__in { display: flex; align-items: center; gap: 24px; max-width: var(--slnh-max); margin: 0 auto; padding: 12px 24px; }
.slnh-logo { min-height: 44px; display: flex; align-items: center; gap: 10px; color: var(--slnh-green); }
.slnh-logo__mark { width: 40px; height: 40px; }
.slnh-logo span { display: flex; flex-direction: column; line-height: 1.2; }
.slnh-logo strong { font-size: 1.375rem; letter-spacing: -.02em; }
.slnh-logo small { color: var(--slnh-sub); font-size: .75rem; }
.slnh-nav { flex: 1; }
.slnh-nav ul { display: flex; justify-content: center; gap: 6px; }
.slnh-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; font-size: 1rem; font-weight: 600; border-bottom: 2px solid transparent; }
.slnh-nav a:hover, .slnh-nav a[aria-current] { color: var(--slnh-green); border-bottom-color: var(--slnh-green); }
.slnh-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.slnh-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--slnh-text); cursor: pointer; }
.slnh-iconbtn:hover { background: var(--slnh-tint); }
.slnh-compare { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--slnh-green); border-radius: 999px; color: var(--slnh-green); font-weight: 700; font-size: .9375rem; white-space: nowrap; }
.slnh-compare:hover { background: var(--slnh-tint); }
.slnh-compare__n:not(:empty)::before { content: "("; }
.slnh-compare__n:not(:empty)::after { content: ")"; }
.slnh-menubtn { display: none; }
.slnh-menubtn .slnh-ico--close { display: none; }
.slnh-menubtn[aria-expanded="true"] .slnh-ico--open { display: none; }
.slnh-menubtn[aria-expanded="true"] .slnh-ico--close { display: block; }

/* 히어로 */
.slnh-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3f2ea 0%, var(--slnh-bg) 100%); }
.slnh-hero__media { position: absolute; inset: 0 0 0 auto; width: 58%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%); mask-image: linear-gradient(to right, transparent 0, #000 42%); }
.slnh-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.slnh-hero__in { position: relative; max-width: var(--slnh-max); margin: 0 auto; padding: 72px 24px 150px; min-height: 560px; }
.slnh-hero__text { max-width: 600px; }
.slnh-eyebrow { color: var(--slnh-green); font-size: 1rem; font-weight: 500; letter-spacing: .01em; }
.slnh-hero h1 { margin-top: 14px; font-size: clamp(2.125rem, 4.6vw, 3.625rem); line-height: 1.22; letter-spacing: -.035em; font-weight: 800; color: #1c2a27; }
.slnh-lead { margin-top: 22px; max-width: 520px; color: var(--slnh-sub); font-size: 1.0625rem; line-height: 1.75; }
.slnh-search { margin-top: 30px; max-width: 560px; }
.slnh-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.slnh-search__box { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: #fff; border: 1px solid var(--slnh-line); border-radius: 14px; box-shadow: 0 6px 20px rgba(36, 87, 71, .1); }
.slnh-search__box .slnh-ico { color: var(--slnh-green); }
.slnh-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; color: var(--slnh-text); font: inherit; font-size: 1rem; }
.slnh-search input:focus-visible { outline: none; }
.slnh-search__box:focus-within { outline: 3px solid var(--slnh-green); outline-offset: 2px; }
.slnh-search button { min-height: 48px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--slnh-green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.slnh-search button:hover { background: var(--slnh-green-dark); }
.slnh-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
.slnh-chips > span { font-size: .9375rem; font-weight: 600; }
.slnh-chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.slnh-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--slnh-line); border-radius: 999px; background: #fff; font-size: .9375rem; font-weight: 600; }
.slnh-chips a:hover { border-color: var(--slnh-green); color: var(--slnh-green); }

/* 콘텐츠 패널 */
.slnh-panel { position: relative; max-width: var(--slnh-max); margin: -84px auto 0; padding: 28px 32px 36px; background: #fff; border-radius: 28px; box-shadow: 0 8px 30px rgba(36, 60, 50, .08); }
.slnh-quick ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.slnh-quick__item { position: relative; display: flex; align-items: flex-start; gap: 14px; height: 100%; min-height: 128px; padding: 20px 18px 40px; background: var(--slnh-tint); border-radius: 16px; color: var(--slnh-green); }
.slnh-quick__item:hover { background: #e4ede6; }
.slnh-quick__t { display: flex; flex-direction: column; gap: 4px; color: var(--slnh-text); }
.slnh-quick__t strong { font-size: 1.0625rem; }
.slnh-quick__t small { color: var(--slnh-sub); font-size: .875rem; line-height: 1.45; }
.slnh-quick__go { position: absolute; left: 18px; bottom: 14px; width: 18px; height: 18px; }
.slnh-split { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 28px; margin-top: 40px; }
.slnh-sechead h2, .slnh-guides h2, .slnh-stats h2, .slnh-promises h2 { font-size: 1.5rem; line-height: 1.35; letter-spacing: -.02em; font-weight: 800; }
.slnh-sechead p { margin-top: 6px; color: var(--slnh-sub); font-size: .9375rem; }
.slnh-sechead--row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.slnh-sechead--row a, .slnh-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--slnh-green); font-weight: 700; font-size: .9375rem; }
.slnh-more { margin-top: 6px; }
.slnh-more .slnh-ico, .slnh-sechead--row .slnh-ico { width: 16px; height: 16px; }
.slnh-empty { padding: 20px; background: var(--slnh-tint); border-radius: 12px; color: var(--slnh-sub); }
.slnh-empty a { color: var(--slnh-green); font-weight: 700; text-decoration: underline; }

/* 시설 카드 */
.slnh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.slnh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slnh-line); border-radius: 16px; overflow: hidden; }
.slnh-card__link { display: flex; flex: 1; flex-direction: column; }
.slnh-card__link:hover strong { color: var(--slnh-green); text-decoration: underline; }
.slnh-card__ph { position: relative; display: flex; align-items: center; justify-content: center; height: 118px; background: linear-gradient(135deg, #e3eee7, #f1f6f2); color: #6f9585; }
.slnh-tag { display: inline-block; padding: 3px 12px; border-radius: 8px; background: #fff; color: var(--slnh-green); font-size: .8125rem; font-weight: 700; }
.slnh-card__ph .slnh-tag { position: absolute; left: 12px; top: 12px; }
.slnh-tag--soft { background: var(--slnh-tint); }
.slnh-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 12px; }
.slnh-card__body strong { font-size: 1.0625rem; line-height: 1.4; }
.slnh-badges span { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: .8125rem; font-weight: 700; }
.slnh-badges .is-ok { background: var(--slnh-tint); color: var(--slnh-green); }
.slnh-badges .is-need { background: var(--slnh-warn-bg); color: var(--slnh-warn); }
.slnh-badges .is-need::before { content: "! "; }
.slnh-badges .is-ok::before { content: "✓ "; }
.slnh-card__meta { color: var(--slnh-sub); font-size: .875rem; line-height: 1.5; }
.slnh-body .slnh-card__cmp { margin: 0 16px 16px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--slnh-green); border-radius: 10px; background: #fff; color: var(--slnh-green); font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.slnh-body .slnh-card__cmp[aria-pressed="true"] { background: var(--slnh-green); color: #fff; }
.slnh-body .slnh-card__cmp:disabled { opacity: .5; cursor: not-allowed; }

/* 입문 가이드 */
.slnh-guides { padding: 22px; background: var(--slnh-bg); border-radius: 18px; }
.slnh-guides > p { margin: 4px 0 14px; color: var(--slnh-sub); font-size: .9375rem; }
.slnh-guides ul { display: grid; gap: 10px; }
.slnh-guides a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--slnh-line); border-radius: 12px; }
.slnh-guides a:hover { border-color: var(--slnh-green); }
.slnh-guides img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.slnh-guides span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.slnh-guides strong { font-size: 1rem; line-height: 1.4; }
.slnh-guides small { color: var(--slnh-sub); font-size: .875rem; }
.slnh-go { width: 18px; height: 18px; color: var(--slnh-sub); }

/* 가이드 배너 */
.slnh-banner { position: relative; display: flex; align-items: center; min-height: 230px; margin-top: 36px; overflow: hidden; border-radius: 20px; background: var(--slnh-green); color: #fff; }
.slnh-banner img { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%); mask-image: linear-gradient(to right, transparent 0, #000 40%); }
.slnh-banner__text { position: relative; max-width: 600px; padding: 34px 40px; }
.slnh-banner__eyebrow { font-size: .8125rem; letter-spacing: .08em; opacity: .85; }
.slnh-banner h2 { margin-top: 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.slnh-banner__text > p:not(.slnh-banner__eyebrow) { margin-top: 10px; font-size: 1rem; line-height: 1.65; opacity: .95; }
.slnh-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 18px; padding: 0 24px; border-radius: 999px; background: #fff; color: var(--slnh-green) !important; font-weight: 700; font-size: .9375rem; }
.slnh-btn .slnh-ico { width: 16px; height: 16px; }
.slnh-btn:hover { background: var(--slnh-tint); }
.slnh-btn--ghost { border: 1.5px solid var(--slnh-line); background: #fff; }
.slnh-btn--ghost:hover { border-color: var(--slnh-green); }

/* 최신 글·데이터 안내 */
.slnh-split--latest { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); margin-top: 38px; }
.slnh-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.slnh-post a { display: block; }
.slnh-post img, .slnh-post__ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--slnh-tint); }
.slnh-post__ph { display: flex; align-items: center; justify-content: center; color: #6f9585; }
.slnh-post strong { display: block; margin-top: 10px; font-size: .9375rem; line-height: 1.5; }
.slnh-post a:hover strong { color: var(--slnh-green); text-decoration: underline; }
.slnh-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; color: var(--slnh-sub); font-size: .8125rem; }
.slnh-stats { align-self: start; padding: 22px; background: var(--slnh-bg); border-radius: 18px; }
.slnh-stats h2 { font-size: 1.1875rem; }
.slnh-stats > p { margin-top: 6px; color: var(--slnh-sub); font-size: .875rem; line-height: 1.55; }
.slnh-stats ul { margin-top: 14px; padding: 4px 16px; background: #fff; border-radius: 12px; }
.slnh-stats li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--slnh-line); }
.slnh-stats li:last-child { border-bottom: 0; }
.slnh-stats li strong { min-width: 3.4rem; color: var(--slnh-green); font-size: 1.75rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.slnh-stats li span { font-size: .9375rem; line-height: 1.4; }
.slnh-stats .slnh-btn { margin-top: 14px; width: 100%; justify-content: center; text-align: center; }

/* 약속·푸터 */
.slnh-promises { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 36px; max-width: var(--slnh-max); margin: 0 auto; padding: 48px 32px 44px; }
.slnh-promises h2 { font-size: 1.1875rem; }
.slnh-promises ul { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.slnh-promises li { display: flex; align-items: center; gap: 12px; }
.slnh-promises li > span:last-child { display: flex; flex-direction: column; font-size: .9375rem; line-height: 1.4; }
.slnh-promises small { color: var(--slnh-sub); font-size: .8125rem; }
.slnh-promise__ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--slnh-tint); color: var(--slnh-green); }
.slnh-closing { color: var(--slnh-sub); font-size: 1rem; line-height: 1.6; max-width: 260px; }
.slnh-closing small { display: block; margin-top: 4px; font-size: .8125rem; }
.slnh-footer { border-top: 1px solid var(--slnh-line); background: var(--slnh-tint); color: #294258; }
.slnh-footer__in { max-width: var(--slnh-max); margin: 0 auto; padding: 22px 32px 26px; }
.slnh-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 8px 0; }
.slnh-footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--slnh-green); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.slnh-footer p { font-size: .875rem; line-height: 1.65; color: var(--slnh-sub); }

/* 태블릿 */
@media (max-width: 1100px) {
  .slnh-quick ul { grid-template-columns: repeat(3, 1fr); }
  .slnh-split, .slnh-split--latest { grid-template-columns: 1fr; }
  .slnh-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slnh-promises { grid-template-columns: 1fr; }
  .slnh-promises ul { grid-row: auto; }
  .slnh-promises ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slnh-nav a { padding: 0 8px; font-size: .9375rem; }
}

/* 모바일·메뉴 접기 */
@media (max-width: 900px) {
  .slnh-header__in { padding: 10px 16px; gap: 10px; }
  .slnh-logo small { display: none; }
  .slnh-menubtn { display: inline-flex; }
  .slnh-compare > span:first-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .slnh-compare { padding: 0 14px; }
  .slnh-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--slnh-line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
  .slnh-nav.is-open { display: block; }
  .slnh-nav ul { flex-direction: column; gap: 0; padding: 6px 16px 12px; }
  .slnh-nav a { width: 100%; min-height: 52px; border-bottom: 1px solid var(--slnh-line); }
}
@media (max-width: 760px) {
  body.slnh-body { font-size: 1rem; }
  .slnh-hero { display: flex; flex-direction: column; }
  .slnh-hero__in { order: 1; min-height: 0; padding: 32px 16px 20px; }
  .slnh-hero__media { position: relative; order: 2; inset: auto; width: auto; margin: 0 16px; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; -webkit-mask-image: none; mask-image: none; }
  .slnh-hero h1 { font-size: 2rem; }
  .slnh-lead { font-size: 1rem; }
  .slnh-search__box { padding-left: 14px; }
  .slnh-search__box > .slnh-ico { display: none; }
  .slnh-search button { padding: 0 20px; }
  .slnh-panel { margin: -24px 8px 0; padding: 20px 14px 28px; border-radius: 22px; }
  .slnh-quick ul { grid-template-columns: repeat(2, 1fr); }
  .slnh-quick li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .slnh-quick__item { min-height: 112px; padding: 16px 14px; }
  .slnh-cards { grid-template-columns: 1fr; }
  .slnh-card__ph { height: 96px; }
  .slnh-banner { flex-direction: column; align-items: stretch; min-height: 0; }
  .slnh-banner img { position: relative; width: 100%; height: 150px; inset: auto; order: 2; -webkit-mask-image: none; mask-image: none; }
  .slnh-banner__text { padding: 26px 20px 22px; order: 1; }
  .slnh-promises { padding: 36px 16px 32px; }
  .slnh-promises ul { grid-template-columns: 1fr; }
  .slnh-footer__in { padding: 20px 16px 24px; }
}
@media (max-width: 380px) {
  .slnh-quick ul { grid-template-columns: 1fr; }
  .slnh-posts { grid-template-columns: 1fr; }
  .slnh-logo strong { font-size: 1.1875rem; }
}
@media (prefers-reduced-motion: reduce) { .slnh-body * { transition: none !important; animation: none !important; } }
@media (max-width: 760px) {
  .slnh-logo strong { white-space: nowrap; }
  .slnh-logo__mark { width: 34px; height: 34px; }
  .slnh-quick__item { flex-direction: column; gap: 8px; }
  .slnh-ico--lg { width: 32px; height: 32px; }
}
@media (max-width: 760px) {
  .slnh-quick__item { padding-bottom: 14px; }
  .slnh-quick__go { position: static; margin-top: auto; }
}
@media (max-width: 480px) {
  .slnh-header__in { gap: 6px; padding: 8px 12px; }
  .slnh-tools { gap: 4px; }
  .slnh-tools > .slnh-iconbtn:not(.slnh-menubtn) { display: none; }
  .slnh-logo strong { font-size: 1.125rem; }
  .slnh-logo__mark { width: 30px; height: 30px; }
}
