/*!
  Theme Name: FC Alay
  Theme URI: http://underscores.me/
  Author: Underscores.me
  Description: Официальный сайт футбольного клуба Алай (Ош)
  Version: 3.1.4
  Requires PHP: 7.4
  License: GNU General Public License v2 or later
  License URI: LICENSE
  Text Domain: fc-alay
  Tags: custom-logo, custom-menu, featured-images
  */
/* ============================================ FC ALAY — MODERN 2025 ============================================ */
:root {
  --yellow: #ffd60a;
  --yellow-dark: #997a00;
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading:
    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
::view-transition-old(root) {
  animation-name: page-fade-out;
}
::view-transition-new(root) {
  animation-name: page-fade-in;
}
@keyframes page-fade-out {
  to {
    opacity: 0;
  }
}
@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1ms;
  }
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--black);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--yellow-dark);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
}
/* ============================================ ШАПКА ============================================ */
.site-header {
  background: rgba(255, 255, 255, 0.75);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.top-bar {
  background: rgba(255, 215, 0, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.top-bar-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.top-bar-left {
  flex: 0 0 auto;
}
.mobile-site-title,
.mobile-header-icon {
  display: none;
}
.custom-logo {
  max-height: 50px;
  width: auto;
}
.site-title-link {
  font-size: 22px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-title-link:hover {
  color: #333;
  text-decoration: none;
}
.top-bar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  width: 100%;
  z-index: 1;
}
.top-bar-slogan {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin: 0;
  display: inline-block;
  line-height: 1.2;
  padding: 6px 20px;
  background: rgba(10, 10, 10, 0.08);
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(10, 10, 10, 0.15);
}
.top-bar-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icons {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 6px;
}
.social-icon {
  color: #000;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.social-icon:hover {
  transform: translateY(-3px) scale(1.15);
  opacity: 0.85;
  text-decoration: none;
  background: transparent;
}
.social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.menu-toggle {
  display: none;
}
.bottom-bar {
  background: transparent;
}
.bottom-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.main-navigation li a {
  display: block;
  padding: 18px 22px;
  color: #0a0a0a;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  background: transparent;
}
.main-navigation li a::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: #0a0a0a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-navigation li a:hover {
  color: #ffd700;
}
.main-navigation li a:hover::after {
  transform: scaleX(1);
}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: #ffd700;
}
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
  transform: scaleX(1);
}
/* ============================================ ОСНОВНОЙ КОНТЕНТ ============================================ */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 30px;
}
.site-main h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
}
.site-main h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
/* Исключение — если у h1 есть класс team-title, старое правило не работает */
.site-main h1.team-title::after {
  content: none;
}
/* ============================================ СЕТКИ ============================================ */
.academy-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
/* ============================================ ROSTER — КАРТОЧКИ ИГРОКОВ ============================================ */
.roster-card {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border-radius: 0px;
  overflow: hidden;
  color: #0a0a0a;
  position: relative;
  aspect-ratio: 3 / 4;
  transition: box-shadow 0.3s ease;
  cursor: default;
}
.roster-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.roster-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
}
.roster-card-position {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 0;
  backdrop-filter: blur(8px);
}
.roster-card-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.roster-card-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: #0a0a0a;
  letter-spacing: -0.05em;
  opacity: 0.15;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.roster-card:hover .roster-card-number {
  color: #ffd60a;
  opacity: 1;
}
.roster-card-citizenship {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0a0a0a;
  background: #ffd60a;
  padding: 4px 12px;
  border-radius: 999px;
}
.roster-card-photo {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.roster-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.roster-card:hover .roster-card-photo img {
  transform: scale(1.05);
}
.roster-card-bottom {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 18px 20px 20px;
  border-top: 3px solid #ffd60a;
}
.roster-card-bottom h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.roster-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
  text-align: center;
}
.roster-card-meta span {
  display: block;
  white-space: nowrap;
}
/* ============================================ КАРТОЧКИ АКАДЕМИИ ============================================ */
.academy-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--dark);
}
.academy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--dark);
}
.academy-card-photo {
  aspect-ratio: 1 / 1.2;
  background: var(--gray-light);
  overflow: hidden;
}
.academy-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.academy-card h3 {
  padding: 16px 18px 8px;
  font-size: 16px;
  text-align: center;
  color: var(--black);
}
.academy-card p {
  padding: 0 18px 16px;
  font-size: 13px;
  color: var(--gray);
  text-align: center;
  margin: 0;
}
/* ============================================ СТРАНИЦА ИГРОКА / АКАДЕМИИ ============================================ */
.player-info,
.academy-single {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 40px;
  margin: 30px 0;
  align-items: start;
}
.player-photo,
.academy-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-light);
}
.player-photo img,
.academy-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.player-info ul,
.academy-single ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.player-info li,
.academy-single li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
}
.player-info li:hover,
.academy-single li:hover {
  background: #fffbe6;
}
.player-info li strong,
.academy-single li strong {
  color: var(--gray);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* ============================================ МАТЧИ ============================================ */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}
.match-card {
  display: grid;
  grid-template-columns: 130px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}
