/* ══════════════════════════════════════════════════════════
   트이다학원 남악점 — insight.css (article / hub pages)
   Loaded after style.css; reuses its tokens. Static, no JS animation:
   fast, readable pages that search engines and AI answer engines can parse.
   ══════════════════════════════════════════════════════════ */

.insight-page { background: var(--paper); }
.insight-page .site-header { background: var(--paper); border-color: var(--line); }
.insight-page main { padding-top: calc(var(--header-h) + 1.5rem); }

/* breadcrumb */
.crumbs { max-width: 760px; margin: 0 auto; padding: 0 clamp(1.15rem, 5vw, 1.5rem); font-size: .86rem; color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); }

/* article */
.post { max-width: 760px; margin: 0 auto; padding: 1.4rem clamp(1.15rem, 5vw, 1.5rem) 1rem; }
.post-cat { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 800; color: var(--ink-2);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: .35rem .8rem; }
.post-cat i { width: 11px; height: 11px; border-radius: 3px; background: var(--orange); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.post h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 5.4vw, 2.9rem); line-height: 1.22; margin: 1rem 0 .9rem; letter-spacing: -.01em; }
.post .lede { font-size: clamp(1.05rem, 2vw, 1.18rem); line-height: 1.85; color: var(--ink); }
.post-meta { margin-top: 1rem; font-size: .86rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .3rem .9rem; }

.tldr { margin: 2rem 0 2.4rem; background: var(--card); border: 2px solid var(--line); border-left: 6px solid var(--green);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.tldr b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; margin-bottom: .5rem; }
.tldr ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.tldr li { line-height: 1.7; }

.post h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 3.6vw, 1.85rem); line-height: 1.3; margin: 2.6rem 0 .9rem; }
.post h3 { font-size: 1.12rem; font-weight: 800; margin: 1.6rem 0 .5rem; }
.post p { font-size: 1.04rem; line-height: 1.9; margin: 0 0 1rem; }
.post ul.body-list { padding-left: 1.25rem; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.post ul.body-list li { font-size: 1.02rem; line-height: 1.8; }
.post strong { font-weight: 800; }
.post a { color: var(--blue-d); border-bottom: 1px solid currentColor; }
.post figure { margin: 1.6rem 0; }
.post figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); border: 3px solid #fff; box-shadow: var(--shadow-md); }
.post figcaption { margin-top: .5rem; font-size: .88rem; color: var(--ink-2); text-align: center; }

/* fact table */
.facts { margin: 2.6rem 0 0; }
.facts table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: .8rem 1rem; font-size: .97rem; line-height: 1.7; border-bottom: 1px solid var(--line-soft); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 8.5rem; font-weight: 800; color: var(--ink); background: var(--paper-2); }
.facts caption { text-align: left; font-family: var(--f-display); font-size: 1.3rem; margin-bottom: .7rem; }

/* FAQ */
.faq { margin-top: 2.6rem; }
.faq details { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 800; font-size: 1.02rem; line-height: 1.6; display: flex; gap: .6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-display); color: var(--orange-t); font-size: 1.2rem; line-height: 1.2; }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq .a { padding: .9rem 1.2rem 1.1rem 2.6rem; font-size: 1rem; line-height: 1.85; color: var(--ink); }

.post-foot { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1.5px solid var(--line); font-size: .9rem; color: var(--ink-2); line-height: 1.8; }
.post-foot a { color: var(--blue-d); }

/* CTA + related */
.post-cta { max-width: 760px; margin: 2.2rem auto 0; padding: 0 clamp(1.15rem, 5vw, 1.5rem); }
.post-cta .box { background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; }
.post-cta h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: #fff; margin-bottom: .5rem; }
.post-cta p { color: var(--on-dark-2); line-height: 1.8; }
.post-cta p b { color: #fff; }
.post-cta .row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.post-cta .btn-sms { margin-top: 0; }

.related { max-width: 760px; margin: 2.6rem auto 4rem; padding: 0 clamp(1.15rem, 5vw, 1.5rem); }
.related h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; margin-bottom: .9rem; }
.card-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card-list a { display: block; height: 100%; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; transition: border-color .2s, transform .2s var(--ease); }
.card-list a:hover { border-color: var(--orange); transform: translateY(-3px); }
.card-list .c { font-size: .78rem; font-weight: 800; color: var(--orange-t); }
.card-list .t { display: block; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.35; margin: .3rem 0 .4rem; color: var(--ink); }
.card-list .d { font-size: .92rem; color: var(--ink-2); line-height: 1.7; }

/* hub */
.crumbs.wide, .post.wide { max-width: 900px; }
.hub-head { max-width: 900px; margin: 0 auto; padding: 1.4rem clamp(1.15rem, 5vw, 1.5rem) 0; }
.hub-head h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 6vw, 3.2rem); margin: 1rem 0 .8rem; }
.hub-head p { font-size: 1.08rem; line-height: 1.85; max-width: 60ch; }
.quick { max-width: 900px; margin: 2.2rem auto 0; padding: 0 clamp(1.15rem, 5vw, 1.5rem); }
.quick h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 1rem; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; list-style: none; }
.qa li { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.qa .q { font-weight: 800; margin-bottom: .4rem; line-height: 1.6; }
.qa .q::before { content: "Q. "; color: var(--orange-t); font-family: var(--f-display); }
.qa .ans { font-size: .98rem; line-height: 1.8; }
.qa .more { display: inline-block; margin-top: .5rem; font-size: .9rem; font-weight: 800; color: var(--blue-d); }
.hub-list { max-width: 900px; margin: 2.8rem auto 4rem; padding: 0 clamp(1.15rem, 5vw, 1.5rem); }
.hub-list h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 1rem; }

@media (max-width: 640px) {
  .card-list, .qa { grid-template-columns: 1fr; }
  .facts th { width: 6.2rem; }
}

/* 표 머리글(가까운 학교 등)은 한 줄로 */
.facts th { white-space: nowrap; }
