:root {
  --bg: #F7F9FB;
  --bg-panel: #EEF2F6;
  --bg-panel-2: #E6ECF2;
  --border: #DCE4EC;
  --text: #16181A;
  --text-dim: #6B7269;
  --accent: #2F80ED;
  --accent-dim: #1B5FC4;
  --radius: 4px;
  --mono: 'Courier New', monospace;
  --display: Georgia, 'Noto Serif', 'Times New Roman', serif;

  --dark-bg: #0A0E14;
  --dark-text: #F3F6F3;
  --dark-text-dim: #97A39C;
  --dark-green: #56CCF2;

  /* Форма карточек статей — независимая от --radius ось (см. cardShapes.json).
     Значения по умолчанию = текущий плоский список-разделитель, старое
     поведение не меняется, пока генератор явно их не перезапишет. */
  --card-bg: var(--bg);
  --card-border: none;
  --card-shadow: 0 6px 20px rgba(0,0,0,0.08);
  --card-padding: 16px;
  --card-gap: 14px;
  --card-separator: none;
  --card-first-padding-top: 16px;
}

/* Самохостed кириллические шрифты — файлы лежат в assets/fonts/, лицензия
   (SIL OFL 1.1) и копирайты в assets/fonts/LICENSE.txt. Никакого CDN на
   рантайме: только локальные woff2. Каждый шрифт разбит на cyrillic/latin
   unicode-range сабсеты — ровно как их отдаёт сам Google Fonts — браузер
   догружает только тот файл, символы которого реально встретились на странице.
   Manrope/Unbounded/Golos Text — вариативные (один файл на весь диапазон
   начертаний), PT Sans — статический (отдельные файлы на 400 и 700). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-var.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pt-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pt-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic-var.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/unbounded-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/golos-text-cyrillic-var.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/golos-text-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--display);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 17px; height: 17px; }
.icon-md { width: 22px; height: 22px; }
.icon-star { color: #F5A623; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 48px 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-tag { color: var(--text-dim); font-size: 15px; max-width: 640px; margin-top: 10px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head h2 { font-size: 22px; }
.section-head-link { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; white-space: nowrap; }

.stati-category-section { margin-bottom: 40px; }
.stati-category-section:last-child { margin-bottom: 0; }

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.logo-block { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 800; font-size: 18px; color: var(--text); }
.logo-tagline { font-size: 11.5px; color: var(--text-dim); }

.nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; }
.nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }

.nav-more { position: relative; }
.nav-more-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}
.nav-more-btn:hover { color: var(--text); }
.nav-more-caret { font-size: 11px; }
.nav-more-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  padding: 8px;
  min-width: 190px;
  z-index: 30;
}
.nav-more-dropdown.open { display: block; }
.nav-more-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-more-dropdown a:hover { background: var(--bg-panel); color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  cursor: pointer;
  color: var(--text-dim);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
}

.breadcrumbs {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs .container { padding-top: 12px; padding-bottom: 12px; }
.breadcrumbs ol {
  display: flex; align-items: center; gap: 8px; list-style: none; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
}
.breadcrumbs a { color: var(--text-dim); transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--accent); }

.hero { padding: 32px 0 8px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.hero-content {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: none;
}
.hero-content h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; margin-bottom: 12px; }
.hero-sub { color: var(--text-dim); font-size: 14.5px; max-width: 520px; margin-bottom: 20px; }

.hero-media {
  display: block;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-media-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.hero-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hero-author { display: flex; align-items: center; gap: 10px; }
.hero-author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.hero-author-name { font-size: 13.5px; font-weight: 700; }
.hero-author-role { font-size: 12px; color: var(--text-dim); }
.hero-author-date { font-size: 12px; color: var(--text-dim); margin-left: auto; white-space: nowrap; }

.hero-nav { display: flex; gap: 8px; flex-shrink: 0; }
.hero-nav button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  color: var(--text-dim);
  font-size: 14px;
}
.hero-nav button:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { min-height: 200px; }
}

/* Паттерн hero "стат-бар" — ряд реальных цифр (статьи/рубрики/дата
   обновления) под интро-текстом, внутри уже существующей .hero-content.
   Независим от layoutId: работает поверх любого оформления .hero. */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 8px;
}
.hero-stat-value {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Карусель "последние статьи" — под рубриками, отдельно от настоящего
   hero сайта. 1 крупная плитка (фото + текст поверх) слева + 2 плитки
   стопкой справа. Текст всегда белый на затемнённом фото — вид одинаково
   хорошо читается и на светлой, и на тёмной теме сайта. */
.latest-carousel-wrap { position: relative; }

.latest-carousel-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.latest-carousel-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  border-radius: var(--radius);
  background-color: var(--bg-panel-2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.latest-carousel-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.latest-carousel-main-text {
  position: relative;
  z-index: 1;
  padding: 28px;
  max-width: 620px;
}
.latest-carousel-main-text h2 {
  color: #fff;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.25;
  margin: 10px 0 8px;
}
.latest-carousel-sub {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  max-width: 520px;
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.latest-carousel-date { font-size: 12px; color: rgba(255,255,255,0.7); }

.latest-carousel-badge {
  position: absolute;
  z-index: 1;
  top: 16px; left: 16px;
  background: var(--accent);
  color: #0d0d0f;
  border: none;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
}

.latest-carousel-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.latest-carousel-side-item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 90px;
  border-radius: var(--radius);
  background-color: var(--bg-panel-2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.latest-carousel-side-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}
.latest-carousel-badge-sm {
  position: absolute;
  z-index: 1;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #0d0d0f;
  border: none;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
}
.latest-carousel-side-title {
  position: relative;
  z-index: 1;
  padding: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.latest-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.latest-carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.latest-carousel-arrow-prev { left: -18px; }
.latest-carousel-arrow-next { right: -18px; }

.latest-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}
.latest-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.latest-carousel-dot.active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 900px) {
  .latest-carousel-grid { grid-template-columns: 1fr; }
  .latest-carousel-main { min-height: 280px; }
  .latest-carousel-side { flex-direction: row; }
  .latest-carousel-side-item { min-height: 140px; }
  .latest-carousel-arrow { display: none; }
}

.listing-layout { display: block; }
.listing-sidebar { display: none; }

/* Страница статьи — вариант с сайдбаром рядом с текстом
   (sidebar-left / sidebar-right / magazine-split). По умолчанию сайдбар
   справа — sidebar-left переопределяет порядок в своём layout.css. */
.article-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.article-main-col { min-width: 0; }
.article-cover-img {
  width: 100%;
  border-radius: 16px;
  display: block;
  margin-bottom: 24px;
}
.article-sidebar-col { position: sticky; top: 24px; }
@media (max-width: 900px) {
  .article-with-sidebar { display: block; }
  .article-sidebar-col { position: static; margin-top: 24px; }
}

/* Страница статьи — вариант текстовым списком (minimal-list) */
.article-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}
.article-related-list-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.article-related-list-item:last-child { border-bottom: none; }
.article-related-list-item a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.article-related-list-item a:hover { color: var(--accent); }
.sidebar-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
}
.sidebar-block:last-child { margin-bottom: 0; }
.sidebar-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover, .sidebar-link.active { color: var(--accent); }
.sidebar-link-icon { font-size: 15px; flex-shrink: 0; }
.sidebar-link-count { margin-left: auto; color: var(--text-dim); font-size: 12px; font-family: var(--mono); }

