/*!
 * FC Varesh — Premium RTL Design
 * Elegant sports club aesthetic with rich typography and layered depth
 */

/* ─── Tokens — FC Varesh blue (logo-led, minimal) ─── */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #121826;
  --ink-soft: #2a3344;
  --muted: #667084;
  --brand: #0b6fb8;
  --brand-rgb: 11, 111, 184;
  --brand-light: #eaf3fa;
  --brand-strong: #1b2f8a;
  --brand-accent: #2aa9e0;
  --border: #e2e7ee;
  --border-light: #eef2f7;
  --inverse: #0b1220;
  --radius-sm: 0.35rem;
  --radius: 0.55rem;
  --radius-lg: 0.85rem;
  --radius-xl: 1.1rem;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow: 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 18px 48px rgba(11, 18, 32, 0.09);
  --max: 1120px;
  --header-h: 4rem;
  --font: "Vazirmatn", system-ui, sans-serif;
  --display: "Vazirmatn", system-ui, sans-serif;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  position: relative;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.75;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  background:
    radial-gradient(ellipse 68% 42% at 50% -8%, rgba(var(--brand-rgb), 0.12), transparent 62%),
    radial-gradient(ellipse 50% 36% at 100% 100%, rgba(27, 47, 138, 0.06), transparent 55%),
    linear-gradient(180deg, #eef3f8 0%, var(--bg) 46%, #f8f9fb 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(var(--brand-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb), 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 76%);
}

/* ═══════════════════════════════════════════════════════════════════
   Ambient Background Theme (Faint Football Motifs & Varesh Crest)
   Subtle Luxury Parallax · Faint Watermark · Non-intrusive
   ═══════════════════════════════════════════════════════════════════ */

.site-ambient-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}

.site-ambient-layer {
  position: absolute;
  inset: -120px -60px -120px -60px;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ambient-motif {
  position: absolute;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ambient-motif img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Subtle brand watermarks (Logo) */
.ambient-motif--logo-top {
  top: 7%;
  right: -2%;
  width: clamp(230px, 22vw, 360px);
  opacity: 0.038;
  transform: rotate(-8deg);
  filter: grayscale(60%) contrast(0.95);
  mix-blend-mode: multiply;
  animation: ambientFloatA 18s ease-in-out infinite;
}

.ambient-motif--logo-bottom {
  top: 68%;
  left: -3%;
  width: clamp(270px, 26vw, 420px);
  opacity: 0.034;
  transform: rotate(10deg);
  filter: grayscale(60%) contrast(0.95);
  mix-blend-mode: multiply;
  animation: ambientFloatB 22s ease-in-out infinite;
}

/* Football Watermark Motifs */
.ambient-motif--ball-top {
  top: 14%;
  left: 3%;
  width: clamp(150px, 15vw, 230px);
  opacity: 0.032;
  color: #0b6fb8;
  transform: rotate(18deg);
  animation: ambientFloatB 16s ease-in-out infinite;
}

.ambient-motif--ball-mid {
  top: 42%;
  right: 5%;
  width: clamp(170px, 16vw, 260px);
  opacity: 0.028;
  color: #0b6fb8;
  transform: rotate(-22deg);
  animation: ambientFloatA 20s ease-in-out infinite;
}

.ambient-motif--ball-center {
  top: 54%;
  left: 10%;
  width: clamp(120px, 12vw, 180px);
  opacity: 0.024;
  color: #0b6fb8;
  transform: rotate(12deg);
  animation: ambientFloatB 24s ease-in-out infinite;
}

.ambient-motif--ball-bottom {
  top: 82%;
  right: 4%;
  width: clamp(200px, 20vw, 300px);
  opacity: 0.030;
  color: #0b6fb8;
  transform: rotate(-15deg);
  animation: ambientFloatA 19s ease-in-out infinite;
}

@keyframes ambientFloatA {
  0%, 100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-10px) rotate(-6deg);
  }
}

@keyframes ambientFloatB {
  0%, 100% {
    transform: translateY(0) rotate(14deg);
  }
  50% {
    transform: translateY(10px) rotate(16deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-ambient-layer,
  .ambient-motif {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .ambient-motif--logo-top {
    right: -8%;
    width: 200px;
    opacity: 0.030;
  }
  .ambient-motif--logo-bottom {
    left: -8%;
    width: 220px;
    opacity: 0.028;
  }
  .ambient-motif--ball-top {
    left: -2%;
    width: 130px;
    opacity: 0.026;
  }
  .ambient-motif--ball-mid {
    right: -2%;
    width: 140px;
    opacity: 0.022;
  }
  .ambient-motif--ball-center {
    display: none;
  }
  .ambient-motif--ball-bottom {
    right: 0%;
    width: 160px;
    opacity: 0.024;
  }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); cursor: pointer; }
a:hover { color: var(--brand); }
button {
  cursor: pointer;
  font: inherit;
  font-family: inherit;
}

/* ─── Layout ─── */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(245, 247, 250, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

.site-header__end {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
  justify-self: end;
  min-height: 2.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  justify-self: start;
  min-height: 2.6rem;
}

.brand__logo {
  width: auto;
  height: 2.35rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  line-height: 1;
}

.nav {
  display: none;
  gap: 1.15rem;
  align-items: center;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav-cta {
  color: var(--brand) !important;
  font-weight: 600 !important;
}

.lang-switch--mirror {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.2rem;
}

.nav-live {
  font-weight: 600 !important;
  color: #c62828 !important;
}

.nav-live::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.4rem;
  border-radius: 50%;
  background: #e53935;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45);
  animation: live-pulse 1.6s ease-out infinite;
}

.nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: inherit;
  transition: background var(--transition), color var(--transition);
}

.nav-search:hover {
  background: rgba(15, 20, 17, 0.06);
  color: var(--ink);
}

.nav-search svg {
  display: block;
}

.nav-search--bar {
  display: inline-flex;
}

.nav-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  cursor: pointer;
}

.nav-toggle__icon {
  width: 1.25rem;
  height: 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(0.35rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-0.35rem) rotate(-45deg);
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45); }
  70% { box-shadow: 0 0 0 0.45rem rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

.mobile-nav {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.9rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background var(--transition);
}

.mobile-nav a:hover { background: var(--border-light); }

.mobile-nav .nav-live {
  color: #c62828 !important;
}

body.has-hero .mobile-nav,
body.is-home .mobile-nav {
  background: rgba(11, 18, 16, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.has-hero .mobile-nav a,
body.is-home .mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.has-hero .mobile-nav a:hover,
body.is-home .mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.has-hero .mobile-nav .nav-live,
body.is-home .mobile-nav .nav-live {
  color: #ff8a80 !important;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    justify-self: center;
  }
  .nav-toggle { display: none; }
  .nav-search--bar { display: none; }
  .mobile-nav { display: none !important; }
}

@media (max-width: 899px) {
  .nav { display: none; }
  .nav .nav-search { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-live::before,
  .nav-toggle__icon span {
    animation: none;
    transition: none;
  }
}

/* ─── Page Header ─── */
.page-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-header p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Section ─── */
.section {
  padding: 3rem 0 3.5rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: min(75vh, 36rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--inverse);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 8s ease-out;
}

.hero:hover img {
  transform: scale(1.03);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  padding: 3rem 0 3.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero__content h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__content p {
  margin: 1rem 0 0;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 1.25rem;
  align-items: center;
}

/* ─── Buttons / Links ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border-radius: 0.55rem;
  border: 0;
  background: var(--brand);
  color: #fff !important;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--brand-strong);
}

.btn--outline {
  background: transparent;
  color: var(--brand) !important;
  border: 1px solid var(--brand);
}

.btn--outline:hover {
  background: var(--brand-light);
}

.btn--light {
  background: #fff;
  color: var(--ink) !important;
}

.btn--light:hover {
  background: #f2f4f1;
}

.btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.text-link:hover {
  color: var(--brand);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.88);
}

.text-link--light:hover {
  color: #fff;
}

.link-quiet {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-quiet:hover { color: #fff; }

/* ─── Grid Cards ─── */
.grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ─── News Card ─── */
.news-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}

.news-card__media {
  aspect-ratio: 16 / 10;
  background: var(--inverse);
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.news-card__body h3 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ─── Meta ─── */
.meta {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ─── Roster ─── */
.roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

@media (min-width: 700px) {
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.player-card {
  display: block;
  transition: transform var(--transition);
}

.player-card:hover { transform: translateY(-4px); }

.player-card__photo {
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, #0d1210, #1a2520);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.player-card:hover .player-card__photo {
  box-shadow: var(--shadow-lg);
}

.player-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.player-card h3 {
  margin: 0.7rem 0 0.2rem;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ─── Toolbar ─── */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.toolbar form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: min(100%, 16rem);
}

/* ─── Form Elements ─── */
input[type="search"],
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--border);
  background: transparent;
  padding: 0.75rem 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--brand);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── List Row ─── */
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-inline-start var(--transition);
}

.list-row:hover {
  padding-inline-start: 0.5rem;
}

.list-row strong {
  font-family: var(--display);
  font-weight: 700;
}

/* ─── Team Tile ─── */
.team-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--inverse);
  color: #fff !important;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.team-tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.team-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

.team-tile:hover img { transform: scale(1.04); }

.team-tile span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .gallery-grid { gap: 1rem; }
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--inverse);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery-tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-tile:hover img { transform: scale(1.05); }

.gallery-tile span {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ─── Chips ─── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--brand-rgb), 0.2);
}

/* ─── Prose ─── */
.prose {
  max-width: 42rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.prose p { margin: 0; }
.prose p + p { margin-top: 1.25em; }

/* ─── Cover ─── */
.cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--inverse);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ─── Player Hero (Detail) ─── */
.player-hero {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .player-hero {
    grid-template-columns: minmax(0, 18rem) 1fr;
    align-items: end;
  }
}

