/* article.css — Article, Review, Guide page styles */

/* ── Layout ──────────────────────────────────────────────────── */
.article-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: start;
}

/* ── Article header ──────────────────────────────────────────── */
.article-header { margin-bottom: 32px; }

.article-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  margin-bottom: 20px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-size: 13px;
  color: var(--mid-gray);
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--black);
}

.article-meta-dot { color: var(--warm-gray); }

.article-meta-cat {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.article-meta-cat:hover { text-decoration: underline; }

/* ── Hero image ──────────────────────────────────────────────── */
.article-hero-img {
  margin-bottom: 32px;
  border: 1px solid var(--warm-gray);
  overflow: hidden;
  max-height: 480px;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Article body ────────────────────────────────────────────── */
.article-body { font-size: 16px; line-height: 1.8; color: #2a2824; }

.article-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--black);
  scroll-margin-top: 80px;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  scroll-margin-top: 80px;
}

.article-body h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body p { margin-bottom: 20px; }

.article-body a {
  color: var(--accent);
  text-decoration: underline;
}
.article-body a:hover { text-decoration: none; }

.article-body ul,
.article-body ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.article-body ul li,
.article-body ol li {
  font-size: 15px;
  line-height: 1.7;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--warm-gray);
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before {
  content: counter(item);
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  background: var(--black);
  color: var(--off-white);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }

/* Specs table */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 14px;
}
.article-body table tr { border-bottom: 1px solid var(--warm-gray); }
.article-body table tr:first-child { border-top: 1.5px solid var(--black); }
.article-body table td,
.article-body table th { padding: 12px 16px; line-height: 1.5; text-align: left; }
.article-body table td:first-child,
.article-body table th { font-weight: 500; color: var(--mid-gray); width: 40%; background: var(--white); }
.article-body table thead th { background: var(--black); color: var(--off-white); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.article-body table tr.highlight td { background: var(--accent-light); font-weight: 500; }

/* Pros/cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--black);
  margin: 32px 0;
}
.pros-col, .cons-col { padding: 24px; }
.pros-col { border-right: 1.5px solid var(--black); }
.pros-col-title, .cons-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pros-col-title { color: #2a7a2a; }
.cons-col-title { color: var(--accent); }
.pros-list, .cons-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pros-list li, .cons-list li {
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: none !important;
  padding: 0 !important;
}
.pros-list li::before { content: '✓'; color: #2a7a2a; font-weight: 700; flex-shrink: 0; background: none !important; width: auto !important; height: auto !important; position: static !important; }
.cons-list li::before { content: '✗'; color: var(--accent); font-weight: 700; flex-shrink: 0; background: none !important; width: auto !important; height: auto !important; position: static !important; }

/* Blockquote */
.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  padding: 16px 24px;
  background: var(--accent-light);
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--warm-gray); padding: 20px 0; }
.faq-q {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.faq-a { font-size: 15px; line-height: 1.7; color: #4a4640; }

/* ── Related articles ────────────────────────────────────────── */
.article-related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1.5px solid var(--black);
}
.article-related-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.article-related-grid { display: flex; flex-direction: column; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.article-sidebar { position: sticky; top: 80px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: 1fr 280px; gap: 48px; }
}

@media (max-width: 768px) {
  .article-wrap { grid-template-columns: 1fr; padding: 32px 20px; }
  .article-sidebar { position: static; }
  .pros-cons { grid-template-columns: 1fr; }
  .pros-col { border-right: none; border-bottom: 1.5px solid var(--black); }
  .article-body h2 { font-size: 22px; }
}
