/* ═══════════════════════════════════════════════════════════════
   ARTICLE DESIGN SYSTEM v2.0 — Wattbalkon Solar Dark
   Complete responsive redesign with:
   - Two-column layout (content + sticky TOC sidebar)
   - Mobile TOC drawer with overlay
   - Fully responsive tables, cards, CTAs, FAQ
   - Modern dark theme with amber accents
   ═══════════════════════════════════════════════════════════════ */

/* ── Reading Progress Bar ── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, #d4673a), var(--accent, #d4673a));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(255, 214, 0, 0.4);
}

/* ── Article Main Container ── */
.article-main {
  max-width: 100%;
  padding: 64px 24px 0;
  position: relative;
}

.article-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

/* ── Article Header ── */
.article-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
  padding-top: 32px;
  animation: reveal-up 0.6s ease forwards;
}

.article-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent, #d4673a);
  background: var(--primary-opacity-10);
  border: 1px solid var(--primary-opacity-20);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.article-cat-badge:hover {
  background: var(--primary-opacity-20);
  border-color: var(--primary-opacity-40);
  transform: translateY(-1px);
}

.article-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--text, #1a1816);
  line-height: 1.15;
  margin: 0 0 20px 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2, #6a6660);
  flex-wrap: wrap;
}

.article-author,
.article-date,
.article-readtime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-author strong {
  color: var(--text-2, #6a6660);
  font-weight: 600;
}

.article-meta-sep {
  color: var(--text-3, #9a9690);
}

/* ── Hero Image ── */
.article-hero-img {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border, #e6e0d6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.article-hero-img.sr-visible,
.article-hero-img[data-sr].sr-visible {
  opacity: 1;
  transform: translateY(0);
}

.article-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Article Body: Two-Column Layout ── */
.article-body {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: start;
}

/* ── Content Column ── */
.article-content-col {
  min-width: 0; /* prevents grid blowout */
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2, #6a6660);
  max-width: 780px;
  width: 100%;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content > *:last-child {
  margin-bottom: 0;
}

/* ── Content Typography ── */
.article-content h2 {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--text, #1a1816);
  letter-spacing: -0.5px;
  margin: 48px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border, #e6e0d6);
  scroll-margin-top: 90px;
}

.article-content h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--text, #1a1816);
  margin: 36px 0 16px;
  scroll-margin-top: 90px;
}

.article-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2, #6a6660);
  margin: 28px 0 12px;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content a {
  color: var(--accent, #d4673a);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  transition: all 0.2s ease;
}

.article-content a:hover {
  color: #b85633;
  border-bottom-color: var(--accent, #d4673a);
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-content li:last-child {
  margin-bottom: 0;
}

.article-content strong {
  color: var(--text, #1a1816);
  font-weight: 600;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.article-content blockquote {
  border-left: 3px solid var(--accent, #d4673a);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(212, 103, 58, 0.03);
  border-radius: 0 8px 8px 0;
  color: var(--text-2, #6a6660);
  font-style: italic;
}

/* ── Content Reveal Animation ── */
.article-content.reveal-ready > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.article-content.reveal-ready > *.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Table Scroll Wrapper (auto-applied via JS) ── */
.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 32px 0;
  border-radius: 12px;
  border: 1px solid var(--border, #e6e0d6);
}

.table-scroll-wrapper table {
  margin: 0 !important;
}

/* ── Comparison Table ── */
.article-content .comparison-table,
.article-content table:not(.inline-faq table) {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 32px 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border, #e6e0d6);
}

.article-content table thead {
  background: rgba(212, 103, 58, 0.06);
}

.article-content table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text, #1a1816);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(212, 103, 58, 0.15);
  white-space: nowrap;
}

.article-content table td {
  padding: 12px 16px;
  color: var(--text-2, #6a6660);
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
  vertical-align: top;
}

.article-content table tbody tr:hover {
  background: rgba(0, 0, 0, 0.01);
}

.article-content table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Pros/Cons Grid ── */
.article-content .pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.article-content .pros-cons-grid .pros-col,
.article-content .pros-cons-grid .cons-col {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border, #e6e0d6);
}

.article-content .pros-cons-grid .pros-col {
  background: rgba(90, 143, 58, 0.04);
  border-color: rgba(90, 143, 58, 0.15);
}

.article-content .pros-cons-grid .cons-col {
  background: rgba(196, 90, 58, 0.04);
  border-color: rgba(196, 90, 58, 0.12);
}

.article-content .pros-cons-grid h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-content .pros-cons-grid .pros-col h4 {
  color: #4ade80;
}

.article-content .pros-cons-grid .cons-col h4 {
  color: #ff6b6b;
}

.article-content .pros-cons-grid ul {
  margin: 0;
  padding-left: 20px;
}

.article-content .pros-cons-grid li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.article-content .pros-cons-grid .pros-col li::marker {
  content: "✓ ";
  color: #4ade80;
}

.article-content .pros-cons-grid .cons-col li::marker {
  content: "✗ ";
  color: #ff6b6b;
}

/* ── CTA Button ── */
.article-content .cta-wrapper {
  margin: 36px 0;
  text-align: center;
}

.article-content .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent, #d4673a);
  color: var(--text, #1a1816);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(255, 214, 0, 0.2);
}

.article-content .cta-button:hover {
  background: linear-gradient(135deg, var(--accent, #d4673a), var(--accent, #d4673a));
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 214, 0, 0.35);
  color: var(--text, #1a1816);
  border-bottom: none;
}

.article-content .cta-button:active {
  transform: translateY(0);
}

/* ── Product Cards ── */
.article-content .product-card {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid var(--border, #e6e0d6);
  border-radius: 14px;
  padding: 28px;
  margin: 32px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.article-content .product-card.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

.article-content .product-card:hover {
  border-color: rgba(212, 103, 58, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ── FAQ Section ── */
.article-content .inline-faq {
  margin: 48px 0;
}

.article-content .inline-faq > h2,
.article-content .inline-faq > h3 {
  margin-bottom: 24px;
}

.article-content .inline-faq details {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid var(--border, #e6e0d6);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.article-content .inline-faq details[open] {
  border-color: rgba(212, 103, 58, 0.15);
}

.article-content .inline-faq details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text, #1a1816);
  font-size: 16px;
  list-style: none;
  transition: background 0.2s ease;
}

.article-content .inline-faq details summary::-webkit-details-marker {
  display: none;
}

.article-content .inline-faq details summary:hover {
  background: rgba(0, 0, 0, 0.01);
}

.article-content .inline-faq details .faq-toggle {
  font-size: 22px;
  color: var(--accent, #d4673a);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.article-content .inline-faq details[open] .faq-toggle {
  transform: rotate(45deg);
}

.article-content .inline-faq details > p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--text-2, #6a6660);
  line-height: 1.7;
}

/* ── Sources Section ── */
.article-content .sources-section {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid var(--border, #e6e0d6);
  border-radius: 12px;
  padding: 28px;
  margin: 48px 0 0;
}

.article-content .sources-section h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-2, #6a6660);
}

.article-content .sources-section ul {
  margin: 0;
  padding-left: 18px;
}

.article-content .sources-section li {
  font-size: 14px;
  color: var(--text-2, #6a6660);
  margin-bottom: 8px;
}

.article-content .sources-section li a {
  color: var(--accent, #d4673a);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--primary-opacity-40);
  border-bottom: none;
  transition: text-decoration-color 0.2s ease;
}

.article-content .sources-section li a:hover {
  text-decoration-color: var(--accent, #d4673a);
  border-bottom: none;
}

.article-content .sources-section .source-date {
  color: var(--text-3, #9a9690);
  font-size: 13px;
}

/* ── Info Boxes ── */
.article-content .pro-tip,
.article-content .warning-box,
.article-content .stat-highlight,
.article-content .affiliate-disclosure {
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.7;
}

.article-content .pro-tip {
  background: rgba(212, 103, 58, 0.04);
  border: 1px solid rgba(212, 103, 58, 0.15);
  border-left: 3px solid var(--accent, #d4673a);
}

.article-content .warning-box {
  background: rgba(196, 122, 58, 0.04);
  border: 1px solid rgba(196, 122, 58, 0.15);
  border-left: 3px solid #c47a3a;
}

.article-content .stat-highlight {
  background: rgba(212, 103, 58, 0.04);
  border: 1px solid rgba(212, 103, 58, 0.15);
  border-left: 3px solid var(--accent, #d4673a);
}

.article-content .affiliate-disclosure {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid var(--border, #e6e0d6);
  font-size: 13px;
  color: var(--text-2, #6a6660);
}

/* ── Step Guide ── */
.article-content .step-guide {
  counter-reset: step-counter;
  margin: 32px 0;
}

.article-content .step-guide > * {
  position: relative;
  padding-left: 48px;
  margin-bottom: 24px;
}

.article-content .step-guide > *::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--primary-opacity-10);
  border: 1px solid var(--primary-opacity-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent, #d4673a);
}

/* ═══════════════════════════════════════════════════════════════
   TOC SIDEBAR (Desktop) — Sticky right column
   ═══════════════════════════════════════════════════════════════ */
.article-toc-sidebar {
  display: none;
}

.article-toc-sidebar.toc-visible {
  display: block;
  /* Sticky direkt auf das Grid-Item, damit es im Viewport bleibt */
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}

.article-toc-sticky {
  /* Legacy: sticky war hier, jetzt auf Parent */
  position: relative;
  top: auto;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.article-toc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-2, #6a6660);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border, #e6e0d6);
}

.article-toc-label svg {
  color: var(--accent, #d4673a);
}

.article-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.article-toc-nav::-webkit-scrollbar {
  width: 4px;
}

.article-toc-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.article-toc-link {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  scroll-margin-top: 90px;
}

.article-toc-link:hover {
  color: rgba(255, 214, 0, 0.8);
  border-left-color: rgba(255, 214, 0, 0.3);
  background: rgba(255, 214, 0, 0.02);
}

.article-toc-link.toc-active {
  color: var(--accent, #d4673a);
  border-left-color: var(--accent, #d4673a);
  font-weight: 600;
}

.article-toc-link.toc-sub {
  padding-left: 24px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE TOC — Floating button + slide-in drawer
   ═══════════════════════════════════════════════════════════════ */
.mobile-toc-btn {
  display: none;
  position: fixed;
  bottom: 88px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent, #d4673a);
  border: none;
  color: var(--text, #1a1816);
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 214, 0, 0.3);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.mobile-toc-btn.visible {
  display: none; /* Hidden by default, shown on mobile */
}

.mobile-toc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-toc-overlay.visible {
  display: block;
  opacity: 1;
}

.mobile-toc-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--card, #fff);
  border-left: 1px solid var(--border, #e6e0d6);
  z-index: 1002;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.mobile-toc-drawer.open {
  display: block;
  right: 0;
}

.mobile-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border, #e6e0d6);
  margin-bottom: 20px;
}

.mobile-toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #1a1816);
}

.mobile-toc-close {
  background: none;
  border: none;
  color: var(--text-2, #6a6660);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-toc-close:hover {
  background: var(--border, #e6e0d6);
  color: var(--text, #1a1816);
}

.mobile-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-toc-link {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2, #6a6660);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-toc-link:hover,
.mobile-toc-link.toc-active {
  color: var(--accent, #d4673a);
  background: rgba(255, 214, 0, 0.05);
}

.mobile-toc-link.toc-sub {
  padding-left: 32px;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════════ */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 0, 0.3);
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  color: var(--accent, #d4673a);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.scroll-to-top.stt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: rgba(255, 214, 0, 0.1);
  border-color: var(--accent, #d4673a);
  box-shadow: 0 4px 16px rgba(255, 214, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   POST NAVIGATION (Prev/Next articles)
   ═══════════════════════════════════════════════════════════════ */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 780px;
  margin: 64px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--border, #e6e0d6);
}

.article-nav-prev,
.article-nav-next {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid var(--border, #e6e0d6);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-nav-prev:hover,
.article-nav-next:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(212, 103, 58, 0.15);
  transform: translateY(-2px);
}

.article-nav-next {
  text-align: right;
}

.article-nav-label {
  font-size: 12px;
  color: var(--text-2, #6a6660);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text, #1a1816);
}

/* ═══════════════════════════════════════════════════════════════
   EZ-TOC PLUGIN OVERRIDE — Hide plugin output completely
   ═══════════════════════════════════════════════════════════════ */
.ez-toc-container,
#ez-toc-container,
div[class*="ez-toc"]:not(.article-toc-sidebar) {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .article-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-toc-sidebar {
    display: none !important;
  }

  .article-content {
    max-width: 100%;
  }

  .article-content-col {
    max-width: 780px;
    margin: 0 auto;
  }

  .article-nav {
    max-width: 100%;
  }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  .article-main {
    padding: 64px 16px 0;
  }

  .article-wrap {
    padding: 24px 0 60px;
  }

  .article-header {
    padding-top: 16px;
    margin-bottom: 28px;
  }

  .article-title {
    font-size: clamp(24px, 6vw, 36px);
    letter-spacing: -0.8px;
    line-height: 1.2;
  }

  .article-meta {
    font-size: 13px;
    gap: 6px;
  }

  .article-hero-img {
    margin: 0 0 32px;
    border-radius: 12px;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.75;
  }

  .article-content h2 {
    font-size: clamp(20px, 5vw, 24px);
    margin: 36px 0 16px;
  }

  .article-content h3 {
    font-size: clamp(17px, 4vw, 20px);
    margin: 28px 0 12px;
  }

  /* Pros/Cons: Single column on mobile */
  .article-content .pros-cons-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
  }

  .article-content .pros-cons-grid .pros-col,
  .article-content .pros-cons-grid .cons-col {
    padding: 18px;
  }

  /* Product cards: stack vertically */
  .article-content .product-card {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  /* CTA: Full width on mobile */
  .article-content .cta-wrapper {
    margin: 28px 0;
  }

  .article-content .cta-button {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
  }

  /* FAQ: Tighter spacing */
  .article-content .inline-faq details summary {
    padding: 16px 18px;
    font-size: 15px;
  }

  .article-content .inline-faq details > p {
    padding: 0 18px 16px;
    font-size: 15px;
  }

  /* Sources: Less padding */
  .article-content .sources-section {
    padding: 20px;
    margin: 32px 0 0;
  }

  /* Info boxes: Less padding */
  .article-content .pro-tip,
  .article-content .warning-box,
  .article-content .stat-highlight,
  .article-content .affiliate-disclosure {
    padding: 16px 18px;
    margin: 20px 0;
    font-size: 14px;
  }

  /* Tables: Make scrollable */
  .article-content table {
    font-size: 13px;
  }

  .article-content table th {
    padding: 10px 12px;
    font-size: 12px;
  }

  .article-content table td {
    padding: 10px 12px;
  }

  /* Post Navigation: Single column */
  .article-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 40px 0 0;
    padding-top: 32px;
  }

  .article-nav-next {
    text-align: left;
  }

  /* Scroll-to-top: Reposition for mobile */
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  /* Mobile TOC button visible */
  .mobile-toc-btn.visible {
    display: flex;
    opacity: 1;
    transform: scale(1);
    align-items: center;
    justify-content: center;
  }

  /* TOC drawer adjustments */
  .mobile-toc-drawer {
    width: 280px;
    padding: 16px;
  }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
  .article-main {
    padding: 64px 12px 0;
  }

  .article-header {
    padding-top: 12px;
  }

  .article-title {
    font-size: 22px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .article-meta-sep {
    display: none;
  }

  .article-content {
    font-size: 15px;
  }

  .article-content h2 {
    font-size: 19px;
  }

  .article-content h3 {
    font-size: 17px;
  }

  .article-content .cta-button {
    font-size: 14px;
    padding: 14px 20px;
  }

  .article-content .product-card {
    padding: 16px;
  }

  .scroll-to-top {
    bottom: 16px;
    right: 16px;
  }

  .mobile-toc-btn {
    bottom: 72px;
    right: 16px;
  }

  .mobile-toc-drawer {
    width: 100%;
    right: -100%;
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .article-content.reveal-ready > *,
  .article-hero-img,
  .product-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .article-header {
    animation: none !important;
  }
}