.match-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  transition: width 0.3s;
}
.match-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
  text-decoration: none;
  color: var(--dark);
}
.match-card:hover::before {
  width: 8px;
}
.match-date {
  font-weight: 700;
  color: var(--gray);
  font-size: 14px;
}
.match-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
}
.match-score {
  background: var(--black);
  color: var(--yellow);
  font-size: 18px;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: 999px;
  text-align: center;
  letter-spacing: 0.05em;
}
.match-home-away {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
}
.match-info {
  background: linear-gradient(135deg, #fffbe6, #fff);
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 30px 35px;
  margin: 30px 0;
  box-shadow: var(--shadow);
}
.match-info p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin: 0;
  font-size: 16px;
}
.match-info p:last-child {
  border-bottom: none;
}
.match-info strong {
  color: var(--gray);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* ============================================ ГЛАВНАЯ ============================================ */
.hero-banner {
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
  color: var(--white);
  padding: 100px 40px;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 214, 10, 0.15),
    transparent 60%
  );
  pointer-events: none;
}
.hero-banner h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.hero-banner h1 span {
  color: var(--yellow);
}
.hero-banner p {
  font-size: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.home-section {
  margin-bottom: 70px;
}
.home-section h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 30px;
  color: var(--black);
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
}
.home-section h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
/* ============================================ БАННЕР-АНОНС МАТЧА ============================================ */
.match-hero {
  position: relative;
  width: 100%;
  min-height: 620px;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.match-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0.92) 100%
  );
  z-index: 1;
}
.match-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px 70px;
  color: #fff;
}
.match-hero-tag {
  display: inline-block;
  background: #ffd60a;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.match-hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 28px;
  max-width: 1000px;
}
.match-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: #ffd60a;
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.25s ease;
  margin-bottom: 36px;
}
.match-hero-btn:hover {
  background: #fff;
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 214, 10, 0.4);
}
.match-hero-btn svg {
  transition: transform 0.25s ease;
}
.match-hero-btn:hover svg {
  transform: translateX(4px);
}
.match-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.match-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.match-hero-meta-item svg {
  opacity: 0.85;
  flex-shrink: 0;
}
.match-hero-divider {
  opacity: 0.35;
  font-weight: 400;
}
/* ============================================ КНОПКИ (общий стиль) ============================================ */
.btn,
input[type="submit"],
a.btn,
button.btn {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
  text-align: center;
}
.btn:hover,
input[type="submit"]:hover,
a.btn:hover,
button.btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
/* ============================================ ФОРМЫ ============================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 14px;
  transition: var(--transition);
  background: var(--white);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.15);
}
/* ============================================ ПАГИНАЦИЯ ============================================ */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.pagination .page-numbers,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gray-light);
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}
.pagination .page-numbers:hover,
.nav-links a:hover {
  background: var(--black);
  color: var(--yellow);
}
.pagination .current {
  background: var(--black);
  color: var(--yellow);
}
/* ============================================ ОБЩИЙ КОНТЕЙНЕР ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}
/* ============================================ СЛАЙДЕР БЛИЖАЙШИХ МАТЧЕЙ ============================================ */
.matches-slider-section {
  background: #fff;
  padding: 60px 0 40px;
  width: 100%;
  overflow: hidden;
}
.matches-slider-head {
  max-width: 1400px;
  margin: 0 auto 30px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
}
.matches-slider-title {
  font-size: 32px;
  font-weight: 900;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative;
}
.matches-slider-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 4px;
  background: #ffd60a;
  border-radius: 2px;
}
.matches-slider-arrows {
  display: flex;
  gap: 12px;
}
.matches-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  padding: 0;
}
.matches-arrow:hover {
  background: #ffd60a;
  transform: scale(1.1);
}
.matches-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}
.matches-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.matches-track:active {
  cursor: grabbing;
}
.match-slide-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
}
.match-slide-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ffd60a;
  transition: background 0.3s ease;
}
.match-slide-card:hover {
  background: #ffd60a;
  border-color: #ffd60a;
  box-shadow: 0 12px 32px rgba(255, 214, 10, 0.35);
}
.match-slide-head {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.match-slide-tournament {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: color 0.3s ease;
}
.match-slide-date {
  font-size: 18px;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.match-slide-stadium {
  font-size: 13px;
  color: #9ca3af;
  transition: color 0.3s ease;
}
.match-slide-teams {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid #f3f4f6;
  transition: border-color 0.3s ease;
}
.match-slide-team {
  font-size: 15px;
  font-weight: 800;
  color: #0a0a0a;
  text-transform: uppercase;
  line-height: 1.2;
  flex: 1;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.match-slide-team:last-child {
  text-align: right;
}
.match-slide-score {
  font-size: 28px;
  font-weight: 900;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding: 0 8px;
  transition: color 0.3s ease;
}
.match-slide-home-away {
  padding: 12px 24px;
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
.match-slide-btn {
  display: block;
  margin: 0 24px 24px;
  padding: 14px;
  background: #0a0a0a;
  color: #ffd60a;
  border-radius: 0;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s ease;
}
.match-slide-btn:hover {
  background: #0a0a0a;
  color: #ffd60a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.match-slide-card:hover .match-slide-tournament,
.match-slide-card:hover .match-slide-stadium,
.match-slide-card:hover .match-slide-home-away {
  color: rgba(0, 0, 0, 0.65);
}
.match-slide-card:hover .match-slide-date,
.match-slide-card:hover .match-slide-team,
.match-slide-card:hover .match-slide-score {
  color: #0a0a0a;
}
.match-slide-card:hover .match-slide-teams {
  border-bottom-color: rgba(0, 0, 0, 0.18);
}
.matches-empty {
  text-align: center;
  color: #888;
  padding: 40px;
  font-size: 16px;
  width: 100%;
}
/* ============================================ ССЫЛКА «ВСЕ МАТЧИ» ============================================ */
.matches-all-link-wrap {
  display: flex;
  justify-content: center;
  padding: 0 30px 60px;
  background: #fff;
}
/* ============================================ ТУРНИРНАЯ ТАБЛИЦА ============================================ */
.league-section {
  background: #fff;
  padding: 70px 0;
  width: 100%;
  overflow: hidden;
}
.league-head {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 40px;
  box-sizing: border-box;
}
.league-title {
  font-size: 56px;
  font-weight: 900;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1;
}
.league-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}
.league-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  align-items: start;
}
.league-main {
  min-width: 0;
}
.league-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.league-standings {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.league-standings thead th {
  background: #fff;
  color: #9ca3af;
  padding: 18px 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}
.league-standings thead th.col-pos {
  text-align: center;
  width: 60px;
  padding-left: 16px;
}
.league-standings thead th.col-team {
  text-align: left;
  padding-left: 16px;
}
.league-standings thead th.col-points {
  width: 80px;
  font-weight: 800;
  color: #6b7280;
}
.league-standings tbody td {
  padding: 18px 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #0a0a0a;
  background: #fff;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
}
.league-standings .col-pos {
  font-weight: 900;
  font-size: 15px;
  width: 60px;
  padding-left: 16px;
}
.league-standings .col-team {
  text-align: left;
  padding-left: 16px;
}
.league-standings .col-points {
  width: 80px;
  font-weight: 900;
  font-size: 16px;
}
.team-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.team-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.team-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.team-name {
  font-size: 15px;
  font-weight: 800;
  color: #0a0a0a;
  text-transform: uppercase;
}
.team-city {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  margin-top: 2px;
}
.league-standings tbody tr.is-alay td {
  background: #ffd60a;
  color: #0a0a0a;
  border-color: #ffd60a;
}
.league-standings tbody tr.is-alay .team-name,
.league-standings tbody tr.is-alay .team-city,
.league-standings tbody tr.is-alay td.col-pos,
.league-standings tbody tr.is-alay td.col-points {
  color: #0a0a0a;
}
.league-banner {
  position: sticky;
  top: 100px;
  border-radius: 12px;
  overflow: hidden;
  align-self: start;
  width: 100%;
  max-width: 340px;
  max-height: 600px;
  background: #f5f5f5;
}
.league-banner a {
  display: block;
}
.league-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}
.league-more-wrap {
  margin-top: 32px;
  text-align: center;
}
.league-standings tbody tr.league-row-visible {
  display: table-row;
}
.league-standings tbody tr.league-row-hidden {
  display: none;
}
.league-standings tbody tr.league-row-divider td {
  text-align: center;
  padding: 16px 0;
  font-size: 24px;
  color: #9ca3af;
  letter-spacing: 4px;
  font-weight: 700;
  border-bottom: 1px solid #e5e7eb;
}
.league-full-layout {
  grid-template-columns: minmax(0, 1fr);
}
.league-empty {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================ ПАРТНЁРЫ И СПОНСОРЫ ============================================ */
.partners-section {
  background: #0a0a0a;
  padding: 80px 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.partners-title {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 40px;
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: relative;
}
.partners-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 60px;
  height: 4px;
  background: #ffd60a;
  border-radius: 2px;
}
.partners-grid {
  position: relative;
  height: 520px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.partner-item {
  position: absolute;
  width: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141414;
  border-radius: 0px;
  aspect-ratio: 16 / 10;
  padding: 24px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform, translate;
  overflow: hidden;
  box-sizing: border-box;
}
.partner-item:hover {
  background: #1c1c1c;
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 214, 10, 0.3);
  animation-play-state: paused;
}
.partner-item:nth-child(1) {
  top: 4%;
  left: 4%;
  animation: swim-1 12s ease-in-out infinite;
  animation-delay: -2s;
}
.partner-item:nth-child(2) {
  top: 7%;
  left: 28%;
  animation: swim-2 15s ease-in-out infinite;
  animation-delay: -7s;
}
.partner-item:nth-child(3) {
  top: 3%;
  left: 52%;
  animation: swim-3 18s ease-in-out infinite;
  animation-delay: -4s;
}
.partner-item:nth-child(4) {
  top: 8%;
  left: 76%;
  animation: swim-4 20s ease-in-out infinite;
  animation-delay: -11s;
}
.partner-item:nth-child(5) {
  top: 36%;
  left: 4%;
  animation: swim-2 17s ease-in-out infinite;
  animation-delay: -9s;
}
.partner-item:nth-child(6) {
  top: 40%;
  left: 28%;
  animation: swim-3 13s ease-in-out infinite;
  animation-delay: -3s;
}
.partner-item:nth-child(7) {
  top: 35%;
  left: 52%;
  animation: swim-4 19s ease-in-out infinite;
  animation-delay: -14s;
}
.partner-item:nth-child(8) {
  top: 41%;
  left: 76%;
  animation: swim-1 16s ease-in-out infinite;
  animation-delay: -6s;
}
.partner-item:nth-child(9) {
  top: 68%;
  left: 16%;
  animation: swim-3 20s ease-in-out infinite;
  animation-delay: -12s;
}
.partner-item:nth-child(10) {
  top: 70%;
  left: 40%;
  animation: swim-1 14s ease-in-out infinite;
  animation-delay: -5s;
}
.partner-item:nth-child(11) {
  top: 67%;
  left: 64%;
  animation: swim-2 18s ease-in-out infinite;
  animation-delay: -10s;
}
.partner-item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.partner-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
@keyframes swim-1 {
  0%,
  100% {
    translate: 0 0;
  }
  25% {
    translate: 20px -30px;
  }
  50% {
    translate: -10px 20px;
  }
  75% {
    translate: -20px -10px;
  }
}
@keyframes swim-2 {
  0%,
  100% {
    translate: 0 0;
  }
  25% {
    translate: -25px 18px;
  }
  50% {
    translate: 22px -22px;
  }
  75% {
    translate: 12px 28px;
  }
}
@keyframes swim-3 {
  0%,
  100% {
    translate: 0 0;
  }
  25% {
    translate: 16px 24px;
  }
  50% {
    translate: -24px -16px;
  }
  75% {
    translate: 24px -28px;
  }
}
@keyframes swim-4 {
  0%,
  100% {
    translate: 0 0;
  }
  25% {
    translate: -18px -24px;
  }
  50% {
    translate: 26px 16px;
  }
  75% {
    translate: -25px 20px;
  }
}
/* ============================================ НОВОСТИ — MAGAZINE LAYOUT 2026 (полностью белая) ============================================ */
.news-page {
  min-height: 100vh;
  padding: 80px 0 120px;
  background: #fff;
  color: #0a0a0a;
}
.news-page .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.news-page .page-header {
  margin-bottom: 48px;
  text-align: center;
}
.news-page .page-title {
  margin: 0 0 20px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.news-page .page-subtitle {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
  letter-spacing: 0.05em;
}
/* Magazine раскладка */
.news-magazine {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.news-magazine__hero,
.news-magazine__aside {
  min-width: 0;
}
/* Карточки — все светлые */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 0px;
  background: #f5f5f5;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  background: #ececec;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.news-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.news-card__thumb {
  overflow: hidden;
  background: #222;
}
.news-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-card:hover .news-card__thumb img {
  transform: scale(1.06);
}
.news-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}
.news-card__body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
  color: #0a0a0a;
}
.news-card__cat {
  color: #ffd60a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.news-card__title {
  margin: 0;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.news-card__date {
  color: #6b7280;
  font-size: 12px;
}
.news-card__excerpt {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}
.news-card__more {
  margin-top: auto;
  padding-top: 16px;
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 800;
}
/* FEATURED — главная новость (тоже светлая) */
.news-card--featured {
  position: relative;
  height: 100%;
  min-height: 600px;
  border-radius: 0px;
  background: #141414;
}
.news-card--featured::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
  content: "";
  pointer-events: none;
}
.news-card--featured .news-card__link {
  position: relative;
  min-height: inherit;
  display: block;
}
.news-card--featured .news-card__thumb {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
}
.news-card--featured .news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.news-card--featured:hover .news-card__thumb img {
  transform: scale(1.05);
}
.news-card--featured .news-card__body {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px 40px 40px;
  color: #fff;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.92) 100%
  );
}
.news-card--featured .news-card__cat {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: #ffd60a;
  color: #0a0a0a;
  font-size: 11px;
}
.news-card--featured .news-card__title {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.news-card--featured .news-card__excerpt {
  display: -webkit-box;
  max-width: 640px;
  margin-bottom: 20px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.news-card--featured .news-card__date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
/* ASIDE */
.news-magazine__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-card--aside {
  flex: 1;
  border-radius: 0px;
  background: #f5f5f5;
}
.news-card--aside:hover {
  transform: translateY(-4px);
  background: #ececec;
}
.news-card--aside .news-card__link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}
.news-card--aside .news-card__thumb {
  width: 120px;
  height: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
}
.news-card--aside .news-card__body {
  justify-content: space-between;
  gap: 8px;
}
.news-card--aside .news-card__cat {
  margin-bottom: 2px;
  font-size: 10px;
}
.news-card--aside .news-card__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
/* GRID */
.news-magazine__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.news-card--grid .news-card__body {
  gap: 12px;
  padding: 24px;
}
.news-card--grid .news-card__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.news-card--grid .news-card__date {
  margin-top: auto;
}
/* Пагинация */
.news-empty {
  padding: 60px 0;
  color: #888;
  font-size: 18px;
  text-align: center;
}
.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}
.news-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-pagination a,
.news-pagination span {
  display: inline-flex;
  min-width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: #141414;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.news-pagination a:hover,
.news-pagination .current {
  border-color: #ffd60a;
  background: #ffd60a;
  color: #0a0a0a;
}
/* Адаптив */

/* ============================================ ОТДЕЛЬНАЯ НОВОСТЬ + БИЛЕТЫ + БОЛЕЛЬЩИКАМ ============================================ */
.single-news,
.tickets-page,
.fans-page {
  padding: 60px 0 80px;
  background: #111;
  color: #fff;
}
.single-news__back {
  display: inline-block;
  color: #ffd400;
  margin-bottom: 18px;
  font-weight: 600;
}
.single-news__back:hover {
  text-decoration: underline;
}
.single-news__breadcrumbs {
  color: #888;
  font-size: 13px;
  margin-bottom: 22px;
}
.single-news__breadcrumbs a {
  color: #bbb;
}
.single-news__breadcrumbs a:hover {
  color: #ffd400;
}
.single-news__title {
  font-size: 40px;
  font-weight: 800;
  color: #ffd400;
  line-height: 1.2;
  margin: 0 0 15px;
}
.single-news__meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 30px;
}
.single-news__thumb {
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
}
.single-news__thumb img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .single-news__thumb img {
    max-height: 300px;
  }
}

.single-news__content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: #ddd;
}
.single-news__content p {
  margin: 0 0 20px;
}
.single-news__content a {
  color: #ffd400;
}
.single-news__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}
.single-news__content h2,
.single-news__content h3 {
  color: #ffd400;
  margin: 30px 0 15px;
}
.single-news__related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #2a2a2a;
}
.single-news__related-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffd400;
  margin: 0 0 25px;
}
.single-news .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.single-news .news-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.single-news .news-card:hover {
  transform: translateY(-5px);
  border-color: #ffd400;
  box-shadow: 0 10px 30px rgba(255, 212, 0, 0.15);
}
.single-news .news-card .news-card__title {
  color: #fff;
}
.tickets-page .page-header,
.fans-page .page-header {
  text-align: center;
  margin-bottom: 50px;
}
.tickets-page .page-title,
.fans-page .page-title {
  color: #ffd400;
  text-align: center;
}
.tickets-page .page-subtitle,
.fans-page .page-subtitle {
  color: #bbb;
  text-align: center;
}
.tickets-editor-content,
.fans-editor-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: #ddd;
}
.tickets-editor-content h2,
.tickets-editor-content h3,
.fans-editor-content h2,
.fans-editor-content h3 {
  color: #ffd400;
}
/* ============================================ CONTACT FORM 7 ============================================ */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 15px;
  transition: border-color 0.25s;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #ffd400;
}
/* ============================================ ФУТЕР ============================================ */
.site-footer {
  background: #111;
  color: #ccc;
  border-top: 3px solid #ffd400;
  padding: 60px 0 0;
  margin: 0;
  text-align: left;
  font-size: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.footer-col h4 {
  color: #ffd400;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: 1px;
}
.footer-col p,
.footer-col li {
  font-size: 14px;
  line-height: 1.8;
  color: #aaa;
}
.footer-col p {
  margin-top: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}
.footer-col a:hover {
  color: #ffd400;
}
.footer-logo {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: #ffd400 !important;
  text-decoration: none;
}
.footer-logo img {
  max-width: 160px;
  max-height: 70px;
  width: auto;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: all 0.25s;
}
.footer-socials a:hover {
  background: #ffd400;
  color: #111;
  border-color: #ffd400;
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #2a2a2a;
  padding: 24px 40px;
}
.footer-bottom .footer-copyright {
  margin: 0;
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  text-align: left;
}
.footer-bottom .footer-dev {
  margin: 0;
  font-size: 13px;
  color: #777;
  text-align: right;
}
.footer-bottom .footer-dev a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom .footer-dev a:hover {
  color: #ffd400;
}
.dev-credit {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  background: #ffd400;
  color: #111;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  z-index: 999;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.dev-credit:hover {
  background: #fff;
  color: #111;
  padding: 8px 24px;
  text-decoration: none;
}
/* ============================================ БЕГУЩАЯ СТРОКА СПОНСОРОВ ============================================ */
.sponsors-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
  padding: 45px 0;
  margin: 0 0 60px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.sponsors-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: sponsors-scroll 90s linear infinite;
  will-change: transform;
}
.sponsors-marquee:hover .sponsors-track {
  animation-play-state: paused;
}
.sponsor-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 0 20px;
  filter: grayscale(100%);
  opacity: 0.55;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}
.sponsor-item:hover {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transform: scale(1.1);
}
.sponsor-item img {
  height: 100%;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
@keyframes sponsors-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ============================================ КАРУСЕЛЬ БАННЕРОВ ============================================ */
.banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  aspect-ratio: 1920 / 800;
  max-height: 800px;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: 1;
}
.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.banner-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  padding: 0;
  margin: 0;
  pointer-events: none;
}
.banner-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  font-family: var(--font-heading);
}
.banner-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
}
.banner-dot.active {
  background: #ffd60a;
  border-color: #0a0a0a;
  width: 34px;
  border-radius: 999px;
}
/* Исключение № 2 — «Записаться» на баннере */
.banner-cta-btn {
  position: absolute;
  right: 5%;
  bottom: 8%;
  z-index: 10;
  background: linear-gradient(180deg, #ffe14a 0%, #ffd60a 45%, #e6be00 100%);
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 36px;
  font-size: 15px;
  text-decoration: none;
  border-radius: 0;
  border: 2px solid #0a0a0a;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.banner-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.banner-cta-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: banner-btn-shine 3.5s infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes banner-btn-shine {
  0% {
    left: -75%;
  }
  55% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}
.banner-cta-btn:hover {
  background: linear-gradient(180deg, #ffd60a 0%, #e6be00 100%);
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 2px #0a0a0a inset;
  text-decoration: none;
}

/* ============================================ НОВОСТИ НА ГЛАВНОЙ ============================================ */
.home-news-section {
  padding: 60px 0 70px;
  background: #fff;
  width: 100%;
  overflow: hidden;
}
.home-news-head {
  max-width: 1400px;
  margin: 0 auto 30px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
}
.home-news-title {
  font-size: 48px;
  font-weight: 900;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}
.home-news-arrows {
  display: flex;
  gap: 12px;
}
.home-news-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.home-news-arrow:hover {
  background: #ffd60a;
  transform: scale(1.05);
}
.home-news-arrow svg {
  width: 26px;
  height: 26px;
  stroke: #0a0a0a;
  stroke-width: 2.5;
}
.home-news-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}
.home-news-track {
  display: flex;
  gap: 6px;
  max-width: 1400px;
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.home-news-card {
  flex: 0 0 calc((100% - 48px) / 4.25);
  min-width: 0;
}
.home-news-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.home-news-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f1f1f1;
}
.home-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.home-news-card a:hover .home-news-image img {
  transform: scale(1.08);
}
.home-news-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
  height: 100%;
}
.home-news-meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  gap: 14px;
  align-items: center;
}
.home-news-meta span:first-child {
  color: #0a0a0a;
  font-weight: 800;
}
.home-news-card-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #0a0a0a;
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-news-card a:hover .home-news-card-title {
  color: var(--yellow-dark);
}
.home-news-footer {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 30px 40px 0;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  box-sizing: border-box;
}

