/* modern.css — full redesigned article template (loaded only when article.template == "modern") */

:root {
  --m-ink: #0c1220;
  --m-text: #1f2937;
  --m-muted: #5c6471;
  --m-faint: #9aa1ac;
  --m-line: #e9e7e1;
  --m-line-strong: #d4d2cc;
  --m-surface: #ffffff;
  --m-surface-warm: #faf8f3;
  --m-surface-cream: #fef5e7;
  --m-surface-sand: #f4f1ea;
  --m-navy: #000441;
  --m-cta: #FFA500;
  --m-cta-hover: #e69500;
  --m-cta-text: #ffffff;
  --m-gold: #b8860b;
  --m-gold-soft: #f5e8c8;
  --m-green: #14c649;
  --m-perf-fill: #5BB85C;
  --m-perf-track: #b0a8a8;
  --m-cons: #d0021b;
  --m-radius: 8px;
  --m-radius-lg: 14px;
  --m-shadow: 0 1px 2px rgba(12, 18, 32, 0.04), 0 4px 12px rgba(12, 18, 32, 0.04);
  --m-shadow-lifted: 0 2px 4px rgba(12, 18, 32, 0.06), 0 8px 24px rgba(12, 18, 32, 0.08);
}

/* Reset article-scoped (don't disturb header/footer which use base.css) */
.m-article {
  color: var(--m-text);
  font-family: helvetica-lt-pro, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
.m-article * { box-sizing: border-box; }
.m-article p { margin: 0 0 1em; }
.m-article a { color: inherit; }
.m-article img { max-width: 100%; height: auto; display: block; }

/* Typography utilities */
.m-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
}
.m-eyebrow-sep { margin: 0 6px; opacity: 0.5; }
.m-eyebrow-section {
  display: inline-block;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--m-ink);
  color: var(--m-ink);
}

.m-h1 {
  color: var(--m-ink);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.024em;
  margin: 18px 0 22px;
}

.m-dek {
  font-size: 21px;
  line-height: 1.45;
  color: var(--m-muted);
  font-weight: 400;
  margin: 0 0 32px;
}

.m-prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--m-text);
  max-width: 65ch;
}
.m-prose p { margin: 0 0 1em; }
.m-prose strong { color: var(--m-ink); font-weight: 700; }
.m-prose-lead p:first-of-type {
  font-size: 19px;
  line-height: 1.6;
  color: var(--m-ink);
}

/* ---------- HERO ---------- */
.m-hero {
  background: linear-gradient(180deg, var(--m-surface-warm) 0%, var(--m-surface) 70%);
  padding: 60px 24px 8px;
}
.m-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.m-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.m-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--m-ink);
}
.m-kicker-bar {
  width: 28px;
  height: 3px;
  background: var(--m-cta);
  border-radius: 2px;
  display: inline-block;
}
.m-sponsored {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  padding: 6px 12px;
  border-radius: 4px;
}

.m-h1 {
  margin-top: 0;
  margin-bottom: 28px;
}
.m-h1 + .m-hero-figure { margin-top: 0; }
.m-hero-figure + .m-dek { margin-top: 28px; }

.m-byline {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 36px 0 40px;
  padding: 20px 24px;
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-lg);
  box-shadow: var(--m-shadow);
}
.m-byline-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--m-surface);
  box-shadow: 0 0 0 2px var(--m-line);
}
.m-byline-text { min-width: 0; }
.m-byline-line1 {
  color: var(--m-ink);
  font-size: 15px;
  line-height: 1.4;
}
.m-byline-line1 strong { font-weight: 700; }
.m-byline-creds { color: var(--m-muted); }
.m-byline-line2 {
  font-size: 13px;
  color: var(--m-muted);
  margin-top: 2px;
}
.m-byline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12px;
  color: var(--m-muted);
  letter-spacing: 0.02em;
  text-align: right;
  border-left: 1px solid var(--m-line);
  padding-left: 16px;
  white-space: nowrap;
}
.m-byline-meta-item { line-height: 1.5; }

.m-hero-figure {
  margin: 0;
  border-radius: var(--m-radius-lg);
  overflow: hidden;
  box-shadow: var(--m-shadow-lifted);
  border: 1px solid var(--m-line);
}
.m-hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.m-hero-caption {
  font-size: 13px;
  color: var(--m-muted);
  padding: 12px 18px;
  background: var(--m-surface);
  border-top: 1px solid var(--m-line);
}

