/* ── Language Toggle ─────────────────────────── */
/* masthead 3-column grid 의 우측 셀. 셀 안에서 우측 끝으로 정렬. */
.lang-toggle {
  display: flex;
  gap: 1px;
  background: #e8e8e8;
  border-radius: 4px;
  padding: 1.5px;          /* 원래 얇은 모양 복구 */
  cursor: pointer;
  user-select: none;
  position: relative;      /* 아래 ::after(투명 터치영역) 기준 */
}
/* 모바일 터치 영역 확대 — 회색 박스(시각)는 그대로 두고 손가락 터치 타겟만 상하·좌우로 넉넉히.
   작은 박스 + click만으로 모바일에서 터치가 자주 씹히던 것 보완(클릭은 박스로 버블링). */
.lang-toggle::after {
  content: '';
  position: absolute;
  inset: -13px -12px;
}
.lang-toggle .lang-opt {
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  color: #999;
  border-radius: 3px;
  transition: all .15s;
  font-family: inherit;
  line-height: 1.4;
}
.lang-toggle .lang-opt.active {
  background: var(--black, #111);
  color: #fff;
}
/* about 등 단순 헤더: lang-toggle을 .masthead grid 우측 셀(1fr)에 직접 두면
   grid item 기본 stretch로 #e8e8e8 배경이 셀 폭(화면 절반)까지 늘어난다 —
   콘텐츠 크기로 우측 정렬해 KO/EN 만큼만 차지하게 한다. */
.masthead > .lang-toggle { justify-self: end; }
.masthead { position: relative; }

/* ── 헤더 우측 유틸 (언어 토글 + 구글 로그인) ── */
.masthead-utils {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* 우측 유틸: 2줄(액션 위 / 프로필·버튼 아래), 둘 다 우측 정렬 */
.auth-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 각 줄 내용폭 + 우측 끝 정렬 (로그인 CTA·구독 토글·프로필 모두) */
  text-align: right;
  gap: 7px;
  min-height: 56px;
  justify-content: center;
}
.auth-box:empty { min-height: 0; }
/* 아랫줄 프로필은 우측 정렬 */
.auth-prof { justify-content: flex-end; }
.auth-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border, #e2e2e2);
}
/* 이름+로그아웃 래퍼 — 데스크탑은 contents로 기존 한 줄 레이아웃 그대로, 모바일은 드롭다운 카드 */
.auth-menu { display: contents; }
.auth-prof {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black, #111);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-logout {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 4px;
}
.auth-logout:hover { color: var(--black, #111); }
/* 안내문(회색) + 구독 버튼 한 줄, 우측 정렬 */
.auth-subrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.auth-subprompt {
  font-size: 12px;
  color: var(--gray, #767676);
  white-space: nowrap;
}
.auth-subbtn {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: #4a4a4a;
  border: none;
  border-radius: 5px;
  padding: 2px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.auth-subbtn:hover { background: #333; }
.auth-subbtn:disabled { opacity: .6; cursor: default; }
/* 구독중: 차분한 톤(이미 구독한 상태) — 클릭하면 [구독하기]로 토글 */
.auth-subbtn.is-subscribed {
  color: #555;
  background: #ececec;
}
.auth-subbtn.is-subscribed:hover { background: #e0e0e0; }
/* 비로그인 CTA — "매일 아침…" + 구글 로고 한 줄 버튼.
   보이는 건 이 버튼, 실제 클릭은 투명 GIS 오버레이가 처리(.auth-gsi-overlay). */
.auth-login-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #3c4043;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  transition: background .15s, box-shadow .15s;
}
.auth-login-cta:hover { background: #f8f9fa; box-shadow: 0 1px 6px rgba(0, 0, 0, .12); }
.auth-login-text, .auth-google-logo { pointer-events: none; }
.auth-google-logo { width: 17px; height: 17px; flex-shrink: 0; }
.auth-gsi-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  z-index: 2;
}
.auth-gsi-overlay > div,
.auth-gsi-overlay iframe { width: 100% !important; height: 100% !important; }
@media (max-width: 760px) {
  .masthead-utils { gap: 8px; position: relative; }
  .auth-subprompt,
  .auth-login-text { display: none; } /* 모바일은 멘트 숨김 — 구독 버튼/구글 로고만 */
  .auth-login-cta { padding: 7px 10px; }
  .auth-name { max-width: 90px; }
  .auth-box { min-height: 44px; gap: 5px; }

  /* ── 로그인 상태(모바일): 헤더엔 구글 아이콘만. 탭하면 [아이디]/[구독]/[로그아웃] 드롭다운 ── */
  .auth-box .auth-subrow { display: none; } /* 닫힘: 헤더엔 아이콘만 */
  .auth-menu { display: none; }
  .auth-avatar { cursor: pointer; width: 36px; height: 36px; }

  /* 열림: auth-box 자체를 카드로. prof·menu는 contents로 풀어 한 평면에 order 정렬 */
  .auth-box.is-open {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border, #e3e3e3);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    z-index: 60;
  }
  .auth-box.is-open .auth-prof,
  .auth-box.is-open .auth-menu { display: contents; }
  .auth-box.is-open .auth-avatar { order: 1; width: 46px; height: 46px; }
  .auth-box.is-open .auth-name {
    order: 2;
    display: block;
    max-width: 170px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .auth-box.is-open .auth-subrow {
    order: 3;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .auth-box.is-open .auth-subbtn { width: 100%; }
  .auth-box.is-open .auth-logout { order: 4; display: inline-flex; font-size: 13px; }
}

/* ── Benchmark ticker ────────────────────────── */
.ticker-bar {
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
  height: 38px;
  overflow: hidden;
}
.live-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f00;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}
.ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 70s linear infinite;
}
.ticker-inner:hover {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  border-right: 1px solid #333;
}
.ticker-item .t-rank {
  color: #888;
  font-size: 12px;
}
.ticker-item .t-score {
  font-weight: 700;
  color: #4caf50;
}
.ticker-label {
  color: #000;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-right: none;
  padding: 2px 8px;
  background: #f5c518;
  border-radius: 4px;
  margin-right: 4px;
}

/* ── Charts row ──────────────────────────────── */
/* AX BRIEF Benchmark 6축 그리드 — 데스크탑 1×6, 모바일 3×2 가로형 (2026-05-12) */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
}
.chart-panel {
  padding: 8px 6px 4px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chart-panel:last-child { border-right: none; }
.chart-divider { display: none; } /* legacy, no-op */
.chart-title {
  font-family: "Pretendard", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
}
.chart-subtitle {
  font-size: 10px;
  color: var(--gray);
  margin-top: 1px;
  text-align: center;
}
.chart-wrapper {
  position: relative;
  height: 130px;
  margin-top: 4px;
}
.chart-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
}
.chart-source {
  margin-top: 6px;
  font-size: 11px;
  color: #999;
  text-align: center;
}
.chart-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  color: var(--gray);
  font-size: 12px;
}

/* 모바일 — 3열 × 2행 가로형 카드 */
@media (max-width: 900px) {
  .charts-grid { grid-template-columns: repeat(3, 1fr); }
  .chart-panel {
    padding: 6px 4px 2px;
    border-bottom: 1px solid var(--border);
  }
  .chart-panel:nth-child(3n) { border-right: none; }
  .chart-panel:nth-child(n+4) { border-bottom: none; }
  .chart-title { font-size: 10px; letter-spacing: 0.6px; }
  .chart-wrapper { height: 110px; margin-top: 2px; }
}

.home-benchmark-section {
  margin-top: 4px;
}

.home-youtube-section {
  margin-top: 6px;
}
.home-dual-section-blog,
.home-dual-section-longevity,
.home-dual-section-column {
  padding: 10px 10px 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.home-youtube-panel {
  position: relative;
  padding: 10px 10px 8px;
  border-top: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.home-youtube-panel .section-label,
.home-news-band .section-label,
.home-dual-band .section-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  gap: 6px;
  padding: 6px 10px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.5px;
  line-height: 1;
}
.home-youtube-panel .section-label::before,
.home-news-band .section-label::before,
.home-dual-band .section-label::before {
  content: '';
  width: 2px;
  height: 10px;
  background: var(--red);
  border-radius: 1px;
  flex-shrink: 0;
}
.home-youtube-panel .section-label::after,
.home-youtube-panel .section-label .section-more,
.home-news-band .section-label::after,
.home-dual-band .section-label::after,
.home-news-band .section-label .section-more,
.home-dual-band .section-label .section-more {
  display: none;
}
.home-youtube-panel .yt-flow-track {
  margin-top: 34px;
}

/* Tooltip */
.chart-tooltip {
  position: fixed;
  background: rgba(10, 10, 10, 0.92);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  z-index: 999;
  display: none;
  line-height: 1.75;
  min-width: 150px;
}
.chart-tooltip strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

/* ── Vendor legend ───────────────────────────── */
.vendor-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 0 2px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gray);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── News lead ───────────────────────────────── */
/* ── 홈 행 레이아웃 (좌 60% + 우 40%) ──── */
.home-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  padding: 4px 0;
}
.section-more {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  float: right;
}
.section-more:hover {
  color: var(--red);
}

/* 뉴스 리스트 */
.home-news-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.home-news-row:last-child {
  border-bottom: none;
}
.home-news-row:hover h4 {
  color: var(--red);
}
.home-news-row img {
  width: 80px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--light);
}
.home-news-row h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.home-news-meta {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}

/* 블로그 리스트 */
.home-blog-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.home-blog-row:last-child {
  border-bottom: none;
}
.home-blog-row:hover h4 {
  color: var(--red);
}
.home-blog-row img {
  width: 80px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--light);
}
.home-blog-placeholder {
  width: 80px;
  height: 54px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.home-blog-company {
  font-size: 14px;
  font-weight: 700;
}
.home-blog-row h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.home-blog-time {
  font-size: 13px;
  color: var(--gray);
  margin-top: 2px;
  display: block;
}

@media (max-width: 900px) {
  .home-row {
    grid-template-columns: 1fr;
  }
}

/* ── Company grid ────────────────────────────── */
.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.company-col {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}
.company-col:last-child {
  border-right: none;
}
.company-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--black);
  margin-bottom: 14px;
}
.company-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.company-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.company-item p {
  font-size: 13px;
  line-height: 1.45;
}
.c-source {
  font-size: 10px;
  color: var(--gray);
  margin-top: 5px;
}

