/* 홈 (src/app/(site)/page.tsx · _home/HomeFinder.tsx). Mobbin 레퍼런스 명세(2026-12-02) — 주색 로고 파랑 하나.
   루트 레이아웃에서 style.css · home.css · nav.css 다음에 읽는다. 모든 규칙은 .hm 아래로 묶어
   style.css 의 button · input · a 전역 규칙(파랑 사각 단추, a:hover 밑줄 등)을 읽는 순서와 상관없이 이긴다. */

.hm{
  --blue:#4657C4; --blue-d:#2B3686; --blue-l:#E7E9FF; --blue-xl:#F5F6FE;
  --ink:#1F2937; --ink-soft:#4B5563; --mut:#8A97A6; --line:#DEDFE5; --line-soft:#EEF2F7;
  --band:#F7F8FB; --chip:#F3F4F6; --peach-l:#FFF1E6;
  --shadow-sm:0 2px 8px rgba(31,41,55,.06); --shadow-hover:0 6px 20px rgba(31,41,55,.08);
  --ring:0 0 0 4px rgba(70,87,196,.15);
  background:#fff;color:var(--ink);font-size:16px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere;
}
html:has(.hm) body{background:#fff}

/* ---- 전역 규칙 되돌리기 (style.css: button · .btn · a:hover · input:focus) ---- */
.hm button{font:inherit;line-height:1.2;margin:0;border:0;border-radius:0;background:none;color:inherit;padding:0;cursor:pointer;
  -webkit-appearance:none;appearance:none}
.hm button:hover{background:none;border:0}
.hm label{display:inline;border:0;padding:0;margin:0;font:inherit;color:inherit}
.hm input{font:inherit;margin:0}
.hm a,.hm a:hover{text-decoration:none}
.hm :is(a,button):focus{outline:none}
.hm :is(a,button):focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.hm h1,.hm h2,.hm h3{margin:0;color:var(--ink);letter-spacing:-.02em}
.hm p{margin:0}
.hm ul,.hm ol{list-style:none;margin:0;padding:0}
.hm svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* 틀: 머리말 · 푸터와 같은 폭 · 좌우 여백 */
.hm .hm-in{width:100%;max-width:calc(var(--container) + var(--gutter) * 2);margin:0 auto;padding:0 var(--gutter)}
.hm .hm-sec{padding:88px 0}
.hm .hm-sec.hm-band{background:var(--band)}
/* 푸터도 --band 라서 마지막 띠와 가는 선으로 나눈다 */
html:has(.hm) .site-foot{border-top:1px solid #E6E8EF}
.hm .hm-title{font-size:26px;font-weight:700;line-height:1.35;margin-bottom:24px}
.hm .hm-arrow{width:16px;height:16px;flex:none;transition:transform .18s ease}

/* 단추 (알약) */
.hm .hm-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border-radius:999px;
  font-size:15px;font-weight:600;line-height:1;white-space:nowrap;transition:background-color .18s ease,color .18s ease,border-color .18s ease}
.hm .hm-btn.fill{background:var(--blue);color:#fff;border:1px solid var(--blue)}
.hm .hm-btn.fill:hover{background:var(--blue-d);border-color:var(--blue-d);color:#fff}
.hm .hm-btn.line{background:#fff;color:var(--blue);border:1px solid var(--blue)}
.hm .hm-btn.line:hover{background:var(--blue-l);color:var(--blue-d)}
.hm .hm-btn.sm{height:40px;padding:0 18px;font-size:14px}
/* 글자 링크 (보조 동작) */
.hm .hm-link{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:var(--blue);
  text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:color .18s ease,text-decoration-color .18s ease}
.hm .hm-link:hover{color:var(--blue-d);text-decoration:underline;text-decoration-color:currentColor}

/* ---------- ① 상황 찾기 ---------- */
.hm .hm-hero{background:var(--blue-xl);padding:64px 0 48px;text-align:center}
.hm .hm-hero h1{font-size:36px;font-weight:700;line-height:1.3}
.hm .hm-lead{margin-top:12px;font-size:16px;color:var(--ink-soft)}

.hm .hm-search{position:relative;display:flex;align-items:center;width:640px;max-width:100%;height:60px;margin:32px auto 0;
  padding:0 8px 0 20px;background:#fff;border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow-sm);
  transition:border-color .18s ease,box-shadow .18s ease}
.hm .hm-search:hover{border-color:#C9CCDA}
.hm .hm-search:focus-within{border-color:var(--blue);box-shadow:var(--shadow-sm),var(--ring)}
.hm .hm-search-ic{width:20px;height:20px;flex:none;color:var(--mut)}
.hm .hm-search input{flex:1;min-width:0;height:100%;padding:0 12px;border:0;outline:0;background:transparent;border-radius:0;
  font-size:17px;color:var(--ink);-webkit-appearance:none;appearance:none}
.hm .hm-search input:focus{border:0;outline:0}
.hm .hm-search input::placeholder{color:var(--mut)}
.hm .hm-search input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.hm .hm-search .hm-clear{flex:none;display:grid;place-items:center;width:32px;height:32px;margin-right:6px;border-radius:50%;color:var(--mut)}
.hm .hm-search .hm-clear:hover{background:var(--chip);color:var(--ink)}
.hm .hm-search .hm-clear svg{width:16px;height:16px}
.hm .hm-search .hm-go{flex:none;display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 20px 0 16px;border-radius:999px;
  background:var(--blue);color:#fff;font-size:15px;font-weight:600;transition:background-color .18s ease}
.hm .hm-search .hm-go:hover{background:var(--blue-d);color:#fff}
.hm .hm-search .hm-go svg{width:18px;height:18px;stroke-width:2.2}

.hm .hm-suggest{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:640px;margin:20px auto 0}
.hm .hm-suggest button{height:32px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.85);box-shadow:inset 0 0 0 1px var(--line-soft);color:var(--ink-soft);
  font-size:14px;font-weight:500;white-space:nowrap;transition:background-color .18s ease,color .18s ease}
.hm .hm-suggest button:hover{background:var(--blue-l);color:var(--blue)}
.hm .hm-suggest button.on{background:var(--blue);color:#fff}
.hm .hm-suggest button.on:hover{background:var(--blue-d);color:#fff}

/* ---------- ② 자주 찾는 상황 ---------- */
.hm .hm-list{padding-top:64px;scroll-margin-top:-40px}
.hm .hm-sub{margin-top:6px;font-size:15px;color:var(--ink-soft)}
.hm .hm-sub b{color:var(--ink)}
.hm .hm-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.hm .hm-head h2{font-size:26px;font-weight:700;line-height:1.35}
.hm .hm-head h2 em{font-style:normal;color:var(--blue)}
.hm .hm-more{flex:none;display:inline-flex;align-items:center;gap:4px;font-size:15px;font-weight:500;color:var(--blue)}
.hm .hm-more:hover{color:var(--blue-d)}
.hm .hm-more:hover .hm-arrow{transform:translateX(3px)}
.hm .hm-more.sm{font-size:14px}

.hm .hm-lc{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.hm .hm-lc button{height:40px;padding:0 18px;border-radius:999px;background:var(--chip);color:var(--ink-soft);
  font-size:15px;font-weight:500;white-space:nowrap;transition:background-color .18s ease,color .18s ease}
.hm .hm-lc button:hover{background:var(--blue-l);color:var(--blue)}
.hm .hm-lc button.on{background:var(--blue);color:#fff}
.hm .hm-lc button.on:hover{background:var(--blue-d);color:#fff}

.hm .hm-note{margin-top:16px;font-size:14px;color:var(--ink-soft)}

.hm .hm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.hm .hm-cards a{display:flex;flex-direction:column;height:100%;padding:20px 24px;background:#fff;border:1px solid var(--line-soft);
  border-radius:16px;color:var(--ink);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.hm .hm-cards a:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.hm .hm-cards .cat{font-size:13px;font-weight:600;line-height:1.4;color:var(--blue)}
.hm .hm-cards .t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:8px 0 16px;
  font-size:17px;font-weight:600;line-height:1.5;color:var(--ink)}
.hm .hm-cards .go{display:inline-flex;align-items:center;gap:4px;margin-top:auto;font-size:14px;font-weight:500;color:var(--ink-soft);transition:color .18s ease}
.hm .hm-cards a:hover .go{color:var(--blue)}
.hm .hm-cards a:hover .hm-arrow{transform:translateX(3px)}

.hm .hm-empty{margin-top:24px;padding:48px 24px;border-radius:16px;background:var(--band);text-align:center}
.hm .hm-empty .t{font-size:18px;font-weight:700;color:var(--ink)}
.hm .hm-empty p + p{margin-top:6px;font-size:15px;color:var(--ink-soft)}
.hm .hm-empty .hm-btn{margin-top:20px}


/* ---------- ① 「?」 솔루션 화면 안내 ---------- */
.hm .hm-help{flex:none;display:grid;place-items:center;width:36px;height:36px;margin-right:6px;border-radius:50%;color:var(--mut);
  transition:background-color .18s ease,color .18s ease}
.hm .hm-help svg{width:22px;height:22px;stroke-width:1.8}
.hm .hm-help:hover,.hm .hm-help.on{background:var(--blue-l);color:var(--blue)}
.hm .hm-guide{position:absolute;z-index:30;top:calc(100% + 12px);right:0;width:400px;max-width:100%;padding:18px 20px 12px;
  background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 32px rgba(31,41,55,.14);text-align:left;
  animation:hm-pop .16s ease-out}
.hm .hm-guide[hidden]{display:none}
/* 꼬리: 「?」 단추 쪽 (찾기 단추 폭 + 여백만큼 오른쪽에서) */
.hm .hm-guide::before{content:"";position:absolute;top:-7px;right:117px;width:12px;height:12px;background:#fff;
  border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}
.hm .hm-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.hm .hm-guide-head .t{font-size:16px;font-weight:700;line-height:1.4;color:var(--ink)}
.hm .hm-guide-head .x{flex:none;display:grid;place-items:center;width:32px;height:32px;margin-right:-6px;border-radius:50%;color:var(--mut)}
.hm .hm-guide-head .x:hover{background:var(--chip);color:var(--ink)}
.hm .hm-guide-head .x svg{width:16px;height:16px}
.hm .hm-guide li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:center;padding:12px 0}
.hm .hm-guide li + li{border-top:1px solid var(--line-soft)}
.hm .hm-guide .ic{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--blue-l)}
.hm .hm-guide .ic img{width:30px;height:30px;object-fit:contain}
.hm .hm-guide .ic b{position:absolute;top:-3px;left:-3px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;
  background:var(--blue);color:#fff;font-size:11px;font-weight:700;line-height:1;box-shadow:0 0 0 2px #fff}
.hm .hm-guide .tx{display:flex;flex-direction:column;min-width:0}
.hm .hm-guide .tx b{font-size:15px;font-weight:700;line-height:1.45;color:var(--ink)}
.hm .hm-guide .tx > span{font-size:14px;line-height:1.5;color:var(--ink-soft)}
@keyframes hm-pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* ---------- ③ 좋은 부모 되기 과정 ---------- */
.hm .hm-course .hm-head{align-items:flex-end}
.hm .hm-nav{flex:none;display:flex;gap:8px}
.hm .hm-nav button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--line);
  color:var(--ink);transition:border-color .18s ease,background-color .18s ease,color .18s ease}
.hm .hm-nav button:hover:not(:disabled){border:1px solid var(--blue);background:#fff;color:var(--blue)}
.hm .hm-nav button:disabled{opacity:.4;cursor:default}
.hm .hm-nav svg{width:20px;height:20px}

.hm .hm-stepper{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:28px}
.hm .hm-stepper li{position:relative}
.hm .hm-stepper li:not(:last-child)::after{content:"";position:absolute;top:17px;left:calc(50% + 26px);right:calc(-50% + 26px);height:2px;
  border-radius:2px;background:var(--line)}
.hm .hm-stepper li.done:not(:last-child)::after{background:var(--blue)}
.hm .hm-stepper button{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;padding:0 4px 4px;border-radius:12px;text-align:center}
.hm .hm-stepper .dot{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--line);
  color:var(--mut);font-size:15px;font-weight:700;line-height:1;transition:border-color .18s ease,box-shadow .18s ease,color .18s ease}
.hm .hm-stepper .dot svg{width:18px;height:18px;stroke-width:2.6}
.hm .hm-stepper .done .dot{background:var(--blue);border-color:var(--blue);color:#fff}
.hm .hm-stepper .current .dot{border:2px solid var(--blue);color:var(--blue)}
.hm .hm-stepper .nm{font-size:14px;font-weight:500;line-height:1.4;color:var(--ink-soft);transition:color .18s ease}
.hm .hm-stepper button:hover .dot{border-color:var(--blue);color:var(--blue)}
.hm .hm-stepper .done button:hover .dot{color:#fff}
.hm .hm-stepper button:hover .nm{color:var(--blue)}
.hm .hm-stepper .act .dot{box-shadow:var(--ring);border-color:var(--blue)}
.hm .hm-stepper .act:not(.done) .dot{color:var(--blue)}
.hm .hm-stepper .act .nm{font-weight:700;color:var(--ink)}

/* 가로 스냅 캐러셀: 넓은 화면 2장 */
.hm .hm-slides{display:flex;gap:24px;margin-top:24px;padding:4px 0 16px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scrollbar-width:none}
.hm .hm-slides::-webkit-scrollbar{display:none}
.hm .hm-slides > li{flex:0 0 calc((100% - 24px) / 2);min-width:0;scroll-snap-align:start}
.hm .hm-step{display:grid;grid-template-columns:40% 60%;height:100%;min-height:264px;background:#fff;border:1px solid var(--line);
  border-radius:20px;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}
.hm .hm-step:hover{border-color:var(--blue);box-shadow:var(--shadow-hover)}
.hm .hm-slides > li.act .hm-step{border-color:#B7BEEA}
.hm .hm-slides > li.act .hm-step:hover{border-color:var(--blue)}
.hm .hm-step .pic{display:flex;align-items:flex-end;justify-content:center;padding:20px 12px 0;background:var(--blue-l)}
.hm .hm-step .pic img{display:block;width:100%;max-height:210px;object-fit:contain;object-position:center bottom}
.hm .hm-step .body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:28px}
.hm .hm-step .lb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;font-weight:600;line-height:1.4;color:var(--blue)}
.hm .hm-step .st{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:600}
.hm .hm-step .st.done{background:var(--blue);color:#fff}
.hm .hm-step .st.current{background:var(--blue-l);color:var(--blue-d)}
.hm .hm-step h3{margin:6px 0 8px;font-size:21px;font-weight:700;line-height:1.35}
.hm .hm-step .d{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px;line-height:1.6;color:var(--ink-soft)}
.hm .hm-step .meta{margin-top:8px;font-size:13px;line-height:1.5;color:var(--mut)}
.hm .hm-step .acts{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin-top:auto;padding-top:20px}

/* ---------- ④ 이런 때는 이렇게 ---------- */
.hm .hm-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.hm .hm-tips .kind{align-self:flex-start;display:inline-flex;align-items:center;height:24px;margin-bottom:10px;padding:0 10px;border-radius:999px;background:var(--blue-l);color:var(--blue-d);font-size:12px;font-weight:600;line-height:1}
.hm .hm-tips .kind.qna{background:var(--chip);color:var(--ink-soft)}
.hm .hm-tips a{display:flex;flex-direction:column;height:100%;padding:22px 24px;background:#fff;border:1px solid var(--line-soft);border-radius:16px;
  color:var(--ink);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.hm .hm-tips a:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.hm .hm-tips .t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:17px;font-weight:700;line-height:1.45;transition:color .18s ease}
.hm .hm-tips a:hover .t{color:var(--blue)}
.hm .hm-tips .d{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:8px 0 18px;font-size:15px;line-height:1.6;color:var(--ink-soft)}
.hm .hm-tips .by{display:flex;align-items:center;gap:10px;margin-top:auto;min-width:0}
.hm .hm-tips .by img,.hm .hm-tips .by .av{flex:none;width:36px;height:36px;border-radius:50%;object-fit:cover;background:var(--blue-l)}
.hm .hm-tips .by > span:last-child{display:flex;flex-direction:column;min-width:0}
.hm .hm-tips .by b{font-size:14px;font-weight:600;line-height:1.35}
.hm .hm-tips .by small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.35;color:var(--mut)}

.hm .badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:var(--blue-l);color:var(--blue-d);
  font-size:12px;font-weight:600;line-height:1;white-space:nowrap}

/* ---------- ⑤ 부모되기 준비 읽을거리 ---------- */
.hm .hm-arts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}
.hm .hm-arts a{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line-soft);border-radius:16px;overflow:hidden;
  color:var(--ink);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.hm .hm-arts a:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.hm .hm-arts .pic{display:flex;align-items:flex-end;justify-content:center;height:168px;padding-top:16px;background:var(--blue-xl)}
.hm .hm-arts .pic img{height:100%;width:auto;aspect-ratio:4/3;max-width:80%;object-fit:contain;object-position:center bottom}
.hm .hm-arts .body{display:flex;flex-direction:column;gap:6px;padding:20px 22px 24px}
.hm .hm-arts .t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:17px;font-weight:700;line-height:1.45;transition:color .18s ease}
.hm .hm-arts a:hover .t{color:var(--blue)}
.hm .hm-arts .d{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.6;color:var(--ink-soft)}

/* ---------- ⑥ 학습자료실 ---------- */
.hm .hm-res{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
.hm .hm-res a{display:grid;grid-template-columns:48px minmax(0,1fr) 16px;gap:16px;align-items:center;height:100%;padding:20px 24px;background:#fff;
  border:1px solid var(--line-soft);border-radius:16px;color:var(--ink);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.hm .hm-res a:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.hm .hm-res .ic{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--blue-l);color:var(--blue)}
.hm .hm-res .ic svg{width:24px;height:24px;stroke-width:1.8}
.hm .hm-res .tx{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.hm .hm-res .badge{background:var(--chip);color:var(--ink-soft)}
.hm .hm-res .t{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:700;line-height:1.45;transition:color .18s ease}
.hm .hm-res .d{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.55;color:var(--ink-soft)}
.hm .hm-res .hm-arrow{color:var(--mut)}
.hm .hm-res a:hover .t,.hm .hm-res a:hover .hm-arrow{color:var(--blue)}
.hm .hm-res a:hover .hm-arrow{transform:translateX(3px)}

/* ---------- ⑦ 함께하기 ---------- */
.hm .hm-together{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.hm .hm-big{display:flex;flex-direction:column;min-width:0;padding:28px 32px;border:1px solid var(--line-soft);border-radius:20px;background:#fff}
.hm .hm-big .top{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:16px;align-items:start}
.hm .hm-big h3{font-size:22px;font-weight:700;line-height:1.35}
.hm .hm-big .top p{margin-top:6px;font-size:15px;color:var(--ink-soft)}
.hm .hm-big .pic{display:block;width:112px;height:96px;object-fit:contain;object-position:right top}
.hm .hm-big .acts{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin-top:auto;padding-top:20px}
.hm .hm-big-h{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.hm .hm-big-h p{margin-top:6px;font-size:15px;color:var(--ink-soft)}
.hm .hm-big-h .hm-more{margin-top:6px}
/* 두 카드 높이가 같고, 안의 목록이 남는 높이를 나눠 가득 채운다 */
.hm .hm-experts{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:12px;margin-top:20px}
.hm .hm-experts a{display:flex;flex-direction:column;justify-content:center;gap:14px;height:100%;padding:20px;border:1px solid var(--line-soft);
  border-radius:14px;background:#fff;color:var(--ink);transition:border-color .18s ease,background-color .18s ease}
.hm .hm-experts a:hover{border-color:var(--blue);background:var(--blue-xl)}
.hm .hm-experts img{flex:none;width:64px;height:64px;border-radius:50%;object-fit:cover;background:var(--blue-l)}
.hm .hm-experts .tx{display:flex;flex-direction:column;min-width:0}
.hm .hm-experts b{font-size:16px;font-weight:700;line-height:1.4;transition:color .18s ease}
.hm .hm-experts a:hover b{color:var(--blue)}
.hm .hm-experts .f{font-size:13px;font-weight:500;line-height:1.45;color:var(--blue)}
.hm .hm-experts small{margin-top:4px;font-size:13px;line-height:1.5;color:var(--mut)}

.hm .hm-meets{flex:1;display:flex;flex-direction:column;margin-top:12px}
.hm .hm-meets li{flex:1;display:flex}
.hm .hm-meets li + li{border-top:1px solid var(--line-soft)}
.hm .hm-meets a{flex:1;display:grid;grid-template-columns:60px minmax(0,1fr) 16px;gap:16px;align-items:center;padding:12px 0;color:var(--ink)}
.hm .hm-meets .hm-arrow{color:var(--mut)}
.hm .hm-meets a:hover .hm-arrow{color:var(--blue);transform:translateX(3px)}
.hm .hm-meets .date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:60px;height:68px;border-radius:14px;
  background:var(--blue-xl);line-height:1.1;transition:background-color .18s ease}
.hm .hm-meets .date small{font-size:12px;font-weight:600;color:var(--blue)}
.hm .hm-meets .date b{margin-top:2px;font-size:22px;font-weight:700;color:var(--ink)}
.hm .hm-meets .date i{margin-top:3px;font-size:11px;font-style:normal;color:var(--mut)}
.hm .hm-meets .tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.hm .hm-meets .t{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:600;line-height:1.5;transition:color .18s ease}
.hm .hm-meets .m{display:flex;flex-wrap:wrap;gap:0 10px;font-size:13px;line-height:1.5;color:var(--mut)}
.hm .hm-meets a:hover .t{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.hm .hm-meets a:hover .date{background:var(--blue-l)}
.hm .hm-regions{display:grid;grid-template-columns:repeat(3,minmax(0,max-content));column-gap:28px;margin-top:16px;line-height:32px}
.hm .hm-regions a{font-size:15px;font-weight:500;color:var(--ink);white-space:nowrap}
.hm .hm-regions a small{margin-left:4px;font-size:13px;font-weight:400;color:var(--mut)}
.hm .hm-regions a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px}

.hm .hm-news{margin-top:40px}
.hm .hm-news-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.hm .hm-news-h h3{font-size:18px;font-weight:700;line-height:1.4}
.hm .hm-news ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}
.hm .hm-news li a{display:flex;flex-direction:column;height:100%;padding:20px 22px;background:#fff;border:1px solid var(--line-soft);border-radius:16px;
  color:var(--ink);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.hm .hm-news li a:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.hm .hm-news .m{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;color:var(--mut)}
.hm .hm-news .badge.review{background:var(--chip);color:var(--ink-soft)}
.hm .hm-news .t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:10px 0 12px;font-size:16px;font-weight:600;line-height:1.5;transition:color .18s ease}
.hm .hm-news li a:hover .t{color:var(--blue)}
.hm .hm-news time{margin-top:auto;font-size:13px;color:var(--mut)}

/* ---------- 반응형 ---------- */
@media (max-width:1024px){
  .hm .hm-tips{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm .hm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm .hm-step{grid-template-columns:36% 64%}
  .hm .hm-step .body{padding:24px}
  .hm .hm-regions{grid-template-columns:repeat(2,minmax(0,max-content))}
}
@media (max-width:900px){
  /* 캐러셀: 한 장 + 다음 카드 살짝, 틀 여백까지 넓혀 손가락으로 넘기게 */
  .hm .hm-slides{gap:16px;margin-left:calc(var(--gutter) * -1);margin-right:calc(var(--gutter) * -1);padding-left:var(--gutter);
    padding-right:var(--gutter);scroll-padding:0 var(--gutter)}
  .hm .hm-slides > li{flex-basis:86%}
  .hm .hm-arts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm .hm-together{grid-template-columns:minmax(0,1fr)}
  .hm .hm-news ul{grid-template-columns:minmax(0,1fr)}
  .hm .hm-news li a{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center;padding:16px 20px}
  .hm .hm-news .t{grid-column:1;margin:6px 0 0;-webkit-line-clamp:1}
  .hm .hm-news time{grid-column:2;grid-row:1 / span 2;margin:0}
}
@media (max-width:640px){
  .hm{font-size:15px}
  .hm .hm-sec{padding:56px 0}
  .hm .hm-title,.hm .hm-head h2{font-size:22px}
  .hm .hm-list{padding-top:40px}
  .hm .hm-sub{font-size:14px}

  .hm .hm-hero{padding:40px 0 32px}
  .hm .hm-hero h1{font-size:26px}
  .hm .hm-lead{margin-top:8px;font-size:15px}
  .hm .hm-search{height:52px;margin-top:24px;padding:0 6px 0 16px}
  .hm .hm-search input{font-size:16px;padding:0 10px}
  .hm .hm-search .hm-clear{margin-right:2px}
  .hm .hm-help{margin-right:4px}
  .hm .hm-search .hm-go{width:40px;height:40px;padding:0;justify-content:center}
  .hm .hm-search .hm-go span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  /* 「?」 안내: 검색창 아래 전체 폭 판 */
  .hm .hm-guide{left:0;right:0;width:auto;top:calc(100% + 10px)}
  .hm .hm-guide::before{right:61px}
  /* 추천어 · 생애주기 칩: 잘리지 않게 여러 줄로 감싸고, 모바일에서는 조금 작게 (누를 자리는 36px 이상) */
  .hm .hm-suggest,.hm .hm-lc{flex-wrap:wrap;overflow:visible}
  .hm .hm-suggest{justify-content:center;gap:6px;margin-top:16px}
  .hm .hm-suggest button{height:32px;padding:0 12px;font-size:13px}
  .hm .hm-lc{gap:6px;margin-top:18px}
  .hm .hm-lc button{height:36px;padding:0 14px;font-size:14px}

  .hm .hm-cards{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:20px}
  .hm .hm-cards a{padding:18px 20px}
  .hm .hm-cards .t{-webkit-line-clamp:3}

  .hm .hm-nav{display:none}
  .hm .hm-stepper{margin-top:24px}
  .hm .hm-stepper li:not(:last-child)::after{left:calc(50% + 20px);right:calc(-50% + 20px)}
  .hm .hm-stepper button{padding:0 2px 4px;gap:6px}
  .hm .hm-stepper .nm{font-size:12px}
  .hm .hm-slides{margin-top:20px}
  .hm .hm-slides > li{flex-basis:88%}
  .hm .hm-step{grid-template-columns:minmax(0,1fr);grid-template-rows:150px auto;min-height:0}
  .hm .hm-step .pic{padding:14px 16px 0}
  .hm .hm-step .pic img{width:auto;max-width:80%;height:100%;max-height:none}
  .hm .hm-step .body{padding:20px 20px 16px}
  .hm .hm-step h3{font-size:19px}
  .hm .hm-step .acts{padding-top:16px}

  .hm .hm-tips{grid-template-columns:minmax(0,1fr);gap:12px}
  .hm .hm-tips a{padding:20px}

  /* 읽을거리: 한 줄 가로 넘기기 */
  .hm .hm-arts{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
    margin-left:calc(var(--gutter) * -1);margin-right:calc(var(--gutter) * -1);padding:4px var(--gutter) 12px;scroll-padding:0 var(--gutter)}
  .hm .hm-arts::-webkit-scrollbar{display:none}
  .hm .hm-arts > li{flex:0 0 78%;scroll-snap-align:start}
  .hm .hm-arts .pic{height:140px}
  .hm .hm-arts .body{padding:16px 18px 20px}

  .hm .hm-res{grid-template-columns:minmax(0,1fr);gap:12px}
  .hm .hm-res a{grid-template-columns:40px minmax(0,1fr) 16px;gap:14px;padding:16px 18px}
  .hm .hm-res .ic{width:40px;height:40px;border-radius:12px}
  .hm .hm-res .ic svg{width:20px;height:20px}

  .hm .hm-big{padding:22px 20px 18px}
  .hm .hm-big h3{font-size:20px}
  .hm .hm-big .top{grid-template-columns:minmax(0,1fr) 80px}
  .hm .hm-big .pic{width:80px;height:72px}
  .hm .hm-news{margin-top:32px}
}
@media (max-width:400px){
  .hm .hm-experts{grid-template-columns:minmax(0,1fr)}
  .hm .hm-experts a{flex-direction:row;align-items:center;justify-content:flex-start;padding:14px}
  .hm .hm-experts img{width:52px;height:52px}
  .hm .hm-big .top{grid-template-columns:minmax(0,1fr)}
  .hm .hm-big .pic{display:none}
}

/* ---------- 배경 장식 (2026-12-02 3차) ---------- */
.hm .hm-sec{position:relative}
.hm .hm-sec > .hm-in{position:relative;z-index:1}

/* ① 첫 화면: 옅은 파랑 + 빛 번짐 + 점 무늬, 양옆 그림 */
.hm .hm-hero{position:relative;z-index:2;isolation:isolate;padding:80px 0 72px;
  background:
    radial-gradient(ellipse 60% 70% at 12% 0%,rgba(70,87,196,.13),transparent 70%),
    radial-gradient(ellipse 50% 60% at 92% 10%,rgba(255,186,140,.20),transparent 70%),
    linear-gradient(180deg,#F1F3FE 0%,#F7F8FE 100%)}
.hm .hm-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(rgba(70,87,196,.16) 1.2px,transparent 1.6px);background-size:22px 22px;
  -webkit-mask-image:radial-gradient(ellipse 55% 75% at 50% 45%,#000 0%,transparent 75%);mask-image:radial-gradient(ellipse 55% 75% at 50% 45%,#000 0%,transparent 75%)}
.hm .hm-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:28px;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(70,87,196,.05))}
.hm .hm-hero .hm-in{position:relative;z-index:2}
.hm .hm-hero-art{position:absolute;bottom:0;z-index:1;height:268px;width:auto;pointer-events:none;user-select:none}
.hm .hm-hero-art.l{left:max(20px,calc(50% - 640px))}
.hm .hm-hero-art.r{right:max(20px,calc(50% - 640px))}

/* 띠 구역: 모서리에 큰 빛 번짐 둘 */
.hm .hm-sec.hm-band{overflow:hidden;overflow:clip;isolation:isolate}
.hm .hm-sec.hm-band::before,.hm .hm-sec.hm-band::after{content:"";position:absolute;z-index:0;border-radius:50%;pointer-events:none;filter:blur(8px)}
.hm .hm-sec.hm-band::before{width:520px;height:520px;top:-260px;right:-140px;background:radial-gradient(circle,rgba(70,87,196,.12),transparent 68%)}
.hm .hm-sec.hm-band::after{width:440px;height:440px;bottom:-240px;left:-140px;background:radial-gradient(circle,rgba(255,186,140,.16),transparent 68%)}

/* 흰 구역: 오른쪽 위 점 무늬 한 조각 */
.hm .hm-sec:not(.hm-band):not(.hm-list)::before{content:"";position:absolute;top:40px;right:max(12px,calc(50% - 720px));width:180px;height:120px;z-index:0;
  pointer-events:none;background-image:radial-gradient(rgba(70,87,196,.22) 1.2px,transparent 1.6px);background-size:16px 16px;
  -webkit-mask-image:linear-gradient(225deg,#000 10%,transparent 80%);mask-image:linear-gradient(225deg,#000 10%,transparent 80%)}

/* ⑦ 함께하기: 아래로 갈수록 옅은 파랑, 제목 옆 모임 그림 */
.hm .hm-sec.hm-last{background:linear-gradient(180deg,var(--band) 0%,#EEF0FB 100%)}
.hm .hm-tg-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.hm .hm-tg-head .hm-title{margin-bottom:0}
.hm .hm-tg-head img{flex:none;width:300px;height:auto;margin:-24px 8px -12px 0}

@media (max-width:1100px){
  .hm .hm-hero-art{display:none}
  .hm .hm-hero{padding:64px 0 48px}
}
@media (max-width:640px){
  .hm .hm-hero{padding:40px 0 32px}
  .hm .hm-tg-head img{width:150px;margin:-8px 0 -4px}
  .hm .hm-sec:not(.hm-band):not(.hm-list)::before{display:none}
  .hm .hm-sec.hm-band::before{width:320px;height:320px;top:-160px;right:-120px}
  .hm .hm-sec.hm-band::after{width:280px;height:280px;bottom:-150px;left:-120px}
}
@media (max-width:400px){
  .hm .hm-tg-head img{display:none}
}

@media (prefers-reduced-motion:reduce){
  .hm *,.hm *::before,.hm *::after{transition:none!important;animation:none!important}
  .hm .hm-slides{scroll-behavior:auto}
  .hm :is(.hm-cards,.hm-tips,.hm-arts,.hm-res,.hm-news li) a:hover{transform:none}
  .hm .hm-arrow{transform:none!important}
}

/* 첫 화면: 검색 영역만 화면 가득(제목 · 설명 · 검색창 · 추천 칩을 가운데로), 아래로 「더 둘러보기」. 말로 적기 · 여러 줄은 learn2.css 의 :is(.hm,.lr) */
.hm .hm-hero.full{display:flex;flex-direction:column;justify-content:center;min-height:calc(100svh - var(--topbar-h));padding-top:40px;padding-bottom:96px}
@media (max-width:640px){.hm .hm-hero.full{padding-top:28px;padding-bottom:72px}}

.hm .hm-mine{padding-top:40px;padding-bottom:8px}

/* 첫 화면(.full)을 크게: 제목 · 검색창 · 칩 · 양옆 그림을 키워 화면을 채운다 (2026-12-02) */
@media (min-width:641px){
  .hm .hm-hero.full{padding-top:24px;padding-bottom:88px}
  .hm .hm-hero.full h1{font-size:clamp(40px,4.4vw,64px);letter-spacing:-.02em;line-height:1.2}
  .hm .hm-hero.full .hm-lead{margin-top:18px;font-size:clamp(17px,1.4vw,21px)}
  .hm .hm-hero.full .hm-search{width:min(880px,100%);min-height:78px;margin-top:44px;padding:0 10px 0 26px;box-shadow:0 18px 48px -18px rgba(70,87,196,.35),0 2px 6px rgba(17,24,39,.05)}
  .hm .hm-hero.full .hm-search textarea{height:30px;padding:24px 14px;font-size:20px;line-height:30px}
  .hm .hm-hero.full .hm-search[data-multi="1"]{border-radius:30px;padding-bottom:10px}
  .hm .hm-hero.full .hm-search[data-multi="1"] textarea{padding:20px 14px 8px}
  .hm .hm-hero.full .hm-search[data-multi="1"] > .hm-search-ic{margin-top:26px}
  .hm .hm-hero.full .hm-search-ic{width:24px;height:24px}
  .hm .hm-hero.full .hm-search :is(.vi-mic,.vi-up){width:52px;height:52px}
  .hm .hm-hero.full .hm-search :is(.vi-mic,.vi-up) svg{width:22px;height:22px}
  .hm .hm-hero.full .hm-search .hm-go{height:58px;padding:0 28px 0 22px;font-size:18px}
  .hm .hm-hero.full .hm-search .hm-go svg{width:20px;height:20px}
  .hm .hm-hero.full .hm-suggest{max-width:880px;gap:10px;margin-top:26px}
  .hm .hm-hero.full .hm-suggest button{height:40px;padding:0 20px;font-size:15px}
  .hm .hm-hero.full .hm-hero-art{height:clamp(280px,44svh,460px)}
}
@media (min-width:641px) and (max-height:760px){
  .hm .hm-hero.full .hm-hero-art{height:clamp(220px,36svh,320px)}
}
@media (max-width:640px){
  .hm .hm-hero.full h1{font-size:30px;line-height:1.3}
  .hm .hm-hero.full .hm-lead{font-size:15px}
  .hm .hm-hero.full .hm-search{min-height:58px;margin-top:28px}
  .hm .hm-hero.full .hm-suggest button{height:36px;padding:0 14px;font-size:14px}
}
/* 큰 첫 화면 다듬기: 글 덩어리를 조금 위로, 양옆 그림이 검색창에 닿지 않게. 좁은 화면에도 아래 양 모서리에 그림 */
@media (min-width:641px){
  .hm .hm-hero.full{padding-bottom:150px}
  .hm .hm-hero.full .hm-hero-art{height:clamp(260px,38svh,420px)}
}
@media (max-width:1100px){
  .hm .hm-hero.full .hm-hero-art{display:block;height:clamp(150px,26svh,240px)}
  .hm .hm-hero.full .hm-hero-art.l{left:8px}
  .hm .hm-hero.full .hm-hero-art.r{right:8px}
}
@media (max-width:640px){
  .hm .hm-hero.full{padding-bottom:180px}
  .hm .hm-hero.full .hm-hero-art{height:clamp(130px,22svh,180px)}
  .hm .hm-hero.full .hm-search .hm-help{display:none}
}
@media (min-width:641px){.hm .hm-hero.full .hm-hero-art{height:clamp(240px,34svh,380px)}}
/* 좁은 화면: 비어 있을 때 안내 글이 두 줄로 넘치지 않게 한 줄로 자른다(입력하면 원래대로 줄바꿈) */
.hm .hm-hero.full .hm-search textarea:placeholder-shown{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 양옆 그림 작게 */
@media (min-width:641px){.hm .hm-hero.full .hm-hero-art{height:clamp(190px,25svh,280px)}}
@media (max-width:1100px){.hm .hm-hero.full .hm-hero-art{height:clamp(130px,20svh,190px)}}
@media (max-width:640px){.hm .hm-hero.full .hm-hero-art{height:clamp(110px,17svh,150px)}}

/* 홈 머리말: 첫 화면 그림 위에 투명하게 겹치고, 글자는 진하게. 스크롤하면 흰 바탕 + 흐림 */
body:has(.hm .hm-hero) .topbar{background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);
  transition:background-color .2s ease,border-color .2s ease}
html[data-top] body:has(.hm .hm-hero) .topbar{background:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
body:has(.hm .hm-hero) .gnb-link{color:#1F2937;font-weight:600}
body:has(.hm .hm-hero) .gnb-link:hover{color:#4657C4}
body:has(.hm .hm-hero) .topbar-right .tb-btn.text{color:#1F2937;font-weight:600}
body:has(.hm .hm-hero) .topbar-right .tb-btn.text:hover{background:rgba(70,87,196,.08);color:#4657C4}
.hm .hm-hero{margin-top:calc(-1 * var(--topbar-h));padding-top:calc(80px + var(--topbar-h))}
.hm .hm-hero.full{min-height:100svh;padding-top:calc(40px + var(--topbar-h))}
@media (max-width:1024px){.hm .hm-hero{padding-top:calc(64px + var(--topbar-h))}}
@media (max-width:640px){.hm .hm-hero{padding-top:calc(40px + var(--topbar-h))}.hm .hm-hero.full{padding-top:calc(28px + var(--topbar-h))}}
@media (min-width:641px){.hm .hm-hero.full{padding-top:calc(24px + var(--topbar-h))}}