/* ============================================ МОБИЛЬНАЯ АДАПТАЦИЯ (общая) ============================================ */

@media (hover: none) and (pointer: coarse) {
  .match-slide-card:active {
    background: #ffd60a;
    border-color: #ffd60a;
    box-shadow: 0 12px 32px rgba(255, 214, 10, 0.35);
  }
  .match-slide-card:active .match-slide-tournament,
  .match-slide-card:active .match-slide-stadium,
  .match-slide-card:active .match-slide-home-away {
    color: rgba(0, 0, 0, 0.65);
  }
  .match-slide-card:active .match-slide-date,
  .match-slide-card:active .match-slide-team,
  .match-slide-card:active .match-slide-score {
    color: #0a0a0a;
  }
  .match-slide-card:active .match-slide-teams {
    border-bottom-color: rgba(0, 0, 0, 0.18);
  }
}
/* ============================================ ТИПОГРАФИКА ============================================ */
h1,
h2,
h3,
h4,
h5,
h6,
.site-title-link,
.page-title,
.home-news-title,
.league-title,
.partners-title,
.matches-slider-title,
.match-hero-title,
.home-news-card-title,
.match-slide-team,
.roster-card-bottom h3,
.academy-card h3,
.team-name,
.footer-col h4,
.match-slide-date,
.match-slide-score,
.match-slide-btn,
.matches-all-link,
.banner-cta-btn,
.dev-credit,
.match-hero-btn,
.match-hero-tag {
  font-family: var(--font-heading);
}
/* Общий вид кнопок-ссылок */
.match-slide-btn,
.matches-all-link,
.match-hero-btn {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
  text-align: center;
}
.match-slide-btn:hover,
.matches-all-link:hover,
.home-news-all-btn:hover,
.match-hero-btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
/* Исключение № 1 — «Купить билет» */
.top-bar-ticket-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 24px;
  background: #0a0a0a;
  color: #ffd60a;
  font-family: "Montserrat", var(--font-heading), sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
  margin: 0;
}

.top-bar-ticket-btn::before,
.top-bar-ticket-btn::after {
  position: absolute;
  top: -50%;
  left: -75%;
  width: 45%;
  height: 200%;
  content: "";
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
  pointer-events: none;
}

.top-bar-ticket-btn::after {
  display: none;
}

.top-bar-ticket-btn:hover,
.top-bar-ticket-btn:focus-visible {
  background: #222222;
  color: #ffd60a;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.top-bar-ticket-btn .arrow {
  display: inline-block;
  margin-left: 6px;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.top-bar-ticket-btn:hover .arrow {
  transform: translate(2px, -2px);
}

@keyframes shine {
  0%,
  65% {
    left: -75%;
  }
  100% {
    left: 130%;
  }
}

/* Переключатель языков в верхней панели */
.lang-switcher {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.lang-switcher__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lang-switcher__list li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lang-switcher__list a {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  color: #0a0a0a;
  opacity: 0.65;
  text-decoration: none;
  line-height: 1;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}
.lang-switcher__list .current-lang a {
  border-bottom-color: #0a0a0a;
  opacity: 1;
}
.lang-switcher__list a:hover,
.lang-switcher__list a:focus-visible {
  color: #997a00;
  opacity: 1;
}

/* Восстановленные стили иконочных элементов управления */
.matches-arrow,
.matches-arrow-prev,
.matches-arrow-next {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #0a0a0a;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0;
}
.matches-arrow:hover,
.matches-arrow-prev:hover,
.matches-arrow-next:hover {
  background: #ffd60a;
  color: #0a0a0a;
  transform: scale(1.1);
  box-shadow: none;
}
.matches-arrow svg,
.matches-arrow-prev svg,
.matches-arrow-next svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  display: block;
}
.home-news-arrow,
.home-news-arrow-prev,
.home-news-arrow-next {
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #0a0a0a;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0;
}
.home-news-arrow:hover,
.home-news-arrow-prev:hover,
.home-news-arrow-next:hover {
  background: #ffd60a;
  color: #0a0a0a;
  transform: scale(1.05);
  box-shadow: none;
}
.home-news-arrow svg,
.home-news-arrow-prev svg,
.home-news-arrow-next svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  display: block;
}
.menu-toggle {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  position: relative;
  font-size: 0;
  text-transform: none;
  letter-spacing: 0;
  display: none;
  align-items: center;
  justify-content: center;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.menu-toggle:focus,
.menu-toggle:active,
.menu-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.menu-toggle:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}
.menu-toggle span {
  display: block;
  position: absolute;
  width: 22px;
  height: 2px;
  left: 7px;
  top: 50%;
  background: #0a0a0a;
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}
.menu-toggle span:nth-child(1) {
  transform: translateY(calc(-50% - 6px));
}
.menu-toggle span:nth-child(2) {
  transform: translateY(-50%);
}
.menu-toggle span:nth-child(3) {
  transform: translateY(calc(-50% + 6px));
}
.menu-toggle.toggled span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}
.menu-toggle.toggled span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.toggled span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}
.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  padding: 0;
  margin: 0;
  pointer-events: none;
}
button.banner-dot,
.banner-dot {
  width: 12px;
  height: 12px;
  min-width: 0;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  transform: none;
  appearance: none;
}
button.banner-dot:hover,
.banner-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
}
button.banner-dot.active,
.banner-dot.active {
  background: #ffd60a;
  border-color: #0a0a0a;
  width: 34px;
  border-radius: 999px;
}

.league-more-link,
a.league-more-link,
button.league-more-link {
  display: inline-block;
  padding: 0 0 8px;
  margin: 0;
  background: transparent;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 0;
  border-bottom: 3px solid #ffd60a;
  border-radius: 0;
  cursor: pointer;
  line-height: 1;
  transform: none;
  box-shadow: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.league-more-link:hover,
.league-more-link:focus,
.league-more-link:active,
a.league-more-link:hover,
button.league-more-link:hover {
  background: transparent;
  color: var(--yellow-dark);
  border-bottom-color: #0a0a0a;
  transform: none;
  box-shadow: none;
  text-decoration: none;
}
.league-more-link svg,
.league-more-link i,
.league-more-link .arrow,
.league-more-link .icon {
  display: none;
}
/* «ВСЕ МАТЧИ» — текст с подчёркиванием */
.matches-all-link {
  display: inline-block !important;
  background: transparent !important;
  color: #0a0a0a !important;
  border: 0 !important;
  border-bottom: 3px solid #ffd60a !important;
  border-radius: 0 !important;
  padding: 0 0 4px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease !important;
}
.matches-all-link:hover {
  background: transparent !important;
  color: var(--yellow-dark) !important;
  border-bottom-color: #0a0a0a !important;
  box-shadow: none !important;
  transform: none !important;
}
.matches-all-link svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: middle;
  stroke: currentColor;
}
/* «ВСЕ НОВОСТИ» — текст с подчёркиванием */
.home-news-all-btn {
  display: inline-block !important;
  background: transparent !important;
  color: #0a0a0a !important;
  border: 0 !important;
  border-bottom: 3px solid #ffd60a !important;
  border-radius: 0 !important;
  padding: 0 0 4px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease !important;
}
.home-news-all-btn:hover {
  background: transparent !important;
  color: var(--yellow-dark) !important;
  border-bottom-color: #0a0a0a !important;
  box-shadow: none !important;
  transform: none !important;
}
/* Логотип в футере — крупнее */
.site-footer .custom-logo-link img,
.site-footer .custom-logo,
.footer-about img,
.footer-about .custom-logo {
  max-width: 100px !important;
  max-height: 100px !important;
  width: auto !important;
  height: auto !important;
}
/* ============================================ АКАДЕМИЯ — ПРИЗЫВ ЗАПИСАТЬСЯ ============================================ */
.academy-cta {
  background: #0a0a0a;
  color: #fff;
  padding: 80px 0;
  width: 100%;
  overflow: hidden;
}
.academy-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  box-sizing: border-box;
}
.academy-cta-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.academy-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.academy-cta-image:hover img {
  transform: scale(1.04);
}
.academy-cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.academy-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
.academy-cta-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffd60a;
  margin-top: 16px;
}
.academy-cta-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 560px;
}
.academy-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #ffd60a;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 0;
  border: 2px solid #ffd60a;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.academy-cta-btn svg {
  transition: transform 0.25s ease;
}
.academy-cta-btn:hover svg {
  transform: translateX(4px);
}
.academy-cta-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: academy-btn-shine 3.5s infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes academy-btn-shine {
  0% {
    left: -75%;
  }
  55% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}
.academy-cta-btn > * {
  position: relative;
  z-index: 3;
}

/* ============================================ ПОБЕДЫ КЛУБА (ТРОФЕИ) ============================================ */
.trophies-section {
  background: #0a0a0a;
  color: #fff;
  padding: 70px 0 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.trophies-section::before {
  content: "ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ФК «Алай»   ";
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffd60a !important;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  animation: trophies-marquee 30s linear infinite;
}
@keyframes trophies-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.trophies-head {
  max-width: 1400px;
  margin: 0 auto 50px;
  padding: 60px 40px 0;
  text-align: center;
  box-sizing: border-box;
}
.trophies-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  line-height: 1.05;
}
.trophies-subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin: 16px 0 0;
}
.trophies-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.trophy-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 60px 30px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 420px;
  transition: background 0.3s ease;
}
.trophy-card:nth-child(3n),
.trophy-card:last-child {
  border-right: none;
}
.trophy-card:hover {
  background: rgba(255, 255, 255, 0.04);
}
.trophy-card:hover .trophy-cup-img {
  transform: scale(1.06) translateY(-4px);
}
.trophy-icon {
  width: 120px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.trophy-cup-img {
  width: 140px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.35s ease;
}
.trophy-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: #fff;
  margin: 0;
  max-width: 260px;
}
.trophy-years {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  margin-top: auto;
}

.trophy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--trophy-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: scale(1);
  z-index: 1;
  pointer-events: none;
}
.trophy-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.75) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  pointer-events: none;
}
.trophy-card:hover::before {
  opacity: 1;
  transform: scale(1.06);
}
.trophy-card:hover::after {
  opacity: 1;
}
.trophy-card > * {
  position: relative;
  z-index: 3;
}
/* ============================================ PLAYER ARCHIVE — страница «Команда» ============================================ */
.roster-page {
  padding: 56px 0 80px;
  color: #111;
  background: #fff;
}
.roster-container {
  width: min(100% - 48px, 1400px);
  margin-inline: auto;
}
.roster-heading {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}
.roster-page .roster-title {
  margin: 0;
  color: #111;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.roster-section {
  margin-bottom: 56px;
}
.roster-section[hidden] {
  display: none !important;
}
.roster-section-title {
  position: relative;
  margin: 0 0 30px;
  padding-bottom: 12px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.roster-page .roster-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.roster-page .roster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.roster-page .roster-card-photo {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.roster-page .roster-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.roster-page .roster-card:hover .roster-card-photo img {
  transform: scale(1.04);
}
.roster-page .roster-card-bottom {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 20px 20px 24px;
  border-top: 0;
  background: #fff;
}
.roster-page .roster-card-bottom .roster-card-name {
  max-width: 70%;
  margin: 0;
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  word-break: break-word;
}
.roster-page .roster-card-number,
.roster-page .roster-card:hover .roster-card-number {
  position: static;
  flex-shrink: 0;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  opacity: 1;
  transform: none;
}
.roster-page .roster-card-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  background: #f1f1f1;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Team archive control panel */
.roster-page .roster-heading {
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}
.roster-panel {
  position: relative;
  overflow: visible;
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 40px;
  box-sizing: border-box;
}
.roster-panel__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: visible;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0;
  min-width: 0;
}
.roster-panel .roster-tabs {
  min-width: 0;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 32px;
  padding: 0 0 16px;
  overflow: visible;
  border-bottom: 0;
}
.roster-tabs__link {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border: 0;
  color: #6b7280;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.roster-tabs__link::after {
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  height: 3px;
  background: #ffd400;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.roster-tabs__link:hover,
.roster-tabs__link.is-active {
  color: #0a0a0a;
}
.roster-tabs__link:hover::after,
.roster-tabs__link.is-active::after {
  transform: scaleX(1);
}
/* Дропдауны — АМПЛУА, КОМАНДА, СЕЗОН в одну строку */
.roster-dropdowns {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
  padding-bottom: 16px;
}
.roster-filter {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
  margin: 0;
  padding: 0;
  border-bottom: 0;
  flex: 0 0 auto;
}
.roster-filter__label {
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}
/* Скрытый нативный select — хранит логику фильтра */
.roster-dd__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  appearance: none;
  pointer-events: none;
}
.roster-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}
.roster-dd__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}
.roster-dd__arrow {
  color: currentColor;
  flex-shrink: 0;
  display: block;
  width: 12px;
  height: 8px;
  transition: transform 0.25s ease;
}
.roster-dd.is-open .roster-dd__arrow {
  transform: rotate(180deg);
}
.roster-dd__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 9999;
  min-width: 240px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 0px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.roster-dd.is-open .roster-dd__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.roster-dd__item {
  display: table;
  width: max-content;
  max-width: calc(100% - 16px);
  margin: 4px 8px;
  padding: 14px 22px;
  border-radius: 10px;
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.15s ease;
  list-style: none;
}
.roster-dd__item:hover {
  background: #f5f5f5;
}
.roster-dd__item.is-active {
  background: #6b1a2a;
  color: #fff;
  font-weight: 700;
}
.roster-dd--team .roster-dd__toggle,
.roster-dd--season .roster-dd__toggle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.roster-dd--team .roster-dd__menu,
.roster-dd--season .roster-dd__menu {
  right: 0;
  left: auto;
  min-width: 220px;
}
.roster-dd--team .roster-dd__item,
.roster-dd--season .roster-dd__item {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}
.roster-dd--team .roster-dd__item.is-active,
.roster-dd--season .roster-dd__item.is-active {
  font-weight: 700;
}
/* Адаптив — планшет */

