@charset "utf-8";
/* ==========================================================================
   wide02 모바일: 레드 포인트(#d71920), 고정 헤더 + 가로 스크롤 메뉴
   글꼴·자간·행간·여백은 참고 사이트(a60.ndsoftnews.net) 모바일 실측값:
   Inter + Noto Sans KR, 16px/24px, 자간 -0.5px, 좌우 여백 20px, 목록 제목 18px/26px 600,
   기사 제목 34px/44px 700, 기사 본문 18px 행간 1.72 문단 사이 27px
   기존 모바일 CSS(default.css, reset.css) 위에 덮어씁니다.
   ========================================================================== */
:root { --w2-red: #d71920; --w2-ink: #000; --w2-txt: #495057; --w2-sub: #6c757d; --w2-line: #e8e8e9; --w2-bg: #f8f9fa; --w2-font: Inter, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html, body { background: #fff; }
body, h1, h2, h3, h4, h5, h6, p, a, li, span, div, input, button, textarea, select, td, th, dt, dd {
	font-family: var(--w2-font); letter-spacing: -0.5px;
}
body { color: var(--w2-ink); font-size: 16px; line-height: 24px; -webkit-text-size-adjust: 100%; }
/* 좌우 여백 20px (부트스트랩 기본 15px) */
#main > .container, #footer > .container { padding-left: 20px; padding-right: 20px; }
a { color: var(--w2-ink); }
a:hover, a:focus { color: var(--w2-red); text-decoration: none; }
img { max-width: 100%; }

/* 헤더 (스크롤해도 위에 고정) */
#header.w2m-head { position: -webkit-sticky; position: sticky; top: 0; z-index: 900; margin: 0 0 20px; background: #fff; box-shadow: 0 1px 0 var(--w2-line); }
.w2m-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px; }
.w2m-menubtn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 0; background: none; cursor: pointer; float: none; font-size: 0; line-height: 0; }
.w2m-menubtn span { display: block; width: 22px; height: 2px; background: var(--w2-ink); }
.w2m-logo { position: absolute; left: 50%; top: 50%; width: auto; height: 40px; margin: 0; transform: translate(-50%, -50%); }
#header_logo.w2m-logo { top: 50%; width: auto; margin-left: 0; }
.w2m-logo a { display: block; height: 40px; }
#header_logo.w2m-logo a img, .w2m-logo img { width: auto; height: 40px; max-width: 200px; object-fit: contain; }
.w2m-report { display: block; padding: 6px 10px; border: 1px solid var(--w2-red); border-radius: 14px; font-size: 13px; line-height: 1; font-weight: 500; color: var(--w2-red); }
.w2m-searchbtn { width: 44px; height: 44px; line-height: 44px; text-align: center; float: none; }
#header_search.w2m-searchbtn i { font-size: 20px; }

/* 가로 스크롤 섹션 메뉴 */
.w2m-nav { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-top: 1px solid var(--w2-line); border-bottom: 2px solid var(--w2-ink); }
.w2m-nav::-webkit-scrollbar { display: none; }
.w2m-nav ul { display: flex; margin: 0; padding: 0 10px; white-space: nowrap; list-style: none; }
.w2m-nav li { flex: 0 0 auto; }
.w2m-nav a { position: relative; display: block; padding: 0 10px; height: 44px; line-height: 44px; font-size: 16px; font-weight: 500; color: var(--w2-txt); }
.w2m-nav a.on { color: var(--w2-red); font-weight: 700; }
.w2m-nav a.on:after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 3px; background: var(--w2-red); }
#header_search_bar { background: var(--w2-ink); }

/* 전체메뉴(왼쪽에서 열림) */
#mobile_menu #moblie_nav { background: #1a1a1a; }
#mobile_menu .mobile_logo, #mobile_menu .mobile_logo a { color: #fff; font-weight: 700; }
#mobile_menu .mobile_info a { border-radius: 3px; }
#mobile_menu ul > li > p a { font-size: 16px; font-weight: 700; }

/* 섹션 제목: 빨간 막대 */
.title_type01 h3, .title_type02 h3 { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -0.5px; color: var(--w2-ink); }
.title_type01 { margin-bottom: 20px; }
.title_type01 h3:before { width: 4px; background: var(--w2-red); }
.title_type02 { border-bottom: 2px solid var(--w2-ink); margin-bottom: 6px; }
.title_type01 a.write, .title_type01 a.back, .title_type01 button.write { border-color: var(--w2-red); color: var(--w2-red); }