/* ─── Story Block ─── */
.story {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .story {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.story__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--inverse);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 860px) {
  .story__media {
    aspect-ratio: 5 / 4;
    min-height: 20rem;
  }
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.story h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* ─── Table ─── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th, td {
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

th {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td.is-varesh {
  font-weight: 800;
  color: var(--brand);
}

/* ─── Scoreboard ─── */
.scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.scoreboard__score {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ─── Pagination ─── */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
}

.pagination a:hover {
  background: var(--border-light);
  color: var(--ink);
}

.pagination .is-active {
  background: var(--brand);
  color: #fff;
}

/* ─── Messages ─── */
.messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.messages li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.messages .success {
  background: var(--brand-light);
  color: var(--brand-strong);
}

.messages .error {
  background: #fef2f2;
  color: #b42318;
}

/* ─── Footer ─── */
.site-footer {
  margin-top: 4.5rem;
  padding: 0 0 2.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.site-footer > .site-footer__grid:first-child {
  padding-top: 3.25rem;
}

.site-footer a {
  color: var(--ink-soft);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--brand);
}

.site-footer__brand-block {
  max-width: 28rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.site-footer__logo {
  width: auto;
  height: 2.75rem;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer__tagline {
  margin: 0.85rem 0 0;
  line-height: 1.8;
  color: var(--muted);
}

.site-footer__meta {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
  }
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  align-content: flex-start;
}

.site-footer__nav a {
  font-weight: 600;
  font-size: 0.88rem;
}

.site-footer__copy {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
  font-size: 0.76rem;
  color: var(--muted);
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox__stage {
  position: relative;
  width: min(100%, 72rem);
  height: min(78svh, 48rem);
}

.lightbox__stage img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__close {
  top: 1rem;
  inset-inline-end: 1rem;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
}

.lightbox__nav--prev {
  inset-inline-start: 1rem;
}

.lightbox__nav--next {
  inset-inline-end: 1rem;
}

.lightbox__meta {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .lightbox__nav {
    top: auto;
    bottom: 3.25rem;
    transform: none;
  }
}

/* ─── Utilities ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.empty {
  color: var(--muted);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.9375rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ─── Section Title ─── */
.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ─── Hover Animations ─── */
@media (hover: hover) {
  .news-card, .gallery-tile, .team-tile, .player-card {
    will-change: transform;
  }
}

/* ─── Focus Visible ─── */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ─── Print ─── */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-nav { display: none; }
  body { background: #fff; }
}

/* ═══════════════════════════════════════════
   Home — Varesh blue (logo)
   Minimal photo-first · RTL · responsive
   ═══════════════════════════════════════════ */

body.has-hero .site-header,
body.is-home .site-header {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.has-hero .site-header__inner,
body.is-home .site-header__inner {
  gap: 1rem;
}

body.has-hero .site-header .brand,
body.is-home .site-header .brand {
  justify-self: start;
}

body.has-hero .site-header .nav,
body.is-home .site-header .nav {
  justify-self: center;
}

body.has-hero .site-header__end,
body.is-home .site-header__end {
  justify-self: end;
}

body.has-hero .site-header .brand,
body.has-hero .site-header .brand__text,
body.has-hero .site-header .nav a,
body.has-hero .site-header .nav-toggle,
body.has-hero .site-header .nav-cta,
body.has-hero .site-header .nav-search,
body.is-home .site-header .brand,
body.is-home .site-header .brand__text,
body.is-home .site-header .nav a,
body.is-home .site-header .nav-toggle,
body.is-home .site-header .nav-cta,
body.is-home .site-header .nav-search {
  color: rgba(255, 255, 255, 0.94) !important;
}

body.has-hero .home-kicker,
body.is-home .home-kicker {
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  body.has-hero .site-header .nav,
  body.is-home .site-header .nav {
    display: none;
  }
}

body.has-hero .site-header .nav a:hover,
body.has-hero .site-header .brand:hover,
body.has-hero .site-header .brand:hover .brand__text,
body.is-home .site-header .nav a:hover,
body.is-home .site-header .brand:hover,
body.is-home .site-header .brand:hover .brand__text {
  color: #fff !important;
}

body.has-hero .site-header.is-scrolled,
body.is-home .site-header.is-scrolled {
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--border);
}

body.has-hero .site-header.is-scrolled .brand,
body.has-hero .site-header.is-scrolled .brand__text,
body.has-hero .site-header.is-scrolled .nav a,
body.has-hero .site-header.is-scrolled .nav-toggle,
body.has-hero .site-header.is-scrolled .nav-search,
body.is-home .site-header.is-scrolled .brand,
body.is-home .site-header.is-scrolled .brand__text,
body.is-home .site-header.is-scrolled .nav a,
body.is-home .site-header.is-scrolled .nav-toggle,
body.is-home .site-header.is-scrolled .nav-search {
  color: var(--ink) !important;
}

body.has-hero .site-header.is-scrolled .nav a:hover,
body.has-hero .site-header.is-scrolled .brand:hover,
body.has-hero .site-header.is-scrolled .brand:hover .brand__text,
body.is-home .site-header.is-scrolled .nav a:hover,
body.is-home .site-header.is-scrolled .brand:hover,
body.is-home .site-header.is-scrolled .brand:hover .brand__text {
  color: var(--ink) !important;
}

body.has-hero .site-header.is-scrolled .nav-cta,
body.is-home .site-header.is-scrolled .nav-cta {
  color: var(--brand) !important;
}

body.has-hero .site-header .nav-live,
body.has-hero .site-header.is-scrolled .nav-live,
body.is-home .site-header .nav-live,
body.is-home .site-header.is-scrolled .nav-live {
  color: #ff5252 !important;
}

body.has-hero .site-header.is-scrolled .nav-live,
body.is-home .site-header.is-scrolled .nav-live {
  color: #c62828 !important;
}

body.has-hero .site-header .nav-search:hover,
body.is-home .site-header .nav-search:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.has-hero main,
body.is-home main {
  padding-top: 0;
}

/* Inner page hero (shared with home header style) */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(18rem, 48vw, 28rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--inverse);
  color: #fff;
}

.page-hero--compact {
  min-height: clamp(14rem, 36vw, 20rem);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.03);
  animation: home-zoom 12s ease-out forwards;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(11, 18, 32, 0.78) 0%,
      rgba(11, 18, 32, 0.48) 48%,
      rgba(11, 18, 32, 0.32) 100%
    ),
    linear-gradient(180deg, rgba(11, 18, 32, 0.28) 0%, transparent 40%, rgba(11, 18, 32, 0.62) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + clamp(1.25rem, 4vw, 2.5rem));
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

.page-hero__panel {
  max-width: 40rem;
}

.page-hero__panel .home-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
  color: rgba(231, 243, 236, 0.78);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.page-hero__panel h1 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 5.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.page-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 450;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
}

.page-hero__extra {
  margin-top: 1.25rem;
}

.page-hero__extra .news-search,
.page-hero__extra .teams-search,
.page-hero__extra .gallery-search,
.page-hero__extra .search-form,
.page-hero__extra form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 28rem;
}

.page-hero__extra input[type="search"] {
  flex: 1 1 12rem;
  min-height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  font: inherit;
}

.page-hero__extra input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero__extra .btn {
  background: #fff;
  color: var(--brand-strong);
  border: 0;
}

body.has-hero .mobile-nav {
  background: rgba(11, 18, 16, 0.96);
}

body.has-hero .mobile-nav a {
  color: rgba(255, 255, 255, 0.92);
}

body.has-hero .lang-switch {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

body.has-hero .lang-switch__btn {
  color: rgba(255, 255, 255, 0.82);
}

body.has-hero .lang-switch__btn.is-active {
  background: #fff;
  color: var(--brand-strong);
}

body.has-hero .site-header.is-scrolled .lang-switch {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
}

body.has-hero .site-header.is-scrolled .lang-switch__btn {
  color: var(--muted);
}

body.has-hero .site-header.is-scrolled .lang-switch__btn.is-active {
  background: var(--brand);
  color: #fff;
}

.home-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.home-kicker--dark {
  color: var(--brand);
}

.home-section {
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.home-section__head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.home-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
}

/* Match pulse */
.home-pulse__grid {
  display: grid;
  gap: 0.9rem;
}

.home-pulse__grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 36rem;
}

@media (min-width: 800px) {
  .home-pulse__grid:not(.home-pulse__grid--single) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-fixture {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-fixture:hover {
  border-color: rgba(var(--brand-rgb), 0.28);
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
}

@media (hover: hover) {
  .home-fixture:hover {
    transform: translateY(-2px);
  }
}

.home-fixture.is-live {
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.12);
}

.home-fixture--empty {
  justify-content: center;
  min-height: 8.5rem;
  color: var(--muted);
}

.home-fixture__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.home-fixture__tag {
  color: var(--brand-strong);
  font-weight: 700;
}

.home-fixture__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.home-fixture__teams > span:last-child {
  text-align: start;
}

.home-fixture__score {
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand);
}

.home-fixture__countdown {
  margin-top: 0.15rem;
  padding: 0.85rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(var(--brand-rgb), 0.06);
  border: 1px solid rgba(var(--brand-rgb), 0.1);
}

.home-fixture__countdown-label {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.home-fixture__countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  direction: ltr;
}

.home-fixture__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.home-fixture__countdown-unit strong {
  width: 100%;
  padding: 0.45rem 0.15rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-strong);
  text-align: center;
  direction: ltr;
}

.home-fixture__countdown-unit span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

.home-fixture__countdown[hidden] {
  display: none;
}

.home-fixture__foot {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Squad */
.home-squad__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8.5rem, 10rem);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.home-squad__track::-webkit-scrollbar {
  height: 4px;
}

.home-squad__track::-webkit-scrollbar-thumb {
  background: rgba(var(--brand-rgb), 0.25);
  border-radius: 999px;
}

.home-player {
  scroll-snap-align: start;
  color: inherit;
}

.home-player__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.9rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.home-player__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .home-player:hover .home-player__photo img {
    transform: scale(1.04);
  }
}

.home-player__num {
  position: absolute;
  inset-inline-start: 0.55rem;
  bottom: 0.55rem;
  min-width: 1.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(11, 18, 16, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.home-player__name {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.home-player__pos {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* News */
.home-news__layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .home-news__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.home-news__feature {
  display: grid;
  gap: 1rem;
  color: inherit;
}

@media (min-width: 640px) {
  .home-news__feature {
    grid-template-rows: auto 1fr;
  }
}

.home-news__feature-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--inverse);
}

.home-news__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .home-news__feature:hover .home-news__feature-media img {
    transform: scale(1.03);
  }
}

.home-news__feature-copy time,
.home-news__side-item time {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.home-news__feature-copy h3 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.home-news__feature-copy p {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.home-news__side {
  display: grid;
  gap: 0.85rem;
}

.home-news__side-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  color: inherit;
}

.home-news__side-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-news__side-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.7rem;
  background: var(--inverse);
}

.home-news__side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news__side-item h3 {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

/* Gallery */
.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .home-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

.home-gallery__item {
  color: inherit;
}

.home-gallery__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--inverse);
}

@media (min-width: 800px) {
  .home-gallery__item:first-child .home-gallery__media {
    aspect-ratio: 4 / 5;
  }
}

.home-gallery__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .home-gallery__item:hover .home-gallery__media img {
    transform: scale(1.04);
  }
}

.home-gallery__item > span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

/* Explore */
.home-explore {
  padding-top: 0.25rem;
}

.home-explore__grid {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 700px) {
  .home-explore__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
}

.home-explore__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 0.15rem;
  color: inherit;
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

