/* ============================================================
   CMO AI NEWS — 강좌뉴스 전용 (2026-10-06)
   remake.css 의 변수(--bg, --gold, --ink ...)를 그대로 쓴다.
   랜딩이 블랙+골드라 기사도 같은 톤으로 간다.
   ============================================================ */

.ins-page { background: var(--bg); color: var(--ink); }

/* 상단 알림 띠 — 지금 보는 것이 과정 뉴스라는 표시 */
.ins-topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.ins-wrap {
  max-width: 820px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: .78rem; color: var(--muted); letter-spacing: -.01em;
}
.ins-wrap a { color: var(--gold-light); font-weight: 700; white-space: nowrap; }
.ins-wrap a:hover { text-decoration: underline; }

/* ---------- 기사 ---------- */
.ins-article { max-width: 820px; margin: 0 auto; padding: 46px 20px 10px; }

.ins-no {
  font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  color: var(--gold); margin-bottom: 14px;
}
.ins-article h1 {
  font-size: clamp(1.6rem, 4.4vw, 2.35rem); line-height: 1.3;
  letter-spacing: -.03em; font-weight: 800; margin: 0 0 12px;
  text-wrap: balance;
}
.ins-sub {
  font-size: 1.02rem; color: var(--gold-light); font-weight: 700;
  margin: 0 0 20px; line-height: 1.5; letter-spacing: -.02em;
}
.ins-byline {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
  padding-bottom: 16px; border-bottom: 1px solid var(--line2);
}
.ins-byline b { color: var(--ink2); font-weight: 700; }

.ins-source {
  margin: 18px 0 30px; padding: 12px 15px;
  background: rgba(207,144,38,.07); border: 1px solid var(--line);
  border-radius: 10px; font-size: .82rem; color: var(--ink2); line-height: 1.6;
}
.ins-source b { color: var(--gold-light); margin-right: 6px; }

/* ---------- 본문 ---------- */
/* ★ 기사 본문은 읽는 글이다 (2026-10-14 아담).
   --ink2 (0.58) 는 보조 설명용 밝기여서 긴 글을 읽기에는 흐리다. */
.ins-body { font-size: 1.02rem; line-height: 1.85; color: rgba(245, 242, 234, .88); }
.ins-body p { margin: 0 0 20px; letter-spacing: -.01em; }
/* 본문 강조는 색을 바꾸지 않는다 — 한 문단 안에서 밝기가 뛰면 기사로 읽히지 않는다.
   굵기만 한 단계 올린다. */
.ins-body strong { color: inherit; font-weight: 700; }

.ins-lead {
  font-size: 1.1rem; line-height: 1.75; color: var(--ink);
  padding-left: 15px; border-left: 3px solid var(--gold);
  margin-bottom: 34px !important;
}
.ins-body h2 {
  font-size: 1.22rem; font-weight: 800; color: var(--ink);
  margin: 38px 0 14px; letter-spacing: -.025em; line-height: 1.4;
}

