/* Тема editorial: журнальная, серифные заголовки, рейтинг строками, обзор без сайдбара */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f1ece3;
  --text: #1b1b1b;
  --muted: #6b645a;
  --border: #e2dbcf;
  --accent: #b3122e;
  --accent-ink: #ffffff;
  --cta: #b3122e;
  --cta-ink: #ffffff;
  --star: #b3122e;
  --good: #2f7d4a;
  --bad: #b3122e;
  --radius: 2px;
  --shadow: none;
  --font-body: "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
  --wrap: 1100px;
  --prose: 720px;
}

@media (min-width: 761px) {
  .theme-editorial .site-header .wrap { flex-direction: column; gap: 6px; padding-top: 18px; padding-bottom: 12px; }
  .theme-editorial .site-logo { font-size: 1.9rem; font-weight: 700; }
  .theme-editorial .site-mark { display: none; }
  .theme-editorial .site-nav a { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
}
.theme-editorial .site-header { border-bottom: 3px double var(--text); }

.theme-editorial .hero { padding: 48px 0 32px; text-align: center; }
.theme-editorial .hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; font-weight: 400; }
.theme-editorial .hero .lead { margin: 0 auto; font-family: var(--font-head); font-size: 1.15rem; font-style: italic; }
.theme-editorial .meta-line { justify-content: center; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }

.theme-editorial h2 { padding-top: 14px; border-top: 1px solid var(--text); font-weight: 400; }
.theme-editorial .btn { text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }

/* Рейтинг строками (шаблон themes/editorial/templates/partials/toplist.php) */
.ed-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--text); }
.ed-row { display: grid; grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1.3fr) 200px; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.ed-num { color: var(--accent); font-family: var(--font-head); font-size: 2.6rem; font-style: italic; line-height: 1; }
.ed-brand { display: flex; align-items: center; gap: 12px; }
.ed-brand h3 { margin: 0 0 2px; font-size: 1.25rem; }
.ed-bonus strong { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 1.15rem; font-weight: 400; line-height: 1.3; }
.ed-cta { text-align: center; }
.ed-cta .btn { width: 100%; }
@media (max-width: 860px) {
  .ed-row { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 14px; }
  .ed-bonus, .ed-cta { grid-column: 2; }
  .ed-num { font-size: 1.9rem; }
}

/* Обзор: одна колонка, оглавление над текстом, липкая кнопка всегда */
.theme-editorial .review-hero { border: 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--border); background: none; padding: 24px 0; }
.theme-editorial .review-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.theme-editorial .review-aside { position: static; order: -1; }
.theme-editorial .aside-card { display: none; }
.theme-editorial .scores, .theme-editorial .proscons > div, .theme-editorial .faq details { background: none; }
@media (min-width: 961px) { .theme-editorial .sticky-cta { display: flex; } }