/* Адаптив — мобильный */

/* ============================================ ROSTER GRID — сетка / мобильная карусель ============================================ */
.roster-page .roster-section > .roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 40px;
  box-sizing: border-box;
}

/* ============================================ ROSTER — выравнивание по одному краю ============================================ */
/* Один внешний отступ на всю страницу «Команда» */
.roster-page .roster-container {
  width: min(100% - 48px, 1400px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
/* Все внутренние блоки — без боковых отступов */
.roster-page .roster-panel,
.roster-page .roster-panel__top,
.roster-page .roster-tabs,
.roster-page .roster-dropdowns,
.roster-page .roster-heading,
.roster-page .roster-section,
.roster-page .roster-section-title,
.roster-page .roster-section > .roster-grid {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}
/* team-title — анимация подчёркивания */
.team-title {
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: 0;
}
.team-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #f5c518;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s ease-out;
}
.team-title.is-visible::after {
  transform: scaleX(1);
}
/* Мобильный — единый отступ 16px от края */

/* ============================================ КАЛЕНДАРЬ МАТЧЕЙ ============================================ */
.match-calendar-page {
  background: #fff;
  padding: 60px 0 80px;
}
.match-calendar-page .page-header {
  text-align: center;
  margin-bottom: 50px;
}
.match-calendar-page .page-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.match-calendar-page .page-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.calendar {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}
/* Голова с переключателями месяцев */
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 30px;
}
.calendar__nav {
  width: 48px;
  height: 48px;
  border: 2px solid #0a0a0a;
  background: #fff;
  color: #0a0a0a;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}
.calendar__nav:hover:not(:disabled) {
  background: #0a0a0a;
  color: #ffd60a;
}
.calendar__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.calendar__months {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.calendar__month {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: lowercase;
  color: #9ca3af;
  letter-spacing: 0.02em;
}
.calendar__month--current {
  font-size: 22px;
  font-weight: 900;
  color: #0a0a0a;
  text-transform: lowercase;
  position: relative;
}
.calendar__month--current::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #0a0a0a;
  margin: 8px auto 0;
}
.calendar__month--prev,
.calendar__month--next {
  font-size: 15px;
  font-weight: 500;
}
/* Дни недели */
.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.calendar__weekdays > div {
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
/* Сетка дней */
.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar__day {
  position: relative;
  min-height: 150px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
}
.calendar__day:nth-child(7n) {
  border-right: 0;
}
.calendar__day.is-outside {
  background: #fafafa;
}
.calendar__day.is-outside .calendar__day-num {
  color: #d1d5db;
}
.calendar__day.is-today {
  background: #fffbe6;
}
.calendar__day-num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #0a0a0a;
}
/* Число дня на домашних плашках — белым */
.calendar__day.has-home .calendar__day-num {
  color: #fff;
}
/* Матч внутри дня */
.calendar__day-matches {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.calendar__match {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.calendar__match:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
  z-index: 3;
}
.calendar__match.is-home {
  background: #0a0a0a;
  color: #ffd60a;
}
.calendar__match.is-away {
  background: #fff8cc;
  color: #0a0a0a;
}
/* Если матчей несколько — уменьшаем каждый */
.calendar__day-matches .calendar__match {
  position: relative;
  inset: auto;
  flex: 1;
  border-radius: 2px;
}
.calendar__match-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.calendar__match-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.calendar__match.is-home .calendar__match-icon {
  color: #fff;
}
.calendar__match.is-away .calendar__match-icon {
  color: #6b1a2a;
}
.calendar__match-score {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.calendar__match-title {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 4px;
}
/* Адаптив */

/* ============================================ STAFF — карточки тренеров и администрации ============================================ */
.staff-card {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border-radius: 0px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.staff-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e5e5e5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.staff-card:hover .staff-card__photo img {
  transform: scale(1.04);
}
.staff-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #a1a1aa;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.staff-card__body {
  padding: 18px 20px 22px;
  background: #fff;
  border-top: 3px solid #ffd60a;
}
.staff-card__name {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.staff-card__position {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.3;
}
/* Мобильный */

/* ============================================ СТРАНИЦА БИЛЕТЫ — MODERN 2026 ============================================ */
.tickets-page {
  background: #fff;
  padding: 80px 0 120px;
}
.tickets-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.tickets-page .page-header {
  text-align: center;
  margin-bottom: 60px;
}
.tickets-page .page-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 20px;
  position: relative;
  display: inline-block;
}
.tickets-page .page-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
  margin: 0;
  letter-spacing: 0.02em;
}
/* HERO-блок билетов */
.tickets-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  background: #0a0a0a;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}
.tickets-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #ffd60a;
  z-index: 2;
}
.tickets-hero__main {
  padding: 60px 56px 56px;
  position: relative;
  z-index: 2;
  background: #0a0a0a;
}
.tickets-hero__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffd60a;
  background: rgba(255, 214, 10, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.tickets-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 24px;
}
.tickets-hero__text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 36px;
  max-width: 480px;
}
/* Кнопка «Купить билет» */
.tickets-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: #ffd60a;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}
.tickets-btn-primary svg {
  transition: transform 0.25s ease;
}
.tickets-btn-primary:hover {
  background: #fff;
  color: #0a0a0a;
  transform: translateY(-2px);
  text-decoration: none;
}
.tickets-btn-primary:hover svg {
  transform: translate(3px, -3px);
}
.tickets-hero__note {
  margin: 20px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
}
.tickets-hero__note strong {
  color: #ffd60a;
  font-weight: 700;
}
/* Боковая колонка с фактами */
.tickets-hero__side {
  background: #141414;
  padding: 60px 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}
.tickets-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tickets-fact__num {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  color: #ffd60a;
  letter-spacing: -0.03em;
}
.tickets-fact__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-transform: lowercase;
  line-height: 1.3;
}
/* Контент из Gutenberg, если есть */
.tickets-editor-content {
  max-width: 800px;
  margin: 60px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: #0a0a0a;
}
.tickets-editor-content h2,
.tickets-editor-content h3 {
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
/* ============================================ Мобильный ============================================ */

/* ============================================ ЕДИНАЯ ДИЗАЙН-СИСТЕМА — overrides ============================================ */
:root {
  --yellow: #ffd60a;
  --yellow-dark: #997a00;
  --black: #0a0a0a;
  --dark: #141414;
  --gray: #6b7280;
  --gray-light: #f5f5f5;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.news-page,
.match-calendar-page,
.tickets-page,
.roster-page {
  color: #0a0a0a;
  background: #fff;
}
.news-page,
.match-calendar-page,
.tickets-page,
.roster-page {
  padding-top: 80px;
  padding-bottom: 80px;
}
.news-page .container,
.roster-page .roster-container,
.tickets-page .container {
  max-width: 1400px;
}
.news-page .page-header,
.match-calendar-page .page-header,
.tickets-page .page-header,
.roster-page .roster-heading {
  margin-bottom: 48px;
  text-align: center;
}
.news-page .page-title,
.match-calendar-page .page-title,
.tickets-page .page-title,
.roster-page .roster-title {
  display: inline-block;
  position: relative;
  margin: 0 0 16px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.news-page .page-subtitle,
.match-calendar-page .page-subtitle,
.tickets-page .page-subtitle,
.roster-page .page-subtitle {
  color: #6b7280;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.roster-page .roster-card,
.staff-card {
  border-radius: 0px;
  background: #f5f5f5;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.roster-page .roster-card:hover,
.staff-card:hover {
  transform: translateY(-4px);
  background: #ececec;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.roster-page .roster-card-photo,
.roster-page .roster-card-bottom,
.staff-card__body {
  background: #f5f5f5;
}
.staff-card__body {
  border-top-color: #ffd60a;
}
.news-filter,
.roster-panel .roster-tabs,
.roster-page .roster-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 0 0 40px;
  padding: 0;
  border: 0;
}
.news-filter__link,
.roster-tabs__link,
.roster-filter__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #6b7280;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.news-filter__link:hover,
.roster-tabs__link:hover,
.roster-filter__link:hover {
  color: #0a0a0a;
  border-bottom-color: rgba(255, 214, 10, 0.5);
}
.news-filter__link.is-active,
.roster-tabs__link.is-active,
.roster-filter__link.is-active {
  color: #0a0a0a;
  font-weight: 800;
  border-bottom-color: #ffd60a;
}
.roster-tabs__link::after {
  content: none;
}
.btn,
a.btn,
button.btn,
.match-slide-btn,
.tickets-btn-primary,
.banner-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid #0a0a0a;
  border-radius: 0;
  background: #0a0a0a;
  color: #ffd60a;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.btn:hover,
a.btn:hover,
button.btn:hover,
.match-slide-btn:hover {
  transform: translateY(-2px);
  border-color: #ffd60a;
  background: #ffd60a;
  color: #0a0a0a;
}
.match-slide-btn {
  display: flex;
  margin: 0 24px 24px;
}
.tickets-hero .tickets-btn-primary,
.banner-cta-btn {
  border-color: #ffd60a;
  background: #ffd60a;
  color: #0a0a0a;
}
.tickets-hero .tickets-btn-primary:hover,
.banner-cta-btn:hover {
  border-color: #fff;
  background: #fff;
  color: #0a0a0a;
  transform: translateY(-2px);
}
.banner-cta-btn {
  position: absolute;
  right: 5%;
  bottom: 8%;
  padding: 14px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.academy-cta {
  background: #f5f5f5;
  color: #0a0a0a;
}
.academy-cta-title {
  color: #0a0a0a;
}
.academy-cta-text {
  color: #6b7280;
}
.academy-cta-btn {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: #ffd60a;
}
.academy-cta-btn:hover {
  border-color: #ffd60a;
  background: #ffd60a;
  color: #0a0a0a;
}
.matches-all-link,
.home-news-all-btn {
  display: inline-block !important;
  padding: 0 0 4px !important;
  border: 0 !important;
  border-bottom: 3px solid #ffd60a !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0a0a0a !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition:
    color 0.25s ease,
    border-color 0.25s ease !important;
}
.matches-all-link:hover,
.home-news-all-btn:hover {
  color: var(--yellow-dark) !important;
  border-bottom-color: #0a0a0a !important;
}
.home-section h2,
.matches-slider-title,
.league-title,
.home-news-title,
.trophies-title,
.partners-title {
  font-size: clamp(24px, 3vw, 36px);
}
h2 {
  font-size: clamp(24px, 3vw, 36px);
}
h3 {
  font-size: 20px;
}

/* ============================================ ЕДИНЫЕ ЗАГОЛОВКИ СТРАНИЦ — левое выравнивание ============================================ */
.page-header,
.news-page .page-header,
.tickets-page .page-header,
.match-calendar-page .page-header,
.fans-page .page-header,
.roster-heading,
.roster-page .roster-heading {
  text-align: left;
}
.page-title,
.news-page .page-title,
.tickets-page .page-title,
.match-calendar-page .page-title,
.fans-page .page-title {
  display: inline-block;
  position: relative;
  margin: 0 0 16px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: left;
  text-transform: uppercase;
}
.roster-page .roster-title {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  text-align: left;
}
.page-subtitle,
.news-page .page-subtitle,
.tickets-page .page-subtitle,
.match-calendar-page .page-subtitle,
.fans-page .page-subtitle {
  margin: 0 0 40px;
  color: #6b7280;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-align: left;
  text-transform: uppercase;
}
.home-section h2,
.home-news-title,
.matches-slider-title,
.league-title,
.partners-title,
.trophies-title {
  text-align: left;
}
/* ============================================ ФИНАЛЬНОЕ УБИРАНИЕ СТАРЫХ ЖЁЛТЫХ ПОЛОСОК ============================================ */
.news-page .page-title::after,
.tickets-page .page-title::after,
.match-calendar-page .page-title::after,
.fans-page .page-title::after,
.roster-page .roster-title::after,
.roster-page .roster-section-title::after,
.page-header .page-title::after,
.page-title::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.roster-page .roster-heading {
  padding-bottom: 0;
  border-bottom: 0;
}
/* ============================================ ГЛАВНЫЕ ЗАГОЛОВКИ СТРАНИЦ — ЛИНИЯ ПО ШИРИНЕ КОНТЕЙНЕРА ============================================ */
.news-page .page-title,
.tickets-page .page-title,
.match-calendar-page .page-title,
.fans-page .page-title,
.page-header .page-title {
  display: block;
  width: 100%;
  margin: 0 0 32px;
  padding: 0 0 20px;
  border-bottom: 2px solid #0a0a0a;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: left;
  text-transform: uppercase;
}
.roster-page .roster-title {
  display: block;
  width: 100%;
  margin: 0 0 32px;
  padding: 0 0 20px;
  border-bottom: 2px solid #0a0a0a;
  color: #0a0a0a;
  font-size: clamp(28px, 3.5vw, 42px);
  text-align: left;
}
/* ============================================
   ПОБЕДЫ КЛУБА — ЦЕНТРИРОВАНИЕ ЗАГОЛОВКОВ
   ============================================ */

.trophies-section .trophies-head {
  text-align: center !important;
  padding: 60px 40px 40px !important;
}

.trophies-section .trophies-title {
  text-align: center !important;
  margin: 0 auto 12px !important;
  display: block !important;
  color: #fff !important;
}

.trophies-section .trophies-subtitle {
  text-align: center !important;
  margin: 12px auto 0 !important;
  display: block !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Мобильный — тот же центр */

/* ============================================
   СТРАНИЦА КЛУБ — MODERN 2026
   ============================================ */

.club-page {
  background: #fff;
  padding: 0;
  max-width: none;
}

.club-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HERO */
.club-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}
.club-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}
.club-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 2;
}
.club-hero__content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px 80px;
  color: #fff;
}
.club-hero__tag {
  display: inline-block;
  padding: 6px 16px;
  background: #ffd60a;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.club-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.club-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 640px;
}

/* Общие секционные элементы */
.club-section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #ffd60a;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.club-section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  margin: 0 0 24px;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ИСТОРИЯ */
.club-history {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding: 100px 0;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}
.club-history__text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 20px;
}
.club-history__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f5f5;
}
.club-history__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.club-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
  color: #a1a1aa;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ЦЕННОСТИ */
.club-values {
  padding: 100px 0;
  border-bottom: 1px solid #e5e7eb;
}
.club-values .club-section-title {
  margin-bottom: 56px;
}
.club-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.club-value {
  background: #f5f5f5;
  padding: 40px 28px;
  border-top: 3px solid #ffd60a;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.club-value:hover {
  background: #ececec;
  transform: translateY(-4px);
}
.club-value__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffd60a;
  color: #0a0a0a;
  margin-bottom: 24px;
}
.club-value__icon svg {
  display: block;
}
.club-value h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  margin: 0 0 12px;
}
.club-value p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: #6b7280;
  margin: 0;
}

