/* ============================================================
   HC TORPEDO NIZHNY NOVGOROD — OFFICIAL WEBSITE STYLES
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&family=Roboto:wght@300;400;500;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-dark:        #0A1628;
  --bg-card:        #0F1F3D;
  --bg-card-hover:  #142847;
  --primary:        #1D5FA8;
  --primary-light:  #2E7FD4;
  --highlight:      #E8A020;
  --highlight-dark: #C47F10;
  --text-primary:   #FFFFFF;
  --text-secondary: #A0B4C8;
  --border:         rgba(255, 255, 255, 0.1);
  --header-bg:      rgba(10, 22, 40, 0.97);
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-btn:     0 4px 16px rgba(232, 160, 32, 0.35);
  --radius-card:    8px;
  --radius-btn:     4px;
  --transition:     0.2s ease;
  --header-height:  70px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dark theme — only on custom TP pages (not Bitrix) */
body:has(.news-section, .news__grid-section, .schedule-section,
         .standings-section, .media-section, .partners-section, .tp-page,
         .loyalty-page) {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

/* Fix Bitrix pages where .composition/.staff is outside .wrapper due to HTML nesting issue.
   The wrapper has min-height:100% from main.css which creates a full-viewport empty block
   before the composition content. Setting min-height:0 collapses the empty wrapper. */
body:has(> .composition) .wrapper,
body:has(> .staff) .wrapper {
  min-height: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

img { display: block; max-width: 100%; }

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--highlight);
  border-radius: 2px;
}

.section-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  white-space: nowrap;
  transition: color var(--transition);
}

.section-link:hover { color: var(--highlight); }

/* Buttons — do not redefine .btn here, it conflicts with Bitrix's .btn class in main.css */

/* Tag badges */
.tag {
  display: inline-block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 2px;
}

.tag-match    { background: rgba(232, 160, 32, 0.2);  color: var(--highlight); }
.tag-team     { background: rgba(29, 95, 168, 0.25);  color: #5B9FE0; }
.tag-club     { background: rgba(46, 127, 212, 0.2);  color: #7BB8EE; }
.tag-media    { background: rgba(100, 180, 100, 0.2); color: #7DC87D; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.header-logo:hover { opacity: 0.9; }

.logo-svg { flex-shrink: 0; }

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.logo-sub {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--highlight);
}

/* Main Nav */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: stretch;
  height: var(--header-height);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
  cursor: pointer;
  user-select: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--highlight);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: var(--text-primary);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
}

.nav-link .chevron {
  margin-left: 4px;
  font-size: 9px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link .chevron { transform: rotate(180deg); }

/* Dropdowns (header nav only — scoped to .nav-item to avoid bleeding into gorky .dropdown) */
.nav-item .dropdown {
  position: absolute;
  top: calc(var(--header-height) - 1px);
  left: 0;
  min-width: 240px;
  background: #0D1C38;
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 11px 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.dropdown-link:last-child { border-bottom: none; }

.dropdown-link:hover {
  background: rgba(29, 95, 168, 0.15);
  color: var(--text-primary);
  padding-left: 26px;
}

/* Header actions */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.shop-link:hover { color: var(--text-primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 6px 0;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #080F1E;
  z-index: 999;
  overflow-y: auto;
  padding: 24px 20px;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.mobile-nav.open {
  display: block;
  transform: translateX(0);
}

.mobile-nav-item { border-bottom: 1px solid var(--border); }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.mobile-dropdown {
  padding-bottom: 8px;
  display: none;
}

.mobile-dropdown.open { display: block; }

.mobile-dropdown-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.mobile-dropdown-link:hover { color: var(--highlight); }

.mobile-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.mobile-actions .btn { flex: 1; justify-content: center; }

/* ============================================================
   HERO / SCOREBOARD SECTION
   ============================================================ */
.hero {
  margin-top: var(--header-height);
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 40px 0 48px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(29, 95, 168, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 75% 50%, rgba(10, 22, 40, 0.6) 0%, transparent 70%);
  pointer-events: none;
}

/* hex grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 2 L58 17 L58 47 L30 62 L2 47 L2 17 Z' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1'/%3E%3Cpath d='M30 52 L58 67 L58 97 L30 112 L2 97 L2 67 Z' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Next Match Panel */
.panel-next {
  background: var(--bg-card);
  padding: 40px 48px;
  position: relative;
}

.panel-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.panel-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--highlight);
  margin-bottom: 12px;
}

.panel-date {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.panel-time {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 32px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.team-logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--border);
  overflow: hidden;
}

.team-logo-torpedo {
  background: linear-gradient(135deg, var(--primary) 0%, #0F3A6E 100%);
}

.team-logo-traktor {
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  border-color: #FFD700;
}

.team-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-align: center;
}

.vs-divider {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 2px;
  flex-shrink: 0;
}

.match-venue {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 13px;
}

.venue-icon {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* Last Match Panel */
.panel-last {
  background: linear-gradient(135deg, #0D1A30 0%, #091220 100%);
  padding: 40px 48px;
  position: relative;
}

.panel-last::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--highlight), #F0C040);
}

.last-match-date {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.last-match-teams {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.last-match-teams span { color: var(--text-primary); }

.score-display {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.score-num {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}

.score-num.score-away { color: var(--text-secondary); }
.score-num.score-home { color: var(--primary-light); }

.score-separator {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 60px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
}

.score-result-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #E84040;
  padding: 4px 10px;
  background: rgba(232, 64, 64, 0.15);
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 16px;
}

.last-match-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section {
  background: var(--bg-dark);
  padding: 64px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary);
}

.news-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0D1A30 0%, #162035 100%);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.news-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-img-placeholder {
  width: 48px;
  height: 48px;
  opacity: 0.15;
}

.news-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 22, 40, 0.8) 100%);
}

.news-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

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

.news-date {
  font-size: 11px;
  color: var(--text-secondary);
}

.news-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  transition: color var(--transition);
  flex: 1;
}

.news-card:hover .news-title { color: var(--primary-light); }

.news-read-more {
  font-size: 12px;
  color: var(--primary-light);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  padding-top: 8px;
}

/* ============================================================
   SCHEDULE SECTION
   ============================================================ */
.schedule-section {
  background: #080F1E;
  padding: 64px 0;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}

.schedule-table thead tr {
  background: rgba(29, 95, 168, 0.15);
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  padding: 14px 20px;
  text-align: left;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.schedule-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition);
}

.schedule-table tbody tr:last-child { border-bottom: none; }

.schedule-table tbody tr:hover { background: rgba(29, 95, 168, 0.08); }

.schedule-table td {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-primary);
  vertical-align: middle;
}

