/* ================================================================
 * FILE INDEX
 * ----------------------------------------------------------------
 * 파일명    : style.css
 * 경로      : /assets/css/style.css
 * 역할      : 여수포털뉴스 전역 반응형 스타일시트
 *             (헤더·GNB·뉴스카드·위젯·관리자 공통 스타일 포함)
 * 생성일    : 2025-01-01
 * 수정일    : 2026-05-01
 * 버전      : v3.3
 * Load-by   : includes/header.php (전 페이지 로드)
 * 섹터 구조  : sector-wrap 자체에 다열 분할 없음 (원칙2 준수)
 *              다열 분할은 sector-inner 안에서만 허용
 * 변경이력  :
 *   2026-05-01 | v3.3 | 원칙3 위반: 15px 11개 항목 16px 수정 (GNB링크외 본문기본)
 *   2026-04-23 | v3.2 | 원칙3 일괄 수정: 전체 14px 미만 123건 → 14px
 *                        8·9·10·11·11.5·12·12.5·13·13.5px 전부 14px 상향
 *   2026-04-23 | v3.1 | 원칙3 준수: 섹터4/5/6 관련 14px 미만 폰트 5건 수정
 *   2025-01-01 | v3.0 | 최초 작성
 * 참조      : /docs/PROJECT_RULES.md 원칙2(섹터 1행1열 100%), 원칙3(최소 폰트 14px)
 * ================================================================ */

/* ★ 2026-07-11: --primary / --primary-dark 하드코딩 제거
   PHP echoLayoutVars() → <style id="layout-vars"> :root { --primary: [DB값] }
   PHP echoPortalCssVars() → <style id="portal-vars"> :root { --primary: [포털색] }
   style.css에서 하드코딩하면 PHP 주입 이전 렌더링 시 잘못된 색(#c0392b) 표시(FOUC) 발생
   --primary-dark, --primary-light는 fallback으로 유지 (PHP가 재정의함) */
:root {
  /* --primary: PHP echoLayoutVars()가 DB값으로 주입 — 여기서 정의 않음 */
  --primary-dark:  #a93226;   /* fallback — PHP echoPortalCssVars()가 덮어씀 */
  --primary-light: #f9eae9;
  --secondary:     #e74c3c;
  --accent:        #f39c12;
  --text-dark:     #1a1a1a;
  --text-mid:      #444;
  --text-body:     #333;
  --text-muted:    #888;
  --border:        #ddd;
  --border-light:  #eee;
  --bg:            #ffffff;  /* 기본 배경: 흰색 */
  --white:         #fff;
  --bg-white:      #fff;        /* alias */
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
  --shadow-md:     0 4px 14px rgba(0,0,0,.12);
  --header-h:      90px;
  --gnb-h:         42px;
  --ticker-h:      36px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  /* nhis-design-system.css의 --nds-font-family가 !important로 우선 적용됨
     여기는 nhis-design-system.css 미로드 시 폴백용 */
  font-family: 'Pretendard GOV', 'Pretendard', 'Noto Sans KR', '맑은 고딕', Malgun Gothic, -apple-system, sans-serif;
  font-size: 16px; /* 원칙3: 15px→16px (본문 기본) */
  line-height: 1.6;
  /* 배경·텍스트색: layout-vars 인라인 스타일이 !important로 최종 결정.
     여기서는 CSS 파일이 layout-vars보다 먼저 로드되므로 단순 기본값만 제공. */
  color: var(--text-dark, #333);
  background: var(--bg, #ffffff);
}
a { color: inherit; text-decoration: none; }
/* 프리셋 link_color 반영: --link-color 우선, 없으면 --primary */
a:hover { color: var(--link-hover, var(--primary)); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── 공통 레이아웃 ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.clearfix::after { content: ''; display: table; clear: both; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#site-header {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12px;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 48px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 340px;
}
.header-search input {
  flex: 1;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  font-size: 14px;
  outline: none;
  transition: border .2s;
}
.header-search input:focus { border-color: var(--primary); }
.header-search button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.header-search button:hover { background: var(--primary-dark); }
.header-utils {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.header-utils a {
  padding: 4px 8px;
  border-radius: 4px;
  transition: background .2s;
}
.header-utils a:hover { background: var(--primary-light); color: var(--primary); }
.header-date {
  font-size: 14px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   메인 레이아웃 (2단 컬럼)
═══════════════════════════════════════════════ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  padding: 20px 0 30px;
}
.content-area { min-width: 0; }

/* ─── 섹션 헤더 ─── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-title i { font-size: 16px; } /* 원칙3: 15px→16px */
.section-more {
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .2s;
}
.section-more:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ═══════════════════════════════════════════════
   히어로 뉴스 그리드 (메인)
═══════════════════════════════════════════════ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-main {
  grid-column: 1;
  grid-row: 1 / 3;
}
.hero-sub { }

.hero-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;  /* 밝은 회색 플레이스홀더 */
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;           /* 밝은 테마: 충분한 밝기 */
  transition: opacity .3s, transform .3s;
}
.hero-card:hover img { opacity: .9; transform: scale(1.03); }
.hero-main .hero-card { height: 360px; }
.hero-sub .hero-card  { height: 175px; }

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));  /* 부드러운 오버레이 */
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.hero-badge.breaking { background: var(--accent); }
.hero-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.hero-main .hero-title { font-size: 20px; }
.hero-meta { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ═══════════════════════════════════════════════
   뉴스 카드 그리드
═══════════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 3), 1fr);
  gap: var(--grid-gap, 16px);
  margin-bottom: 20px;
}
.news-grid-2col { grid-template-columns: repeat(2, 1fr); }

.news-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .2s;
}
.news-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.13);
  transform: translateY(-2px);
}
.news-card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #ddd;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.06); }
.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  z-index: 1;
}
.card-badge.breaking { background: var(--accent); }
.news-card-body { padding: 12px; }
.news-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-dark);
}
.news-card-title:hover { color: var(--primary); }
.news-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 8px;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.news-card-meta .reporter { color: var(--primary); font-weight: 600; }
.news-card-meta .views i { margin-right: 2px; }

