/* Roboto 3.015 retains its width and weight axes and extended Latin names. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("assets/fonts/roboto-reading-upright-v3.015.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("assets/fonts/roboto-reading-italic-v3.015.woff2") format("woff2");
}
:root {
  --site-type: "Roboto", "Segoe UI", Arial, sans-serif;
  --site-text-width: 100%;
  --font-sans: var(--site-type);
  --font-display: var(--font-sans);
  --font-data: var(--font-sans);
  font-family: var(--font-sans);
}
body, button, input, select, textarea, option, optgroup {
  font-family: inherit;
}
button, input, select, textarea {
  letter-spacing: inherit;
}
/* Native controls and SVG chart labels also inherit the shared family. */
input::placeholder, textarea::placeholder, ::file-selector-button, svg text {
  font-family: inherit;
}

/* Component font shorthands reset family and stretch. Keep both consistent
   across inline emphasis, controls and SVG labels while preserving weights. */
@layer site-typography {
  :where(html, body, body *), body *::before, body *::after,
  input::placeholder, textarea::placeholder, ::file-selector-button {
    font-family:var(--site-type) !important;
    font-stretch:var(--site-text-width) !important;
  }
}

/* Use the variable width axis for reading layouts and compact team labels. */
#main .original-page,
#weekly-edition.competition-snapshot,
.original-copy,
#reading-title,
#app-guide-title,
.app-guide-intro,
.profile-narratives :is(h3, .team-description, details p),
.feedback-main:has(.feedback-contact) .feedback-intro,
.feedback-thanks .feedback-intro > h1 {
  --site-text-width: 90%;
}
:is(.original-page, .original-copy) :is(nav, button, input, select, textarea, table, .eyebrow) {
  --site-text-width: 100%;
}
#main .original-page :is(p, li, dd):not(.eyebrow),
#reading-content :is(p, li, dd) {
  max-inline-size: 66ch;
  font-size: 1rem;
  line-height: 1.55;
}

#main :is(.page h1, .club-name, .fixture-club-name, .match-team-name) {
  --site-text-width: 100%;
}
@media (max-width:760px) {
  #main :is(.club-name, .fixture-club-name, .match-team-name) {--site-text-width:90%}
}
@media (max-width:375px) {
  .app-bottom-nav {--site-text-width:87.5%}
}