/* ── GitHub ──────────────────────────────────── */
.github-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}
.github-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
}
.repo-name {
  font-weight: 700;
  font-size: 13px;
  color: #0a66c2;
}
.repo-desc {
  font-size: 12px;
  color: #444;
  margin-top: 4px;
}
.repo-stars {
  font-size: 11px;
  color: var(--gray);
  margin-top: 6px;
}
.repo-stars span {
  color: var(--black);
  font-weight: 600;
}

/* ── News filter tabs ─────────────────────── */
.news-filter-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.filter-tab {
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.filter-tab.active {
  color: var(--black);
  border-bottom-color: var(--red);
}
.filter-tab:hover:not(.active) {
  color: var(--black);
}
.filter-tab-divider {
  display: inline-block;
  width: 1px;
  background: var(--border);
  margin: 8px 8px 0;
  align-self: stretch;
}

/* ── News list layout ─────────────────────── */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
}
.news-article {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.news-thumb {
  flex-shrink: 0;
  width: 200px;
  height: 130px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--light);
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-body h3 {
  font-family: "Noto Serif KR", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.news-body h3 a:hover {
  color: var(--red);
}
.news-body p {
  font-size: 13px;
  color: #444;
  margin-top: 6px;
  line-height: 1.5;
}
.news-meta {
  font-size: 11px;
  color: var(--gray);
  margin-top: 8px;
}
.gn-card-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3efe8;
  color: #7a3c10;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.news-source {
  font-weight: 600;
  color: var(--red);
}

/* ── News sidebar ─────────────────────────── */
.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--black);
  margin-bottom: 16px;
}
.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.4;
}
.sidebar-item a:hover {
  color: var(--red);
}
.sidebar-rank {
  font-family: "Noto Serif KR", serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--border);
  flex-shrink: 0;
  width: 28px;
}

/* ── Pagination ───────────────────────────── */
.page-btn {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 8px 16px;
  margin: 0 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
}
.page-btn:hover {
  background: var(--black);
  color: var(--white);
}
.page-num {
  display: inline-block;
  min-width: 34px;
  padding: 8px 10px;
  margin: 0 2px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
  text-align: center;
}
.page-num:hover {
  background: var(--black);
  color: var(--white);
}
.page-num.active {
  background: var(--black);
  color: var(--white);
  cursor: default;
  border-color: var(--black);
}
@media (max-width: 600px) {
  .page-btn { padding: 7px 10px; margin: 0 2px; font-size: 12px; }
  .page-num { min-width: 28px; padding: 7px 6px; margin: 0 1px; font-size: 12px; }
}

@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    display: none;
  }
  .news-thumb {
    width: 120px;
    height: 80px;
  }
}

/* ── Blog featured ────────────────────────── */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-featured-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.blog-featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-featured-placeholder {
  width: 100%;
  height: 200px;
  background: var(--light);
}
.blog-featured-body {
  padding: 16px 20px;
}
.blog-featured-body h2 {
  font-family: "Noto Serif KR", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 6px;
}
.blog-featured-body h2 a:hover {
  color: var(--red);
}
.blog-featured-body p {
  font-size: 13px;
  color: #444;
  margin-top: 6px;
}
.blog-company-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Blog grid ────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
}
.blog-card h3 {
  font-family: "Noto Serif KR", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 6px;
}
.blog-card h3 a:hover {
  color: var(--red);
}
.blog-card p {
  font-size: 12px;
  color: #555;
  margin-top: 6px;
  line-height: 1.5;
}
.blog-meta {
  font-size: 11px;
  color: var(--gray);
  margin-top: 8px;
}

/* ── YouTube grid ─────────────────────────── */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.yt-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.15s;
}
.yt-card:hover {
  transform: translateY(-2px);
}
.yt-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s;
}
.yt-card:hover .yt-play {
  opacity: 1;
}
.yt-info {
  padding: 12px 4px;
}
.yt-channel {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.yt-info h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
}
.yt-date {
  font-size: 11px;
  color: var(--gray);
  margin-top: 6px;
  display: block;
}

@media (max-width: 900px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .yt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .yt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Papers grid ─────────────────────────── */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.paper-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.paper-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.paper-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f5f5f5;
  overflow: hidden;
}
.paper-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.paper-info {
  padding: 12px 14px;
}
.paper-info h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.paper-summary {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.paper-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 11px;
  color: #999;
}
.paper-org {
  color: #4a90d9;
  font-weight: 600;
}
.paper-upvotes {
  color: #10a37f;
  font-weight: 600;
}
.paper-stars {
  color: #f5c518;
  font-weight: 600;
}