/* ═══════════════════════════════════════════════
   탭 뉴스 섹션
═══════════════════════════════════════════════ */
.tab-section { background: var(--white); border-radius: 6px; padding: 16px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 16px; }
.tab-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s;
}
.tab-btn.active,
.tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── 수평 뉴스 목록 (탭 패널 내부) ─── */
.news-hlist { display: flex; flex-direction: column; gap: 12px; }
.news-hitem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.news-hitem:last-child { border-bottom: none; padding-bottom: 0; }
.news-hitem-thumb {
  width: 90px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
}
.news-hitem-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-hitem-body { flex: 1; min-width: 0; }
.news-hitem-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.news-hitem-title:hover { color: var(--primary); }
.news-hitem-meta { font-size: 14px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   사이드바
═══════════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-widget {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.widget-header {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget-body { padding: 12px; }

/* 사이드 뉴스 목록 */
.side-news-list { display: flex; flex-direction: column; }
.side-news-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.side-news-item:last-child { border-bottom: none; }
.num-badge {
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #999;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.num-badge.top1 { background: var(--primary); }
.num-badge.top2 { background: #e74c3c; }
.num-badge.top3 { background: var(--accent); }
.side-news-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-dark);
}
.side-news-title:hover { color: var(--primary); }
.side-news-date { font-size: 14px; color: var(--text-muted); margin-top: 3px; }

/* 카테고리 사이드 */
.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-dark);
  transition: background .15s;
}
.cat-link:last-child { border-bottom: none; }
.cat-link:hover { background: var(--primary-light); color: var(--primary); }
.cat-link.active { color: var(--primary); font-weight: 700; background: var(--primary-light); }
.cat-count { font-size: 14px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   뉴스 목록 페이지
═══════════════════════════════════════════════ */
.list-page-header {
  background: var(--white);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--primary);
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.list-page-title { font-size: 18px; font-weight: 800; color: var(--primary); }

/* ─── 페이지네이션 ─── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-mid);
  background: var(--white);
  transition: all .15s;
}
.page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ─── 빈 상태 ─── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: var(--white);
  border-radius: 8px;
}
.empty-state i { font-size: 48px; margin-bottom: 16px; color: var(--border); }
.empty-state p { font-size: 16px; } /* 원칙3: 15px→16px */

/* ═══════════════════════════════════════════════
   기사 상세 페이지
═══════════════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  padding: 20px 0 30px;
}
.article-area { min-width: 0; }
.article-header {
  background: var(--white);
  border-radius: 6px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.article-category {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.article-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.article-subtitle {
  font-size: 16px; /* 원칙3: 15px→16px (기사 부제목) */
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.5;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 12px;
}
.article-meta i { margin-right: 3px; }
.article-share { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
  transition: opacity .2s;
}
.share-btn:hover { opacity: .8; }
.share-btn.kakao   { background: #fee500; color: #000; }
.share-btn.naver   { background: #03c75a; }
.share-btn.facebook{ background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.copy    { background: #666; }

.article-thumb {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
.article-body {
  background: var(--white);
  border-radius: 6px;
  padding: 24px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.article-body p { margin-bottom: 16px; }
.article-body h2,
.article-body h3 { font-weight: 700; margin-bottom: 10px; margin-top: 24px; color: var(--text-dark); }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  background: var(--primary-light);
  margin: 16px 0;
  color: var(--text-mid);
}

.article-reporter-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 20px;
  border: 1px solid var(--border-light);
}
.reporter-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* 이전/다음 기사 */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.art-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  transition: all .2s;
}
.art-nav-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.art-nav-btn.next { justify-content: flex-end; text-align: right; }
.art-nav-label { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.art-nav-title {
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
}

/* 관련 기사 */
.related-news { margin-top: 28px; }
.related-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ═══════════════════════════════════════════════
   검색 페이지
═══════════════════════════════════════════════ */
.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 600px;
}
.search-input {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  transition: border .2s;
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.search-btn:hover { background: var(--primary-dark); }

/* ═══════════════════════════════════════════════
   게시판
═══════════════════════════════════════════════ */
.board-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  font-size: 14px;
}
.board-table thead { background: #f8f8f8; }
.board-table th {
  padding: 11px 12px;
  font-weight: 700;
  color: var(--text-mid);
  border-bottom: 2px solid var(--primary);
  text-align: left;
}
.board-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  vertical-align: middle;
}
.board-table tr:last-child td { border-bottom: none; }
.board-table tr:hover td { background: #fafafa; }
.board-table .title-cell a { color: var(--text-dark); font-weight: 500; }
.board-table .title-cell a:hover { color: var(--primary); }
.board-table .num-cell,
.board-table .date-cell,
.board-table .view-cell { color: var(--text-muted); text-align: center; }

/* 게시글 작성/보기 폼 */
.board-form { background: var(--white); border-radius: 6px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text-mid); }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border .2s;
}
.form-control:focus { border-color: var(--primary); }
textarea.form-control { min-height: 160px; resize: vertical; }
.form-btn-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
}
.btn {
  padding: 9px 22px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
/* 프리셋 btn_primary_bg 반영: --btn-primary-bg 우선, 없으면 --primary */
.btn-primary { background: var(--btn-primary-bg, var(--primary)); color: var(--btn-primary-text, #fff); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #eee; color: var(--text-mid); }
.btn-secondary:hover { background: #ddd; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #c82333; }

/* ═══════════════════════════════════════════════
   관리자 페이지
═══════════════════════════════════════════════ */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: #1e2740; color: #cfd8e3; }
.admin-logo { padding: 20px 16px; background: #161e30; border-bottom: 1px solid #2c3552; }
.admin-logo span { font-size: 16px; font-weight: 700; color: #fff; } /* 원칙: 15px→16px */
.admin-nav { padding: 10px 0; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  color: #cfd8e3;
  transition: background .15s, color .15s;
}
.admin-nav a:hover,
.admin-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a i { width: 18px; text-align: center; color: rgba(255,255,255,.5); }
.admin-nav-sep { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.3); padding: 14px 18px 6px; letter-spacing: 1px; text-transform: uppercase; }
.admin-main { background: #f2f4f8; }
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e0e4ed;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.admin-topbar h1 { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.admin-content { padding: 24px; }
.admin-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  overflow: hidden;
}
.admin-card-header {
  padding: 14px 20px;
  border-bottom: 1px solid #e8ecf1;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-card-body { padding: 20px; }

/* 통계 카드 */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.stat-icon.red    { background: var(--primary); }
.stat-icon.green  { background: #27ae60; }
.stat-icon.blue   { background: #2980b9; }
.stat-icon.orange { background: var(--accent); }
.stat-value { font-size: 26px; font-weight: 800; color: var(--text-dark); }
.stat-label { font-size: 14px; color: var(--text-muted); }

/* ─── 배지 ─── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger  { background: #f8d7da; color: #721c24; }

/* ─── 알림 ─── */
.alert {
  padding: 12px 16px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ═══════════════════════════════════════════════
   로그인 페이지
═══════════════════════════════════════════════ */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c0392b 0%, #7b0000 100%);
  padding: 20px;
}
.login-box {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-logo h1 { font-size: 22px; font-weight: 900; color: var(--primary); }
.login-logo p  { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */

.footer-brand .brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; color: #64748b; }

.footer-col h4 { font-size: 14px; font-weight: 700; color: #334155; margin-bottom: 12px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--primary, #c0392b); }

.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--primary, #c0392b); }

/* ─── 모바일 메뉴 버튼 ─── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
}

/* ═══════════════════════════════════════════════
   반응형 - 태블릿 (≤ 1024px)
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .main-layout,
  .article-layout { grid-template-columns: 1fr 240px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-main .hero-card { height: 280px; }
  .hero-sub .hero-card  { height: 134px; }
  .related-news-grid { grid-template-columns: repeat(2, 1fr); }
  
  
}

/* ═══════════════════════════════════════════════
   반응형 - 모바일 (≤ 768px)
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }

  /* 헤더 */
  .header-top { flex-wrap: wrap; gap: 8px; }
  .header-search { max-width: 100%; order: 3; flex: 1 1 100%; }
  .header-utils { display: none; }
  .header-date { display: none; }

  /* GNB - 아래 @media(max-width:900px) 블록에서 처리하므로 여기선 삭제
     (#gnb 전체를 숨기면 s3-bar 자체가 사라져 햄버거 버튼도 안 보임) */

  /* 레이아웃 */
  .main-layout,
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }

  /* 히어로 */
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-main { grid-column: 1; grid-row: 1; }
  .hero-main .hero-card { height: 220px; }
  .hero-sub .hero-card  { height: 150px; }

  /* 뉴스 그리드 */
  .news-grid { grid-template-columns: 1fr; }
  .related-news-grid { grid-template-columns: 1fr; }

  /* 관리자 */
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }

  /* 기사 */
  .article-title { font-size: 18px; }
  .article-nav { grid-template-columns: 1fr; }

  /* 푸터 */
  
  

  /* 게시판 */
  .board-table .num-cell,
  .board-table .view-cell { display: none; }

  /* 탭 */
  .tab-btn { padding: 8px 10px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════
   반응형 - 소형 모바일 (≤ 480px)
═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
  .article-meta { flex-direction: column; align-items: flex-start; }
  .article-share { margin-left: 0; }
  .logo-title { font-size: 18px; }
  .hero-main .hero-card { height: 180px; }
  .hero-sub { display: none; }
}

/* ─── 유틸리티 ─── */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.flex-1 { flex: 1; }
.fw-bold { font-weight: 700; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.bg-white { background: var(--white); }
.rounded { border-radius: 6px; }
.p-16 { padding: 16px; }
.gap-10 { gap: 10px; }

/* ═══════════════════════════════════════════════
   관리자 레이아웃 추가 스타일
═══════════════════════════════════════════════ */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: #1e2740;
  color: #cfd8e3;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2c3552 #1e2740;
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: #1e2740; }
.admin-sidebar::-webkit-scrollbar-thumb { background: #2c3552; border-radius: 4px; }

/* ── adm-logo ── */
.adm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  background: #161e30;
  border-bottom: 1px solid #2c3552;
  text-decoration: none;
  flex-shrink: 0;
}
.adm-logo-icon {
  width: 32px; height: 32px;
  background: var(--primary, #c0392b);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; flex-shrink: 0; /* 원칙3: 15px→16px */
}
.adm-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.adm-logo-text small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  margin-top: 1px;
}

/* ── adm-nav ── */
.adm-nav {
  padding: 8px 0;
  flex: 1;
}

/* ── 단일 링크 (대시보드) ── */
.adm-nav > a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: background .15s, color .15s;
  border-left: 2px solid transparent;
}
.adm-nav > a:hover { background: rgba(255,255,255,.07); color: #fff; }

/* ── adm-group (아코디언 그룹) ── */
.adm-group { border-bottom: 1px solid rgba(255,255,255,.04); }

.adm-group-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  user-select: none;
  transition: background .15s, color .15s;
  position: relative;
}
.adm-group-hd:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.adm-group-hd.open  { color: #fff; background: rgba(255,255,255,.05); }

/* 번호 뱃지 */
.adm-num {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #2c3552;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.adm-group-hd.open .adm-num {
  background: var(--primary, #c0392b);
  color: #fff;
}

/* 화살표 아이콘 */
.adm-arrow {
  margin-left: auto;
  font-size: 14px;
  color: rgba(255,255,255,.3);
  transition: transform .2s;
}
.adm-group-hd.open .adm-arrow { transform: rotate(90deg); }

/* ── adm-sub (서브메뉴) ── */
.adm-sub {
  display: none;
  background: rgba(0,0,0,.18);
  padding: 4px 0;
}
.adm-sub.open { display: block; }

.adm-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 38px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: background .12s, color .12s;
  border-left: 2px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-sub a i {
  font-size: 14px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.3);
}
.adm-sub a:hover {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
}
.adm-sub a:hover i { color: rgba(255,255,255,.65); }
.adm-sub a.active {
  background: rgba(59,130,246,.18);
  color: #93c5fd;
  border-left-color: #3b82f6;
  font-weight: 600;
}
.adm-sub a.active i { color: #93c5fd; }

/* ── adm-sidebar-foot ── */
.adm-sidebar-foot {
  padding: 10px 0;
  border-top: 1px solid #2c3552;
  margin-top: auto;
}
.adm-sidebar-foot a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
}
.adm-sidebar-foot a:hover { color: rgba(255,255,255,.85); }
.adm-sidebar-foot a i { font-size: 14px; width: 14px; }

.admin-logo {
  padding: 18px 16px;
  background: #161e30;
  border-bottom: 1px solid #2c3552;
  font-size: 16px; /* 원칙3: 15px→16px (관리자 사이드바) */
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  color: #cfd8e3;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-left-color: var(--primary);
}
.admin-nav-item i { width: 18px; text-align: center; }
.admin-main { background: #f2f4f8; min-height: 100vh; }
.admin-header {
  background: #fff;
  border-bottom: 1px solid #e0e4ed;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-title { font-size: 16px; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; }
.admin-content { padding: 24px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; flex-shrink: 0;
}
.stat-icon.red    { background: var(--primary); }
.stat-icon.green  { background: #27ae60; }
.stat-icon.blue   { background: #2980b9; }
.stat-icon.orange { background: var(--accent); }
.stat-value { font-size: 26px; font-weight: 800; color: var(--text-dark); line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* 관리자 버튼 */
.btn-outline {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* 관리자 배지 */
.badge-red { background: #fde8e8; color: var(--primary); }
.badge-primary { background: var(--primary-light); color: var(--primary); }

/* 관리자 테이블 */
.admin-main .board-table td a { color: var(--primary); font-weight: 500; }
.admin-main .board-table .title-col { max-width: 300px; }
.admin-main .board-table .num { width: 50px; text-align: center; color: var(--text-muted); }

/* 폼 그룹 */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text-mid); }

/* 인증 페이지 */
.auth-wrapper {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #c0392b 0%, #7b0000 100%);
  padding: 20px;
}
.auth-box {
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px; width: 100%; max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.logo-main { font-size: 22px; font-weight: 900; color: var(--primary); }
.auth-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; text-align: center; }
.alert-error { background: #fde8e8; color: #a62828; border: 1px solid #f5c6cb; }

@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
   뉴스 웹진 위젯 7종 공통 스타일
   .wz-* 네임스페이스 / Pretendard 폰트 / 뉴스포털 컬러 시스템
   ════════════════════════════════════════════════════════════════ */

/* ── 공통 변수 ───────────────────────────────────────────────── */
.wz {
  --wz-red:      #d0021b;
  --wz-blue:     #1a5fa8;
  --wz-900:      #111111;
  --wz-800:      #222222;
  --wz-700:      #333333;
  --wz-600:      #555555;
  --wz-500:      #666666;
  --wz-400:      #888888;
  --wz-300:      #aaaaaa;
  --wz-200:      #cccccc;
  --wz-100:      #eeeeee;
  --wz-50:       #f8f8f8;
  --wz-border:   #e5e5e5;
  --wz-radius:   4px;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Noto Sans KR', sans-serif;
  font-size: 14px;
  color: var(--wz-700);
  box-sizing: border-box;
  background: #fff;
}
.wz *, .wz *::before, .wz *::after { box-sizing: inherit; }
.wz a { color: inherit; text-decoration: none; }
.wz a:hover { color: var(--wz-red); }
.wz img { display: block; width: 100%; height: auto; object-fit: cover; }

/* ── 공통 헤더 ───────────────────────────────────────────────── */
.wz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 9px;
  border-bottom: 2px solid var(--wz-900);
  margin-bottom: 12px;
}
.wz-head.center { justify-content: center; gap: 12px; }
.wz-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--wz-900);
  letter-spacing: -0.5px;
}
.wz-more {
  font-size: 14px;
  color: var(--wz-400);
  transition: color .12s;
}
.wz-more:hover { color: var(--wz-red); }

/* ── 공통 배지/레이블 ────────────────────────────────────────── */
.wz-cat {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--wz-red);
  letter-spacing: .3px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.wz-cat.sm { font-size: 14px; margin-bottom: 3px; }
.wz-cat.light { color: rgba(255,255,255,.9); }

.wz-breaking {
  display: inline-block;
  font-size: 14px;              /* 원칙3 수정: 10→14px */
  font-weight: 700;
  background: var(--wz-red);
  color: #fff;
  padding: 1px 5px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 4px;
}

/* 위젯 뉴스 제목 앞 [지역명] 배지 */
.wz-region-badge {
  display: inline;
  font-size: .8em;
  font-weight: 700;
  letter-spacing: -.2px;
  vertical-align: baseline;
  white-space: nowrap;
  margin-right: 2px;
}
.wz-region-badge.ni-badge-region  { color: #1565c0; }
.wz-region-badge.ni-badge-breaking { color: #c62828; }
.wz-region-badge.ni-badge-etc      { color: #6a1b9a; }
.wz-breaking.abs {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.wz-date {
  font-size: 14px;
  color: var(--wz-300);
  display: block;
  margin-top: 4px;
}
.wz-date.light { color: rgba(255,255,255,.7); }

.wz-empty {
  padding: 24px;
  text-align: center;
  color: var(--wz-300);
  font-size: 14px;
}

/* ── 이미지 플레이스홀더 ────────────────────────────────────── */
.wz-img-ph {
  background: var(--wz-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wz-300);
  font-size: 24px;
  width: 100%;
}
.wz-img-ph.lg  { height: 220px; font-size: 36px; }
.wz-img-ph.sm  { height: 72px;  font-size: 18px; }

/* ════════════════════════════════════════════════════════════════
   ① 웹진형_단독  .wz-solo
   이미지 풀와이드 + 제목 + 본문 + 링크 버튼
   ════════════════════════════════════════════════════════════════ */
.wz-solo-card {
  display: flex;
  flex-direction: column;
}
.wz-solo-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: var(--wz-radius) var(--wz-radius) 0 0;
}
.wz-solo-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .35s ease;
}
.wz-solo-img-wrap:hover .wz-solo-img { transform: scale(1.03); }
.wz-img-ph.wz-solo-img { height: 260px; font-size: 48px; }

.wz-solo-body {
  padding: 16px 0 4px;
}
.wz-solo-tit {
  font-size: 22px;
  font-weight: 800;
  color: var(--wz-900);
  line-height: 1.4;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
  word-break: keep-all;
}
.wz-solo-tit a:hover { color: var(--wz-red); }

.wz-solo-desc {
  font-size: 14px;
  color: var(--wz-600);
  line-height: 1.7;
  margin: 0 0 14px;
  word-break: keep-all;
}
.wz-solo-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-red);
  padding: 6px 14px;
  border: 1px solid var(--wz-red);
  border-radius: 2px;
  transition: background .12s, color .12s;
  margin-bottom: 10px;
}
.wz-solo-link:hover {
  background: var(--wz-red);
  color: #fff;
}
.wz-solo-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--wz-400);
  padding-top: 10px;
  border-top: 1px solid var(--wz-border);
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════════
   ② 웹진형_복합  .wz-complex
   좌: 메인 대형 / 우: 서브 목록
   ════════════════════════════════════════════════════════════════ */
.wz-complex-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0;
  border: 1px solid var(--wz-border);
}
.wz-complex-main {
  border-right: 1px solid var(--wz-border);
  padding-bottom: 14px;
}
.wz-complex-img-wrap {
  display: block;
  overflow: hidden;
  position: relative;
}
.wz-complex-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .3s ease;
}
.wz-complex-img-wrap:hover .wz-complex-img { transform: scale(1.03); }

.wz-complex-tit {
  font-size: 17px;
  font-weight: 700;
  color: var(--wz-900);
  line-height: 1.45;
  letter-spacing: -0.5px;
  word-break: keep-all;
  padding: 10px 14px 6px;
  display: block;
}
.wz-complex-tit a:hover { color: var(--wz-red); }

.wz-complex-desc {
  font-size: 14px;
  color: var(--wz-500);
  line-height: 1.6;
  padding: 0 14px;
  margin: 0;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-complex-main .wz-cat { padding: 0 0 0 14px; margin-top: 10px; display: block; }

.wz-complex-subs { list-style: none; margin: 0; padding: 0; }
.wz-complex-sub {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--wz-border);
  transition: background .12s;
}
.wz-complex-sub:last-child { border-bottom: none; }
.wz-complex-sub:hover { background: var(--wz-50); }

.wz-complex-sub-img-wrap { display: block; overflow: hidden; flex-shrink: 0; }
.wz-complex-sub-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  transition: transform .3s ease;
}
.wz-complex-sub-img-wrap:hover .wz-complex-sub-img { transform: scale(1.04); }

.wz-complex-sub-body { padding: 7px 10px 9px; }
.wz-complex-sub-tit {
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-900);
  line-height: 1.4;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .12s;
  margin-bottom: 3px;
}
.wz-complex-sub-tit:hover { color: var(--wz-red); }

/* ════════════════════════════════════════════════════════════════
   ③ 웹진형_호버  .wz-hover
   이미지 위에 텍스트 오버레이 (hover 시 등장)
   ════════════════════════════════════════════════════════════════ */
.wz-hover-grid {
  display: grid;
  gap: 2px;
}
.wz-hover-grid.wz-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wz-hover-grid.wz-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wz-hover-grid.wz-cols-4 { grid-template-columns: repeat(4, 1fr); }

.wz-hover-card {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.wz-hover-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
  background: var(--wz-100);
}
.wz-hover-card:hover .wz-hover-img { transform: scale(1.06); }

.wz-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.wz-hover-card:hover .wz-hover-overlay { transform: translateY(0); }

.wz-hover-tit {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  word-break: keep-all;
  margin: 3px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════
   ④ 웹진형_사진  .wz-photo
   이미지 중심 그리드, 캡션 하단
   ════════════════════════════════════════════════════════════════ */
.wz-photo-grid {
  display: grid;
  gap: 1px;
  background: var(--wz-border);
  border: 1px solid var(--wz-border);
}
.wz-photo-grid.wz-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wz-photo-grid.wz-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wz-photo-grid.wz-cols-4 { grid-template-columns: repeat(4, 1fr); }

.wz-photo-card { background: #fff; overflow: hidden; }
.wz-photo-img-wrap {
  display: block;
  overflow: hidden;
}
.wz-photo-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform .35s ease;
}
.wz-photo-img-wrap:hover .wz-photo-img { transform: scale(1.05); }
.wz-img-ph.wz-photo-img { height: 140px; }

.wz-photo-caption {
  padding: 8px 10px 10px;
}
.wz-photo-tit {
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-900);
  line-height: 1.4;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .12s;
}
.wz-photo-tit:hover { color: var(--wz-red); }

/* ════════════════════════════════════════════════════════════════
   ⑤ 웹진형_좌측  .wz-left
   이미지 좌 + 텍스트 우 수평 리스트
   ════════════════════════════════════════════════════════════════ */
.wz-left-list { list-style: none; margin: 0; padding: 0; }
.wz-left-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background .12s;
}
.wz-left-item:last-child { border-bottom: none; }
.wz-left-item:hover { background: var(--wz-50); }

.wz-left-img-wrap {
  flex: 0 0 100px;
  display: block;
  overflow: hidden;
}
.wz-left-img {
  width: 100px;
  height: 68px;
  object-fit: cover;
  transition: transform .3s ease;
}
.wz-left-img-wrap:hover .wz-left-img { transform: scale(1.05); }
.wz-img-ph.sm.wz-left-img { height: 68px; width: 100px; }

.wz-left-body { flex: 1; min-width: 0; }
.wz-left-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.wz-left-tit {
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-900);
  line-height: 1.45;
  letter-spacing: -0.3px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .12s;
  margin-bottom: 4px;
}
.wz-left-tit:hover { color: var(--wz-red); }

.wz-left-desc {
  font-size: 14px;
  color: var(--wz-500);
  line-height: 1.5;
  margin: 0 0 3px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════
   ⑥ 웹진형_우측  .wz-right
   텍스트 좌 + 이미지 우 수평 리스트
   ════════════════════════════════════════════════════════════════ */
.wz-right-list { list-style: none; margin: 0; padding: 0; }
.wz-right-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background .12s;
}
.wz-right-item:last-child { border-bottom: none; }
.wz-right-item:hover { background: var(--wz-50); }

.wz-right-body { flex: 1; min-width: 0; }
.wz-right-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.wz-right-tit {
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-900);
  line-height: 1.45;
  letter-spacing: -0.3px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .12s;
  margin-bottom: 4px;
}
.wz-right-tit:hover { color: var(--wz-red); }

.wz-right-desc {
  font-size: 14px;
  color: var(--wz-500);
  line-height: 1.5;
  margin: 0 0 3px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wz-right-img-wrap {
  flex: 0 0 100px;
  display: block;
  overflow: hidden;
}
.wz-right-img {
  width: 100px;
  height: 68px;
  object-fit: cover;
  transition: transform .3s ease;
}
.wz-right-img-wrap:hover .wz-right-img { transform: scale(1.05); }
.wz-img-ph.sm.wz-right-img { height: 68px; width: 100px; }

/* ════════════════════════════════════════════════════════════════
   ⑦ 웹진형_중앙  .wz-center
   이미지 상단 + 텍스트 하단 카드 그리드 (중앙 정렬)
   ════════════════════════════════════════════════════════════════ */
.wz-center-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--wz-border);
}
.wz-center-grid.wz-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wz-center-grid.wz-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wz-center-grid.wz-cols-4 { grid-template-columns: repeat(4, 1fr); }

.wz-center-card {
  border-right: 1px solid var(--wz-border);
  overflow: hidden;
  transition: background .12s;
}
.wz-center-card:last-child { border-right: none; }
.wz-center-card:hover { background: var(--wz-50); }

.wz-center-img-wrap {
  display: block;
  overflow: hidden;
  position: relative;
}
.wz-center-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform .35s ease;
}
.wz-center-card:hover .wz-center-img { transform: scale(1.04); }
.wz-img-ph.wz-center-img { height: 150px; }

.wz-center-body {
  padding: 10px 12px 12px;
  text-align: center;
}
.wz-center-body .wz-cat { display: block; text-align: center; }

.wz-center-tit {
  font-size: 14px;
  font-weight: 700;
  color: var(--wz-900);
  line-height: 1.45;
  letter-spacing: -0.3px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .12s;
  margin-bottom: 4px;
}
.wz-center-tit:hover { color: var(--wz-red); }

.wz-center-desc {
  font-size: 14px;
  color: var(--wz-500);
  line-height: 1.5;
  margin: 0 0 3px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-center-body .wz-date { text-align: center; }

/* ── 반응형 ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wz-complex-grid  { grid-template-columns: 1fr; }
  .wz-complex-main  { border-right: none; border-bottom: 1px solid var(--wz-border); }
  .wz-complex-subs  { display: grid; grid-template-columns: repeat(2, 1fr); }
  .wz-hover-grid.wz-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .wz-hover-grid.wz-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .wz-photo-grid.wz-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .wz-photo-grid.wz-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .wz-center-grid.wz-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .wz-center-grid.wz-cols-4 .wz-center-card:nth-child(2n) { border-right: none; }
  .wz-center-grid.wz-cols-4 .wz-center-card:nth-child(n+3) { border-top: 1px solid var(--wz-border); }
  /* 호버 오버레이: 모바일에서 항상 표시 */
  .wz-hover-overlay { transform: translateY(0); }
}
@media (max-width: 600px) {
  .wz-solo-img    { height: 200px; }
  .wz-solo-tit    { font-size: 18px; }
  .wz-hover-img   { height: 140px; }
  .wz-photo-img   { height: 110px; }
  .wz-left-img    { width: 80px; height: 56px; }
  .wz-right-img   { width: 80px; height: 56px; }
  .wz-left-img-wrap  { flex: 0 0 80px; }
  .wz-right-img-wrap { flex: 0 0 80px; }
  .wz-center-grid.wz-cols-3,
  .wz-center-grid.wz-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════════
   ⑧ 웹진형_목록  .wz-list
   번호 + (썸네일 옵션) + 제목 + 날짜 텍스트 리스트
   ════════════════════════════════════════════════════════════════ */
.wz-list-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wz-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background .12s;
}
.wz-list-item:last-child { border-bottom: none; }
.wz-list-item:hover      { background: var(--wz-50); }

/* 순위 번호 */
.wz-list-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wz-400);
  background: var(--wz-100);
  flex-shrink: 0;
  margin-top: 1px;
}
.wz-list-num.top1 { background: #d0021b; color: #fff; }
.wz-list-num.top2 { background: #e84393; color: #fff; }
.wz-list-num.top3 { background: #1a5fa8; color: #fff; }

/* 썸네일 (show_thumb=true) */
.wz-list-thumb-wrap {
  flex: 0 0 72px;
  display: block;
  overflow: hidden;
  border-radius: 3px;
}
.wz-list-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  transition: transform .3s ease;
}
.wz-list-thumb-wrap:hover .wz-list-thumb { transform: scale(1.05); }
.wz-img-ph.xs { width: 72px; height: 48px; font-size: 16px; }

/* 본문 */
.wz-list-body { flex: 1; min-width: 0; }
.wz-list-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
}
.wz-list-tit {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-900);
  line-height: 1.45;
  letter-spacing: -0.3px;
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .12s;
  margin-bottom: 4px;
}
.wz-list-tit:hover { color: var(--wz-red); }
.wz-list-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wz-views {
  font-size: 14px;
  color: var(--wz-400);
  display: flex;
  align-items: center;
  gap: 3px;
}
.wz-views i { font-size: 14px; }

/* ════════════════════════════════════════════════════════════════
   ⑨ 웹진형_탭  .wz-tab
   카테고리 탭 전환 + 기사 리스트 (첫 번째 기사 대형 썸네일)
   ════════════════════════════════════════════════════════════════ */
.wz-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--wz-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.wz-tab-nav::-webkit-scrollbar { display: none; }

.wz-tab-btn {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wz-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  font-family: inherit;
}
.wz-tab-btn:hover  { color: var(--wz-red); }
.wz-tab-btn.active {
  color: var(--wz-red);
  border-bottom-color: var(--wz-red);
}

/* 패널 전환 */
.wz-tab-panels { }
.wz-tab-panel  { display: none; }
.wz-tab-panel.active { display: block; animation: wzTabFade .2s ease; }
@keyframes wzTabFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* 탭 내부 리스트 */
.wz-tab-list { list-style: none; margin: 0; padding: 0; }
.wz-tab-item { padding: 0; }

/* 첫 기사 (대형) */
.wz-tab-top-img-wrap {
  display: block;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
}
.wz-tab-top-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform .35s ease;
}
.wz-tab-top-img-wrap:hover .wz-tab-top-img { transform: scale(1.04); }
.wz-tab-top-tit {
  display: block;
  font-size: 16px; /* 원칙3: 15px→16px */
  font-weight: 700;
  color: var(--wz-900);
  line-height: 1.45;
  letter-spacing: -0.4px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 5px;
  transition: color .12s;
}
.wz-tab-top-tit:hover { color: var(--wz-red); }

/* 서브 기사 (점·제목·날짜) */
.wz-tab-item:not(:first-child) {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 0;
  border-top: 1px solid #f5f5f5;
}
.wz-tab-dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wz-300);
  margin-top: 1px;
  flex-shrink: 0;
}
.wz-tab-sub-tit {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-900);
  line-height: 1.4;
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .12s;
}
.wz-tab-sub-tit:hover { color: var(--wz-red); }
.wz-tab-item:not(:first-child) .wz-date { flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════
   ⑩ 웹진형_동영상  .wz-video
   메인 YouTube embed 플레이어 + 서브 동영상 목록
   ════════════════════════════════════════════════════════════════ */
.wz-video-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 0;
  border: 1px solid var(--wz-border);
}

