/* ─────────────────────────────────────────
   ARTICLE HERO
───────────────────────────────────────── */
.article-hero {
  margin-top: 0;
  position: relative;
  height: 540px;
  overflow: hidden;
}
.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.3) 55%,
    rgba(10,10,10,0.1) 100%
  );
}
.article-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  color: var(--white);
}
.article-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.article-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin-bottom: 1.5rem;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 780px;
  flex-wrap: wrap;
  gap: 1rem;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-avatar--lg {
  width: 52px;
  height: 52px;
  font-size: 0.85rem;
}
.author-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.author-date {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.1rem;
}
.article-score-wrap {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md);
  padding: 0.6rem 1.1rem;
}
.article-score {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.article-score span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ─────────────────────────────────────────
   ARTICLE LAYOUT
───────────────────────────────────────── */
.article-layout {
  padding: 4rem 0 6rem;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

/* ─────────────────────────────────────────
   ARTICLE BODY
───────────────────────────────────────── */
.article-body {
  min-width: 0;
}

/* Verdict bar */
.verdict-bar {
  background: var(--red-lt);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 0.7rem 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.55;
}
.verdict-label {
  display: inline;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-right: 0.6rem;
  vertical-align: middle;
}
.verdict-bar p {
  display: inline;
  font-size: 0.95rem;
  color: #0369a1;
  font-weight: 500;
  vertical-align: middle;
}

/* Typography */
.article-lead {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 1.75rem;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  color: var(--black);
}

/* Specs box */
.specs-box {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.specs-box h3 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.specs-grid {
  display: flex;
  flex-direction: column;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.spec-item:last-child { border-bottom: none; }
.spec-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.spec-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}

/* Pull quote */
.pull-quote {
  border: none;
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: var(--black);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  position: relative;
}
.pull-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--red);
  line-height: 0;
  position: absolute;
  top: 2.25rem;
  left: 1.5rem;
  font-family: Georgia, serif;
}
.pull-quote { padding-left: 3.5rem; }

/* Inline figure */
.article-figure {
  margin: 2rem 0;
  border-radius: var(--r-md);
  overflow: hidden;
}
.article-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-figure figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.75rem 0 0;
  line-height: 1.5;
}

/* Pros & cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.pros, .cons {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.pros h4, .cons h4 {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.pros ul, .cons ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pros li, .cons li {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
  padding-left: 1rem;
  position: relative;
}
.pros li::before { content: '✓'; position: absolute; left: 0; color: #22c55e; font-weight: 700; }
.cons li::before { content: '✕'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Score breakdown */
.score-breakdown {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow);
}
.score-breakdown h3 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.score-rows { display: flex; flex-direction: column; gap: 0.85rem; }
.score-row {
  display: grid;
  grid-template-columns: 140px 1fr 32px;
  align-items: center;
  gap: 1rem;
}
.score-row > span:first-child { font-size: 0.85rem; font-weight: 600; color: #444; }
.score-bar {
  height: 7px;
  background: #f0f0f0;
  border-radius: 50px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: var(--red);
  border-radius: 50px;
  transition: width 1s ease;
}
.score-num { font-size: 0.82rem; font-weight: 800; color: var(--black); text-align: right; }
.score-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.score-total > span { font-size: 0.9rem; font-weight: 800; }
.score-total-num { font-size: 2.2rem; font-weight: 900; color: var(--red); line-height: 1; }
.score-total-num span { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sidebar-widget {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.sidebar-widget h4 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.sidebar-author {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.sidebar-author strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
.sidebar-author p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* Related */
.sidebar-related { display: flex; flex-direction: column; gap: 1rem; }
.related-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  cursor: pointer;
}
.related-item img {
  width: 72px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  transition: opacity 0.15s;
}
.related-item:hover img { opacity: 0.8; }
.related-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.2rem;
}
.related-item p {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  transition: color 0.15s;
}
.related-item:hover p { color: var(--red); }
.related-score { font-size: 0.75rem; font-weight: 800; color: var(--muted); }

/* Sidebar newsletter */
.sidebar-nl { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.25rem; }
.sidebar-widget > p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.75rem; }
.sidebar-nl input {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  border-radius: 50px;
  outline: none;
  transition: border-color 0.15s;
}
.sidebar-nl input:focus { border-color: var(--black); }
.sidebar-nl button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-nl button:hover { background: #333; }
.sidebar-nl-confirm { font-size: 0.82rem; color: var(--red); font-weight: 700; margin-top: 0.25rem; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-hero { height: 420px; }
}

@media (max-width: 600px) {
  .article-hero { height: 360px; }
  .article-title { font-size: 1.5rem; }
  .pros-cons { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 110px 1fr 28px; }
  .article-layout { padding: 2.5rem 0 4rem; }
}

/* ── Dark mode ── */
body.dark .article-layout { background: #141414; }
body.dark .article-body p,
body.dark .article-body li { color: #c0c0c0; }
body.dark .article-body h2,
body.dark .article-body h3 { color: #e8e8e8; }
body.dark .article-title   { color: #f0f0f0; }
body.dark .article-meta    { color: rgba(255,255,255,0.45); }
body.dark .article-author-name { color: rgba(255,255,255,0.85); }

/* Verdict box */
body.dark .verdict-box { background: rgba(8,145,178,0.12); border-color: var(--red); }
body.dark .verdict-box p { color: #a0d8e8; }

/* Specs */
body.dark .specs-table { background: #1e1e1e; border-color: rgba(255,255,255,0.07); }
body.dark .spec-row { border-color: rgba(255,255,255,0.06); }
body.dark .spec-label { color: #888; }
body.dark .spec-value { color: #e0e0e0; }

/* Pros / Cons */
body.dark .pros-cons-box { background: #1e1e1e; border-color: rgba(255,255,255,0.07); }
body.dark .pros-cons-box h4 { color: #e8e8e8; }
body.dark .pros li, body.dark .cons li { color: #bbb; }

/* Score breakdown */
body.dark .score-breakdown { background: #1e1e1e; border-color: rgba(255,255,255,0.07); }
body.dark .score-row > span:first-child { color: #aaa; }
body.dark .score-track { background: rgba(255,255,255,0.08); }
body.dark .score-num { color: #e0e0e0; }

/* Sidebar */
body.dark .article-sidebar > div { background: #1e1e1e; border-color: rgba(255,255,255,0.07); }
body.dark .sidebar-section-title { color: #888; }
body.dark .sidebar-author h4 { color: #e8e8e8; }
body.dark .sidebar-related a { color: #c0c0c0; border-color: rgba(255,255,255,0.06); }
body.dark .sidebar-related a:hover { color: var(--red); }

body.dark .article-score { color: #ffffff; }
body.dark .article-score span { color: rgba(255,255,255,0.45); }

body.dark .article-category { color: #ffffff; }
body.dark .article-hero .author-name,
body.dark .article-hero .author-date { color: rgba(255,255,255,0.6); }
body.dark .article-hero .author-avatar { color: #ffffff; }
