/* =========================================================
   AI메트로 — 언론사형 포털 레이아웃 (2026.10 리뉴얼)
   참고: AI타임스(메가메뉴·헤드라인·많이 본 기사) · AI매터스(카드형 섹션·인기 기사)
   style.css 위에 덮어쓰는 방식 — 모든 공개 페이지에서 함께 로드
   ========================================================= */

:root {
  --px-navy: #0b1b3a;
  --px-navy-2: #142a55;
  --px-red: #e8412c;
  --px-blue: #2e62ff;
  --px-text: #111827;
  --px-sub: #4b5563;
  --px-muted: #8b93a1;
  --px-line: #e5e7eb;
  --px-line-2: #d1d5db;
  --px-bg: #ffffff;
  --px-soft: #f4f6f9;
  --px-wrap: 1240px;
  --px-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* 기존 웹진 토큰을 언론사 톤으로 재매핑 → 하위 페이지도 함께 바뀜 */
  --ink: var(--px-navy);
  --paper: #ffffff;
  --paper-2: var(--px-soft);
  --line: var(--px-line);
  --accent: var(--px-red);
  --accent-ink: #c2321f;
  --sans: var(--px-sans);
}

body { background: var(--px-bg); color: var(--px-text); font-family: var(--px-sans); letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-family: var(--px-sans); letter-spacing: -0.025em; }
body.px-lock { overflow: hidden; }
.px-wrap { max-width: var(--px-wrap); margin: 0 auto; padding: 0 24px; }
.px-only-m { display: none !important; }