/* 메인 플레이어 영역 */
.wz-video-main {
  border-right: 1px solid var(--wz-border);
}
/* iframe 비율 고정 (16:9) */
.wz-video-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
}
.wz-video-frame {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* 썸네일 대체 */
.wz-video-thumb-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}
.wz-video-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.wz-video-thumb-wrap:hover .wz-video-thumb { transform: scale(1.04); }
.wz-video-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .2s;
}
.wz-video-thumb-wrap:hover .wz-video-play-icon { background: rgba(0,0,0,.5); }
.wz-video-play-icon i {
  font-size: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}

/* 메인 정보 */
.wz-video-info { padding: 12px 14px 14px; }
.wz-video-tit {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--wz-900);
  line-height: 1.45;
  letter-spacing: -0.4px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0 7px;
  transition: color .12s;
}
.wz-video-tit:hover { color: var(--wz-red); }
.wz-video-desc {
  font-size: 14px;
  color: var(--wz-500);
  line-height: 1.6;
  margin: 0 0 6px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 서브 목록 */
.wz-video-subs {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  max-height: 340px;
}
.wz-video-sub-item {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--wz-border);
  transition: background .12s;
  cursor: default;
}
.wz-video-sub-item:last-child  { border-bottom: none; }
.wz-video-sub-item:hover       { background: var(--wz-50); }
.wz-video-sub-item.active      { background: #fff8f8; border-left: 3px solid var(--wz-red); }
.wz-video-sub-item[data-video] { cursor: pointer; }

.wz-video-sub-thumb-wrap {
  flex: 0 0 90px;
  position: relative;
  overflow: hidden;
}
.wz-video-sub-thumb {
  width: 90px;
  height: 62px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.wz-video-sub-item:hover .wz-video-sub-thumb { transform: scale(1.05); }
.wz-video-sub-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
}
.wz-video-sub-play i { font-size: 16px; color: #fff; }

.wz-video-sub-body {
  flex: 1;
  min-width: 0;
  padding: 7px 10px 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wz-video-sub-tit {
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-900);
  line-height: 1.4;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .12s;
}
.wz-video-sub-tit:hover { color: var(--wz-red); }

/* ── 추가 반응형 (목록·탭·동영상) ─────────────────────────── */
@media (max-width: 900px) {
  .wz-video-layout { grid-template-columns: 1fr; }
  .wz-video-main   { border-right: none; border-bottom: 1px solid var(--wz-border); }
  .wz-video-subs   { display: grid; grid-template-columns: repeat(2, 1fr); max-height: none; }
  .wz-video-sub-item { border-bottom: 1px solid var(--wz-border); }
}
@media (max-width: 600px) {
  .wz-video-thumb  { height: 180px; }
  .wz-video-subs   { grid-template-columns: 1fr; }
  .wz-tab-top-img  { height: 130px; }
  .wz-list-tit     { font-size: 14px; }
  .wz-list-num     { width: 18px; height: 18px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════
   웹진형_헤드라인 (.wz-headline)
   연합뉴스형 Zone A: 대형 메인 + 서브 2×2 그리드
════════════════════════════════════════════════════════ */
.wz-headline { }

.wz-hl-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 12px;
  align-items: start;
}

/* 메인 카드 */
.wz-hl-main { position: relative; }
.wz-hl-main-link { display: block; text-decoration: none; }
.wz-hl-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--wz-radius);
  background: var(--wz-100);
  height: 360px;
}
.wz-hl-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wz-hl-main-link:hover .wz-hl-img { transform: scale(1.04); }

.wz-hl-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
}
.wz-hl-tit {
  margin: 6px 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-hl-sub {
  margin: 0 0 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-hl-meta { margin-top: 6px; }
.wz-hl-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
}
.wz-hl-bullets li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  padding: 1px 0 1px 10px;
  position: relative;
}
.wz-hl-bullets li::before {
  content: '▶';
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 3px;
  opacity: 0.7;
}
.wz-cat.light { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.3); }
.wz-date.light { color: rgba(255,255,255,0.75); }
.wz-breaking.abs { position: absolute; top: 8px; left: 8px; z-index: 2; }
.wz-breaking.abs.xs { font-size: 14px; padding: 2px 6px; }   /* 원칙3 수정: 9→14px */