.schedule-date-full {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.schedule-day {
  display: inline-block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
}

.schedule-time {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.schedule-opponent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.opp-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.opp-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.venue-cell {
  font-size: 13px;
  color: var(--text-secondary);
}

.home-badge {
  display: inline-block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(232, 160, 32, 0.15);
  color: var(--highlight);
  border: 1px solid rgba(232, 160, 32, 0.3);
  margin-left: 6px;
}

.away-badge {
  display: inline-block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(160, 180, 200, 0.1);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  margin-left: 6px;
}

.broadcast-cell {
  font-size: 13px;
  color: var(--primary-light);
}

/* ============================================================
   STANDINGS SECTION
   ============================================================ */
.standings-section {
  background: var(--bg-dark);
  padding: 64px 0;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}

.standings-table thead tr {
  background: rgba(29, 95, 168, 0.12);
  border-bottom: 1px solid var(--border);
}

.standings-table th {
  padding: 12px 16px;
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.standings-table th:nth-child(2) { text-align: left; }

.standings-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition);
}

.standings-table tbody tr:last-child { border-bottom: none; }
.standings-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

.standings-table tbody tr.highlight {
  background: rgba(29, 95, 168, 0.18);
  border-left: 3px solid var(--primary);
}

.standings-table tbody tr.highlight:hover {
  background: rgba(29, 95, 168, 0.25);
}

.standings-table td {
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  vertical-align: middle;
}

.standings-table td:nth-child(2) { text-align: left; }

.standings-pos {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  width: 40px;
}

.standings-team {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-logo-sm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: 'Roboto Condensed', sans-serif;
}

.team-logo-sm.torpedo-mini {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #fff;
}

.team-name-cell {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.standings-pts {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.highlight .standings-pts { color: var(--primary-light); }

/* ============================================================
   FANZONE / TICKETS BANNER
   ============================================================ */
.fanzone-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, #0A1628 0%, #0F2344 40%, #0D1C38 100%);
  position: relative;
  overflow: hidden;
}

.fanzone-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 20% 50%, rgba(29, 95, 168, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 30% 80% at 80% 50%, rgba(232, 160, 32, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.fanzone-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--highlight), var(--primary));
}

.fanzone-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.fanzone-content { flex: 1; }

.fanzone-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--highlight);
  margin-bottom: 12px;
}

.fanzone-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}

.fanzone-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.fanzone-price {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--highlight);
  margin-bottom: 28px;
}

.fanzone-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.fanzone-decoration {
  flex-shrink: 0;
  opacity: 0.12;
}

/* ============================================================
   MEDIA SECTION
   ============================================================ */
.media-section {
  background: #080F1E;
  padding: 64px 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary);
}

.media-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0D1A30 0%, #162035 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232, 160, 32, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.media-card:hover .play-btn {
  transform: scale(1.1);
  background: var(--highlight);
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #000;
  margin-left: 3px;
}

.media-info {
  padding: 16px;
}

.media-type {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.media-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 6px;
}

.media-date {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-section {
  background: var(--bg-dark);
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  aspect-ratio: 16/7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.15);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.partner-box:hover {
  border-color: rgba(29, 95, 168, 0.4);
  background: var(--bg-card-hover);
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060E1A;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; flex-direction: column; gap: 20px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-logo:hover { opacity: 0.85; }

.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 220px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
}

.social-link svg { display: block; }

.footer-col-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}

.footer-link:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.affiliate-clubs { display: flex; flex-direction: column; gap: 12px; }

.affiliate-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.affiliate-item:hover {
  border-color: rgba(29, 95, 168, 0.4);
  background: rgba(29, 95, 168, 0.06);
}

.affiliate-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.affiliate-info { display: flex; flex-direction: column; gap: 2px; }

.affiliate-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
}

