/* NABBA NEWS 한국어판 일반 쪽(기사·섹션·대회·선수·찾기 등)을 잡지형 홈에 맞추는 층(2026-11-12 사용자 지시 「맞춰」).
   순서: styles.css(쪽 구조) → chrome.css(색·글꼴·머리·바닥) → 이 파일(styles.css 의 색·글꼴 토큰과 머리말·제목 모양을 홈 말투로).
   영어판은 이 파일을 쓰지 않는다. */

body.site {
  /* styles.css 토큰을 홈 색·글꼴로 */
  --bg: var(--paper);
  --surface: var(--wash);
  --ink-2: #3d3d42;
  --muted: #6b6b72;
  --line: var(--rule);
  --gold: var(--yellow);
  --gold-deep: var(--red);
  --kr: var(--sans);
  --num: 'Barlow Condensed', 'Paperlogy', var(--sans);
  --pad: var(--gut);
  line-height: 1.7;
}
body.site :focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* 머리: 지금 있는 섹션 표시 */
.hd__nav a[aria-current]::after { transform: scaleX(1); }

/* 머리말(키커): 홈 라벨처럼 굵은 영문 느낌의 빨강 */
body.site .kick, body.site .label { font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

/* 제목은 홈 제목 글꼴(Barlow Condensed + 페이퍼로지) */
body.site :is(h1, h2, h3) { font-family: var(--display); letter-spacing: -.01em; }
/* styles.css 끝의 Black Han Sans 용 굵기 400 을 되돌림 — 새 제목 글꼴은 굵게 */
body.site :is(.sh__text h2, .cover__q, .feature__text b, .phead h1, .mosaic__lead b, .art__title h1, .letter h2, .intro__l) { font-weight: 800; letter-spacing: -.01em; }

/* 단추·알약은 홈처럼 각지게 */
body.site :is(.btn, .pill, .rchip, .art__tools button, .chips .hx-chip, .chips__more) { border-radius: 0; }
body.site .btn { background: var(--ink); }
body.site .btn:hover { background: var(--red); }
body.site .pill:hover, body.site .rchip:hover, body.site .rchip[aria-current='page'] { background: var(--ink); color: var(--yellow); }

/* ---------- 쪽 머리(섹션·모아 보기): 홈 「CONTENTS」 「NEWS DESK」처럼 왼쪽 큰 제목 + 굵은 먹선 ---------- */
body.site .phead { text-align: left; padding: clamp(36px, 5vw, 72px) 0 0; }
body.site .phead .kick { font-size: 12px; }
body.site .phead h1 {
  margin-top: 10px; padding-bottom: 14px; border-bottom: 10px solid var(--ink);
  font-size: clamp(52px, 8.4vw, 128px); font-weight: 900; line-height: .9; letter-spacing: -.02em;
}
body.site .phead h1::after { content: '.'; color: var(--red); }
body.site .phead__lead { margin: 16px 0 0; max-width: 720px; font-size: 17px; }
body.site .phead__stats { justify-content: flex-start; }
body.site .phead__stats b { font-style: normal; font-weight: 900; font-size: 28px; }
body.site .subnav { justify-content: flex-start; gap: 0 22px; border-top: 0; border-bottom: 1px solid var(--ink); margin-top: 20px; }
body.site .subnav a { font-weight: 800; }
body.site .subnav a[aria-current] { color: var(--ink); text-decoration: none; box-shadow: inset 0 -3px 0 var(--red); }
body.site .rchips { justify-content: flex-start; }

/* ---------- 묶음 머리말: 굵은 먹선 위 큰 제목 ---------- */
body.site .sh { padding-top: 16px; }
body.site .sh::before { height: 6px; }
body.site .sh__text h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: .95; font-weight: 900; }

/* ---------- 카드·줄 ---------- */
body.site .card__kick, body.site .row small, body.site .card__meta { font-family: var(--sans); }
body.site .card__kick { color: var(--red); font-weight: 700; }
body.site .card__title { font-weight: 800; }
body.site .card a:hover .card__title, body.site .row a:hover b { text-decoration: none; color: var(--red); }