/* 서브 그리드 */
.wz-hl-subs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 360px;
}
.wz-hl-sub-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--wz-50);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.wz-hl-sub-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.wz-hl-sub-img-wrap {
  position: relative;
  flex: 0 0 90px;
  overflow: hidden;
  background: var(--wz-100);
}
.wz-hl-sub-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.wz-hl-sub-item:hover .wz-hl-sub-img { transform: scale(1.05); }
.wz-hl-sub-body {
  flex: 1;
  padding: 7px 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.wz-hl-sub-tit {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-800);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-hl-sub-desc {
  margin: 0;
  font-size: 14px;
  color: var(--wz-400);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-img-ph.xl {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wz-100);
  color: var(--wz-300);
  font-size: 48px;
}
.wz-img-ph.sm {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wz-100);
  color: var(--wz-300);
  font-size: 24px;
}

/* ═══════════════════════════════════════════════════════
   웹진형_오피니언 (.wz-opinion)
════════════════════════════════════════════════════════ */
.wz-opinion { }

/* 카드형 */
.wz-op-grid {
  display: grid;
  gap: 12px;
}
.wz-op-cols-1 { grid-template-columns: 1fr; }
.wz-op-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wz-op-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wz-op-cols-4 { grid-template-columns: repeat(4, 1fr); }

