/*
 * The Sporting Times — standalone article layout.
 * Original CSS using system fonts and locally hosted assets only.
 */

:root {
  --red: #a71916;
  --red-dark: #7f100e;
  --red-deep: #5f0d0b;
  --ink: #242424;
  --ink-soft: #4b4b4b;
  --muted: #6f6f6f;
  --line: #d8d8d8;
  --line-dark: #b6b6b6;
  --paper: #ffffff;
  --paper-soft: #f2f2f2;
  --paper-warm: #f7f5f1;
  --page-width: 1040px;
  --article-width: 680px;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
audio {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

button,
audio {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #1d70b8;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-width {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.article-width {
  width: min(calc(100% - 40px), var(--article-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line-dark);
}

.masthead-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 88px;
  padding: 16px max(20px, calc((100vw - var(--page-width)) / 2));
  background: var(--red);
  color: #fff;
}

.masthead {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.masthead-the {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.masthead-name {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.edition {
  padding-bottom: 5px;
  color: #f4d9d8;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  background: var(--red-dark);
  color: #fff;
}

.nav-inner {
  display: flex;
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

.primary-nav a {
  min-width: 92px;
  padding: 10px 18px 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.primary-nav a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
  background: var(--red-deep);
}

.primary-nav a.active {
  box-shadow: inset 0 -4px 0 #fff;
}

.section-ribbon {
  background: var(--paper-soft);
}

.section-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(calc(100% - 40px), var(--page-width));
  min-height: 48px;
  margin-inline: auto;
}

.section-inner > span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
}

.section-inner nav {
  display: flex;
  gap: 22px;
}

.section-inner a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.section-inner a:hover {
  text-decoration: underline;
}

.article-header {
  padding-top: 30px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--red);
  font-weight: 700;
}

.article-heading {
  max-width: 900px;
}

.kicker {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.standfirst {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.36;
}

.article-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 820px;
  margin-top: 28px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.byline-block {
  display: flex;
  align-items: center;
  gap: 11px;
}

.byline-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.byline-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.byline-block span:last-child {
  color: var(--muted);
}

.publication-details {
  display: flex;
  gap: 8px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
}

.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 820px;
  min-height: 60px;
}

.share-label {
  margin-right: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.share-row button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.share-row button:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.share-row button span {
  color: var(--red);
  font-size: 16px;
}

.share-status {
  color: var(--muted);
  font-size: 12px;
}

.hero-media {
  margin-top: 8px;
  margin-bottom: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #3d3d3d;
}

figcaption {
  padding: 9px 12px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  color: #5a5a5a;
  font-size: 12px;
  line-height: 1.4;
}

.audio-feature {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  margin-top: 38px;
  margin-bottom: 44px;
  padding: 20px 0 23px;
  border-top: 5px solid var(--red);
  border-bottom: 1px solid var(--line-dark);
}

.audio-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 72px;
  height: 72px;
  background: var(--red);
}

.audio-icon span {
  display: block;
  width: 5px;
  background: #fff;
}

.audio-icon span:nth-child(1) {
  height: 18px;
}

.audio-icon span:nth-child(2) {
  height: 38px;
}

.audio-icon span:nth-child(3) {
  height: 29px;
}

.audio-icon span:nth-child(4) {
  height: 13px;
}

.audio-content {
  min-width: 0;
}

.audio-eyebrow {
  margin: 0 0 2px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audio-content h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.audio-deck {
  margin: 6px 0 13px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
}

.audio-content audio {
  width: 100%;
  height: 42px;
}

.audio-status {
  min-height: 1em;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--article-width)) 260px;
  gap: 72px;
  align-items: start;
}

.article-body {
  max-width: var(--article-width);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.68;
}

.article-body > p:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 24px;
}

.dateline > span:first-child {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-body section {
  padding-top: 17px;
}

.article-body h2 {
  margin: 34px 0 20px;
  padding-top: 13px;
  border-top: 4px solid var(--ink);
  font-family: var(--sans);
  font-size: clamp(25px, 3vw, 31px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.nickname {
  margin: 27px 0 32px !important;
  color: var(--red);
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.short-lines,
.staccato {
  color: #353535;
  font-weight: 700;
}

.staccato {
  margin: 31px 0 !important;
  padding: 21px 25px;
  border-left: 5px solid var(--red);
  background: var(--paper-warm);
  font-size: 20px;
  line-height: 1.65;
}

.emphasis-line {
  font-size: 20px;
  font-weight: 700;
}

.body-figure {
  margin: 34px 0 36px;
}

.body-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #49443f;
}

.body-figure-wide {
  width: min(780px, calc(100vw - 40px));
}

.pull-quote {
  position: relative;
  margin: 38px 0 39px;
  padding: 18px 24px 17px 29px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--red);
  font-family: var(--sans);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.pull-quote::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 7px;
  background: var(--red);
  content: "";
}

.pull-quote p {
  margin: 0;
}

.pull-quote-final {
  margin-top: 31px;
}

.moment {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 25px;
  align-items: center;
  margin: 35px 0 37px;
  padding: 23px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.moment time {
  color: var(--red);
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.moment p {
  margin: 0;
  font-weight: 700;
  line-height: 1.55;
}

.record-number {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 30px 0 35px !important;
  color: var(--red);
  font-family: var(--sans);
}

.record-number strong {
  font-size: clamp(64px, 11vw, 104px);
  letter-spacing: -0.065em;
  line-height: 0.85;
}

.record-number span {
  font-size: 22px;
  font-weight: 700;
}

.closing-lines {
  margin: 42px 0 70px;
  padding: 31px 0 5px;
  border-top: 5px solid var(--red);
  font-size: 20px;
}

.closing-lines p {
  margin-bottom: 13px;
}

.closing-lines p:first-child {
  color: var(--red);
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 700;
}

.article-aside {
  position: sticky;
  top: 20px;
  margin-top: 2px;
  font-size: 14px;
}

.aside-section {
  margin-bottom: 34px;
  border-top: 5px solid var(--red);
}

.aside-section > h2,
.archive-mark h2 {
  margin: 0;
  padding: 11px 0 10px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 20px;
  line-height: 1.2;
}

.key-facts dl {
  margin: 0;
}

.key-facts dl div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.key-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.key-facts dd {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
}

.related-stories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-stories li {
  border-bottom: 1px solid var(--line);
}

.related-stories a {
  display: block;
  padding: 13px 0;
  text-decoration: none;
}

.related-stories a:hover span {
  color: var(--red);
  text-decoration: underline;
}

.related-stories span {
  display: block;
  font-weight: 700;
  line-height: 1.32;
}

.related-stories small {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-mark {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 13px;
  padding-top: 15px;
}

.archive-mark img {
  width: 70px;
  height: 70px;
}

.archive-mark h2 {
  padding-top: 0;
  font-size: 17px;
}

.archive-mark p {
  margin: 9px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  padding: 34px 0 45px;
  border-top: 8px solid var(--red);
  background: #252525;
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-brand {
  width: fit-content;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid #565656;
  border-bottom: 1px solid #565656;
}

.site-footer nav a {
  min-width: 120px;
  padding: 10px 20px 10px 0;
  font-size: 13px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  color: #bdbdbd;
  font-size: 12px;
}

@media (max-width: 980px) {
  .feature-layout {
    grid-template-columns: minmax(0, var(--article-width));
    justify-content: center;
  }

  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 50px;
  }

  .archive-mark {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  html {
    scroll-behavior: auto;
  }

  .page-width,
  .article-width,
  .section-inner {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .masthead-wrap {
    min-height: 71px;
    padding: 13px 14px;
  }

  .masthead-the {
    font-size: 15px;
  }

  .masthead-name {
    font-size: 36px;
  }

  .edition {
    display: none;
  }

  .primary-nav {
    overflow-x: auto;
  }

  .nav-inner {
    width: max-content;
    min-width: 100%;
  }

  .primary-nav a {
    min-width: 76px;
    padding-inline: 13px;
  }

  .section-inner {
    gap: 19px;
    min-height: 43px;
  }

  .section-inner > span {
    font-size: 21px;
  }

  .section-inner nav {
    gap: 14px;
  }

  .section-inner nav a:last-child {
    display: none;
  }

  .article-header {
    padding-top: 21px;
  }

  .breadcrumbs {
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(36px, 11.4vw, 49px);
    line-height: 1.01;
  }

  .standfirst {
    margin-top: 18px;
    font-size: 20px;
  }

  .article-meta {
    display: block;
    margin-top: 23px;
  }

  .publication-details {
    margin-top: 13px;
    padding-left: 53px;
  }

  .share-row {
    flex-wrap: wrap;
    padding: 11px 0;
  }

  .share-label {
    width: 100%;
  }

  .share-status {
    width: 100%;
  }

  .hero-media {
    width: 100%;
  }

  .hero-media figcaption {
    padding-inline: 14px;
  }

  .audio-feature {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 13px;
    margin-top: 31px;
    margin-bottom: 35px;
  }

  .audio-icon {
    width: 54px;
    height: 54px;
  }

  .audio-content h2 {
    font-size: 19px;
  }

  .audio-deck {
    font-size: 14px;
  }

  .audio-content audio {
    grid-column: 1 / -1;
  }

  .feature-layout {
    width: min(calc(100% - 28px), var(--page-width));
    gap: 32px;
  }

  .article-body {
    font-size: 17px;
    line-height: 1.65;
  }

  .article-body p {
    margin-bottom: 22px;
  }

  .article-body h2 {
    margin-top: 27px;
    font-size: 26px;
  }

  .body-figure-wide {
    width: 100%;
  }

  .pull-quote {
    margin-inline: -2px;
    padding-right: 12px;
    padding-left: 22px;
    font-size: 27px;
  }

  .moment {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .moment time {
    font-size: 52px;
  }

  .record-number {
    display: block;
  }

  .record-number span {
    display: block;
    margin-top: 9px;
  }

  .article-aside {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .archive-mark {
    grid-column: auto;
  }

  .site-footer nav a {
    min-width: 50%;
  }
}

@media print {
  .site-header,
  .share-row,
  .article-aside,
  .site-footer,
  .audio-feature {
    display: none;
  }

  .page-width,
  .article-width,
  .feature-layout,
  .article-body {
    width: 100%;
    max-width: none;
  }

  .article-header {
    padding-top: 0;
  }

  h1 {
    font-size: 38pt;
  }

  .hero-media {
    break-inside: avoid;
  }

  .article-body {
    font-size: 12pt;
  }

  a {
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