.sidebar-popular-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-popular-item:last-child { border-bottom: none; }
.sidebar-popular-cover {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--bg-panel-2);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.sidebar-popular-title { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 3px; }
.sidebar-popular-meta { font-size: 11.5px; color: var(--text-dim); }

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.rubric-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rubric-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.rubric-card-icon { font-size: 20px; }
.rubric-card h3 { font-size: 14px; margin-bottom: 2px; }
.rubric-count { font-family: var(--mono); font-size: 11.5px; color: var(--text-dim); }

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

.category-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px;
}
.cat-tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-dim);
  transition: all 0.2s ease;
}
.cat-tab:hover { border-color: var(--accent); color: var(--text); }
.cat-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.articles-grid { margin-top: 4px; }
.article-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: var(--card-padding);
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  margin-bottom: var(--card-gap);
  border-bottom: var(--card-separator);
}
.article-card:first-child { padding-top: var(--card-first-padding-top); }
.article-card:hover .article-card-title { color: var(--accent); }

.article-card-cover {
  width: 160px;
  height: 110px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-panel);
  flex-shrink: 0;
}
.article-card-cover-placeholder {
  background: var(--bg-panel-2);
}

/* Дуотон на обложках статей: тонирует картинку под акцент темы вместо
   случайного стокового фото как есть — обложки перестают выглядеть
   одинаковым фотобанком у всех сайтов флота. Работает и на div(ах) с
   background-image, и на настоящих <img> через обёртку .cover-tint. */