.wz-op-card {
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.wz-op-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.09); }
.wz-op-card-top {
  padding: 14px 14px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--wz-100);
}
.wz-op-card-avatar, .wz-op-list-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 44px;
  background: var(--wz-100);
}
.wz-op-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wz-op-avatar-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--wz-300);
}
.wz-op-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-600);
}
.wz-op-card-body {
  padding: 10px 14px;
  flex: 1;
}
.wz-op-card-tit {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--wz-800);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-op-card-tit:hover { color: var(--wz-red); }
.wz-op-card-sub {
  font-size: 14px;
  color: var(--wz-500);
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-op-card-desc {
  font-size: 14px;
  color: var(--wz-400);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-op-card-foot {
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--wz-100);
}

/* 리스트형 */
.wz-op-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wz-op-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--wz-border);
}
.wz-op-list-item:last-child { border-bottom: none; }
.wz-op-list-body { flex: 1; min-width: 0; }
.wz-op-list-tit {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-800);
  text-decoration: none;
  margin: 3px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-op-list-tit:hover { color: var(--wz-red); }
.wz-op-list-sub {
  font-size: 14px;
  color: var(--wz-500);
  margin: 0 0 3px;
}

/* ═══════════════════════════════════════════════════════
   웹진형_랭킹 (.wz-ranking)
════════════════════════════════════════════════════════ */
.wz-ranking { }

