* {
  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #222;
  }
  
  .article-text p {
    text-align: justify;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2em;
  }

  .winners p {
    text-align: justify;
  }
  
  header {
    background: #800000;
    color: white;
    padding: 1em;
  }


  .hero {
    background-image: url('img/teams_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2em;
  }
  

  .hero p {
    padding: 2em;
    text-align: center;
    margin-bottom: 2em;
  }


  nav ul li a.active {
    font-weight: bold;
    text-decoration: underline;
  }
  
  

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #800000; 
}


.nav-left {
  display: flex;
  align-items: center;  
}

.nav-left .logo {
  margin-right: 10px; 
}


nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.125rem;
}


.nav-center {
  text-align: center;
}

.nav-center h1 {
  color: white;
  font-size: 1.5rem;
  margin: 0;
}


.nav-right {
  display: flex;
  align-items: center;
}

.search-box {
  display: none;
}

.toggle-search {
  display: none;
}


#toggle-search:checked + .search-icon + .search-box {
  display: block;
}

.search-box input {
  padding: 5px;
  font-size: 0.875rem;
}

  
.logo {
  height: auto;
  width: 50px;
  max-width: 100%;
  object-fit: contain;
}

  
  main {
    padding: 1em;
  }

  .ball-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin: 2em 0;
    text-align: center;
  }
  
  .ball-row > div {
    flex: 1;
    min-width: 200px;
  }
  
  .middle-text p {
    font-style: italic;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    padding: 1em;
    text-align: center;
  }  
  
  .hero img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 1em;
  }
  


.intro,
.winner {
  display: flex;                  
  justify-content: space-between; 
  align-items: center;            
  gap: 20px;                      
}

.intro img,
.winner img {
  width: 100%;                    
  max-width: 500px;               
  height: auto;                   
  object-fit: contain;            
}

.intro .text,
.winner .text {
  flex: 1;                        
  padding: 20px;                  
}

  
  .ball {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 2em;
  }
  
  .img-left, .img-right {
    flex: 1;
    text-align: center;
  }
  
  .img-left img, .img-right img {
    width: 100%;
    max-width: 300px;
  }
  
  .caption {
    font-style: italic;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9em;
  }
  
 
  
  footer {
    background: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 1em;
    flex-wrap: wrap;
  }
  
  footer a:link {
    color: #ffffff; 
    text-decoration: underline;
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.875rem;
  }
  
  footer a:visited {
    color: #888888; 
  }
  
  footer a:focus {
    color: #888888; 
  }
  
  footer ul {
    list-style-position: inside;
    padding-left: 1.5em;
    margin-left: 0;
  }

    
  input[type="text"], textarea {
    width: 100%; 
    box-sizing: border-box; 
    max-width: 500px; 
  }

  textarea {
    resize: vertical; 
  }

  @media (max-width: 768px) {
    .header-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 1em;
    }
  
    nav ul {
      flex-direction: column;
      gap: 0.5em;
    }
  
    .intro,
    .winner {
      flex-direction: column;
    }

    .intro img,
    .winner img {
      width: 100%;       
      height: auto;       
      object-fit: contain; 
    }

  
    .ball {
      flex-direction: column;
      align-items: center;
    }
  
    .img-left img,
    .img-right img {
      max-width: 90%;
    }
  
   

    }

    footer {
      flex-direction: column;
      gap: 1em;
      text-align: center;
    }

  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    background: white;
  }
  
  th, td {
    padding: 0.5em;
    border: 1px solid #ccc;
    text-align: center;
  }
  
  thead {
    background: #800000;
    color: white;
  }
  
  @media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
      font-size: 0.9em;
    }
  }
  
  .stadium-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  @media (min-width: 901px) {
    .stadium-gallery {
      grid-template-columns: repeat(3, 1fr); 
    }
  }
  
  .stadium {
    text-align: center;
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .stadium img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  
  
  .form-section {
    background: #fff;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 5px #ccc;
    margin-top: 2em;
  }
  
  form input[type="text"],
  form textarea {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
  }
  
  form button {
    padding: 0.5em 1em;
    margin-right: 1em;
    background: #800000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
  }
  
  form button:hover {
    background: #a00;
  }
  

  .responsive-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
  }

  @media (max-width: 768px) {
    .header-container {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-left, .nav-center, .nav-right {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }
  
    nav ul {
      flex-direction: column;
      width: 100%;
    }
  
    nav ul li {
      margin: 5px 0;
    }
  
    .search-box input {
      width: 100%;
    }
  }

  .image-text-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 40px 0;
    flex-wrap: wrap;
  }
  
  .images {
    flex: 1;
  }
  
  .img-block {
    margin-bottom: 20px;
  }
  
  .caption {
    font-size: 0.875rem;
    color: #666;
    margin-top: 5px;
  }
  
  .text-block {
    flex: 1;
    max-width: 500px;
    text-align: justify;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-top: 0.5cm;
  }

  .text-block p {
    margin-bottom: 2em;
  }

  @media (max-width: 768px) {
    .image-text-container {
      flex-direction: column;
    }
  }

  .img-caption-title {
    text-align: center;
    font-size: 1.3rem;
    margin: 10px 0 20px 0;
    color: #333;
  }


img {
  width: 100%;  
  height: auto; 
  display: block; 
  margin: 0 auto; 
}


figure {
  margin: 0;
  padding: 0;
  text-align: center; 
}

figcaption {
  font-size: 1.2rem; 
  margin-top: 10px; 
  font-weight: bold; 
}


figure img {
  max-width: 100%;  
  width: 100%;      
  height: auto;    
  min-width: 300px; 
}

  .description p {
    text-align: justify;       
    margin-bottom: 1.5em;      
    font-size: 1.125rem;           
    line-height: 1.6;          
  }

  .extra-info p {
    text-align: justify;      
    margin-bottom: 1.5em;      
    font-size: 1.125rem;          
    line-height: 1.6;          
  }

  .big-icon {
    height: 100px;      
    width: auto;      
  }

  .gallery-section {
    margin-top: 20px;
}

.gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-item {
    width: 200px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.1);
}


body.high-contrast {
  background-color: black;
  color: yellow;
  font-size: 1.5rem;
  font-family: Arial, sans-serif;
}

body.high-contrast header,
body.high-contrast footer,
body.high-contrast nav,
body.high-contrast .form-section {
  background-color: black;
  color: yellow;
}

body.high-contrast a,
body.high-contrast nav ul li a {
  color: cyan;
  font-weight: bold;
  text-decoration: underline;
}

body.high-contrast table {
  background: black;
  color: yellow;
  border-color: yellow;
}

body.high-contrast th,
body.high-contrast td {
  border: 1px solid yellow;
}

body.high-contrast input[type="text"],
body.high-contrast textarea,
body.high-contrast button {
  background-color: black;
  color: yellow;
  border: 2px solid yellow;
  font-size: 1.25rem;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

  
 .vb-video {
      width: 100%;
      max-width: 100%;
      padding: 1rem;
      box-sizing: border-box;
    }

    .video-wrapper {
      width: 100%;
      max-width: 1000px;              
      margin: 0 auto;
      aspect-ratio: 16 / 9;
    }

    .video-wrapper video {
      width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
    }