.m-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--m-line);
  margin-bottom: 8px;
}
.m-hero-stat {
  padding: 0 18px;
  border-right: 1px solid var(--m-line);
  text-align: left;
}
.m-hero-stat:first-child { padding-left: 0; }
.m-hero-stat:last-child { border-right: none; }
.m-hero-stat-num { font-size: 24px; }
.m-hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--m-ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 4px;
  font-feature-settings: "tnum";
}
.m-hero-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--m-muted);
}

/* ---------- QUICK VERDICT (winner card) ---------- */
.m-verdict {
  padding: 0 24px;
  margin: 24px 0 56px;
}
.m-verdict-inner {
  max-width: 960px;
  margin: 0 auto;
  background: var(--m-surface-cream);
  border: 1px solid var(--m-gold-soft);
  border-radius: var(--m-radius-lg);
  padding: 32px;
}
.m-verdict-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-gold);
  margin-bottom: 18px;
}
.m-verdict-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.m-verdict-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: var(--m-surface);
  border-radius: var(--m-radius);
  border: 1px solid var(--m-line);
  padding: 12px;
}
.m-verdict-info { min-width: 0; }
.m-verdict-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 4px;
}
.m-verdict-name {
  color: var(--m-ink);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.m-verdict-meta {
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.m-verdict-rating {
  font-size: 28px;
  font-weight: 800;
  color: var(--m-ink);
  letter-spacing: -0.02em;
}
.m-verdict-rating-suffix {
  font-size: 16px;
  color: var(--m-muted);
  font-weight: 600;
  margin-left: 2px;
}
.m-verdict-grade {
  background: var(--m-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.m-verdict-reviews {
  color: var(--m-muted);
  font-size: 14px;
}
.m-verdict-summary {
  font-size: 15px;
  color: var(--m-text);
  line-height: 1.55;
  margin: 0;
}
.m-verdict-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------- METHODOLOGY ---------- */
.m-methodology {
  padding: 24px 24px 32px;
  background: var(--m-surface-warm);
}
.m-methodology-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0 24px;
}
.m-criteria {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.m-criterion {
  display: flex;
  flex-direction: column;
}
.m-criterion-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--m-ink);
  line-height: 1.35;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.m-criterion-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--m-faint);
  letter-spacing: 0.06em;
  font-feature-settings: "tnum";
  flex-shrink: 0;
  padding: 0;
  border: 0;
}
.m-criterion-desc {
  font-size: 16px;
  color: var(--m-text);
  line-height: 1.65;
  margin: 0;
}

/* ---------- RANKINGS ---------- */
.m-rankings {
  padding: 32px 24px 24px;
  max-width: 960px;
  margin: 0 auto;
}
.m-rankings-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 12px;
}
.m-rankings-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--m-ink);
  margin: 0 0 14px;
  max-width: 22ch;
}
.m-rankings-dek {
  font-size: 18px;
  line-height: 1.5;
  color: var(--m-muted);
  max-width: 60ch;
  margin: 0 0 40px;
}
.m-product-anchor {
  display: block;
  position: relative;
  top: -20px;
  visibility: hidden;
  height: 0;
}

/* ---------- PRODUCT CARD ---------- */
.m-card {
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--m-shadow);
}
.m-card-winner {
  border-color: var(--m-gold-soft);
  box-shadow: var(--m-shadow-lifted), 0 0 0 4px var(--m-gold-soft);
}

.m-card-header { margin-bottom: 24px; }
.m-card-rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.m-card-rank {
  font-size: 32px;
  font-weight: 800;
  color: var(--m-ink);
  letter-spacing: -0.025em;
  font-feature-settings: "tnum";
  line-height: 1;
}
.m-card-rank-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  background: var(--m-surface-sand);
  padding: 5px 10px;
  border-radius: 4px;
}
.m-card-winner .m-card-rank-label {
  color: var(--m-gold);
  background: var(--m-gold-soft);
}
.m-card-badge {
  width: 64px;
  height: 64px;
  margin-left: auto;
  flex-shrink: 0;
}
.m-card-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 4px;
}
.m-card-name {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--m-ink);
  letter-spacing: -0.015em;
  margin: 0;
}
.m-card-name a { text-decoration: none; }