/* СТАДИОН */
.club-stadium {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 100px 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: stretch;
}
.club-stadium__content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 32px;
}
.club-stadium__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.club-stadium__fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.club-stadium__fact-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.club-stadium__fact-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #0a0a0a;
  line-height: 1.3;
}
.club-stadium__cta {
  background: #0a0a0a;
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.club-stadium__cta h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.15;
}
.club-stadium__cta p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
}

/* АКАДЕМИЯ CTA */
.club-academy-cta {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  padding: 100px 0 120px;
  align-items: center;
}
.club-academy-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.club-academy-cta__content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin: 0;
  max-width: 640px;
}
.club-academy-cta__action {
  display: flex;
  justify-content: flex-end;
}

/* Кнопки */
.club-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 0;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.club-btn--yellow {
  background: #ffd60a;
  color: #0a0a0a;
}
.club-btn--yellow:hover {
  background: #fff;
  color: #0a0a0a;
  transform: translateY(-2px);
  text-decoration: none;
}
.club-btn--dark {
  background: #0a0a0a;
  color: #ffd60a;
}
.club-btn--dark:hover {
  background: #ffd60a;
  color: #0a0a0a;
  transform: translateY(-2px);
  text-decoration: none;
}
.club-btn svg {
  transition: transform 0.25s ease;
}
.club-btn:hover svg {
  transform: translateX(4px);
}

/* Адаптив */

/* ============================================
   КЛУБ — ТАЙМЛАЙН, ДОСТИЖЕНИЯ, ТУРНИРЫ
   ============================================ */

/* ТАЙМЛАЙН */
.club-timeline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid #ffd60a;
  padding-left: 24px;
}
.club-timeline__item {
  position: relative;
  padding: 14px 0;
  display: flex;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid #f3f4f6;
}
.club-timeline__item:last-child {
  border-bottom: 0;
}
.club-timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid #ffd60a;
}
.club-timeline__year {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-width: 110px;
  flex-shrink: 0;
}
.club-timeline__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: #4b5563;
  line-height: 1.5;
}

/* ДОСТИЖЕНИЯ */
.club-achievements {
  padding: 100px 0;
  border-bottom: 1px solid #e5e7eb;
}
.club-achievements .club-section-title {
  margin-bottom: 48px;
}
.club-achievements__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.club-achievement {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 28px;
  background: #0a0a0a;
  color: #fff;
  border-top: 4px solid #ffd60a;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.club-achievement:hover {
  background: #141414;
  transform: translateY(-4px);
}
.club-achievement__num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.85;
  color: #ffd60a;
  letter-spacing: -0.05em;
}
.club-achievement__num span {
  font-size: 32px;
  vertical-align: top;
  margin-left: 4px;
  letter-spacing: 0;
}
.club-achievement__body h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.25;
}
.club-achievement__body p {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}
.club-achievements__note {
  font-family: var(--font-body);
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  max-width: 640px;
  line-height: 1.6;
}

/* МЕЖДУНАРОДНЫЕ ТУРНИРЫ */
.club-international {
  padding: 100px 0;
  border-bottom: 1px solid #e5e7eb;
}
.club-international__intro {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 32px;
  max-width: 900px;
}
.club-international__seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.club-international__season {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #f5f5f5;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border-left: 3px solid #ffd60a;
  transition: background 0.2s ease;
}
.club-international__season:hover {
  background: #ececec;
}

/* Адаптив для новых блоков */

/* HERO — фон с фото */
.club-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: 1;
}
.club-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 2;
}
/* ============================================
   АКАДЕМИЯ — СТРАНИЦА С ТАБАМИ
   ============================================ */

.academy-page {
  background: #fff;
  padding: 0;
  max-width: none;
}
.academy-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 40px;
  text-align: left;
}
.academy-header .page-title {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 2px solid #0a0a0a;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: left;
  text-transform: uppercase;
}
.academy-header .page-subtitle {
  font-size: 14px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 768px) {
  .academy-header .page-subtitle {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.05em;
  }
}

.academy-enrollment {
  box-sizing: border-box;
  max-width: 1000px;
  margin: 80px auto;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 32px rgb(10 10 10 / 5%);
}
.academy-enrollment__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.academy-enrollment__title {
  margin: 0 0 12px;
  color: #0a0a0a;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-transform: uppercase;
}
.academy-enrollment__intro {
  margin: 0 0 48px;
  color: #6b7280;
  font-size: 16px;
}
.academy-steps {
  display: flex;
  max-width: 700px;
  flex-direction: column;
  margin: 0 auto 40px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.academy-step__card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #f9fafb;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}
.academy-step__card:hover {
  transform: translateX(4px);
  border-color: #ffd60a;
  background: #fff;
}
.academy-step__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #ffd60a;
  color: #0a0a0a;
}
.academy-step__icon svg {
  width: 30px;
  height: 30px;
}
.academy-step__number {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.academy-step__content h3 {
  margin: 0 0 5px;
  color: #0a0a0a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}
.academy-step__content p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
}
.academy-step__connector {
  position: relative;
  width: 0;
  height: 48px;
  margin-left: 51px;
  border-left: 2px dashed #cbd0d5;
}
.academy-step__guide {
  position: absolute;
  top: 50%;
  left: -1px;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.academy-step__guide img {
  display: block;
  width: 100%;
  height: 100%;
  animation: academy-eagle-step 1.5s ease-in-out infinite alternate;
}
.academy-step:nth-child(2) .academy-step__guide img {
  animation-delay: 0.75s;
}
.academy-enrollment__download {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border: 2px solid #0a0a0a;
  border-radius: 12px;
  background: #0a0a0a;
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
  color: #ffd60a;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}
.academy-enrollment__download svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.academy-enrollment__download:hover {
  transform: translateY(-3px);
  background: #222;
  box-shadow: 0 12px 30px rgb(0 0 0 / 24%);
  color: #ffd60a;
}
.academy-enrollment__download:focus-visible {
  outline: 3px solid #ffd60a;
  outline-offset: 4px;
}
@keyframes academy-eagle-step {
  from {
    transform: translateY(-3px);
  }
  to {
    transform: translateY(3px);
  }
}
@media (max-width: 600px) {
  .academy-enrollment {
    width: calc(100% - 32px);
    margin: 48px auto;
    padding: 36px 20px;
    border-radius: 18px;
  }
  .academy-enrollment__intro {
    margin-bottom: 32px;
  }
  .academy-steps {
    margin-bottom: 32px;
  }
  .academy-step__card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
  }
  .academy-step__icon {
    width: 52px;
    height: 52px;
  }
  .academy-step__icon svg {
    width: 26px;
    height: 26px;
  }
  .academy-step__content h3 {
    font-size: 15px;
  }
  .academy-step__content p {
    font-size: 13px;
  }
  .academy-step__connector {
    height: 44px;
    margin-left: 41px;
  }
  .academy-step__guide {
    width: 34px;
    height: 34px;
  }
  .academy-enrollment__download {
    width: 100%;
    box-sizing: border-box;
    gap: 9px;
    padding: 16px 12px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .academy-step__guide img {
    animation: none;
  }
}

.academy-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.academy-benefit {
  padding: 24px;
  background: #f7f7f5;
  border: 1px solid #e8e8e5;
  border-top: 3px solid #ffd60a;
}
.academy-benefit__icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  color: #111;
  background: #ffd60a;
}
.academy-benefit__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
.academy-benefit h2 {
  margin: 0 0 10px;
  color: #111;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}
.academy-benefit p {
  margin: 0;
  color: #626262;
  font-size: 14px;
  line-height: 1.65;
}

.academy-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* ТАБЫ */
.academy-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}
.academy-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.academy-filter:hover {
  border-color: #0a0a0a;
  color: #0a0a0a;
}
.academy-filter.is-active {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffd60a;
}

/* Сетка */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.academy-card {
  display: block;
  background: #f5f5f5;
  border-radius: 0px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.academy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  background: #ececec;
  text-decoration: none;
  color: inherit;
}
.academy-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e5e5e5;
}
.academy-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.academy-card:hover .academy-card__photo img {
  transform: scale(1.05);
}
.academy-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e5e5e5;
  color: #a1a1aa;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
}
.academy-card__body {
  padding: 20px;
  background: #fff;
  border-top: 3px solid #ffd60a;
}
.academy-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #0a0a0a;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.academy-card__coach {
  font-size: 13px;
  color: #4b5563;
  margin: 0 0 4px;
}
.academy-card__age {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}
.academy-empty {
  color: #6b7280;
  font-size: 16px;
  padding: 60px 0;
  text-align: center;
}

/* CTA */
.academy-cta-block {
  background: #0a0a0a;
  color: #fff;
  padding: 60px 40px;
  margin-top: 80px;
  text-align: center;
}
.academy-cta-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.academy-cta-block p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px;
}

/* Адаптив */

/* АКАДЕМИЯ — СПИСОК ГРУПП ТЕКСТОМ */
.academy-groups-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding: 40px 0 60px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
}
.academy-group-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  padding: 10px 20px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
  overflow-wrap: anywhere;
}
.academy-group-link:hover {
  color: #000;
  background-color: #ffd60a;
  border-color: #000;
  text-decoration: none;
}

/* ============================================
   АКАДЕМИЯ — SINGLE (страница группы)
   ============================================ */

.academy-single-page {
  background: #fff;
  padding: 60px 0 80px;
}

.academy-single-header {
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 2px solid #0a0a0a;
}

.academy-single-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 16px 0 16px;
}

.academy-single-meta {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.academy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid #ffd60a;
  padding: 0 0 4px;
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.academy-back-icon {
  display: inline-block;
  margin-right: 0;
  line-height: 1;
}
.academy-back-link:hover {
  color: var(--yellow-dark);
  border-color: #0a0a0a;
  text-decoration: none;
}

/* Тренер — карточка */
.academy-single-coach {
  margin-bottom: 80px;
}

.academy-coach-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin-top: 32px;
}

.academy-coach-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 0px;
}
.academy-coach-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.academy-coach-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.academy-coach-card__name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  text-transform: uppercase;
  margin: 0;
}

.academy-coach-card__position {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.academy-coach-card__schedule {
  font-family: var(--font-body);
  font-size: 15px;
  color: #4b5563;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #e5e7eb;
  line-height: 1.5;
}
.academy-coach-card__schedule strong {
  color: #0a0a0a;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-right: 8px;
}

/* Игроки */
.academy-single-players {
  margin-bottom: 80px;
}

/* CTA */
.academy-single-page .academy-cta-block {
  margin-top: 40px;
}

/* Адаптив */

/* ============================================
   БОЛЕЛЬЩИКАМ — СТРАНИЦА
   ============================================ */

.fans-page {
  background: #fff;
  padding: 60px 0 80px;
}

.fans-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.fans-header {
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 2px solid #0a0a0a;
}

.fans-header .page-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 16px;
  display: block;
  border: 0;
  padding: 0;
}

.fans-header .page-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* Секции */
.fans-section {
  padding: 80px 0;
  border-bottom: 1px solid #e5e7eb;
}
.fans-section:last-of-type {
  border-bottom: 0;
}

.fans-section__text {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.75;
  max-width: 800px;
  margin: 0;
}

/* 2 карточки */
.fans-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.fans-card {
  background: #f5f5f5;
  padding: 40px 32px;
  border-top: 3px solid #ffd60a;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fans-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffd60a;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.fans-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.2;
}

.fans-card p {
  font-size: 15px;
  color: #4b5563;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.fans-card .club-btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* Правила */
.fans-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.fans-rule {
  padding: 32px;
  border-radius: 0;
}

.fans-rule--allowed {
  background: #fffbe6;
  border-left: 4px solid #ffd60a;
}

.fans-rule--forbidden {
  background: #fef2f2;
  border-left: 4px solid #dc2626;
}

.fans-rule h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #0a0a0a;
}

.fans-rule ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fans-rule li {
  font-size: 15px;
  color: #4b5563;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.fans-rule--allowed li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
  font-weight: 900;
}

.fans-rule--forbidden li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 900;
}

/* Соцсети */
.fans-socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.fans-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: #f5f5f5;
  color: #0a0a0a;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
}