/* ---------- 기사 끝 CTA ---------- */
.ins-cta {
  margin: 44px 0 10px; padding: 26px 24px;
  background: linear-gradient(145deg, #17161a, #121115);
  border: 1px solid var(--line); border-radius: 16px;
}
.ins-kicker {
  font-size: .74rem; font-weight: 800; letter-spacing: .05em;
  color: var(--gold); margin-bottom: 9px;
}
.ins-cta h3 {
  font-size: 1.06rem; font-weight: 800; color: var(--ink);
  margin: 0 0 11px; line-height: 1.45; letter-spacing: -.02em;
}
.ins-cta p { font-size: .92rem; color: var(--ink2); margin: 0 0 16px; line-height: 1.7; }
.ins-cta-meta {
  font-size: .84rem; color: var(--muted); margin-bottom: 18px;
  padding-top: 14px; border-top: 1px dashed var(--line2);
}
.ins-cta-meta b { color: var(--gold-light); }

.ins-foot {
  max-width: 820px; margin: 0 auto; padding: 8px 20px 60px;
  font-size: .86rem;
}
.ins-foot a { color: var(--gold-light); font-weight: 700; }
.ins-foot a:hover { text-decoration: underline; }

/* ---------- 목록 페이지 ---------- */
.nl-head { padding: 54px 0 30px; text-align: center; }
.nl-head h1 {
  font-size: clamp(1.7rem, 4.6vw, 2.4rem); font-weight: 800;
  letter-spacing: -.03em; margin: 8px 0 14px;
}
.nl-lead { font-size: .96rem; color: var(--ink2); line-height: 1.75; }

.nl-list { padding: 10px 0 70px; }
.nl-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.nl-card {
  display: block; padding: 24px 22px;
  background: var(--card); border: 1px solid var(--line2);
  border-radius: 14px; transition: border-color .15s, transform .15s;
}
.nl-card:hover { border-color: var(--line); transform: translateY(-2px); }
.nl-card .nl-no {
  font-size: .72rem; font-weight: 800; letter-spacing: .05em;
  color: var(--gold); margin-bottom: 10px;
}
.nl-card h2 {
  font-size: 1.12rem; font-weight: 800; color: var(--ink);
  margin: 0 0 8px; line-height: 1.45; letter-spacing: -.025em;
}
.nl-sub { font-size: .86rem; color: var(--gold-light); font-weight: 700; margin: 0 0 10px; }
.nl-desc { font-size: .88rem; color: var(--ink2); line-height: 1.65; margin: 0 0 14px; }
.nl-more { font-size: .82rem; font-weight: 700; color: var(--gold-light); }

/* ---------- 랜딩의 강좌뉴스 구역 ---------- */
.home-news { padding: 72px 0; background: var(--bg2); }
.hn-head { text-align: center; margin-bottom: 28px; }
.hn-label { font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--gold); }
.hn-title { font-size: clamp(1.4rem, 3.6vw, 1.95rem); font-weight: 800; margin: 8px 0 12px; letter-spacing: -.03em; }
.hn-desc { font-size: .92rem; color: var(--ink2); line-height: 1.7; }
.hn-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.hn-card {
  display: block; padding: 20px 19px; background: var(--card);
  border: 1px solid var(--line2); border-radius: 13px;
  transition: border-color .15s, transform .15s;
}
.hn-card:hover { border-color: var(--line); transform: translateY(-2px); }
.hn-card b { display: block; font-size: 1.01rem; font-weight: 800; color: var(--ink);
  line-height: 1.45; letter-spacing: -.02em; margin-bottom: 7px; }
.hn-card span { font-size: .85rem; color: var(--ink2); line-height: 1.6; }
.hn-all { text-align: center; margin-top: 26px; }
.hn-all a { font-size: .88rem; font-weight: 700; color: var(--gold-light); }
.hn-all a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .ins-article { padding: 34px 18px 8px; }
  .ins-body { font-size: .97rem; }
  .ins-lead { font-size: 1.02rem; }
  .ins-cta { padding: 22px 18px; }
  .home-news { padding: 52px 0; }
  .ins-wrap { font-size: .72rem; }
}

/* ───── 기사 하단 고정 신청 바 (2026-10-19) ─────
   ★ 왜 고치나 — remake.css 가 이 바를 translateY(110%) 로 감춰 두고
   .show 가 붙어야 올라오게 만들었는데, 기사 페이지에는 스크립트가 하나도 없다.
   그래서 기사 66편에서 이 버튼이 한 번도 보이지 않았다.
   측정 결과 기사 조회 844회에 신청 이동 5건(0.6%)이었던 큰 원인으로 본다.
   기사는 읽는 페이지이므로 처음부터 띄워 둔다 — 한 줄 띠라 읽기를 가리지 않는다. */
.ins-page .sticky-cta { transform: none; }
.ins-page .sticky-cta .sc-info b { font-size: .83rem; }
.ins-page .sticky-cta .sc-info small { font-size: .7rem; }
/* 바에 가려 마지막 문단이 잘리지 않게 */
.ins-page .ins-foot { padding-bottom: 76px; }