.affiliate-league {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Footer bottom */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(160, 180, 200, 0.5);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(160, 180, 200, 0.4);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--text-secondary); }

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================================
   RESPONSIVE — TABLET 768px
   ============================================================ */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .shop-link { display: none; }
  .hamburger { display: flex; }

  .hero-panels { grid-template-columns: 1fr; }
  .panel-next, .panel-last { padding: 32px 28px; }

  .score-num { font-size: 60px; }

  .media-grid { grid-template-columns: 1fr 1fr; }

  .schedule-table th:nth-child(4),
  .schedule-table td:nth-child(4) { display: none; }

  .standings-table th:nth-child(n+6),
  .standings-table td:nth-child(n+6) { display: none; }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  .news-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: auto; }

  .fanzone-inner { flex-direction: column; text-align: center; }
  .fanzone-decoration { display: none; }

  .score-num { font-size: 50px; }

  .schedule-table th:nth-child(3),
  .schedule-table td:nth-child(3),
  .schedule-table th:nth-child(5),
  .schedule-table td:nth-child(5) { display: none; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .hero { padding: 24px 0 32px; }
  .panel-next, .panel-last { padding: 24px 20px; }
  .score-num { font-size: 40px; }
  .score-separator { font-size: 40px; }
  .team-logo-circle { width: 60px; height: 60px; }
  .panel-time { font-size: 32px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Active tab styling — main.css already handles .ui-tabs-active via jQuery UI classes */

/* ============================================================
   GOODS CAROUSEL — replace Swiper/absolute-positioning approach
   with CSS Grid at desktop. Gorky's absolute-position grid is
   unreliable because slides end up positioned against the wrong
   ancestor. Grid is explicit and layout-engine-independent.

   Layout (1200px+): 3 cols [big | small | small], 2 rows
     col widths:  552px  270px  270px  (gap 12px)
     row heights: 270px  270px          (gap 12px)
     slide 1 spans both rows in col 1 (552×552)
     slides 2-5 fill the 2×2 grid in cols 2-3

   Layout (1600px+): 3 cols [big | small | small]
     col widths:  732px  358px  358px  (gap 16px)
     row heights: 358px  358px          (gap 16px)
   ============================================================ */
@media (min-width: 1200px) {
  .goods__carousel {
    overflow: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .goods__carousel-wrapper {
    display: grid !important;
    grid-template-columns: 552px 270px 270px !important;
    grid-template-rows: 270px 270px !important;
    gap: 12px !important;
    height: auto !important;
    transform: none !important;
    transition: none !important;
    position: static !important;
    width: auto !important;
  }
  .goods__slide {
    position: static !important;
    transform: none !important;
    transition: none !important;
    width: auto !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .goods__slide:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .goods__slide:nth-child(2) { grid-column: 2; grid-row: 1; }
  .goods__slide:nth-child(3) { grid-column: 3; grid-row: 1; }
  .goods__slide:nth-child(4) { grid-column: 2; grid-row: 2; }
  .goods__slide:nth-child(5) { grid-column: 3; grid-row: 2; }

  .goods__slide .goods__slide-wrapper {
    width: 270px !important;
    height: 270px !important;
  }
  .goods__slide:nth-child(1) .goods__slide-wrapper {
    width: 552px !important;
    height: 552px !important;
  }

  /* News carousel still uses gorky's absolute-positioning — keep position:relative */
  .news__carousel-wrapper {
    position: relative !important;
    width: 100% !important;
  }
}

@media (min-width: 1600px) {
  .goods__carousel-wrapper {
    grid-template-columns: 732px 358px 358px !important;
    grid-template-rows: 358px 358px !important;
    gap: 16px !important;
  }
  .goods__slide .goods__slide-wrapper {
    width: 358px !important;
    height: 358px !important;
  }
  .goods__slide:nth-child(1) .goods__slide-wrapper {
    width: 732px !important;
    height: 732px !important;
  }
}

/* ============================================================
   NEWS CARD TEXT POSITION — force text to the BOTTOM of each card.
   main.css sets align-items:flex-end + explicit height on the wrapper,
   but Swiper re-init can reset these. Override with higher specificity.
   Heights match main.css breakpoints exactly.
   ============================================================ */
.news__slide .news__slide-wrapper {
  display: flex !important;
  align-items: flex-end !important;
  height: 223px !important;
}
@media (min-width: 768px) {
  .news__slide .news__slide-wrapper {
    height: 237px !important;
  }
}
@media (min-width: 1200px) {
  .news__slide .news__slide-wrapper {
    height: 257px !important;
    width: 366px !important;
  }
  .news__slide:first-child .news__slide-wrapper {
    width: 743px !important;
    height: 490px !important;
  }
  .news__slide:nth-child(3) .news__slide-wrapper {
    height: 491px !important;
  }
}

/* ============================================================
   SLIDER BANNER — responsive height + anchored image position
   Fixed heights (543px/625px/842px) caused image to jump when
   zooming. clamp() makes height proportional to viewport width
   so image doesn't shift. object-position keeps subjects in view.
   ============================================================ */
.slider .slider__cover {
  height: clamp(400px, 58.5vw, 842px) !important;
}
.slider .slider__img {
  object-position: center 20% !important;
}

/* ============================================================
   SLIDER PAGINATION BULLETS
   vendors~main.bundle.js injects Swiper 8 CSS *after* main.css,
   overriding bullet shape (8px circles). Re-declare here with
   higher specificity (.slider__nav-pagination .swiper-*) to win.
   ============================================================ */
.slider__nav-pagination .swiper-pagination-bullet {
  position: relative;
  overflow: hidden;
  display: block !important;
  flex: 0 0 auto !important;
  width: 33px !important;
  height: 2px !important;
  border-radius: 0 !important;
  background: #fff !important;
  opacity: 0.3 !important;
  margin: 4px !important;
  cursor: pointer;
}
.slider__nav-pagination .swiper-pagination-bullet.active {
  opacity: 1 !important;
}
@media (min-width: 1200px) {
  .slider__nav-pagination .swiper-pagination-bullet {
    width: 55px !important;
    height: 5px !important;
    margin: 0 6px 6px !important;
  }
  /* Прижать пагинацию к правому краю.
     vendors~main.bundle.js (Swiper 8) инжектит position:absolute ПОСЛЕ main.css,
     из-за чего margin-left:auto не работает. Переопределяем обратно на relative. */
  .slider__nav-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin-left: auto !important;
    max-width: 270px !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
}
@media (min-width: 1600px) {
  .slider__nav-pagination .swiper-pagination-bullet {
    width: 69px !important;
    height: 6px !important;
    margin: 0 10px 10px !important;
  }
  .slider__nav-pagination {
    max-width: 360px !important;
  }
}

/* ============================================================
   SHIMMER LOADING — news cards skeleton while API loads.
   Shows instantly, replaces Bitrix static HTML before user sees it.
   ============================================================ */
@keyframes tp-shimmer-sweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Shimmer card background — animated gradient sweep */
.news__slide-wrapper._shimmer {
  background: linear-gradient(
    90deg,
    #0d1626 0%,
    #162035 30%,
    #1a2840 50%,
    #162035 70%,
    #0d1626 100%
  ) !important;
  background-size: 300% 100% !important;
  animation: tp-shimmer-sweep 1.6s infinite linear;
  cursor: default;
  pointer-events: none;
}
/* Hide real gradient overlay and hover overlay pseudo-elements */
.news__slide-wrapper._shimmer::before,
.news__slide-wrapper._shimmer::after {
  display: none !important;
}

/* Placeholder bars inside the shimmer card */
.news__shimmer-bar {
  display: block;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
  flex-shrink: 0;
}
.news__shimmer-bar._type   { width: 56px;  height: 22px; margin-bottom: 10px; border-radius: 4px; }
.news__shimmer-bar._title  { width: 88%;   height: 15px; margin-bottom: 7px; }
.news__shimmer-bar._title2 { width: 68%;   height: 15px; }
.news__shimmer-bar._date   { width: 90px;  height: 11px; margin-top: 14px; }

/* Fade-in for real slides after shimmer is replaced */
@keyframes news-slide-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.news__slide._fadein {
  animation: news-slide-fadein 0.45s ease both;
}


/* ============================================================
   TEAMROSTER — dynamic grid (no Swiper)
   ============================================================ */
.tp-roster-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  overflow: visible !important;
  flex-wrap: unset !important;
}
@media (min-width: 768px) {
  .tp-roster-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 1024px) {
  .tp-roster-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

.tp-roster-grid .composition__item {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  flex: none !important;
  display: block !important;
}

/* Fix image proportions inside grid (not Swiper) */
.tp-roster-grid .composition__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%;
  height: 0;
  overflow: hidden;
}
.tp-roster-grid .composition__img-container {
  position: absolute !important;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.tp-roster-grid .composition__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  max-width: none;
}

/* Staff shimmer loading */
@keyframes tp-staff-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.staff__item._shimmer .staff__img-container {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(90deg, #e8eaed 25%, #f5f5f5 50%, #e8eaed 75%);
  background-size: 200% 100%;
  animation: tp-staff-shimmer 1.4s infinite linear;
  border-radius: 4px;
}
.staff__item._shimmer .staff__item-content {
  padding-top: 16px;
}
.staff__item._shimmer .staff__shimmer-line {
  height: 14px;
  background: linear-gradient(90deg, #e8eaed 25%, #f5f5f5 50%, #e8eaed 75%);
  background-size: 200% 100%;
  animation: tp-staff-shimmer 1.4s infinite linear;
  border-radius: 4px;
  margin-bottom: 8px;
}
.staff__item._shimmer .staff__shimmer-line._name { width: 80%; height: 18px; }
.staff__item._shimmer .staff__shimmer-line._role { width: 55%; }

/* Staff card fade-in */
@keyframes tp-staff-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.staff__item._fadein {
  animation: tp-staff-fadein 0.4s ease both;
}

/* Image loading state — shimmer on container while photo loads */
.staff__img-container._img-loading {
  background: linear-gradient(90deg, #e8eaed 25%, #f5f5f5 50%, #e8eaed 75%);
  background-size: 200% 100%;
  animation: tp-staff-shimmer 1.4s infinite linear;
  border-radius: 4px;
}
/* Image hidden until loaded */
.staff__img._img-hidden {
  opacity: 0;
}
/* Smooth reveal when image is ready */
.staff__img:not(._img-hidden) {
  animation: tp-staff-img-reveal 0.35s ease both;
}
@keyframes tp-staff-img-reveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   LEADERS SECTION — синий фон, белый текст
   Переопределяет Bitrix main.css (#f4f6fa серый фон)
   ============================================================ */
.leaders {
  background: #fff;
}
.leaders .head-section__title,
.leaders .head-section__link {
  color: #00205b;
}
.leaders .head-section__link::after {
  border-color: #00205b;
}
.leaders .leaders__title {
  color: #00205b;
}
.leaders .leaders__title-text::before {
  border-top-color: #00205b;
}
.leaders .leaders__name {
  color: #00205b;
}
.leaders .leaders__status {
  color: rgba(0, 32, 91, 0.55);
}
.leaders .leaders__item {
  background: #f0f3f8;
}
.leaders .leaders__item:hover,
.leaders .leaders__item:active {
  background: #00205b;
}
.leaders .leaders__number {
  background: #fff;
  color: #00205b;
}
.leaders .leaders__stat {
  color: #00205b;
}
.leaders .leaders__stat-value {
  color: #c8102e;
}
.leaders .leaders__item:hover .leaders__name,
.leaders .leaders__item:active .leaders__name {
  color: #fff;
}
.leaders .leaders__item:hover .leaders__status,
.leaders .leaders__item:active .leaders__status {
  color: rgba(255, 255, 255, 0.6);
}
.leaders .leaders__item:hover .leaders__stat,
.leaders .leaders__item:active .leaders__stat {
  color: #fff;
}
.leaders .leaders__item:hover .leaders__number,
.leaders .leaders__item:active .leaders__number {
  background: #fff;
  color: #00205b;
}
.leaders .leaders__item:hover .leaders__stat-value,
.leaders .leaders__item:active .leaders__stat-value {
  color: #fff;
}

/* ============================================================
   MATCH SHIMMER — banner__bar._match и info__match skeleton
   while next-match / info-match API calls are in flight.
   Uses the same tp-shimmer-sweep keyframe already defined above.
   ============================================================ */


/* -- info__match shimmer placeholder bars -- */
.match__shimmer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.match__shimmer-bar {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 4px;
  flex-shrink: 0;
  animation: tp-shimmer-sweep 1.6s infinite linear;
  background-size: 300% 100%;
}
/* dark block (prev match, navy bg) */
.match._dark .match__shimmer-bar {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 300% 100%;
}
/* blue block (next match) */
.match._blue .match__shimmer-bar {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.14) 50%,
    rgba(255,255,255,0.06) 100%
  );
  background-size: 300% 100%;
}
.match__shimmer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}
.match__shimmer-name  { height: 14px; width: 80px; }
.match__shimmer-city  { height: 11px; width: 55px; margin-top: 6px; }
.match__shimmer-score { height: 40px; width: 70px; border-radius: 6px; }
.match__shimmer-date  { height: 13px; width: 120px; }
.match__shimmer-title { height: 14px; width: 90px; margin-bottom: 10px; }

/* fade-in when real data replaces shimmer */
@keyframes match-block-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.match._fadein {
  animation: match-block-fadein 0.4s ease both;
}


/* ============================================================
   NEWS GRID — homepage layout (like hctorpedo.ru)
   Row 1: big (2/3) | right col: normal + double (1/3)
   Row 2: 3 equal items
   Row 3: 2 items + subscription
   ============================================================ */

.news__grid-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news__grid-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Big container — full width mobile, 2/3 desktop */
.news__big-container {
  width: 100%;
  box-sizing: border-box;
}

/* Small container — full width mobile, 1/3 desktop */
.news__small-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Individual news item */
.news__item {
  width: 100%;
  box-sizing: border-box;
}

/* Item wrapper — card with image background */
.news__item,
.news__item * {
  cursor: pointer;
}

.news__item-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  color: #f4f6fa;
  width: 100%;
  height: 220px;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.news__item-wrapper::before,
.news__item-wrapper::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.2s;
}

.news__item-wrapper::before {
  background: linear-gradient(
    0deg,
    rgba(0, 32, 91, 0.98) 0%,
    rgba(0, 32, 91, 0.6) 40%,
    rgba(0, 32, 91, 0) 100%
  );
  z-index: 2;
}

.news__item-wrapper::after {
  background: #00205b;
  opacity: 0;
  z-index: 3;
}

.news__item:hover .news__item-wrapper::after { opacity: 0.35; }

/* Image */
.news__item-img-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}

.news__item-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Content overlay */
.news__item-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.news__item-info-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news__item-type {
  display: inline-flex;
  align-items: center;
  font-family: 'Rodchenko', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  align-self: flex-start;
}

.news__item-type._blue { background: #e8102a; color: #fff; }
.news__item-type._red  { background: #00205b; color: #fff; border: 1px solid #fff; }

.news__item-title {
  font-family: 'Rodchenko', sans-serif;
  font-size: 19px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.news__item-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: none;
}

.news__item-date {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* Big item btn */
.news__item-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  width: auto;
  background: #16223a;
  padding: 14px 30px;
  font-size: 16px;
}
.news__item-btn:hover,
.news__item-btn:active {
  background: #003da5;
}

/* Subscription block */
.news__grid-subscription {
  background: #00205b;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.news__grid-subscription__title {
  font-family: 'Rodchenko', sans-serif;
  font-size: 34px;
  color: #f4f6fa;
  text-transform: uppercase;
  margin: 0 0 24px;
  line-height: 1.05;
}

/* Input + button row */
.news__grid-subscription .subscription {
  display: flex;
  gap: 0;
}

.news__grid-subscription .field {
  flex: 1;
  margin: 0;
}

.news__grid-subscription .field__container {
  height: 56px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  display: flex;
  align-items: center;
}

.news__grid-subscription .field__input,
.news__grid-subscription .field._dark .field__input {
  background: transparent !important;
  border: none;
  outline: none;
  color: #fff !important;
  font-size: 15px;
  width: 100%;
  padding: 0 16px;
  height: 100%;
}

.news__grid-subscription .field__input::placeholder { color: rgba(255,255,255,0.45); }
.news__grid-subscription .field__input::selection { background: rgba(255,255,255,0.2); }

.news__grid-subscription .field__placeholder { display: none; }

.news__grid-subscription .subscription__btn {
  height: 56px;
  background: #e8102a;
  color: #fff;
  font-family: 'Rodchenko', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  padding: 0 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.news__grid-subscription .subscription__btn:hover { background: #c40d23; }
.news__grid-subscription .subscription__btn .btn__text { display: inline; }

.news__subscription-policy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.5;
}

.news__subscription-policy a { color: rgba(255,255,255,0.65); text-decoration: underline; }

/* ── News filter: reset button ── */
.news-filter-reset {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0 4px 8px;
  padding: 9px 14px;
  background: none;
  border: 1px solid #c8102e;
  color: #c8102e;
  font: 400 14px/1 'Rodchenko', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.1s;
}
.news-filter-reset:hover { background: rgba(200,16,46,0.08); }
.news-filter-reset:active { transform: scale(0.93); }

/* ── News filter: hover, active state, click animation ── */
.list-news__list-categories .dropdown__toggler {
  transition: transform 0.1s ease;
}
.list-news__list-categories .dropdown__toggler:hover .dropdown__toggler-text {
  background-color: rgba(200, 16, 46, 0.1) !important;
  color: #c8102e !important;
}
.list-news__list-categories .dropdown__toggler:active {
  transform: scale(0.93);
}
.list-news__list-categories .dropdown__toggler._active .dropdown__toggler-text {
  background-color: #c8102e !important;
  color: #f4f6fa !important;
}

/* ── Matches inline date label ── */
.calendar__event-date {
  font-size: 13px;
  color: rgba(12, 25, 49, 0.45);
  margin-bottom: 4px;
  padding: 0 4px;
}

/* Shimmer */
.news__item-wrapper._shimmer {
  background: linear-gradient(90deg, #0d1626 0%, #1a2840 50%, #0d1626 100%);
  background-size: 300% 100%;
  animation: tp-shimmer-sweep 1.6s infinite linear;
  cursor: default;
  pointer-events: none;
}
.news__item-wrapper._shimmer::before,
.news__item-wrapper._shimmer::after { display: none !important; }

.news__shimmer-bar {
  display: block;
  border-radius: 3px;
  background: rgba(255,255,255,0.12);
}
.news__shimmer-bar._type  { width: 60px; height: 20px; }
.news__shimmer-bar._title { width: 80%; height: 16px; margin-top: 6px; }
.news__shimmer-bar._title2{ width: 55%; height: 16px; margin-top: 4px; }
.news__shimmer-bar._date  { width: 80px; height: 11px; margin-top: 8px; }

/* Fade-in */
@keyframes news-item-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.news__item._fadein { animation: news-item-fadein 0.45s ease both; }

/* === DESKTOP (960px+) === */
@media (min-width: 960px) {
  .news__grid-row { flex-wrap: nowrap; }

  /* Top section: left column (2/3) + right column (1/3), aligned stretch */
  .news__grid-row._top { align-items: stretch; }

  /* Left column: big card + 2 middle tiles, stacked */
  .news__left-column {
    width: 66.66667%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .news__big-container { width: 100%; }
  .news__big-container .news__item-wrapper { height: 640px; }

  .news__big-container .news__item-content { padding: 40px 36px; }
  .news__big-container .news__item-title   { font-size: 48px; line-height: 0.95; letter-spacing: -0.5px; }
  .news__big-container .news__item-text    { display: block; margin-top: 12px; font-size: 15px; }
  .news__big-container .news__item-date    { margin-top: 18px; font-size: 14px; }
  .news__big-container .news__item-type    { font-size: 17px; padding: 9px 16px; margin-bottom: 14px; }

  /* Middle row — 2 equal tiles under big card */
  .news__grid-row._middle { flex-wrap: nowrap; }
  .news__grid-row._middle .news__item { width: calc(50% - 4px); }
  .news__grid-row._middle .news__item-wrapper { height: 320px; }

  /* Right column: 1/3 width, stretches to full height of left column */
  .news__small-container {
    width: 33.33333%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
  }

  .news__small-container .news__item { width: 100%; }

  /* First card: same height as regular tiles */
  .news__small-container .news__item:not(._double) { flex: 0 0 320px; }
  .news__small-container .news__item:not(._double) .news__item-wrapper { height: 320px; }

  /* Double card: fills all remaining height */
  .news__small-container .news__item._double { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .news__small-container .news__item._double .news__item-wrapper { flex: 1 1 0; min-height: 0; height: auto; width: 100%; }

  /* Bottom row — 2 news + subscription */
  .news__grid-row._bottom { align-items: stretch; }
  .news__grid-row._bottom .news__item { width: calc(33.33333% - 6px); }
  .news__grid-row._bottom .news__item-wrapper { height: 320px; }
  .news__grid-row._bottom .news__grid-subscription {
    width: calc(33.33333% - 6px);
    min-height: 320px;
    padding: 36px 28px;
  }
  .news__grid-row._bottom .news__grid-subscription__title { font-size: 26px; }
}

/* === TABLET (768px–959px) === */
@media (min-width: 768px) and (max-width: 959px) {
  .news__grid-row._middle,
  .news__grid-row._bottom { flex-wrap: wrap; }

  .news__grid-row._bottom .news__item { width: calc(50% - 4px); }
}

/* ============================================================
   EVENTS — shimmer placeholder slides while API loads
   ============================================================ */
/* Fix: shimmer slides must have explicit px widths so they don't
   inherit % widths relative to the swiper-wrapper total width */
.events__slide._shimmer-slide {
  width: 128px !important;
  flex-shrink: 0 !important;
}
@media (min-width: 768px) {
  .events__slide._shimmer-slide {
    width: 188px !important;
  }
}
@media (min-width: 1200px) {
  .events__slide._shimmer-slide {
    /* Approximate 1/6 of typical container width — JS applyWidths takes over after load */
    width: min(calc((100vw - 44px) / 6), 246px) !important;
  }
}

.events__content._shimmer {
  background: linear-gradient(
    90deg, #0c1931 0%, #16273f 30%, #1c3358 50%, #16273f 70%, #0c1931 100%
  );
  background-size: 300% 100%;
  animation: tp-shimmer-sweep 1.6s infinite linear;
  pointer-events: none;
  cursor: default;
}
.events__shimmer-bar {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 3px;
}
.events__shimmer-bar._day  { left: 14px; top: 10px;   width: 24px; height: 11px; }
.events__shimmer-bar._date { left: 10px; bottom: 8px; width: 52px; height: 36px; }
.events__shimmer-bar._type { right:  0;  top:     0;  width: 44px; height: 18px; }

/* ============================================================
   LEADERS — shimmer placeholder items while API loads
   ============================================================ */
@keyframes tp-shimmer-light {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.leaders .leaders__item._shimmer {
  pointer-events: none;
  background: linear-gradient(
    90deg, #e4e8f2 0%, #ecf0f9 30%, #f0f4fb 50%, #ecf0f9 70%, #e4e8f2 100%
  ) !important;
  background-size: 300% 100% !important;
  animation: tp-shimmer-light 1.6s infinite linear;
}
.leaders .leaders__item._shimmer > * { visibility: hidden; }
.leaders .leaders__item._main._shimmer { min-height: 350px; }
@media (min-width: 1600px) {
  .leaders .leaders__item._main._shimmer { min-height: 460px; }
}

/* ============================================================
   MEDIA — shimmer placeholder slides while API loads
   ============================================================ */
.media__slide._shimmer { pointer-events: none; cursor: default; }
.media__shimmer-card {
  width: 100%;
  height: 237px;
  background: linear-gradient(
    90deg, #0d1626 0%, #162035 30%, #1a2840 50%, #162035 70%, #0d1626 100%
  );
  background-size: 300% 100%;
  animation: tp-shimmer-sweep 1.6s infinite linear;
  box-sizing: border-box;
}
.media__slide._photo._shimmer .media__shimmer-card { height: 208px; }

/* ============================================================
   BLOCK FADE-IN — smooth reveal when shimmer is replaced
   ============================================================ */
@keyframes tp-block-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.events__wrapper._loaded        { animation: tp-block-fadein 0.4s ease both; }
.leaders__list._loaded          { animation: tp-block-fadein 0.4s ease both; }
.media__carousel-wrapper._loaded { animation: tp-block-fadein 0.4s ease both; }


/* ============================================================
   NEWS LIST PAGE — pin info-container to bottom of every card.
   ============================================================ */
.list-news__item-wrapper {
  position: relative !important;
}
.list-news__item-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 5 !important;
}

/* ============================================================
   NEWS LIST PAGE — apply 1600px-scale card sizes at 1200px+.
   Gorky CSS only sets 340px height and 21px titles at 1600px+;
   this backports them to 1200px so the page matches the reference.
   ============================================================ */
@media (min-width: 1200px) {
  .list-news__item-wrapper {
    height: 340px !important;
  }
  .list-news__advert-container .list-news__item-wrapper,
  .list-news__big-container    .list-news__item-wrapper {
    height: 696px !important;
  }
  .list-news__item-title {
    font-size: 21px !important;
    line-height: 1.38 !important;
    max-width: 350px !important;
  }
  .list-news__big-container .list-news__item-title {
    font-size: 60px !important;
    max-width: 920px !important;
  }
}

/* ============================================================
   PLAYOFFS BRACKET — убираем видимые полосы между карточками.
   Gorky CSS задаёт border и background #0c1931 на club-list,
   что темнее карточек (#16223a) и создаёт видимые полосы.
   Меняем на цвет карточек чтобы зазоры слились с ними.
   ============================================================ */
@media (min-width: 1200px) {
  .playoffs__club-list,
  .playoffs__subtotal-list {
    background: #16223a !important;
    border-color: #16223a !important;
  }
}

/* ============================================================
   GOODS BLOCK — shimmer загрузки, анимация появления,
   hover и active эффекты на плитках.
   ============================================================ */

/* --- Shimmer-заглушки пока картинки не загрузились --- */
.goods__slide._shimmer .goods__slide-wrapper {
  background: linear-gradient(
    90deg,
    #0d1a2e 0%, #162035 30%, #1e2f4a 50%, #162035 70%, #0d1a2e 100%
  ) !important;
  background-size: 300% 100% !important;
  animation: tp-shimmer-sweep 1.6s infinite linear;
  pointer-events: none;
}
.goods__slide._shimmer .goods__img-container,
.goods__slide._shimmer .goods__content,
.goods__slide._shimmer .goods__status {
  opacity: 0;
}

/* --- Анимация появления всей сетки --- */
@keyframes goods-fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1200px) {
  .goods__slide:nth-child(1) { animation: goods-fadein 0.45s ease both 0.05s; }
  .goods__slide:nth-child(2) { animation: goods-fadein 0.45s ease both 0.15s; }
  .goods__slide:nth-child(3) { animation: goods-fadein 0.45s ease both 0.20s; }
  .goods__slide:nth-child(4) { animation: goods-fadein 0.45s ease both 0.25s; }
  .goods__slide:nth-child(5) { animation: goods-fadein 0.45s ease both 0.30s; }
}

/* --- Hover: зум картинки + красный оверлей --- */
.goods__img-container {
  transition: transform 0.35s ease;
}
.goods__img {
  transition: transform 0.45s ease;
}
.goods__slide-wrapper {
  transition: background-color 0.25s ease !important;
}

/* Красный оверлей при наведении (горки: background-color:#c8102e)
   Добавляем плавность через transition, уже есть в gorky — усиливаем */
.goods__slide-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #c8102e;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.goods__slide-wrapper:hover::after {
  opacity: 0.18;
}
.goods__slide-wrapper:hover .goods__img {
  transform: scale(1.06);
}

/* --- Active (нажатие): лёгкое сжатие карточки --- */
.goods__slide-wrapper:active {
  transform: scale(0.97);
  transition: transform 0.12s ease !important;
}
.goods__slide-wrapper:active .goods__img {
  transform: scale(1.03);
}

/* Clip image zoom within card boundaries */
.goods__slide-wrapper {
  overflow: hidden;
}

/* ── Video duration badge on card images ── */
.video-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
}

/* ── News list shimmer — visible immediately, replaced by real cards after API loads ── */
/* News list pagination — hidden until JS shows it */
.list-news__pagination {
  display: none;
}

/* ============================================================
   NEWS LIST PAGE — shimmer cards while data loads
   ============================================================ */
.list-news__item._shimmer {
  pointer-events: none;
}
.list-news__item._shimmer .list-news__item-wrapper {
  background: linear-gradient(
    90deg,
    #0d1626 0%, #162035 30%, #1a2840 50%, #162035 70%, #0d1626 100%
  ) !important;
  background-size: 300% 100% !important;
  animation: tp-shimmer-sweep 1.6s infinite linear;
}
/* Placeholder bars inside shimmer news card */
.ln-sbar {
  display: block;
  background: rgba(255,255,255,0.09);
  border-radius: 3px;
  flex-shrink: 0;
}
.ln-sbar._type  { width: 56px; height: 20px; margin-bottom: 10px; border-radius: 4px; }
.ln-sbar._title { width: 88%; height: 14px; margin-bottom: 7px; }
.ln-sbar._t2    { width: 65%; height: 14px; }
.ln-sbar._date  { width: 90px; height: 11px; margin-top: 14px; }


/* ============================================================
   404 NOT FOUND PAGE
   ============================================================ */

.nf {
  background: #0A1221;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.nf__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.nf__picture {
  display: block;
  margin-bottom: 40px;
  max-width: 460px;
  width: 100%;
}

.nf__picture img {
  width: 100%;
  height: auto;
  display: block;
}

.nf__h {
  font-family: 'Rodchenko', 'Roboto Condensed', sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  line-height: 1.2;
}

.nf__text {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 40px;
  line-height: 1.5;
}

.nf__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.nf__btn:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.07);
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .nf {
    padding: 40px 16px;
    min-height: calc(100vh - 120px);
  }
  .nf__picture {
    max-width: 320px;
    margin-bottom: 28px;
  }
}

/* ============================================================
   PLAYOFF BRACKET
   ============================================================ */

.bracket__heading {
  margin: 32px 0 20px;
  font-size: clamp(20px, 3vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bracket__cover {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bracket {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 680px;
  padding-bottom: 24px;
}

.bracket__side {
  display: flex;
  flex: 1;
}

.bracket__side_west {
  flex-direction: row;
}

.bracket__side_east {
  flex-direction: row-reverse;
}

.bracket__final-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.bracket__round {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 0 8px;
}

.bracket__round-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-align: center;
  padding: 8px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.bracket__round-series {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-around;
  flex: 1;
  padding: 8px 0;
}

.bracket__series {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.bracket__series._active {
  border-color: var(--primary);
}

.bracket__team {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}

.bracket__team:last-child {
  border-bottom: none;
}

.bracket__team._winner {
  background: rgba(29, 95, 168, 0.25);
}

.bracket__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.bracket__team-name {
  flex: 1;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.bracket__score {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  min-width: 16px;
  text-align: right;
}

.bracket__team._winner .bracket__team-name,
.bracket__team._winner .bracket__score {
  color: #FFFFFF;
}

/* Conference labels */
.table__conf-title {
  margin: 32px 0 8px;
  font-size: clamp(16px, 2.5vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .bracket__round {
    min-width: 150px;
  }
}

/* Article detail page — hero banner starts below fixed header */
section.detail {
  padding-top: var(--header-height, 70px);
}

/* Statistics table — player name column shouldn't expand to fill all space */
.statistics__preview-player {
  white-space: nowrap;
}
.stat td:nth-child(2) {
  width: 1px;
}
.stat th:nth-child(2) {
  width: 1px;
  white-space: nowrap;
}

/* ============================================================
   TICKETS PAGE — shimmer skeletons + fade-in
   ============================================================ */

/* Shared shimmer sweep (dark theme) */
@keyframes tp-tickets-shimmer {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes tp-tickets-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tp-tickets-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.11) 30%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.11) 70%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 300% 100%;
  animation: tp-tickets-shimmer 1.5s infinite linear;
  border-radius: 5px;
  display: block;
}

/* ── Slider skeleton ── */
.sliderCard-skel {
  min-width: 280px;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sliderCard-skel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sliderCard-skel__date  { height: 14px; width: 150px; }
.sliderCard-skel__btn   { height: 30px; width: 80px; border-radius: 4px; }
.sliderCard-skel__body  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sliderCard-skel__logo  { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.sliderCard-skel__mid   { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sliderCard-skel__timer { height: 32px; width: 120px; border-radius: 4px; }
.sliderCard-skel__arena { height: 11px; width: 100px; }
.sliderCard-skel__foot  { height: 34px; border-radius: 4px; }

/* ── Match item skeleton (светлый фон) ── */
.calTicket-skel {
  background: #f0f3f9;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calTicket-skel__tag   { height: 13px; width: 90px; }
.calTicket-skel__body  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.calTicket-skel__logo  { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.calTicket-skel__mid   { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.calTicket-skel__time  { height: 20px; width: 56px; }
.calTicket-skel__date  { height: 11px; width: 95px; }
.calTicket-skel__foot  { height: 11px; width: 120px; }

/* Шиммер светлой темы для скелетонов секции билетов */
.calTicket-skel__tag,
.calTicket-skel__logo,
.calTicket-skel__time,
.calTicket-skel__date,
.calTicket-skel__foot {
  background: linear-gradient(90deg, #e4e8f2 0%, #edf1f9 40%, #f4f6fc 50%, #edf1f9 60%, #e4e8f2 100%);
  background-size: 300% 100%;
  animation: tp-shimmer-light 1.4s infinite linear;
  border-radius: 4px;
}

/* ── Calendar grid skeleton ── */
.cal-grid-skel {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 8px;
}
.cal-grid-skel__cell {
  height: 42px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e4e8f2 0%, #edf1f9 40%, #f4f6fc 50%, #edf1f9 60%, #e4e8f2 100%);
  background-size: 300% 100%;
  animation: tp-shimmer-light 1.4s infinite linear;
}

/* ── Fade-in for loaded content ── */
.tp-tickets-fadein {
  animation: tp-tickets-fadein 0.38s ease both;
}
/* Staggered fade for multiple items */
.tp-tickets-fadein:nth-child(1) { animation-delay: 0.00s; }
.tp-tickets-fadein:nth-child(2) { animation-delay: 0.06s; }
.tp-tickets-fadein:nth-child(3) { animation-delay: 0.12s; }
.tp-tickets-fadein:nth-child(4) { animation-delay: 0.18s; }
.tp-tickets-fadein:nth-child(5) { animation-delay: 0.24s; }

/* ── App store banner ── */
.app-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
}
.app-banner .banner-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}
.app-banner .banner-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.app-banner .store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.app-banner .store-badge {
  height: 44px;
  display: block;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.app-banner .store-buttons a:hover .store-badge {
  transform: translateY(-3px) scale(1.04);
  opacity: 0.9;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}



/* ── Homepage Standings Widget ───────────────────────────────── */
/* Native CSS scroll (js-scrollbar not re-initialized for dynamic content) */
.standings__content.hs-scroll {
  overflow-y: auto;
  max-height: 480px;
}

/* Fade-in при замене скелетона на реальные данные */
@keyframes hs-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hs-fade-in {
  animation: hs-fade-in 0.3s ease both;
}

/* Shimmer skeleton — строки таблицы */
.hs-shimmer-item .standings__position,
.hs-shimmer-item .standings__club-name,
.hs-shimmer-item .standings__info-value {
  visibility: hidden; /* скрываем реальный контент чтобы сохранить высоту строки */
}

.hs-shimmer-bar {
  display: inline-block;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.13) 40%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.13) 60%,
    rgba(255,255,255,0.05) 100%
  );
  background-size: 300% 100%;
  animation: tp-shimmer-sweep 1.5s infinite linear;
  vertical-align: middle;
}

.hs-shimmer-bar--xs    { width: 16px;  height: 12px; }
.hs-shimmer-bar--logo  { width: 28px;  height: 28px; border-radius: 50%; }
.hs-shimmer-bar--name  { width: 110px; height: 12px; }
.hs-shimmer-bar--num   { width: 28px;  height: 12px; }
.hs-shimmer-bar--goals { width: 52px;  height: 12px; }

/* ============================================================
   LOYALTY PAGE — Программа лояльности «Торпедо Фэмили»
   ============================================================ */

/* Page offset below fixed header */
.loyalty-page { padding-top: var(--header-height); }

/* Section backgrounds */
.lc-section-dark { background: var(--bg-dark); }
.lc-section-alt  { background: #080F1E; }

/* ── Hero (overrides .fanzone-banner padding) ── */
.lc-hero { padding: 90px 0 80px; }
.lc-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.lc-hero .fanzone-subtitle { max-width: 540px; margin-bottom: 36px; }


/* Stat pills in hero */
.lc-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.lc-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-card);
  padding: 16px 24px;
  min-width: 120px;
  text-align: center;
}
.lc-pill__val {
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--highlight);
  line-height: 1;
}
.lc-pill__label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.3;
}

/* App store buttons */
.lc-store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.lc-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-card);
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.lc-store-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.38);
  transform: translateY(-2px);
  color: #fff;
}
.lc-store-btn__sub  { display: block; font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.2; }
.lc-store-btn__name { display: block; font-size: 15px; font-weight: 700; }
.lc-store-btn__inner { display: flex; flex-direction: column; }

/* ── Card icon area (mimics .news-img but for icons) ── */
.lc-card-ico {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0A1628 0%, #0D1E3A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  color: var(--primary-light);
}
.lc-ico-gold { color: var(--highlight); }
.lc-card-ico::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.lc-ico-blue::after { background: var(--primary); }
.lc-ico-gold::after { background: var(--highlight); }
.lc-card-ico .lc-ico-sprite {
  width: 48px;
  height: 48px;
  opacity: 0.65;
}
.lc-ico-val {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--highlight);
  line-height: 1;
}

/* Card body text */
.lc-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Grid overrides for loyalty sections ── */
.news-grid.lc-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
.news-grid.lc-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }

/* ── Status tier section label ── */
.lc-status-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-left: 16px;
  margin: 40px 0 20px;
}
.lc-status-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 70%;
  background: var(--highlight);
  border-radius: 2px;
}