@media (max-width: 900px) {
  .papers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .papers-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Home mixed content grid ──────────────── */
.home-mixed-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-top: 16px;
}
.home-col {
  padding: 16px;
  border-right: 1px solid var(--border);
}
.home-col:last-child {
  border-right: none;
}
.home-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--black);
  margin-bottom: 14px;
}
.home-more-link {
  display: block;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.home-more-link:hover {
  text-decoration: underline;
}

/* Home news items */
.home-news-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.home-news-item:last-child {
  border-bottom: none;
}
.home-news-source {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.home-news-item h4 {
  font-family: "Noto Serif KR", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
}
.home-news-item h4 a:hover {
  color: var(--red);
}
.home-news-time {
  font-size: 10px;
  color: var(--gray);
}

/* Home blog items */
.home-blog-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.home-blog-item:last-child {
  border-bottom: none;
}
.home-blog-company {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.home-blog-item h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
}
.home-blog-item h4 a:hover {
  color: var(--red);
}
.home-blog-item p {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
  line-height: 1.4;
}

/* Home youtube items */
.home-yt-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.home-yt-item:last-child {
  border-bottom: none;
}
.home-yt-item img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.home-yt-channel {
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
}
.home-yt-item h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2px;
}
.home-yt-item:hover h4 {
  color: var(--red);
}

@media (max-width: 900px) {
  .home-mixed-grid {
    grid-template-columns: 1fr;
  }
  .home-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .home-col:last-child {
    border-bottom: none;
  }
}

/* ── 홈 듀얼 섹션 (뉴스 + 유튜브) ──────────── */
.home-dual-section {
  display: block;
  align-items: start;
}
.home-dual-left .section-label,
.home-dual-right .section-label {
  margin-bottom: 12px;
}

/* 좌측: 뉴스 카드 4x2 */
.home-dual-news {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gn-home-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.gn-home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.gn-home-thumb {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: #f0efeb;
}
.home-news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f0ea 0%, #e5e0d7 100%);
  color: rgba(0, 0, 0, 0.28);
  font-family: "Noto Serif KR", serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}
.gn-home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gn-home-body {
  padding: 5px 8px 6px;
}
.gn-home-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gn-home-meta {
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
  display: block;
}

/* 우측: 유튜브 카드 그리드 */
.home-dual-yt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.home-yt-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
  background: #fff;
}
.home-yt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.home-yt-thumb {
  width: 100%;
  height: 95px;
  overflow: hidden;
  background: #000;
}
.home-yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-yt-body {
  padding: 8px 10px 10px;
}
.home-yt-body h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-yt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.home-yt-channel {
  font-size: 10px;
  color: var(--gray);
}
.home-yt-time {
  font-size: 10px;
  color: var(--gray);
}

