/* Manchester Boxers — shared components.
   Loaded after base.css. Each block holds only what is identical everywhere the
   component appears; sizes and spacing that differ between pages stay in the
   page's own <style> block. Spec: reference/system.html.
   The last-checked tag (.tag) and borough bar (.bar) live in base.css. */

/* ---- Section header ------------------------------------------------
   <div class="sec-head split"><h2 class="fr sec-title">…</h2><span>…</span></div>
   .sec-label is the small accent caps heading (use with .sc). */
.sec-head { border-top: var(--rule-section); padding-top: 12px; margin-bottom: 14px; }
.sec-head.split { display: flex; justify-content: space-between; align-items: baseline; }
.sec-head.wrap { flex-wrap: wrap; gap: 8px; }
.sec-title { margin: 0; font-weight: var(--fw-bill); font-size: 40px; line-height: 0.9; text-transform: uppercase; }
.sec-label { margin: 0; font-size: 12px; color: var(--accent); }

/* ---- Bill card -----------------------------------------------------
   Borough bar left (.bar), then .bill-in: meta, date, title, venue, tag.
   Date and title sizes are set per page. */
.bill { display: grid; grid-template-columns: 12px minmax(0, 1fr); border: var(--rule-entry); background: var(--paper-raised); }
.bill-in { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.bill-meta { display: flex; justify-content: space-between; font-size: 12px; }
.bill-when { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.bill-date { font-weight: var(--fw-bill); line-height: 0.86; text-transform: uppercase; }
.bill-title { text-decoration: none; font-weight: var(--fw-card); line-height: 0.98; text-transform: uppercase; }
.bill-venue { font-size: 14px; line-height: 1.45; }

/* Postponed: sunk paper, dashed border, struck date, hatched bar (.bar.hatched) */
.bill.postponed { border-style: dashed; background: var(--paper-sunk); color: var(--ink-faded); }
.bill.postponed .bill-title { color: var(--ink-faded); }
.bill.postponed .tag { color: var(--ink); }
.bill-date.struck { text-decoration: line-through; text-decoration-thickness: 4px; }
.flag { font-size: 11px; color: var(--ink); border: var(--rule-entry); padding: 3px 6px; }
.bill-when .flag { margin-top: 4px; }

/* ---- People card ---------------------------------------------------
   Same card for boxers, trainers and cutmen. Padding, gap and name size
   are set per page. */
.pc { border: var(--rule-entry); background: var(--paper-raised); display: flex; flex-direction: column; }
.pc.empty { border-style: dashed; background: var(--paper-sunk); }
.portrait { aspect-ratio: 4 / 5; border: var(--rule-entry); }
.portrait.empty { border-style: dashed; display: flex; align-items: center; justify-content: center; text-align: center; }
.pc-head { display: flex; justify-content: space-between; align-items: baseline; }
.pc-name { text-decoration: none; font-weight: var(--fw-bill); line-height: 0.95; text-transform: uppercase; }
.pc-next { font-size: 13px; font-weight: var(--fw-ui); color: var(--accent); }
.pc-rule { height: 4px; }

/* ---- Ledger table --------------------------------------------------
   Fight-by-fight records, results and running cards. */
.ledger-frame { overflow-x: auto; border: var(--rule-entry); background: var(--paper-raised); }
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: var(--rule-field-line); }
.ledger th { font-family: var(--font-ui); font-weight: var(--fw-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faded); border-bottom: var(--rule-entry); }
.ledger.roomy th, .ledger.roomy td { padding: 14px 16px; }

/* Manchester marker in a ledger row: borough swatch + gym */
.mcr { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-weight: var(--fw-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border: var(--rule-entry); padding: 2px 6px 2px 4px; }
.mcr i { width: 8px; height: 8px; display: inline-block; }

/* ---- Site chrome ---------------------------------------------------
   <div class="site"> wraps <header class="site-head">, <main class="site-main">
   and <footer class="site-foot">. The sub-header row under the nav differs
   by page (breadcrumbs, strapline, or just the rule), so only its rule is shared;
   .crumbs is the plain mono breadcrumb version. The current section's nav link
   gets .current. */
.site { min-height: 100vh; background: var(--paper); color: var(--ink); font-family: var(--font-text); }
.site-head { max-width: 1360px; margin: 0 auto; padding: 20px 40px 0; }
.site-main { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.site-foot { max-width: 1360px; margin: 56px auto 0; padding: 0 40px 56px; }

.dateline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.mast { margin-top: 10px; border-top: var(--rule-section); padding: 16px 0 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.wordmark { text-decoration: none; font-weight: var(--fw-bill); font-size: 58px; letter-spacing: -0.01em; line-height: 1; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: var(--fw-ui); font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.site-nav a { text-decoration: none; }
.site-nav .current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.subhead { border-top: var(--rule-entry); }
.subhead.crumbs { padding: 10px 0; font-size: 12px; }

/* Footer: independence statement, corrections, elsewhere, record (.foot-meta) */
.foot-grid { border-top: var(--rule-section); padding-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px; font-size: 14px; line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 6px; }
.foot-col.lead { gap: 8px; }
.foot-head { font-size: 11px; }
.foot-note { margin: 0; max-width: 42ch; }
.foot-meta { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
