@charset "utf-8";
/* =========================================================
   국악피플 리뉴얼 스타일
   컬러 컨셉: 한지(바탕) · 먹(본문) · 단청 주홍(포인트) · 청록(보조)
   ========================================================= */

:root {
  --paper: #faf7f1;
  --paper-2: #f2ede3;
  --ink: #1b1a17;
  --ink-2: #4a4740;
  --ink-3: #8a857a;
  --line: #e2dccf;
  --red: #b0322a;        /* 단청 주홍 */
  --red-dark: #8c241e;
  --teal: #1f5c58;       /* 청록 */
  --gold: #b8913f;
  --white: #fff;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --wrap: 1240px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; }
.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; }

/* ---------- 썸네일 공통 ---------- */
.thumb {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 3 / 2;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover .thumb img { transform: scale(1.04); }
.thumb.is-empty img { display: none; }
.thumb.is-empty::after {
  content: '국악피플';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; color: var(--ink-3);
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,0,0,.025) 12px 13px),
    var(--paper-2);
}
.thumb .play {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: rgba(176, 50, 42, .92);
  display: flex; align-items: center; justify-content: center;
}
.thumb .play::before {
  content: ''; margin-left: 4px;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}

.cat-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: var(--red);
}
.meta { font-size: 13px; color: var(--ink-3); }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================================================
   헤더
   ========================================================= */
.topbar { background: var(--ink); color: #cfc9bc; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar-util { display: flex; gap: 18px; }
.topbar-date span + span::before { content: '·'; margin: 0 8px; opacity: .5; }

.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 110px; }
.logo { display: flex; align-items: center; }
.logo img { width: auto; height: 72px; }
.drawer-logo { width: auto; height: 40px; }
.header-slogan { font-family: var(--serif); color: var(--ink-2); font-size: 15px; text-align: center; }
.header-slogan b { color: var(--red); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 22px; height: 22px; }
.btn-report {
  height: 40px; padding: 0 18px; border-radius: 20px;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center;
}
.btn-report:hover { background: var(--red-dark); }
.menu-toggle { display: none; }

/* GNB */
.gnb-wrap {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow .2s;
}
.gnb-wrap.is-stuck { box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.gnb { display: flex; justify-content: space-between; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: block; padding: 0 6px; line-height: 54px;
  font-size: 17px; font-weight: 700;
  position: relative;
}
.gnb > li > a::after {
  content: ''; position: absolute; left: 6px; right: 6px; bottom: -2px; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .25s;
}
.gnb > li:hover > a::after, .gnb > li > a.is-active::after { transform: scaleX(1); }
.gnb > li > a.is-active { color: var(--red); }
.gnb .sub {
  position: absolute; left: 50%; top: 100%; min-width: 170px;
  transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  padding: 10px 0; opacity: 0; visibility: hidden; transition: .2s;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.gnb > li:hover .sub, .gnb > li:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 2px); }