@media (max-width: 1200px) {
  .home-dual-news {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-dual-yt {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .home-dual-section {
    grid-template-columns: 1fr;
  }
  .home-dual-news {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-dual-yt {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .home-dual-news {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-dual-yt {
    grid-template-columns: repeat(2, 1fr);
  }
  .gn-home-thumb {
    height: 80px;
  }
  .home-yt-thumb {
    height: 80px;
  }
}

/* ── 유튜브 플로우 애니메이션 ─────────── */
.yt-flow-track {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.4),
    black 1.5%,
    black 98.5%,
    rgba(0, 0, 0, 0.4)
  );
  padding: 2px 0 6px;
}
.yt-flow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 56px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition:
    background 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.yt-flow-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.05);
}
.yt-flow-arrow.left {
  left: -42px;
}
.yt-flow-arrow.right {
  right: -42px;
}
@media (max-width: 1100px) {
  .yt-flow-arrow.left {
    left: 0;
  }
  .yt-flow-arrow.right {
    right: 0;
  }
}
.yt-flow-inner {
  display: flex;
  gap: 16px;
  animation: yt-flow-scroll 120s linear infinite;
}
.yt-flow-inner:hover {
  animation-play-state: paused;
}
@keyframes yt-flow-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.yt-flow-card {
  flex-shrink: 0;
  width: 176px;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.yt-flow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.yt-flow-thumb {
  width: 100%;
  height: 92px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.yt-flow-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hot-flow-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(15, 15, 15, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.hot-flow-card[data-rank="1"] .hot-flow-rank,
.hot-flow-card[data-rank="2"] .hot-flow-rank,
.hot-flow-card[data-rank="3"] .hot-flow-rank {
  background: var(--red);
}
.yt-flow-body {
  padding: 6px 8px 8px;
}
.yt-flow-channel {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.yt-flow-body h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 홈 풀와이드 카드 행 ──────────────── */
.home-fullrow-4 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.home-fullrow-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* ── 홈 3단 컬럼 ─────────────────────── */
.home-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
}
.home-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.home-duo-col {
  min-width: 0;
}
.home-trio-col {
  padding: 0 16px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.home-trio-col:first-child { padding-left: 0; }
.home-trio-col:last-child { border-right: none; padding-right: 0; }
.home-trio-col > div:last-child {
  flex: 1;
}
.home-trio-col .home-blog-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 1200px) {
  .home-fullrow-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-fullrow-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .home-trio {
    grid-template-columns: 1fr;
  }
  .home-duo {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-trio-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .home-trio-col:last-child {
    border-bottom: none;
  }
  .home-fullrow-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-fullrow-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .home-fullrow-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-fullrow-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-model-grid {
    grid-template-columns: 1fr;
  }
}

/* ── GeekNews 카드 그리드 ─────────────────── */
.gn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
  margin-top: 20px;
}
.gn-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  background: #fff;
  height: 100%;
}
.gn-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* ── News Hot Band ──────────────────────────── */
.news-hot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.news-hot-head #news-hot-pager-slot {
  display: inline-flex;
  flex-shrink: 0;
}
.news-hot-band {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  margin-top: 16px;
  align-items: stretch;
}
.news-hot-main {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-hot-main:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.news-hot-main-img {
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: #f0efeb;
}
.news-hot-main-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.news-hot-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-hot-main-body {
  padding: 16px 20px 20px;
}
.news-hot-main-body h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-hot-main-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.news-hot-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #e53e3e;
  color: #fff;
}
.news-hot-sides {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}
.news-hot-side-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  flex: 1;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-hot-side-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.news-hot-side-img {
  width: 100%;
  aspect-ratio: 16/4.7;
  overflow: hidden;
  background: #f0efeb;
}
.news-hot-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-hot-side-body {
  padding: 8px 10px 8px;
}
.news-hot-side-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 5px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-hot-side-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 합성(synthesis) 카드 배지 — 멀티 출처 심층 분석 표시. .card-flags 스택 안의 텍스트 칩 */
.card-badge-synth {
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  pointer-events: none;
}

/* 카드 우측 상단 플래그 스택 (신규출시/심층) — 좌측 순위뱃지와 분리. 뉴스·블로그탭 텍스트형 */
.card-flags {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  pointer-events: none;
}
.card-badge-newver {
  background: #e8590c;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
/* 목적지 바구니 뱃지 — 속보(brief)/트렌드(trend)/기술(tech). 심층(deep)은 .card-badge-synth 재사용 */
.card-badge-brief {
  background: #c92a2a;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.card-badge-trend {
  background: #1971c2;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.card-badge-tech {
  background: #7048e8;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* 홈탭 썸네일 아이콘형 (작은 카드 — 텍스트 대신 아이콘) */
.thumb-flag-icons {
  position: absolute;
  top: 3px;
  right: 6px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}
.thumb-flag-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  background: rgba(17, 17, 17, 0.72);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
}
.thumb-flag-icon.is-newver {
  background: none;
  box-shadow: none;
}
.mag-card-img, .mag-news-featured-img, .mag-small-img, .mag-topic-img { position: relative; }

.news-hot-rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #111;
  box-shadow: 0 1px 6px rgba(0,0,0,0.16);
}
.news-hot-rank-medal {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  background-image: url("/gold-medal.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  color: transparent;
}
.news-hot-rank-gold {
  background: linear-gradient(180deg, #ffe58f 0%, #f5c242 100%);
}
.news-hot-rank-silver {
  background: linear-gradient(180deg, #f3f4f6 0%, #cfd4dc 100%);
}
.news-hot-rank-bronze {
  background: linear-gradient(180deg, #f3c6a6 0%, #cd7f32 100%);
}
.news-hot-rank-default {
  background: rgba(255,255,255,0.92);
  color: #444;
}
/* 메인 hot 슬롯에서 메달 뱃지 위치 기준 (featured/small 카드) */
.mag-news-featured { position: relative; }
.mag-small-card { position: relative; }
@media (max-width: 768px) {
  .news-hot-band {
    grid-template-columns: 1fr;
  }
}

/* TOP 그리드 변형 — 1위 hero + 2~7위 3×2 그리드 + 페이저(8~13/14~19) */
.news-hot-band-grid {
  grid-template-columns: 1.4fr 1fr;
}
.news-hot-band-grid .news-hot-main {
  display: flex;
  flex-direction: column;
}
.news-hot-band-grid .news-hot-main-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-hot-band-grid .news-hot-main-body p {
  flex: 1;
  -webkit-line-clamp: 4;
}
.news-hot-grid-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.news-hot-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 26px;
  flex-shrink: 0;
}
.news-hot-pager-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.news-hot-pager-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.news-hot-pager-count {
  font-size: 12px;
  color: #666;
  min-width: 38px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.news-hot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
}
.news-hot-grid-card {
  display: flex;
  flex-direction: column;
  flex: 0;
  min-height: 0;
}
.news-hot-grid-card .news-hot-side-img {
  aspect-ratio: 4/3;
}
.news-hot-grid-card .news-hot-side-body {
  padding: 6px 8px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-hot-grid-card .news-hot-side-body h3 {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-hot-grid-card .mag-time {
  font-size: 10px;
  color: #888;
  margin-top: auto;
}
.news-hot-grid-card .news-hot-rank-badge {
  top: 6px;
  left: 6px;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  font-size: 10px;
}
@media (max-width: 1024px) {
  .news-hot-band-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .news-hot-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

.gn-card-thumb {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f0efeb;
}
.gn-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.6;
}
.badge-news {
  background: rgba(0,0,0,0.7);
  color: #fff;
}
.badge-trend {
  background: rgba(245,197,24,0.9);
  color: #000;
}
.gn-card-thumb.yt-thumb {
  height: 170px;
}
.gn-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gn-card-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e6e1 0%, #d5d3ce 100%);
}
.gn-card-noimg span {
  font-size: 40px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.12);
  font-family: "Noto Serif KR", serif;
}
.model-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-sizing: border-box;
}
.model-card-org {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.model-card-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  font-family: "Pretendard", monospace;
  word-break: break-all;
  line-height: 1.3;
  margin-top: 4px;
}
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.blog-card-company {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.gn-card-type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.gn-card-body {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gn-card-body h3 {
  font-family: "Noto Serif KR", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gn-card-summary {
  font-size: 13px;
  color: #555;
  margin-top: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.gn-card-meta {
  font-size: 11px;
  color: var(--gray);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}
.gn-card-author-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
}
.gn-card-author {
  color: #333;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gn-card-author:hover { color: var(--red); }
.gn-card-source {
  font-weight: 600;
  color: var(--red);
}
.yt-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}
@media (max-width: 1100px) {
  .gn-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .gn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .gn-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gn-card-thumb {
    height: 140px;
  }
}

/* ── GeekNews 상세 기사 ──────────────────── */
.article-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 0 64px;
}
.article-back {
  font-size: 13px;
  color: var(--gray);
  display: inline-block;
  margin-bottom: 20px;
  transition: color 0.15s;
}
.article-back:hover {
  color: var(--red);
}
.article-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.article-title {
  font-family: "Noto Serif KR", serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  word-break: keep-all;
}
.article-meta {
  font-size: 13px;
  color: var(--gray);
  /* 2행 grid: [아바타] [데스크명/기자명] [여백] [태그/날짜]
     좌측 byline 2줄과 우측 태그·날짜 2줄을 같은 행으로 묶어 높이를 강제 정렬 */
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 5px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--black);
  margin-bottom: 24px;
}
.article-meta .article-meta-avatar { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.article-meta .byline-desk {
  grid-column: 2; grid-row: 1; align-self: end;
  font-size: 11px; font-weight: 600; color: var(--gray);
  line-height: 1.15; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
}
.article-meta .byline-name {
  grid-column: 2; grid-row: 2; align-self: start;
  font-size: 14px; font-weight: 700; color: var(--black);
  line-height: 1.15; text-decoration: none; white-space: nowrap;
}
.article-meta .byline-name:hover { color: var(--red); }
/* 우측 블록: display:contents 로 태그·날짜를 grid 직접 셀에 참여시킴 */
.article-meta-right { display: contents; }
.article-meta .article-date {
  grid-column: 4; grid-row: 2; justify-self: end; align-self: start;
  font-size: 12px; color: var(--gray); white-space: nowrap; line-height: 1.15;
}
.article-meta .article-tags {
  grid-column: 4; grid-row: 1;
  justify-self: end; align-self: end;
  margin: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.article-tags-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6e6e2;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-width: 160px;
  max-width: 280px;
}
.article-tags.expanded .article-tags-panel {
  display: flex;
}
.article-tags-panel .article-tag {
  justify-content: flex-start;
  font-size: 12px;
  padding: 6px 10px;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  color: #444;
  background: #f1f1ef;
  border: 1px solid #e6e6e2;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.article-tag.is-hidden { display: none; }
.article-meta .article-tags.expanded .article-tag.is-hidden { display: inline-flex; }
.article-tag:hover {
  color: var(--black);
  background: #fff;
  border-color: var(--black);
}
.article-tags-more {
  display: none;
  align-items: center;
  border: 1px solid #e6e6e2;
  background: #f1f1ef;
  color: #444;
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.article-meta .article-tags.has-overflow .article-tags-more { display: inline-flex; }
.article-tags-more:hover {
  color: var(--black);
  background: #fff;
  border-color: var(--black);
}
.article-tags-more:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .article-meta { flex-wrap: wrap; }
  /* 모바일: 해시태그는 헤더에서 숨김 — 좁은 폭에서 특히 영어의 긴 태그가 깨짐(우측 옹기종기·점선).
     봇 SSR(seo.js 평문)과 데스크톱은 태그를 그대로 유지하므로 SEO·탐색 영향 없음. */
  .article-meta .article-tags { display: none; }
}
.article-byline { display: inline-flex; align-items: center; gap: 8px; }
.article-source {
  font-weight: 600;
  color: var(--red);
}
.article-summary {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  padding: 16px 20px;
  background: #f9f9f7;
  border-left: 4px solid var(--red);
  margin-bottom: 32px;
  word-break: keep-all;
}
.article-keypoints {
  margin-bottom: 36px;
  padding: 20px 24px;
  background: #f7f7f8;
  border-left: 3px solid var(--red);
  border-radius: 2px;
  color: #1a1a1a;
}
.article-keypoints-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 14px;
}
.article-keypoints-item {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  word-break: keep-all;
}
.article-keypoints-item + .article-keypoints-item {
  margin-top: 10px;
}
.article-keypoints-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.article-external-ref {
  display: block;
  margin: 0 0 36px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 3px solid #111;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.article-external-ref:hover {
  background: #fafafa;
  border-left-color: var(--red);
}
.article-external-ref-body {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.article-external-ref-host {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.article-external-ref-desc {
  font-size: 13px;
  color: #666;
}
.article-external-ref-url {
  font-size: 12px;
  color: #1a66d6;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.article-body {
  font-size: 17px;
  line-height: 1.85;
  color: #1a1a1a;
  word-break: keep-all;
}
.article-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--black);
  color: var(--black);
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 8px;
  color: var(--black);
}
.article-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  color: #1a1a1a;
  line-height: 1.4;
}
.article-body p {
  margin: 14px 0;
}
.article-body a {
  color: #1a66d6;
  text-decoration: underline;
  text-decoration-color: rgba(26, 102, 214, 0.35);
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.article-body a:hover {
  color: #0f4fae;
  text-decoration-color: #0f4fae;
}
.article-code {
  margin: 22px 0;
  border-radius: 6px;
  overflow: hidden;
  background: #0f1419;
  border: 1px solid #1a2028;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.article-code-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 14px;
  background: #161b22;
  border-bottom: 1px solid #21262d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.article-code-dots {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #27c93f;
  margin-right: 36px;
  flex-shrink: 0;
}
.article-code-lang-label {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8b949e;
}
.article-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #8b949e;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.article-code-copy:hover {
  color: #c9d1d9;
  border-color: #58a6ff;
  background: rgba(88, 166, 255, 0.1);
}
.article-code-copy.copied {
  color: #3fb950;
  border-color: #3fb950;
  background: rgba(63, 185, 80, 0.08);
}
.article-code-copy svg {
  display: block;
  flex-shrink: 0;
}
.article-code pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  background: transparent;
}
.article-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.65;
  color: #e6edf3;
  background: transparent;
  white-space: pre;
  tab-size: 2;
}
.rewrite-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rewrite-btn {
  padding: 10px 24px;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.rewrite-btn:hover {
  opacity: 0.85;
}
.rewrite-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.rewrite-gpt {
  background: #10a37f;
}
.rewrite-deepseek {
  background: #4a90d9;
}
.rewrite-gemini {
  background: #8b5cf6;
}
.rewrite-output {
  margin-top: 24px;
  padding: 24px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}
.rewrite-header {
  font-size: 13px;
  font-weight: 700;
  color: #10a37f;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}
.article-inline-img {
  margin: 24px 0;
  text-align: center;
}
.article-inline-img img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 6px;
  cursor: pointer;
}
.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin: 14px 0;
}
.article-body li {
  margin-bottom: 8px;
  line-height: 1.75;
}
.article-body li::marker {
  color: var(--red);
}
.article-body code {
  background: rgba(26, 26, 46, 0.85);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
}
.article-body strong {
  font-weight: 700;
  color: #111;
}

/* ── 기사 히어로 이미지 ─────────────────── */
.article-hero-image {
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}
.article-hero-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* ── 기사 이미지 캐러셀 ─────────────────── */
.article-carousel {
  position: relative;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  aspect-ratio: 16 / 9;
}
.carousel-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 0;
  cursor: pointer;
}
.carousel-track img.active {
  opacity: 1;
  z-index: 1;
}
.article-carousel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 1;
}
.carousel-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 3;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #111;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.carousel-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 2;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid rgba(0,0,0,0.2);
}
.carousel-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 999px;
}
@media (max-width: 480px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-counter {
    font-size: 12px;
    padding: 5px 10px;
    top: 10px;
    right: 10px;
  }
}
.article-image-credit {
  font-size: 11px;
  color: var(--gray);
  padding: 6px 0;
  text-align: right;
}
.article-image-credit a {
  color: var(--gray);
  text-decoration: underline;
}