.m-card-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.m-card-media {
  position: sticky;
  top: 24px;
}
.m-card-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--m-surface-warm);
  border-radius: var(--m-radius);
  padding: 16px;
}
.m-card-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.m-score-card {
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  box-shadow: var(--m-shadow);
}
.m-score-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 14px;
}
.m-score-rating {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  margin-bottom: 14px;
}
.m-score-rating-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--m-ink);
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.m-score-rating-out {
  font-size: 17px;
  color: var(--m-muted);
  font-weight: 600;
  margin-left: 3px;
}
.m-score-rating-stars {
  max-width: 96px;
  margin: 0 auto;
  height: auto;
  display: block;
}
.m-score-card-grade { background: var(--m-surface); border-color: var(--m-line); }
.m-score-card-grade .m-score-label { color: var(--m-muted); margin-bottom: 8px; }
.m-score-grade {
  font-size: 56px;
  font-weight: 800;
  color: var(--m-ink);
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: helvetica-lt-pro, sans-serif;
}

.m-card-body { min-width: 0; }
.m-card-description { margin-bottom: 24px; }
.m-card-description :global(.product-description),
.m-card-description p {
  margin: 0 0 14px;
}
.m-card-guarantee strong { color: var(--m-ink); }

/* Performance bars */
.m-perf {
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--m-line);
  border-bottom: 1px solid var(--m-line);
}
.m-perf-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 16px;
}
.m-perf-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}
.m-perf-name {
  font-size: 16px;
  color: var(--m-ink);
  font-weight: 400;
  line-height: 1.4;
}
.m-perf-track {
  height: 30px;
  background: var(--m-perf-track);
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
}
.m-perf-fill {
  height: 100%;
  background: var(--m-perf-fill);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  width: 0;
  transition: width 1s ease-out;
}
.m-perf-value {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  font-feature-settings: "tnum";
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Pros / Cons grid */
.m-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 28px 0;
}
.m-proscons-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-ink);
  margin-bottom: 14px;
}
.m-proscons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-pro-item, .m-con-item {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--m-ink);
  font-weight: 500;
}
.m-pro-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--m-green);
  border-bottom: 2.5px solid var(--m-green);
  transform: rotate(-45deg);
}
.m-con-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 14px;
  height: 14px;
  background-image: linear-gradient(45deg, transparent 45%, var(--m-cons) 45%, var(--m-cons) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--m-cons) 45%, var(--m-cons) 55%, transparent 55%);
}
.m-proscons-label { color: var(--m-ink); }
.m-cons .m-proscons-label { color: var(--m-cons); }
.m-pros .m-proscons-label { color: var(--m-green); }

/* Wrap-up */
.m-wrapup {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--m-surface-warm);
  border-left: 3px solid var(--m-ink);
  border-radius: 0 var(--m-radius) var(--m-radius) 0;
}
.m-wrapup-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-ink);
  margin-bottom: 8px;
}
.m-wrapup p {
  margin: 0 0 0.7em;
  font-size: 15px;
  line-height: 1.6;
  color: var(--m-text);
}
.m-wrapup p:last-child { margin-bottom: 0; }

/* ---------- BUTTONS ---------- */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  cursor: pointer;
  border: 0;
  line-height: 1.2;
}
.m-btn-primary,
.m-btn-primary:link,
.m-btn-primary:visited {
  background: var(--m-cta);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(255, 165, 0, 0.3);
}
.m-btn-primary:hover,
.m-btn-primary:focus {
  background: var(--m-cta-hover);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4);
}
.m-btn-primary:active { transform: translateY(1px); }
.m-btn-block {
  display: flex;
  width: 100%;
  padding: 18px 24px;
  font-size: 17px;
  margin: 24px 0;
}
.m-btn-ghost {
  background: transparent;
  color: var(--m-ink);
  border: 1px solid var(--m-line-strong);
}
.m-btn-ghost:hover { background: var(--m-surface-warm); }

/* ---------- INFO ---------- */
.m-info {
  padding: 0 24px 56px;
  max-width: 960px;
  margin: 0 auto;
}
.m-info-inner {
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-lg);
  padding: 36px;
}
.m-info-headline {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--m-ink);
  margin: 0 0 20px;
}

/* ---------- FEATURE SECTIONS (Benefits / Considerations / Warnings) ---------- */
.m-feature-section {
  padding: 0 24px 64px;
  max-width: 960px;
  margin: 0 auto;
}
.m-feature-inner {
  position: relative;
  padding: 44px 40px 40px;
  border-radius: var(--m-radius-lg);
  background: var(--m-surface);
  border: 1px solid var(--m-line);
}
.m-feature-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 8px;
}
.m-feature-headline {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--m-ink);
  margin: 0 0 32px;
  max-width: 24ch;
}