.fans-social:hover {
  background: #0a0a0a;
  color: #ffd60a;
  transform: translateY(-4px);
  text-decoration: none;
}

/* Контакты */
.fans-contact {
  background: #0a0a0a;
  color: #fff;
  padding: 60px 40px;
  margin-top: 60px;
  text-align: center;
}

.fans-contact h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}

.fans-contact p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px;
}

.fans-contact__info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.fans-contact__info a {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffd60a;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid rgba(255, 214, 10, 0.3);
  transition: all 0.25s ease;
}

.fans-contact__info a:hover {
  background: #ffd60a;
  color: #0a0a0a;
  border-color: #ffd60a;
  text-decoration: none;
}

/* Адаптив */

/* ============================================
   БОЛЕЛЬЩИКАМ — КЛУБ БОЛЕЛЬЩИКОВ
   ============================================ */

.fans-fanclub {
  max-width: 900px;
  margin: 0 0 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid #e5e7eb;
}

.fans-fanclub__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0 0 32px;
  line-height: 1.15;
}

.fans-fanclub__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fans-fanclub__content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin: 0;
}

.fans-fanclub__links,
.fans-fanclub__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fans-fanclub__links li a,
.fans-fanclub__contacts li a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: none;
  border-bottom: 2px solid #ffd60a;
  padding: 0 0 2px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.fans-fanclub__links li a:hover,