.article-card-cover,
.sidebar-popular-cover,
.latest-carousel-main,
.latest-carousel-side-item,
.cover-tint {
  position: relative;
}
.article-card-cover::after,
.sidebar-popular-cover::after,
.latest-carousel-main::after,
.latest-carousel-side-item::after,
.cover-tint::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dim) 100%);
  mix-blend-mode: color;
  opacity: 0.45;
  pointer-events: none;
}
.cover-tint { display: block; overflow: hidden; }
.cover-tint img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.article-card-body { flex: 1; min-width: 0; }
.article-card-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-card-cat { color: var(--accent); font-weight: 700; }
.article-card-title { font-size: 17px; margin-bottom: 6px; line-height: 1.35; transition: color 0.2s ease; }
.article-card-excerpt {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-dim); }
.article-card-stat { display: flex; align-items: center; gap: 4px; }
.article-card-more { display: none; }

@media (max-width: 620px) {
  .article-card { flex-direction: column; }
  .article-card-cover { width: 100%; height: 160px; }
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.cta-banner-left { display: flex; align-items: center; gap: 16px; }
.cta-banner-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cta-banner h3 { font-size: 17px; margin-bottom: 4px; }
.cta-banner p { font-size: 13.5px; color: var(--text-dim); max-width: 480px; }

.article-header { background: var(--bg-panel); padding: 40px 0 32px; border-bottom: 1px solid var(--border); }
.article-header .eyebrow {
  font-size: 12.5px;
  text-transform: none;
}
.article-header .eyebrow .dot { color: var(--text-dim); margin: 0 4px; }
.article-header h1 { font-size: clamp(26px, 4vw, 40px); margin: 8px 0 14px; }
.article-lead { color: var(--text-dim); font-size: 16px; max-width: 620px; }

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}
.rating-stars { color: #F5A623; letter-spacing: 1px; }

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-size: 26px; margin: 40px 0 18px; line-height: 1.3; }
.article-body h3 { font-size: 20px; margin: 32px 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body img { max-width: 100%; border-radius: var(--radius); margin: 24px 0; display: block; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-dim);
  font-style: italic;
}
.article-body a { color: var(--accent); text-decoration: underline; }

.article-rating {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.article-rating-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.article-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.article-rating-value { font-size: 26px; font-weight: 800; line-height: 1; }
.article-rating-stars-display {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 3px;
}
.article-rating-stars-bg { color: var(--border); }
.article-rating-stars-fg {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #F5A623;
}
.article-rating-count { font-size: 13px; color: var(--text-dim); }

.article-rating-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-rating-picker-label { font-size: 13.5px; color: var(--text-dim); }
.article-rating-picker-stars { display: flex; gap: 2px; }
.rating-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--border);
  padding: 2px 3px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.rating-star-btn.is-active,
.rating-star-btn:hover { color: #F5A623; transform: scale(1.12); }
.article-rating-thanks { font-size: 14px; color: var(--accent); font-weight: 600; }

.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 13.5px;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  color: var(--text-dim);
  font-size: 12px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  color: var(--text-dim);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