/* Benefits — 2-column grid of green check pills */
.m-feature-benefits .m-feature-inner {
  background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 100%);
  border-color: #cce8d6;
}
.m-feature-benefits .m-feature-eyebrow { color: var(--m-green); }
.m-benefits-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.m-benefit {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 16px;
  line-height: 1.45;
  color: var(--m-ink);
  font-weight: 500;
}
.m-benefit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d6f0de;
  color: var(--m-green);
  flex-shrink: 0;
}

/* Considerations — numbered tile grid */
.m-feature-considerations .m-feature-inner {
  background: var(--m-surface-warm);
  border-color: var(--m-line);
}
.m-considerations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.m-consider-tile {
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 20px 22px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.m-consider-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--m-shadow);
}
.m-consider-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--m-faint);
  font-feature-settings: "tnum";
  margin-bottom: 10px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--m-ink);
}
.m-consider-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--m-ink);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.m-consider-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--m-text);
  margin: 0;
}

/* Warnings — alert-style cards */
.m-feature-warnings .m-feature-inner {
  background: linear-gradient(180deg, #fdf6f4 0%, #ffffff 100%);
  border-color: #f0d4cf;
}
.m-feature-warnings .m-feature-eyebrow { color: var(--m-cons); }
.m-warnings-grid {
  display: grid;
  gap: 12px;
}
.m-warn-tile {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: var(--m-surface);
  border: 1px solid #f0d4cf;
  border-left: 4px solid var(--m-cons);
  border-radius: var(--m-radius);
}
.m-warn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fdecec;
  color: var(--m-cons);
  flex-shrink: 0;
}
.m-warn-body { min-width: 0; }
.m-warn-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--m-ink);
  margin: 4px 0 4px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.m-warn-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--m-text);
  margin: 0;
}

/* ---------- AUTHOR BIO (bottom) ---------- */
.m-author {
  padding: 24px 24px 64px;
  max-width: 960px;
  margin: 0 auto;
}
.m-author-inner {}
.m-author-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  background: var(--m-surface-warm);
  border-radius: var(--m-radius-lg);
}
.m-author-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.m-author-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--m-ink);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.m-author-creds {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 12px;
}
.m-author-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--m-text);
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .m-h1 { font-size: 38px; }
  .m-dek { font-size: 19px; }
  .m-rankings-title { font-size: 28px; }
  .m-card { padding: 24px; }
  .m-card-name { font-size: 24px; }
  .m-card-grid {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
  .m-card-image { height: 220px; }
  .m-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .m-hero-stat:nth-child(2) { border-right: none; }
  .m-feature-headline { font-size: 26px; }
  .m-feature-inner { padding: 36px 28px 32px; }
  .m-benefits-grid { gap: 12px 20px; }
}

@media (max-width: 767px) {
  .m-hero { padding: 32px 18px 16px; }
  .m-h1 {
    font-size: 30px;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }
  .m-dek { font-size: 17px; margin-bottom: 24px; }
  .m-hero-top { margin-bottom: 16px; }
  .m-byline {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 16px 16px;
    margin: 24px 0 28px;
  }
  .m-byline-photo { width: 48px; height: 48px; }
  .m-byline-meta {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--m-line);
    padding-left: 0;
    padding-top: 12px;
    margin-top: 4px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
  }

  .m-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
    padding: 18px 0 0;
  }
  .m-hero-stat {
    padding: 0 16px;
    border-right: 1px solid var(--m-line);
  }
  .m-hero-stat:nth-child(odd) { padding-left: 0; }
  .m-hero-stat:nth-child(even) { border-right: none; }
  .m-hero-stat-num { font-size: 24px; }

  .m-feature-section { padding: 0 16px 40px; }
  .m-feature-inner { padding: 28px 22px 24px; }
  .m-feature-headline { font-size: 22px; margin-bottom: 24px; }
  .m-benefits-grid { grid-template-columns: 1fr; gap: 10px; }
  .m-benefit { font-size: 15px; }
  .m-considerations-grid { grid-template-columns: 1fr; }
  .m-warn-tile {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
  .m-warn-icon { width: 30px; height: 30px; }

  .m-methodology { padding: 16px 18px 40px; }
  .m-methodology-inner { padding: 20px 0; }
  .m-criterion-name { font-size: 17px; gap: 10px; }
  .m-criterion-num { font-size: 13px; }
  .m-criterion-desc { font-size: 15px; }

  .m-rankings { padding: 40px 16px 16px; }
  .m-rankings-title { font-size: 24px; margin-bottom: 28px; }

  .m-card { padding: 20px 18px; margin-bottom: 24px; }
  .m-card-rank { font-size: 26px; }
  .m-card-name { font-size: 21px; }
  .m-card-badge { width: 48px; height: 48px; }
  .m-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .m-card-media { position: static; }
  .m-card-image { height: 220px; }
  .m-score-card { min-height: 124px; padding: 18px 14px; }
  .m-score-rating-num { font-size: 36px; }
  .m-score-grade { font-size: 46px; }
  .m-score-label { margin-bottom: 12px; }
  .m-score-rating { margin-bottom: 12px; }
  .m-score-rating-stars { max-width: 84px; }

  .m-perf-row { gap: 6px; padding: 8px 0; }
  .m-perf-name { font-size: 14px; }
  .m-perf-track { height: 28px; }

  .m-proscons { grid-template-columns: 1fr; gap: 20px; }

  .m-info { padding: 0 16px 40px; }
  .m-info-inner { padding: 24px 20px; }
  .m-info-headline { font-size: 22px; }

  .m-author { padding: 16px 16px 48px; }
  .m-author-card {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
    padding: 22px;
  }
  .m-author-photo { width: 72px; height: 72px; }

  .m-btn-block { padding: 16px 20px; font-size: 15px; }
}

