/* ── Bedford additions (ranked list on the S6 base) ── */

/* Rank number + Featured badge */
.agent h3 .rank { font-size: inherit; min-width: 1.6em; }
.agent.featured { background: linear-gradient(180deg, rgba(178, 142, 89, 0.07), rgba(178, 142, 89, 0) 70%); padding-left: 20px; padding-right: 20px; margin: 0 -20px; border-top-color: var(--gold); }
.agent-meta { margin-top: -10px; }

/* Score / volume / sides row */
.score-block {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 36px;
  padding: 14px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.score-block .sb-item { display: flex; flex-direction: column; gap: 2px; }
.score-block .vol {
  font-family: var(--f-head);
  font-weight: 300;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -1.1px;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}
.score-block .sb-score .vol { color: var(--gold); }
.score-block .vol-lbl {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
sup.fn { font-size: 0.42em; vertical-align: super; margin-left: 2px; letter-spacing: 0; }
sup.fn a { color: var(--faint); text-decoration: none; }
sup.fn a:hover { color: var(--gold-dark); }

/* Methodology */
.method-list { margin: 14px 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-list li { padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; line-height: 24px; }
.method-list li::before { content: ''; position: absolute; left: 0; top: 21px; width: 6px; height: 6px; background: var(--gold); }
.about-card p + p { margin-top: 14px; }

/* At a glance table with rank column */
.rank-table td.rk { font-family: var(--f-head); color: var(--gold); white-space: nowrap; width: 1%; }
.rank-table .feat {
  display: inline-block; margin-left: 6px; padding: 3px 6px 2px; line-height: 1;
  font-family: var(--f-label); font-weight: 700; font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white); background: var(--gold); vertical-align: 2px;
}
.rank-table tbody tr:first-child td { background: rgba(178, 142, 89, 0.07); }
.rank-table .num strong { font-weight: 600; }

/* Sidebar index shows rank numbers */
.side-index a { grid-template-columns: 24px 1fr auto; }
.side-index .n { width: auto; height: auto; background: none; display: inline; }

/* Footnotes */
#footnotes { padding-top: 40px; padding-bottom: 40px; }
.footnote { max-width: 860px; font-size: 13px; line-height: 21px; color: var(--muted); }
.footnote + .footnote { margin-top: 10px; }
.footnote a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footnote sup { font-size: 0.75em; margin-right: 2px; }

@media (max-width: 760px) {
  .score-block { grid-template-columns: repeat(3, 1fr); gap: 8px 14px; }
  .score-block .vol { font-size: 22px; line-height: 26px; }
  .score-block .vol-lbl { font-size: 9.5px; }
  .agent.featured { padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
}
@media (max-width: 560px) {
  .rank-table th:nth-child(2), .rank-table td:nth-child(2) { display: table-cell; }
  .rank-table th:nth-child(3), .rank-table td:nth-child(3) { display: none; }
  .rank-table th:nth-child(4), .rank-table td:nth-child(4) { display: none; }
}
