:root {
  --brand-red: #d71920;
  --brand-red-dark: #a90f14;
  --brand-red-soft: #fff0f1;
  --ink: #121216;
  --ink-soft: #24242a;
  --muted: #6e6e76;
  --surface: #ffffff;
  --surface-soft: #f4f4f6;
  --line: #e4e4e8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 10px 32px rgba(15, 15, 18, 0.07);
  --shadow-lg: 0 28px 70px rgba(15, 15, 18, 0.17);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font-family: "Poppins", Arial, sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.35);
  outline-offset: 3px;
}

.site-width,
.top-strip-inner,
.masthead,
.partner-banner,
.scoreboard-inner,
.main-navigation-inner,
.site-shell,
.footer-inner {
  width: min(100% - 40px, 1420px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
  background: #fff;
}

.top-strip {
  background: var(--ink);
  color: #fff;
}

.top-strip-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.live-label,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #ff3038;
  box-shadow: 0 0 0 5px rgba(255, 48, 56, 0.16);
  animation: livePulse 1.8s infinite;
}

.top-strip-place {
  color: rgba(255, 255, 255, 0.62);
}

.masthead {
  min-height: 112px;
  padding-block: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
}

.brand-lockup {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.brand-logo {
  width: clamp(190px, 19vw, 270px);
  height: auto;
}

.brand-copy {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.foundation-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.foundation-lockup span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foundation-lockup img {
  width: 92px;
  height: auto;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: 0.2s ease;
}

.social-link:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-2px);
}

.partner-banner {
  padding: 0 0 22px;
}

.partner-banner a {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #049843;
  box-shadow: var(--shadow-sm);
}

.partner-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.scoreboard-shell {
  background: #ececef;
  border-top: 1px solid #dddddf;
  border-bottom: 1px solid #d6d6da;
}

.scoreboard-inner {
  min-height: 126px;
  display: flex;
  align-items: stretch;
}

.scoreboard-label {
  width: 140px;
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid #d1d1d5;
}

