:root {
  --red: #c8102e;
  --red-dark: #9b0e24;
  --red-glow: rgba(200, 16, 46, 0.35);
  --gold: #f6eb61;
  --bg: #0a0a0c;
  --bg-elevated: #141418;
  --bg-card: #1a1a20;
  --bg-card-hover: #22222a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f6;
  --text-muted: #9a9aa8;
  --text-dim: #6b6b78;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --font-display: "Oswald", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: min(1200px, calc(100% - 2rem));
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--red-glow), transparent),
    linear-gradient(180deg, #0d0d10 0%, var(--bg) 40%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--gold); }

.wrap {
  width: var(--wrap);
  max-width: 100%;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.brand:hover { color: var(--gold); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.header-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-nav a.is-active {
  color: var(--gold);
  background: rgba(200, 16, 46, 0.15);
}

.club-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  overflow: hidden;
}

.club-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}

.club-hero .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.club-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(200, 16, 46, 0.4));
}

.club-league {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.2);
  border: 1px solid rgba(200, 16, 46, 0.35);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.club-hero h1,
.club-hero .page-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.club-venue {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.club-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding-bottom: 3rem;
  align-items: start;
}

.section-title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--red);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-list {
  display: grid;
  gap: 1.25rem;
}

.story-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.story-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.story-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
}

.story-card--featured .story-media {
  aspect-ratio: 21 / 9;
  max-height: 320px;
}

.story-card--featured .story-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.story-card--featured h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.story-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
}

.story-card:not(.story-card--featured) .story-media {
  align-self: start;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.story-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(200, 16, 46, 0.5) 0%, rgba(10, 10, 12, 0.9) 100%),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.03) 8px, rgba(255, 255, 255, 0.03) 16px);
}

.story-card:hover .story-media img {
  transform: scale(1.04);
}

.story-body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.story-body h3 a {
  color: var(--text);
  transition: color 0.2s;
}

.story-body h3 a:hover { color: var(--gold); }

.story-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.story-source {
  color: var(--red);
  font-weight: 500;
}