.wz-rk-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--wz-border);
}
.wz-rk-tab {
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--wz-500);
  font-weight: 500;
  border-radius: 3px 3px 0 0;
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}
.wz-rk-tab:hover { color: var(--wz-800); }
.wz-rk-tab.active {
  color: var(--wz-red);
  font-weight: 700;
  border-bottom-color: var(--wz-red);
  background: #fff;
}

.wz-rk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wz-rk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--wz-100);
}
.wz-rk-item:last-child { border-bottom: none; }

.wz-rk-num {
  flex: 0 0 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--wz-400);
  line-height: 22px;
}
.wz-rk-item.top1 .wz-rk-num { color: var(--wz-red); font-size: 16px; }
.wz-rk-item.top2 .wz-rk-num { color: #e26b00; }
.wz-rk-item.top3 .wz-rk-num { color: var(--wz-blue); }

.wz-rk-body {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.wz-rk-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
}
.wz-rk-text { flex: 1; min-width: 0; }
.wz-rk-tit {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--wz-800);
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}
.wz-rk-tit:hover { color: var(--wz-red); }
.wz-rk-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wz-rk-views {
  font-size: 14px;
  color: var(--wz-400);
}
.wz-rk-views i { font-size: 14px; }
.wz-breaking.xs { font-size: 14px; padding: 2px 6px; }        /* 원칙3 수정: 9→14px */

