/* 인사이트 글·목록 스타일 — boda-theme 변수 기반(테마 자동 대응) */
.insight-post, .insight-index { max-width: 760px; margin: 0 auto; padding: 96px 20px 64px; color: var(--text-primary); }
.insight__eyebrow, .insight-card__eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.insight__title { font-size: 30px; line-height: 1.3; margin: 8px 0; }
.insight__date { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
/* 대표(hero) 사진: 제목 바로 아래에서 글보다 먼저 보이는 큰 이미지 */
.insight__hero { margin: 0 0 28px; }
.insight__hero img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--radius-md); display: block; box-shadow: var(--shadow-sm); }
.insight__hero figcaption { color: var(--text-secondary); font-size: 14px; margin-top: 10px; line-height: 1.6; }
.insight__lead { font-size: 18px; color: var(--text-secondary); border-left: 3px solid var(--brand); padding-left: 14px; }
.insight__section { margin: 28px 0; }
.insight__section h2 { font-size: 20px; margin-bottom: 8px; }
.insight__section p { line-height: 1.75; color: var(--text-primary); }
/* 2열 그리드: 작은 사진은 한 칸씩(한 줄에 2장), 큰 사진은 두 칸 차지(전체폭). */
.insight__cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; grid-auto-flow: dense; }
/* 단면도 등 '크게' 보여줄 이미지: 본문 폭을 넘겨 화면 가운데로 확장(최대 1100px) */
.insight__case--wide { grid-column: 1 / -1; width: min(94vw, 1100px); margin-left: 50%; transform: translateX(-50%); padding: 24px; }
.insight__case--wide img { width: 100%; }
.insight__case--wide figcaption { font-size: 15px; }
/* 사진을 일관된 카드 프레임에 담는다(매트 액자):
   작은 원본은 늘리지 않고 가운데(주변은 여백), 큰 사진은 프레임을 채운다. */
.insight__case { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 16px; }
.insight__case img { max-width: 100%; height: auto; border-radius: var(--radius-sm); display: block; margin: 0 auto; }
.insight__case figcaption { color: var(--text-secondary); font-size: 14px; margin-top: 12px; line-height: 1.6; text-align: center; }
/* 좁은 화면: 한 줄에 1장 */
@media (max-width: 560px) { .insight__cases { grid-template-columns: 1fr; } }
.insight__refs { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 14px; }
.insight__refs h2 { font-size: 16px; color: var(--text-primary); }
.insight__refs a { color: var(--brand); word-break: break-all; }
.insight__cta { margin-top: 32px; }
.insight__cta a { display: inline-block; background: var(--brand); color: #fff; padding: 12px 22px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; }
/* 목록 */
.insight-index__head { text-align: center; margin-bottom: 36px; }
.insight-index__grid { display: grid; gap: 20px; }
.insight-card { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text-primary); box-shadow: var(--shadow-sm); transition: var(--transition); }
.insight-card:hover { background: var(--bg-card-hover); }
.insight-card__img { width: 100%; height: 180px; object-fit: cover; display: block; }
.insight-card__body { padding: 18px 20px; }
.insight-card__title { font-size: 19px; margin: 6px 0; }
.insight-card__date { color: var(--text-secondary); font-size: 13px; }
.insight-card__excerpt { color: var(--text-secondary); font-size: 14px; margin-top: 8px; }

/* 핵심만(TL;DR) 콜아웃 — 이전엔 글마다 인라인 <style>로 넣던 것을 여기로 이동(CSP 개선) */
.insight__tldr { margin: 24px 0; padding: 16px 20px; border-left: 4px solid #4a90d9; background: #f4f7fb; border-radius: 8px; }
.insight__tldr strong { display: block; color: #1a3669; font-size: .8rem; letter-spacing: .02em; margin-bottom: 6px; }
.insight__tldr p { margin: 0; color: #0a1628; font-weight: 600; line-height: 1.55; }