@media (min-width: 700px) {
  .home-explore__item {
    padding: 1.4rem 1.15rem;
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
  }

  .home-explore__item:first-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

.home-explore__item:hover {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.035);
  padding-inline-start: 0.55rem;
}

.home-explore__label {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-explore__hint {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Hero */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--inverse);
  color: #fff;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.04);
  animation: home-zoom 11s ease-out forwards;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(11, 18, 32, 0.78) 0%,
      rgba(11, 18, 32, 0.52) 42%,
      rgba(11, 18, 32, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(11, 18, 32, 0.2) 0%, transparent 38%, rgba(11, 18, 32, 0.55) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 3rem));
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.35rem, 4.5vw, 3.75rem);
}

.home-hero__panel {
  max-width: 38rem;
}

.home-hero__brandmark {
  position: relative;
  justify-self: start;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(9.5rem, 24vw, 15rem);
  height: clamp(9.5rem, 24vw, 15rem);
  flex-shrink: 0;
}

.home-hero__brandmark::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08) 55%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.home-hero__brandmark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  pointer-events: none;
}

.home-hero__brandmark img {
  position: relative;
  z-index: 1;
  width: auto;
  height: clamp(5.6rem, 14vw, 9rem);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.4)) brightness(1.08) contrast(1.05);
  animation: home-mark-float 5.5s ease-in-out infinite;
}

@keyframes home-mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 760px) {
  .home-hero__layout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.2rem;
    align-items: start;
  }

  .home-hero__brandmark {
    width: clamp(6.5rem, 30vw, 8.25rem);
    height: clamp(6.5rem, 30vw, 8.25rem);
    margin-top: 0.15rem;
  }

  .home-hero__brandmark img {
    height: clamp(3.6rem, 17vw, 4.6rem);
  }
}

@media (max-width: 480px) {
  .home-hero__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .home-hero__brandmark {
    justify-self: start;
    width: 6.75rem;
    height: 6.75rem;
  }

  .home-hero__brandmark img {
    height: 3.75rem;
  }
}

.home-hero__panel .home-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: none;
  color: rgba(231, 243, 236, 0.78);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.home-hero__panel h1 {
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 7.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.28);
}

.home-hero__lead {
  margin: 1.05rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.7vw, 1.14rem);
  font-weight: 500;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.86);
  text-wrap: pretty;
}

.home-hero__cta {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-hero__cta .btn {
  min-height: 2.7rem;
  padding-inline: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 0.55rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .home-hero__cta .btn:hover {
    transform: translateY(-1px);
  }
}

@keyframes home-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__media img {
    animation: none;
    transform: none;
  }

  .home-hero__cta .btn:hover {
    transform: none;
  }

  .home-hero__brandmark img {
    animation: none;
  }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Ensure players and primary roster elements are always immediately visible with zero scroll delay */
.page-players [data-reveal],
.players-page [data-reveal],
.players-stats-strip,
.players-toolbar-wrapper,
.players-toolbar,
.squad-position-groups,
.squad-position-section,
.squad-grid,
.squad-card-item {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ═══════════════════════════════════════════
   Teams list — light editorial layout
   ═══════════════════════════════════════════ */

.teams-page {
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
}

.teams-duo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .teams-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.teams-duo__card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.teams-duo__card:hover {
  color: inherit;
  border-color: rgba(var(--brand-rgb), 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.teams-duo__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--inverse);
}

.teams-duo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.teams-duo__card:hover .teams-duo__media img {
  transform: scale(1.04);
}

.teams-duo__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem 1.45rem;
}

.teams-duo__season {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.teams-duo__copy h2 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.teams-duo__meta {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.teams-duo__copy .text-link {
  margin-top: 0.95rem;
}

.teams-head {
  display: grid;
  gap: 1.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 860px) {
  .teams-head {
    grid-template-columns: 1fr minmax(16rem, 22rem);
    align-items: end;
    gap: 2rem;
  }
}

.teams-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.teams-head__lead {
  margin: 0.65rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.teams-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.15rem 0 1.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.teams-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.teams-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}

.teams-search input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.teams-search .btn {
  min-height: 2.65rem;
  flex-shrink: 0;
}

.teams-feature {
  display: grid;
  gap: 1.15rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  color: inherit;
}

@media (min-width: 900px) {
  .teams-feature {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
  }
}

.teams-feature__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--inverse);
}

.teams-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .teams-feature:hover .teams-feature__media img {
    transform: scale(1.03);
  }
}

.teams-feature__copy .home-eyebrow {
  margin-bottom: 0.15rem;
}