/* ── 반응형 ── */
@media (max-width: 900px) {
  .wz-hl-layout { grid-template-columns: 1fr; }
  .wz-hl-subs { height: auto; grid-template-columns: 1fr 1fr; }
  .wz-hl-img-wrap { height: 240px; }
  .wz-img-ph.xl { height: 240px; }
  .wz-op-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .wz-op-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wz-hl-subs { grid-template-columns: 1fr; }
  .wz-hl-img-wrap { height: 180px; }
  .wz-img-ph.xl { height: 180px; }
  .wz-op-cols-4, .wz-op-cols-3, .wz-op-cols-2 { grid-template-columns: 1fr; }
  .wz-rk-thumb { display: none; }
}

/* ════════════════════════════════════════════════
   YNA형 위젯 4종 CSS
   yna_topnews / yna_ticker / yna_category / yna_breaking
   ════════════════════════════════════════════════ */

/* ── 공통 배지 ── */
.wz-yna-badge {
  display: inline-block;
  font-size: 14px; font-weight: 800;
  padding: 1px 5px; border-radius: 3px;
  margin-right: 4px; vertical-align: middle;
  line-height: 1.4;
}
.wz-yna-badge.breaking { background: #e74c3c; color: #fff; }
.wz-yna-badge.featured { background: #f59e0b; color: #fff; }
.wz-yna-badge.cat      { color: #fff; }
.wz-yna-badge.xs       { font-size: 14px; padding: 1px 4px; }

.wz-yna-badge-row {
  display: flex; align-items: center; gap: 4px;
  flex-wrap: wrap;
}

/* 공통 시간 표시 */
.wz-yna-time         { font-size: 14px; color: #999; display: block; margin-top: 4px; }
.wz-yna-time.sm      { font-size: 14px; }
.wz-yna-time.xs      { font-size: 14px; color: #bbb; }
.wz-yna-time.light   { color: rgba(255,255,255,.75); }

/* 공통 카테고리 라벨 */
.wz-yna-cat {
  font-size: 14px; font-weight: 700;
  display: block; margin-bottom: 5px;
}

/* ────────────────────────────────────────────────
   yna_topnews  – YNA형 상단뉴스
   ──────────────────────────────────────────────── */
.wz-yna-top {}

.wz-yna-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}

/* 좌: 대형 메인 */
.wz-yna-main {
  border-right: 1px solid #f0f0f0;
  padding-right: 20px;
}
.wz-yna-main-link { display: block; text-decoration: none; color: inherit; }
.wz-yna-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f5;
}
.wz-yna-img {
  width: 100%; height: 220px;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform .35s;
}
.wz-yna-main-link:hover .wz-yna-img { transform: scale(1.03); }
.wz-yna-img-wrap .wz-yna-badge-row {
  position: absolute; top: 8px; left: 8px;
}
.wz-yna-main-body { padding: 12px 0 0; }
.wz-yna-main-tit {
  font-size: 17px; font-weight: 800;
  color: #111; line-height: 1.42;
  margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.wz-yna-main-link:hover .wz-yna-main-tit { color: var(--wz-red, #c0392b); }
.wz-yna-main-sub {
  font-size: 14px; color: #555;
  line-height: 1.5; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.wz-yna-lead {
  font-size: 14px; color: #777; line-height: 1.6;
  margin: 6px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* 우: 서브 기사 목록 */
.wz-yna-sub-list {
  padding-left: 18px;
  display: flex; flex-direction: column;
}
.wz-yna-sub-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none; color: inherit;
  transition: background .1s;
}
.wz-yna-sub-item:last-child { border-bottom: none; }
.wz-yna-sub-item:hover .wz-yna-sub-tit { color: var(--wz-red, #c0392b); }

.wz-yna-sub-num {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: #e74c3c; color: #fff;
  font-size: 14px; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.wz-yna-sub-item:nth-child(n+4) .wz-yna-sub-num { background: #bbb; }

.wz-yna-sub-body { flex: 1; min-width: 0; }
.wz-yna-sub-tit {
  font-size: 14px; font-weight: 600; color: #222;
  line-height: 1.45; margin: 0 0 2px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}

.wz-yna-sub-thumb {
  width: 68px; height: 46px; flex-shrink: 0;
  object-fit: cover; border-radius: 3px;
  background: #f0f0f0;
}

/* ────────────────────────────────────────────────
   yna_ticker  – YNA형 속보 티커
   ──────────────────────────────────────────────── */
.wz-yna-ticker {
  display: flex; align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  height: 42px;
}

.wz-tick-label {
  flex-shrink: 0;
  background: #e74c3c; color: #fff;
  font-size: 14px; font-weight: 800;
  padding: 0 14px;
  height: 100%;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}

.wz-tick-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex; align-items: center;
}

@keyframes yna-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.wz-tick-track {
  display: flex; align-items: center;
  white-space: nowrap;
  animation: yna-ticker-scroll linear infinite;
  will-change: transform;
}

.wz-tick-item {
  display: inline-flex; align-items: center;
  padding: 0 24px;
  font-size: 14px; color: #222;
  text-decoration: none;
  transition: color .15s;
  position: relative;
}
.wz-tick-item::after {
  content: '·';
  position: absolute; right: 0;
  color: #ddd; font-size: 16px;
}
.wz-tick-item:hover { color: #e74c3c; }

.wz-tick-stop {
  flex-shrink: 0;
  width: 36px; height: 100%;
  background: #f5f5f5; border: none;
  border-left: 1px solid #eee;
  cursor: pointer; color: #888;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.wz-tick-stop:hover { background: #ffe; color: #e74c3c; }

/* ────────────────────────────────────────────────
   yna_category  – YNA형 카테고리 그리드
   ──────────────────────────────────────────────── */
.wz-yna-cat {}

.wz-yna-cat-grid {
  display: grid;
  gap: 20px;
}
.wz-yna-cat-grid.wz-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wz-yna-cat-grid.wz-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wz-yna-cat-grid.wz-cols-4 { grid-template-columns: repeat(4, 1fr); }

.wz-yna-cat-box {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.wz-yna-cat-head {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 2px solid #c0392b;
  background: #fafafa;
}
.wz-yna-cat-name {
  font-size: 14px; font-weight: 800;
  text-decoration: none;
  transition: opacity .15s;
}
.wz-yna-cat-name:hover { opacity: .75; }
.wz-yna-cat-more {
  font-size: 14px; color: #aaa;
  text-decoration: none;
  transition: color .15s;
}
.wz-yna-cat-more:hover { color: #c0392b; }

/* 첫 기사 카드 */
.wz-yna-cat-top {
  display: block; text-decoration: none; color: inherit;
  overflow: hidden;
}
.wz-yna-cat-img {
  width: 100%; height: 130px;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform .35s;
}
.wz-yna-cat-top:hover .wz-yna-cat-img { transform: scale(1.03); }
.wz-yna-cat-tit {
  font-size: 14px; font-weight: 700; color: #111;
  line-height: 1.45; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.wz-yna-cat-tit.top {
  padding: 8px 12px 10px;
  border-bottom: 1px solid #f0f0f0;
}
.wz-yna-cat-top:hover .wz-yna-cat-tit { color: var(--wz-red, #c0392b); }

/* 나머지 기사 목록 */
.wz-yna-cat-list {
  list-style: none; margin: 0; padding: 0;
}
.wz-yna-cat-list-item {
  display: flex; align-items: center;
  gap: 6px;
  padding: 7px 12px;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid #f8f8f8;
  transition: background .1s;
}
.wz-yna-cat-list-item:hover { background: #fafafa; }
.wz-yna-cat-list-item:hover .wz-yna-cat-list-tit { color: var(--wz-red, #c0392b); }
.wz-yna-cat-list-tit {
  flex: 1; min-width: 0;
  font-size: 14px; color: #333; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s;
}
.wz-empty.sm { font-size: 14px; padding: 16px; color: #bbb; text-align: center; }

/* ────────────────────────────────────────────────
   yna_breaking  – YNA형 속보·주요뉴스 그리드
   ──────────────────────────────────────────────── */
.wz-yna-breaking {}

.wz-yna-brk-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

/* 첫 번째 아이템(main) – 전체 높이 */
.wz-yna-brk-item { display: block; position: relative; overflow: hidden; text-decoration: none; }
.wz-yna-brk-item.main {
  grid-row: span 2;
}

.wz-yna-brk-img-wrap {
  position: relative; overflow: hidden;
  background: #111;
  height: 100%;
}
.wz-yna-brk-item.main .wz-yna-brk-img-wrap { height: 300px; }
.wz-yna-brk-item:not(.main) .wz-yna-brk-img-wrap { height: 148px; }

.wz-yna-brk-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform .35s, opacity .35s;
  opacity: .92;
}
.wz-yna-brk-item:hover .wz-yna-brk-img { transform: scale(1.04); opacity: 1; }

.wz-yna-brk-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 100%);
}
.wz-yna-brk-tit {
  font-size: 14px; font-weight: 700; color: #fff;
  line-height: 1.42; margin: 6px 0 0;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.wz-yna-brk-item.main .wz-yna-brk-tit { font-size: 17px; -webkit-line-clamp: 4; }

/* ────────────────────────────────────────────────
   YNA형 공통 placeholder
   ──────────────────────────────────────────────── */
.wz-img-ph.md {
  width: 100%; height: 130px;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f5; color: #ccc; font-size: 28px;
}

/* ── YNA형 반응형 ── */
@media (max-width: 960px) {
  .wz-yna-layout { grid-template-columns: 1fr; }
  .wz-yna-main  { border-right: none; padding-right: 0; border-bottom: 1px solid #f0f0f0; padding-bottom: 16px; margin-bottom: 4px; }
  .wz-yna-sub-list { padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 0; }
  .wz-yna-sub-item { width: 50%; padding: 8px 10px 8px 0; }
  .wz-yna-brk-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .wz-yna-brk-item.main { grid-row: span 1; }
  .wz-yna-brk-item.main .wz-yna-brk-img-wrap { height: 200px; }
}
@media (max-width: 640px) {
  .wz-yna-layout { gap: 0; }
  .wz-yna-img { height: 180px; }
  .wz-yna-cat-grid.wz-cols-3,
  .wz-yna-cat-grid.wz-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .wz-yna-cat-grid.wz-cols-2 { grid-template-columns: 1fr; }
  .wz-yna-brk-grid { grid-template-columns: 1fr; }
  .wz-yna-brk-item.main .wz-yna-brk-img-wrap,
  .wz-yna-brk-item:not(.main) .wz-yna-brk-img-wrap { height: 180px; }
  .wz-yna-sub-item { width: 100%; }
  .wz-tick-label { padding: 0 10px; font-size: 14px; }
  .wz-tick-item  { font-size: 14px; padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   [타이포그래피 강제 규칙] 최소 폰트 사이즈 14px
   ─────────────────────────────────────────────────────────────
   원칙: 본문·메뉴·제목 등 모든 주요 텍스트는 최소 14px 이상
   예외: 배지(badge)·날짜·날씨보조·카테고리레이블·조회수 등 보조 정보 12px 허용
   ─────────────────────────────────────────────────────────────
   이 규칙이 마지막에 선언되어 앞의 모든 규칙보다 우선 적용됨
   ═══════════════════════════════════════════════════════════════ */

/* 전역 최소 폰트 14px 강제 (예외 클래스 제외) */
body *:not(.badge):not(.soon-badge):not(.rh-menu-soon-badge):not(.gnb-an-count)
     :not([class*="-date"]):not([class*="-time"]):not([class*="-views"])
     :not([class*="cat-label"]):not([class*="weather-city"]):not([class*="weather-cond"])
     :not([class*="switch-label"]):not([class*="popular-views"]) {
  min-font-size: 14px; /* CSS4 표준 (미지원 브라우저 무시) */
}

/* ── 실질적 강제: font-size가 14px 미만인 핵심 UI 클래스 보정 ── */
.gnb-link, .gnb-sub-link, .gnb-an-name,
.rh-menu-name, .rh-more-link, .rh-switch-btn,
.rh-hero-keyword, .rh-region-badge,
.rh-headline-summary, .rh-headline-title--sm,
.news-card-title, .news-card-summary,
.ft-section-list a, .ft-portal-item,
.btn, .tag, .widget-title,
.gnb-ctx .gnb-link { font-size: max(14px, 1em); }

/* ── 예외 허용: 보조 정보 (최소 12px) ── */
.rh-headline-date, .rh-weather-city, .rh-weather-cond,
.rh-switch-label, .rh-popular-views, .rh-cat-label,
.gnb-an-count, .rh-menu-soon-badge, .soon-badge,
[class*="-badge"]:not(.rh-region-badge),
[class*="-date"], [class*="-time"],
.news-card-date { font-size: max(12px, 1em); }