/* ---------- 기사 ---------- */
body.site .art__path { border-bottom: 1px solid var(--ink); }
body.site .art__path a { color: var(--red); font-weight: 800; }
body.site .art__path .region { font-style: normal; color: var(--red); }
body.site .art__title h1 { font-size: clamp(36px, 4.4vw, 64px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
body.site .art__layout { border-top: 6px solid var(--ink); }
body.site .prose { color: #26262b; font-size: 17px; line-height: 1.8; }
body.site .prose h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; border-top: 3px solid var(--ink); padding-top: 14px; }
body.site .prose a { text-decoration-color: var(--red); }

/* ---------- 숫자(대회 수치·판) ---------- */
body.site :is(.fig, .plate) { font-style: normal; font-weight: 900; }

/* 섹션 첫 칸 대표 기사 */
body.site .mosaic__lead b { font-size: clamp(30px, 3.4vw, 48px); font-weight: 900; line-height: 1.1; }
body.site .mosaic__lead:hover b { text-decoration: none; color: var(--red); }
body.site .index { border-top: 2px solid var(--ink); }

/* 쪽 끝과 바닥 사이 여백(바닥이 바로 붙지 않게). 쪽이 어두운 띠로 끝나면 띠가 바닥과 이어지게 둔다. */
body.site main { padding-bottom: clamp(72px, 9vw, 120px); }
body.site main:has(> .sec--dark:last-child) { padding-bottom: 0; }

/* ── 휴대폰 레이아웃 손질(2026-11-16). 기준: 뉴스 앱(NYT·Apple News)처럼 분류는 한 줄 가로 넘김, 꼬리표는 하나, 펼침 단추는 단추처럼. */
@media (max-width: 760px) {
  /* 섹션 분류 탭·지부 칩: 두세 줄로 접히지 않게 한 줄 가로 넘김(화면 끝까지 이어 보이게) */
  body.site .subnav, body.site .rchips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
  }
  body.site .subnav::-webkit-scrollbar, body.site .rchips::-webkit-scrollbar { display: none; }
  body.site .subnav a, body.site .rchip { flex: none; white-space: nowrap; }
  body.site .subnav { gap: 0 18px; }

  /* 기사 목차: 글자 한 줄로만 보여 단추인지 몰랐다 → 테두리 있는 펼침 줄, 오른쪽에 +/− */
  body.site .art__head { padding-bottom: 24px; }
  body.site .art__layout { border-top-width: 3px; padding-top: 12px; }
  body.site .art__rail { border-top: 0; padding-top: 0; }
  body.site .article-toc summary {
    justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 2px;
    font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--ink);
  }
  body.site .article-toc summary::after { content: '+'; font: 700 22px/1 var(--num, inherit); color: var(--red); }
  body.site .article-toc[open] summary::after { content: '−'; }
  body.site .article-toc__n { margin-right: auto; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--mute, #777); }
  body.site .article-toc nav { padding: 8px 0 4px; }
  body.site .art__tools { padding-top: 12px; }

  /* 대회: 사진 없는(결과 준비 중) 카드가 4:5 검은 상자로 화면을 다 차지하던 것 → 낮은 띠 */
  .ccard__img:has(> .ccard__ph) { aspect-ratio: auto; min-height: 168px; }
  .ccard__img:has(> .ccard__ph) .ccard__ph { position: absolute; inset: 0; }
}

/* ── 섹션·기사 화면 글자 한 단계 줄이기(2026-11-16, 대표 "오피니언이랑 이런 곳도 글씨가 너무 큼")
   기준: 섹션 이름 데스크톱 121px·기사 제목 63px·본문 24px → 뉴스 사이트 보통 크기(제목 40~48px, 본문 18px)로. */
body.site .phead h1 { font-size: clamp(38px, 5vw, 76px); border-bottom-width: 6px; }
body.site .sh__text h2 { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; }
body.site .mosaic__lead b { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2; }
body.site .art__title h1 { font-size: clamp(27px, 3.1vw, 44px); line-height: 1.15; }
body.site .index__title, body.site .card__title { font-size: clamp(16px, 1.3vw, 19px); }
body.site .article-copy, body.site .article-copy.is-large { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.8; }
body.site .article-copy h2 { font-size: clamp(18px, 1.5vw, 22px); }
body.site .article-sources h2 { font-size: clamp(18px, 1.5vw, 22px); }
body.site .article-copy.is-large { font-size: clamp(18px, 1.45vw, 21px); }