/* ── 사이트 푸터 ─────────────────── */
.site-footer {
  margin-top: 80px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.footer-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--gray);
}
.footer-inner a {
  color: var(--gray);
  text-decoration: none;
}
.footer-inner a:hover {
  color: var(--red);
}

/* ── 소셜 공유 버튼 ─────────────────── */
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-share-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--black);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  font-family: inherit;
}
.share-btn:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.share-x:hover { background: #000; border-color: #000; }
.share-fb:hover { background: #1877f2; border-color: #1877f2; }
.share-reddit:hover { background: #ff4500; border-color: #ff4500; }
.share-copy { min-width: 72px; }
.share-native { min-width: 56px; }
@media (min-width: 769px) {
  .share-native { display: none; }
}

/* ── 관련 기사 추천 ─────────────────── */
.related-articles {
  margin: 32px 0 24px;
  padding-top: 24px;
  border-top: 2px solid var(--black);
}
.related-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.related-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.related-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0f0f0;
}
.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-text {
  padding: 10px 12px;
}
.related-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-excerpt {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ── AdSense 광고 슬롯 ─────────────────── */
.ad-slot {
  margin: 0;
  padding: 0;
  text-align: center;
  overflow: hidden;
  min-height: 0;
}
.ad-slot:not(.ad-loaded) {
  display: none !important;
}
.ad-slot.ad-loaded { margin: 16px 0; display: block; }
.ad-slot ins {
  display: block;
  width: 100%;
}

/* ── 이미지 라이트박스 ─────────────────── */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.img-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .article-title {
    font-size: 24px;
  }
  .article-body {
    font-size: 15px;
  }
  .article-hero-image img {
    width: 100%;
  }
}

/* ── 모델 카드 그리드 ─────────────────── */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.model-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s;
  background: #fff;
  position: relative;
}
.model-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  border-color: #a78bfa;
}
.model-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.model-pipe-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.model-date-badge {
  font-size: 11px;
  color: var(--gray);
}
.model-card-name {
  font-family: "Pretendard", monospace;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  word-break: break-all;
}
.model-card-org {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
}
.model-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.model-badge-params {
  background: #f0f0ff;
  color: #6366f1;
}
.model-badge-downloads {
  background: #f0fdf4;
  color: #16a34a;
}
.model-badge-likes {
  background: #fef2f2;
  color: #ef4444;
}
.model-badge-likes::before {
  content: "\2665";
}
@media (max-width: 900px) {
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .model-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Arena 리더보드 ─────────────────────── */
/* ── 홈 차트 소스 토글 ─────────────────── */
.source-toggle {
  position: relative;
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}
.source-toggle-label {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  background: #fff;
  transition: all 0.2s;
  white-space: nowrap;
  pointer-events: none;
}
.source-toggle-label.active {
  background: #111;
  color: #fff;
}

.arena-arenas {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.arena-arena-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  color: #555;
  transition: all 0.15s;
}
.arena-arena-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.arena-arena-btn:hover:not(.active) {
  background: #eaeaea;
}
.arena-subs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.arena-subs::-webkit-scrollbar { display: none; }
.arena-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 20px;
}
.arena-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  color: #767676;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.arena-tab.active {
  color: #111;
  border-bottom-color: var(--red, #c0392b);
}

.arena-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.arena-filter {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  color: #767676;
  transition: all 0.15s;
}
.arena-filter.active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.arena-filter:hover:not(.active) {
  border-color: #999;
}

