/* 퀀트 마켓 레이더 블로그 — 정적 글 공용 스타일 */
:root { --bg: #f4f5f7; --card: #fff; --text: #1f2937; --sub: #6b7280; --line: #e5e7eb; --accent: #2563eb; --soft: #f8fafc; --top: #e6eaf1; --top-line: #cdd5e1; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f172a; --card: #111827; --text: #e5e7eb; --sub: #9ca3af; --line: #1f2937; --accent: #60a5fa; --soft: #1e293b; --top: #0b1220; --top-line: #273449; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif; line-height: 1.85; word-break: keep-all; }
a { color: var(--accent); }
/* 상단 머리글: 아래 본문과 구분되도록 살짝 진한 회청색 + 경계선·옅은 그림자 (눈에 튀지 않게) */
.top { background: var(--top); border-bottom: 1px solid var(--top-line); box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06); }
.top-in { width: 100%; margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand { font-weight: 900; text-decoration: none; color: var(--text); font-size: 17px; white-space: nowrap; }
.brand-blog { font-weight: 800; font-size: 16px; text-decoration: none; color: var(--accent); padding-left: 10px; border-left: 1px solid var(--top-line); line-height: 1.2; white-space: nowrap; }
/* 화면에는 안 보이지만 검색엔진·화면낭독기용 제목 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.top nav a { margin-left: 14px; font-size: 14px; font-weight: 700; text-decoration: none; }
.wrap { width: 100%; margin: 0 auto; padding: 20px 24px 48px; }
article, .list { background: var(--card); border-radius: 14px; padding: 32px 28px; }
.meta { font-size: 13px; color: var(--sub); margin: 0 0 6px; }
h1 { font-size: 28px; line-height: 1.4; margin: 0 0 16px; letter-spacing: -.5px; }
h2 { font-size: 22px; margin: 40px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
h3 { font-size: 18px; margin: 28px 0 8px; }
p, li { font-size: 16.5px; }
figure { margin: 22px 0; }
/* 이미지는 원본 폭(900px)보다 너무 커지면 흐려지므로 최대 1000px까지만 늘리고 가운데 정렬 */
figure img { width: 100%; max-width: 1000px; height: auto; display: block; margin: 0 auto; border: 1px solid var(--line); border-radius: 8px; }
.table-wrap { max-width: 1000px; margin: 0 auto; }
figcaption { font-size: 13.5px; color: var(--sub); text-align: center; margin-top: 6px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 6px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; }
th { background: var(--soft); }
td.c { text-align: center; }
.note { background: var(--soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 15.5px; }
.cta { display: inline-block; margin-top: 8px; padding: 10px 18px; background: var(--accent); color: #fff; border-radius: 8px; font-weight: 800; text-decoration: none; }
.disclaimer { font-size: 13.5px; color: var(--sub); border-top: 1px solid var(--line); margin-top: 36px; padding-top: 14px; }
.post-item { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.post-item:last-child { border-bottom: none; }
.post-item b { font-size: 19px; display: block; line-height: 1.45; }
.post-item span { font-size: 14.5px; color: var(--sub); }
footer { text-align: center; font-size: 13px; color: var(--sub); padding: 0 16px 32px; }
@media (max-width: 600px) {
  article, .list { padding: 24px 16px; border-radius: 0; }
  .wrap { padding: 0 0 40px; }
  h1 { font-size: 23px; }
  h2 { font-size: 20px; }
  p, li { font-size: 16px; }
}
