/* reviews.css: split out of styles.css 2026-09-13, loaded only by the templates that use it. */

.dek {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1vw + 0.75rem, 1.35rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: var(--space-6);
  font-variation-settings: 'opsz' 36;
}

.section-deep .dek {
  color: rgba(250, 250, 245, 0.82);
}

/* ---------- 15. Vendor scorecard (Wirecutter-style) ---------- */
.scorecard {
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-6) 0;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.scorecard:hover {
  border-color: var(--ink-muted);
  box-shadow: var(--shadow-md);
}

.scorecard-editor-pick {
  border-color: var(--gold);
  border-width: 2px;
}

.scorecard-editor-pick::before {
  content: 'Editor\'s Pick';
  position: absolute;
  top: 0;
  left: var(--space-6);
  background: linear-gradient(135deg, var(--gold) 0%, #8f6a22 100%);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 2px 8px rgba(177, 138, 61, 0.3);
  z-index: 1;
}

.scorecard-editor-pick .scorecard-header {
  padding-top: var(--space-7);
}

.scorecard-title p {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.scorecard-score-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.scorecard-body {
  padding: var(--space-6);
}

.scorecard-pros h4,
.scorecard-cons h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.scorecard-pros ul,
.scorecard-cons ul {
  list-style: none;
  margin: 0;
}

.scorecard-pros li,
.scorecard-cons li {
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
  position: relative;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.scorecard-pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.scorecard-cons li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.scorecard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule);
}

.scorecard-metric {
  text-align: left;
}

.scorecard-metric-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.scorecard-metric-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: 'opsz' 24;
}

.scorecard-cta {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-weight: 400;
  font-style: italic;
  margin: var(--space-8) auto;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: left;
  max-width: 720px;
  font-variation-settings: 'opsz' 72, 'SOFT' 50;
}

.pull-quote::before {
  content: '"';
  display: block;
  font-size: 3em;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.pull-quote-attribution {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-style: normal;
  margin-top: var(--space-3);
}

.article-hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 2.2vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  color: var(--ink);
  margin-bottom: var(--space-4);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

.article-hero .dek {
  max-width: 760px;
  margin-bottom: var(--space-6);
}

.article-byline dt {
  display: inline;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink);
  margin-right: var(--space-2);
}

.article-byline dd {
  display: inline;
  color: var(--ink-soft);
}

.article-byline > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-byline strong {
  color: var(--ink);
  font-weight: 600;
}

.article-hero-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.article-hero-inner > .article-byline {
  max-width: none;
  gap: var(--space-7);
}

.verdict-box-dark {
  background-color: var(--paper-deep);
  border: none;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.verdict-score {
  font-family: var(--font-serif);
  font-size: var(--fs-5xl);
  line-height: 1;
  color: var(--gold-soft);
  font-variation-settings: 'opsz' 144;
}

.verdict-text {
  flex: 1;
  min-width: 240px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(250, 250, 245, 0.86);
}

.procon > div {
  background-color: var(--paper-cream);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.procon h3 { margin-top: 0; font-size: var(--fs-lg); }

/* --- 30.5 Vendor scorecard ---------------------------------------- */
/* Pills were wrapping to two lines and breaking the row rhythm. */
.scorecard-table {
  box-shadow: none;
  border: 1px solid var(--rule-soft);
}

.scorecard-table td {
  vertical-align: middle;
  white-space: normal;
}

.scorecard-rank { font-size: var(--fs-4xl); }
.scorecard-title h3 { font-size: var(--fs-2xl); }
.scorecard-score-value { font-size: var(--fs-3xl); }
.scorecard-table td:first-child { line-height: 1.35; }

/* The scorecard keeps the vendor in view while the scores scroll past. */
.scorecard-table th:first-child,
.scorecard-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background-color: var(--paper);
  box-shadow: 1px 0 0 var(--rule-soft);
}

/* The scorecard head reads as a scorecard, not a dashboard. */
.scorecard-table thead {
  background-color: transparent;
}

.scorecard-table th {
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.scorecard-table thead th:first-child { background-color: var(--paper); }

.scorecard-table td:nth-child(2) { color: #8F6A22; }
.scorecard-rank { color: var(--ink-muted); }

/* --- 32.10 Scorecard row action -------------------------------------- */
.pb-row-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.scorecard-table td:last-child { white-space: normal; }