/*
File Name: 		custom.css
Description:  You can add your custom CSS here and it will overwrite template styles
*/

/* Ranking */
.table-standings th,
.table-standings td {
  vertical-align: middle;
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9ecef;
  color: #333;
  font-weight: 700;
}
.rank-badge.rank-1 {
  background: linear-gradient(135deg, #ffd700, #ffb300);
  color: #111;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25);
}
.rank-badge.rank-2 {
  background: linear-gradient(135deg, #cfd2d4, #aeb2b8);
  color: #111;
}
.rank-badge.rank-3 {
  background: linear-gradient(135deg, #d8a36f, #b07a47);
  color: #fff;
}
.rank-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.media--ranking .media-left {
  margin-right: 10px;
}

/* Download */
.download-meta .label {
  display: inline-block;
  background: #f1f3f5;
  color: #6c757d;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.download-actions .btn {
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Install */
.install-steps {
  padding-left: 18px;
}
.install-steps li {
  margin-bottom: 6px;
}

/* Minor tweaks */
.card__header--has-filter .card-header__button {
  margin-top: 2px;
}

@media (max-width: 767px) {
  .header__secondary .info-block { display: none; }
  .page-heading__title { font-size: 28px; }
}

/* ===== Navigation Active & Footer Secondary ===== */
/* Highlight current page in the top nav */
.main-nav__list > li.active > a {
  color: #ffdc11;
}
/* Footer secondary layout and active state */
.footer-secondary__inner {
  padding: 14px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-nav__item a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-nav__item.active a {
  color: #ffdc11;
  font-weight: 600;
}
@media (max-width: 767px) {
  .footer-nav { gap: 6px 12px; }
}