.gnb .sub a { display: block; padding: 7px 20px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.gnb .sub a:hover { color: var(--red); background: var(--paper); }

/* 속보 티커 */
.ticker { background: var(--white); border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: center; height: 46px; gap: 16px; }
.ticker-label {
  flex: none; font-size: 13px; font-weight: 800; color: #fff; background: var(--red);
  padding: 3px 10px; border-radius: 2px;
}
.ticker-viewport { flex: 1; overflow: hidden; height: 24px; position: relative; }
.ticker-list { transition: transform .5s ease; }
.ticker-list li { height: 24px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.ticker-list a:hover { text-decoration: underline; }
.ticker-ctrl { display: flex; gap: 4px; }
.ticker-ctrl button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; color: var(--ink-2); }
.ticker-ctrl button:hover { border-color: var(--ink); }

/* 검색 레이어 */
.search-layer {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(27, 26, 23, .96);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 18vh;
  opacity: 0; visibility: hidden; transition: .25s;
}
.search-layer.is-open { opacity: 1; visibility: visible; }
.search-form { width: min(720px, 90%); }
.search-form label { display: block; color: #cfc9bc; font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
.search-row { display: flex; border-bottom: 2px solid #fff; }
.search-row input { flex: 1; background: none; border: 0; color: #fff; font-size: 28px; padding: 10px 0; outline: none; }
.search-row button { color: #fff; width: 56px; }
.search-row button svg { width: 28px; height: 28px; }
.search-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.search-tags a { color: #cfc9bc; border: 1px solid #555; border-radius: 16px; padding: 4px 14px; font-size: 14px; }
.search-tags a:hover { color: #fff; border-color: #fff; }
.search-close { position: absolute; right: 24px; top: 20px; color: #fff; }

/* 모바일 드로어 */
.drawer-dim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; opacity: 0; visibility: hidden; transition: .25s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86%);
  background: var(--paper); z-index: 210; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-dim { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 2px solid var(--ink); }
.drawer-head strong { font-family: var(--serif); font-size: 22px; }
.drawer-util { display: flex; gap: 8px; padding: 16px 20px; }
.drawer-util a { flex: 1; text-align: center; border: 1px solid var(--line); padding: 8px 0; font-size: 14px; background: #fff; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav > li > a, .drawer-nav > li > button {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 15px 20px; font-size: 17px; font-weight: 700; text-align: left;
}
.drawer-nav > li > button::after { content: '+'; font-weight: 400; font-size: 22px; color: var(--ink-3); }
.drawer-nav > li.is-open > button::after { content: '−'; }
.drawer-nav .sub { display: none; background: var(--paper-2); padding: 8px 0; }
.drawer-nav li.is-open .sub { display: block; }
.drawer-nav .sub a { display: block; padding: 8px 32px; font-size: 15px; color: var(--ink-2); }

/* =========================================================
   메인
   ========================================================= */
main { padding-bottom: 40px; }
.sec { padding: 48px 0 0; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px;
}
.sec-title { font-family: var(--serif); font-size: 26px; font-weight: 900; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.sec-title::before { content: ''; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.sec-more { font-size: 14px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; }
.sec-more::after { content: '→'; transition: transform .2s; }
.sec-more:hover { color: var(--red); }
.sec-more:hover::after { transform: translateX(3px); }

/* 히어로 */
.hero { padding-top: 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }
.hero-slider { position: relative; overflow: hidden; background: var(--ink); }
.hero-track { display: flex; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.hero-slide { flex: 0 0 100%; position: relative; }
.hero-slide .thumb { aspect-ratio: 16 / 10; }
.hero-slide .thumb::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,9,8,.88) 0%, rgba(10,9,8,.35) 45%, rgba(10,9,8,0) 70%);
}
.hero-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 36px 40px 64px; color: #fff; }
.hero-cap .cat-label { color: #fff; background: var(--red); padding: 3px 10px; margin-bottom: 14px; }
.hero-cap h2 { font-family: var(--serif); font-size: 34px; line-height: 1.35; font-weight: 900; letter-spacing: -.02em; }
.hero-cap p { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.82); max-width: 640px; }
.hero-nav { position: absolute; left: 40px; right: 40px; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 14px; color: #fff; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 28px; height: 3px; background: rgba(255,255,255,.4); transition: background .2s; }
.hero-dots button.is-active { background: #fff; }
.hero-arrows { margin-left: auto; display: flex; gap: 6px; }
.hero-arrows button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; font-size: 14px; }
.hero-arrows button:hover { background: #fff; color: var(--ink); }

.hero-side { display: flex; flex-direction: column; }
.hero-side-item { display: grid; grid-template-columns: 1fr 120px; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hero-side-item:first-child { padding-top: 0; }
.hero-side-item h3 { font-family: var(--serif); font-size: 18px; line-height: 1.45; font-weight: 700; margin: 4px 0 8px; }
.hero-side-item:hover h3 { color: var(--red); }
.hero-side-item .thumb { aspect-ratio: 1 / 1; }
.hero-side .editorial {
  margin-top: auto; padding: 22px 24px; background: var(--ink); color: #fff; display: block;
}
.hero-side .editorial .cat-label { color: var(--gold); }
.hero-side .editorial h3 { font-family: var(--serif); font-size: 19px; line-height: 1.5; margin-top: 6px; }
.hero-side .editorial:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* 카드 그리드 */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.card .thumb { margin-bottom: 14px; }
.card h3 { font-size: 17px; font-weight: 700; line-height: 1.45; margin: 4px 0 8px; }
.card p { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.card:hover h3 { color: var(--red); }

/* 2단 레이아웃 (본문 + 사이드) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }

/* 리스트형 */
.news-list > li + li { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 0; }
.news-list > li:first-child .news-row { padding-top: 0; }
.news-row h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.45; margin: 4px 0 10px; }
.news-row p { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.news-row:hover h3 { color: var(--red); }

/* 랭킹 */
.rank-box { background: #fff; border: 1px solid var(--line); padding: 24px; }
.rank-box .sec-head { margin-bottom: 8px; }
.rank-box .sec-title { font-size: 20px; }
.rank-list li { counter-increment: rank; }
.rank-list a { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; font-weight: 500; line-height: 1.45; }
.rank-list li:last-child a { border-bottom: 0; }
.rank-list a::before {
  content: counter(rank); flex: none;
  font-family: var(--serif); font-size: 22px; font-weight: 900; line-height: 1; color: var(--ink-3); width: 20px;
}
.rank-list li:nth-child(-n+3) a::before { color: var(--red); }
.rank-list a:hover { color: var(--red); }

.side-banner {
  margin-top: 24px; display: block; padding: 28px 24px; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.12) 0 60px, transparent 61px),
    linear-gradient(135deg, var(--teal), #133b38);
}
.side-banner strong { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.side-banner span { display: block; margin-top: 8px; font-size: 14px; opacity: .85; }
.side-banner em { display: inline-block; margin-top: 18px; font-style: normal; font-size: 14px; font-weight: 700; border-bottom: 1px solid; }

/* 탭 섹션 (국가유산) */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 20px; font-size: 14px; background: #fff; color: var(--ink-2);
}
.tabs button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel[hidden] { display: none; }
.heritage-band { background: var(--paper-2); padding: 48px 0 56px; margin-top: 56px; }
.heritage-band .sec { padding-top: 0; }

/* 영상·포토 다크 섹션 */
.media-band { background: var(--ink); color: #fff; padding: 56px 0; margin-top: 56px; }
.media-band .sec { padding: 0; }
.media-band .sec-head { border-color: rgba(255,255,255,.4); }
.media-band .sec-more { color: rgba(255,255,255,.6); }
.media-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.media-main h3 { font-family: var(--serif); font-size: 22px; line-height: 1.45; margin-top: 16px; }
.media-main p { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 8px; }
.media-main .thumb { aspect-ratio: 16 / 9; background: #000; }
.media-list { display: grid; gap: 20px; }
.media-list a { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; }
.media-list h4 { font-size: 16px; line-height: 1.45; font-weight: 600; }
.media-list .cat-label { color: var(--gold); }
.media-list a:hover h4, .media-main:hover h3 { color: var(--gold); }

/* 오피니언 */
.opinion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.opinion-card { display: block; background: #fff; border: 1px solid var(--line); padding: 28px; position: relative; transition: border-color .2s, transform .2s; }
.opinion-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.opinion-card::before { content: '“'; font-family: var(--serif); font-size: 64px; line-height: .6; color: var(--red); display: block; height: 28px; }
.opinion-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.5; margin: 6px 0 12px; }
.opinion-card p { font-size: 14px; color: var(--ink-2); }
.opinion-card .writer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* =========================================================
   서브: 목록 / 기사
   ========================================================= */
.page-head { padding: 40px 0 0; }
.breadcrumb { font-size: 13px; color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.page-title { font-family: var(--serif); font-size: 38px; font-weight: 900; letter-spacing: -.02em; margin: 10px 0 20px; }
.sub-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.sub-tabs::-webkit-scrollbar { display: none; }
.sub-tabs a { flex: none; padding: 12px 18px; font-size: 15px; color: var(--ink-2); position: relative; }
.sub-tabs a.is-active { color: var(--ink); font-weight: 700; }
.sub-tabs a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); }
.sub-tabs a:hover { color: var(--red); }
.list-tools { display: flex; justify-content: space-between; align-items: center; margin: 24px 0; font-size: 14px; color: var(--ink-3); }
.list-tools b { color: var(--red); }
.view-mode { display: flex; gap: 4px; }
.view-mode button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.view-mode button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.view-mode svg { width: 16px; height: 16px; }
.list-body.is-grid .news-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 24px; }
.list-body.is-grid .news-list > li + li { border-top: 0; }
.list-body.is-grid .news-row { grid-template-columns: 1fr; padding: 0; gap: 14px; }
.list-body.is-grid .news-row h3 { font-size: 18px; }
.empty { padding: 80px 0; text-align: center; color: var(--ink-3); }

.pagination { display: flex; justify-content: center; gap: 4px; margin: 48px 0 0; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; font-size: 14px;
}
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.pagination a:hover { border-color: var(--ink); }

/* 기사 본문 */
.article-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.article-title { font-family: var(--serif); font-size: 38px; line-height: 1.38; font-weight: 900; letter-spacing: -.02em; margin: 14px 0 16px; }
.article-head .lead { font-size: 19px; color: var(--ink-2); line-height: 1.65; border-left: 3px solid var(--red); padding-left: 16px; }
.article-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.article-info .meta span + span::before { content: '|'; margin: 0 10px; color: var(--line); }
.article-tools { display: flex; gap: 4px; }
.article-tools button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.article-tools button:hover { border-color: var(--ink); }
.article-tools svg { width: 16px; height: 16px; }
.article-body { padding: 36px 0; font-size: 18px; line-height: 1.9; color: #2a2823; }
.article-body.fs-1 { font-size: 16px; } .article-body.fs-3 { font-size: 20px; } .article-body.fs-4 { font-size: 22px; }
.article-body p { margin-bottom: 1.4em; }
.article-body figure { margin: 0 0 2em; }
.article-body figure .thumb { aspect-ratio: auto; }
.article-body figure img { width: 100%; height: auto; }
.article-body figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; line-height: 1.6; }
.article-body .video { position: relative; aspect-ratio: 16/9; margin-bottom: 2em; background: #000; }
.article-body .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-notice { font-size: 14px; color: var(--ink-3); background: var(--paper-2); padding: 12px 16px; margin-bottom: 1.6em; }
.byline { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 900; color: var(--red); }
.byline strong { display: block; }
.byline span { font-size: 13px; color: var(--ink-3); }
.article-copy { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.related { margin-top: 48px; }
.related .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 24px; font-size: 14px;
  opacity: 0; visibility: hidden; transition: .25s; z-index: 400;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* =========================================================
   푸터
   ========================================================= */
.footer { background: #12110f; color: #9a958a; font-size: 14px; margin-top: 64px; }
.footer-links { border-bottom: 1px solid #2a2824; }
.footer-links .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 18px; padding-bottom: 18px; }
.footer-links a { color: #cfc9bc; }
.footer-links a:hover { color: #fff; }
.footer-links a.strong { color: #fff; font-weight: 700; }
.footer-info .wrap { display: grid; grid-template-columns: auto 1fr; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.footer-logo img { width: auto; height: 56px; filter: brightness(0) invert(1); opacity: .9; }
.footer-info address { font-style: normal; line-height: 1.9; }
.footer-info address span { display: inline-block; margin-right: 16px; }
.footer-info .copy { margin-top: 12px; font-size: 13px; color: #6b675e; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
  .gnb > li > a { font-size: 15px; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}

@media (max-width: 900px) {
  .header-slogan, .topbar-util .hide-m, .btn-report { display: none; }
  .gnb-wrap { display: none; }
  .menu-toggle { display: inline-flex; }
  .header { position: sticky; top: 0; z-index: 100; }
  .header-main { height: 68px; }
  .logo img { height: 46px; }
  .hero-grid, .split, .media-grid { grid-template-columns: 1fr; }
  .hero-side .editorial { margin-top: 20px; }
  .opinion-grid { grid-template-columns: 1fr; }
  .card-grid, .related .card-grid, .list-body.is-grid .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .topbar-date span:last-child { display: none; }
  .hero { padding-top: 0; }
  .hero > .wrap { padding: 0; }
  .hero-side { padding: 20px 16px 0; }
  .hero-slide .thumb { aspect-ratio: 4 / 5; }
  .hero-cap { padding: 24px 20px 60px; }
  .hero-cap h2 { font-size: 24px; }
  .hero-cap p { display: none; }
  .hero-nav { left: 20px; right: 20px; bottom: 20px; }
  .hero-side-item { grid-template-columns: 1fr 96px; }
  .hero-side-item h3 { font-size: 16px; }
  .sec { padding-top: 40px; }
  .sec-title { font-size: 22px; }
  .card-grid, .related .card-grid { gap: 22px 14px; }
  .card h3 { font-size: 15px; }
  .card p { display: none; }
  .news-row { grid-template-columns: 1fr 110px; gap: 14px; }
  .news-row .thumb { order: 2; aspect-ratio: 1 / 1; }
  .news-row h3 { font-size: 16px; }
  .news-row p { display: none; }
  .list-body.is-grid .news-list { grid-template-columns: 1fr; }
  .list-body.is-grid .news-row .thumb { order: 0; aspect-ratio: 3/2; }
  .media-list a { grid-template-columns: 120px 1fr; }
  .page-title { font-size: 28px; }
  .article-title { font-size: 26px; }
  .article-head .lead { font-size: 16px; }
  .article-body { font-size: 17px; }
  .footer-info .wrap { grid-template-columns: 1fr; gap: 20px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .gnb-wrap, .ticker, .header-actions, .footer, .to-top, .article-tools, .related, aside { display: none !important; }
  .split { display: block; }
}