.scoreboard-label strong {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scoreboard-label span {
  margin-top: 5px;
  color: var(--brand-red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scoreboard-track {
  position: relative;
  min-width: 0;
  flex: 1;
}

#tablero-api {
  min-height: 126px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 40px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

#tablero-api::-webkit-scrollbar {
  display: none;
}

.scoreboard-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 42px;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.scoreboard-arrow:hover {
  color: var(--brand-red);
}

.scoreboard-arrow-left {
  left: 0;
  background: linear-gradient(90deg, #ececef 55%, rgba(236, 236, 239, 0));
}

.scoreboard-arrow-right {
  right: 0;
  background: linear-gradient(270deg, #ececef 55%, rgba(236, 236, 239, 0));
}

.scoreboard-more {
  width: 145px;
  flex: 0 0 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border-left: 1px solid #d1d1d5;
  color: var(--brand-red);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.ticker-match {
  min-width: 205px;
  min-height: 94px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  border: 1px solid #dadade;
  border-left: 4px solid #c7c7cc;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: 0.2s ease;
}

.ticker-match:hover {
  border-color: #b8b8be;
  transform: translateY(-2px);
}

.ticker-match.is-live {
  border-left-color: var(--brand-red);
}

.ticker-match-top,
.ticker-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ticker-match-top {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.ticker-match-top strong {
  max-width: 120px;
  overflow: hidden;
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-match-top em {
  color: var(--brand-red);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.ticker-team {
  font-size: 9px;
  font-weight: 700;
}

.ticker-team > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-team img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.ticker-team b {
  font-size: 13px;
}

.score-loading,
.score-empty {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-loading span {
  width: 10px;
  height: 10px;
  border: 2px solid #bbb;
  border-top-color: var(--brand-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.main-navigation {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #29292e;
  background: rgba(18, 18, 22, 0.98);
  color: #fff;
  backdrop-filter: blur(14px);
}

.main-navigation-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-navigation-inner::-webkit-scrollbar {
  display: none;
}

.main-navigation-link {
  min-height: 58px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation-link:hover,
.main-navigation-link.is-active {
  border-bottom-color: var(--brand-red);
  color: #fff;
}

.nav-live-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #ff3038;
}

.editorial-hero {
  padding-block: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.72fr);
  gap: 22px;
}

.lead-story {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 61, 68, 0.46), transparent 33%),
    linear-gradient(135deg, #970d12 0%, #d71920 48%, #151519 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.lead-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.6)),
    repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 255, 255, 0.025) 29px 30px);
}

.lead-story-brand {
  position: absolute;
  top: 44px;
  right: 42px;
  width: min(42%, 370px);
  opacity: 0.2;
  filter: brightness(0) invert(1);
  transform: rotate(-4deg);
}

.lead-story-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: clamp(28px, 5vw, 58px);
}

.story-kicker,
.section-kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-story h1 {
  max-width: 830px;
  margin: 13px 0 14px;
  font-size: clamp(34px, 5vw, 67px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lead-story p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

.button {
  min-height: 46px;
  width: fit-content;
  margin-top: 24px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.button-outline-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.headline-stack {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.headline-stack-header {
  min-height: 72px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.headline-stack-header span {
  color: var(--brand-red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.headline-stack-header strong {
  font-size: 12px;
  text-transform: uppercase;
}

.headline-item {
  min-height: 145px;
  padding: 22px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s ease;
}

.headline-item:last-child {
  border-bottom: 0;
}

.headline-item:hover {
  background: var(--brand-red-soft);
}

.headline-number {
  color: #c5c5ca;
  font-size: 15px;
  font-weight: 900;
}

.headline-item small {
  display: block;
  color: var(--brand-red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.headline-item strong {
  margin-top: 7px;
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.home-results-section {
  padding-block: 58px 64px;
  background:
    radial-gradient(circle at 10% 0, rgba(215, 25, 32, 0.34), transparent 32%),
    var(--ink);
  color: #fff;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-title-row h2,
.results-dashboard-toolbar h2 {
  margin: 9px 0 7px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-title-row p {
  margin: 0;
  font-size: 12px;
}

.section-title-row-light p {
  color: rgba(255, 255, 255, 0.6);
}

.results-tabs {
  margin-top: 30px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.results-tabs::-webkit-scrollbar {
  display: none;
}

.results-tab {
  min-height: 38px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.results-tab:hover,
.results-tab.is-active {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.results-tabs-dark .results-tab {
  border-color: var(--line);
  background: #fff;
  color: var(--muted);
}

.results-tabs-dark .results-tab:hover,
.results-tabs-dark .results-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.results-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.result-match-card {
  min-height: 235px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: #202025;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: 0.22s ease;
}

.result-match-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.result-match-card.is-live {
  border-top-color: var(--brand-red);
}

.result-match-heading,
.result-team,
.result-team-name,
.result-match-state,
.result-match-link {
  display: flex;
  align-items: center;
}

.result-match-heading {
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.result-match-heading span {
  max-width: 150px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.6);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-match-heading small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.result-match-state {
  min-height: 38px;
  gap: 8px;
  color: #ff676c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.result-team {
  min-height: 40px;
  justify-content: space-between;
  gap: 12px;
}

.result-team-name {
  min-width: 0;
  gap: 9px;
}

.result-team-name img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.result-team-name strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-team > b {
  font-size: 19px;
}

.result-match-link {
  margin-top: auto;
  padding-top: 13px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-loading {
  grid-column: 1 / -1;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-loading-light {
  color: var(--muted);
}

.results-empty {
  grid-column: 1 / -1;
  min-height: 190px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.results-empty i {
  margin-bottom: 12px;
  font-size: 26px;
}

.results-empty strong,
.results-empty span {
  display: block;
}

.results-empty strong {
  color: inherit;
  font-size: 13px;
}

.results-empty span {
  margin-top: 5px;
  font-size: 10px;
}

.results-empty-plain {
  border-color: var(--line);
  color: var(--muted);
}

.site-shell {
  padding-block: 64px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.section-heading {
  margin-bottom: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand-red);
}

.section-heading h2 {
  max-width: 800px;
  margin: 11px 0 8px;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.section-heading p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.category-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.category-menu::-webkit-scrollbar {
  display: none;
}

.category-button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.category-button:hover,
.category-button.is-active {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.news-count {
  margin: 10px 0 16px;
  color: #9a9aa0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-grid {
  column-count: 2;
  column-gap: 20px;
}

.news-card {
  width: 100%;
  margin: 0 0 20px;
  display: inline-block;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: 0.23s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.news-media {
  min-height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #ececef, #f8f8f9);
}

.news-media iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
}

.news-card-body {
  padding: 20px 20px 23px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-category {
  min-height: 25px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-source {
  color: #9b9ba1;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-card h2 {
  margin: 14px 0 0;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.32;
}

.empty-state {
  padding: 60px 20px;
  border: 1px dashed #d1d1d6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.site-sidebar {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-inner {
  padding: 23px;
}

.sidebar-kicker {
  color: var(--brand-red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-card h2,
.sidebar-card h3 {
  margin: 8px 0 8px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.sidebar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.sidebar-card-dark {
  border-color: #2b2b30;
  background: var(--ink);
  color: #fff;
}

.sidebar-card-dark p {
  color: rgba(255, 255, 255, 0.62);
}

.primary-button,
.secondary-dark-button {
  width: 100%;
  min-height: 45px;
  margin-top: 17px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-button {
  background: var(--brand-red);
  color: #fff;
}

.secondary-dark-button {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.latest-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.latest-list li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.latest-list li > span {
  color: #babac0;
  font-size: 10px;
  font-weight: 900;
}

.latest-list a {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.latest-list a:hover {
  color: var(--brand-red);
}

.facebook-card-heading {
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  color: #1877f2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.facebook-embed {
  min-height: 220px;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.results-page-hero {
  padding-block: 66px;
  background:
    linear-gradient(100deg, rgba(215, 25, 32, 0.92), rgba(140, 7, 12, 0.82)),
    var(--brand-red);
  color: #fff;
}

.results-page-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.results-page-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.results-dashboard {
  padding-block: 48px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.results-dashboard-main,
.league-filter-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.results-dashboard-main {
  padding: 26px;
}

.results-dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.results-dashboard-toolbar h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.video-summary-button {
  min-height: 44px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  background: var(--brand-red);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.results-grid-page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.results-grid-page .result-match-card {
  border-color: var(--line);
  border-top-color: #cfcfd4;
  background: #f8f8f9;
  color: var(--ink);
}

.results-grid-page .result-match-card.is-live {
  border-top-color: var(--brand-red);
}

.results-grid-page .result-match-heading {
  border-bottom-color: var(--line);
}

.results-grid-page .result-match-heading span,
.results-grid-page .result-match-heading small,
.results-grid-page .result-match-link {
  color: var(--muted);
}

.results-grid-page .result-match-link {
  border-top-color: var(--line);
}

.league-filter-panel {
  position: sticky;
  top: 78px;
  padding: 24px;
}

.league-filter-panel h2 {
  margin: 8px 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.league-filter-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.league-filter-list {
  margin-top: 20px;
  display: grid;
}

.league-filter-button {
  min-height: 47px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.league-filter-button:hover,
.league-filter-button.is-active {
  color: var(--brand-red);
}

.league-filter-button.is-active {
  font-weight: 900;
}

.coverage-note {
  margin-top: 22px;
  padding: 14px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
}

.coverage-note i {
  color: var(--brand-red);
}

.coverage-note p {
  margin: 0;
  font-size: 8px;
  line-height: 1.6;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  padding-block: 48px 28px;
}

.footer-main {
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
}

.footer-brand {
  width: 190px;
  filter: brightness(0) invert(1);
}

.footer-copy {
  max-width: 580px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-modal,
.standings-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  padding: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 8, 0.9);
  backdrop-filter: blur(12px);
}

.video-modal.is-open,
.standings-modal {
  display: flex;
}

.video-modal-panel,
.standings-panel {
  width: min(100%, 1000px);
  max-height: 94vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease-out;
}

.standings-panel {
  width: min(100%, 650px);
}

.video-modal-header,
.standings-header {
  min-height: 78px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.video-modal-header h2,
.standings-header h2 {
  margin: 5px 0 0;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.standings-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.video-modal-header button,
.standings-header button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
}

.video-modal-body,
.standings-content {
  overflow: auto;
  background: var(--surface-soft);
}

.video-modal-body iframe {
  width: 100%;
  height: min(720px, 75vh);
  display: block;
}

.video-modal-footer {
  padding: 11px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.standings-content {
  min-height: 300px;
  padding: 18px;
}

.standings-table-wrap {
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 10px;
}

.standings-table th,
.standings-table td {
  padding: 11px 9px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.standings-table th {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  min-width: 190px;
  text-align: left;
}

.standings-table td:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 9px;
}

.standings-table img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.standings-table td:last-child {
  color: var(--brand-red);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .brand-copy,
  .foundation-lockup {
    display: none;
  }

  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .results-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .scoreboard-label,
  .scoreboard-more {
    display: none;
  }

  .editorial-hero {
    grid-template-columns: 1fr;
  }

  .lead-story {
    min-height: 470px;
  }

  .headline-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .headline-stack-header {
    grid-column: 1 / -1;
  }

  .headline-item {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .headline-item:last-child {
    border-right: 0;
  }

  .site-shell,
  .results-dashboard {
    grid-template-columns: 1fr;
  }

  .site-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facebook-card {
    grid-column: 1 / -1;
  }

  .league-filter-panel {
    position: static;
  }

  .league-filter-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
  }
}

@media (max-width: 760px) {
  .site-width,
  .top-strip-inner,
  .masthead,
  .partner-banner,
  .scoreboard-inner,
  .main-navigation-inner,
  .site-shell,
  .footer-inner {
    width: min(100% - 24px, 1420px);
  }

  .top-strip-place {
    display: none;
  }

  .top-strip-inner {
    justify-content: center;
  }

  .masthead {
    min-height: 88px;
    gap: 12px;
    padding-block: 13px;
  }

  .brand-logo {
    width: 170px;
  }

  .partner-banner {
    padding-bottom: 13px;
  }

  .partner-banner a {
    border-radius: 11px;
  }

  .partner-banner img {
    min-height: 90px;
    object-fit: cover;
    object-position: center;
  }

  .scoreboard-inner,
  #tablero-api {
    min-height: 116px;
  }

  .main-navigation-link {
    padding-inline: 13px;
  }

  .editorial-hero {
    padding-block: 24px;
  }

  .lead-story {
    min-height: 430px;
    border-radius: 22px;
  }

  .lead-story-content {
    padding: 28px;
  }

  .lead-story h1 {
    font-size: clamp(34px, 9vw, 50px);
  }

  .lead-story-brand {
    top: 30px;
    right: 24px;
    width: 60%;
  }

  .headline-stack {
    display: block;
    border-radius: 18px;
  }

  .headline-item {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .headline-item:last-child {
    border-bottom: 0;
  }

  .section-title-row,
  .results-dashboard-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-results-section {
    padding-block: 42px 48px;
  }

  .results-grid,
  .results-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    column-count: 1;
  }

  .site-sidebar {
    grid-template-columns: 1fr;
  }

  .facebook-card {
    grid-column: auto;
  }

  .results-dashboard-main {
    padding: 20px;
  }

  .league-filter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 148px;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }

  #tablero-api {
    padding-inline: 32px;
  }

  .ticker-match {
    min-width: 190px;
  }

  .main-navigation-link {
    font-size: 8px;
  }

  .results-grid,
  .results-grid-page {
    grid-template-columns: 1fr;
  }

  .result-match-card {
    min-height: 220px;
  }

  .site-shell {
    padding-block: 46px 56px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .news-card-body {
    padding: 17px 17px 20px;
  }

  .results-page-hero {
    padding-block: 48px;
  }

  .results-dashboard {
    padding-block: 28px 54px;
  }

  .league-filter-list {
    grid-template-columns: 1fr;
  }

  .video-modal,
  .standings-modal {
    padding: 8px;
  }

  .video-modal-panel,
  .standings-panel {
    border-radius: 15px;
  }

  .standings-content {
    padding: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress portal integration */
.main-navigation-list {
  min-height: 58px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.main-navigation-list li {
  margin: 0;
}

.main-navigation-list a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-navigation-list a:hover,
.main-navigation-list .current-menu-item > a,
.main-navigation-list .current_page_item > a {
  border-bottom-color: var(--brand-red);
  color: #fff;
}

.admin-bar .main-navigation {
  top: 32px;
}

.lead-story[style] {
  background-position: center;
  background-size: cover;
}

.headline-empty {
  min-height: 340px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.headline-empty strong {
  color: var(--ink);
  font-size: 20px;
}

.headline-empty p {
  max-width: 260px;
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.6;
}

.category-menu a {
  text-decoration: none;
}

.post-card-media {
  min-height: 230px;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eeeef1;
}

.post-card-media > img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .post-card-media > img {
  transform: scale(1.025);
}

.post-placeholder {
  min-height: 230px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, var(--brand-red-dark), var(--brand-red) 55%, var(--ink));
}

.post-placeholder img {
  width: 65%;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-card h2 a:hover {
  color: var(--brand-red);
}

.post-card-excerpt {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.social-follow-card {
  background:
    radial-gradient(circle at 100% 0, rgba(24,119,242,.15), transparent 38%),
    #fff;
}

.facebook-follow-button {
  min-height: 45px;
  margin-top: 17px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 11px;
  background: #1877f2;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.archive-page {
  min-height: 60vh;
}

.archive-hero {
  padding-block: 60px;
  background:
    linear-gradient(100deg, rgba(215, 25, 32, 0.95), rgba(116, 7, 12, 0.88)),
    var(--brand-red);
  color: #fff;
}

.archive-hero .section-eyebrow {
  color: #fff;
}

.archive-hero .section-eyebrow::before {
  background: #fff;
}

.archive-hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.archive-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.portal-pagination {
  margin-top: 30px;
}

.portal-pagination .nav-links {
  display: flex;
  gap: 8px;
}

.portal-pagination .page-numbers {
  min-width: 40px;
  min-height: 40px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}

.portal-pagination .current,
.portal-pagination a:hover {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.article-page {
  padding-block: 54px 76px;
}

.article-header {
  max-width: 1050px;
  text-align: center;
}

.article-header h1 {
  margin: 18px auto 15px;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-featured {
  margin-top: 36px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-featured img {
  width: 100%;
  max-height: 760px;
  display: block;
  object-fit: cover;
}

.article-layout {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: start;
}

.article-content {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: #303036;
  font-size: 16px;
  line-height: 1.85;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.article-content img,
.article-content iframe,
.article-content video {
  max-width: 100%;
  border-radius: 14px;
}

.article-content iframe {
  width: 100%;
}

.article-content a {
  color: var(--brand-red);
}

.article-content blockquote {
  margin: 30px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand-red);
  background: var(--brand-red-soft);
  color: var(--ink);
  font-weight: 600;
}

.article-share {
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.article-share a {
  padding: 10px 14px;
  border-radius: 10px;
  background: #1877f2;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.standard-page {
  min-height: 60vh;
  padding-block: 60px 76px;
}

.standard-page-header {
  margin-bottom: 28px;
}

.standard-page-header h1 {
  margin: 12px 0 0;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.error-page {
  min-height: 65vh;
  padding-block: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-page h1 {
  max-width: 850px;
  margin: 15px 0 10px;
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.error-page p {
  color: var(--muted);
}

.error-page-button {
  background: var(--brand-red);
  color: #fff;
}

.alignwide {
  width: min(120%, 1100px);
  max-width: 1100px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout .site-sidebar {
    position: static;
  }
}

@media (max-width: 782px) {
  .admin-bar .main-navigation {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .main-navigation-list a {
    padding-inline: 13px;
    font-size: 8px;
  }

  .article-page {
    padding-block: 34px 54px;
  }

  .article-header h1 {
    font-size: 39px;
  }

  .article-meta {
    flex-direction: column;
    gap: 6px;
  }

  .article-featured {
    margin-top: 24px;
    border-radius: 18px;
  }

  .article-layout {
    margin-top: 22px;
  }

  .article-content {
    padding: 22px;
    font-size: 14px;
  }

  .article-share {
    align-items: flex-start;
    flex-direction: column;
  }
}
