/* Navigation Fix - Override old styles */
.site-header__nav-wrapper .container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 2rem !important;
  margin: 0 auto !important;
}

.site-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0 !important;
  width: 100% !important;
  transform: none !important;
  opacity: 1 !important;
  position: relative !important;
  top: unset !important;
  left: unset !important;
  background: transparent !important;
  overflow: visible !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  margin-top: 20px !important;
}

/* Override all navigation link styles with higher specificity */
.site-nav .nav__list .nav__item .nav__link,
.site-nav ul li .nav__link,
.site-nav a.nav__link,
.nav__list .nav__item .nav__link {
  font-size: 0.9rem !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  color: var(--clr-neutral-100) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  padding: 0.5rem 0.2rem !important;
  display: block !important;
}

.nav__list {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0.1rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1;
  flex-direction: row-reverse !important;
}

.nav__logo {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto;
  margin-left: 0 !important;
}

.nav__logo img {
  height: 40px !important;
  width: auto !important;
  transition: transform 0.3s ease !important;
}

.nav__logo:hover img {
  transform: scale(1.05) !important;
}

/* Banner Slider Styles */
.banner-slider {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 900px;
  height: 580px;
  z-index: 100;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 101;
}

.slider-prev,
.slider-next {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* League Table Section Styles */
.league-table-section {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 450px;
  height: auto;
  z-index: 100;
  overflow: visible;
}

.league-table-container {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.league-table {
  width: 100%;
  color: white;
}

/* Section Title */
.league-table .section-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Leagues Dropdown */
.leagues-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  align-items: stretch;
}

.league-dropdown {
  position: relative;
  width: 100%;
}

.league-dropdown button {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.league-dropdown button:hover {
  background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.league-list-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-radius: 10px;
  min-width: 100%;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 5px;
}

.league-dropdown:hover .league-list-wrapper {
  display: block;
}

.league-list {
  list-style: none;
  padding: 10px;
  margin: 0;
}

.league-list li a {
  display: block;
  padding: 8px 12px;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.league-list li a:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  transform: translateX(5px);
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
  padding: 12px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.table tbody tr {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
}

.table tbody tr:nth-child(-n+6) td:nth-child(1) {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(39, 174, 96, 0.3);
}

.table tbody tr:nth-child(n+7):nth-child(-n+9) td:nth-child(1) {
  background: linear-gradient(135deg, #95a5a6 0%, #bdc3c7 100%);
  color: #2c3e50;
  font-weight: bold;
}

.table tbody tr:nth-child(10) td:nth-child(1) {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  color: white;
  font-weight: bold;
}

.table tbody tr:nth-last-child(-n+2) td:nth-child(1) {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  color: white;
  font-weight: bold;
}

.table tbody tr:nth-child(6) td:nth-child(1) {
  background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
  color: white;
  font-weight: bold;
}

.table td:nth-child(2) {
  text-align: left;
  font-weight: 600;
  color: #ffffff;
}

.table tfoot button {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.table tfoot button:hover {
  background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Responsive League Table */
@media (max-width: 1400px) {
  .league-table-section {
    width: 400px;
    left: 10px;
  }
}

@media (max-width: 1200px) {
  .league-table-section {
    width: 350px;
    top: 620px;
    left: 20px;
    right: auto;
  }
  
  .banner-slider {
    width: 350px;
    height: 450px;
  }
}

@media (max-width: 768px) {
  .league-table-section {
    width: 280px;
    top: 450px;
    left: 5px;
  }
  
  .leagues-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .table {
    font-size: 0.7rem;
  }
  
  .table th,
  .table td {
    padding: 8px 5px;
  }
  
  .league-table .section-title {
    font-size: 1.1rem;
  }
}

/* Responsive Slider */
@media (max-width: 1200px) {
  .banner-slider {
    width: 350px;
    height: 450px;
    right: 10px;
    top: 80px;
  }
}

@media (max-width: 768px) {
  .banner-slider {
    width: 280px;
    height: 350px;
    right: 5px;
    top: 70px;
  }
  
  .slider-controls {
    bottom: 10px;
  }
  
  .slider-prev,
  .slider-next {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

.nav__list-primary,
.nav__list-secondary {
  display: none !important;
}

.nav__list-primary .nav__item,
.nav__list-secondary .nav__item {
  margin: 0 !important;
}

.nav__list-primary .nav__link,
.nav__list-secondary .nav__link {
  display: block !important;
  padding: 0.75rem 1.5rem !important;
  color: var(--clr-neutral-100) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  border-radius: 4px !important;
  font-family: inherit !important;
  text-transform: none !important;
}

.nav__list-primary .nav__link:hover,
.nav__list-secondary .nav__link:hover {
  background-color: var(--clr-accent-teal) !important;
  color: var(--clr-primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 212, 255, 0.3) !important;
}

.nav__list-primary .nav__link.active,
.nav__list-secondary .nav__link.active {
  background-color: var(--clr-accent-teal) !important;
  color: var(--clr-primary-dark) !important;
  font-weight: 600 !important;
}

/* Remove logo positioning styles */
.logo {
  display: none !important;
}

/* Remove old navigation styles */
.site-nav.active {
  transform: none !important;
  opacity: 1 !important;
}

/* Remove old after effects */
.site-nav a::after {
  display: none !important;
}

@media only screen and (min-width: 1200px) {
  .site-nav {
    position: relative !important;
    background-color: transparent !important;
  }
  
  .site-nav ul {
    display: flex !important;
    justify-content: flex-start !important;
  }
  
  .site-nav ul > div {
    display: flex !important;
    gap: 0 !important;
  }
}

/* News Section Styles */
.news-section {
  position: relative;
  top: unset;
  left: unset;
  right: unset;
  width: 100%;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  padding: 20px 0;
  z-index: 90;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.sidebar-news {
  display: contents;
}

.news-card {
  background: #0d1b2a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-content {
  padding: 16px;
}

.news-card-content h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-card-date {
  color: #8a9bb0;
  font-size: 13px;
}

/* Responsive News Section */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* News Grid Fix */
.news-section { width: 100%; padding: 20px 0; }
.news-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.news-card { background: #0d1b2a; border-radius: 12px; overflow: hidden; transition: transform 0.2s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.3); text-decoration: none; display: block; }
.news-card:hover { transform: translateY(-3px); }
.news-card-image { width: 100%; height: 200px; overflow: hidden; }
.news-card-image img { width: 100% !important; height: 200px !important; object-fit: cover !important; display: block !important; border: none !important; margin: 0 !important; padding: 0 !important; }
.news-card-content { padding: 16px; }
.news-card-content h3 { color: #ffffff; font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.news-card-date { color: #8a9bb0; font-size: 13px; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr !important; } }