.fans-fanclub__contacts li a:hover {
  color: var(--yellow-dark);
  border-bottom-color: #0a0a0a;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .league-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .league-banner {
    position: static;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
  }
  .league-banner img {
    height: auto;
    min-height: 0;
  }

  .news-magazine {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .news-card--featured {
    min-height: 480px;
  }
  .news-magazine__aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .news-card--aside .news-card__link {
    height: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .news-card--aside {
    background: transparent;
  }
  .news-card--aside .news-card__thumb {
    width: 100%;
    height: 160px;
    aspect-ratio: auto;
    border-radius: 12px;
  }
  .news-card--aside .news-card__body {
    gap: 8px;
    padding: 16px 0;
  }

  .trophies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trophy-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .trophy-card:nth-child(2n) {
    border-right: none;
  }
  .trophy-card:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .roster-panel__top {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .roster-panel .roster-tabs {
    width: 100%;
    padding-bottom: 14px;
  }
  .roster-dropdowns {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 24px;
    width: 100%;
    padding-bottom: 14px;
  }
  .roster-dd--team .roster-dd__menu,
  .roster-dd--season .roster-dd__menu {
    right: auto;
    left: 0;
  }

  .club-history,
  .club-stadium {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .club-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .club-stadium__info {
    grid-template-columns: 1fr;
  }
  .club-academy-cta {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .club-academy-cta__action {
    justify-content: flex-start;
  }

  .club-achievements__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 960px) {
  .league-title {
    font-size: 40px;
  }
  .league-head {
    padding: 0 24px;
    margin-bottom: 30px;
  }
  .league-layout {
    padding: 0 24px;
    gap: 24px;
  }
  .league-standings thead th,
  .league-standings tbody td {
    padding: 14px 6px;
    font-size: 13px;
  }
  .team-logo {
    width: 36px;
    height: 36px;
  }
  .team-name {
    font-size: 13px;
  }

  .banner-carousel {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
  .banner-cta-btn {
    padding: 14px 28px;
    font-size: 14px;
  }

  .home-news-title {
    font-size: 36px;
  }
  .home-news-head {
    padding: 0 24px;
  }
  .home-news-viewport {
    padding: 0 24px;
  }
  .home-news-track {
    gap: 16px;
  }
  .home-news-card {
    flex-basis: calc((100% - 16px) / 2);
  }
  .home-news-card-title {
    font-size: 19px;
  }

  .news-page .news-grid,
  .single-news .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-title {
    font-size: 34px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsors-marquee {
    padding: 35px 0;
    margin-bottom: 40px;
  }
  .sponsors-track {
    gap: 60px;
    animation-duration: 70s;
  }
  .sponsor-item {
    height: 80px;
  }
  .sponsor-item img {
    max-width: 160px;
  }
  .matches-slider-title {
    font-size: 26px;
  }
  .match-slide-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
  .matches-slider-head {
    padding: 0 24px;
    max-width: 100%;
  }
  .matches-slider-viewport {
    padding: 0 24px;
  }
  .partners-section {
    padding: 60px 0;
  }
  .partners-title {
    font-size: 28px;
    padding: 0 30px;
    margin-bottom: 40px;
  }
  .partners-title::after {
    left: 30px;
    width: 50px;
  }
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0 30px;
  }
  .partner-item {
    padding: 20px;
    border-radius: 14px;
  }
  .partner-item img {
    border-radius: 8px;
  }
  .match-hero {
    min-height: 520px;
  }
  .match-hero-content {
    padding: 50px 24px 60px;
  }
  .match-hero-title {
    font-size: clamp(28px, 6vw, 48px);
    margin-bottom: 24px;
  }
  .match-hero-btn {
    padding: 16px 28px;
    font-size: 14px;
  }
  .match-hero-meta {
    font-size: 15px;
    gap: 12px;
  }

  .academy-cta {
    padding: 60px 0;
  }
  .academy-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .academy-cta-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .trophies-section::before {
    font-size: 28px;
    padding: 18px 0;
  }
  .trophies-head {
    padding: 50px 24px 0;
    margin-bottom: 40px;
  }
  .trophies-grid {
    padding: 0 24px 60px;
  }
  .trophy-card {
    padding: 40px 20px;
    min-height: 360px;
  }
  .trophy-icon {
    width: 90px;
    height: 100px;
  }

  .roster-page .roster-section > .roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0 24px;
  }
}

@media (max-width: 900px) {
  .news-page .container {
    padding-right: 28px;
    padding-left: 28px;
  }
  .news-magazine__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .dev-credit {
    display: none;
  }

  .calendar__day {
    min-height: 110px;
    padding: 10px 8px;
  }
  .calendar__day-num {
    font-size: 15px;
  }
  .calendar__match-logo {
    width: 28px;
    height: 28px;
  }
  .calendar__match-icon svg {
    width: 14px;
    height: 14px;
  }
  .calendar__match-score {
    font-size: 13px;
  }
  .calendar__match-title {
    font-size: 10px;
  }
  .calendar__month {
    font-size: 15px;
  }
  .calendar__month--current {
    font-size: 18px;
  }

  .tickets-hero {
    grid-template-columns: 1fr;
  }
  .tickets-hero__side {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .tickets-fact {
    flex: 1;
    min-width: 100px;
  }
  .tickets-fact__num {
    font-size: 32px;
  }

  .academy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .academy-container {
    padding: 0 24px 60px;
  }
  .academy-header {
    padding: 60px 24px 30px;
  }

  .academy-coach-card {
    grid-template-columns: 220px 1fr;
    gap: 32px;
  }

  .fans-grid-2,
  .fans-rules {
    grid-template-columns: 1fr;
  }
  .fans-socials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    min-height: 60px;
    padding: 0 15px;
    gap: 12px;
  }
  .top-bar-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    height: 100%;
  }
  .top-bar-left .custom-logo,
  .top-bar-left img,
  .custom-logo img {
    display: block;
    max-height: 42px;
    width: auto;
    margin: 0;
  }
  .top-bar-center {
    display: none !important;
  }
  .mobile-site-title {
    display: inline-block;
    margin-left: 12px;
    color: #0a0a0a;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    height: 100%;
    gap: 8px;
    margin-left: auto;
  }
  .top-bar-ticket-btn,
  .top-bar-right .lang-switcher {
    display: none !important;
  }
  .mobile-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(10, 10, 10, 0.14);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.07);
    color: #0a0a0a;
    text-decoration: none;
    transition:
      background-color 0.2s ease,
      transform 0.2s ease;
  }
  .mobile-header-icon svg {
    display: block;
    width: 19px;
    height: 19px;
  }
  .mobile-header-icon:hover,
  .mobile-header-icon:focus-visible {
    background: rgba(10, 10, 10, 0.14);
    color: #0a0a0a;
    transform: translateY(-1px);
    text-decoration: none;
  }
  .lang-switcher {
    font-size: 11px;
  }
  .lang-switcher__list {
    gap: 6px;
  }
  .lang-switcher__list a {
    padding: 4px 0;
  }
  .menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 2000;
  }
  .menu-toggle:focus,
  .menu-toggle:focus-visible,
  .menu-toggle:active {
    outline: none;
    box-shadow: none;
  }
  .menu-toggle span {
    display: block;
    position: absolute;
    width: 22px;
    height: 2px;
    left: 7px;
    top: 50%;
    background: #0a0a0a;
    border-radius: 2px;
    transform-origin: center;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.2s ease;
  }
  .menu-toggle span:nth-child(1) {
    transform: translateY(calc(-50% - 6px));
  }
  .menu-toggle span:nth-child(2) {
    transform: translateY(-50%);
  }
  .menu-toggle span:nth-child(3) {
    transform: translateY(calc(-50% + 6px));
  }
  .menu-toggle.toggled span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
  }
  .menu-toggle.toggled span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.toggled span:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
  }
  .bottom-bar {
    position: relative;
  }
  .bottom-bar-inner {
    padding: 0;
  }
  .main-navigation ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 16px 16px;
    padding: 0 12px;
    gap: 4px;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    z-index: 1500;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding 0.35s ease,
      visibility 0.35s;
  }
  .main-navigation.toggled ul {
    max-height: 70vh;
    padding: 12px;
    opacity: 1;
    visibility: visible;
  }
  .main-navigation li {
    width: 100%;
  }
  .main-navigation li a {
    display: inline-block;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 10px;
    text-align: left;
    white-space: normal;
    color: #0a0a0a;
  }
  .main-navigation li a::after {
    display: block;
    left: 20px;
    right: 20px;
    bottom: 8px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .main-navigation li a:hover,
  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a {
    position: relative;
    background: transparent;
    color: #ffd700;
    text-decoration: none;
  }
  .main-navigation li a:hover::after,
  .main-navigation .current-menu-item > a::after,
  .main-navigation .current_page_item > a::after {
    transform: scaleX(1);
  }
  .site-main {
    padding: 30px 20px;
  }
  .academy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .roster-card-number {
    font-size: 42px;
  }
  .roster-card-top {
    padding: 12px 14px;
  }
  .roster-card-position {
    font-size: 10px;
    padding: 4px 8px;
  }
  .roster-card-citizenship {
    font-size: 10px;
    padding: 3px 8px;
  }
  .roster-card-bottom {
    padding: 12px 14px 14px;
  }
  .roster-card-bottom h3 {
    font-size: 14px;
  }
  .roster-card-meta {
    font-size: 10px;
    gap: 4px;
  }
  .match-card {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding: 18px;
  }
  .match-card::before {
    width: 100%;
    height: 4px;
    bottom: auto;
    top: 0;
  }
  .match-home-away {
    text-align: center;
  }
  .player-info,
  .academy-single {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .match-info {
    padding: 20px;
  }
  .match-info p {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .league-table {
    font-size: 13px;
  }
  .league-table th,
  .league-table td {
    padding: 12px 10px;
  }
  .home-section h2,
  .site-main h1 {
    font-size: 24px;
  }
  .news-page .news-grid,
  .single-news .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .page-title {
    font-size: 34px;
  }

  .top-bar-ticket-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 8px 14px;
    font-size: 11px;
    transform: translate(-50%, -50%);
  }
  .top-bar-ticket-btn:hover,
  .top-bar-ticket-btn:focus-visible {
    transform: translate(-50%, calc(-50% - 2px));
  }
  .top-bar-ticket-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .footer-bottom .footer-copyright,
  .footer-bottom .footer-dev {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .league-section {
    padding: 40px 0;
  }
  .league-title {
    font-size: 28px;
  }
  .league-head {
    padding: 0 16px;
  }
  .league-layout {
    padding: 0 16px;
  }
  .league-standings .col-hide-sm {
    display: none;
  }
  .league-standings .col-pos {
    width: 36px;
    padding-left: 8px;
    font-size: 13px;
  }
  .league-standings .col-points {
    width: 50px;
    font-size: 14px;
  }
  .league-standings .col-team {
    padding-left: 8px;
  }
  .team-logo {
    width: 30px;
    height: 30px;
  }
  .team-name {
    font-size: 12px;
  }
  .team-city {
    font-size: 10px;
  }

  .news-page {
    padding: 50px 0 80px;
  }
  .news-page .container {
    padding-right: 20px;
    padding-left: 20px;
  }
  .news-page .page-header {
    margin-bottom: 40px;
  }
  .news-card--featured {
    min-height: 400px;
  }
  .news-card--featured .news-card__body {
    padding: 32px 24px 28px;
  }
  .news-card--featured .news-card__title {
    font-size: 24px;
  }
  .news-magazine__aside {
    grid-template-columns: 1fr;
  }
  .news-card--aside .news-card__link {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .news-card--aside .news-card__thumb {
    width: 110px;
    height: 110px;
    aspect-ratio: 1 / 1;
  }
  .news-card--aside .news-card__body {
    padding: 0;
  }
  .news-magazine__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-card--grid .news-card__title {
    font-size: 18px;
  }

  .banner-carousel {
    aspect-ratio: 3 / 2;
    max-height: none;
  }
  .banner-slide img {
    object-fit: contain;
    object-position: center;
  }
  .banner-cta-btn {
    padding: 12px 24px;
    font-size: 13px;
    right: 4%;
    bottom: 6%;
  }
  .banner-dots {
    bottom: 16px;
    gap: 8px;
  }

  .home-news-section {
    padding: 40px 0 50px;
  }
  .home-news-title {
    font-size: 28px;
  }
  .home-news-head {
    padding: 0 16px;
    margin-bottom: 20px;
  }
  .home-news-arrows {
    display: none;
  }
  .home-news-viewport {
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .home-news-viewport::-webkit-scrollbar {
    display: none;
  }
  .home-news-track {
    gap: 16px;
    padding: 0 16px;
  }
  .home-news-card {
    flex-basis: 78%;
    scroll-snap-align: start;
  }
  .home-news-card-title {
    font-size: 16px;
  }
  .home-news-image {
    margin-bottom: 14px;
  }
  .home-news-meta {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .home-news-footer {
    padding: 24px 16px 0;
    margin-top: 30px;
  }

  .news-page {
    padding: 40px 0 60px;
  }
  .news-page .news-grid,
  .single-news .news-grid {
    grid-template-columns: 1fr;
  }
  .page-title {
    font-size: 28px;
  }
  .single-news,
  .tickets-page,
  .fans-page {
    padding: 40px 0 60px;
  }
  .single-news__title {
    font-size: 26px;
  }
  .single-news__content,
  .tickets-editor-content,
  .fans-editor-content {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    padding: 20px 16px;
  }
  .sponsors-marquee {
    padding: 25px 0;
    margin-bottom: 30px;
  }
  .sponsors-track {
    gap: 40px;
    animation-duration: 55s;
  }
  .sponsor-item {
    height: 60px;
  }
  .sponsor-item img {
    max-width: 120px;
  }
  .matches-slider-section {
    padding: 40px 0 30px;
  }
  .matches-slider-title {
    font-size: 22px;
  }
  .matches-slider-head {
    padding: 0 16px;
  }
  .matches-slider-viewport {
    padding: 0 16px;
  }
  .match-slide-card {
    flex: 0 0 100%;
  }
  .matches-arrow {
    width: 38px;
    height: 38px;
  }
  .matches-all-link-wrap {
    padding: 0 20px 40px;
  }
  .partners-section {
    padding: 50px 0;
    width: 100%;
    overflow: hidden;
  }
  .partners-title {
    font-size: 22px;
    padding: 0 16px;
    margin-bottom: 30px;
    max-width: 100%;
  }
  .partners-title::after {
    left: 16px;
    width: 40px;
    height: 3px;
  }
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .partner-item {
    aspect-ratio: 1 / 1;
    padding: 14px;
    border-radius: 12px;
    background: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
  }
  .partner-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    overflow: hidden;
    display: block;
  }
  .match-hero {
    min-height: 480px;
  }
  .match-hero-content {
    padding: 40px 20px 50px;
  }
  .match-hero-tag {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 18px;
  }
  .match-hero-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .match-hero-btn {
    padding: 14px 24px;
    font-size: 13px;
    margin-bottom: 28px;
  }
  .match-hero-meta {
    font-size: 13px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .match-hero-divider {
    display: none;
  }

  .banner-dots {
    bottom: 16px;
    gap: 8px;
  }

  .academy-cta {
    padding: 50px 0;
  }
  .academy-cta-inner {
    padding: 0 16px;
    gap: 30px;
  }
  .academy-cta-btn {
    padding: 14px 24px;
    font-size: 13px;
  }
  .academy-cta-title::after {
    width: 50px;
    height: 3px;
    margin-top: 12px;
  }

  .trophies-section {
    padding: 40px 0 0;
  }
  .trophies-section::before {
    font-size: 22px;
    padding: 14px 0;
  }
  .trophies-head {
    padding: 40px 16px 0;
    margin-bottom: 30px;
  }
  .trophies-title {
    font-size: 28px;
  }
  .trophies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 16px 50px;
  }
  .trophy-card {
    padding: 30px 12px;
    min-height: 300px;
    gap: 16px;
  }
  .trophy-card:nth-child(2n) {
    border-right: none;
  }
  .trophy-icon {
    width: 70px;
    height: 80px;
  }
  .trophy-name {
    font-size: 14px;
  }
  .trophy-years {
    font-size: 22px;
  }

  .roster-page {
    padding: 38px 0 56px;
  }
  .roster-container {
    width: min(100% - 32px, 1400px);
  }
  .roster-page .roster-title {
    font-size: 24px;
    letter-spacing: -0.02em;
  }
  .roster-heading {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .roster-section {
    margin-bottom: 42px;
  }
  .roster-section-title {
    margin-bottom: 22px;
    font-size: 16px;
  }
  .roster-page .roster-section {
    margin-bottom: 40px;
  }
  .roster-page .roster-section-title {
    margin-bottom: 20px;
    font-size: 16px;
  }
  .roster-page .roster-card-bottom {
    gap: 8px;
    padding: 14px 12px 16px;
  }
  .roster-page .roster-card-bottom .roster-card-name {
    font-size: 13px;
  }
  .roster-page .roster-card-number,
  .roster-page .roster-card:hover .roster-card-number {
    font-size: 48px;
  }

  .roster-panel {
    padding: 0 16px;
  }
  .roster-panel__top {
    flex-wrap: wrap;
    gap: 12px;
  }
  .roster-panel .roster-tabs {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 14px;
  }
  .roster-tabs__link {
    font-size: 12px;
  }
  .roster-dropdowns {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    gap: 14px 20px;
    padding-bottom: 14px;
  }
  .roster-filter {
    flex: 0 0 auto;
  }
  .roster-dd__toggle {
    font-size: 12px;
    letter-spacing: 0.03em;
    gap: 6px;
  }
  .roster-dd--team .roster-dd__toggle,
  .roster-dd--season .roster-dd__toggle {
    font-size: 12px;
    letter-spacing: 0.03em;
  }
  .roster-dd__menu {
    min-width: 180px;
  }
  .roster-dd--team .roster-dd__menu,
  .roster-dd--season .roster-dd__menu {
    min-width: 180px;
  }
  .roster-dd__item {
    padding: 12px 18px;
    font-size: 14px;
  }
  .roster-dd--team .roster-dd__item,
  .roster-dd--season .roster-dd__item {
    font-size: 14px;
  }

  .roster-page .roster-section > .roster-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 16px 16px !important;
    margin: 0 0 40px !important;
    max-width: none !important;
    grid-template-columns: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .roster-page .roster-section > .roster-grid::-webkit-scrollbar {
    display: none !important;
  }
  .roster-page .roster-section > .roster-grid > .roster-card {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    aspect-ratio: 3 / 4 !important;
    scroll-snap-align: start !important;
  }
  .roster-page
    .roster-section
    > .roster-grid
    > .roster-card
    .roster-card-photo
    img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .roster-page .roster-container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .match-calendar-page {
    padding: 40px 0 60px;
  }
  .calendar__head {
    padding: 10px 0 20px;
    gap: 10px;
  }
  .calendar__nav {
    width: 40px;
    height: 40px;
  }
  .calendar__months {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .calendar__month--prev,
  .calendar__month--next {
    display: none;
  }
  .calendar__month--current {
    font-size: 18px;
  }
  .calendar__weekdays > div {
    padding: 14px 0;
    font-size: 10px;
  }
  .calendar__day {
    min-height: 80px;
    padding: 4px;
    overflow: hidden;
  }
  .calendar__day-num {
    font-size: 12px;
    top: 4px;
    left: 4px;
  }
  .calendar__day-matches {
    padding: 0;
  }
  .calendar__match {
    padding: 2px;
    gap: 2px;
    overflow: hidden;
  }
  .calendar__match-logo {
    width: 22px;
    height: 22px;
  }
  .calendar__match-icon {
    width: 14px;
    height: 14px;
  }
  .calendar__match-icon svg {
    width: 12px;
    height: 12px;
  }
  .calendar__match-score {
    font-size: 11px;
    line-height: 1;
  }
  .calendar__match-title {
    display: none;
  }

  .staff-card__name {
    font-size: 15px;
  }
  .staff-card__position {
    font-size: 12px;
  }
  .staff-card__body {
    padding: 14px 14px 16px;
  }

  .tickets-page {
    padding: 50px 0 80px;
  }
  .tickets-page .container {
    padding: 0 16px;
  }
  .tickets-page .page-header {
    margin-bottom: 40px;
  }
  .tickets-hero__main {
    padding: 40px 24px 36px;
  }
  .tickets-hero__side {
    padding: 32px 24px;
    flex-direction: column;
    gap: 24px;
  }
  .tickets-hero__text {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .tickets-btn-primary {
    padding: 16px 28px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
  .tickets-fact__num {
    font-size: 32px;
  }
  .tickets-fact__label {
    font-size: 12px;
  }

  .news-page,
  .match-calendar-page,
  .tickets-page,
  .roster-page {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .news-page .container,
  .tickets-page .container {
    padding-right: 20px;
    padding-left: 20px;
  }
  .news-filter,
  .roster-panel .roster-tabs,
  .roster-page .roster-tabs {
    gap: 20px;
  }
  .news-filter__link,
  .roster-tabs__link,
  .roster-filter__link {
    font-size: 12px;
  }
  .news-filter__link {
    padding-bottom: 3px;
    border-bottom-width: 2px;
  }

  .trophies-section .trophies-head {
    padding: 40px 16px 30px !important;
    text-align: center !important;
  }
  .trophies-section .trophies-title {
    text-align: center !important;
    font-size: 26px !important;
  }
  .trophies-section .trophies-subtitle {
    text-align: center !important;
    font-size: 14px !important;
  }

  .club-container {
    padding: 0 20px;
  }
  .club-hero {
    min-height: 480px;
  }
  .club-hero__content {
    padding: 60px 20px 60px;
  }
  .club-hero__title {
    font-size: clamp(32px, 9vw, 56px);
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .club-hero__subtitle {
    font-size: 15px;
  }
  .club-history,
  .club-values,
  .club-stadium,
  .club-academy-cta {
    padding: 60px 0;
  }
  .club-values__grid {
    grid-template-columns: 1fr;
  }
  .club-history__image {
    aspect-ratio: 4 / 3;
  }
  .club-value {
    padding: 28px 24px;
  }
  .club-stadium__cta {
    padding: 36px 24px;
  }
  .club-academy-cta {
    padding: 60px 0 80px;
  }
  .club-btn {
    width: 100%;
  }

  .club-timeline {
    padding-left: 20px;
  }
  .club-timeline__item {
    flex-direction: column;
    gap: 6px;
  }
  .club-timeline__item::before {
    left: -22px;
    top: 18px;
  }
  .club-timeline__year {
    font-size: 13px;
  }
  .club-timeline__text {
    font-size: 14px;
  }
  .club-timeline__year {
    min-width: auto;
  }
  .club-achievements,
  .club-international {
    padding: 60px 0;
  }
  .club-achievements__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .club-achievement {
    padding: 28px 24px;
  }
  .club-achievement__num {
    font-size: 52px;
  }
  .club-international__intro {
    font-size: 15px;
    line-height: 1.6;
  }
  .club-international__season {
    padding: 10px 20px;
    font-size: 14px;
  }

  .academy-container {
    padding: 0 20px 60px;
  }
  .academy-header {
    padding: 50px 20px 20px;
  }
  .academy-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .academy-benefit {
    padding: 20px;
  }
  .academy-benefit__icon {
    margin-bottom: 12px;
  }
  .academy-filters {
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .academy-filters::-webkit-scrollbar {
    display: none;
  }
  .academy-filter {
    padding: 10px 20px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .academy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .academy-cta-block {
    padding: 40px 24px;
    margin-top: 40px;
  }

  .academy-groups-list {
    gap: 20px;
    padding: 30px 0 40px;
  }
  .academy-group-link {
    font-size: 13px;
    padding: 10px 16px;
  }

  .academy-single-page {
    padding: 40px 0 60px;
  }
  .academy-single-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
  }
  .academy-single-title {
    font-size: 36px;
  }
  .academy-single-coach {
    margin-bottom: 50px;
  }
  .academy-coach-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .academy-coach-card__photo {
    aspect-ratio: 1 / 1;
    max-width: 280px;
  }
  .academy-coach-card__name {
    font-size: 28px;
  }
  .academy-single-players {
    margin-bottom: 50px;
  }

  .fans-page {
    padding: 40px 0 60px;
  }
  .fans-container {
    padding: 0 20px;
  }
  .fans-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
  }
  .fans-header .page-title {
    font-size: 36px;
  }
  .fans-section {
    padding: 50px 0;
  }
  .fans-card {
    padding: 28px 24px;
  }
  .fans-contact {
    padding: 40px 24px;
    margin-top: 40px;
  }
  .fans-contact__info {
    flex-direction: column;
    align-items: stretch;
  }
  .fans-contact__info a {
    font-size: 15px;
    text-align: center;
  }

  .fans-fanclub {
    margin-bottom: 50px;
    padding-bottom: 40px;
  }
  .fans-fanclub__title {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .fans-fanclub__content p {
    font-size: 15px;
    line-height: 1.65;
  }
  .fans-fanclub__links li a,
  .fans-fanclub__contacts li a {
    font-size: 14px;
    word-break: break-all;
  }
}

@media (max-width: 768px) {
  .partners-section {
    min-height: 640px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .partners-grid {
    display: block;
    position: relative;
    height: 440px;
    min-height: 440px;
    padding: 0 12px;
    overflow: hidden;
  }

  .partner-item,
  .partner-item:nth-child(n) {
    position: absolute;
    width: clamp(68px, 24vw, 100px);
    height: 60px;
    padding: 8px;
    aspect-ratio: auto;
    will-change: translate;
  }

  .partner-item:nth-child(1) {
    top: 4%;
    left: 4%;
    animation: swim-1 12s ease-in-out infinite -2s;
  }
  .partner-item:nth-child(2) {
    top: 7%;
    left: 28%;
    animation: swim-2 15s ease-in-out infinite -7s;
  }
  .partner-item:nth-child(3) {
    top: 3%;
    left: 52%;
    animation: swim-3 18s ease-in-out infinite -4s;
  }
  .partner-item:nth-child(4) {
    top: 8%;
    left: 76%;
    animation: swim-1 20s ease-in-out infinite -11s;
  }
  .partner-item:nth-child(5) {
    top: 36%;
    left: 4%;
    animation: swim-2 17s ease-in-out infinite -9s;
  }
  .partner-item:nth-child(6) {
    top: 40%;
    left: 28%;
    animation: swim-3 13s ease-in-out infinite -3s;
  }
  .partner-item:nth-child(7) {
    top: 35%;
    left: 52%;
    animation: swim-1 19s ease-in-out infinite -14s;
  }
  .partner-item:nth-child(8) {
    top: 41%;
    left: 76%;
    animation: swim-2 16s ease-in-out infinite -6s;
  }
  .partner-item:nth-child(9) {
    top: 68%;
    left: 16%;
    animation: swim-3 20s ease-in-out infinite -12s;
  }
  .partner-item:nth-child(10) {
    top: 70%;
    left: 40%;
    animation: swim-1 14s ease-in-out infinite -5s;
  }
  .partner-item:nth-child(11) {
    top: 67%;
    left: 64%;
    animation: swim-2 18s ease-in-out infinite -10s;
  }

  .partner-item:hover {
    animation-play-state: running;
    transform: none;
    box-shadow: none;
  }
  .partner-item:hover img {
    filter: grayscale(100%);
    transform: none;
  }
}
/* ФИКС: Кнопка "Репортаж" внутри карточки матча при наведении */
.matches-track .match-slide-card:hover .match-slide-btn {
  background-color: #0a0a0a !important;
  color: #ffd60a !important;
  border-color: #0a0a0a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* На всякий случай, если кнопка получает фокус */
.matches-track .match-slide-card:focus-within .match-slide-btn {
  background-color: #0a0a0a !important;
  color: #ffd60a !important;
}
/* КАЛЕНДАРЬ — СЕТКИ ПРОШЕДШИХ И БУДУЩИХ МАТЧЕЙ */
.matches-results-section {
  padding-top: 40px;
}

.matches-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 30px;
}

.matches-results-section .match-slide-card--calendar {
  min-width: 0;
  min-height: 320px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.07);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.matches-results-section .match-slide-card--calendar:hover {
  background: #fff;
  border-color: #ffd60a;
  box-shadow: 0 16px 34px rgba(10, 10, 10, 0.13);
  transform: translateY(-4px);
}

.matches-results-section .match-slide-card--calendar .match-slide-head {
  gap: 8px;
  padding: 24px 28px 0;
}

.matches-results-section .match-slide-teams--calendar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
}

.matches-results-section .match-slide-teams--calendar .match-slide-team {
  min-width: 0;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.matches-results-section
  .match-slide-teams--calendar
  .match-slide-team:last-child {
  text-align: right;
}

.matches-results-section .match-slide-teams--calendar .match-slide-score {
  padding: 0 4px;
  font-size: clamp(24px, 3vw, 32px);
}

.matches-results-section .match-slide-card--calendar .match-slide-btn {
  align-self: flex-start;
  width: auto;
  max-width: calc(100% - 56px);
  margin: auto 28px 24px;
  white-space: normal;
}

.matches-results-section .match-slide-card--calendar .match-slide-btn--report {
  display: inline-block;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 3px solid #ffd60a;
  background: transparent;
  color: #0a0a0a;
  text-align: left;
}

.matches-results-section
  .match-slide-card--calendar
  .match-slide-btn--report:hover {
  border-bottom-color: #0a0a0a;
  background: transparent;
  color: #997a00;
  box-shadow: none;
  transform: none;
}

.matches-results-section .match-slide-card--calendar .match-slide-btn--ticket {
  display: inline-flex;
  justify-content: center;
  padding: 14px 20px;
  border: 2px solid #0a0a0a;
  border-radius: 4px;
  background: #0a0a0a;
  color: #ffd60a;
  text-align: center;
}

.matches-results-section
  .match-slide-card--calendar
  .match-slide-btn--ticket:hover {
  border-color: #ffd60a;
  background: #ffd60a;
  color: #0a0a0a;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .matches-results-section {
    padding-top: 32px;
  }

  .matches-results-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
  }

  .matches-results-section .match-slide-card--calendar {
    min-height: 280px;
  }

  .matches-results-section .match-slide-card--calendar .match-slide-head {
    padding: 20px 22px 0;
  }

  .matches-results-section .match-slide-teams--calendar {
    gap: 8px;
    padding: 24px 20px;
  }

  .matches-results-section .match-slide-teams--calendar .match-slide-team {
    font-size: 15px;
  }

  .matches-results-section .match-slide-card--calendar .match-slide-btn {
    max-width: calc(100% - 44px);
    margin-right: 22px;
    margin-left: 22px;
  }
}

/* Стили для карточек академии */
.academy-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.academy-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.academy-card .roster-card-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background-color: #f3f4f6;
}

.academy-card .roster-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.academy-card:hover .roster-card-photo img {
  transform: scale(1.05);
}

.academy-card .roster-card-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.academy-card .roster-card-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.academy-card .roster-card-number {
  font-size: 16px;
  font-weight: 700;
  color: #facc15;
}

.academy-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.academy-card {
  background: #f3f4f6;
  border-radius: 12px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  border: 1px solid #e5e7eb;
}

.academy-card:hover {
  background: #e5e7eb;
  transform: translateY(-3px);
}

.academy-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  text-decoration: none;
  color: #000;
}

.academy-card-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.academy-card-arrow {
  color: #000;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.academy-card:hover .academy-card-arrow {
  transform: translateX(5px);
}

/* Стили для выпадающего подменю в шапке */
.main-navigation ul li {
  position: relative;
}

/* Скрываем подменю по умолчанию */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 8px 8px;
  display: none;
  flex-direction: column;
  z-index: 999;
  padding: 10px 0;
  margin: 0;
}

/* Показываем подменю при наведении на родительский пункт */
.main-navigation ul li:hover > ul {
  display: flex;
}

/* Стили для ссылок внутри подменю */
.main-navigation ul ul li {
  width: 100%;
  margin: 0;
}

.main-navigation ul ul a {
  display: block;
  padding: 12px 20px;
  color: #000 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s;
}

.main-navigation ul ul a:hover {
  background-color: #f3f4f6;
  color: #000 !important;
}

/* Убираем подчеркивание у ссылок в выпадающем меню */
.main-navigation ul ul a,
.main-navigation ul ul li a,
.site-nav ul ul a {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Убираем псевдоэлемент, если подчеркивание задано через него */
.main-navigation ul ul a::after,
.main-navigation ul ul li a::after,
.site-nav ul ul a::after {
  display: none !important;
}

/* Мобильное меню: раскрываем подменю при открытии пункта */
@media (max-width: 960px) {
  .main-navigation ul ul,
  .main-navigation.toggled ul ul,
  .site-nav.toggled ul ul,
  .site-nav ul ul {
    position: static;
    display: none;
    flex-direction: column;
    width: 100%;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 20px;
    margin: 0;
    border-radius: 0;
  }

  .main-navigation ul li:hover > ul,
  .site-nav ul li:hover > ul {
    display: none;
  }

  .main-navigation ul li.is-open > ul,
  .site-nav ul li.is-open > ul {
    display: flex;
  }

  .main-navigation ul li.menu-item-has-children > a::after,
  .site-nav ul li.menu-item-has-children > a::after {
    content: "" !important;
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin-left: 8px !important;
    border-right: 2px solid #0a0a0a !important;
    border-bottom: 2px solid #0a0a0a !important;
    transform: rotate(45deg) !important;
    vertical-align: middle !important;
    position: relative !important;
    top: -3px !important;
    background: transparent !important;
    font-size: 0 !important;
    transition: transform 0.3s ease !important;
  }

  .main-navigation ul li.is-open > a::after,
  .site-nav ul li.is-open > a::after {
    transform: rotate(-135deg) !important;
    top: 0 !important;
  }
}

/* Исправление карточек тренеров на мобильных */
@media (max-width: 768px) {
  .roster-page .roster-section > .roster-grid:has(> .staff-card) {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    gap: 20px !important;
  }

  .roster-page .roster-section > .roster-grid:has(> .staff-card) > .staff-card {
    flex: 0 1 auto !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .staff-card__name,
  .staff-card__position {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Ограниченная сетка для карточки тренера Алай Жаштар */
.roster-page .academy-single-coach > .roster-grid--players {
  display: grid;
  grid-template-columns: minmax(0, 320px);
  gap: 20px;
  width: min(100%, 320px);
  max-width: 320px;
}

/* Сетка игроков на странице Алай-Жаштар */
.alay-zhashtar-page-wrapper .roster-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  max-width: 1400px !important;
  margin: 0 auto 60px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.alay-zhashtar-page-wrapper .roster-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: #fff !important;
  border-radius: 0px !important;
}

.alay-zhashtar-page-wrapper .roster-card-photo {
  flex: 1 !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f1f1f1 !important;
}

.alay-zhashtar-page-wrapper .roster-card-bottom {
  padding: 20px !important;
  background: #fff !important;
  border-top: 3px solid #ffd60a !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 12px !important;
}

@media (max-width: 767px) {
  .alay-zhashtar-page-wrapper .roster-grid--players {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 16px !important;
    padding: 0 16px 16px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: none !important;
    margin: 0 0 60px !important;
    grid-template-columns: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .alay-zhashtar-page-wrapper .roster-grid--players::-webkit-scrollbar {
    display: none;
  }

  .alay-zhashtar-page-wrapper .roster-grid--players > .roster-card {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    scroll-snap-align: start !important;
  }
}
.alay-zhashtar-page-wrapper .roster-card-bottom {
  background-color: #f5f5f5 !important; /* или тот оттенок серого, который тебе нужен */
}
@media (max-width: 768px) {
  .academy-banner {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
  }
}

/* Навигация в академии */
.academy-subnav {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  margin-bottom: 40px;
}

.academy-subnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.academy-subnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: #0a0a0a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.academy-subnav a:hover {
  color: #ffd60a !important;
}

.academy-subnav a:hover::after {
  transform: scaleX(1);
}

.academy-subnav a.is-active {
  color: #0a0a0a;
  border-bottom-color: #ffd60a;
}

@media (max-width: 768px) {
  .academy-subnav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px 30px !important;
    padding: 20px 0 !important;
    margin-bottom: 30px !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  .academy-subnav a {
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    padding: 0 0 6px 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: #6b7280 !important;
    white-space: nowrap;
  }

  .academy-subnav a::after {
    display: block !important;
    bottom: 0;
    height: 2px;
  }

  .academy-subnav a.is-active {
    color: #0a0a0a !important;
    border-bottom: none !important;
  }

  .academy-subnav a.is-active::after {
    transform: scaleX(1);
  }
}
.management-page h1::after {
  display: none !important;
}
@media (max-width: 768px) {
  .academy-single-players .players-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 16px !important;
    border-bottom: 1px solid #e5e7eb;
  }

  .academy-single-players .players-header {
    display: none !important;
  }

  .academy-single-players .players-row > div {
    text-align: left !important;
  }

  .academy-single-players .player-position::before {
    content: "Амплуа: ";
    font-weight: 400;
    color: #6b7280;
  }

  .academy-single-players .player-birth::before {
    content: "Дата рождения: ";
    font-weight: 400;
    color: #6b7280;
  }
}

/* Mobile layout fixes for Academy pages */
@media (max-width: 768px) {
  .academy-banner-custom {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-top: -30px;
    background-size: cover;
    background-position: center top;
  }

  .academy-subnav-wrap {
    margin-top: 24px !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .academy-subnav {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 16px 0 !important;
    overflow: visible;
  }

  .academy-subnav a {
    flex: 0 0 auto;
    padding: 0 0 8px !important;
    font-size: 12px !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap;
  }

  .academy-subnav a.is-active::after {
    background: #ffd60a;
  }

  .academy-container {
    box-sizing: border-box;
  }

  .academy-groups-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin-top: 24px;
  }

  .academy-page .academy-cta-block,
  .academy-single-page .academy-cta-block {
    box-sizing: border-box;
    max-width: 100%;
  }

  .management-page .director-profile {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
  }

  .management-page .director-profile__photo {
    flex: 0 1 auto !important;
    align-self: center;
    width: 100% !important;
    max-width: min(100%, 360px) !important;
  }

  .management-page .director-profile__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100%;
  }
}

/* Unified staff cards and responsive staff grids */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.roster-page .roster-section > .staff-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.staff-grid--single {
  grid-template-columns: minmax(0, 320px);
}

.staff-grid > .staff-card {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #f5f5f5;
  text-decoration: none;
  box-sizing: border-box;
}

.staff-grid > .staff-card .staff-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
}

.staff-grid > .staff-card .staff-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}

@media (max-width: 768px) {
  .staff-grid,
  .roster-page .roster-section > .staff-grid:has(> .staff-card) {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 16px !important;
    padding: 0 16px 16px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .staff-grid::-webkit-scrollbar,
  .roster-page
    .roster-section
    > .staff-grid:has(> .staff-card)::-webkit-scrollbar {
    display: none !important;
  }

  .staff-grid > .staff-card,
  .roster-page .roster-section > .staff-grid:has(> .staff-card) > .staff-card {
    flex: 0 0 80% !important;
    width: 80% !important;
    max-width: 80% !important;
    scroll-snap-align: start !important;
  }

  .staff-card__name {
    font-size: 16px;
  }

  .staff-card__position {
    font-size: 13px;
  }

  .staff-card__body {
    padding: 14px 16px 18px;
  }
}
