/* /guides/bidw-model/ (BidW guide). Loaded after hof-worthiness-guide.css, whose .meth-* section,
   prose, compare-card and CTA styles this page shares with its sibling HoFW guide. Only what's new
   lives here: the men's/women's switch, the term grid and the worked example. */

/* ── Men's / women's switch ──────────────────────────────────────────────── */
/* Every number that differs by sport is in the page twice, tagged data-only="m" or "w". The
   wrapper's data-sport picks one; it starts at "m" so the page reads right without JS. */
.bidw-guide[data-sport="m"] [data-only="w"],
.bidw-guide[data-sport="w"] [data-only="m"] { display: none; }

.bg-switch { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin: 0 0 var(--s-4); }
.bg-switch button { appearance: none; background: transparent; border: 0; color: var(--sub); font-family: var(--fd); font-size: var(--t-ui); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 16px; cursor: pointer; }
.bg-switch button + button { border-left: 1px solid var(--border); }
.bg-switch button[aria-pressed="true"] { background: var(--guide-dim); color: var(--guide); }
.bg-switch button:focus-visible { outline: 2px solid var(--guide); outline-offset: -2px; }
.bg-section-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--s-4); max-width: 680px; }
.bg-section-top .bg-switch { margin-bottom: var(--s-3); }

.bidw-guide .guide-stat-strip { max-width: 680px; }

/* ── Terms ───────────────────────────────────────────────────────────────── */
.bg-terms { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); max-width: 680px; margin: 20px 0 0; }
@media (max-width: 640px) { .bg-terms { grid-template-columns: 1fr; } }
.bg-term { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); margin: 0; }
.bg-term dt { font-family: var(--fd); font-weight: 700; font-size: var(--t-ui); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.bg-term dd { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.6; }

/* ── Pipeline: four steps fit side by side down to 900px ─────────────────── */
.bidw-guide .guide-pipeline { margin-top: 18px; }

/* ── Worked example ──────────────────────────────────────────────────────── */
.bg-example { max-width: 680px; margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--border); }
.bg-example h3 { font-family: var(--fd); font-size: var(--t-h3); font-weight: 700; color: var(--text); margin: 0 0 10px; }
.bg-example-head { display: flex; align-items: center; gap: var(--s-3); margin: 6px 0 14px; }
.bg-example-head img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.bg-example-name { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.2; }
.bg-example-meta { font-family: var(--fm); font-size: var(--t-meta); color: var(--muted); }
.bg-example-score { margin-left: auto; text-align: right; }
.bg-example-score b { display: block; font-family: var(--fm); font-size: 24px; color: var(--guide); line-height: 1; }
.bg-example-score span { font-family: var(--fm); font-size: var(--t-mini); color: var(--muted); }
.bg-games { width: 100%; border-collapse: collapse; font-size: 13px; }
.bg-games th, .bg-games td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.bg-games th { color: var(--muted); font-family: var(--fd); font-weight: 700; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.bg-games td { color: var(--sub); }
.bg-games td.bg-num, .bg-games th.bg-num { text-align: right; font-family: var(--fm); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bg-games td.bg-opp { color: var(--text); }
.bg-games .bg-rk { font-family: var(--fm); font-size: var(--t-mini); color: var(--muted); margin-left: 4px; }
.bg-games td.bg-up { color: var(--guide); font-weight: 700; }
.bg-games td.bg-down { color: var(--danger); font-weight: 700; }
.bg-games tr.bg-split td { border-top: 1px solid var(--muted); }
@media (max-width: 480px) {
  .bg-games th, .bg-games td { padding: 8px 6px; }
  .bg-games .bg-date { display: none; }
}

/* ── Charts and links ────────────────────────────────────────────────────── */
.bidw-guide .cm-chart { max-width: 680px; margin: 18px 0 0; }
.bg-links { font-size: 14px; max-width: 680px; margin: 18px 0 0; }
.bg-links a { color: var(--orange); }
.bg-list { margin: 0 0 14px; padding-left: 18px; max-width: 680px; display: flex; flex-direction: column; gap: 10px; }
.bg-list li { font-size: 14px; color: var(--sub); line-height: 1.75; }
.bg-list li strong { color: var(--text); }
.bidw-guide .meth-section h3 { font-family: var(--fd); font-size: var(--t-h3); font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.bg-example-note { margin-top: 14px; }