.teams-feature__copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.teams-feature__en {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.teams-feature__stats {
  margin: 0.85rem 0 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.teams-grid-head {
  margin-bottom: 1.25rem;
}

.teams-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .teams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .teams-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.teams-tile {
  display: block;
  color: inherit;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.teams-tile:hover {
  border-color: rgba(var(--brand-rgb), 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .teams-tile:hover {
    transform: translateY(-2px);
  }
}

.teams-tile__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.teams-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .teams-tile:hover .teams-tile__media img {
    transform: scale(1.04);
  }
}

.teams-tile__body {
  padding: 1rem 1.05rem 1.15rem;
}

.teams-tile__type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.teams-tile__body h3 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.teams-tile__meta {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.teams-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.teams-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.teams-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .teams-duo__card,
  .teams-duo__media img,
  .teams-feature__media img,
  .teams-tile,
  .teams-tile__media img {
    transition: none;
  }

  .teams-duo__card:hover,
  .teams-tile:hover,
  .teams-feature:hover .teams-feature__media img,
  .teams-tile:hover .teams-tile__media img,
  .teams-duo__card:hover .teams-duo__media img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Team detail — light roster layout
   ═══════════════════════════════════════════ */

.squad-page {
  padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(3rem, 7vw, 5rem);
}

.squad-page__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.squad-page__back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.squad-page__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.squad-block + .squad-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.squad-block__head {
  margin-bottom: 1.25rem;
}

.squad-block__head h2 {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.squad-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .squad-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .squad-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.squad-grid--staff {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .squad-grid--staff {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .squad-grid--staff {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.squad-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.squad-card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.28);
  box-shadow: var(--shadow);
}

.squad-card__photo {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0d1a29;
}

.squad-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}

.squad-card:hover .squad-card__photo img {
  transform: scale(1.05);
}

.squad-card__num {
  position: absolute;
  inset-inline-start: 0.55rem;
  bottom: 0.55rem;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 3rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-strong);
  box-shadow: 0 6px 16px rgba(11, 18, 32, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.squad-card__jersey {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(11, 18, 32, 0.22));
}

.squad-card__num-text {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-strong);
}

.squad-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.85rem 1rem;
}

.squad-card__body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.squad-card__role {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.squad-card__cta {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}

/* Person profile (player / coach) */
.person-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}

.person-page__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 860px) {
  .person-page__layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

.person-page__media {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #dfe6ef;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.person-page__zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.person-page__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.person-page__zoom-hint {
  position: absolute;
  inset-inline-end: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.person-page__content {
  padding-block: 0.25rem;
}

.person-page__back {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.person-page__name {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.person-page__number {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand);
}

.person-page__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 1.35rem 0 0;
  max-width: 28rem;
}

.person-page__facts dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.person-page__facts dd {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.person-page__facts a {
  color: var(--brand);
}

.person-page__bio {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  max-width: 36rem;
}

.person-page__bio--empty {
  color: var(--muted);
  font-size: 0.95rem;
}

.person-page__bio .prose {
  margin-top: 0.65rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.team-detail {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.team-detail__head {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.team-detail__back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.team-detail__back:hover {
  color: var(--brand-strong);
}

.team-detail__head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.team-detail__en {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.team-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.team-detail__section + .team-detail__section {
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .team-roster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
  }
}

@media (min-width: 1000px) {
  .team-roster {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.team-roster--staff {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
  .team-roster--staff {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .team-roster--staff {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.team-person {
  display: block;
  color: inherit;
}

.team-person__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.9rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.team-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  a.team-person:hover .team-person__photo img {
    transform: scale(1.04);
  }
}

.team-person__num {
  position: absolute;
  inset-inline-start: 0.55rem;
  bottom: 0.55rem;
  min-width: 1.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(11, 18, 16, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.team-person__role {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.team-person h3 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.team-person__role + h3 {
  margin-top: 0.25rem;
}

.team-person__photo + h3 {
  margin-top: 0.65rem;
}

.team-person__pos {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .team-person__photo img {
    transition: none;
  }

  a.team-person:hover .team-person__photo img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Matches list — light editorial fixtures
   ═══════════════════════════════════════════ */

.matches-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.matches-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.matches-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.matches-head__lead {
  margin: 0.65rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.matches-head__count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.matches-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.35rem 0 1.75rem;
}

.matches-filters__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.matches-filters__item:hover {
  color: var(--ink);
  border-color: rgba(var(--brand-rgb), 0.28);
}

.matches-filters__item.is-active {
  color: var(--brand-strong);
  border-color: rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.08);
}

.matches-board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .matches-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.match-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem 1.15rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.match-card:hover,
.match-card:focus-visible {
  border-color: rgba(var(--brand-rgb), 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .match-card:hover {
    transform: translateY(-2px);
  }
}

.match-card.is-live {
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.1);
}

.match-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.match-card__status {
  font-weight: 700;
  color: var(--muted);
}

.match-card__status--live {
  color: var(--brand);
}

.match-card__status--finished {
  color: var(--ink-soft);
}

.match-card__status--scheduled {
  color: var(--brand-strong);
}

.match-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
}

.match-card__team {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.match-card__teams > .match-card__team:last-child {
  text-align: start;
}

.match-card__score {
  min-width: 4.75rem;
  text-align: center;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.match-card.is-live .match-card__score {
  color: var(--brand-strong);
}

.match-card__foot {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.matches-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.matches-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.matches-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .match-card {
    transition: none;
  }

  .match-card:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Match detail — light editorial
   ═══════════════════════════════════════════ */

.match-detail {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.match-detail__head {
  padding-bottom: 1.75rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.match-detail__head.is-live {
  box-shadow: inset 0 -2px 0 var(--brand);
}

.match-detail__back {
  display: inline-flex;
  margin-bottom: 1.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.match-detail__back:hover {
  color: var(--brand-strong);
}

.match-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.match-detail__status {
  font-weight: 700;
}

.match-detail__status--live {
  color: var(--brand);
}

.match-detail__status--finished {
  color: var(--ink-soft);
}

.match-detail__status--scheduled {
  color: var(--brand-strong);
}

.match-detail__board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem 1rem;
  align-items: center;
}

.match-detail__team {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.match-detail__board > .match-detail__team:last-child {
  text-align: start;
}

.match-detail__score {
  min-width: 5.5rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.match-detail__place {
  margin: 1.15rem 0 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.match-detail__section + .match-detail__section {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.match-facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

@media (min-width: 700px) {
  .match-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.match-facts > div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

.match-facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.match-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.45;
}

.match-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.match-events__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

.match-events__min {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.match-events__item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.match-events__item p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.match-report {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.9;
}

.match-report p {
  margin: 0 0 0.9rem;
}

.match-detail__empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.match-goals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.match-goals__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.55);
}

.match-goals__item.is-home {
  border-inline-start: 3px solid var(--brand);
}

.match-goals__item.is-away {
  border-inline-start: 3px solid rgba(27, 47, 138, 0.45);
}

.match-goals__min {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.match-goals__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.match-goals__item a {
  color: inherit;
}

.match-goals__item a:hover {
  color: var(--brand);
}

.match-goals__item p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.match-goals__team {
  font-weight: 600;
}

.match-lineups {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .match-lineups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.match-lineup {
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(232, 242, 250, 0.45));
}

.match-lineup__head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.match-lineup__head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-lineup__head p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.match-lineup h4 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  text-transform: uppercase;
}

.match-lineup h4 + .match-lineup__list {
  margin-bottom: 1rem;
}

.match-lineup__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.match-lineup__list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.9rem;
  line-height: 1.45;
}

.match-lineup__num {
  font-family: var(--display);
  font-weight: 800;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.match-lineup__list a {
  color: inherit;
  font-weight: 700;
}

.match-lineup__list a:hover {
  color: var(--brand);
}

.match-lineup__list small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.match-lineup__list--bench li {
  opacity: 0.92;
}

.match-videos {
  display: grid;
  gap: 1.25rem;
}

.match-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #0b1624;
  border: 1px solid rgba(16, 20, 17, 0.08);
}

.match-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.match-video__poster {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
}

.match-video__poster img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.match-video__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.match-video__meta h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-albums {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .match-albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.match-album {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  text-decoration: none;
}

.match-album img {
  width: 5.5rem;
  height: 4.1rem;
  object-fit: cover;
  border-radius: 0.7rem;
}

.match-album strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.match-album small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.match-album:hover {
  border-color: rgba(11, 111, 184, 0.28);
}

.match-photo-grid {
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════
   News list — light editorial feed
   ═══════════════════════════════════════════ */

.news-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}

.news-page > .container > .news-search,
.teams-page > .container > .teams-search,
.gallery-page > .container > .gallery-search,
.search-page > .container > .search-form,
.page-players .toolbar {
  margin-bottom: 1.25rem;
}

.news-head {
  display: grid;
  gap: 1.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 860px) {
  .news-head {
    grid-template-columns: 1fr minmax(16rem, 22rem);
    align-items: end;
    gap: 2rem;
  }
}

.news-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.news-head__lead {
  margin: 0.65rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.news-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.15rem 0 1.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.news-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}

.news-search input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.news-search .btn {
  min-height: 2.65rem;
  flex-shrink: 0;
}

.news-feature {
  display: grid;
  gap: 1.15rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  color: inherit;
}

@media (min-width: 900px) {
  .news-feature {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
  }
}

.news-feature__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--inverse);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .news-feature:hover .news-feature__media img {
    transform: scale(1.03);
  }
}

.news-feature__copy .home-eyebrow {
  margin-bottom: 0.2rem;
}

.news-feature__copy time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.news-feature__copy h2 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.news-feature__copy p {
  margin: 0.75rem 0 1rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.news-grid-head {
  margin-bottom: 1.25rem;
}

.news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.news-tile {
  display: block;
  height: 100%;
  color: inherit;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.news-tile:hover {
  border-color: rgba(var(--brand-rgb), 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .news-tile:hover {
    transform: translateY(-2px);
  }
}

.news-tile__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.news-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .news-tile:hover .news-tile__media img {
    transform: scale(1.04);
  }
}

.news-tile__body {
  padding: 1rem 1.05rem 1.15rem;
}

.news-tile__body time {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.news-tile__body h3 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.news-tile__body p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.news-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.news-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.news-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.news-page:has(.news-soon) {
  min-height: clamp(22rem, 48vw, 30rem);
  display: grid;
  align-items: center;
}

.news-soon {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 34rem;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-soon__orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(22rem, 78vw);
  height: min(22rem, 78vw);
  transform: translate(-50%, -52%);
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(11, 111, 184, 0.12), transparent 62%),
    radial-gradient(circle at 50% 55%, rgba(27, 47, 138, 0.06), transparent 70%);
  pointer-events: none;
}

.news-soon__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.news-soon__title {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
}

.news-soon__line {
  width: 2.75rem;
  height: 1px;
  margin: 1.35rem 0 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.7;
}

.news-soon__text {
  margin: 1.1rem 0 0;
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.news-soon .btn {
  margin-top: 1.5rem;
}

.news-soon--home {
  padding-block: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1.15rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(232, 242, 250, 0.42));
}

@media (prefers-reduced-motion: reduce) {
  .news-feature__media img,
  .news-tile,
  .news-tile__media img {
    transition: none;
  }

  .news-tile:hover,
  .news-feature:hover .news-feature__media img,
  .news-tile:hover .news-tile__media img {
    transform: none;
  }
}

/* News detail — light editorial */
.news-detail {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.news-detail__head {
  max-width: 42rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.news-detail__back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.news-detail__back:hover {
  color: var(--brand-strong);
}

.news-detail__head time {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-detail__head h1 {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}

.news-detail__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.85;
}

.news-detail__meta {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.news-detail__cover {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.news-detail__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
}

.news-detail__body {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 1.3vw, 1.05rem);
  line-height: 1.95;
}

.news-detail__body p {
  margin: 0;
}

.news-detail__body p + p {
  margin-top: 1.25em;
}

.news-detail__related {
  margin-top: clamp(2.75rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.news-detail__related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .news-detail__related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

/* ═══════════════════════════════════════════
   Gallery list — light editorial
   ═══════════════════════════════════════════ */

.gallery-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.gallery-head {
  display: grid;
  gap: 1.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 860px) {
  .gallery-head {
    grid-template-columns: 1fr minmax(16rem, 22rem);
    align-items: end;
    gap: 2rem;
  }
}

.gallery-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.gallery-head__lead {
  margin: 0.65rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.gallery-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.gallery-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.gallery-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}

.gallery-search input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.gallery-search .btn {
  min-height: 2.65rem;
  flex-shrink: 0;
}

.gallery-controls {
  display: grid;
  gap: 0.9rem;
  margin: 1.35rem 0 1rem;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gallery-tabs__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gallery-tabs__item:hover {
  color: var(--ink);
  border-color: rgba(var(--brand-rgb), 0.28);
}

.gallery-tabs__item.is-active {
  color: var(--brand-strong);
  border-color: rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.08);
}

.gallery-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gallery-cats__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.gallery-cats__item:hover {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.06);
}

.gallery-cats__item.is-active {
  color: var(--brand-strong);
  background: rgba(var(--brand-rgb), 0.1);
}

.gallery-board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .gallery-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .gallery-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-card {
  display: block;
  color: inherit;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gallery-card:hover {
  border-color: rgba(var(--brand-rgb), 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

@media (hover: hover) {
  .gallery-card:hover {
    transform: translateY(-2px);
  }
}

.gallery-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .gallery-card:hover .gallery-card__media img {
    transform: scale(1.04);
  }
}

.gallery-card__badge {
  position: absolute;
  inset-inline-start: 0.55rem;
  top: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(11, 18, 16, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.gallery-card__body {
  padding: 0.85rem 0.95rem 1rem;
}

.gallery-card__body h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.gallery-card__desc {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

.gallery-card__body span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.gallery-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  max-width: 24rem;
  margin-inline: auto;
}

.gallery-empty h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.gallery-empty p {
  margin: 0.65rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card,
  .gallery-card__media img {
    transition: none;
  }

  .gallery-card:hover,
  .gallery-card:hover .gallery-card__media img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   Gallery album detail
   ═══════════════════════════════════════════ */

.album-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.album-head {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.album-head__back {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.album-head__back:hover {
  color: var(--brand-strong);
}

.album-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.album-head__lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.album-head__cat {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.album-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.album-intro {
  margin: 0 0 clamp(1.25rem, 3vw, 1.85rem);
  max-width: 44rem;
}

.album-intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  line-height: 1.9;
}

.album-cover {
  position: relative;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
}

.album-cover__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  margin: 0;
  padding: 1.35rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(11, 18, 32, 0.7));
  color: #fff;
  font-family: var(--font);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.album-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 30%;
}

.album-grid-head {
  margin-bottom: 1.25rem;
}

.album-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .album-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.album-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-family: var(--font);
  color: inherit;
  text-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.album-shot:hover {
  border-color: rgba(var(--brand-rgb), 0.28);
}

@media (hover: hover) {
  .album-shot:hover {
    transform: translateY(-2px);
  }
}

.album-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .album-shot:hover img {
    transform: scale(1.04);
  }
}

.album-shot__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 1.1rem 0.75rem 0.7rem;
  background: linear-gradient(transparent, rgba(11, 18, 32, 0.78));
  color: #fff;
  font-family: var(--font);
  font-size: clamp(0.72rem, 2.4vw, 0.8rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-align: start;
}

@media (max-width: 640px) {
  .album-cover img {
    aspect-ratio: 4 / 3;
  }

  .album-cover__caption {
    padding: 1rem 0.8rem 0.75rem;
  }

  .album-shot__caption {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .lightbox__meta {
    inset-inline: 0.75rem;
    bottom: 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.65rem;
    background: rgba(11, 18, 32, 0.55);
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .album-shot,
  .album-shot img {
    transition: none;
  }

  .album-shot:hover,
  .album-shot:hover img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   About — light editorial story
   ═══════════════════════════════════════════ */

.about-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.about-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.about-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.about-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.about-block + .about-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.about-block__grid {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.75rem;
  }

  .about-block__grid--flip .about-block__copy {
    order: 2;
  }

  .about-block__grid--flip .about-block__media {
    order: 1;
  }
}

.about-block__copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.about-block__copy p {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-block__copy .text-link {
  display: inline-block;
  margin-top: 1.15rem;
}

.about-block__media {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
  aspect-ratio: 5 / 4;
}

.about-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .about-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .about-principles--vision {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .about-principles--vision {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-principles > li {
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
}

.about-principles__num {
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.about-principles h3 {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.about-principles p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.about-block__intro {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.about-closing {
  margin-top: 1.25rem !important;
  color: var(--ink) !important;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
}

.about-leadership__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .about-leadership__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.15rem;
  }
}

.about-person {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(236, 242, 238, 0.9));
}

.about-person__role {
  margin: 0;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-person__name {
  margin: 0.45rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.about-person__name--pending {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.about-person p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.about-board {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.about-board > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.about-board > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-board__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
}

.about-board__role {
  color: var(--muted);
  font-size: 0.86rem;
}

.about-contact {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.about-contact__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.about-contact h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.about-contact p {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.about-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ═══════════════════════════════════════════
   Search — light editorial discovery
   ═══════════════════════════════════════════ */

.search-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.search-head {
  max-width: 36rem;
  padding-bottom: 1.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.search-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.search-head__lead {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.search-form {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.search-form .btn {
  min-height: 2.85rem;
  flex-shrink: 0;
}

.search-summary {
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
}

.search-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0.15rem 1.15rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  color: inherit;
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

.search-card:hover,
.search-card:focus-visible {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.03);
  padding-inline-start: 0.55rem;
}

.search-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.search-card__title {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.search-card__snippet {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.search-card .text-link {
  margin-top: 0.2rem;
  font-size: 0.82rem;
}

.search-empty,
.search-start {
  max-width: 44rem;
}

.search-empty h2,
.search-start .home-section__head h2 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.search-empty p,
.search-start__lead {
  margin: 0.75rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.search-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
}

.search-shortcuts a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.search-shortcuts a:hover,
.search-shortcuts a:focus-visible {
  border-bottom-color: rgba(var(--brand-rgb), 0.45);
}

.search-explore {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 700px) {
  .search-explore {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.search-explore__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 0.15rem;
  color: inherit;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

@media (min-width: 700px) {
  .search-explore__item {
    padding: 1.4rem 1.15rem;
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
    border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  }

  .search-explore__item:nth-child(3n + 1) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

.search-explore__item:hover,
.search-explore__item:focus-visible {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.035);
  padding-inline-start: 0.55rem;
}

.search-explore__label {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.search-explore__hint {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .search-card,
  .search-explore__item,
  .search-form input[type="search"] {
    transition: none;
  }
}

/* ═══════════════════════════════════════════
   Contact — light editorial form
   ═══════════════════════════════════════════ */

.contact-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.contact-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.contact-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.contact-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
}

.contact-info h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.contact-facts {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-facts div {
  margin: 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.contact-facts dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.contact-facts dd {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.contact-facts__stack {
  display: grid;
  gap: 0.4rem;
}

.contact-facts a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-facts a:hover,
.contact-facts a:focus-visible {
  color: var(--brand);
  border-bottom-color: rgba(var(--brand-rgb), 0.4);
}

.contact-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-shortcuts a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: border-color 0.2s ease;
}

.contact-shortcuts a:hover,
.contact-shortcuts a:focus-visible {
  border-bottom-color: rgba(var(--brand-rgb), 0.45);
}

.contact-form-wrap .home-section__head {
  margin-bottom: 1.35rem;
}

.contact-form {
  max-width: 34rem;
}

.contact-form__row {
  display: grid;
  gap: 0;
}

@media (min-width: 560px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }
}

.contact-form .field {
  margin-bottom: 1.35rem;
}

.contact-form .field label {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  border: 0;
  border-bottom: 1.5px solid rgba(16, 20, 17, 0.12);
  background: transparent;
  padding: 0.8rem 0;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--brand);
  box-shadow: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.7;
}

.contact-form .btn {
  margin-top: 0.35rem;
  min-height: 2.75rem;
}

/* ═══════════════════════════════════════════
   Academy — light editorial pathway
   ═══════════════════════════════════════════ */

.academy-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.academy-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.academy-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.academy-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.academy-block + .academy-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.academy-block__grid {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}

@media (min-width: 900px) {
  .academy-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.75rem;
  }

  .academy-block__grid--flip .academy-block__copy {
    order: 2;
  }

  .academy-block__grid--flip .academy-block__media {
    order: 1;
  }
}

.academy-block__copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.academy-block__copy p {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.academy-block__copy .text-link {
  display: inline-block;
  margin-top: 1.15rem;
}

.academy-block__media {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(160deg, #dfe8e2, #c5d4cb);
  aspect-ratio: 5 / 4;
}

.academy-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.academy-levels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.academy-levels > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.25rem 0.1rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 800px) {
  .academy-levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .academy-levels > li {
    padding: 1.4rem 1.15rem;
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
    border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  }

  .academy-levels > li:first-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

.academy-levels__num {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  line-height: 1.6;
}

.academy-levels h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.academy-levels p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.academy-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.academy-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.academy-cta h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.academy-cta p {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.academy-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ═══════════════════════════════════════════
   Sponsors — light editorial partners
   ═══════════════════════════════════════════ */

.sponsors-page {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(3rem, 7vw, 5rem);
}

.sponsors-head {
  padding-bottom: 1.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

.sponsors-head h1 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.sponsors-head__lead {
  margin: 0.65rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.sponsors-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 600px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sponsors-item {
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
}

@media (min-width: 600px) {
  .sponsors-item {
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
  }

  .sponsors-item:nth-child(2n + 1) {
    border-inline-start: 0;
  }
}

@media (min-width: 900px) {
  .sponsors-item:nth-child(2n + 1) {
    border-inline-start: 1px solid rgba(16, 20, 17, 0.08);
  }

  .sponsors-item:nth-child(3n + 1) {
    border-inline-start: 0;
  }
}

.sponsors-item__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.4rem 0.15rem 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, padding-inline-start 0.2s ease;
}

@media (min-width: 600px) {
  .sponsors-item__link {
    padding: 1.5rem 1.2rem;
  }

  .sponsors-item:nth-child(2n + 1) .sponsors-item__link {
    padding-inline-start: 0;
  }
}

@media (min-width: 900px) {
  .sponsors-item:nth-child(2n + 1) .sponsors-item__link {
    padding-inline-start: 1.2rem;
  }

  .sponsors-item:nth-child(3n + 1) .sponsors-item__link {
    padding-inline-start: 0;
  }
}

a.sponsors-item__link:hover,
a.sponsors-item__link:focus-visible {
  color: inherit;
  background: rgba(var(--brand-rgb), 0.03);
  padding-inline-start: 0.55rem;
}

.sponsors-item__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.25rem;
  margin-bottom: 0.25rem;
}

.sponsors-item__logo img {
  max-width: 9rem;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

a.sponsors-item__link:hover .sponsors-item__logo img,
a.sponsors-item__link:focus-visible .sponsors-item__logo img {
  filter: none;
  opacity: 1;
}

.sponsors-item__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: rgba(var(--brand-rgb), 0.08);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
}

.sponsors-item__name {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.sponsors-item__tier {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.sponsors-empty {
  max-width: 28rem;
  padding: 0.5rem 0 1rem;
}

.sponsors-empty h2 {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sponsors-empty p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* Empty sponsors — chic centered soon state */
.sponsors-page:has(.sponsors-soon) {
  min-height: clamp(22rem, 48vw, 30rem);
  display: grid;
  align-items: center;
}

.sponsors-soon {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 34rem;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sponsors-soon__orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(22rem, 78vw);
  height: min(22rem, 78vw);
  transform: translate(-50%, -52%);
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--brand-rgb), 0.12), transparent 62%),
    radial-gradient(circle at 50% 55%, rgba(27, 47, 138, 0.06), transparent 70%);
  pointer-events: none;
}

.sponsors-soon__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.sponsors-soon__title {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.sponsors-soon__line {
  width: 2.75rem;
  height: 1px;
  margin: 1.35rem 0 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.7;
}

.sponsors-soon__text {
  margin: 1.1rem 0 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

/* Live page — updating placeholder */
.live-page {
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  min-height: clamp(22rem, 48vw, 30rem);
  display: grid;
  align-items: center;
}

.live-updating {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 36rem;
  padding: clamp(2.25rem, 6vw, 4rem) 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-updating__orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(22rem, 78vw);
  height: min(22rem, 78vw);
  transform: translate(-50%, -52%);
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(11, 111, 184, 0.14), transparent 62%),
    radial-gradient(circle at 50% 55%, rgba(27, 47, 138, 0.07), transparent 70%);
  pointer-events: none;
  animation: live-orb-pulse 4.5s ease-in-out infinite;
}

@keyframes live-orb-pulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -52%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -52%) scale(1.04); }
}

.live-updating__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.live-updating__title {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
}

.live-updating__line {
  width: 2.75rem;
  height: 1px;
  margin: 1.35rem 0 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.7;
}

.live-updating__text {
  margin: 1.1rem 0 0;
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.live-updating__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@supports not selector(:has(*)) {
  .sponsors-page {
    min-height: auto;
  }
}

.sponsors-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
}

.sponsors-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.sponsors-cta h2 {
  margin: 0.3rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.sponsors-cta p {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.sponsors-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
  .sponsors-item__link,
  .sponsors-item__logo img {
    transition: none;
  }
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}
.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
}
.lang-switch__btn.is-active {
  background: var(--brand);
  color: #fff;
}
.lang-switch--mobile {
  margin-top: 0.75rem;
  width: fit-content;
}
.lang-switch--bar {
  display: none;
}
.lang-switch--mirror {
  flex-shrink: 0;
}
body.is-home .site-header .lang-switch,
body.has-hero .site-header .lang-switch {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}
body.is-home .site-header .lang-switch__btn,
body.has-hero .site-header .lang-switch__btn {
  color: rgba(255, 255, 255, 0.82);
}
body.is-home .site-header .lang-switch__btn.is-active,
body.has-hero .site-header .lang-switch__btn.is-active {
  background: #fff;
  color: var(--brand-strong);
}
body.is-home .site-header.is-scrolled .lang-switch,
body.has-hero .site-header.is-scrolled .lang-switch {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
}
body.is-home .site-header.is-scrolled .lang-switch__btn,
body.has-hero .site-header.is-scrolled .lang-switch__btn {
  color: var(--muted);
}
body.is-home .site-header.is-scrolled .lang-switch__btn.is-active,
body.has-hero .site-header.is-scrolled .lang-switch__btn.is-active {
  background: var(--brand);
  color: #fff;
}
@media (max-width: 899px) {
  .nav .lang-switch {
    display: none;
  }
}



/* ═══════════════════════════════════════════════════════════════════
   CLUB LICENSING ENHANCEMENTS (AWCL M.03 - B)
   Bilingual, Governing Bodies, Permanent Sponsors, Social,
   Stadium Map, Fan Hub, FAQ, Ticketing, Honors, Timeline, CSR, Live
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Footer Permanent Sponsors Ribbon (Requirement 2-ذ) ─── */
.site-footer__sponsors {
  background: rgba(2, 132, 199, 0.03);
  border-bottom: 1px solid rgba(16, 20, 17, 0.06);
  padding: 0.95rem 0;
}
.footer-sponsors-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-sponsors-strip__badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-strong);
  background: var(--brand-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}
.footer-sponsors-strip__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.footer-sponsor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.82rem;
  text-decoration: none;
  transition: all var(--transition);
}
.footer-sponsor-pill:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.footer-sponsor-pill__name {
  font-weight: 600;
}
.footer-sponsor-pill__tier {
  font-size: 0.72rem;
  color: var(--muted);
  border-right: 1px solid var(--border);
  padding-right: 0.5rem;
}
[dir="ltr"] .footer-sponsor-pill__tier {
  border-right: none;
  border-left: 1px solid var(--border);
  padding-right: 0;
  padding-left: 0.5rem;
}
.footer-sponsor-pill--join {
  background: transparent;
  border-style: dashed;
  color: var(--brand);
}
.footer-sponsor-pill--join:hover {
  background: var(--brand);
  color: #fff;
}

/* ─── Footer Governing Bodies Strip (Requirement 2-ر) ─── */
.site-footer__governing {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  padding: 1.25rem 0;
  margin-bottom: 3.5rem; /* Generous breathing room so it never sticks to the footer content */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.footer-governing-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.footer-governing-strip__title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
}
.footer-governing-strip__title svg {
  color: #0284c7;
  flex-shrink: 0;
}
.footer-governing-strip__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.governing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  border: 1px solid rgba(16, 20, 17, 0.12);
  border-radius: 9999px;
  color: var(--ink, #0f172a);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.governing-badge:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.governing-badge__acronym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}
.governing-badge:hover .governing-badge__acronym {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.governing-badge__name {
  font-weight: 600;
}
.governing-badge svg {
  color: var(--muted, #94a3b8);
  transition: color 0.2s ease, transform 0.2s ease;
}
.governing-badge:hover svg {
  color: #ffffff;
  transform: translateX(-2px);
}

/* ─── Footer Social Channels (Requirement 1) ─── */
.site-footer__social {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}
.site-footer__social-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.social-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  text-decoration: none;
  transition: all var(--transition);
}
.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.social-icon--instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #fff;
}
.social-icon--telegram:hover {
  background: #229ed9;
  border-color: transparent;
  color: #fff;
}
.social-icon--twitter:hover {
  background: #000;
  border-color: transparent;
  color: #fff;
}
.social-icon--aparat:hover {
  background: #ea1d5d;
  border-color: transparent;
  color: #fff;
}
.social-icon--bale:hover {
  background: #00a859;
  border-color: transparent;
  color: #fff;
}
.social-icon__tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.social-icon:hover .social-icon__tooltip {
  opacity: 1;
  visibility: visible;
}

/* ─── Footer Navigation & Copy Enhancements ─── */
.site-footer__brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.site-footer__contact-info {
  margin-top: 0.75rem;
}
.site-footer__contact-info .site-footer__meta {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.site-footer__meta--contacts a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.site-footer__meta--contacts a:hover {
  text-decoration: underline;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 1.5rem;
}
.site-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.site-footer__nav-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.site-footer__nav-col a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer__nav-col a:hover {
  color: var(--brand);
}
.footer-copy-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy-licensing {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── Fan Hub Page (`/fans/`) (Requirements 2-ت, 2-ث, 5) ─── */
.fans-page {
  padding: 3rem 0 5rem;
}
.fans-nav-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
}
.fans-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.fans-nav-pill:hover,
.fans-nav-pill.is-active {
  background: var(--brand-light);
  color: var(--brand-strong);
  font-weight: 600;
}
.fans-nav-pill--tickets {
  margin-right: auto;
  background: var(--brand-strong);
  color: #fff;
}
[dir="ltr"] .fans-nav-pill--tickets {
  margin-right: 0;
  margin-left: auto;
}
.fans-nav-pill--tickets:hover {
  background: var(--brand);
  color: #fff;
}
.fans-section {
  margin-bottom: 4.5rem;
}

/* ─── FAQ Accordion (Requirement 2-ت) ─── */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover,
.faq-item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.faq-item__trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item__trigger::-webkit-details-marker {
  display: none;
}
.faq-item__tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--brand-light);
  color: var(--brand-strong);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.faq-item__q {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform var(--transition);
}
.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  color: var(--brand);
}
.faq-item__body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ─── Fan Poll Interactive Box (Requirement 2-ت & 5) ─── */
.fans-poll-box {
  background: linear-gradient(135deg, #101c4d 0%, #1b2f8a 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.fans-poll-box__header .home-kicker {
  color: var(--brand-accent);
}
.fans-poll-box__header h2 {
  font-size: 1.65rem;
  margin: 0.4rem 0 0.8rem;
  color: #fff;
}
.fans-poll-box__header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.fans-poll-box__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #ffd166;
  background: rgba(255, 209, 102, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}
.poll-candidates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.poll-candidate-card {
  position: relative;
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.15rem;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}
.poll-candidate-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}
.poll-candidate-card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.poll-candidate-card:has(.poll-candidate-card__input:checked) {
  border-color: #2aa9e0;
  background: rgba(42, 169, 224, 0.18);
  box-shadow: 0 0 0 2px #2aa9e0;
}
.poll-candidate-card__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.poll-candidate-card__name {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.poll-candidate-card__role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}
.poll-candidate-card__pct {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2aa9e0;
}
.poll-candidate-card__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}
.poll-candidate-card__progress {
  height: 100%;
  background: linear-gradient(90deg, #2aa9e0, #00d2ff);
  border-radius: 3px;
  transition: width 0.6s ease;
}
.fans-poll-box__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.fans-poll-box__feedback {
  color: #a8f0cb;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ─── Merch / Club Store Grid (Requirement 2-ث & 5) ─── */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.merch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.merch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.merch-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg);
  overflow: hidden;
}
.merch-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.merch-card:hover .merch-card__media img {
  transform: scale(1.05);
}
.merch-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--brand-strong);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}
[dir="ltr"] .merch-card__badge {
  right: auto;
  left: 0.75rem;
}
.merch-card__body {
  padding: 1.25rem;
}
.merch-card__title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.merch-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.merch-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.merch-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-strong);
}

/* ─── Fan Contests Grid (Requirement 2-ت & 5) ─── */
.contests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.contest-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition);
}
.contest-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.contest-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.contest-card__trophy {
  font-size: 1.85rem;
}
.contest-card__head h3 {
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
  color: var(--ink);
}
.contest-card__deadline {
  font-size: 0.78rem;
  color: #d97706;
  font-weight: 600;
}
.contest-card__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
.contest-card__prize {
  background: var(--brand-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--brand-strong);
}

/* ─── Fan Club Card Banner (Requirement 5) ─── */
.fan-club-banner {
  background: linear-gradient(135deg, #0b1220 0%, #152568 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}
.fan-club-banner__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 2.5rem;
}
.fan-club-banner__copy h2 {
  font-size: 1.75rem;
  margin: 0.5rem 0 1rem;
  color: #fff;
}
.fan-club-banner__copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.fan-club-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fan-club-benefits li {
  font-size: 0.9rem;
  color: #2aa9e0;
}
.fan-card-mockup {
  background: linear-gradient(135deg, #1b2f8a 0%, #0b6fb8 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  aspect-ratio: 1.586;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.fan-card-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}
.fan-card-mockup__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fan-card-mockup__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.fan-card-mockup__chip {
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, #e5b955, #ffd97d);
  border-radius: 6px;
}
.fan-card-mockup__num {
  font-family: monospace;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  direction: ltr;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}
.fan-card-mockup__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.fan-card-mockup__bottom small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}
.fan-card-mockup__bottom span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ─── Match Ticketing Page (`/tickets/`) (Requirement 2-ج) ─── */
.tickets-page {
  padding: 3rem 0 5rem;
}
.tickets-hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 3.5rem;
}
.tickets-hero-card__badge {
  background: var(--brand-strong);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.tickets-hero-card__fixture {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.tickets-hero-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.tickets-hero-card__team h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--ink);
}
.tickets-hero-card__team span {
  font-size: 0.8rem;
  color: var(--muted);
}
.tickets-hero-card__rival-badge {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--muted);
}
.tickets-hero-card__vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.tickets-hero-card__vs-badge {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand);
}
.tickets-hero-card__league {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.tickets-hero-card__time {
  font-size: 0.8rem;
  color: var(--muted);
}
.tickets-hero-card__meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.tag-free {
  color: #059669;
  font-weight: 700;
  background: #d1fae5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.tickets-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}
.tickets-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.tickets-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tickets-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tickets-form__note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.tickets-rules-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tickets-rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.tickets-rules-list__icon {
  font-size: 1.5rem;
}
.tickets-rules-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.tickets-rules-list p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.tickets-map-cta {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.tickets-map-cta h4 {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.tickets-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Match Center & Live Coverage (`/live/`) (Requirement 2-پ) ─── */
.live-page {
  padding: 3rem 0 5rem;
}
.live-center-board {
  background: linear-gradient(135deg, #0b1220 0%, #152568 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}
.live-center-board__status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}
.live-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.18);
  color: #ff6b6b;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.live-badge-pulse--scheduled {
  background: rgba(42, 169, 224, 0.18);
  color: #2aa9e0;
  border-color: rgba(42, 169, 224, 0.3);
}
.live-badge-pulse__dot {
  width: 8px;
  height: 8px;
  background: #ff4d4f;
  border-radius: 50%;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 77, 79, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}
.live-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  text-align: center;
}
.live-scoreboard__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.live-scoreboard__team h2 {
  font-size: 1.45rem;
  margin: 0;
  color: #fff;
}
.live-scoreboard__team-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
}
.live-scoreboard__score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.live-scoreboard__score {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
}
.live-scoreboard__score--vs {
  font-size: 2.25rem;
  color: #2aa9e0;
}
.live-scoreboard__status {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}
.live-center-board__meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.live-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
}
.live-commentary-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.live-updating-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
  background: #d1fae5;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
}
.live-feed {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.live-feed::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  right: 23px;
  width: 2px;
  background: var(--border);
}
[dir="ltr"] .live-feed::before {
  right: auto;
  left: 23px;
}
.live-feed__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.live-feed__min {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-strong);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.live-feed__item--goal .live-feed__min {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.live-feed__body {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.live-feed__pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  background: var(--brand-light);
  color: var(--brand-strong);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
}
.live-feed__pill--goal {
  background: #d1fae5;
  color: #059669;
}
.live-feed__pill--sub {
  background: #fef3c7;
  color: #d97706;
}
.live-feed__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.live-side-hub {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.live-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.live-side-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.live-side-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}
.live-media-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ─── About Page Honors & Timeline (Requirement 2-خ) ─── */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.honor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.honor-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.honor-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.honor-card__icon {
  font-size: 2rem;
}
.honor-card__year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-strong);
  background: var(--brand-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}
.honor-card__cat {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.honor-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.honor-card__desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* ─── Timeline Tree (Requirement 2-خ) ─── */
.timeline-tree {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 0;
}
.timeline-tree::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  right: 48px;
  width: 2px;
  background: var(--border);
}
[dir="ltr"] .timeline-tree::before {
  right: auto;
  left: 48px;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.timeline-node__year-badge {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 48px;
  background: var(--brand-strong);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.timeline-node__card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.timeline-node__card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.timeline-node__card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

/* ─── Crest Philosophy Box (Requirement 2-خ) ─── */
.about-crest-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.about-crest-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 3rem;
}
.about-crest-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.about-crest-label {
  font-size: 0.8rem;
  color: var(--muted);
}
.about-crest-copy h2 {
  font-size: 1.45rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.crest-symbol-desc h4,
.crest-colors-list h4 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--brand-strong);
}
.crest-symbol-desc p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.crest-colors-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.crest-colors-list li {
  font-size: 0.88rem;
}
.crest-colors-list strong {
  display: block;
  color: var(--ink);
}
.crest-colors-list p {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

/* ─── CSR / Social Responsibility (Requirement 2-د) ─── */
.csr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.csr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition);
}
.csr-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.csr-card__icon {
  font-size: 2.25rem;
  flex-shrink: 0;
}
.csr-card__category {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.csr-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}
.csr-card__desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

/* ─── Media Management Card (Requirement 4) ─── */
.media-management-card {
  margin-top: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.media-management-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--brand-light);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.media-management-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-strong);
  background: var(--brand-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}
.media-management-card__content h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.media-management-card__content p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.25rem 0;
}
.media-management-card__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}
.media-management-card__contacts a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

/* ─── Stadium Interactive Map & Directions (Requirement 2-ح) ─── */
.stadium-map-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stadium-map-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.stadium-map-canvas {
  position: relative;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 380px;
}
.stadium-map-canvas iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}
.stadium-map-pin-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}
[dir="ltr"] .stadium-map-pin-overlay {
  right: auto;
  left: 1rem;
}
.stadium-map-pin {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stadium-map-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stadium-venue-facts h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.stadium-venue-address {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.stadium-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.stadium-specs-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.stadium-specs-list span {
  color: var(--muted);
}
.stadium-specs-list strong {
  color: var(--ink);
}
.stadium-nav-links {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.stadium-nav-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.stadium-nav-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Contact Social Section ─── */
.contact-social-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.contact-social-section h4 {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.contact-social-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-social-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.contact-social-pill:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-strong);
}
.contact-social-pill small {
  color: var(--muted);
}
.contact-facts__map-link {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.contact-facts__map-link:hover {
  text-decoration: underline;
}

/* ─── Home & Matches Quick Actions & Pills ─── */
.home-fixture-quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.home-quick-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.home-quick-action-pill:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.home-quick-action-pill--tickets {
  background: var(--brand-strong);
  color: #fff;
  border-color: var(--brand-strong);
  font-weight: 600;
}
.home-quick-action-pill--tickets:hover {
  background: var(--brand);
  color: #fff;
}
.match-detail__quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* ─── News Category Pills (Requirement 2-الف) ─── */
.news-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.news-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.news-category-pill:hover,
.news-category-pill.is-active {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand-strong);
  font-weight: 600;
}

/* ─── Responsive Adjustments ─── */
@media (max-width: 900px) {
  .tickets-layout,
  .live-grid,
  .fan-club-banner__grid,
  .about-crest-grid,
  .stadium-map-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-tree::before {
    display: none;
  }
  .timeline-node {
    flex-direction: column;
    gap: 0.75rem;
  }
  .live-scoreboard {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .fan-card-mockup {
    transform: rotate(0deg);
  }
}
@media (max-width: 600px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
  }
  .tickets-form__row {
    grid-template-columns: 1fr;
  }
  .fans-nav-strip {
    flex-direction: column;
    align-items: stretch;
  }
  .fans-poll-box,
  .tickets-card,
  .fan-club-banner {
    padding: 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MODERN LEAGUE FIXTURES, STANDINGS & MATCH ANALYSIS STYLING
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Standings Quick Nav & Highlights ─── */
.standings-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.varesh-standing-card {
  background: linear-gradient(135deg, rgba(27, 47, 138, 0.95), rgba(11, 111, 184, 0.92));
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 36px rgba(27, 47, 138, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.varesh-standing-card__main {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: center;
}

.varesh-standing-card__badge {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
  padding-inline-end: 1.5rem;
}

.varesh-badge-title {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.varesh-badge-rank {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.varesh-rank-number {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  color: #fbbf24;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.varesh-rank-label {
  font-size: 0.9rem;
  color: #f1f5f9;
  font-weight: 700;
}

.varesh-standing-card__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1rem;
}

.varesh-stat-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.85rem 0.75rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.varesh-stat-item--win {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

.varesh-stat-item--streak {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.4);
}

.varesh-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.varesh-stat-lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.varesh-standing-card__form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.varesh-form-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.varesh-form-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.form-pill--w {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.5);
}

.form-pill--l {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.5);
}

.form-pill--d {
  background: rgba(234, 179, 8, 0.25);
  color: #fde047;
  border-color: rgba(234, 179, 8, 0.5);
}

.form-pill__res {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
}

/* ─── League Table Card ─── */
.table-card {
  background: var(--surface, #fff);
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.5rem;
}

.table-card__head {
  padding: 1.5rem 1.75rem;
  background: rgba(27, 47, 138, 0.04);
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.table-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.table-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(27, 47, 138, 0.08);
  color: #1b2f8a;
  flex-shrink: 0;
}

.table-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.table-card__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.badge-live-update {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

/* Table layout */
.standings-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: center;
}

.standings-table th {
  background: rgba(248, 250, 252, 0.85);
  padding: 0.85rem 0.75rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-bottom: 2px solid rgba(16, 20, 17, 0.08);
  white-space: nowrap;
}

.standings-table td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.06);
  vertical-align: middle;
  white-space: nowrap;
}

.standings-table tbody tr:hover {
  background: rgba(27, 47, 138, 0.02);
}

.col-rank {
  width: 44px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink);
  background: rgba(16, 20, 17, 0.05);
  border: 1px solid rgba(16, 20, 17, 0.08);
}

.rank-badge--first {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.35);
}

.rank-badge--second {
  background: rgba(100, 116, 139, 0.12);
  color: #334155;
  border-color: rgba(100, 116, 139, 0.3);
}

.rank-badge--afc {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}

.rank-badge--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.3);
}

.col-team {
  min-width: 200px;
}

.team-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.team-crest-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(27, 47, 138, 0.25));
}

.team-crest-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(16, 20, 17, 0.06);
  color: var(--muted);
}

.team-crest-badge--persepolis-w {
  color: #e11d48;
  background: rgba(225, 29, 72, 0.1);
}

.team-crest-badge--esteghlal-w {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.team-crest-badge--sepahan-w {
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}

.team-crest-badge--bam-khatoon-w {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}

.team-crest-badge--gol-gohar-w {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
}

.team-crest-badge--malavan-w {
  color: #1e3a8a;
  background: rgba(30, 58, 138, 0.1);
}

.team-crest-badge--eesta-w {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
}

.team-crest-badge--ava-w {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.1);
}

.team-crest-badge--palayesh-gaz-ilam-w {
  color: #475569;
  background: rgba(71, 85, 105, 0.1);
}

.team-cell__name {
  font-weight: 700;
  color: var(--ink);
}

.our-team-badge {
  display: inline-block;
  background: #1b2f8a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  margin-inline-start: 0.5rem;
  box-shadow: 0 2px 6px rgba(27, 47, 138, 0.25);
}

.col-pts {
  background: rgba(27, 47, 138, 0.03);
  font-weight: 900;
  font-size: 1rem;
  color: #1b2f8a;
}

.row-varesh {
  background: rgba(27, 47, 138, 0.06) !important;
  border-inline-start: 4px solid #1b2f8a;
  font-weight: 700;
}

.row-varesh td {
  border-bottom-color: rgba(27, 47, 138, 0.15);
}

.row-top {
  border-inline-start: 3px solid #10b981;
}

.row-bottom {
  border-inline-start: 3px solid #ef4444;
}

.dir-ltr {
  direction: ltr;
  display: inline-block;
}

@media (max-width: 768px) {
  .standings-table th.col-team,
  .standings-table td.col-team {
    position: sticky;
    right: 0;
    z-index: 2;
    background: var(--surface, #fff);
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.04);
  }
  .standings-table th.col-team {
    background: rgba(248, 250, 252, 0.98);
  }
  .row-varesh td.col-team {
    background: #edf2f9;
  }
}

.table-card__legend {
  padding: 1rem 1.75rem;
  background: rgba(248, 250, 252, 0.95);
  border-top: 1px solid rgba(16, 20, 17, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-bullet {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend-bullet--top {
  background: #10b981;
}

.legend-bullet--varesh {
  background: #1b2f8a;
}

.legend-bullet--bottom {
  background: #ef4444;
}

/* ─── Analytics Cards (Scorers & Assists) ─── */
.varesh-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.analytics-card {
  background: var(--surface, #fff);
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.analytics-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(16, 20, 17, 0.08);
  margin-bottom: 1rem;
}

.analytics-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(27, 47, 138, 0.08);
  color: #1b2f8a;
  flex-shrink: 0;
}

.analytics-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.analytics-card__sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.analytics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.analytics-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(16, 20, 17, 0.03);
  border-radius: 0.6rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.analytics-list__item:hover {
  background: rgba(27, 47, 138, 0.05);
  transform: translateX(-3px);
}

.analytics-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.analytics-player__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(27, 47, 138, 0.08);
  color: #1b2f8a;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.analytics-player__name {
  font-size: 0.9rem;
  color: var(--ink);
  display: block;
}

.analytics-player__pos {
  font-size: 0.72rem;
  color: var(--muted);
  display: block;
}

.analytics-count {
  font-weight: 800;
  font-size: 0.88rem;
  color: #1b2f8a;
  background: rgba(27, 47, 138, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODERN FIXTURES & RESULTS (MATCHES PAGE)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Scope switcher (Varesh vs All) */
.matches-scope-switcher {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.scope-pill {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface, #fff);
  border: 2px solid rgba(16, 20, 17, 0.08);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s ease;
}

.scope-pill:hover {
  border-color: rgba(27, 47, 138, 0.35);
  background: rgba(27, 47, 138, 0.02);
  transform: translateY(-2px);
}

.scope-pill.is-active {
  background: linear-gradient(135deg, rgba(27, 47, 138, 0.08), rgba(11, 111, 184, 0.06));
  border-color: #1b2f8a;
  box-shadow: 0 6px 20px rgba(27, 47, 138, 0.12);
}

.scope-pill__icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.scope-pill__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.scope-pill.is-active .scope-pill__title {
  color: #1b2f8a;
}

.scope-pill__sub {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Varesh stats summary bar */
.matches-stats-bar {
  background: var(--surface, #fff);
  border: 1px solid rgba(16, 20, 17, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.matches-stats-bar__title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.88rem;
}

.matches-stats-bar__title span {
  font-size: 0.78rem;
  color: var(--muted);
}

.matches-stats-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bar-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 20, 17, 0.04);
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
}

.bar-stat--win {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

.bar-stat__val {
  font-weight: 800;
  font-size: 0.92rem;
}

.bar-stat__lbl {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Matches Grid */
.matches-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.modern-match-card {
  background: var(--surface, #fff);
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 1.15rem;
  padding: 1.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.modern-match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(27, 47, 138, 0.25);
}

.modern-match-card.is-varesh-match {
  border-inline-start: 4px solid #1b2f8a;
  background: linear-gradient(to bottom, #fff, rgba(27, 47, 138, 0.015));
}

.modern-match-card.is-live {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px #ef4444, 0 8px 24px rgba(239, 68, 68, 0.15);
}

/* Match Card Header */
.modern-match-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
}

.match-meta-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-week {
  font-weight: 800;
  color: #1b2f8a;
  background: rgba(27, 47, 138, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
}

.badge-venue {
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
}

.badge-venue--home {
  background: #eff6ff;
  color: #1d4ed8;
}

.badge-venue--away {
  background: #f8fafc;
  color: #64748b;
}

.badge-status {
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.badge-status--finished {
  background: rgba(16, 20, 17, 0.06);
  color: var(--ink-soft);
}

.badge-status--scheduled {
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
}

.badge-status--live {
  background: #fee2e2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #dc2626;
  border-radius: 50%;
  animation: pulse-live 1.2s infinite ease-in-out;
}

@keyframes pulse-live {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.badge-result {
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
}

.badge-result--win {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-result--loss {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-result--draw {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Match Board */
.modern-match-card__board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 0;
}

.board-team {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.board-team--home {
  text-align: end;
}

.board-team--away {
  text-align: start;
}

.board-team .team-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.board-team.is-varesh-team .team-name {
  color: #1b2f8a;
  text-shadow: 0 1px 2px rgba(27, 47, 138, 0.1);
}

.board-team .team-sub {
  font-size: 0.72rem;
  color: var(--brand);
  font-weight: 700;
}

.board-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 100px;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 20, 17, 0.05);
  padding: 0.4rem 1rem;
  border-radius: 0.75rem;
}

.score-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
  min-width: 24px;
  text-align: center;
  line-height: 1;
}

.score-num--lead {
  color: #1b2f8a;
}

.score-sep {
  font-weight: 700;
  color: var(--muted);
  font-size: 1.2rem;
}

.score-subtext {
  font-size: 0.7rem;
  color: var(--muted);
}

.kickoff-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.kickoff-vs {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--muted);
  background: rgba(16, 20, 17, 0.04);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kickoff-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
}

/* Match Scorers Strip */
.modern-match-card__scorers {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(248, 250, 252, 0.85);
  border-radius: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  font-size: 0.78rem;
  border: 1px dashed rgba(16, 20, 17, 0.08);
}

.scorers-side {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.scorers-side--home {
  text-align: end;
  align-items: flex-end;
}

.scorers-side--away {
  text-align: start;
  align-items: flex-start;
}

.scorer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
}

.scorer-icon {
  font-size: 0.85rem;
}

.scorer-name {
  color: var(--ink);
}

.scorer-min {
  color: #1b2f8a;
  font-weight: 700;
  font-size: 0.72rem;
}

.scorer-assist {
  color: var(--muted);
  font-size: 0.72rem;
}

/* Match Footer */
.modern-match-card__footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(16, 20, 17, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.foot-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.foot-date {
  font-weight: 600;
}

.foot-venue {
  font-size: 0.75rem;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1b2f8a;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(27, 47, 138, 0.06);
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: #1b2f8a;
  color: #fff;
}

.arrow-sym {
  transition: transform 0.2s ease;
}

.btn-card-action:hover .arrow-sym {
  transform: translateX(-4px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODERN MATCH DETAIL & TIMELINE (FOOTBALL360 STYLE)
   ═══════════════════════════════════════════════════════════════════════════ */

.match-detail__board-goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  font-size: 0.82rem;
}

.board-goals-side--home {
  text-align: end;
}

.board-goals-side--away {
  text-align: start;
}

.board-goal-item {
  display: block;
  line-height: 1.5;
  color: #f8fafc;
}

.board-goal-item small {
  color: rgba(255, 255, 255, 0.75);
}

/* Match Events Timeline */
.events-badge-count {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(27, 47, 138, 0.08);
  color: #1b2f8a;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.timeline-container {
  background: var(--surface, #fff);
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.match-events-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.match-events-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  inset-inline-start: 22px;
  width: 2px;
  background: rgba(16, 20, 17, 0.08);
}

.timeline-event {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
}

.timeline-event__minute {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #1b2f8a;
  color: #1b2f8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(27, 47, 138, 0.15);
  flex-shrink: 0;
  z-index: 2;
}

.timeline-event__content {
  flex: 1;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(16, 20, 17, 0.06);
  border-radius: 0.85rem;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.timeline-event--goal .timeline-event__content {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
}

.timeline-event__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-icon-circle {
  font-size: 1.2rem;
}

.event-type-label {
  font-size: 0.85rem;
  color: var(--ink);
}

.timeline-event__details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.timeline-player-name {
  font-size: 0.95rem;
  color: var(--ink);
}

.timeline-assist-name {
  color: var(--brand);
  background: rgba(27, 47, 138, 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
}

.timeline-team-name {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Match Report Editorial Card */
.match-report-card {
  margin-top: 2rem;
}

.report-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(27, 47, 138, 0.08);
  color: #1b2f8a;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

.match-report-editorial {
  background: var(--surface, #fff);
  border: 1px solid rgba(16, 20, 17, 0.1);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
}

.editorial-icon {
  font-size: 2rem;
  color: #1b2f8a;
}

.match-report__content {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .varesh-standing-card__main {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .varesh-standing-card__badge {
    border-inline-end: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-inline-end: 0;
    padding-bottom: 1rem;
  }
  .modern-match-card__board {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .board-team--home,
  .board-team--away {
    text-align: center;
  }
  .modern-match-card__scorers {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .scorers-side--home,
  .scorers-side--away {
    text-align: center;
    align-items: center;
  }
  .match-report-editorial {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Coaching & Management Staff Cards & Photo Framing
   ========================================================================== */

.squad-grid--staff {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 680px) {
  .squad-grid--staff {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 980px) {
  .squad-grid--staff {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.squad-card--staff {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(11, 26, 46, 0.04);
}

.squad-card--staff:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(11, 26, 46, 0.12);
  border-color: rgba(0, 136, 204, 0.35);
}

.squad-card__photo--staff,
.squad-grid--staff .squad-card__photo {
  aspect-ratio: 16 / 10 !important;
  background: #0d1a29;
  position: relative;
  overflow: hidden;
}

.squad-card__photo--staff img,
.squad-grid--staff .squad-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}

.squad-card--staff:hover .squad-card__photo--staff img,
.squad-grid--staff .squad-card:hover .squad-card__photo img {
  transform: scale(1.04);
}

.squad-card__role--badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: 0.45rem;
}

.squad-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink, #0b1a2e);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.4;
}

/* Dedicated Coach Profile Page */
.page-coach .person-page__media,
.person-page__media--coach {
  background: #0d1a29;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  border: 1px solid var(--border, #e2e8f0);
}

.page-coach .person-page__media img,
.person-page__media--coach img {
  aspect-ratio: 16 / 10 !important;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Position Filtering and Group Sections */
.squad-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 auto;
}
.squad-filter-bar::-webkit-scrollbar {
  display: none;
}

.squad-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: rgba(16, 20, 17, 0.04);
  color: var(--muted, #64748b);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.squad-filter-btn:hover {
  color: var(--ink, #0f172a);
  background: rgba(2, 132, 199, 0.08);
}

.squad-filter-btn.is-active {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.32);
}

.squad-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  transition: background 0.2s;
}

.squad-filter-btn.is-active .squad-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
  font-weight: 800;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
}

.squad-filter-btn.is-active .squad-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.squad-position-section + .squad-position-section {
  margin-top: clamp(2.25rem, 5vw, 3.75rem);
}

.squad-position-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid rgba(2, 132, 199, 0.22);
}

.squad-position-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  background: #0284c7;
  letter-spacing: 0.02em;
}

.squad-position-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.squad-position-count {
  color: var(--muted, #64748b);
  font-size: 0.85rem;
  font-weight: 600;
}

.squad-position-badge--goalkeeper {
  background: #d97706;
}

.squad-position-badge--defender {
  background: #2563eb;
}

.squad-position-badge--midfielder {
  background: #059669;
}

.squad-position-badge--winger {
  background: #7c3aed;
}

.squad-position-badge--forward {
  background: #e11d48;
}

.squad-position-lead {
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted, #64748b);
  line-height: 1.5;
}

.players-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, rgba(16, 20, 17, 0.1));
  border-radius: var(--radius-lg, 1rem);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.players-stat-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.players-stat-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  flex-shrink: 0;
}

.players-stat-box__val {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}

.players-stat-box__lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ─── Unified Single-Row Players Toolbar ─── */
.players-toolbar-wrapper {
  margin-bottom: 2.5rem;
}

.players-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, rgba(16, 20, 17, 0.1));
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.players-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 290px;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0;
}

.players-search-form input {
  width: 100%;
  padding: 0.55rem 2.5rem 0.55rem 2.2rem;
  border-radius: 9999px;
  border: 1px solid var(--border, rgba(16, 20, 17, 0.12));
  background: var(--bg, #f8fafc);
  font-size: 0.86rem;
  color: var(--ink, #0f172a);
  transition: all 0.2s ease;
}

.players-search-form input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.players-search-icon {
  position: absolute;
  right: 0.85rem;
  color: var(--muted, #94a3b8);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.players-search-clear {
  position: absolute;
  left: 0.65rem;
  color: var(--muted, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.players-search-clear:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

@media (max-width: 899px) {
  .players-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 20px;
  }
  .squad-filter-bar {
    width: 100%;
    padding-bottom: 0.25rem;
  }
  .players-search-form {
    width: 100%;
  }
}

.squad-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.squad-card__origin {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(16, 20, 17, 0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.squad-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand, #0284c7);
  transition: gap var(--transition);
}

.squad-card:hover .squad-card__cta {
  gap: 0.55rem;
}