.arena-chart-box {
  padding: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.arena-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
}
.arena-bar-label {
  width: 200px;
  min-width: 200px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.arena-bar-track {
  flex: 1;
  height: 20px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}
.arena-bar-fill {
  height: 100%;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  min-width: 40px;
  transition: width 0.4s ease;
}
.arena-bar-score {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.arena-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 48px;
}
.arena-table thead {
  position: sticky;
  top: 0;
  background: #fff;
}
.arena-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #767676;
  padding: 10px 10px;
  border-bottom: 2px solid #111;
  text-align: left;
  white-space: nowrap;
}
.arena-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}
.arena-table tr:hover {
  background: #fafafa;
}
.arena-rank {
  font-family: "Noto Serif KR", serif;
  font-size: 16px;
  font-weight: 900;
  color: #ccc;
  width: 36px;
  text-align: center;
}
.arena-rank.top-3 {
  color: var(--red, #c0392b);
}
.arena-model-name {
  font-weight: 700;
  font-size: 13px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.arena-elo {
  font-weight: 800;
  font-size: 14px;
}
.arena-ci {
  font-size: 10px;
  color: #999;
  font-weight: 400;
}

/* Arena view toggle (Ranking / Pareto) */
.arena-view-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.arena-view-btn {
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: none;
  cursor: pointer;
  color: #999;
  transition: all 0.15s;
}
.arena-view-btn.active {
  background: #111;
  color: #fff;
}
.arena-view-btn:not(:last-child) {
  border-right: 1px solid #ddd;
}

/* Pareto Frontier chart */
.pareto-wrapper {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid #3b3632;
  border-radius: 10px;
  overflow: hidden;
  background: #2a2623;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.pareto-container {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 16px 14px 14px 18px;
  background: linear-gradient(180deg, #2f2b28 0%, #272320 100%);
}
.pareto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pareto-title {
  font-size: 15px;
  font-weight: 700;
  color: #f0ebe3;
  margin-right: 10px;
}
.pareto-subtitle {
  font-size: 11px;
  color: #a39a8f;
}
.pareto-svg {
  width: 100%;
  height: auto;
  display: block;
}
.pareto-dot {
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.pareto-dot-g:hover .pareto-dot {
  opacity: 1;
  filter: brightness(1.15);
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.06);
}
.pareto-label {
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.38);
}
.pareto-tooltip {
  display: none;
  position: absolute;
  background: rgba(30,28,26,0.96);
  color: #f2ede5;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.6;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  border: 1px solid #4a443e;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}

/* Right panel */
.pareto-panel {
  width: 280px;
  flex-shrink: 0;
  background: #26221f;
  border-left: 1px solid #3b3632;
  overflow-y: auto;
  max-height: 600px;
  padding: 12px 0;
}
.pareto-panel-header {
  font-size: 14px;
  font-weight: 700;
  color: #eee7dd;
  padding: 4px 16px 12px;
  border-bottom: 1px solid #393430;
  margin-bottom: 4px;
}
.pareto-panel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  transition: background 0.12s;
  cursor: default;
}
.pareto-panel-item:hover {
  background: rgba(255,255,255,0.03);
}
.pareto-panel-guide {
  width: 1px;
  align-self: stretch;
  background: #6eaa5a;
  opacity: 0.9;
  margin-right: 2px;
}
.pareto-panel-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.pareto-panel-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pareto-panel-name {
  font-size: 12px;
  font-weight: 600;
  color: #efe9e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pareto-panel-meta {
  font-size: 10px;
  color: #958d84;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pareto-panel-stats {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pareto-panel-elo {
  font-size: 13px;
  font-weight: 700;
  color: #efe8de;
}
.pareto-panel-price {
  font-size: 10px;
  color: #a0998e;
}

@media (max-width: 900px) {
  .pareto-wrapper { flex-direction: column; }
  .pareto-panel { width: 100%; max-height: 300px; border-left: none; border-top: 1px solid #3b3632; }
}

@media (max-width: 900px) {
  .arena-bar-label { width: 140px; min-width: 140px; font-size: 11px; }
  .arena-table { font-size: 12px; }
  .arena-model-name { max-width: 160px; }
}
@media (max-width: 600px) {
  .arena-bar-label { width: 100px; min-width: 100px; font-size: 10px; }
  .arena-tab { padding: 8px 12px; font-size: 12px; }
  .arena-table td, .arena-table th { padding: 7px 6px; }
  .ticker-inner { animation-duration: 30s; }
}

/* ── Newsletter strip ─────────────────────── */
.newsletter-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  padding: 14px 16px;
  border-top: 2px solid var(--black);
  border-bottom: 1px solid var(--border);
  background: #fbfaf7;
}
.newsletter-copy {
  min-width: 0;
}
.newsletter-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
}
.newsletter-copy h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 900;
  color: var(--black);
}
.newsletter-copy p:not(.newsletter-kicker) {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #4d4d4d;
}
.newsletter-form {
  min-width: 0;
}
.newsletter-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 8px;
}
.newsletter-row input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--black);
  font-size: 14px;
  outline: none;
}
.newsletter-row input:focus {
  border-color: var(--black);
}
.newsletter-row button {
  height: 42px;
  border: 1px solid var(--black);
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.newsletter-row button:disabled {
  cursor: wait;
  opacity: 0.62;
}
.newsletter-row button:not(:disabled):hover {
  background: var(--red);
  border-color: var(--red);
}
.newsletter-note,
.newsletter-status {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #777;
}
.newsletter-note a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.newsletter-status {
  min-height: 16px;
  font-weight: 700;
}
.newsletter-status.success {
  color: #12805c;
}
.newsletter-status.error {
  color: var(--red);
}

@media (max-width: 760px) {
  .newsletter-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 12px;
  }
  .newsletter-copy h2 {
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .newsletter-row {
    grid-template-columns: 1fr;
  }
  .newsletter-row button {
    width: 100%;
  }
}

/* ── Home Magazine Layout ────── */
.home-news-band,
.home-dual-band {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.home-news-band {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}
.home-dual-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-news-lead,
.home-news-side,
.home-dual-section {
  min-width: 0;
}
.home-news-lead {
  position: relative;
  padding-right: 18px;
  border-right: 1px solid var(--border);
}
.home-dual-section {
  position: relative;
}
.home-news-side {
  display: flex;
  flex-direction: column;
}
.home-news-side .mag-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 6px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.home-dual-section:first-child {
  padding-right: 0;
  border-right: none;
}
.home-dual-section:last-child {
  padding-left: 0;
}
.home-dual-section-blog:first-child {
  border-right: none;
}
.home-dual-section-longevity:last-child,
.home-dual-section-column:last-child {
  border-left: none;
}
.mag-split {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-dual-band .mag-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.75fr);
  gap: 14px;
  align-items: start;
}

/* Featured card (shared by news, blog, model) */
.mag-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.mag-card:hover h3 { color: var(--red); }
.mag-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
  background: var(--light);
  margin-bottom: 8px;
}
.mag-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mag-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f0ea 0%, #e5e0d7 100%);
  color: rgba(0,0,0,0.2);
  font-size: 11px;
  font-weight: 700;
}
.mag-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.36;
  margin-bottom: 4px;
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mag-card-desc {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 2px;
}
.mag-card-body { min-width: 0; }
.mag-time {
  font-size: 11px;
  color: var(--gray);
  display: block;
  margin-top: 2px;
}

/* Featured news hero */
.mag-news-featured {
  display: block;
}
.mag-news-featured-img {
  width: 100%;
    aspect-ratio: 16/8;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #f0efeb;
  }
.mag-news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mag-news-featured-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #f0efeb;
}
.mag-news-featured-duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mag-news-featured-body {
  display: block;
}
.mag-news-featured h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 5px;
  -webkit-line-clamp: 2;
}
.mag-news-featured .mag-card-desc {
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}
.mag-news-featured .mag-time {
  margin-top: 5px;
}

/* 2x2 small card grid (news bottom) */
.mag-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 8px;
    margin-top: 12px;
    padding-top: 0;
    border-top: none;
  }
.mag-small-card {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    text-decoration: none;
    color: inherit;
    height: 100%;
  }
.mag-small-card:hover h4 { color: var(--red); }
  .mag-small-img {
    width: 100%;
    aspect-ratio: 16/8.6;
  border-radius: 4px;
  overflow: hidden;
  background: var(--light);
  margin-bottom: 0;
}
.mag-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
  .mag-small-card h4 {
      font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
  }
.mag-small-card .mag-time {
    margin-top: 2px;
    font-size: 10px;
  }