/* ====================================================================
   M2 + M3 ADDITIONS — Trust strip, FAQ, Guarantee badge,
                       At-a-glance, Pick-bar, Winner ribbon
   ==================================================================== */

/* ---------- Hero trust strip ---------- */
.m-trust-strip {
  font-size: 13px;
  color: var(--m-muted);
  text-align: left;
  padding: 14px 0 0;
  margin-top: 0;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ---------- Money-back guarantee badge (in product card) ---------- */
.m-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  background: #f3fbf6;
  border: 1px solid #cce8d6;
  border-radius: var(--m-radius);
  color: var(--m-green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.m-guarantee-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

/* ---------- Editor's Top Pick ribbon (M3) ---------- */
.m-card-winner-prominent {
  border: 2px solid var(--m-gold);
  box-shadow: var(--m-shadow-lifted), 0 0 0 6px var(--m-gold-soft);
  position: relative;
}
.m-winner-ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--m-gold);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(184, 134, 11, 0.35);
  z-index: 1;
}

/* ---------- At-a-glance comparison panel (M3) ---------- */
.m-at-a-glance {
  padding: 0 24px 56px;
  max-width: 960px;
  margin: 0 auto;
}
.m-at-a-glance-inner {
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-lg);
  padding: 36px 36px 28px;
  box-shadow: var(--m-shadow);
}
.m-at-a-glance-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--m-ink);
  margin: 0 0 20px;
}
.m-aag-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--m-line);
}
.m-aag-row {
  display: grid;
  grid-template-columns: 48px 1fr 70px 90px 130px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--m-line);
  color: var(--m-ink);
  text-decoration: none;
  transition: background 0.15s;
}
.m-aag-row:not(.m-aag-head):hover { background: var(--m-surface-warm); }
.m-aag-row-winner {
  background: var(--m-surface-cream);
  border-left: 3px solid var(--m-gold);
  padding-left: 12px;
  margin-left: -12px;
}
.m-aag-row-winner:hover { background: #fbe9c8; }
.m-aag-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  padding: 10px 0;
}
.m-aag-rank, .m-aag-rank-head { font-weight: 800; font-size: 16px; }
.m-aag-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.m-aag-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--m-surface-warm);
  border-radius: 6px;
  flex-shrink: 0;
  padding: 4px;
}
.m-aag-name-text { min-width: 0; }
.m-aag-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-muted);
}
.m-aag-product {
  font-size: 14px;
  font-weight: 600;
  color: var(--m-ink);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-aag-grade {
  background: var(--m-ink);
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  justify-self: start;
}
.m-aag-rating {
  font-size: 17px;
  font-weight: 700;
  color: var(--m-ink);
  font-feature-settings: "tnum";
}
.m-aag-rating-out {
  font-size: 13px;
  color: var(--m-muted);
  font-weight: 600;
  margin-left: 1px;
}
.m-aag-link {
  color: var(--m-cta);
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

/* ---------- FAQ section (M2) ---------- */
.m-faq {
  padding: 0 24px 64px;
  max-width: 960px;
  margin: 0 auto;
}
.m-faq-inner {
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius-lg);
  padding: 44px 40px 32px;
}
.m-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.m-faq-item {
  border-bottom: 1px solid var(--m-line);
  padding: 8px 0;
}
.m-faq-item:last-child { border-bottom: none; }
.m-faq-q {
  cursor: pointer;
  list-style: none;
  padding: 16px 36px 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--m-ink);
  letter-spacing: -0.005em;
  position: relative;
  line-height: 1.4;
}
.m-faq-q::-webkit-details-marker { display: none; }
.m-faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--m-muted);
  line-height: 1;
}
.m-faq-item[open] .m-faq-q::after { content: "−"; }
.m-faq-a {
  padding: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--m-text);
  max-width: 65ch;
}

