/* 이코노미스트 리뷰 글의 편집 디자인.
   report.css(.rpt)의 부품을 그대로 쓰고, 색·글꼴·선만 시사 주간지 느낌으로 바꾼다.
   로고·전용 서체·원문 차트는 쓰지 않는다. 붉은 포인트, 세리프 제목, 가는 검정 선, 파란 막대 차트, 크림색 면만 빌려 온다.
   티스토리 스킨의 #article-view 규칙보다 앞서도록 .rpt.rpt-er.eco 에만 범위를 좁혀 둔다. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;700;900&family=Source+Serif+4:wght@600;700;900&display=swap');

#article-view .rpt.rpt-er.eco {
  --red: #e3120b;
  --blue: #006ba2;
  --sky: #3ebcd2;
  --ink: #121212;
  --mute: #5c6770;
  --rule: #cdd2d6;
  --tint: #f4f1ea;
  --g: var(--red);
  --a: var(--blue);
  --warn: var(--red);
  --serif: 'Source Serif 4', 'Noto Serif KR', Georgia, 'Times New Roman', serif;
  color: var(--ink);
}
#article-view .rpt.rpt-er.eco a { color: var(--blue); }

/* 머리: 굵은 붉은 윗줄, 붉은 섹션 라벨, 세리프 부제 */
#article-view .rpt.rpt-er.eco .rpt-head { border-top: 5px solid var(--red); border-bottom: 1px solid var(--ink); padding-top: 1rem; }
#article-view .rpt.rpt-er.eco .rpt-eyebrow { color: var(--red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
#article-view .rpt.rpt-er.eco .rpt-meta { color: var(--mute); }
#article-view .rpt.rpt-er.eco p.rpt-lede { font-family: var(--serif); font-size: 1.28em; line-height: 1.6; font-weight: 500; color: #2b3238; max-width: 44rem; }
#article-view .rpt.rpt-er.eco .rpt-chip { border: 1px solid #9aa3a9; color: #2b3238; font-weight: 600; letter-spacing: 0.02em; background: #fff; }

/* 핵심 숫자: 세리프 굵은 붉은 숫자, 가는 검정 윗줄 */
#article-view .rpt.rpt-er.eco .rpt-kpis { border-top: 1px solid var(--ink); }
#article-view .rpt.rpt-er.eco .rpt-kpis b { font-family: var(--serif); font-weight: 900; color: var(--red); letter-spacing: -0.01em; }

/* 섹션 제목: 세리프 굵은 제목, 검정 아랫줄, 붉은 번호 */
#article-view .rpt.rpt-er.eco .rpt-sec h2 { font-family: var(--serif); font-weight: 900; color: var(--ink); font-size: 1.6em; letter-spacing: -0.01em; border-bottom: 2px solid var(--ink); }
#article-view .rpt.rpt-er.eco .rpt-sec h2 .num { color: var(--red); font-family: var(--serif); font-weight: 900; }
#article-view .rpt.rpt-er.eco .rpt-sec h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); }
#article-view .rpt.rpt-er.eco .hl { color: var(--ink); font-weight: 700; box-shadow: inset 0 -0.4em 0 rgba(227, 18, 11, 0.16); }

/* 면과 카드: 크림색 면 + 붉은 왼쪽선, 카드는 붉은 윗선, 단계 칸은 파란 윗선 */
#article-view .rpt.rpt-er.eco .rpt-box { background: var(--tint); border-left: 4px solid var(--red); }
#article-view .rpt.rpt-er.eco .rpt-box h3 { color: var(--ink); font-family: var(--serif); }
#article-view .rpt.rpt-er.eco .rpt-card { border: 1px solid var(--rule); border-top: 4px solid var(--red); background: #fff; }
#article-view .rpt.rpt-er.eco .rpt-card h3 { color: var(--ink); font-family: var(--serif); }
#article-view .rpt.rpt-er.eco .rpt-step { background: #eef3f6; border-top: 4px solid var(--blue); }
#article-view .rpt.rpt-er.eco .rpt-step h3 { color: var(--ink); font-family: var(--serif); }
#article-view .rpt.rpt-er.eco .rpt-list li::before { background: var(--red); }
#article-view .rpt.rpt-er.eco .rpt-list b { color: var(--ink); }

/* 표: 붉은 윗선, 굵은 검정 머리글 아랫줄, 가는 회색 행선 */
#article-view .rpt.rpt-er.eco .rpt-table table { border-top: 3px solid var(--red); }
#article-view .rpt.rpt-er.eco .rpt-table th { background: #fff; color: var(--ink); border-bottom: 1px solid var(--ink); font-weight: 700; }
#article-view .rpt.rpt-er.eco .rpt-table td { border-bottom: 1px solid var(--rule); }
#article-view .rpt.rpt-er.eco .rpt-table td:first-child { font-family: var(--serif); font-weight: 700; }

/* 숫자 목록: 좋은 방향은 파랑, 나쁜 방향은 빨강 */
#article-view .rpt.rpt-er.eco .rpt-kv li { border-bottom: 1px solid var(--rule); }
#article-view .rpt.rpt-er.eco .rpt-kv .up { color: var(--blue); }
#article-view .rpt.rpt-er.eco .rpt-kv .dn { color: var(--red); }

/* 막대 차트: 파란 막대, 연한 하늘색, 추정치는 파란 점선 */
#article-view .rpt.rpt-er.eco .rpt-track { background: #eceff1; }
#article-view .rpt.rpt-er.eco .rpt-fill { background: var(--blue); }
#article-view .rpt.rpt-er.eco .rpt-fill.soft { background: var(--sky); color: #08303d; }
#article-view .rpt.rpt-er.eco .rpt-fill.est { background: #fff; color: var(--blue); border: 1px dashed var(--blue); }
#article-view .rpt.rpt-er.eco .rpt-fill.out em { color: var(--blue); }

/* 맺음: 크림색 면, 붉은 윗선 */
#article-view .rpt.rpt-er.eco .rpt-close { background: var(--tint); border-top: 4px solid var(--red); }
#article-view .rpt.rpt-er.eco .rpt-close h2 { font-family: var(--serif); font-weight: 900; color: var(--ink); }
#article-view .rpt.rpt-er.eco span.rpt-src { border-top: 1px solid var(--ink); }