.mag-small-body {
    display: block;
    min-width: 0;
}
.mag-small-desc {
      margin: 3px 0 0;
      font-size: 12px;
    line-height: 1.35;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mag-grid-3x2 {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
}
.mag-topic-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: none;
}
.mag-topic-card:hover h4 {
    color: var(--red);
}
.mag-topic-img {
    width: 100%;
    aspect-ratio: 16/6.4;
    border-radius: 4px;
    overflow: hidden;
    background: var(--light);
    margin-bottom: 5px;
}
.mag-topic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mag-topic-body {
    display: block;
    padding: 0 8px 8px;
}
.mag-topic-body h4 {
      margin: 0;
      font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.mag-topic-desc {
      margin: 3px 0 0;
      font-size: 13px;
    line-height: 1.45;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* List items with thumbnails (blog & model right column) */
.mag-list-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.mag-list-item {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.mag-list-item:first-child { padding-top: 0; }
.mag-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.mag-list-item:hover h4 { color: var(--red); }
.mag-list-thumb {
  width: 72px;
  height: 50px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light);
}
.mag-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mag-list-body {
  min-width: 0;
  flex: 1;
}
.mag-list-item h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.mag-list-body .mag-time {
  margin-top: 4px;
}

/* ── Magazine responsive ─────────── */
@media (max-width: 1100px) {
  .home-news-band,
  .home-dual-band {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-news-lead,
  .home-dual-section:first-child,
  .home-dual-section:last-child {
    padding-right: 0;
    padding-left: 0;
    border-right: none;
  }
  .home-news-lead,
  .home-dual-section:first-child {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  .home-news-side .mag-grid-2x2 {
      margin-top: 0;
    }
  .mag-grid-3x2 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (max-width: 768px) {
  .mag-grid-3x2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mag-news-featured h3 {
        font-size: 18px;
      }
  .mag-news-featured-img {
      width: 100%;
    }
  }
  @media (max-width: 480px) {
    .mag-news-featured-img img {
      width: 100%;
    }
    .mag-grid-2x2 {
      grid-template-columns: 1fr;
    }
  .mag-grid-3x2 {
      grid-template-columns: 1fr;
    }
  }

/* 기사 내부 KO/EN 토글은 모바일 전용 — 데스크탑은 헤더 토글로 충분 */
/* Use only the global header language toggle. */
.article-lang-toggle {
  display: none !important;
}

/* ===========================================================
 * COLUMN — 홈 섹션 + 목록 + 본문 마커 (Option C: 번호 + 좌측 바)
 * =========================================================== */

/* ── 홈 칼럼 섹션 ─────────────────────────────── */
.home-column-section {
  margin-top: 24px;
  padding: 18px 0 22px;
  border-top: 3px double var(--black);
  border-bottom: 1px solid var(--border);
}
.home-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}
.home-column-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hc-label {
  background: var(--red);
  color: #fff;
  padding: 3px 8px;
  letter-spacing: 1.5px;
}
.hc-faint { color: var(--gray); }
.hc-divider { color: var(--border); }
.home-column-more {
  font-size: 12px;
  color: var(--gray);
  transition: color .15s;
}
.home-column-more:hover { color: var(--red); }

.home-column-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  padding: 6px 4px 0;
}
.home-column-feature-link {
  display: block;
  cursor: pointer;
  transition: opacity .15s;
}
.home-column-feature-link.has-thumb {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: start;
}
.home-column-feature-thumb {
  width: 200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
}
.home-column-feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-column-feature-link:hover { opacity: .72; }
.home-column-feature-link:hover .home-column-feature-title { color: var(--red); }
@media (max-width: 720px) {
  .home-column-feature-link.has-thumb { grid-template-columns: 1fr; }
  .home-column-feature-thumb { width: 100%; }
}
.home-column-feature-title {
  font-family: 'Noto Serif KR', Georgia, serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 10px;
  transition: color .15s;
}
.home-column-feature-summary {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 12px;
}
.home-column-feature-meta {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.4px;
}
.home-column-feature-meta .hcm-divider { margin: 0 6px; color: var(--border); }

.home-column-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.hc-recent-item {
  border-bottom: 1px solid var(--border);
}
.hc-recent-item:last-child { border-bottom: none; }
.hc-recent-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  transition: opacity .15s;
}
.hc-recent-link:hover { opacity: .65; }
.hc-recent-link:hover .hc-recent-title { color: var(--red); }
.hc-recent-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  flex-shrink: 0;
  letter-spacing: 0.5px;
  width: 38px;
}
.hc-recent-title {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--black);
  letter-spacing: -0.01em;
  transition: color .15s;
}

@media (max-width: 880px) {
  .home-column-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-column-recent { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 6px; }
  .home-column-feature-title { font-size: 22px; }
}

/* ── 칼럼 목록 페이지 (/columns) ───────────────── */
.columns-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.columns-page-header {
  padding: 16px 0 24px;
  border-bottom: 3px double var(--black);
  margin-bottom: 32px;
}
.columns-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--red);
  margin-bottom: 8px;
}
.columns-page-title {
  font-family: 'Noto Serif KR', Georgia, serif;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--black);
  margin: 0 0 10px;
}
.columns-page-intro {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}
.columns-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--gray);
}

