.home-page {
  padding: 20px 20px 40px;
  background: #f7f3ee;
}
.featured-block {
  display: flex;
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
  gap: 20px;
}

.featured-article {
  position: relative;
  overflow: hidden;
  flex: 1 1 60%;
  height: 100%;
}

.featured-side {
  flex: 1 1 40%; /* Правый блок: минимум 40% */
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.featured-article--side {
  flex: 1 1 50%; /* Половина высоты для №2 и №3 */
  height: 200px;
  position: relative;
}

.featured-article__image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Масштабирование без искажения */
  position: absolute; /* Изображение на весь блок */
  top: 0;
  left: 0;
}

.featured-article__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%; /* Затемняем нижние 45% */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

.featured-article__content {
  position: absolute; /* Текст поверх изображения и градиента */
  bottom: 0;
  left: 0;
  right: 0;
}

.featured-article__title {
  position: absolute;
  bottom: 56px; /* По твоему требованию */
  left: 30px; /* По твоему требованию */
  right: 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff; /* Белый цвет */
  margin: 0;
  text-decoration: none; /* Без подчеркивания */
}

.featured-article__title a {
  color: #fff;
  text-decoration: none;
}

.featured-article__excerpt {
  position: absolute;
  bottom: 10px; /* По твоему требованию */
  left: 30px; /* По твоему требованию */
  right: 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff; /* Белый цвет */
  height: 40px; /* По твоему требованию */
  margin: 0;
  overflow: hidden; /* Обрезаем длинный текст */
  text-overflow: ellipsis; /* Многоточие для длинного текста */
}

/* Grid для новостей и статей */
.home-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1.2fr;
  gap: 20px;
}

/* Новости */
.news-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item {
  padding: 10px 15px;
  background-color: #fff;
  box-shadow: -8px 8px 15px rgba(0, 0, 0, 0.1);
}

.news-item__count-comment,
.article-item__count-comment {
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-item__count-comment-number,
.article-item__count-comment-number {
  font-size: 13px;
  font-weight: 600;
  color: #cac7c4;
}

.news-item__header,
.article-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-item__category {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgb(0, 0, 0); /* Серый для категории */
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.news-item__details {
  align-items: center;
  gap: 10px;
}

.news-item__time {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #999; /* Серый для даты */
}

.news-item__link {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #000; /* Чёрный текст */
  text-decoration: none;
}

.news-item__image,
.article-item__image {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.news-item__title,
.article-item__title {
  font-size: 20px;
  margin: 0 0 10px;
}

.news-item__excerpt,
.article-item__excerpt {
  margin: 0 0 10px;
}

.news-item__link:hover,
.article-item__link:hover {
  text-decoration: underline;
}

.news-item__date,
.article-item__date {
  margin: 0 0 10px;
}

.news-item__source,
.article-item__author {
  margin: 0 0 10px;
}

.news-item__content,
.article-item__content {
  margin: 0;
}

/* Статьи */
.article-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 15px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  box-shadow: -8px 8px 15px rgba(0, 0, 0, 0.1);
}

.article-item__left {
  flex: 1;
}

.article-item__date {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #999; /* Серый для даты */
  display: block;
  margin-bottom: 5px;
}

.article-item__title {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000; /* Чёрный заголовок */
  margin: 0 0 10px 0;
}

.article-item__title a {
  color: #000;
  text-decoration: none;
}

.article-item__excerpt {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #000; /* Чёрный текст */
  margin: 0;
}

.article-item__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
  .featured-block {
    flex-direction: column;
    height: 710px; /* Убираем фиксированную высоту */
  }

  .featured-article,
  .featured-side {
    flex: 1 1 100%;
    height: auto;
  }

  .featured-article--side {
    height: 200px; /* Сохраняем высоту для единообразия */
  }

  .home-page__grid {
    grid-template-columns: 1fr; /* Один столбец на мобильных */
  }

  .article-item {
    flex-direction: column;
  }

  .article-item__image {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .home-page {
    padding: 10px;
  }

  .featured-article__title {
    font-size: 20px;
    bottom: 48px; /* Корректируем для меньшего шрифта */
  }

  .featured-article__excerpt {
    font-size: 14px;
    bottom: 8px; /* Корректируем отступ */
    height: 30px; /* Уменьшаем высоту для мобильных */
  }

  .article-item__title {
    font-size: 18px;
  }

  .article-item__excerpt {
    font-size: 14px;
  }
}

/* === Leaders (scorers/assists) === */
.leaders {
  margin-top: 16px;
  background: #fff;
  overflow: hidden;
}

.leaders__header {
  padding: 6px 8px;
  border-bottom: 1px solid #efefef;
  background-color: #0e1c44;
  color: #f8f8f8;
}

.leaders__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.leaders-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaders-item {
  border-top: 1px solid #f3f3f3;
  display: flex;
  justify-content: space-between;
  padding: 5px 28px 3px 10px;
}

.leaders-item:first-child {
  border-top: 0;
}

.leaders-item__center {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 64%;
  padding-top: 5px;
  gap: 5px;
}

/* Аватар в кружке */
.leaders-item__avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.leaders-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Блок с именем и клубом */
.leaders-item__meta {
  display: flex;
  gap: 7px;
  min-width: 0;
  align-items: center;
  color: black;
  text-decoration: none;
}

.leaders-item__name {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Флаг, если есть */
.leaders-item__flag {
  width: 16px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
}

/* Клуб под именем */
.leaders-item__clubline {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaders-item__clubline a {
  color: inherit;
  text-decoration: none;
}

.leaders-item__clubline a:hover {
  text-decoration: underline;
}

/* Значение справа (голы/ассисты) */
.leaders-item__right {
  font-weight: 700;
  font-size: 14px;
  padding-top: 7px;
}

/* Ссылка-хвост в карточках на главной */
.home-more {
  border-top: 1px solid #f2f2f2;
  padding: 10px 12px;
  display: flex;
  justify-content: flex-end;
}
.home-more-link {
  font-size: 13px;
  font-weight: 600;
  color: #292929;
  text-decoration: none;
}
.home-more-link:hover {
  color: #555;
  text-decoration: underline;
}

/* скрываем стартовый —:— для LIVE/FINAL до первого числа */
.fixture-card__score.is-pending-score {
  opacity: 0; /* без сдвига, место сохраняется */
  transition: opacity 0.15s ease;
}
/* как только JS поставит числа, класс снимется, и счёт появится */
