/* insights.v4.css (v4_3 재질 번역: insights 허브 + posts 3, course.v4.css 위 오버레이. 셀렉터/골격/브레이크포인트 원본 보존)
   1) build/tokens.css 임포트 삭제. 본 파일 내 --iruri-* 사용 0건이라 인라인화 대상 없음. 로컬 루트 변수블록 제거, 전부 site.v4.css 토큰 직치환 (dead var: --navy, --serif 미사용이라 폐기)
   2) radius/shadow/hover translateY 제거, 심도는 plate 카드판 + hair/hairsoft 헤어라인. 알약 CTA 2종은 0-radius 헤어라인 버튼(hover만 foil 채움)으로
   3) 장문 가독: 본문 p/목록 muted에서 ink로 승격, 인용/메타만 muted, 본문 링크 goldline 밑줄 룰 신설(원본에 본문 a 룰 부재, 파운데이션 전역 no-underline이라 링크 식별 불가 버그 보강). blockquote 한글 합성 이탤릭은 normal로
   4) focus-visible(본문 링크) + prefers-reduced-motion 가드 추가. 섹션 리듬: post-hero plate, post-body field 상속, post-footer deep2 침강 */

/* ---- 인덱스 ---- */
.insights-hero {
  color: var(--ink);
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--hairsoft);
}
.insights-hero__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.insights-hero__eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--goldtext); margin: 0 0 16px; font-weight:600;
}
.insights-hero__eyebrow::before { content:""; width:26px; height:1px; background:var(--goldline); }
.insights-hero__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.15; font-weight: 600;
  margin: 0 0 24px; letter-spacing: -0.03em; color: var(--ink);
}
.insights-hero__title em { font-style: normal; color: var(--forest,#006241); }
.insights-hero__lede {
  font-size: 17px; line-height: 1.75; color: var(--muted);
  max-width: 720px; margin: 0;
}

.insights-grid {
  color: var(--ink);
  padding: 64px 0 96px;
}
.insights-grid__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.insights-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px; list-style: none; padding: 0; margin: 0;
}
.insights-card {
  background: var(--plate); border: 1px solid var(--hairsoft);
  padding: 32px 28px;
  transition: border-color .3s var(--ease);
}
.insights-card:hover {
  border-color: var(--hair);
}
.insights-card__category {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--goldtext); margin: 0 0 14px; font-weight:600;
}
.insights-card__title {
  font-family: var(--serif);
  font-size: 22px; line-height: 1.4; font-weight: 600;
  color: var(--ink); margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.insights-card__title a {
  color: inherit; text-decoration: none;
}
.insights-card__title a:hover { color: var(--goldtext); }
.insights-card__excerpt {
  font-size: 14px; line-height: 1.7;
  color: var(--muted); margin: 0 0 18px;
}
.insights-card__meta {
  font-size: 11px; color: var(--muted); letter-spacing:0.04em;
  display: flex; gap: 12px;
}

/* ---- 포스트 ---- */
.post-hero {
  background: var(--plate); color: var(--ink);
  padding: 96px 0 56px;
  border-bottom: 1px solid var(--hairsoft);
}
.post-hero__inner {
  max-width: 760px; margin: 0 auto; padding: 0 24px;
}
.post-hero__category {
  display:inline-flex; align-items:center; gap:10px;
  font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--goldtext); margin: 0 0 18px; font-weight:600;
}
.post-hero__category::before { content:""; width:26px; height:1px; background:var(--goldline); }
.post-hero__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.2; font-weight: 600;
  margin: 0 0 24px; letter-spacing: -0.025em; color: var(--ink);
}
.post-hero__lede {
  font-size: 18px; line-height: 1.7; color: var(--muted);
  margin: 0 0 28px;
}
.post-hero__meta {
  font-size: 12px; color: var(--muted); letter-spacing:0.04em;
  display: flex; gap: 16px; padding-top: 18px;
  border-top: 1px solid var(--hairsoft);
}

.post-body {
  color: var(--ink);
  padding: 64px 0 96px;
}
.post-body__inner {
  max-width: 720px; margin: 0 auto; padding: 0 24px;
  font-size: 17px; line-height: 1.85;
  color: var(--ink);
}
.post-body__inner h2 {
  font-family: var(--serif);
  font-size: 28px; line-height: 1.3; font-weight: 600;
  margin: 56px 0 20px; color: var(--ink);
  letter-spacing: -0.02em;
}
.post-body__inner h2:first-child { margin-top: 0; }
.post-body__inner h3 {
  font-family: var(--serif);
  font-size: 20px; line-height: 1.4; font-weight: 600;
  margin: 36px 0 14px; color: var(--goldtext);
}
.post-body__inner p { margin: 0 0 22px; color: var(--ink); }
.post-body__inner strong { color: var(--ink); font-weight: 700; }
.post-body__inner em { font-style: normal; color: var(--forest,#006241); font-weight:600; }
.post-body__inner a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--goldline);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.post-body__inner a:hover { color: var(--goldtext); }
.post-body__inner ul, .post-body__inner ol {
  padding-left: 24px; margin: 0 0 24px; color: var(--ink);
}
.post-body__inner li { margin: 0 0 10px; }
.post-body__inner blockquote {
  border-left: 3px solid var(--goldline);
  background: rgba(197,165,114,.07);
  padding: 16px 20px;
  margin: 28px 0;
  font-family: var(--serif);
  font-style: normal; color: var(--muted);
}
.post-body__inner code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 14px; background: var(--deep2);
  padding: 2px 7px;
  color: var(--goldtext);
}

.post-footer {
  background: var(--deep2); padding: 48px 0;
  border-top: 1px solid var(--hair);
}
.post-footer__inner {
  max-width: 720px; margin: 0 auto; padding: 0 24px;
}
.post-footer__cta {
  font-family: var(--serif);
  font-size: 22px; line-height: 1.45; font-weight: 600;
  color: var(--ink); margin: 0 0 18px;
}
.post-footer__cta em { font-style: normal; color: var(--forest,#006241); }
.post-footer__cta-group {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.post-footer__cta-group .btn-primary,
.post-footer__cta-group .btn-ghost {
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 12px 22px;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.post-footer__cta-group .btn-primary {
  background: transparent; color: var(--goldtext);
  border: 1px solid var(--goldline);
}
.post-footer__cta-group .btn-primary:hover { background: var(--foil); color: var(--field); border-color: transparent; }
.post-footer__cta-group .btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hair);
}
.post-footer__cta-group .btn-ghost:hover { border-color: var(--goldline); color: var(--goldtext); }
.post-footer__cta-group svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- 접근성 가드 ---- */
.post-body__inner a:focus-visible { outline: 2px solid var(--goldtext); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .insights-card,
  .post-footer__cta-group .btn-primary,
  .post-footer__cta-group .btn-ghost { transition: none; }
}

/* ---- 모바일 ---- */
@media (max-width: 768px) {
  .insights-hero { padding: 64px 0 48px; }
  .insights-grid { padding: 48px 0 64px; }
  .post-hero { padding: 56px 0 40px; }
  .post-body { padding: 48px 0 72px; }
  .post-body__inner { font-size: 16px; }
  .post-body__inner h2 { font-size: 24px; }
  .post-body__inner h3 { font-size: 18px; }
}

/* SVG safety net (전역) */
svg:not([width]):not([height]) { width: 16px; height: 16px; }
