/* article.css — the long-form review layout, in the Broadsheet Violet system.
 *
 * Linked by all 46 articles/*.html after their inline <style>, so these
 * rules win over the per-page blocks. Kept in one file rather than injected
 * into every article for the reason players/player.css exists: 46 copies of
 * the same rules cannot be cached between pages, and there would be no
 * single owner to edit.
 *
 * redesign.css owns the tokens, the masthead and the footer. This file owns
 * only what a review page adds on top, extending the same system: page = a
 * stack of bordered panels with small-caps header bars, tables take the
 * header-row and rule treatment, any 0-10 metric is a flat track with a
 * square fill.
 *
 * Class names are the articles' own and none of them changed — only what
 * they look like. Each article keeps its inline <style>; the alias block
 * below re-points the variables those rules read, so nothing is left on the
 * old purple without editing 46 files of CSS.
 */

body.bs {
  --bg: var(--paper);
  --bg-alt: var(--panel-head);
  --surface: var(--panel);
  --surface-hover: var(--note-bg);
  --surface2: var(--panel-head);
  --border: var(--ink);
  --border-soft: var(--rule);
  --text: var(--ink);
  --text-muted: var(--body);
  --text-faint: var(--muted);
  --text-dim: var(--muted);
  --accent-mid: var(--accent);
  --accent-light: var(--note-bg);
  --accent-text: #fff;
  --accent-tag: var(--accent);
  --teal: var(--accent);
  --gold: var(--accent);
  --red: var(--ink);
  background: var(--paper);
}

/* The articles set their own max-width on .breadcrumb, which left
   redesign.css's tinted strip boxed inside the column. Everywhere else on
   the site it is a full-bleed bar under the masthead — match that. */
body.bs .breadcrumb { max-width: none; margin: 0; padding: 9px 22px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
body.bs .hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 22px 30px;
  border-bottom: 1px solid var(--ink);
}
body.bs .hero-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
body.bs .hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
body.bs .hero-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  max-width: 620px;
  text-wrap: pretty;
}

/* The rating chip: a square panel, with the score in the display face. */
body.bs .hero-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 16px;
  background: var(--panel);
  border: 1px solid var(--ink);
}
body.bs .hero-rating-score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
}
body.bs .hero-rating-out,
body.bs .hero-rating-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Table of contents: the system's chips ────────────────────────────── */
body.bs .toc {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ink);
  gap: 8px;
}
body.bs .toc a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 7px 13px;
  border: 1px solid var(--chip-border);
  color: var(--ink);
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
body.bs .toc a:hover {
  background: var(--ink);
  color: var(--panel);
  border-color: var(--ink);
  text-decoration: none;
}

/* ── Body copy ────────────────────────────────────────────────────────── */
body.bs .content { max-width: 880px; margin: 0 auto; padding: 0 22px 60px; }
body.bs .content section { padding: 38px 0; border-bottom: 1px solid var(--rule); }
body.bs .content section:last-child { border-bottom: none; }
body.bs .section-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
body.bs .content h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
body.bs .content h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 28px 0 10px;
}
body.bs .content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 14px;
  max-width: 680px;
  text-wrap: pretty;
}
body.bs .content p strong { color: var(--ink); font-weight: 600; }

/* ── Cards: every one of these is a panel ─────────────────────────────── */
body.bs .model-card,
body.bs .player-card,
body.bs .related-card,
body.bs .string-card,
body.bs .pros,
body.bs .cons {
  background: var(--panel);
  border: 1px solid var(--ink);
  padding: 16px 18px;
}
body.bs .model-card h4,
body.bs .player-name,
body.bs .related-name,
body.bs .string-card-body strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
body.bs .model-specs,
body.bs .player-frame,
body.bs .player-style,
body.bs .related-brand,
body.bs .related-diff,
body.bs .string-card-meta,
body.bs .string-type,
body.bs .string-gauge,
body.bs .string-tension,
body.bs .best-for {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
body.bs .model-for { color: var(--accent); }
body.bs .model-specs { border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 12px; }

/* The "must know" callouts keep their accent rule, lose the tint and radius. */
body.bs .must-know-item {
  background: var(--panel);
  border: 1px solid var(--ink);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
}
body.bs .must-know-item strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 5px;
}
body.bs .must-know-item span { font-size: 15px; line-height: 1.55; color: var(--body); }

/* Pros and cons: the palette has no green or red, so one is filled and the
   other outlined, the way every A/B pair on the site reads. */
body.bs .pros { border-left: 3px solid var(--accent); }
body.bs .cons { border-left: 3px solid var(--chip-border); }
body.bs .pros h3, body.bs .cons h3 { margin-top: 0; }

/* ── Tables ───────────────────────────────────────────────────────────── */
body.bs .content table { width: 100%; border-collapse: collapse; }
body.bs .content th {
  background: var(--panel-head);
  border-bottom: 1px solid var(--ink);
  padding: 9px 14px;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4c4a6b;
}
body.bs .content td { padding: 11px 14px; border-bottom: 1px solid var(--rule); font-size: 15px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
body.bs .faq-item { border-bottom: 1px solid var(--rule); background: transparent; padding: 0; }
body.bs .faq-item:last-child { border-bottom: none; }
body.bs .faq-item h3, body.bs .faq-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 16px 0 8px;
}
body.bs .faq-item p, body.bs .faq-a { font-size: 15px; line-height: 1.55; color: var(--body); padding-bottom: 16px; }

/* Headings that sit outside .content — the related-racquets block and the
   guide cards name their own, and the per-page rules reach them with
   .related-racquets h2.related-title, so match that specificity. */
body.bs .related-racquets h2.related-title,
body.bs .related-title,
body.bs .guide-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
body.bs .guide-card-title { font-size: 18px; letter-spacing: 0.02em; }

/* ── Score bars, where an article carries them ────────────────────────── */
body.bs .legend-line { background: var(--accent); }
body.bs .legend-item {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── The per-article footer line, as the colophon bar ─────────────────── */
body.bs > footer {
  background: var(--ink);
  color: var(--footer-text);
  border-top: 1px solid var(--ink);
  padding: 16px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.bs > footer a { color: #fff; }

@media (max-width: 560px) {
  body.bs .hero { padding: 24px 16px 22px; }
  body.bs .toc { padding: 14px 16px; }
  body.bs .content { padding: 0 16px 48px; }
  body.bs .content h2 { font-size: 24px; }
  body.bs .content section { padding: 28px 0; }
}