/* ── Status tier cards ── */
.lc-statuses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lc-status {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.lc-status:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.lc-status__head {
  padding: 10px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #fff;
  position: relative;
}
.lc-status__head::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.lc-status--bronze .lc-status__head { background: rgba(205,127,50,0.18); }
.lc-status--bronze .lc-status__head::before { background: #CD7F32; }
.lc-status--silver .lc-status__head { background: rgba(158,163,165,0.12); }
.lc-status--silver .lc-status__head::before { background: #9EA3A5; }
.lc-status--gold   .lc-status__head { background: rgba(232,160,32,0.12); }
.lc-status--gold   .lc-status__head::before { background: var(--highlight); }
.lc-status__body { padding: 24px 20px; }
.lc-status__cashback {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}
.lc-status--bronze .lc-status__cashback { color: #CD7F32; }
.lc-status--silver .lc-status__cashback { color: #9EA3A5; }
.lc-status--gold   .lc-status__cashback { color: var(--highlight); }
.lc-status__cashback-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.lc-status__conditions {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lc-status__condition {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.lc-status__condition::before { content: '—'; color: rgba(255,255,255,0.2); flex-shrink: 0; }

/* ── Note/info block ── */
.lc-note {
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(29,95,168,0.1);
  border: 1px solid rgba(29,95,168,0.25);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  margin-top: 24px;
}
.lc-note strong { color: rgba(255,255,255,0.75); }

/* ── FAQ accordion ── */
.lc-faq { display: flex; flex-direction: column; gap: 4px; max-width: 900px; }
.lc-faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.lc-faq details[open] {
  background: var(--bg-card-hover);
  border-color: rgba(29,95,168,0.4);
}
.lc-faq summary {
  padding: 20px 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  transition: color var(--transition);
}
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--primary-light);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition);
}
.lc-faq details[open] summary { color: var(--highlight); }
.lc-faq details[open] summary::after { transform: rotate(45deg); }
.lc-faq__answer {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .lc-hero { padding: 60px 0 50px; }
  .news-grid.lc-grid-2 { grid-template-columns: 1fr !important; }
  .lc-statuses { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .news-grid.lc-grid-3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .lc-pills { gap: 10px; }
  .lc-pill { min-width: 100px; padding: 12px 16px; }
  .lc-pill__val { font-size: 26px; }
  .lc-faq summary { font-size: 16px; padding: 16px 20px; }
  .lc-faq__answer { padding: 0 20px 18px; }
}

/* ══════════════════════════════════════════════════════════════
   Auth modal (am-*) — light white theme matching shop design
   ══════════════════════════════════════════════════════════════ */

/* Modal container — размер и отступы */
#login,
#recovery {
  border-radius: 8px;
  padding: 36px 32px 32px !important;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Fancybox перебивает фон модала своим #fff — восстанавливаем тёмный */
#login.fancybox__content,
#recovery.fancybox__content {
  background: #16223a !important;
}

/* Чекбокс "Запомнить меня" — светлый текст на тёмном фоне */
#login .input__remember-me label {
  color: #f4f6fa !important;
}

/* Убираем огромный отступ сверху у ссылок под кнопкой */
#login .modal__form-links-container._auth {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Close button */
.am-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  padding: 0;
  border-radius: 4px;
}
.am-close:hover { color: #1a1a1a; }

/* Title */
.am-title {
  font-family: 'Rodchenko', 'Roboto Condensed', sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 22px;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Tabs */
.am-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.am-tab {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.am-tab:hover { border-color: #c8102e; color: #c8102e; }
.am-tab--active {
  background: #c8102e;
  border-color: #c8102e;
  color: #fff;
}

/* Field wrapper */
.am-field-wrap {
  margin-bottom: 14px;
}

/* Input */
.am-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #1a1a1a;
  background: #f4f5f7;
  border: 1.5px solid #f4f5f7;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.am-input::placeholder { color: #9a9a9a; }
.am-input:focus {
  border-color: #c8102e;
  background: #fff;
}
.am-input--otp {
  font-size: 20px;
  letter-spacing: 0.25em;
  text-align: center;
}

/* Input with icon */
.am-input-icon-wrap {
  position: relative;
}
.am-input-icon-wrap .am-input {
  padding-right: 46px;
}
.am-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.am-eye:hover { color: #1a1a1a; }

/* Error message */
.am-error {
  display: none;
  color: #c8102e;
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Remember me */
.am-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 18px;
}
.am-remember input[type="checkbox"] { display: none; }
.am-remember__box {
  width: 16px;
  height: 16px;
  border: 1.5px solid #ccc;
  border-radius: 3px;
  flex-shrink: 0;
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.am-remember input:checked + .am-remember__box {
  background: #c8102e;
  border-color: #c8102e;
}
.am-remember input:checked + .am-remember__box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.am-remember__text {
  font-size: 13px;
  color: #555;
}

/* Primary button */
.am-btn-primary {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #c8102e;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  text-align: center;
}
.am-btn-primary:hover { background: #a50d26; }
.am-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* Divider */
.am-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #bbb;
  font-size: 12px;
}
.am-divider::before,
.am-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

/* VK button */
.am-btn-vk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: #0077FF;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Roboto Condensed', sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.am-btn-vk:hover { background: #0069e0; }

/* Links */
.am-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.am-link {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.am-link:hover { color: #c8102e; }

/* SMS hint */
.am-hint {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* Resend button */
.am-resend {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: transparent;
  border: none;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s;
}
.am-resend:hover:not(:disabled) { color: #c8102e; }
.am-resend:disabled { color: #bbb; cursor: default; }

/* Success message */
.am-success {
  font-size: 14px;
  color: #1a9e52;
  line-height: 1.6;
  text-align: center;
  padding: 20px 0 10px;
}

/* VKID floating container */
#vkid-floating-wrap {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#vkid-floating-wrap > * { pointer-events: auto; }

/* ================================================================
   Bug fixes: 13, 12, 21
   ================================================================ */

/* Bug 13 — /changes/ player photos don't scale (rules were scoped to .tp-roster-grid) */
.composition__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%;
  height: 0;
  overflow: hidden;
}
.composition__img-container {
  position: absolute !important;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.composition__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  max-width: none;
}


/* Bug 21 — breadcrumbs: force visible, readable color and size */
.page-head .page-head__breadcrumbs,
.cover > .page-head__breadcrumbs,
.page-head__breadcrumbs {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  gap: 4px;
}
.page-head .page-head__link,
.page-head__link {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.2s;
  margin: 0;
}
.page-head .page-head__link:hover,
.page-head__link:hover {
  color: #fff !important;
}
.page-head .page-head__last,
.page-head__last {
  color: rgba(255, 255, 255, 0.45) !important;
  margin: 0;
}