.club-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.panel {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.panel-head h3 { margin: 0; }

.panel-head a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.panel-head a:hover { color: var(--gold); }

.match-row {
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.match-row + .match-row {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.match-row a {
  display: block;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.match-row a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.match-row.is-highlight a {
  background: rgba(200, 16, 46, 0.1);
  border-left: 3px solid var(--red);
  padding-left: 0.65rem;
}

.match-row.is-live .badge-live {
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.match-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.badge-live {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-ft {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--muted, #5c6570);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.match-team--away {
  flex-direction: row-reverse;
  text-align: right;
}

.match-team img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-score {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.match-score--vs {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.standings-table th {
  padding: 0.4rem 0.35rem;
  border-bottom: 1px solid var(--border-strong);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

.standings-table th:nth-child(2) { text-align: left; }

.standings-table td {
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.standings-table td.team-cell {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-align: left;
  font-weight: 500;
}

.standings-table td.team-cell img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.standings-table tr.is-highlight {
  background: rgba(200, 16, 46, 0.12);
}

.standings-table tr.is-highlight td {
  color: var(--gold);
  font-weight: 600;
}

.standings-table td strong {
  color: var(--gold);
}

.page-head {
  padding: 2rem 0 1.25rem;
}

.page-head h1,
.page-head .page-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  line-height: 1.2;
}

.page-head p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-section {
  padding-bottom: 3rem;
}

.page-section h2 {
  margin: 2rem 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-section h2:first-child { margin-top: 0; }

.article-hero {
  padding: 2rem 0 0;
}

.article-hero h1,
.article-hero .page-h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.article-cover {
  margin-bottom: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-content {
  padding-bottom: 3rem;
}

.article-content p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.article-source {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
}

.article-source p { margin: 0; }

.article-source a {
  color: var(--gold);
  font-weight: 500;
}

.article-source a:hover { text-decoration: underline; }

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem auto 0;
}

.article-nav-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-height: 5.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.article-nav-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  color: inherit;
}

.article-nav-card--next {
  text-align: right;
  align-items: flex-end;
}

.article-nav-card--empty {
  visibility: hidden;
  pointer-events: none;
}

.article-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.article-nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
}

.article-more {
  margin-top: 3rem;
  padding-bottom: 2rem;
}

.article-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.article-more-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.article-more-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  color: inherit;
}

.article-more-media {
  width: 96px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
}

.article-more-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-more-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-more-body time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.match-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.match-scoreboard > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.match-scoreboard img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.match-scoreboard .score {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.match-status {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

.match-ht {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.match-scorers {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.match-scorers--home {
  text-align: center;
}

.match-scorers--away {
  text-align: center;
}

.match-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.match-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.match-meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.match-panel {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.match-panel-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
}

.match-stats {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.match-stat-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
}

.match-stat-home {
  text-align: left;
  font-weight: 600;
}

.match-stat-away {
  text-align: right;
  font-weight: 600;
}

.match-stat-type {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.match-stat-bar {
  display: flex;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.match-stat-bar-home {
  background: var(--red);
}

.match-stat-bar-away {
  background: rgba(255, 255, 255, 0.35);
}

.match-lineups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.match-lineup-card {
  min-width: 0;
}

.match-lineup-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.match-lineup-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.match-formation {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.match-lineup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.match-lineup-list li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
}

.match-lineup-list--subs li {
  opacity: 0.85;
}

.match-shirt {
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}

.match-player-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-player-pos {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.match-subs-title {
  margin: 1rem 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding-bottom: 3rem;
}

.squad-card {
  display: block;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.squad-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 0.75rem;
  background: var(--bg-elevated, #1a1a22);
}

.squad-photo--empty {
  background: linear-gradient(145deg, #1e1e28 0%, #12121a 100%);
}

.squad-card:hover {
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-2px);
}

.squad-number {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.squad-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.squad-position {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.squad-nationality {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.breadcrumb {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span[aria-hidden="true"] {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.club-profile,
.player-profile {
  padding-bottom: 3rem;
}

.club-hero,
.player-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.club-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.player-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius) - 4px);
  background: var(--bg-elevated, #1a1a22);
}

.player-photo--empty {
  background: linear-gradient(145deg, #1e1e28 0%, #12121a 100%);
}

.player-number {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.club-summary p,
.player-summary p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.club-details h2,
.player-details h2 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-list dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.player-bio,
.player-honours {
  margin: 0 0 1.5rem;
  max-width: 48rem;
  color: var(--text-muted, #b8b8c0);
  line-height: 1.65;
}

.player-bio p,
.player-honours p {
  margin: 0 0 1rem;
}

.player-clubs {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-muted, #b8b8c0);
  line-height: 1.7;
}

.player-clubs li {
  margin-bottom: 0.25rem;
}

.detail-list dd {
  margin: 0;
  font-size: 0.95rem;
}

.club-links,
.player-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-secondary {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(200, 16, 46, 0.45);
  color: var(--gold);
}

@media (max-width: 640px) {
  .club-hero,
  .player-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.static-page {
  padding: 2rem 0 3rem;
  max-width: 720px;
}

.static-page h1,
.static-page .page-h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.static-page p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.editorial {
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.editorial-intro {
  max-width: 820px;
  margin-bottom: 2rem;
}

.editorial-intro h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.editorial-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.editorial-lead strong,
.editorial-block strong {
  color: var(--text);
  font-weight: 600;
}

.editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.editorial-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.editorial-block--accent {
  border-color: rgba(200, 16, 46, 0.28);
  background: linear-gradient(160deg, rgba(200, 16, 46, 0.08) 0%, var(--bg-card) 55%);
}

.editorial-block--wide {
  margin-bottom: 1.25rem;
}

.editorial-block h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gold);
}

.editorial-block p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.editorial-block p:last-child {
  margin-bottom: 0;
}

.editorial-block a {
  color: var(--gold);
  text-decoration: none;
}

.editorial-block a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .editorial-columns {
    grid-template-columns: 1fr;
  }

  .editorial {
    padding-bottom: 3rem;
  }
}

.site-footer {
  margin-top: auto;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 auto 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.article-share-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.share-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.share-link:hover,
.share-link.is-copied {
  color: var(--gold);
  border-color: rgba(200, 16, 46, 0.45);
  background: rgba(200, 16, 46, 0.08);
}

.share-link--copy .share-copy-text {
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}

.footer-links a + a {
  position: relative;
}

.site-footer a:hover { color: var(--gold); }

.empty-note {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--text-dim);
  text-align: center;
}

@media (max-width: 960px) {
  .club-grid {
    grid-template-columns: 1fr;
  }

  .club-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 2.75rem); }

  .site-header .bar {
    gap: 0.75rem;
  }

  .header-nav {
    overflow-x: auto;
    flex-shrink: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav a {
    padding: 0.4rem 0.55rem;
    font-size: 0.8rem;
  }

  .page-head {
    padding-top: 1.5rem;
  }

  .page-head p,
  .page-head h1,
.page-head .page-h1 {
    padding-inline: 0.125rem;
  }

  .page-head h1,
.page-head .page-h1 {
    font-size: clamp(1.2rem, 5.8vw, 1.7rem);
    letter-spacing: 0;
    line-height: 1.25;
  }

  .brand { font-size: 1.1rem; }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-media {
    aspect-ratio: 16 / 9;
  }

  .match-scoreboard {
    padding: 1.25rem;
    gap: 1rem;
  }

  .match-scoreboard img {
    width: 48px;
    height: 48px;
  }

  .match-lineups {
    grid-template-columns: 1fr;
  }

  .standings-table {
    font-size: 0.72rem;
  }

  .standings-table th:nth-child(4),
  .standings-table th:nth-child(5),
  .standings-table th:nth-child(6),
  .standings-table td:nth-child(4),
  .standings-table td:nth-child(5),
  .standings-table td:nth-child(6) {
    display: none;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav-card--next {
    text-align: left;
    align-items: flex-start;
  }

  .article-nav-card--empty {
    display: none;
  }

  .article-more-grid {
    grid-template-columns: 1fr;
  }
}

/* === editorial ui fix === */

section.wrap.editorial {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1.25rem, 5vw, 2.25rem) !important;
  padding-block: 2.5rem 3rem !important;
  background: color-mix(in srgb, var(--bg-card) 92%, var(--bg)) !important;
  border-top: 1px solid var(--border) !important;
}

.editorial-intro h2 {
  color: var(--text) !important;
}

.editorial-lead {
  color: var(--text-muted) !important;
  line-height: 1.75 !important;
}

.editorial-lead strong {
  color: var(--gold) !important;
}

.editorial-block {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-strong) !important;
  padding: 1.2rem 1.35rem !important;
  border-radius: var(--radius-sm) !important;
}

.editorial-block h3 {
  color: var(--text) !important;
}

.editorial-block p {
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
}

.editorial-block strong {
  color: var(--gold) !important;
}

.editorial-block--accent {
  border-left: 3px solid var(--red) !important;
  background: color-mix(in srgb, var(--red) 12%, var(--bg-card)) !important;
}

@media (max-width: 640px) {
  section.wrap.editorial {
    padding-inline: clamp(1.25rem, 5vw, 2.25rem) !important;
  }
  .editorial-columns {
    grid-template-columns: 1fr !important;
  }
}
