/*
Theme Name: ProAVChoice KM28
Theme URI: https://proavchoice.com
Author: KM-28
Description: 极简苹果风 + 蓝色科技主色调的 ProAV 产品评测/准新闻主题。响应式（手机 6-7" / 平板 8-14" 均按 App 级阅览体验设计），内含：新闻评测流首页、带评分/优缺点/实测数据的评测详情页、简洁评论区、以及苹果式多产品规格对比页面模板（page-compare.php，配合 proav_product 自定义文章类型）。
Version: 1.2.9
License: GNU General Public License v2 or later
Text Domain: proavchoice
*/

:root {
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-soft: rgba(0, 102, 255, 0.06);
  --ink: #0A1220;
  --ink-2: #33415C;
  --muted: #5C6B84;
  --line: #E2E8F0;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --dark: #070C17;
  --dark-2: #0D1524;
  --font-display: "Azeret", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--blue); color: #fff; }

.container-x { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.reading-col { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.score-num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.header-transparent { background: transparent; border-color: transparent; }
.site-header .container-x {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.header-transparent .brand { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.main-nav a:hover { color: var(--blue); }
.header-transparent .main-nav a { color: rgba(255,255,255,0.92); }
.header-transparent .main-nav a:hover { color: #fff; }
.main-nav .btn-primary { color: #fff; }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  content: ""; position: relative;
}
.header-transparent .menu-toggle span,
.header-transparent .menu-toggle span::before,
.header-transparent .menu-toggle span::after { background: #fff; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-outline, .btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { opacity: 0.85; color: #fff; }
.main-nav .btn-primary { height: 36px; padding: 0 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--dark); color: #fff;
  padding: 120px 0 56px;
}
.hero-lines { position: absolute; inset: 0; opacity: 0.16; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
  border-radius: 999px; padding: 6px 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-title { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; line-height: 1.06; margin: 22px 0 0; }
.hero-title em { font-style: normal; color: #3D8BFF; }
.hero-sub { max-width: 52ch; color: rgba(255,255,255,0.6); font-size: 17px; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 440px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .stat-n { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.hero-stats .stat-l { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* Featured review card (dark) */
.featured-card {
  display: block; border: 1px solid rgba(255,255,255,0.12); background: var(--dark-2);
  border-radius: 24px; padding: 28px; color: #fff;
  transition: border-color 0.3s;
}
.featured-card:hover { border-color: rgba(0,102,255,0.6); color: #fff; }
.featured-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.featured-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.featured-kicker .pill { background: var(--blue); color: #fff; border-radius: 999px; padding: 3px 10px; }
.featured-card h2 { font-size: 24px; margin-top: 16px; }
.featured-card h2:hover { color: #3D8BFF; }
.featured-excerpt { color: rgba(255,255,255,0.55); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-meta { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,0.45); display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Score ring ---------- */
.score-ring { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .ring-val {
  font-family: var(--font-display); font-weight: 700; color: inherit;
  display: grid; place-items: center;
}
.score-ring .ring-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: #0A1120; padding: 12px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; white-space: nowrap; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); }
.ticker-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin: 0 24px; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- Section headings ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.section-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin: 0; }
.section-note { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.section-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ---------- Review cards ---------- */
.review-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.review-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.review-card:hover { border-color: rgba(0,102,255,0.5); box-shadow: 0 12px 40px -18px rgba(0,102,255,0.35); color: var(--ink); }
.review-card .card-art { background: #F4F6FA; padding: 22px 22px 8px; }
.review-card .card-art svg { width: 100%; height: auto; display: block; }
.review-card .card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.card-meta { display: flex; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card-meta .kind { color: var(--blue); }
.review-card h3 { font-size: 19px; margin: 0; line-height: 1.3; }
.review-card:hover h3 { color: var(--blue); }
.card-excerpt { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
.score-chip {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border-radius: 999px; background: var(--blue); color: #fff;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
}
.card-date { font-size: 12px; color: var(--muted); margin-left: 8px; }

/* ---------- Compare teaser + table ---------- */
.compare-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-teaser-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.compare-teaser {
  text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.compare-teaser:hover { transform: translateY(-4px); border-color: rgba(0,102,255,0.5); box-shadow: 0 20px 50px -24px rgba(0,102,255,0.4); color: var(--ink); }
.compare-teaser h3 { margin: 14px 0 0; }
.compare-teaser:hover h3 { color: var(--blue); }
.compare-teaser .tagline { font-size: 14px; color: var(--muted); margin: 4px 0 14px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.compare-wrap { overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.compare-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; }
.compare-table tbody th {
  position: sticky; left: 0; background: var(--bg); text-align: left;
  font-size: 14px; font-weight: 600; z-index: 2; min-width: 150px;
}
.compare-table thead th { vertical-align: bottom; border: 1px solid var(--line); border-bottom: 0; background: var(--card); border-radius: 0; padding: 22px 18px; }
.compare-table thead th:first-child { border: 0; background: transparent; }
.compare-table tbody td { font-size: 14px; }
.compare-table tbody tr:nth-child(odd) td { background: rgba(226,232,240,0.45); }
.compare-table tbody td.is-best { font-weight: 700; color: var(--blue); position: relative; }
.compare-table tbody td.is-best::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue);
}
.compare-table tfoot td { background: var(--card); border: 1px solid var(--line); border-top: 0; padding: 18px; }
.cmp-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 12px 0 0; }
.cmp-tagline { font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.cmp-price { font-size: 14px; font-weight: 600; }
.cmp-bestfor { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin-top: 8px; }
.editors-badge {
  display: inline-flex; align-items: center; gap: 4px; background: var(--blue); color: #fff;
  border-radius: 999px; padding: 3px 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px;
}
.icon-check { color: var(--blue); }
.icon-x { color: rgba(92,107,132,0.5); }
.cmp-summary-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.cmp-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* ---------- Article ---------- */
.archive-hero { background: #070C17; color: #fff; padding: 120px 0 40px; }
.archive-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.1; margin: 0; }
.archive-hero .eyebrow { color: #3D8BFF; }
.archive-sub { color: rgba(255, 255, 255, 0.6); max-width: 640px; margin: 10px 0 0; }
.reading-col { max-width: 720px; font-size: 17px; line-height: 1.75; }

.article-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 96px 0 40px; }
.article-hero-grid { display: grid; gap: 32px; align-items: center; }
.article-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.12; }
.article-excerpt { font-size: 17px; color: var(--muted); max-width: 58ch; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.byline-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
  font-family: var(--font-display); font-weight: 700;
}
.byline .who { font-size: 14px; font-weight: 600; margin: 0; }
.byline .role { font-size: 12px; color: var(--muted); margin: 0; }
.score-panel {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  border: 1px solid var(--line); background: var(--card); border-radius: 20px; padding: 22px;
}
.score-panel svg.device-art { width: 100%; max-width: 200px; height: auto; flex: none; }

.article-body { max-width: 680px; margin: 0 auto; padding: 44px 20px; font-size: 17px; line-height: 1.75; }

/* ---------- Article 3-column layout with ad rails ---------- */
.article-layout { display: grid; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.article-layout.has-both { grid-template-columns: 168px minmax(0, 760px) 168px; justify-content: space-between; }
.article-layout.has-left,
.article-layout.has-right,
.article-layout.has-none { grid-template-columns: minmax(0, 760px); justify-content: center; }
.article-layout.has-left { grid-template-columns: 168px minmax(0, 760px); justify-content: center; }
.article-layout.has-right { grid-template-columns: minmax(0, 760px) 168px; justify-content: center; }
.article-layout .article-body { max-width: none; margin: 0; padding: 44px 0; }
.article-layout .comments-area { max-width: none; margin: 0; padding: 0 0 56px; }

.rail { display: flex; flex-direction: column; gap: 20px; padding-top: 44px; min-width: 0; }
.rail-card {
  border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
}
.author-rail-card .byline-avatar { width: 48px; height: 48px; font-size: 18px; margin-bottom: 6px; }
.rail-who { font-size: 14px; font-weight: 600; margin: 0; }
.rail-role { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin: 0; }
.rail-date { font-size: 12px; color: var(--muted); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); width: 100%; }
.score-rail-card {
  background: linear-gradient(160deg, #101C36 0%, #070C17 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 26px 16px 22px;
  gap: 16px;
}
.score-rail-card svg.device-art { width: 100%; height: auto; }
.score-rail-card .score-ring { gap: 10px; }
.score-rail-card .ring-label { color: rgba(255, 255, 255, 0.62); opacity: 1; font-size: 11px; }
.score-verdict {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6EA8FF;
  background: rgba(0, 102, 255, 0.14);
  border: 1px solid rgba(110, 168, 255, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
}
.rail-ad { overflow: hidden; }
.rail-ad:empty { display: none; }
@media (max-width: 959px) {
  .article-layout.has-both,
  .article-layout.has-left,
  .article-layout.has-right { grid-template-columns: minmax(0, 1fr); }
  .rail { padding-top: 0; }
  .rail-right { order: -1; }
  .rail-left { order: 2; }
  .article-main { order: 1; }
  .score-rail-card { flex-direction: row; justify-content: center; gap: 20px; }
  .score-rail-card svg.device-art { max-width: 180px; }
}
.article-body > * { margin: 0 0 26px; }
.article-body h2 { font-size: 26px; padding-top: 16px; }
.article-body h3 { font-size: 21px; padding-top: 8px; }
.article-body ul { padding-left: 4px; }
.article-body ul li { list-style: none; position: relative; padding-left: 22px; margin-bottom: 10px; }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.article-body blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 20px; margin: 28px 0; }
.article-body blockquote p { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.article-body blockquote cite { font-size: 14px; font-style: normal; color: var(--muted); }

.measured-table { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--card); }
.measured-table caption {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); background: rgba(226,232,240,0.5); padding: 12px 20px; border-bottom: 1px solid var(--line);
}
.measured-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 12px 20px; width: 55%; }
.measured-table td { text-align: right; font-family: var(--font-display); font-weight: 600; padding: 12px 20px; }
.measured-table tr + tr th, .measured-table tr + tr td { border-top: 1px solid rgba(226,232,240,0.7); }

.verdict-box { border: 2px solid rgba(0,102,255,0.7); border-radius: 24px; padding: 28px; background: var(--card); margin: 34px 0; }
.verdict-box h3 { display: flex; align-items: center; gap: 10px; }
.verdict-box h3::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--blue); }
.verdict-cols { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.verdict-cols h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px; }
.verdict-cols .pros h4 { color: var(--blue); }
.verdict-cols .cons h4 { color: #E03131; }
.verdict-cols ul { margin: 0; padding: 0; }
.verdict-cols li { list-style: none; display: flex; gap: 10px; font-size: 15px; margin-bottom: 10px; }
.reviewed-unit {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--dark); color: #fff; border-radius: var(--radius); padding: 22px 26px; margin: 34px 0;
}
.reviewed-unit .ru-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0; }
.reviewed-unit .ru-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 4px 0 0; }
.reviewed-unit .ru-sub { font-size: 13px; color: rgba(255,255,255,0.55); margin: 2px 0 0; }

/* ---------- Comments ---------- */
.comments-area { max-width: 680px; margin: 0 auto; padding: 40px 20px; }
.comments-title { font-size: 28px; }
.comments-title .count { color: var(--muted); font-weight: 500; }
.comment-form-wrap { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 24px; margin-bottom: 36px; }
.comment-form-wrap label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.comment-form-wrap input[type="text"],
.comment-form-wrap input[type="email"],
.comment-form-wrap textarea {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 16px; font-size: 15px; font-family: inherit; background: var(--bg);
  margin-bottom: 16px; outline: none; transition: box-shadow 0.2s, border-color 0.2s;
}
.comment-form-wrap textarea { height: auto; padding: 12px 16px; resize: vertical; }
.comment-form-wrap input:focus, .comment-form-wrap textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,255,0.2);
}
.comment-form-wrap .form-submit { margin: 0; }
.comment-form-wrap input.submit {
  display: inline-flex; align-items: center; height: 44px; padding: 0 24px;
  border-radius: 999px; border: 0; background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.comment-form-wrap input.submit:hover { background: var(--blue-dark); }
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.comment-list .children { list-style: none; margin: 24px 0 0; padding-left: 40px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.comment { display: flex; gap: 14px; }
.comment-avatar {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.comment .comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.comment .fn { font-size: 14px; font-weight: 600; font-style: normal; }
.comment .comment-date { font-size: 12px; color: var(--muted); }
.comment .comment-content p { margin: 6px 0 8px; font-size: 15px; }
.comment .reply { font-size: 12px; font-weight: 600; }

/* ---------- Methodology / footer ---------- */
.method-strip { background: var(--dark); color: #fff; border-radius: 24px; padding: 44px; display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
.method-strip h3 { font-size: 18px; }
.method-strip p { font-size: 14px; color: rgba(255,255,255,0.55); }
.method-item { display: flex; gap: 14px; }
.method-item .m-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-top: 8px; flex-shrink: 0; }

.site-footer { background: var(--dark); color: #fff; margin-top: 60px; }
.site-footer .footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; padding: 56px 0 40px; }
.site-footer .brand { color: #fff; }
.site-footer p.about { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 42ch; }
.site-footer h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer ul a { color: rgba(255,255,255,0.7); }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; font-size: 12px; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Pagination / nav below ---------- */
.posts-navigation { margin: 40px 0; text-align: center; }
.nav-links { display: flex; justify-content: center; gap: 12px; }
.nav-links a, .nav-links span.current {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.nav-links span.current { background: var(--blue); border-color: var(--blue); color: #fff; }

.section-pad { padding: 56px 0; }

/* ---------- Motion parity with the React demo ---------- */
.hero-accent { color: #3D8BFF; font-style: normal; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease-out, transform 0.55s ease-out; will-change: transform, opacity; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.card-read {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s;
}
.review-card:hover .card-read { opacity: 1; transform: translateX(0); }
.compare-table td.col-active, .compare-table th.col-active { background: rgba(0, 102, 255, 0.06); }
.featured-card .card-art-dark { margin: 18px 0 4px; }
.featured-card .card-art-dark svg { width: 100%; max-height: 160px; }

/* ---------- Responsive ---------- */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .article-hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
}
@media (max-width: 959px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .cmp-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .method-strip { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .review-grid, .compare-teaser-grid, .cmp-summary-grid, .verdict-cols { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { color: var(--ink) !important; padding: 12px 16px; border-radius: 12px; font-size: 15px; }
  .main-nav a:hover { background: var(--bg); }
  .main-nav .btn-primary { color: #fff !important; justify-content: center; margin-top: 8px; }
  .menu-toggle { display: block; }
  .hero { padding-top: 100px; }
  .hero-stats { gap: 16px; }
  .section-pad { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