.columns-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px 0 22px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .15s;
}
.columns-featured.has-thumb {
  grid-template-columns: minmax(180px, 330px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.columns-featured-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
  align-self: start;
}
.columns-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.columns-featured:hover { opacity: .75; }
.columns-featured:hover .columns-featured-title { color: var(--red); }
.columns-featured-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.columns-featured-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}
.cf-label {
  background: var(--red);
  color: #fff;
  padding: 3px 8px;
}
.cf-date { color: var(--gray); }
.columns-featured-title {
  font-family: 'Noto Serif KR', Georgia, serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0;
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.columns-featured-summary {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.columns-featured-byline { display: inline-flex; align-items: center; gap: 6px; }
.columns-featured-meta {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.5px;
}
.cf-divider { margin: 0 8px; color: var(--border); }

.columns-archive {
  list-style: none;
  margin: 0;
  padding: 0;
}
.columns-row {
  border-bottom: 1px solid var(--border);
}
.columns-row-link {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 18px 4px;
  align-items: baseline;
  transition: opacity .15s;
}
.columns-row-link.has-thumb {
  grid-template-columns: 120px 80px 1fr auto;
  align-items: center;
}
.columns-row-thumb {
  width: 120px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.columns-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.columns-row-link:hover { opacity: .7; }
.columns-row-link:hover .columns-row-title { color: var(--red); }
.columns-row-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.columns-row-title {
  font-family: 'Noto Serif KR', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: 0 0 6px;
  transition: color .15s;
}
.columns-row-summary {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}
.columns-row-meta {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 720px) {
  .columns-page-title { font-size: 28px; }
  .columns-featured { gap: 12px; padding: 16px 0 18px; }
  .columns-featured.has-thumb { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
  .columns-featured-body { gap: 7px; }
  .columns-featured-eyebrow { gap: 8px; font-size: 10px; letter-spacing: 1.4px; flex-wrap: wrap; }
  .columns-featured-title { font-size: 17px; line-height: 1.38; -webkit-line-clamp: 3; }
  .columns-featured-summary { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; }
  .columns-featured-meta { gap: 6px; padding-top: 8px; margin-top: 1px; font-size: 11px; flex-wrap: nowrap; overflow: hidden; }
  .columns-featured-byline { flex: 1 1 auto; gap: 5px; }
  .columns-featured-byline .editor-avatar { width: 24px; height: 24px; flex-basis: 24px; }
  .cf-byline-desk { max-width: 88px; }
  .cf-divider { display: none; }
  .columns-row-link { grid-template-columns: 60px 1fr; gap: 12px; }
  .columns-row-link.has-thumb { grid-template-columns: 88px 1fr; }
  .columns-row-thumb { width: 88px; }
  .columns-row-date { display: none; }
  .columns-row-meta { display: none; }
  .columns-row-title { font-size: 16px; }
}

/* ── 칼럼 본문 — Option C 섹션 마커 ────────────── */
.article-column .article-body h3.column-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Noto Serif KR', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: 44px 0 18px;
  padding: 0;
  border: none;
}
.article-column .article-body h3.column-section-title:first-child {
  margin-top: 12px;
}
.article-column .article-body h3.column-section-title .csec-num {
  font-family: 'Pretendard', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.article-column .article-body h3.column-section-title .csec-bar {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}
.article-column .article-body h3.column-section-title .csec-text {
  display: inline;
}

/* 산문톤: 본문 단락 가독성 강화 (column 전용) */
.article-column .article-body p {
  font-family: 'Noto Serif KR', Georgia, serif;
  font-size: 16px;
  line-height: 2.0;
  color: #2a2a2a;
  margin: 0 0 18px;
  text-align: justify;
  word-break: keep-all;
}

@media (max-width: 720px) {
  .article-column .article-body h3.column-section-title { font-size: 19px; gap: 10px; }
  .article-column .article-body p { font-size: 15px; line-height: 1.9; }
}

/* ─── 전역 검색 입력 (main-nav 우측) ─────────────────────── */
.main-nav { position: relative; }

.global-search {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  width: 180px;
  padding: 8px 12px;
  border: 1px solid var(--border, #e3e3e3);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, width 0.2s ease;
}
.global-search:focus-within {
  border-color: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  width: 240px;
}
.gs-icon { color: #767676; flex-shrink: 0; }
.gs-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  color: #111;
  padding: 0;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.5;
  overflow: hidden;
}
.gs-input::placeholder { color: #999; }
/* 브라우저별 type=search/number 기본 UI 완전 제거 (Edge 스피너·Chrome 검색 데코·IE 클리어) */
.gs-input::-webkit-search-decoration,
.gs-input::-webkit-search-cancel-button,
.gs-input::-webkit-search-results-button,
.gs-input::-webkit-search-results-decoration,
.gs-input::-webkit-inner-spin-button,
.gs-input::-webkit-outer-spin-button,
.gs-input::-ms-clear,
.gs-input::-ms-reveal {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
  width: 0 !important;
}
.gs-clear {
  border: 0;
  background: #f3f3f3;
  color: #555;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.gs-clear:hover { background: #111; color: #fff; }
.gs-clear[hidden] { display: none; }

@media (max-width: 720px) {
  /* 모바일: 기본은 돋보기 아이콘 1개만. 클릭(.is-open) 시 nav 아래로 슬라이드 다운 펼침. */
  /* 우측 44px = 돋보기 버튼(36) + 여백 → 마지막 탭(학습)이 돋보기에 가리지 않도록 분리 */
  .main-nav { padding-left: 8px; padding-right: 44px; }
  .global-search {
    position: absolute;
    right: 8px;
    top: 50%;
    left: auto;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--border, #e3e3e3);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    gap: 0;
    overflow: hidden;
    transition: width 0.2s ease, border-radius 0.2s ease, top 0.2s ease, transform 0.2s ease, right 0.2s ease, left 0.2s ease, padding 0.2s ease;
  }
  .global-search .gs-icon {
    width: 16px;
    height: 16px;
    margin: 0 auto;
    color: #444;
    pointer-events: none;
  }
  .global-search .gs-input,
  .global-search .gs-clear {
    display: none;
  }
  /* 열린 상태 — nav 영역 바깥(viewport 기준 fixed)으로 떨어져 탭/지능 영역을 가리지 않음.
     .main-nav 가 overflow:hidden 이라 absolute 펼침은 잘림 → fixed 로 viewport 기준 배치. */
  .global-search.is-open {
    position: fixed;
    top: var(--mobile-search-open-top, 92px);
    right: 12px;
    left: 12px;
    transform: none;
    width: auto;
    height: auto;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    gap: 8px;
    z-index: 50;
    cursor: text;
  }
  .global-search.is-open .gs-icon { width: 14px; height: 14px; flex-shrink: 0; margin: 0; }
  .global-search.is-open .gs-input {
    display: block;
    flex: 1;
    min-width: 0;
    font-size: 16px; /* iOS 자동 줌 방지 */
    height: 26px;
  }
  .global-search.is-open .gs-clear:not([hidden]) {
    display: inline-flex;
  }
  .global-search:not(.is-open):focus-within { width: 30px; }
}

/* ─── 검색 결과 페이지 (/search) ─────────────────────────── */
.search-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.search-page-header {
  padding: 8px 0 20px;
  border-bottom: 3px double var(--black, #111);
  margin-bottom: 28px;
}
.search-page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--red, #c8102e);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.search-page-title {
  font-family: 'Noto Serif KR', Georgia, serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--black, #111);
  margin: 0 0 8px;
  line-height: 1.25;
  word-break: keep-all;
}
.search-page-summary {
  font-size: 13px;
  color: #767676;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.search-loading,
.search-empty {
  padding: 60px 12px;
  text-align: center;
  color: #767676;
  font-size: 15px;
}

/* 단원 */
.search-section { margin-bottom: 36px; }
.search-section:last-child { margin-bottom: 0; }
.search-section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0 12px;
  border-bottom: 1px solid var(--border, #e3e3e3);
  margin-bottom: 14px;
}
.search-section-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #111);
}
.search-section-count {
  font-size: 12px;
  color: #767676;
  font-variant-numeric: tabular-nums;
}
.search-section-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 항목 */
.search-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.search-item:hover { background: #fafafa; }
.search-item-thumb {
  width: 96px;
  height: 72px;
  border-radius: 3px;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}
.search-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-item-thumb-empty { background: linear-gradient(135deg, #e8e8e8, #f5f5f5); }
.search-item-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.search-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black, #111);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-item-snippet {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 형광펜 */
.search-mark {
  background: linear-gradient(180deg, transparent 55%, #fff04d 55%);
  color: inherit;
  padding: 0 1px;
  font-weight: 700;
  border-radius: 1px;
}

/* 더보기 버튼 */
.search-more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px dashed var(--border, #e3e3e3);
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.search-more:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  border-style: solid;
}

@media (max-width: 720px) {
  .search-page { padding: 18px 14px 48px; }
  .search-page-title { font-size: 26px; }
  .search-item { grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 6px; }
  .search-item-thumb { width: 80px; height: 60px; }
  .search-item-title { font-size: 15px; }
  .search-item-snippet { font-size: 12.5px; }
}

/* ── Editor desk avatars ─────────────────────────────
 * public/images/editors/{slug}.jpg (큐레이션 스크립트: scripts/curate-editor-avatars.js)
 * 사용: <a class="editor-avatar size-md"><img src="/images/editors/industry.jpg" alt=""></a>
 */
.editor-avatar { display: inline-flex; border-radius: 50%; overflow: hidden; background: #eee; flex: 0 0 auto; vertical-align: middle; }
.editor-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.editor-avatar.size-xs  { width: 18px; height: 18px; }
.editor-avatar.size-sm  { width: 22px; height: 22px; }
.editor-avatar.size-md  { width: 28px; height: 28px; }
.editor-avatar.size-lg  { width: 40px; height: 40px; }

/* ── 인물 byline 2줄 (데스크 작게 / 기자 실명) ───────── */
.byline-stack { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.25; text-decoration: none; color: inherit; }
.byline-desk { font-size: 11px; font-weight: 600; color: var(--gray); letter-spacing: .01em; }
.byline-name { font-size: 14px; font-weight: 700; color: var(--black); }
.article-byline { align-items: center; }
.article-byline:hover .byline-name { color: var(--red); }

/* 목록 카드 byline 2줄 */
.gn-card-author.stack { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.2; text-align: right; white-space: normal; overflow: visible; }
.gn-card-author.stack .ca-desk { font-size: 10px; font-weight: 600; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.gn-card-author.stack .ca-name { font-size: 11.5px; font-weight: 700; color: #222; white-space: nowrap; }
.gn-card-author.stack:hover .ca-name { color: var(--red); }

/* 칼럼 대표 byline: 좁은 화면에서도 기자명이 단독 줄로 떨어지지 않게 한 줄 묶음 */
.cf-byline-stack {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.cf-byline-desk {
  min-width: 0;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gray);
}
.cf-byline-name {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  color: #222;
}
@media (max-width: 720px) {
  .columns-featured .cf-byline-desk { max-width: 88px; }
}

/* 본문 하단 '기자 소개' 카드 */
.reporter-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 10px; background: #fafafb; margin: 24px 0; }
.editor-avatar.reporter-card-av { width: 52px; height: 52px; }
.reporter-card .rc-txt { flex: 1; min-width: 0; }
.reporter-card .rc-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.reporter-card .rc-name { font-size: 15px; font-weight: 800; color: var(--black); text-decoration: none; }
.reporter-card .rc-name:hover { color: var(--red); }
.reporter-card .rc-desk { font-size: 11.5px; font-weight: 700; color: var(--red); }
.reporter-card .rc-bio { font-size: 12.5px; color: var(--gray); margin-top: 5px; line-height: 1.5; }
.reporter-card .rc-more { font-size: 12px; font-weight: 700; color: var(--black); white-space: nowrap; text-decoration: none; border: 1px solid var(--border); padding: 9px 13px; border-radius: 6px; align-self: center; transition: all .15s; }
.reporter-card .rc-more:hover { background: var(--black); color: #fff; border-color: var(--black); }
@media (max-width: 560px) {
  .reporter-card { flex-wrap: wrap; gap: 12px; }
  .reporter-card .rc-more { width: 100%; text-align: center; }
}

/* news-hot-head 정렬 보정: .section-label::after(flex:1) 무력화 + 페이저 우측 고정 */
.news-hot-head { justify-content: flex-start; }
.news-hot-head::after { display: none; }
.news-hot-head #news-hot-pager-slot { margin-left: auto; }