/* ---------- Sticky mobile pick bar (M3) ---------- */
.m-pick-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--m-surface);
  border-top: 1px solid var(--m-line);
  box-shadow: 0 -4px 16px rgba(12, 18, 32, 0.08);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
}
.m-pick-bar:not([hidden]) { display: block; }
.m-pick-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 32px;
  gap: 12px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.m-pick-bar-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.m-pick-bar-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
}
.m-pick-bar-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--m-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-pick-bar-cta {
  background: var(--m-cta);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.m-pick-bar-close {
  background: transparent;
  border: 0;
  color: var(--m-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hide pick bar on tablet+ desktop — it's a mobile-first nav aid */
@media (min-width: 768px) {
  .m-pick-bar { display: none !important; }
}

/* ---------- Responsive overrides ---------- */
@media (max-width: 991px) {
  .m-aag-row {
    grid-template-columns: 36px 1fr 60px 70px 90px;
    gap: 10px;
    padding: 12px 0;
  }
  .m-at-a-glance-inner { padding: 28px 24px 22px; }
  .m-at-a-glance-title { font-size: 24px; }
  .m-faq-inner { padding: 32px 28px 22px; }
  .m-faq-q { font-size: 17px; padding: 14px 32px 14px 0; }
  .m-winner-ribbon { left: 18px; font-size: 11px; padding: 5px 12px; }
}

@media (max-width: 767px) {
  .m-trust-strip { font-size: 12px; padding-top: 12px; }

  .m-at-a-glance { padding: 0 16px 40px; }
  .m-at-a-glance-inner { padding: 22px 18px 16px; }
  .m-at-a-glance-title { font-size: 20px; margin-bottom: 14px; }
  .m-aag-row {
    grid-template-columns: 28px 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    padding: 12px 0;
  }
  .m-aag-head { display: none; }
  .m-aag-image { width: 40px; height: 40px; }
  .m-aag-grade {
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
    font-size: 12px;
    padding: 2px 8px;
  }
  .m-aag-rating { grid-row: 2; grid-column: 3; font-size: 14px; }
  .m-aag-link { display: none; }
  .m-aag-row-winner { padding-left: 8px; margin-left: -8px; }

  .m-faq { padding: 0 16px 40px; }
  .m-faq-inner { padding: 26px 22px 18px; }
  .m-faq-q { font-size: 16px; padding: 12px 28px 12px 0; }
  .m-faq-a { font-size: 15px; }

  /* Pad bottom of article so the pick bar doesn't overlap the footer */
  body[data-template="modern"] { padding-bottom: 70px; }

  .m-card-winner-prominent { box-shadow: var(--m-shadow), 0 0 0 4px var(--m-gold-soft); }
  .m-winner-ribbon { left: 16px; top: -10px; font-size: 10px; padding: 4px 10px; letter-spacing: 0.1em; }
}

/* ---------- Standalone intro paragraphs (introLayout: "standalone") ---------- */
.m-intro-prose {
  padding: 8px 24px 32px;
}
.m-intro-prose-inner {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--m-text);
}
.m-intro-prose-inner p {
  margin: 0 0 1em;
}
.m-intro-prose-inner p:last-child {
  margin-bottom: 0;
}
.m-intro-prose-inner strong {
  color: var(--m-ink);
  font-weight: 700;
}

@media (max-width: 767px) {
  .m-intro-prose { padding: 4px 18px 24px; }
  .m-intro-prose-inner { font-size: 16px; line-height: 1.65; }
}

/* Byline card placed before The Rankings (M4: bylinePlacement=before-rankings) */
.m-byline-section {
  max-width: 760px;
  margin: 8px auto 32px;
  padding: 0 24px;
}
.m-byline-section .m-byline {
  margin: 0;
}
@media (max-width: 767px) {
  .m-byline-section { padding: 0 18px; margin: 4px auto 24px; }
}
