@charset "utf-8";
/* ==========================================================================
   wide08 메인 화면 (PC) — a60.ndsoftnews.net 디자인 재현
   1440×900 화면에서 참고 사이트를 직접 잰 값 (2026-11-26)
     본문 16px/24px, 자간 -0.5px / 포인트 #d71527 / 구분선 #e8e8e9
     헤드라인 1200×400 (사진 852 + 목록 348), 큰 제목 40px/50px 700 자간 -1px, 목록 20px/28px 500 자간 -0.75px
     3단: 왼쪽 220 | 32 | 선 1 + 32 + 가운데 550 + 32 + 선 1 | 32 | 오른쪽 300, 위아래 여백 40
     섹션 제목 20px/24px 700, 아래 20px, 상자 사이 40px
   ========================================================================== */
.w8-main { width: 100%; margin: 0; padding: 0 !important; }
#container.w8-main { padding-top: 0; }
.w8-inner { position: relative; width: var(--w2-w); margin: 0 auto; box-sizing: border-box; }
.w8-main *, .w8-photo * { font-family: var(--w2-font); letter-spacing: -0.5px; box-sizing: border-box; }
.w8-main a, .w8-main h2, .w8-main h3, .w8-main p, .w8-main div, .w8-main span, .w8-main strong { color: #000; }
.w8-main h2, .w8-main h3, .w8-photo h2, .w8-photo h3 { margin: 0; padding: 0; }
.w8-main a:hover h3, .w8-photo a:hover h3, .w8-main a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* 공통 */
.w8-box { margin: 0 0 40px; }
.w8-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; }
.w8-head h2 { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.5px; }
.w8-head h2 a { font: inherit; color: inherit; letter-spacing: inherit; }
.w8-flex { display: flex; gap: 12px; }
.w8-cont { flex: 1; min-width: 0; }
.w8-frame { position: relative; display: block; flex: none; overflow: hidden; background: #eceff1; line-height: 0; }
.w8-frame:before { content: ""; position: absolute; inset: 0; z-index: 1; border: 1px solid rgba(0,0,0,.05); pointer-events: none; }
.w8-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
a.w8-frame:hover img, a:hover > .w8-frame img { transform: scale(1.04); }
.w8-frame .w2-noimg, .w8-main .w2-noimg, .w8-photo .w2-noimg { display: block; width: 100%; height: 100%; min-height: 40px; background: #eceff1 url("../img/default/no_img.gif") center/40% no-repeat; }
.w8-48 { width: 48px; height: 48px; border-radius: 50%; }
.w8-48:before { border-radius: 50%; }
.w8-72 { width: 72px; height: 72px; }
.w8-144 { width: 144px; height: 81px; }
.w8-160 { width: 160px; height: 90px; }
.w8-169 { width: 300px; height: 169px; }
.w8-147 { width: 262px; height: 147px; }
.w8-124 { width: 220px; height: 124px; }
.w8-169r { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.w8-l1 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w8-l2, .w8-l4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 2; }
.w8-l4 { -webkit-line-clamp: 4; }
.w8-t24 { margin: 0 0 12px !important; font-size: 24px; line-height: 34px; font-weight: 600; letter-spacing: -0.75px !important; word-break: keep-all; overflow-wrap: anywhere; }
.w8-t18 { font-size: 18px; line-height: 26px; font-weight: 500; }
.w8-t17 { font-size: 17px; line-height: 25px; font-weight: 500; word-break: keep-all; overflow-wrap: anywhere; }
.w8-t16 { font-size: 16px; line-height: 24px; font-weight: 400; word-break: keep-all; overflow-wrap: anywhere; }
.w8-t16b { font-size: 16px; line-height: 24px; font-weight: 500; }
.w8-l2.w8-t17 { max-height: 50px; }
.w8-l2.w8-t16 { max-height: 48px; }
.w8-capm { margin: 12px 16px 0 4px !important; }
.w8-sum { margin: 0; font-size: 14px; line-height: 22px; color: #6c757d !important; word-break: break-all; }
.w8-sum.w8-l2 { margin-top: 8px; max-height: 44px; }
.w8-sum.w8-l4 { flex: 1; max-height: 88px; }
.w8-date { margin-top: 6px; font-size: 13px; line-height: 21px; color: #6c757d !important; }
.w8-mt8 { margin-top: 8px; }
.w8-sec { margin: 0 0 4px; font-size: 13px; line-height: 21px; font-weight: 500; color: var(--w2-red) !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w8-sec2 { margin-top: 8px; font-size: 13px; line-height: 21px; color: #495057 !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w8-main .w2-tag { font-style: normal; font-weight: inherit; color: var(--w2-red) !important; }
.w8-main .w2-empty { margin: 0; padding: 14px 0; font-size: 14px; line-height: 22px; color: #6c757d !important; }

/* 목록 사이: 선 + 위 여백 (항목 종류별 a60 값) */
.w8-item + .w8-item { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e8e8e9; }
.w8-latest .w8-item + .w8-item, .w8-wz .w8-item + .w8-item, .w8-cd2 .w8-item + .w8-item { margin-top: 24px; padding-top: 24px; }
.w8-lined .w8-item + .w8-item { margin-top: 16px; padding-top: 16px; }
.w8-txt .w8-item + .w8-item { margin-top: 16px; padding-top: 0; border-top: 0; }
.w8-txt.w8-lined .w8-item + .w8-item { padding-top: 16px; border-top: 1px solid #e8e8e9; }
.w8-sec.w8-lined .w8-flex + .w8-item, .w8-sec.w8-lined .w8-item + .w8-item { margin-top: 16px; padding-top: 16px; }
.w8-wz .w8-cont, .w8-latest .w8-cont, .w8-sec .w8-cont { padding-top: 2px; }

/* 광고 자리 */
.w8-main .w2-ad { margin: 0 0 40px; text-align: center; line-height: 0; overflow: hidden; }
.w8-main .w2-ad img { max-width: 100%; height: auto; }
.w8-inner > .w2-ad-wide { margin: 24px 0 0; }
.w8-inner > .w8-hl + .w2-ad-wide { margin-top: 24px; }
.w8-ad-band { margin: 0 0 40px !important; }

/* 헤드라인: 1200×400, 배경 #333028 */
.w8-hl { display: flex; height: 400px; margin: 0; background: #333028; }
.w8-hl-main { position: relative; flex: 0 0 852px; width: 852px; height: 400px; overflow: hidden; }
.w8-hl-item { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.w8-hl-item.on { opacity: 1; visibility: visible; z-index: 1; }
.w8-hl-img { position: absolute; inset: 0; display: block; line-height: 0; }
.w8-hl-img:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 50%); }
.w8-hl-img img, .w8-hl-img .w2-noimg { width: 100%; height: 400px; object-fit: cover; }
.w8-hl-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 80px 24px 40px; }
.w8-hl-cap strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 40px; line-height: 50px; font-weight: 700; letter-spacing: -1px !important; color: #fff !important; word-break: keep-all; }
.w8-hl-cap .w2-tag { color: #fff !important; }
.w8-hl-list { flex: 0 0 348px; display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.w8-hl-list li { flex: 0 0 100px; height: 100px; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.08); }
.w8-hl-list li:first-child { border-top-color: transparent; }
.w8-hl-list a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.75px !important; color: rgba(255,255,255,.75) !important; word-break: keep-all; }
.w8-hl-list li.on { background: var(--w2-red); }
.w8-hl-list li.on a { color: #fff !important; }
.w8-hl-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 3단 (a60 ly01): 220 | 32 | 1+32+550+32+1 | 32 | 300 */
.w8-grid { display: flex; align-items: stretch; }
.w8-ly01 { gap: 32px; }
.w8-c1 { flex: 0 0 220px; width: 220px; padding: 40px 0; }
.w8-c2 { flex: 0 0 616px; width: 616px; padding: 40px 32px; border-left: 1px solid #e8e8e9; border-right: 1px solid #e8e8e9; }
.w8-c3 { flex: 0 0 300px; width: 300px; padding: 40px 0; float: none !important; }
.w8-c1 > :last-child, .w8-c2 > :last-child, .w8-c3 > :last-child, .w8-sub-a > :last-child, .w8-sub-b > :last-child, .w8-ly03-r > :last-child { margin-bottom: 0; }

/* 오피니언: 동그란 사진 48 + 라벨 + 제목 16px */
.w8-op .w8-item + .w8-item { margin-top: 20px; padding-top: 20px; }

/* 동영상(Shorts): 220×330 세로 */
.w8-shorts-v { position: relative; width: 100%; aspect-ratio: 2 / 3; margin: 0 0 12px; background: #000; overflow: hidden; }
.w8-shorts-v iframe { display: block; width: 100%; height: 100%; border: 0; }
.w8-shorts-cover { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; line-height: 0; }
.w8-shorts-cover img, .w8-shorts-cover .w2-noimg { width: 100%; height: 100%; object-fit: cover; }
.w8-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0,0,0,.6); }
.w8-play:after { content: ""; position: absolute; left: 22px; top: 18px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.w8-shorts .w8-capm { margin-top: 0 !important; }

/* 가운데: 첫 기사 */
.w8-lead .w8-flex { align-items: flex-start; }

/* 오른쪽: 사진 72 목록 */
.w8-rs .w8-flex { align-items: flex-start; }

/* 회색 띠 (a60 ly02): #f8f9fa, 위아래 40 */
.w8-band { padding: 40px 0; background: #f8f9fa; }
.w8-ly02 { display: flex; gap: 65px; }
.w8-band-l { flex: 0 0 835px; width: 835px; padding-left: 1px; }
.w8-band-r { flex: 0 0 300px; width: 300px; }
.w8-band .w8-box { margin: 0; }
.w8-c3-row { display: flex; gap: 24px; }
.w8-c3-item { flex: 0 0 262px; width: 262px; }
.w8-c3-item .w8-capm { margin-right: 12px !important; }
.w8-slide .w8-item + .w8-item { border-top-color: #d2d2d4; }
.w8-dots { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.w8-dots button { display: block; width: 10px; height: 10px; margin: 0; padding: 0; border: 1px solid rgba(0,0,0,.176); border-radius: 50%; background: #fff; font-size: 0; cursor: pointer; }
.w8-dots button.on { border-color: transparent; background: var(--w2-red); }

/* 아래 3단 (a60 ly03): [550 | 선 | 220] 선 | 300 */
.w8-ly03 { display: flex; gap: 32px; }
.w8-ly03-l { flex: 0 0 868px; width: 868px; border-right: 1px solid #e8e8e9; }
.w8-ly03-r { flex: 0 0 300px; width: 300px; padding: 40px 0; }
.w8-sub { display: flex; gap: 32px; }
.w8-sub-a { flex: 0 0 583px; width: 583px; padding: 40px 32px 40px 0; border-right: 1px solid #e8e8e9; }
.w8-sub-b { flex: 0 0 220px; width: 220px; padding: 40px 0; }

/* 사진 220×124 + 왼쪽 위 검정 라벨 */
.w8-cd2-item { position: relative; }
.w8-badge { position: absolute; left: 0; z-index: 2; padding: 4px 12px; background: rgba(0,0,0,.8); font-size: 13px; line-height: 21px; font-weight: 500; color: #fff !important; white-space: nowrap; }
.w8-cd2 .w8-item + .w8-item .w8-badge { top: 25px; }
.w8-cd2 .w8-head + .w8-item .w8-badge { top: 0; }
.w8-cd2 .w8-capm { margin: 12px 4px 0 !important; }

/* 이슈포커스: 위아래 검정 3px */
.w8-issue { padding: 20px 32px 32px 0; border-top: 3px solid #000; border-bottom: 3px solid #000; }
.w8-issue-in { display: flex; align-items: flex-start; }
.w8-ovcard { position: relative; display: block; flex: 0 0 282px; width: 282px; height: 188px; }
.w8-ovcard + .w8-ovcard { margin-left: 20px; }
.w8-ov { width: 282px; height: 188px; }
.w8-ov:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 50%); }
.w8-ovcap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 24px 16px 20px; }
.w8-ovcap strong { font-size: 17px; line-height: 25px; font-weight: 500; color: #fff !important; max-height: 50px; }
.w8-issue-list { flex: 0 0 220px; width: 220px; margin-left: 31px; }
.w8-issue-list a { display: block; }
.w8-issue-list a + a { margin-top: 20px; }

/* 많이 본 기사 / 섹션별 BEST: 세리프 번호 */
.w8-num { display: flex; }
.w8-no { flex: 0 0 40px; width: 40px; font-family: "PT Serif", serif !important; font-size: 24px; line-height: 28.8px; font-weight: 700; color: #000; }
.w8-num a { flex: 1; min-width: 0; }
.w8-tabs { display: flex; gap: 10px; margin: 0; padding: 0; border: 0; list-style: none; }
.w8-tabs li { flex: none; }
.w8-tabs li + li { border: 0; }
.w8-tabs button { height: auto; padding: 0; border: 0; background: none; font-family: var(--w2-font); font-size: 13px; line-height: 21px; font-weight: 400; letter-spacing: -0.5px; color: #6c757d; cursor: pointer; box-shadow: none; }
.w8-tabs button.on { color: var(--w2-red); font-weight: 600; background: none; box-shadow: none; }
.w8-best .w8-head { flex-wrap: wrap; row-gap: 6px; }
.w8-hr { margin: 32px 0; border-top: 1px solid #d2d2d4; }
.w8-main .w2-ad + .w8-hr { margin-top: -8px; }

/* 중앙 섹션 이미지형 카드 */
.w8-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }

/* 포토뉴스 어두운 띠 (a60 ly04): #333028, 위아래 40, 사진 282×159 4장 */
.w8-photo { margin: 0; padding: 40px 0; background: #333028; }
.w8-photo .w8-head h2, .w8-photo .w8-head h2 a { font-size: 20px; line-height: 24px; font-weight: 700; color: #fff !important; }
.w8-photo-view { position: relative; }
.w8-photo-clip { margin: 0 -12px; overflow: hidden; }
.w8-photo-track { display: flex; transition: transform .4s; }
.w8-photo-item { flex: 0 0 306px; width: 306px; padding: 0 12px; }
.w8-ph { width: 282px; height: 159px; background: #444; }
.w8-photo h3 { font-size: 17px; line-height: 25px; font-weight: 400; color: #fff !important; }
.w8-photo h3.w8-capm { margin: 12px 12px 0 4px !important; }
.w8-arrow { position: absolute; top: 55px; z-index: 3; width: 48px; height: 48px; padding: 0; border: 1px solid #000; border-radius: 800px; background: #fff; cursor: pointer; }
.w8-arrow:after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -7px; border-top: 2px solid #000; border-right: 2px solid #000; transform: rotate(45deg); }
.w8-prev { left: -24px; }
.w8-prev:after { margin-left: -3px; transform: rotate(-135deg); }
.w8-next { right: -24px; }
.w8-arrow:disabled { opacity: 0; pointer-events: none; }

/* 하단 섹션 4열 */
.w8-main-bottom { padding-top: 40px !important; }
.w8-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.w8-bottom .w8-box { margin-bottom: 40px; }
.w8-bottom .w8-capm { margin: 12px 4px 0 !important; }

/* 주간 HOT 이슈: a60 처럼 5건씩 두 묶음 (묶음 사이 66px) */
.w8-hot .w8-item:nth-child(6) { margin-top: 66px; }
