.clubs-page {
  background: #f7f3ee;
  padding: 20px;
}

/* Шапка страницы */
.clubs-hero {
  text-align: center;
  margin: 10px 0 24px;
}

.clubs-hero__title {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.clubs-hero__subtitle {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* Сетка клубов */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  .clubs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .clubs-grid {
    grid-template-columns: 1fr;
  }
}

/* Карточка клуба */
.clubs-card {
  --club-primary: #0e1c44;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease,
    background-color 0.12s ease,
    color 0.12s ease;
}

.clubs-card:hover {
  transform: translateY(-2px);
  background-color: var(--club-primary, #0e1c44);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
  color: #ffffff;
}

.clubs-card:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

/* Левая часть — логотип */
.clubs-card__logo {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clubs-card__logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Правая часть — контент */
.clubs-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.clubs-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* наследует цвет от .clubs-card */
}

.clubs-card__stadium {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clubs-card__founded {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.3;
}

/* При ховере — осветляем подблоки, чтобы читались на цветном фоне */
.clubs-card:hover .clubs-card__stadium,
.clubs-card:hover .clubs-card__founded {
  color: #e5e7eb;
}

/* Пустое состояние / ошибка */
.clubs-empty {
  padding: 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  text-align: center;
}

/* Адаптив под мобилу */
@media (max-width: 480px) {
  .clubs-card {
    align-items: flex-start;
  }

  .clubs-card__name,
  .clubs-card__stadium {
    white-space: normal;
  }
}