/* 헤드라인: 사진 위 큰 제목 */
.main_headline { margin: 0 -20px 30px; }
.main_headline .hl_news_img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #ddd; }
.main_headline .hl_news_img img { width: 100%; height: 100%; object-fit: cover; }
.main_headline .hl_news_info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 28px; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0)); }
.main_headline .hl_news_info .info_title { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.75px; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.main_headline .swiper-slide > a { position: relative; display: block; }
.main_headline .swiper-pagination { bottom: 8px !important; }
.main_headline .swiper-pagination-bullet { background: #fff; opacity: .5; }
.main_headline .swiper-pagination-bullet-active { background: var(--w2-red); opacity: 1; }

/* 기사 목록 공통: 제목 글자 크게, 줄 간격 */
.info_title { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.5px; }
.info_text { font-size: 14px; line-height: 22px; color: var(--w2-sub); }
.news_list > li + li, .main_webzine_news .main_webzine_swiper ul li + li { margin-top: 24px; }
.webzine_news_img img, .photo_news_img img, .text_news_img img { border-radius: 4px; object-fit: cover; }
.swiper-pagination-bullet-active { background: var(--w2-red); }

/* 많이 본 뉴스 번호 */
.side_popular_news ul li span.color { color: var(--w2-red) !important; font-weight: 700; }
.side_popular_news ul li a { font-size: 17px; line-height: 25px; font-weight: 500; }
.side_popular_news ul li span { font-family: Inter, sans-serif; font-size: 18px; font-weight: 700; }

/* 광고 자리 */
.ad_banner { margin: 30px 0; text-align: center; overflow: hidden; }
.ad_banner img { max-width: 100%; height: auto; }
.w2m-ad-top { margin-top: 0; }
.w2m-ad-foot { margin: 30px 20px; }

/* 기사 보기: 읽기 편한 글자 크기 */
#news_info .news_view_title h3, #news_info .news_view_title h2, #news_info .news_view_title h1 { margin: 10px 0 16px; font-size: 34px; line-height: 44px; font-weight: 700; letter-spacing: -0.75px; word-break: keep-all; }
#news_info .news_view_title span.date { font-size: 14px; line-height: 21px; color: var(--w2-txt); }
#news_info .news_view_nav, #news_info .news_view_nav a { font-size: 18px; line-height: 27px; font-weight: 500; color: var(--w2-ink); }
#news_article { font-size: 18px; line-height: 1.72; color: var(--w2-ink); word-break: keep-all; overflow-wrap: break-word; }
#news_article p { margin: 0 0 1.5em; }
#news_article p, #news_article div, #news_article span { font-size: inherit; line-height: inherit; }
#news_article img { max-width: 100% !important; height: auto !important; }
#news_article iframe { max-width: 100%; }
#news_footer .news_writer a { color: var(--w2-red); }

/* 하단 */
#footer { background: #f8f9fa; border-top: 1px solid #d2d2d4; }
#footer_btn a.report { background: var(--w2-red); border-color: var(--w2-red); color: #fff; }
#footer_address, #footer_address * { font-size: 13px; line-height: 19.5px; color: #909294; }
.move_btn a { box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* 웹진형 목록: 제목 2줄, 요약 1줄로 맞춤 (사진 높이 80px) */
.webzine_news_info .info_title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; max-height: none; }
.webzine_news_info .info_text { margin-top: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.main_webzine_news .webzine_news_img, .main_webzine_news .webzine_news_img img { height: 84px; }
.main_webzine_news .webzine_news_img img { object-fit: cover; }

/* 줄 수 제한이 풀리는 경우를 대비해 높이로도 제한 */
.main_headline .hl_news_info .info_title { max-height: 64px; }
.webzine_news_info .info_title { max-height: 52px; }

/* ==========================================================================
   m51.ndsoftnews.net 참고 모바일 메인 (2026-11-26 실측, 375px 기준)
   포인트 색은 wide02 레드(var(--w2-red)). 참고 사이트는 파랑(#344cb7)
   ========================================================================== */
/* 헤더: 높이 56, 좌우 20, 로고 높이 32, 오른쪽 Menu 둥근 단추 */
#header.w2m-head { margin-bottom: 32px; box-shadow: none; border-bottom: 1px solid #f1f3f5; }
.w2m-bar { height: 56px; padding: 12px 20px; box-sizing: border-box; }
#header_logo.w2m-logo, .w2m-logo { position: static; transform: none; height: 32px; margin: 0; }
.w2m-logo a { height: 32px; }
#header_logo.w2m-logo a img, .w2m-logo img { height: 32px; max-width: 220px; }
.w2m-side { display: flex; align-items: center; gap: 8px; }
.w2m-menupill { height: 32px; padding: 0 20px; border: 1px solid #000; border-radius: 999px; background: #fff; font-family: var(--w2-font); font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: -0.5px; color: #000; cursor: pointer; }
.w2m-nav { display: none; }	/* m51 처럼 가로 섹션 메뉴 없이 Menu 단추로 전체메뉴. 다시 쓰려면 이 줄만 지우면 됩니다 */

/* 공통 */
.w2m-main { padding: 0 20px; overflow: hidden; }
.w2m-main .ad_banner { margin: 40px 0; }
.w2m-sec { margin: 64px 0 0; }
.w2m-tit { margin-bottom: 24px; }
.w2m-tit small { display: block; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.75px; color: #6c757d; }
.w2m-tit h2 { font-size: 28px; line-height: 38px; font-weight: 800; letter-spacing: -0.75px; color: #000; }
.w2m-main .w2-thumb { position: relative; display: block; overflow: hidden; background: #eee; line-height: 0; }
.w2m-main .w2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.w2m-main .w2-noimg { display: block; width: 100%; height: 100%; min-height: 40px; background: #eceff1 url("../../img/default/no_img.gif") center/40% no-repeat; }
.w2m-main a { color: #000; }
.w2m-main strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }

/* 헤드라인: 섹션 16px 600, 제목 32px/42px 800 자간 -1px, 사진 정사각 (화면 폭) */
.w2m-hl { margin: 0 -20px; }
.w2m-hl-txt { padding: 0 20px; }
.w2m-sec { }
.w2m-hl .w2m-sec, .w2m-hl-txt .w2m-sec { display: block; margin: 0 0 8px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--w2-red); }
.w2m-hl-txt strong { font-size: 32px; line-height: 42px; font-weight: 800; letter-spacing: -1px; max-height: 84px; }
.w2m-hl-img { display: block; margin-top: 24px; aspect-ratio: 1 / 1; overflow: hidden; background: #eee; }
.w2m-hl-img img, .w2m-hl-img .w2-noimg { width: 100%; height: 100%; object-fit: cover; }
.w2m-hl .swiper-pagination { position: static; margin-top: 12px; }
.w2m-hl .swiper-pagination-bullet { width: 8px; height: 8px; background: #ced4da; opacity: 1; }
.w2m-hl .swiper-pagination-bullet-active { width: 20px; border-radius: 4px; background: #000; }

/* 실시간 한 줄 */
.w2m-ticker { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 16px; border-radius: 8px; background: #f8f9fa; }
.w2m-ticker b { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--w2-red); }
.w2m-ticker a { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; color: #000; }

/* 오늘의 주요뉴스: 회색 상자, 사진 60x60, 제목 20px/28px 700, 요약 14px/22px */
.w2m-pick li + li { margin-top: 8px; }
.w2m-pick a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 4px; background: #f8f9fa; }
.w2m-pick-img { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 8px; overflow: hidden; }
.w2m-pick-img img, .w2m-pick-img .w2-noimg { width: 60px; height: 60px; object-fit: cover; }
.w2m-pick-txt { flex: 1; min-width: 0; }
.w2m-pick-txt strong { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.75px; max-height: 56px; }
.w2m-pick-txt em { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-style: normal; font-size: 14px; line-height: 22px; color: #495057; }

/* 2열 */
.w2m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 많이 본 뉴스: 사진 4:3, 흰 카드 + 번호 원 48 */
.w2m-most li a { display: block; }
.w2m-most-img { aspect-ratio: 4 / 3; border-radius: 8px 8px 0 0; }
.w2m-most-txt { position: relative; display: block; margin-top: -8px; padding: 0 12px 20px; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); text-align: center; }
.w2m-no { position: relative; top: -20px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: -12px; border: 2px solid #fff; border-radius: 50%; background: var(--w2-red); font-family: Inter, sans-serif; font-size: 22px; font-weight: 800; color: #fff; box-sizing: border-box; }
.w2m-most-txt strong { font-size: 16px; line-height: 24px; font-weight: 700; max-height: 48px; text-align: left; }
.w2m-most-txt em { display: block; margin-top: 8px; font-style: normal; font-size: 14px; line-height: 22px; color: var(--w2-red); text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 포토뉴스: 2열 엇갈림 (긴 사진 160x199, 짧은 사진 160x106) */
.w2m-masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.w2m-masonry li + li { margin-top: 24px; }
.w2m-masonry .w2-thumb { border-radius: 8px; margin-bottom: 8px; }
.w2m-masonry .tall .w2-thumb { aspect-ratio: 160 / 199; }
.w2m-masonry .short .w2-thumb { aspect-ratio: 160 / 106; }
.w2m-masonry strong { font-size: 14px; line-height: 22px; font-weight: 700; max-height: 44px; }

/* 영상뉴스: 어두운 띠 (#212529), 위 40 아래 48 */
.w2m-video { margin: 64px -20px 0; padding: 40px 20px 48px; background: #212529; }
.w2m-video .w2m-tit h2 { color: #fff; }
.w2m-video a { display: block; color: #fff; }
.w2m-video .w2-thumb { aspect-ratio: 16 / 9; border-radius: 4px; margin-bottom: 12px; }
.w2m-video strong { font-size: 14px; line-height: 22px; font-weight: 700; max-height: 44px; color: #fff !important; }
.w2m-play { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(0,0,0,.6); }
.w2m-play:after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.w2m-go { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 13px; line-height: 21px; font-weight: 600; color: #000; }

/* 최신뉴스: 큰 카드 (사진 16:9, 회색 글상자, 섹션 알약) */
.w2m-latest li + li { margin-top: 16px; }
.w2m-latest a { display: block; }
.w2m-latest .w2-thumb { aspect-ratio: 335 / 188; border-radius: 8px; }
.w2m-latest-txt { display: block; margin-top: -8px; padding: 28px 20px 20px; border-radius: 0 0 8px 8px; background: #f8f9fa; }
.w2m-badge { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: var(--w2-red); font-size: 14px; line-height: 22px; color: #fff; }
.w2m-latest-txt strong { font-size: 18px; line-height: 26px; font-weight: 700; max-height: 52px; }
.w2m-latest-txt time { display: block; margin-top: 8px; font-size: 13px; line-height: 19.5px; color: #495057; }
.w2m-more { display: block; width: 170px; margin: 24px auto 0; padding: 12px 0; border: 1px solid #000; border-radius: 999px; font-size: 14px; line-height: 16.8px; font-weight: 600; text-align: center; color: #000 !important; }

/* 섹션별 뉴스 (기존 모바일 스킨) */
.w2m-sections > * { margin-bottom: 40px; }

/* 푸터: 어두운 바탕 (#212529) */
.w2m-foot#footer { margin-top: 64px; padding: 0 0 48px; border: 0; background: #212529; color: #fff; }
.w2m-foot-svc { margin: 0 0 12px; padding: 40px 20px 0; }
.w2m-foot-svc ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.w2m-foot-svc a { font-size: 15px; line-height: 22.5px; color: rgba(255,255,255,.7); }
.w2m-foot-btns { display: flex; gap: 8px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.w2m-foot-btns a { flex: 1; padding: 10px 0; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 15px; line-height: 22.5px; font-weight: 500; text-align: center; color: #fff; }
.w2m-foot-body { padding: 32px 20px 0; }
.w2m-foot-logo img { height: 32px; width: auto; max-width: 200px; background: #fff; padding: 4px 8px; border-radius: 4px; }
.w2m-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 16px; }
.w2m-foot-nav a { font-size: 15px; line-height: 23px; font-weight: 700; color: #fff; }
.w2m-foot-addr, .w2m-foot-addr * { font-style: normal; font-size: 13px !important; line-height: 21px !important; color: rgba(255,255,255,.65) !important; }
.w2m-foot-maker { margin-top: 16px; }

/* 기존 default.css 의 #header_menu (28px, 높이 60) 를 덮어씀 */
#header_menu.w2m-menupill { float: none; height: 32px; line-height: 30px; font-size: 14px; padding: 0 20px; }

/* 모바일 전체기사 (bbs/all.php → mobile/skin/board/news/all.skin.php) */
.w2m-all { padding-top: 8px; }
.w2m-all-list li { border-bottom: 1px solid #f1f3f5; }
.w2m-all-list a { display: flex; gap: 14px; padding: 16px 0; }
.w2m-all-img { flex: 0 0 104px; width: 104px; height: 78px; border-radius: 8px; overflow: hidden; background: #eee; }
.w2m-all-img img, .w2m-all-img .w2-noimg { width: 104px; height: 78px; object-fit: cover; }
.w2m-all-txt { flex: 1; min-width: 0; }
.w2m-all-txt strong { font-size: 16px; line-height: 24px; font-weight: 700; max-height: 48px; }
.w2m-all-txt em { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-style: normal; font-size: 13px; line-height: 20px; color: #6c757d; }
.w2m-all-txt time { display: block; margin-top: 4px; font-size: 12px; line-height: 18px; color: #868e96; }
.w2m-all-empty { padding: 60px 0; text-align: center; color: #868e96; }
.w2m-all-pages { margin: 24px 0 0; text-align: center; }

/* 전체메뉴(왼쪽 메뉴): 스크롤 막대를 숨김. 내용이 길면 손가락으로 계속 스크롤됨 (2026-11-27) */
#mobile_menu #moblie_nav { overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
#mobile_menu #moblie_nav::-webkit-scrollbar { display: none; width: 0; height: 0; }