/* ───────── HEADER ───────── */
.px-header { position: relative; z-index: 50; background: #fff; }
.px-util { background: var(--px-navy); color: #c9d2e3; font-size: 12.5px; }
.px-util-in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.px-util-links { display: flex; gap: 18px; }
.px-util-links a { color: #c9d2e3; }
.px-util-links a:hover { color: #fff; }

.px-mast-in { display: flex; align-items: center; gap: 28px; height: 92px; }
.px-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--px-navy); flex-shrink: 0; }
.px-brand:hover { color: var(--px-navy); }
.px-logo { display: inline-flex; align-items: center; gap: 0; padding: 10px 10px; background: var(--px-navy); border-radius: 10px; }
.px-logo i { width: 10px; height: 10px; border-radius: 50%; background: #fff; display: block; }
.px-logo i:last-child { background: var(--px-red); }
.px-logo b { width: 16px; height: 3px; background: #fff; display: block; }
.px-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.px-brand-text strong { font-size: 30px; font-weight: 900; letter-spacing: -0.04em; }
.px-brand-text small { font-size: 11.5px; color: var(--px-muted); font-weight: 500; margin-top: 5px; letter-spacing: 0; }
.px-brand-sm .px-brand-text strong { font-size: 22px; }
.px-brand-sm .px-brand-text small { display: none; }
.px-brand-inv, .px-brand-inv:hover { color: #fff; }
.px-brand-inv .px-logo { background: #fff; }
.px-brand-inv .px-logo i { background: var(--px-navy); }
.px-brand-inv .px-logo i:last-child { background: var(--px-red); }
.px-brand-inv .px-logo b { background: var(--px-navy); }
.px-brand-inv .px-brand-text small { color: #9aa6bd; }

.px-search { flex: 1; max-width: 440px; margin-left: auto; display: flex; align-items: center; border: 2px solid var(--px-navy); border-radius: 999px; padding: 0 6px 0 18px; height: 46px; background: #fff; }
.px-search input[type="search"] { flex: 1; border: 0; outline: 0; font: inherit; font-size: 14.5px; background: transparent; min-width: 0; color: var(--px-text); }
.px-search button { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--px-navy); color: #fff; }
.px-search button svg { width: 18px; height: 18px; }
.px-mast-actions { display: flex; align-items: center; gap: 10px; }
.px-nl-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--px-red); color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.px-nl-btn:hover { background: #cf3420; color: #fff; }
.px-nl-btn svg { width: 16px; height: 16px; }
.px-nl-block { display: flex; justify-content: center; margin-top: 20px; height: 48px; }

.px-icon { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--px-navy); }
.px-icon:hover { background: var(--px-soft); }
.px-icon svg { width: 22px; height: 22px; }

/* GNB */
.px-gnb { background: #fff; border-top: 1px solid var(--px-line); border-bottom: 3px solid var(--px-navy); position: relative; }
.px-header.is-stuck { padding-bottom: 57px; }
.px-header.is-stuck .px-gnb { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 6px 20px rgba(11, 27, 58, .12); animation: pxDrop .25s ease; }
@keyframes pxDrop { from { transform: translateY(-100%); } to { transform: none; } }
.px-gnb-in { display: flex; align-items: center; height: 54px; gap: 4px; }
.px-gnb-home, .px-gnb-list a { display: inline-flex; align-items: center; height: 54px; padding: 0 16px; font-size: 16.5px; font-weight: 700; color: var(--px-text); position: relative; white-space: nowrap; }
.px-gnb-list { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
.px-gnb-list::-webkit-scrollbar { display: none; }
.px-gnb-home:hover, .px-gnb-list a:hover { color: var(--px-red); }
.px-gnb-home.is-active, .px-gnb-list .is-active a { color: var(--px-red); }
.px-gnb-home.is-active::after, .px-gnb-list .is-active a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -3px; height: 3px; background: var(--px-red); }
.px-allmenu { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--px-line-2); border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--px-navy); flex-shrink: 0; }
.px-allmenu svg { width: 18px; height: 18px; }
.px-allmenu:hover, .px-allmenu.is-open { background: var(--px-navy); color: #fff; border-color: var(--px-navy); }

.px-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--px-line); box-shadow: 0 18px 40px rgba(11, 27, 58, .12); }
.px-mega-in { display: grid; grid-template-columns: repeat(8, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 30px; }
.px-mega-head { display: block; font-weight: 800; font-size: 15px; color: var(--px-navy); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid var(--px-navy); }
.px-mega-col li a { display: block; padding: 5px 0; font-size: 14px; color: var(--px-sub); }
.px-mega-col li a:hover { color: var(--px-red); }

/* Ticker */
.px-ticker { background: var(--px-soft); border-bottom: 1px solid var(--px-line); }
.px-ticker-in { display: flex; align-items: center; gap: 14px; height: 42px; }
.px-ticker-label { flex-shrink: 0; font-size: 12px; font-weight: 800; color: #fff; background: var(--px-red); padding: 4px 10px; border-radius: 4px; }
.px-ticker-track { height: 42px; overflow: hidden; flex: 1; }
.px-ticker-track ul { transition: transform .5s ease; }
.px-ticker-track li { height: 42px; display: flex; align-items: center; }
.px-ticker-track a { font-size: 14px; font-weight: 500; color: var(--px-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
.px-ticker-track a em { color: var(--px-red); font-weight: 700; margin-right: 8px; }
.px-ticker-track a em::after { content: " |"; color: var(--px-line-2); font-weight: 400; }

/* Mobile drawer */
.px-drawer { position: fixed; inset: 0; background: rgba(11, 27, 58, .55); z-index: 100; }
.px-drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #fff; overflow-y: auto; padding: 16px 20px 32px; animation: pxSlide .22s ease; }
@keyframes pxSlide { from { transform: translateX(-100%); } to { transform: none; } }
.px-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.px-search-m { max-width: none; margin: 0 0 12px; height: 44px; }
.px-dr-home { display: block; padding: 14px 4px; font-weight: 800; font-size: 16px; border-bottom: 1px solid var(--px-line); }
.px-dr-group { border-bottom: 1px solid var(--px-line); }
.px-dr-group summary { list-style: none; cursor: pointer; padding: 14px 4px; font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; }
.px-dr-group summary::-webkit-details-marker { display: none; }
.px-dr-group summary::after { content: "+"; color: var(--px-muted); font-weight: 400; }
.px-dr-group[open] summary::after { content: "–"; }
.px-dr-group ul { padding: 0 4px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.px-dr-group li a { display: block; padding: 6px 0; font-size: 14px; color: var(--px-sub); }

/* auth widget 크기 정리 */
.px-mast-actions #authWidget .btn { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; background: var(--px-navy); }

/* ───────── FOOTER ───────── */
.px-footer { background: var(--px-navy); color: #b8c2d6; margin-top: 80px; padding: 56px 0 36px; font-size: 13.5px; }
.px-f-top { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.px-f-brand p { margin-top: 18px; line-height: 1.7; color: #9aa6bd; }
.px-f-cols { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; }
.px-f-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.px-f-col li a { display: block; padding: 3px 0; color: #9aa6bd; font-size: 13px; }
.px-f-col li a:hover, .px-f-links a:hover { color: #fff; }
.px-f-links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.px-f-links a { color: #dfe5f0; font-weight: 600; }
.px-f-links a:nth-child(2) { color: #fff; font-weight: 800; }
.px-f-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 20px 0 8px; color: #8d99b1; font-size: 12.5px; }
.px-f-legal a { color: #b8c2d6; }
.px-f-copy { color: #6f7c96; font-size: 12px; line-height: 1.7; margin-top: 8px; }

/* ───────── HOME: 공통 요소 ───────── */
.px-main { padding-top: 28px; }
.px-sec { margin-top: 56px; }
.px-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--px-navy); padding-bottom: 12px; margin-bottom: 22px; }
.px-sec-head h2 { font-size: 24px; font-weight: 900; color: var(--px-navy); display: flex; align-items: center; gap: 10px; }
.px-sec-head h2::before { content: ""; width: 6px; height: 22px; background: var(--px-red); border-radius: 2px; }
.px-sec-head p { font-size: 13.5px; color: var(--px-muted); margin-top: 4px; }
.px-more { font-size: 13.5px; font-weight: 700; color: var(--px-sub); white-space: nowrap; }
.px-more:hover { color: var(--px-red); }
.px-more::after { content: " ›"; }

.px-tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--px-red); letter-spacing: 0; }
.px-tag-box { display: inline-block; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--px-red); padding: 3px 9px; border-radius: 4px; }
.px-meta { font-size: 12.5px; color: var(--px-muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.px-meta span + span::before { content: "·"; margin-right: 6px; }
.px-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.px-clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
a.px-hl:hover .px-t { color: var(--px-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 썸네일 아트 — 이미지가 없을 때 카테고리 라벨로 생성 */
.px-art { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 10; background:
  radial-gradient(120% 90% at 85% 10%, hsl(var(--h, 218) 85% 62% / .9), transparent 55%),
  radial-gradient(90% 80% at 0% 100%, hsl(calc(var(--h, 218) + 40) 70% 45% / .85), transparent 60%),
  linear-gradient(135deg, hsl(var(--h, 218) 55% 22%), hsl(calc(var(--h, 218) + 20) 60% 12%)); }
.px-art::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px); }
.px-art::after { content: attr(data-label); position: absolute; right: 14px; bottom: 6px; font-size: clamp(22px, 4vw, 44px); font-weight: 900; color: rgba(255,255,255,.16); letter-spacing: -0.04em; line-height: 1; }
.px-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.px-art .px-tag-box { position: absolute; left: 12px; top: 12px; z-index: 2; }
a:hover .px-art img, a:hover .px-art { transform: none; }
.px-zoom { overflow: hidden; border-radius: 10px; }
.px-zoom .px-art { transition: transform .4s ease; }
a:hover .px-zoom .px-art { transform: scale(1.04); }

/* ───────── HOME: TOP (헤드라인) ───────── */
.px-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 300px; gap: 28px; }

.px-lead { display: block; color: #fff; position: relative; border-radius: 14px; overflow: hidden; }
.px-lead .px-art { aspect-ratio: 4 / 3.1; border-radius: 14px; }
.px-lead .px-art::after { font-size: 88px; top: 18px; bottom: auto; }
.px-lead-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 80px 28px 26px; background: linear-gradient(transparent, rgba(5, 12, 28, .88)); }
.px-lead-body h2 { font-size: 30px; font-weight: 900; line-height: 1.3; margin: 12px 0 10px; color: #fff; }
.px-lead-body p { font-size: 15px; color: #d6dceb; line-height: 1.6; }
.px-lead-body .px-meta { color: #aab4c8; margin-top: 12px; }
.px-lead:hover, .px-lead:hover h2 { color: #fff; }
.px-lead:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.px-sublead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.px-card .px-t { font-size: 16.5px; font-weight: 700; line-height: 1.45; margin-top: 12px; color: var(--px-text); }
.px-card p { font-size: 13.5px; color: var(--px-sub); margin-top: 6px; line-height: 1.6; }
.px-card .px-meta { margin-top: 8px; }

.px-headlines h3, .px-rank h3 { font-size: 18px; font-weight: 900; color: var(--px-navy); padding-bottom: 12px; border-bottom: 2px solid var(--px-navy); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; }
.px-headlines h3 small { font-size: 12px; font-weight: 500; color: var(--px-muted); }
.px-hl-item { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--px-line); align-items: center; }
.px-hl-item .px-t { font-size: 15.5px; font-weight: 700; line-height: 1.45; color: var(--px-text); }
.px-hl-item .px-meta { margin-top: 6px; }
.px-hl-item .px-art { aspect-ratio: 4 / 3; border-radius: 8px; }
.px-hl-item .px-art::after { font-size: 18px; }

.px-rank { background: var(--px-navy); border-radius: 14px; padding: 22px 20px; color: #fff; align-self: start; }
.px-rank h3 { color: #fff; border-color: rgba(255,255,255,.25); }
.px-rank h3 small { font-size: 11.5px; font-weight: 500; color: #9aa6bd; }
.px-rank ol { counter-reset: rk; list-style: none; margin: 0; padding: 0; }
.px-rank li a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #e6ebf5; font-size: 14px; font-weight: 500; line-height: 1.45; }
.px-rank li:last-child a { border-bottom: 0; }
.px-rank li a::before { counter-increment: rk; content: counter(rk); font-size: 17px; font-weight: 900; color: #8fa3cc; font-style: italic; }
.px-rank li:nth-child(-n+3) a::before { color: var(--px-red); }
.px-rank li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.px-rank-cat { display: block; font-size: 11px; color: #8fa3cc; margin-top: 2px; font-weight: 600; }

.px-ad { margin-top: 18px; border: 1px dashed var(--px-line-2); border-radius: 12px; padding: 18px; text-align: center; background: var(--px-soft); }
.px-ad small { display: block; font-size: 10.5px; letter-spacing: .12em; color: var(--px-muted); font-weight: 700; }
.px-ad strong { display: block; font-size: 15px; color: var(--px-navy); margin: 6px 0 4px; }
.px-ad span { font-size: 12.5px; color: var(--px-sub); }
.px-ad:hover { border-color: var(--px-navy); }

/* ───────── AI 브리핑 ───────── */
.px-page-title { font-size: 28px; font-weight: 900; color: var(--px-navy); }
.px-brief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.px-brief { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--px-line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.px-brief:hover { border-color: var(--px-navy); }
.px-brief-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--px-muted); }
.px-brief-src { font-weight: 800; color: var(--px-navy); padding-left: 10px; border-left: 3px solid var(--px-blue); line-height: 1.2; }
.px-kind-research { border-left-color: #0e9f6e; }
.px-kind-gov { border-left-color: var(--px-red); }
.px-brief .px-t { font-size: 16.5px; font-weight: 800; line-height: 1.45; margin: 12px 0 8px; }
.px-brief .px-t a { color: var(--px-text); }
.px-brief .px-t a:hover { color: var(--px-blue); }
.px-brief p { font-size: 14px; line-height: 1.65; color: var(--px-sub); }
.px-brief-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; }
.px-brief-foot .px-tag { color: var(--px-blue); }
.px-brief-ai { font-size: 11px; font-weight: 700; color: var(--px-sub); background: var(--px-soft); border-radius: 4px; padding: 2px 7px; }
.px-brief-foot .px-more { margin-left: auto; }
.px-brief-note { font-size: 13px; line-height: 1.6; color: var(--px-sub); background: var(--px-soft); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.px-brief-note a { color: var(--px-navy); font-weight: 700; }
.px-brief-more { text-align: center; margin-top: 24px; }
.px-brief-more .px-btn[hidden] { display: none; }

/* ───────── HOME: 뉴스 (탭 + 그리드) ───────── */
.px-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.px-tabs button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--px-line-2); font-size: 13.5px; font-weight: 600; color: var(--px-sub); background: #fff; }
.px-tabs button:hover { border-color: var(--px-navy); color: var(--px-navy); }
.px-tabs button.is-on { background: var(--px-navy); border-color: var(--px-navy); color: #fff; }
.px-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.px-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.px-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--px-muted); background: var(--px-soft); border-radius: 12px; }

/* ───────── HOME: 오피니언 + 리포트 2단 ───────── */
.px-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; }
.px-op-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.px-op-card { display: flex; flex-direction: column; padding: 24px; border-radius: 14px; background: var(--px-soft); min-height: 230px; color: var(--px-text); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.px-op-card:hover { background: #fff; border-color: var(--px-navy); color: var(--px-text); }
.px-op-card .px-t { font-size: 19px; font-weight: 800; line-height: 1.4; margin: 10px 0 10px; }
.px-op-card p { font-size: 14px; color: var(--px-sub); line-height: 1.65; }
.px-op-by { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 10px; }
.px-av { width: 40px; height: 40px; border-radius: 50%; background: var(--px-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.px-av[data-h] { background: hsl(var(--h) 45% 32%); }
.px-op-by strong { font-size: 14px; display: block; }
.px-op-by small { font-size: 12px; color: var(--px-muted); display: block; }
.px-op-list { margin-top: 10px; }
.px-op-list a { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--px-line); align-items: baseline; }
.px-op-list .px-who { font-size: 13px; font-weight: 800; color: var(--px-navy); }
.px-op-list .px-t { font-size: 15px; font-weight: 600; color: var(--px-text); }

.px-rp-item { display: block; padding: 16px 0; border-bottom: 1px solid var(--px-line); }
.px-rp-item:first-child { padding-top: 0; }
.px-rp-venue { font-size: 11.5px; font-weight: 800; color: var(--px-blue); letter-spacing: .02em; }
.px-rp-item .px-t { font-size: 15.5px; font-weight: 700; line-height: 1.45; margin: 6px 0 6px; color: var(--px-text); }
.px-rp-item p { font-size: 13px; color: var(--px-sub); line-height: 1.6; }

/* ───────── HOME: 활용법 + 영상 (다크 밴드) ───────── */
.px-band { background: var(--px-navy); color: #fff; padding: 56px 0 60px; margin-top: 64px; }
.px-band .px-sec-head { border-color: rgba(255,255,255,.3); }
.px-band .px-sec-head h2 { color: #fff; }
.px-band .px-sec-head p { color: #9aa6bd; }
.px-band .px-more { color: #c9d2e3; }
.px-usage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.px-use-card { display: block; padding: 24px; border-radius: 14px; background: var(--px-navy-2); border: 1px solid rgba(255,255,255,.08); color: #fff; transition: transform .2s, border-color .2s; }
.px-use-card:hover { color: #fff; transform: translateY(-3px); border-color: rgba(255,255,255,.3); }
.px-use-num { font-size: 13px; font-weight: 900; color: var(--px-red); }
.px-use-card .px-t { font-size: 18px; font-weight: 800; line-height: 1.4; margin: 10px 0; }
.px-use-card p { font-size: 14px; color: #b8c2d6; line-height: 1.6; }
.px-use-card .px-tag { color: #8fb0ff; margin-top: 14px; }
.px-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.px-vid { display: block; color: #fff; }
.px-vid:hover { color: #fff; }
.px-vid-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.px-vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; opacity: .9; }
.px-vid:hover .px-vid-thumb img { transform: scale(1.04); opacity: 1; }
.px-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(232, 65, 44, .95); display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px; box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.px-vid .px-t { font-size: 15.5px; font-weight: 700; margin-top: 12px; }
.px-vid small { font-size: 12.5px; color: #9aa6bd; }

/* ───────── HOME: 필진 ───────── */
.px-authors { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.px-author { scroll-snap-align: start; border: 1px solid var(--px-line); border-radius: 14px; padding: 22px 20px; background: #fff; }
.px-author .px-av { width: 52px; height: 52px; font-size: 19px; }
.px-author strong { display: block; font-size: 17px; margin-top: 14px; }
.px-author small { display: block; font-size: 12.5px; color: var(--px-muted); margin-top: 2px; line-height: 1.5; }
.px-author p { font-size: 13.5px; color: var(--px-sub); margin-top: 12px; line-height: 1.6; }

/* ───────── HOME: AERI + 뉴스레터 ───────── */
.px-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.px-box { border-radius: 16px; padding: 36px; }
.px-box-aeri { background: var(--px-soft); }
.px-box-nl { background: linear-gradient(135deg, var(--px-red), #b82a5a); color: #fff; }
.px-box small { font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.px-box-aeri small { color: var(--px-blue); }
.px-box h2 { font-size: 26px; font-weight: 900; margin: 10px 0 12px; }
.px-box p { font-size: 15px; line-height: 1.7; }
.px-box-aeri p { color: var(--px-sub); }
.px-box-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.px-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--px-navy); color: var(--px-navy); }
.px-btn:hover { background: var(--px-navy); color: #fff; }
.px-btn-solid { background: var(--px-navy); color: #fff; }
.px-btn-solid:hover { background: var(--px-navy-2); }
.px-nl-form { display: flex; gap: 8px; margin-top: 22px; background: #fff; border-radius: 999px; padding: 6px; }
.px-nl-form input { flex: 1; border: 0; outline: 0; padding: 0 16px; font: inherit; font-size: 15px; min-width: 0; color: var(--px-text); background: transparent; }
.px-nl-form button { height: 44px; padding: 0 22px; border-radius: 999px; background: var(--px-navy); color: #fff; font-weight: 700; font-size: 14px; }
.px-nl-msg { margin-top: 10px; font-size: 13.5px; font-weight: 600; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1180px) {
  .px-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .px-rank { grid-column: 1 / -1; }
  .px-rank ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .px-mega-in { grid-template-columns: repeat(4, 1fr); }
  .px-f-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .px-util-links a:nth-child(n+3) { display: none; }
  .px-mast-in { height: 72px; gap: 12px; }
  .px-only-m { display: inline-flex !important; }
  .px-mast-in > .px-search, .px-nl-btn:not(.px-nl-block) { display: none; }
  .px-mast-actions { margin-left: auto; }
  .px-brand-text strong { font-size: 24px; }
  .px-brand-text small { display: none; }
  .px-allmenu { display: none; }
  .px-gnb-in { height: 48px; padding-right: 0; }
  .px-gnb-home, .px-gnb-list a { height: 48px; padding: 0 12px; font-size: 15px; }
  .px-top { grid-template-columns: 1fr; }
  .px-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-split, .px-duo { grid-template-columns: 1fr; }
  .px-usage, .px-videos, .px-brief-grid { grid-template-columns: 1fr 1fr; }
  .px-f-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .px-wrap { padding: 0 16px; }
  .px-util-links { display: none; }
  .px-lead .px-art { aspect-ratio: 4 / 4.2; }
  .px-lead-body { padding: 60px 18px 18px; }
  .px-lead-body h2 { font-size: 22px; }
  .px-lead-body p { display: none; }
  .px-sublead { grid-template-columns: 1fr 1fr; gap: 14px; }
  .px-card .px-t { font-size: 15px; }
  .px-card p { display: none; }
  .px-rank ol { grid-template-columns: 1fr; }
  .px-grid4, .px-grid3 { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .px-op-feature, .px-usage, .px-videos, .px-brief-grid { grid-template-columns: 1fr; }
  .px-sec-head { flex-wrap: wrap; }
  .px-sec-head h2 { font-size: 21px; }
  .px-box { padding: 26px 22px; }
  .px-f-cols { grid-template-columns: 1fr 1fr; }
  .px-mast-actions #authWidget .user-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .px-ticker-track ul, .px-zoom .px-art, .px-vid-thumb img { transition: none; }
}
