/* 스포츠게임즈24 — 전문 뉴스 포털형: 흰 지면 + 얇은 구분선 + 촘촘한 리스트 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #12294d; --navy-deep: #0b1b34; --orange: #e8562d;
  --ink: #111a26; --sub: #5a6572; --faint: #98a1ad; --line: #e3e6ea; --line-soft: #eef0f3;
  --w: 1120px;
}
body { font-family: Pretendard, -apple-system, "Malgun Gothic", sans-serif; background: #fff; color: var(--ink); line-height: 1.6; font-size: 15px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img, table { max-width: 100%; }

/* 마스트헤드 */
.np-mast { border-bottom: 1px solid var(--line); }
.np-mast-in { max-width: var(--w); margin: 0 auto; padding: 18px 20px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.np-mast-date { font-size: 12.5px; color: var(--faint); letter-spacing: 0.2px; }
.np-logo { justify-self: center; font-size: 27px; font-weight: 900; letter-spacing: -1px; color: var(--navy-deep); }
.np-logo em { font-style: normal; color: var(--orange); }
.np-mast-slogan { justify-self: end; font-size: 12.5px; color: var(--faint); text-align: right; }

/* 카테고리 탭바 */
.np-tabs { border-bottom: 2px solid var(--navy-deep); position: sticky; top: 0; background: #fff; z-index: 10; }
.np-tabs-in { max-width: var(--w); margin: 0 auto; padding: 0 12px; display: flex; overflow-x: auto; scrollbar-width: none; }
.np-tabs-in::-webkit-scrollbar { display: none; }
.np-tabs a { padding: 11px 15px; font-size: 15px; font-weight: 700; color: #33404f; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.np-tabs a:hover { color: var(--navy-deep); }
.np-tabs a.on { color: var(--orange); border-bottom-color: var(--orange); }

/* 본문 배치: 본문 컬럼 + 사이드바 */
.np-main { max-width: var(--w); margin: 0 auto; padding: 26px 20px 60px; }
.np-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.np-col { min-width: 0; }

/* 리드 기사 + 헤드라인 묶음 */
.np-lead { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; padding-bottom: 22px; border-bottom: 2px solid var(--navy-deep); }
.np-lead-main { display: block; }
.np-lead-main h1 { font-size: clamp(23px, 3vw, 31px); line-height: 1.32; letter-spacing: -0.7px; font-weight: 800; margin: 10px 0 10px; }
.np-lead-main:hover h1 { text-decoration: underline; text-underline-offset: 4px; }
.np-lead-main p { color: var(--sub); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-lead-main time { display: block; margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.np-lead-empty h1 { margin-top: 10px; }
.np-lead-side { display: flex; flex-direction: column; }
.np-hl { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.np-hl:first-child { padding-top: 2px; }
.np-hl:last-child { border-bottom: 0; }
.np-hl h3 { font-size: 15.5px; line-height: 1.4; letter-spacing: -0.3px; margin: 6px 0 4px; }
.np-hl:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.np-hl time { font-size: 12px; color: var(--faint); }

/* 섹션 제목 */
.np-sec { margin-top: 26px; }
.np-sec-h { font-size: 18px; font-weight: 800; letter-spacing: -0.4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.np-sec-h::before { content: ''; display: inline-block; width: 4px; height: 15px; background: var(--orange); margin-right: 9px; border-radius: 1px; }
.np-sec-head { border-bottom: 2px solid var(--navy-deep); padding-bottom: 14px; }
.np-sec-head h1 { font-size: 25px; letter-spacing: -0.6px; }
.np-sec-head p { color: var(--sub); font-size: 13.5px; margin-top: 4px; }

/* 기사 리스트 (촘촘한 줄 단위) */
.np-row { border-bottom: 1px solid var(--line-soft); }
.np-row a { display: block; padding: 15px 2px; }
.np-row h3 { font-size: 17px; line-height: 1.42; letter-spacing: -0.4px; font-weight: 700; }
.np-row a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.np-row p { color: var(--sub); font-size: 14px; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.np-meta { margin-top: 7px; font-size: 12.5px; color: var(--faint); display: flex; gap: 8px; align-items: center; }
.np-meta b { color: var(--navy); font-weight: 700; }
.np-empty { color: var(--sub); padding: 40px 0; }

/* 카테고리 라벨 */
.np-cat { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 3px; letter-spacing: 0; }
.np-c-evergreen { background: #eaf2fe; color: #1c5cab; }
.np-c-news { background: #fdeae3; color: #c43c14; }
.np-c-data { background: #e6f6ef; color: #0c7a4d; }
.np-c-commercial { background: #fff3d9; color: #9a6b00; }

/* 사이드바 */
.np-side { display: flex; flex-direction: column; gap: 22px; }
.np-box { border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px 14px; }
.np-box > h2 { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; padding-bottom: 10px; border-bottom: 2px solid var(--navy-deep); margin-bottom: 4px; }
.np-rank { list-style: none; counter-reset: rank; }
.np-rank li { counter-increment: rank; border-bottom: 1px solid var(--line-soft); }
.np-rank li:last-child { border-bottom: 0; }
.np-rank a { display: flex; gap: 12px; padding: 10px 0; align-items: baseline; }
.np-rank a::before { content: counter(rank); font-size: 17px; font-weight: 900; color: var(--orange); min-width: 16px; font-style: italic; }
.np-rank h3 { font-size: 13.5px; line-height: 1.45; font-weight: 600; letter-spacing: -0.2px; }
.np-rank a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.np-rank time { display: none; }
.np-cats { list-style: none; }
.np-cats li { border-bottom: 1px solid var(--line-soft); }
.np-cats li:last-child { border-bottom: 0; }
.np-cats a { display: flex; justify-content: space-between; padding: 9px 2px; font-size: 14px; font-weight: 600; }
.np-cats a:hover { color: var(--orange); }
.np-cats b { color: var(--faint); font-weight: 700; font-size: 13px; }
.np-box-about p { font-size: 13px; color: var(--sub); margin: 8px 0 12px; }
.np-rss { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--orange); border: 1px solid var(--orange); border-radius: 3px; padding: 4px 10px; }
.np-rss:hover { background: var(--orange); color: #fff; }

/* 기사 페이지 */
.np-art { min-width: 0; }
.np-crumb { font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.np-crumb a:hover { color: var(--orange); }
.np-art > h1 { font-size: clamp(24px, 3.4vw, 33px); line-height: 1.3; letter-spacing: -0.7px; font-weight: 800; margin: 10px 0 10px; }
.np-stand { font-size: 16.5px; color: var(--sub); line-height: 1.55; padding-left: 14px; border-left: 3px solid var(--orange); margin-bottom: 16px; }
.np-art-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--faint); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.np-byline { font-weight: 700; color: var(--ink); }
.np-body { font-size: 16px; line-height: 1.75; }
.np-body h2 { font-size: 21px; margin: 32px 0 12px; letter-spacing: -0.4px; padding-left: 12px; border-left: 4px solid var(--navy-deep); line-height: 1.35; }
.np-body h3 { font-size: 17.5px; margin: 24px 0 10px; letter-spacing: -0.3px; }
.np-body p { margin: 0 0 15px; }
.np-body ul, .np-body ol { margin: 0 0 15px 22px; }
.np-body li { margin-bottom: 6px; }
.np-body blockquote { border-left: 4px solid var(--orange); background: #faf7f5; padding: 12px 16px; margin: 0 0 15px; color: #59493f; }
.np-body table { border-collapse: collapse; margin: 0 0 18px; font-size: 14px; width: 100%; }
.np-body th, .np-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.np-body th { background: var(--navy-deep); color: #fff; font-weight: 700; }
.np-body tr:nth-child(even) td { background: #f7f9fb; }
.np-rel { margin-top: 40px; }
.np-rel h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; padding-bottom: 10px; border-bottom: 2px solid var(--navy-deep); }

/* 푸터 */
.np-foot { background: var(--navy-deep); color: #9db0cc; margin-top: 50px; }
.np-foot-in { max-width: var(--w); margin: 0 auto; padding: 34px 20px; font-size: 13.5px; }
.np-foot-brand { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.np-foot-brand em { font-style: normal; color: var(--orange); }
.np-foot-line { margin-top: 4px; color: #7288ab; }
.np-foot nav { margin: 12px 0 6px; }
.np-foot a:hover { color: #fff; }
.np-copy { color: #5c7196; font-size: 12.5px; }

/* 반응형 */
@media (max-width: 940px) {
  .np-layout { grid-template-columns: 1fr; }
  .np-side { margin-top: 30px; }
}
@media (max-width: 700px) {
  .np-mast-in { grid-template-columns: 1fr; padding: 14px 16px 10px; gap: 4px; }
  .np-mast-date, .np-mast-slogan { display: none; }
  .np-logo { justify-self: start; font-size: 24px; }
  .np-lead { grid-template-columns: 1fr; gap: 6px; }
  .np-lead-side { border-top: 1px solid var(--line); margin-top: 14px; }
}
