/* === Full Page Reset (Modern) === */

/* Reset box sizing */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* Remove default margins */
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
  }
  
  /* Set core body defaults */
  body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: system-ui, sans-serif;
    background: #fff;
    color: #000;
  }
  
  /* Remove list styles */
  ul[role='list'],
  ol[role='list'] {
    list-style: none;
  }
  
  /* Set core root defaults */
  html:focus-within {
    scroll-behavior: smooth;
  }
  
  img,
  picture,
  video,
  canvas,
  svg {
    display: block;
    max-width: 100%;
  }
  
  /* Inherit fonts for form elements */
  input,
  button,
  textarea,
  select {
    font: inherit;
  }
  
  /* Remove animations/transitions for people who prefer reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html:focus-within {
      scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /*HEADER*/

  /* === Header Section: Team Logos === */
.team-header {
    background-color: white;
    width: 100%;
  }
  
  .team-logos-container {
    max-width: 1320px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 ;
    position: relative;
    z-index: 9999;
  }
  
  /* Logos row (desktop) */
  .team-logos {
    display: flex;
    justify-content: space-evenly; /* 👈 spreads them evenly */
    align-items: center;
    width: 100%;
  }
  
  .team-logos img {
    height: 40px;
    width: auto;
    display: inline-block;
  }
  
  
  /* Dropdown toggle (hidden on desktop) */
/* === Team Dropdown Redesign - Clean Version === */
.team-dropdown {
    display: none;
    position: relative;
    margin-left: auto;
    padding-right: 1rem;
}

.team-dropdown-toggle {
    background: #2E5596;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.team-dropdown-toggle:hover {
    background: #1a3a7a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.team-dropdown-toggle::after {
    content: "▼";
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.team-dropdown.active .team-dropdown-toggle::after {
    transform: rotate(180deg);
}

.team-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    width: 280px;
    max-width: 90vw;
    background: white;
    border-radius: 6px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
}

.team-dropdown-menu li {
    padding: 0.6rem 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.15s ease;
    color: #333; /* Neutral dark gray instead of blue */
    text-decoration: none !important; /* Ensures no underline */
}

.team-dropdown-menu li:hover {
    background: #f5f7fa;
    color: #111; /* Slightly darker on hover */
}

.team-dropdown-menu li img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Active state */
.team-dropdown.active .team-dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search box styling - neutral colors */
.team-search-container {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.team-search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333; /* Neutral text color */
}

.team-search:focus {
    outline: none;
    border-color: #999; /* Neutral focus state */
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Remove any link styling */
.team-dropdown-menu a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}
  /* === Responsive === */
  @media (max-width: 1024px) {
    .team-header {display: none;}
    .team-logos {
      display: none;
    }
  
    .team-dropdown {
      display: block;
    }
  
    .team-dropdown.active .team-dropdown-menu {
      display: block;
    }
  }




/* === Second Header Section === */
.second-header-section {
    width: 100%;
    background-color: #fff;
    height: 100px;
    position: relative;
  }

  .close-btn {display: none;}
  
  /* === Yellow Block for Tablet and Below === */
  @media (max-width: 1024px) {
    .second-header-section {
      background-color: yellow; /* Yellow block for tablet and below */
      height: 100px;
      display: block; /* Ensure it's shown by default */
    }
  
    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: transparent;
      border: none;
      font-size: 20px;
      color: #000;
      cursor: pointer;
      display: block; /* Only show the X button on tablet and below */
    }
    
    .close-btn:hover {
      color: #fff;
    }
  }

  /* === Third Header Section === */
.third-header-section {
    width: 100%;
    background-color: #2E5596; /* Black background */
    height: 250px;
  }
  
  /* Inner Container */
  .third-header-container {
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
   
  /* === Hide Section on Tablet and Smaller === */
  @media (max-width: 1024px) {
    .third-header-section {
      display: none;
    }
  }



  /* === Footer === */

  .league-footer {
    background-color: #111;
    color: #fefafa;
    font-family: Arial, sans-serif;
    padding: 20px 20px 20px;
    
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-section {
    flex: 1 1 250px;
    margin: 10px;
  }
  
  .footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f0c040;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
  }
  
  .footer-section ul li a:hover {
    color: #f0c040;
  }
  
  .social-icons a img {
    width: 24px;
    margin-right: 10px;
    transition: opacity 0.3s;
  }
  
  .social-icons a img:hover {
    opacity: 0.7;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
    color: #999;
  }

  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-section {
      margin: 20px 0;
      flex: 1 1 100%;
    }
  
    .social-icons a img {
      margin: 0 10px;
    }
  
    .footer-bottom {
      padding-top: 15px;
    }
  }

/* Sponsor Section Styles */
.sponsor-section {
    background-color: white;
    padding: 20px 20px;
  }
  
  .sponsor-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .sponsor-placeholder {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .sponsor-placeholder img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  
  /* Optional: stack to 3 then 2 then 1 on smaller screens */
  @media (max-width: 1024px) {
    .sponsor-placeholder {
      width: 30%;
    }
  }
  
  @media (max-width: 768px) {
    .sponsor-placeholder {
      width: 45%;
    }
  }
  
  @media (max-width: 480px) {
    .sponsor-placeholder {
      width: 100%;
    }
  }
  

  /*Content*/

  .content_container {
  border-radius: 12px;
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: white;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 20px;
}

  main {
  position: relative;
  min-height: 100vh;
  padding-top: 30px;
  overflow: hidden;
  background-image: url("assets/images/BACKGROUND-01.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1920px auto;
  z-index: 0;
  background-color: #103456;
}


  /*HOME*/
  .home-content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 30px 10px;
  }
  
  .columns {
    display: flex;
    gap: 30px;
  }
  
  .column-a,
  .column-b {
    height: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .column-a {
    width: 870px;
  }
  
  .column-b {
    width: 450px;
  }

  .marquee-container {
       height: 265px;
    background-color: pink;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
  }

  .news-roll {
    height: 450px;
    background-color: #add8e6; /* Baby blue */
    padding: 20px;
    border-radius: 6px;
    box-sizing: border-box;
    overflow-y: auto;
  }


  .sponsor-roll {
    height: 275px;
    background-color: yellow;
    padding: 20px;
    border-radius: 6px;
    box-sizing: border-box;
    overflow-y: auto;
    margin-top: 20px;
  }

  @media (max-width: 1024px) {
    .columns {
      flex-direction: column;
    }
  
    .column-a,
    .column-b {
      width: 100%;
    }

      .content_container {
  padding: 10px;
}
  }


/* Responsive adjustments */
@media (max-width: 768px) {
  .standings-tab {
    font-size: 0.7rem;
    padding: 6px 3px;
  }
  
  .standings-table {
    font-size: 0.8rem;
  }

   .content_container {
  padding: 5px;
}
}




  
  
  
  
  
  
  
  
  
  