/* CSS VARIABLES - Definir una sola vez, usar en todo el sitio */
:root {
  --primary-blue: #0C6CB1;
  --primary-purple: #702468;
  --accent-teal: #78bfbd;
  --border-gray: #e0e0e0;
  --bg-light: #f8f9fa;
  --bg-lighter: #e9ecef;
  --text-dark: #2d2d2d;
  --text-secondary: #434343;
  --white: #ffffff;
  --spacing-unit: 10px;
  --transition-base: 300ms ease;
}

/* UTILITY CLASSES OPTIMIZADAS - Solo las más utilizadas */
.p-t-20 { padding-top: calc(var(--spacing-unit) * 2); }
.p-t-30 { padding-top: calc(var(--spacing-unit) * 3); }
.p-t-60 { padding-top: calc(var(--spacing-unit) * 6); }
.p-t-80 { padding-top: calc(var(--spacing-unit) * 8); }
.p-t-90 { padding-top: calc(var(--spacing-unit) * 9); }

.p-b-20 { padding-bottom: calc(var(--spacing-unit) * 2); }
.p-b-30 { padding-bottom: calc(var(--spacing-unit) * 3); }

.m-t-0 { margin-top: 0; }
.m-t-20 { margin-top: calc(var(--spacing-unit) * 2); }
.m-t-30 { margin-top: calc(var(--spacing-unit) * 3); }
.m-t-80 { margin-top: calc(var(--spacing-unit) * 8); }

.m-b-0 { margin-bottom: 0; }
.m-b-20 { margin-bottom: calc(var(--spacing-unit) * 2); }
.m-b-100 { margin-bottom: calc(var(--spacing-unit) * 10); }

.m-r-10 { margin-right: var(--spacing-unit); }

.imagen-circular { border-radius: 50%; }
.margin-top { margin-top: 60px; }

/* HEADER OPTIMIZADO */
#masthead {
  height: 150px;
  padding-top: 0;
}

#masthead .container .col-md-12 {
  position: relative;
}

#logo {
  position: absolute;
  height: 150px;
  display: inline-block;
  padding: 35px 0 0 0;
  width: 235px;
  top: 0;
  left: 0;
}

#logo img {
  height: 80px;
  max-width: 1000px;
}

#navegacion-top, 
#navegacion-bottom {
  float: right;
  display: inline-block;
  width: 100%;
}

#navegacion-top {
  padding-right: 10px;
  margin-top: 44px;
}

#navegacion-top ul {
  display: inline-block;
  width: auto;
  margin: 0;
  float: right;
  padding-left: 5px;
}

#navegacion-top ul li {
  display: inline-block;
  width: auto;
  float: left;
  list-style: none;
  margin-left: 15px;
}

#navegacion-top ul li a {
  font-family: 'Source Sans Pro';
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--text-dark);
  transition: color var(--transition-base);
}

#navegacion-top ul li a:hover {
  color: var(--primary-blue);
}

#navegacion-top ul li a img {
  width: 20px;
}

.fecha-juegos-header {
  float: right;
  background-color: var(--primary-blue);
  color: var(--white);
  font-family: 'Source Sans Pro';
  font-weight: 700;
  display: inline-block;
  padding: 0 8px;
  border-radius: 10px;
  margin: 3px 0 0 3px;
  font-size: 15px;
}

.fecha-juegos-header a {
  color: var(--white);
}
.entradas-juegos-header {
  float: right;
  background-color: #e42021;
  color: var(--white);
  font-family: 'Source Sans Pro';
  font-weight: 700;
  display: inline-block;
  padding: 0 8px;
  border-radius: 10px;
  margin: 3px 0 0 3px;
  font-size: 15px;
}

.entradas-juegos-header a {
  color: var(--white);
}

#navegacion-top .enlaceMenu {
  text-decoration: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

/* VOLUNTARIADO HOME OPTIMIZADO */
#voluntariado-home {
  margin-top: 80px;
}

#voluntariado-home .cont-banner-voluntariado-home {
  position: relative;
  padding-top: 20px;
}

#voluntariado-home .cont-banner-voluntariado-home::before {
  content: '';
  display: block;
  width: calc(100% + 55px);
  height: 13px;
  background: url('https://aaf868.claudeassets.com/20250909192432im_/https://jadar2025.com/wp-content/themes/juegos2021/img/formas/linea-colores-04.svg') repeat-x center/cover;
  position: absolute;
  left: -12px;
  top: 0;
}

#voluntariado-home .cont-banner-voluntariado-home h3 {
  display: inline-block;
  font-family: 'Source Sans Pro';
  font-weight: 600;
  background-color: var(--accent-teal);
  color: #fefefe;
  font-size: 18px;
  text-transform: uppercase;
  padding: 0 8px;
  margin-bottom: 0;
}

#voluntariado-home .cont-banner-voluntariado-home .width-100 {
  width: 100%;
  display: block;
  height: 1px;
}

#voluntariado-home .cont-banner-voluntariado-home h2 {
  font-family: 'Merriweather';
  font-size: 72px;
  font-weight: 300;
  line-height: 70px;
  margin: 0;
  font-style: italic;
  color: var(--primary-purple);
  display: inline-block;
}

#voluntariado-home .cont-banner-voluntariado-home h2 strong {
  font-weight: 900;
}

#voluntariado-home .cont-banner-voluntariado-home p {
  font-family: 'Merriweather';
  display: inline-block;
  max-width: 230px;
  float: right;
}

#voluntariado-home .img-semicirculo {
  overflow: hidden;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

/* BOTONES VER MAS OPTIMIZADO */
a.boton-ver-mas {
  font-family: 'Source Sans Pro';
  font-weight: 300;
  font-size: 17px;
  margin-top: 10px;
  display: inline-block;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

a.boton-ver-mas::after {
  content: '\f067';
  width: 22px;
  height: 22px;
  font-family: 'FontAwesome';
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--white);
  display: inline-block;
  font-size: 10px;
  text-align: center;
  margin-left: 5px;
  line-height: 22px;
  float: right;
  border-radius: 50%;
  background-color: var(--primary-blue);
  transition: transform var(--transition-base);
}

a.boton-ver-mas:hover::after {
  transform: scale(1.1);
}

/* TÍTULOS GRANDES UNIFICADOS */
.titulo-grande,
#medallero-home h3, 
.home-disciplinas h3.tit, 
.galeria-home h3, 
#escenarios-home h3, 
#ciudad-home h3.tit {
  font-size: 100px;
  font-weight: 400;
  line-height: 85px;
  color: rgba(0,0,0,.1);
  margin: 0;
}

.titulo-mediano,
#medallero-home h2, 
.home-disciplinas h2, 
.galeria-home h2, 
#escenarios-home h2, 
#ciudad-home h2 {
  margin-top: 0;
  line-height: 45px;
}

/* MEDALLERO OPTIMIZADO */
#medallero-home {
  padding-top: 90px;
}

#medallero-home .boton-ver-mas {
  margin-top: 0;
}

.medallero-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-gray);
  border-radius: 5px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.medallero-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.medallero-header {
  background-color: var(--bg-light);
  padding: 15px 20px;
  cursor: pointer;
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--border-gray);
}

.medallero-header:hover {
  background-color: var(--bg-lighter);
}

.medallero-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-medallero {
  font-size: 24px;
  font-weight: 300;
  color: #666;
  transition: transform var(--transition-base);
}

.medallero-tabla-container {
  padding: 0;
  background-color: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}

.medallero-tabla-container.active {
  max-height: 800px;
  padding: 1em;
}

.tabla-medallero {
  width: 100%;
  margin: 0;
  contain: layout style;
}

.tabla-medallero .titulo {
  font-size: 19px;
  text-transform: uppercase;
  font-family: 'Roboto';
  border-bottom: 2px solid #000;
  padding: 8px 5px;
}

.tabla-medallero .text-left {
  text-align: left;
  padding-left: 10px;
}

.tabla-medallero .pais {
  padding-left: 40px;
  text-transform: uppercase;
}

.tabla-medallero .numero {
  font-weight: 400;
}

.tabla-medallero tbody td {
  font-size: 15px;
  font-weight: 300;
  font-family: 'Roboto Slab';
  line-height: 28px;
  text-align: center;
  transition: all var(--transition-base);
  padding: 2px 5px;
}

.tabla-medallero tbody td a {
  font-size: 15px;
  font-weight: 300;
  font-family: 'Roboto Slab';
  line-height: 28px;
  text-align: center;
  transition: all var(--transition-base);
  color: #000;
  text-decoration: none;
}

.tabla-medallero tbody td a:hover {
  font-weight: 600;
  color: var(--primary-blue);
}

.tabla-medallero tbody tr:hover td,
.tabla-medallero tbody tr.total td {
  background-color: #d4e2e7;
}

.tabla-medallero tbody tr.total td {
  font-weight: 600;
  border-top: 2px solid #333;
  background-color: #f0f8ff;
}

.tabla-medallero tbody .relleno td {
  padding-top: 10px;
  line-height: 8px;
}

.tabla-medallero tbody .relleno:hover td {
  background-color: transparent;
}

.tabla-medallero tbody tr.hover-effect td {
  background-color: #d4e2e7;
  transform: scale(1.02);
}

.tabla-medallero th img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* GALERIA HOME */
.galeria-home h2 .ver-todas {
  margin-top: 5px;
}

/* ESCENARIOS HOME OPTIMIZADO */
#escenarios-home .container {
  margin-bottom: 100px;
}

#escenarios-home ul {
  display: inline-block;
  padding: 0;
  margin: 0 0 0 80px;
}

#escenarios-home ul li {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

#escenarios-home ul li a {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

#escenarios-home ul li a:hover {
  transform: translateX(5px);
}

/* NÚMEROS DE ESCENARIOS OPTIMIZADO */
#escenarios-home ul li a .numero {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
  margin-right: 10px;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

#escenarios-home ul li:first-child a .numero {
  height: 50px;
  width: 50px;
  line-height: 50px;
  background-color: var(--primary-blue);
}

#escenarios-home ul li:nth-child(2) a .numero {
  background-color: #F5B00A;
}

#escenarios-home ul li:nth-child(3) a .numero {
  background-color: #009741;
}

#escenarios-home ul li:nth-child(4) a .numero {
  background-color: #E21D20;
}

#escenarios-home ul li:nth-child(5) a .numero {
  background-color: var(--primary-blue);
}

#escenarios-home ul li a > div {
  flex: 1;
}

#escenarios-home ul li a h2 {
  font-family: 'Source Sans Pro';
  margin: 0;
  line-height: 20px;
  font-weight: 600;
}

#escenarios-home ul li a h4 {
  margin: 0;
  line-height: 20px;
  font-weight: 300;
  font-family: 'Merriweather';
}

#escenarios-home ul li.selected a .numero {
  transform: scale(1.3);
}

#escenarios-home .cont-escenarios {
  margin-top: -60px;
}

#escenarios-home .cont-escenarios img {
  display: none;
}

#escenarios-home .cont-escenarios img.selected {
  display: block;
}

#escenarios-home a.boton-ver-mas03 {
  margin-left: 80px;
  margin-top: 20px;
}

#contenedor-items-ciudad {
  position: relative;
  padding-left: 30px;
}

#contenedor-items-ciudad::before {
  content: '';
  display: block;
  height: 138%;
  width: 5px;
  background: url('https://cd10d8.claudeassets.com/20250909192432im_/https://jadar2025.com/wp-content/themes/juegos2021/img/formas/linea-colores-05.svg') repeat-y center/cover;
  position: absolute;
  left: -10px;
  top: -5px;
}

/* RESPONSIVE CONSOLIDADO */
@media (min-width: 992px) {
  #escenarios-home .col-md-6 {
    width: 45%;
  }
  
  #escenarios-home .col-md-5 {
    width: 53%;
  }
}

@media (max-width: 992px) {
  #medallero-home {
    padding-top: 60px;
  }

  #medallero-home .titulo-home {
    text-align: center;
  }
  
  .medallero-header h4 {
    font-size: 16px;
  }
  
  .tabla-medallero .titulo {
    font-size: 16px;
  }
  
  .tabla-medallero tbody td {
    font-size: 14px;
    line-height: 24px;
    padding: 1px 3px;
  }
}

@media (max-width: 768px) {
  .medallero-header {
    padding: 10px 15px;
  }
  
  .medallero-header h4 {
    font-size: 14px;
  }
  
  .tabla-medallero {
    padding: 0.5em;
  }
  
  .tabla-medallero .titulo {
    font-size: 14px;
    padding: 6px 3px;
  }
  
  .tabla-medallero .pais {
    padding-left: 15px;
  }
  
  .tabla-medallero tbody td {
    font-size: 12px;
    line-height: 20px;
    padding: 1px 2px;
  }
  
  .tabla-medallero th img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .tabla-medallero .titulo span {
    font-size: 12px;
  }
  
  .tabla-medallero tbody td {
    font-size: 11px;
    line-height: 18px;
    padding: 0 1px;
  }
  
  .tabla-medallero .pais {
    padding-left: 10px;
  }
  
  .tabla-medallero th img {
    width: 18px;
    height: 18px;
  }
}
/* TÍTULOS DE PÁGINAS PRINCIPALES OPTIMIZADO */
.page-title,
.page h1 span:first-child, 
.archive h1 span:first-child, 
.single h1 span:first-child {
  font-size: 100px;
  font-weight: 400;
  line-height: 85px;
  color: rgba(0,0,0,.1);
  margin: 0;
  display: block;
  width: 100%;
}

.page-subtitle,
.page h1 span:nth-child(2), 
.archive h1 span:nth-child(2), 
.single h1 span:nth-child(2) {
  margin-top: 0;
  line-height: 39px;
  display: block;
  font-size: 56px;
  font-weight: 100;
  font-family: 'Source Sans Pro';
  font-style: italic;
  width: 100%;
}

/* VOLUNTARIADO PERFILES */
.listado-perfiles-vol li h4 {
  cursor: pointer;
  transition: color var(--transition-base);
}

.listado-perfiles-vol li h4 span {
  color: #f39208;
}

.listado-perfiles-vol li p {
  display: none;
}

/* DISCIPLINAS HOME OPTIMIZADO */
#disciplinas-home {
  padding: 80px 0;
}

#disciplinas-home .tit-disciplinas {
  font-size: 100px;
  font-weight: 400;
  line-height: 85px;
  color: rgba(0,0,0,.1);
  margin: 0;
  display: block;
}

#disciplinas-home .titulo-home {
  margin-top: -20px;
  line-height: 45px;
  font-size: 56px;
  font-weight: 100;
  font-family: 'Source Sans Pro';
  font-style: italic;
  position: relative;
}

#disciplinas-home .ver-todas {
  margin-left: 15px;
  color: var(--primary-blue);
  font-size: 24px;
  text-decoration: none;
  transition: all var(--transition-base);
}

#disciplinas-home .ver-todas:hover {
  color: var(--primary-blue);
  transform: scale(1.1);
}

.lista-disciplinas {
  list-style: none;
  padding: 0 20px;
  margin: 30px 0 0 0;
}

.item-disciplina {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 0;
  transition: all var(--transition-base);
}

.item-disciplina:hover {
  transform: translateX(5px);
}

.punto-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.item-disciplina:hover .punto-color {
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nombre-disciplina {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  line-height: 1.2;
  transition: all var(--transition-base);
}

.nombre-disciplina:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

.no-disciplinas {
  text-align: center;
  font-style: italic;
  margin-top: 40px;
}

/* MEDALLERO DESPLEGABLE OPTIMIZADO */

/* Eliminar duplicados - Ya definido en parte 1 */
/* #medallero-home h3, etc. - REMOVIDO */

/* Medallero items optimizados */
.medallero-item {
  margin-bottom: 8px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition-base);
  /* Remover animaciones de carga inicial duplicadas */
  opacity: 1;
  transform: translateY(0);
}

.medallero-item:hover {
  border-color: #cccccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Header medallero optimizado */
.medallero-header {
  padding: 12px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.medallero-header.active {
  border-bottom-color: #d0d0d0;
}

.medallero-header h4 {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Toggle minimalista */
.toggle-medallero {
  font-size: 18px;
  font-weight: bold;
  color: var(--white);
  transition: all var(--transition-base);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.medallero-header:hover .toggle-medallero {
  color: #333;
  background: rgba(0,0,0,0.1);
}

.medallero-header.active .toggle-medallero {
  transform: rotate(45deg);
  color: #555;
}

/* Contenedor optimizado */
.medallero-tabla-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
  background: var(--white);
}

.medallero-tabla-container.active {
  padding: 2em;
  max-height: 800px;
}

.medallero-tabla-container .tabla-medallero {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

/* ANIMACIONES OPTIMIZADAS - Usar CSS Custom Properties */
.medallero-tabla-container.active .tabla-medallero tbody tr {
  animation: fadeInUp 300ms ease forwards;
  opacity: 0;
  animation-delay: calc(var(--row-index, 0) * 30ms);
}

/* Keyframes unificados */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE CONSOLIDADO */
@media (max-width: 992px) {
  #logo, 
  .navegacion-header {
    display: none;
  }

  #masthead {
    height: auto;
  }
  
  /* Disciplinas responsive */
  .lista-disciplinas {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  /* Títulos principales responsive */
  .page-title,
  .page h1 span:first-child, 
  .archive h1 span:first-child, 
  .single h1 span:first-child {
    font-size: 60px;
    line-height: 50px;
  }
  
  .page-subtitle,
  .page h1 span:nth-child(2), 
  .archive h1 span:nth-child(2), 
  .single h1 span:nth-child(2) {
    font-size: 36px;
    line-height: 32px;
  }
  
  /* Disciplinas responsive */
  .disciplinas-home-mobile {
    display: none;
    padding: 40px 0;
  }
  #disciplinas-home {
    padding: 40px 0;
  }
  
  #disciplinas-home .tit-disciplinas {
    font-size: 60px;
    line-height: 50px;
  }
  
  #disciplinas-home .titulo-home {
    font-size: 36px;
    line-height: 32px;
  }
  
  .lista-disciplinas {
    margin-top: 20px;
    padding: 0 10px;
  }
  
  .item-disciplina {
    margin-bottom: 6px;
    padding: 3px 0;
  }
  
  .nombre-disciplina {
    font-size: 14px;
  }
  
  /* Medallero responsive */
  .medallero-header {
    padding: 10px 15px;
  }
  
  .medallero-header h4 {
    font-size: 14px;
  }
  
  .toggle-medallero {
    font-size: 16px;
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 576px) {
  /* Disciplinas móvil */
  .lista-disciplinas {
    padding: 0 5px;
  }
  
  .punto-color {
    width: 6px;
    height: 6px;
    margin-right: 8px;
  }
  
  .nombre-disciplina {
    font-size: 13px;
  }
  
  .item-disciplina {
    margin-bottom: 5px;
    padding: 2px 0;
  }
  
  /* Medallero móvil */
  .medallero-header {
    padding: 8px 12px;
  }
  
  .medallero-header h4 {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  
  .toggle-medallero {
    font-size: 14px;
    width: 16px;
    height: 16px;
  }
}

/* PERFORMANCE OPTIMIZATIONS */

/* Usar contain para mejorar performance */
.medallero-item {
  contain: layout style;
}

.lista-disciplinas {
  contain: layout;
}

.item-disciplina {
  contain: layout style;
}

/* Optimizar animaciones con will-change */
.item-disciplina:hover,
.medallero-header:hover,
.toggle-medallero {
  will-change: transform;
}

/* Remover will-change después de la animación */
.item-disciplina,
.medallero-header,
.toggle-medallero {
  will-change: auto;
}

/* GPU acceleration para transformaciones suaves */
.item-disciplina,
.punto-color,
.toggle-medallero {
  transform: translateZ(0);
}

/* ===============================================
   CALENDARIO DE RESULTADOS - JADAR 2025 DINÁMICO
   =============================================== */

/* Header del calendario */
.calendario-header {
  margin-bottom: 50px;
  position: relative;
}

.calendario-content {
  font-family: 'Source Sans Pro', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 120px;
}

.calendario-titulo-container {
  flex: 1;
}

.calendario-titulo {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  line-height: 1.1;
  text-align: left;
  width: 550px;
}

.calendario-logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.mask-background {
  width: 200px;
  height: auto;
  z-index: 1;
}

.logo-jadar {
  position: relative;
  z-index: 2;
  max-height: 85px;
  width: auto;
}

.titulo-gris {
  color: #999999;
  font-weight: 300;
  font-size: 48px;
  font-style: italic;
}

.titulo-dark {
  font-family: 'Source Sans Pro', sans-serif;
  color: #434343;
  font-weight: 500;
  font-size: 70px;
  font-style: italic;
}

/* Container de la tabla - Diseño plano */
.calendario-table-container {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  margin-top: 30px;
}

/* Estilos de la tabla - Minimalista */
.calendario-resultados-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Sans Pro', sans-serif;
  background: #ffffff;
  border-right: 1px solid #e0e0e0;
}

/* Header de la tabla */
.calendario-resultados-table thead {
  height: 110px;
}

.calendario-resultados-table thead tr {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.calendario-resultados-table th {
  padding: 15px 15px 15px 15px;
  text-align: center;
  font-weight: 500;
  color: #666666;
  font-size: 22px;
  letter-spacing: 1px;
  vertical-align: top;
  border-right: 1px solid #e0e0e0;
  font-family: 'Source Sans Pro', sans-serif;
}

.calendario-resultados-table th:last-child {
  border-right: none;
}

.deportes-header {
  text-align: left !important;
  width: 300px;
  color: #666666 !important;
  font-size: 36px !important;
  font-weight: 600;
  padding: 15px 30px 15px 30px;
  background: #ffffff;
  border-right: 1px solid #e0e0e0 !important;
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: top;
}

.dia-header {
  width: 80px;
  line-height: 1.2;
  background: #ffffff;
  vertical-align: top;
}

.numero-dia {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-top: 7px;
}

/* Filas de disciplinas - Diseño plano con efectos dinámicos */
.disciplina-row {
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  background: #ffffff;
  position: relative;
}

.disciplina-row:hover,
.disciplina-row.hover-active {
  background-color: #f8f9fa;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.disciplina-row:nth-child(even) {
  background-color: #ffffff;
}

.disciplina-nombre {
  padding: 18px 30px;
  font-weight: 400;
  color: #333333;
  font-size: 28px; /* Aumentado a 28px para que sea más grande */
  font-style: italic;
  border-right: 1px solid #e0e0e0;
  background: #ffffff;
  font-family: 'Source Sans Pro', sans-serif;
}

.disciplina-link {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.disciplina-link:hover {
  color: #0066cc;
  text-decoration: none;
}

.dia-celda {
  padding: 18px 15px;
  text-align: center;
  vertical-align: middle;
  width: 80px;
  border-right: 1px solid #e0e0e0;
  background: #ffffff;
  position: relative;
}

.dia-celda:last-child {
  border-right: none;
}

/* Container de medalla con enlace de descarga */
.medalla-container {
  position: relative;
  display: inline-block;
}

.medalla-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.medalla-link:hover {
  transform: scale(1.05);
}

.medalla-inactiva {
  display: inline-block;
  cursor: not-allowed;
}

/* Estilos de las medallas mejorados */
.medalla-icon {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.medalla-icon.activa {
  opacity: 1;
  transform: scale(1);
}

.medalla-link:hover .medalla-icon.activa {
  transform: scale(1.2);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.medalla-icon.inactiva {
  opacity: 0.6;
  transform: scale(0.9);
  filter: grayscale(20%);
}

.medalla-inactiva:hover .medalla-icon.inactiva {
  opacity: 0.8;
  transform: scale(1);
  filter: grayscale(0%);
}

/* Celda vacía (para futuro uso) */
.celda-vacia {
  min-height: 32px;
  width: 100%;
}

/* Mensaje cuando no hay disciplinas */
.no-disciplinas td {
  padding: 40px 20px;
  color: #666;
  font-style: italic;
  font-size: 18px;
}

/* Leyenda del calendario */
.calendario-leyenda {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.leyenda-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.leyenda-icon {
  width: 24px;
  height: 24px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .calendario-resultados-table {
      font-size: 14px;
  }
  
  .deportes-header {
      width: 250px;
      font-size: 28px !important;
  }
  
  .dia-header {
      width: 70px;
  }
  
  .calendario-titulo {
      width: 450px;
  }
  
  .disciplina-nombre {
      font-size: 26px; /* Aumentado de 24px */
  }
}

@media (max-width: 992px) {
  .titulo-gris {
      font-size: 36px;
  }
  
  .titulo-dark {
      font-size: 50px;
  }
  
  .logo-jadar {
      max-height: 100px;
  }
  
  .mask-background {
      width: 150px;
  }
  
  .calendario-titulo {
      width: 400px;
  }
  
  .disciplina-nombre {
      font-size: 20px;
  }
  
  .calendario-leyenda {
      flex-direction: column;
      gap: 15px;
  }
}

@media (max-width: 768px) {
  .calendario-content {
      flex-direction: column;
      text-align: center;
      gap: 30px;
      align-items: center;
  }
  
  .calendario-titulo {
      text-align: center;
      width: 100%;
  }
  
  .calendario-table-container {
      overflow-x: auto;
  }
  
  .calendario-resultados-table {
      min-width: 600px;
  }
  
  .titulo-gris {
      font-size: 28px;
  }
  
  .titulo-dark {
      font-size: 40px;
  }
  
  .deportes-header {
      width: 200px;
      padding-left: 20px;
      font-size: 24px !important;
  }
  
  .dia-header {
      width: 60px;
      padding: 15px 10px;
  }
  
  .disciplina-nombre {
      padding: 12px 20px;
      font-size: 20px; /* Aumentado de 18px para mejor legibilidad */
  }
  
  .dia-celda {
      padding: 12px 10px;
  }
  
  .medalla-icon {
      width: 28px;
      height: 28px;
  }
  
  /* Popups más pequeños en móvil */
  .medalla-popup {
      min-width: 250px;
      left: -100px;
      transform: none;
  }
  
  .medalla-popup.active {
      transform: translateY(5px);
  }
  
  .popup-header {
      padding: 12px 15px;
  }
  
  .popup-content {
      padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .titulo-gris {
      font-size: 24px;
  }
  
  .titulo-dark {
      font-size: 32px;
  }
  
  .logo-jadar {
      max-height: 80px;
  }
  
  .calendario-header {
      margin-bottom: 30px;
  }
  
  .mask-background {
      width: 120px;
  }
  
  .calendario-content {
      gap: 20px;
  }
  
  .deportes-header {
      font-size: 20px !important;
  }
  
  .disciplina-nombre {
      font-size: 14px;
  }
  
  .medalla-popup {
      min-width: 220px;
      left: -90px;
  }
  
  .calendario-leyenda {
      margin-top: 20px;
      padding: 15px;
  }
  
  .leyenda-item {
      font-size: 12px;
  }
  
  .leyenda-icon {
      width: 20px;
      height: 20px;
  }
}

/* Animación de carga */
.disciplina-row {
  animation: slideInRow 0.5s ease forwards;
}

@keyframes slideInRow {
  from {
      opacity: 0;
      transform: translateX(-20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Agregar delay escalonado a las filas */
.disciplina-row:nth-child(1) { animation-delay: 0.1s; }
.disciplina-row:nth-child(2) { animation-delay: 0.2s; }
.disciplina-row:nth-child(3) { animation-delay: 0.3s; }
.disciplina-row:nth-child(4) { animation-delay: 0.4s; }
.disciplina-row:nth-child(5) { animation-delay: 0.5s; }
.disciplina-row:nth-child(6) { animation-delay: 0.6s; }
.disciplina-row:nth-child(7) { animation-delay: 0.7s; }
.disciplina-row:nth-child(8) { animation-delay: 0.8s; }
.disciplina-row:nth-child(9) { animation-delay: 0.9s; }
.disciplina-row:nth-child(10) { animation-delay: 1s; }

/* CSS específico para la página de resultados */
#resultados-disciplina {
  background: #ffffff;
  min-height: 80vh;
}

.dia-evento-header {
  text-align: center;
  margin: 40px 0 50px 0;
  padding: 30px 0;
  background: linear-gradient(135deg, #0066cc, #004499);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,102,204,0.2);
}

.nombre-dia {
  color: white;
  font-size: 48px;
  font-weight: 300;
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  letter-spacing: 2px;
}

.evento-container {
  margin-bottom: 30px;
}

.evento-item {
  display: flex;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  min-height: 120px;
}

.evento-info {
  width: 300px;
  padding: 30px 25px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 3px solid #0066cc;
  flex-shrink: 0;
}

.titulo-evento {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  color: #333;
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.2;
}

.carreras-container {
  flex: 1;
  padding: 20px 25px;
  background: white;
}

.carreras-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.carrera-item {
  border-radius: 6px;
  transition: all 0.3s ease;
}

.carrera-enlace {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: #f8f9fa;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Source Sans Pro', sans-serif;
}

.carrera-enlace:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.carrera-icono {
  margin-right: 10px;
  font-size: 18px;
  opacity: 0.7;
}

.carrera-enlace:hover .carrera-icono {
  opacity: 1;
}

.no-resultados {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.no-resultados p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.acciones-resultados {
  text-align: center;
  margin-top: 40px;
}

.btn-volver,
.btn-volver-calendario {
  display: inline-block;
  padding: 12px 25px;
  background: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Source Sans Pro', sans-serif;
}

.btn-volver:hover,
.btn-volver-calendario:hover {
  background: #004499;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .evento-item {
      flex-direction: column;
  }
  
  .evento-info {
      width: 100%;
      border-right: none;
      border-bottom: 3px solid #0066cc;
      padding: 20px;
  }
  
  .titulo-evento {
      font-size: 20px;
  }
  
  .nombre-dia {
      font-size: 36px;
  }
}

@media (max-width: 768px) {
  .carreras-lista {
      grid-template-columns: 1fr;
      gap: 10px;
  }
  
  .carrera-enlace {
      padding: 10px 12px;
      font-size: 14px;
  }
  
  .nombre-dia {
      font-size: 28px;
  }
  
  .titulo-evento {
      font-size: 18px;
  }
}

/* ===============================================
   COUNTDOWN HERO - ESTILOS CSS
   Agregar al final de style.css o css/sandia.css
   =============================================== */

/* Countdown Section */
.countdown-section {
    padding: 60px 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

/* Título del countdown */
.countdown-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
}

/* Container principal del countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Cada item del countdown */
.countdown-item {
    background: rgba(12, 108, 177, 0.95);
    border-radius: 15px;
    padding: 25px 20px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}


.countdown-item:hover:before {
    left: 100%;
}

/* Números del countdown */
.countdown-number {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

/* Labels del countdown */
.countdown-label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Mensaje cuando el countdown termina */
.countdown-finished {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: bounce 1s ease-in-out infinite;
    margin: 0;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Estilo para cuando el countdown esté sobre el slider */
.slider-countdown-overlay {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.slider-countdown-overlay .countdown-section {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 40px 20px;
}

/* Asegurar visibilidad sobre cualquier fondo */
.countdown-item {
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .countdown-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .countdown-container {
        gap: 20px;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 36px;
    }
    
    .countdown-label {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .countdown-section {
        padding: 40px 0;
    }
    
    .countdown-title {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 25px;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
        border-radius: 10px;
    }
    
    .countdown-number {
        font-size: 28px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .slider-countdown-overlay .countdown-section {
        padding: 30px 15px;
    }
}

@media (max-width: 576px) {
    .countdown-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .countdown-container {
        gap: 10px;
        justify-content: space-around;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 12px 8px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 11px;
    }
    
    .countdown-finished {
        font-size: 32px;
    }
}

/* Ajustes específicos para el slider */
.slider-home {
    position: relative;
}

.slide {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===============================================
   COUNTDOWN FLOTANTE SOBRE SLIDER
   =============================================== */

/* Container principal del slider con countdown */
.slider-container-with-countdown {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Overlay flotante del countdown */
.countdown-overlay-flotante {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  pointer-events: none; /* Permite clicks en el slider por debajo */
}

/* Hacer los elementos del countdown clickeables */
.countdown-overlay-flotante .countdown-section {
  pointer-events: auto;
  border-radius: 20px;
  padding: 30px 20px;
}

/* Ajustar el countdown cuando está flotante */
.countdown-overlay-flotante .countdown-section {
  padding: 30px 15px;
}

.countdown-overlay-flotante .countdown-title {
  font-size: 32px;
  margin-bottom: 30px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.countdown-overlay-flotante .countdown-container {
  gap: 25px;
}

.countdown-overlay-flotante .countdown-item {
  background: rgba(12, 108, 177, 0.98);
  box-shadow: 
      0 10px 40px rgba(0, 0, 0, 0.3),
      0 0 0 2px rgba(255, 255, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.countdown-overlay-flotante .countdown-number {
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

/* Asegurar que el slider tenga altura mínima */
.slider-container-with-countdown #slider-principal {
  min-height: 500px;
}

.slider-container-with-countdown .slide {
  min-height: 500px;
}

/* Responsive para el overlay */
@media (max-width: 992px) {
  .countdown-overlay-flotante .countdown-title {
      font-size: 26px;
      margin-bottom: 25px;
  }
  
  .countdown-overlay-flotante .countdown-container {
      gap: 20px;
  }
  
  .countdown-overlay-flotante .countdown-item {
      min-width: 90px;
      padding: 18px 12px;
  }
  
  .countdown-overlay-flotante .countdown-number {
      font-size: 32px;
  }
}

@media (max-width: 768px) {
  .countdown-overlay-flotante {
      padding: 0 15px;
  }
  
  .countdown-overlay-flotante .countdown-section {
      padding: 25px 15px;
      border-radius: 15px;
  }
  
  .countdown-overlay-flotante .countdown-title {
      font-size: 22px;
      margin-bottom: 20px;
      letter-spacing: 1px;
  }
  
  .countdown-overlay-flotante .countdown-container {
      gap: 15px;
  }
  
  .countdown-overlay-flotante .countdown-item {
      min-width: 75px;
      padding: 15px 10px;
      border-radius: 12px;
  }
  
  .countdown-overlay-flotante .countdown-number {
      font-size: 26px;
  }
  
  .countdown-overlay-flotante .countdown-label {
      font-size: 12px;
  }
}

@media (max-width: 576px) {
  .countdown-overlay-flotante .countdown-title {
      font-size: 18px;
      margin-bottom: 15px;
  }
  
  .countdown-overlay-flotante .countdown-container {
      gap: 12px;
      justify-content: space-around;
  }
  
  .countdown-overlay-flotante .countdown-item {
      min-width: 65px;
      padding: 12px 8px;
      border-radius: 10px;
  }
  
  .countdown-overlay-flotante .countdown-number {
      font-size: 22px;
  }
  
  .countdown-overlay-flotante .countdown-label {
      font-size: 10px;
  }
  
  .slider-container-with-countdown #slider-principal {
      min-height: 400px;
  }
  
  .slider-container-with-countdown .slide {
      min-height: 400px;
  }
}

/* Animación especial para el overlay flotante */
.countdown-overlay-flotante .countdown-section {
  animation: floatIn 1.5s ease-out;
}

@keyframes floatIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

/* Efecto de hover mejorado para el overlay */
.countdown-overlay-flotante .countdown-item:hover {
  box-shadow: 
      0 15px 50px rgba(0, 0, 0, 0.4),
      0 0 0 2px rgba(255, 255, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ===================================
   PÁGINA ROSARIO - DISEÑO FINAL AJUSTADO
   =================================== */

/* Container principal */
.rosario-page {
  background-color: #ffffff;
}

/* Header de la página */
.rosario-header-container {
  position: relative;
  padding: 60px 0;
}

.page h1 span:first-child {
  font-size: 100px;
  font-weight: 400;
  line-height: 85px;
  color: rgba(0,0,0,.1);
  margin: 0;
  display: inline-block;
  width: 100%;
}

.page h1 span:nth-child(2) {
  margin-top: -20px;
  line-height: 39px;
  display: inline-block;
  width: auto;
  font-size: 56px;
  font-weight: 100;
  font-family: 'Source Sans Pro';
  font-style: italic;
  width: 100%;
  color: #434343;
}

/* Icono decorativo del header */
.rosario-header-icon {
  position: absolute;
  top: 20px;
  right: 0;
  width: 140px;
  height: 120px;
}

.header-decorative-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Secciones de contenido */
.rosario-section {
  position: relative;
  margin-bottom: 0;
}

.decorative-messi::after{
  display: inline-block;
  height: 150px;
  width: 150px;
  content: '';
  background-image: url('https://1ea3e9.claudeassets.com/20250909192432im_/https://jadar2025.com/wp-content/themes/juegos2021/img/Group 58.svg');
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: -3%;
  top: 67%;
}

.decorative-bandera::after{
  display: inline-block;
  height: 150px;
  width: 150px;
  content: '';
  background-image: url('https://1ea3e9.claudeassets.com/20250909192432im_/https://jadar2025.com/wp-content/themes/juegos2021/img/Group 59.svg');
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: 28%;
  bottom: 0%;
}

.decorative-rio::after{
  display: inline-block;
  height: 76px;
  width: 155px;
  content: '';
  background-image: url('https://e0d8e2.claudeassets.com/20250909192432im_/https://jadar2025.com/wp-content/themes/juegos2021/img/Vector (2).svg');
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 21%;
  top: 15%;
}

.decorative-cultura::after{
  display: inline-block;
  height: 140px;
  width: 170px;
  content: '';
  background-image: url('https://1ea3e9.claudeassets.com/20250909192432im_/https://jadar2025.com/wp-content/themes/juegos2021/img/Group 61.svg');
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: 6%;
  top: 8%;
}

.decorative-gastronomia::after{
  display: inline-block;
  height: 100px;
  width: 150px;
  content: '';
  background-image: url('https://1ea3e9.claudeassets.com/20250909192432im_/https://jadar2025.com/wp-content/themes/juegos2021/img/Group 62.svg');
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: -1%;
  top: 28%;
}

@media (max-width: 992px) {
  .decorative-messi::after{
    height: 100px;
    width: 100px;
    left: -3%;
    top: 67%;
  }
  
  .decorative-bandera::after{
    height: 100px;
    width: 100px;
    right: 28%;
    bottom: 30%;
  }
  
  .decorative-rio::after{
    height: 65px;
    width: 132px;
    left: 21%;
    top: 8%;
  }
  
  .decorative-cultura::after{
    height: 120px;
    width: 140px;
    right: 6%;
    top: 4%;

  }
  
  .decorative-gastronomia::after{
    height: 100px;
    width: 150px;
    left: -1%;
    top: 10%;
  }
}

@media (max-width: 780px) {
  .rosario-section {
    padding-bottom: 0!important;
  }

  .rosario-header-icon{
    display: none!important;
  }

  .decorative-messi::after{
    display: none;
  }
  
  .decorative-bandera::after{
    display: none;
  }
  
  .decorative-rio::after{
    display: none;
  }
  
  .decorative-cultura::after{
    display: none;

  }
  
  .decorative-gastronomia::after{
    display: none;
  }
}

/* Container de imágenes */
.section-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.section-image-container img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease;
}


/* Contenido de texto */
.section-content {
  padding: 0 30px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  margin-bottom: 30px;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-text {
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Source Sans Pro', sans-serif;
  color: #333333;
  margin-bottom: 25px;
  text-align: justify;
}

/* Colores específicos por sección */
.color-azul {
  color: #0C6CB1;
}

.color-gris {
  color: #CCCCCC;
}

/* Enlaces */
.rosario-link {
  color: #0C6CB1;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.rosario-link:hover {
  color: #0C6CB1;
  text-decoration: none;
}

/* Enlace "Ver más" simple */
.ver-mas-simple {
  color: #333333;
  text-decoration: underline;
  font-size: 18px;
  font-family: 'Source Sans Pro', sans-serif;
  transition: color 0.3s ease;
}

.ver-mas-simple:hover {
  color: #0C6CB1;
  text-decoration: none;
}

/* Elementos decorativos - usando SVG reales */
.decorative-element {
  position: absolute;
  width: 120px;
  height: 120px;
  z-index: 2;
}

.decorative-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Posicionamiento de elementos decorativos */
.top-left {
  top: -20px;
  left: -20px;
}

.top-right {
  top: -20px;
  right: -20px;
}

.bottom-left {
  bottom: -20px;
  left: -20px;
}

.bottom-right {
  bottom: -20px;
  right: -20px;
}

.content-container{
  display: flex;
  gap: 2em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page h1 span:first-child {
      font-size: 60px !important;
      line-height: 50px;
  }
  
  .page h1 span:nth-child(2) {
      font-size: 36px;
      line-height: 32px;
      margin-top: -10px;
  }
  
  .rosario-header-icon {
      position: static;
      width: 80px;
      height: 80px;
      margin: 20px auto 0;
      display: block;
  }
  
  .rosario-header-container {
      text-align: center;
      padding: 40px 0;
  }
  
  /* Cambiar a layout vertical en mobile */
  .content-container,
  .content-reverse {
      flex-direction: column;
      gap: 20px;
  }
  
  .image-container,
  .section-image-container {
      flex: none;
      max-width: 100%;
  }
  
  .text-container {
      padding: 0 15px;
  }
  
  .section-title {
      font-size: 24px;
      margin-bottom: 20px;
      text-align: center;
  }
  
  .text-container .section-text {
      font-size: 16px;
      text-align: left;
  }
  
  /* Elementos decorativos más pequeños en móvil */
  .decorative-messi:before,
  .decorative-bandera:before,
  .decorative-rio:before,
  .decorative-cultura:before,
  .decorative-gastronomia:before {
      width: 60px;
      height: 60px;
  }
}

@media (max-width: 480px) {
  .section-title {
      font-size: 20px;
      letter-spacing: 0.5px;
      margin-bottom: 15px;
  }
  
  .text-container .section-text {
      font-size: 14px;
  }
  
  .text-container {
      padding: 0 10px;
  }
  
  .content-container {
      gap: 15px;
  }
  
  /* Elementos decorativos aún más pequeños */
  .decorative-messi:before,
  .decorative-bandera:before,
  .decorative-rio:before,
  .decorative-cultura:before,
  .decorative-gastronomia:before {
      width: 50px;
      height: 50px;
  }
}

/* Animaciones sutiles */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.image-container{
  width: 2000px;
}

.decorative-rio,
.decorative-gastronomia{
  width: 3030px;
}
.decorative-cultura{
  display: flex;
  justify-content: flex-end;
  width: 2000px;
}

.rosario-section {
  animation: fadeInUp 0.8s ease-out;
}

/* Hover effects para las imágenes */
.section-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  border-radius: 15px;
}

.section-image-container:hover::after {
  background: rgba(0,0,0,0.05);
}

/* Mejoras de accesibilidad */
.section-title:focus,
.rosario-link:focus,
.ver-mas-simple:focus {
  outline: 2px solid #0C6CB1;
  outline-offset: 2px;
}

/* Asegurar que las imágenes sean responsive */
.section-image-container img.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Efectos de transición para elementos interactivos */
.rosario-section,
.section-image-container,
.section-title,
.ver-mas-simple {
  transition: all 0.3s ease;
}

/* Mejoras tipográficas */
.section-title {
  text-rendering: optimizeLegibility;
}

.section-text {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 600;
}

/* Espaciado mejorado para pantallas grandes */
@media (min-width: 1200px) {
  .section-content {
      padding: 0 40px;
  }
  
  .section-title {
      font-size: 36px;
  }
  
  .section-text {
      font-size: 19px;
  }
}

/* ===================================
   PÁGINA ROSARIO - DISEÑO FINAL AJUSTADO
   =================================== */

/* Container principal */
.rosario-page {
  background-color: #ffffff;
}

/* Header de la página */
.rosario-header-container {
  position: relative;
  padding: 60px 0;
}

.page h1 span:first-child {
  font-size: 100px;
  font-weight: 400;
  line-height: 85px;
  color: rgba(0,0,0,.1);
  margin: 0;
  display: inline-block;
  width: 100%;
}

.page h1 span:nth-child(2) {
  margin-top: -20px;
  line-height: 39px;
  display: inline-block;
  width: auto;
  font-size: 56px;
  font-weight: 100;
  font-family: 'Source Sans Pro';
  font-style: italic;
  width: 100%;
  color: #434343;
}

/* Icono decorativo del header */
.rosario-header-icon {
  position: absolute;
  top: 20px;
  right: 0;
  width: 140px;
  height: 120px;
}

.header-decorative-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Secciones de contenido */
.rosario-section {
  position: relative;
  margin-bottom: 0;
}

/* Container de imágenes */
.section-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.section-image-container img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.section-image-container:hover img {
  transform: scale(1.02);
}

/* Contenido de texto */
.section-content {
  padding: 0 30px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  margin-bottom: 30px;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-text {
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Source Sans Pro', sans-serif;
  color: #333333;
  margin-bottom: 25px;
  text-align: justify;
}

/* Colores específicos por sección */
.color-azul {
  color: #0C6CB1;
}

.color-gris {
  color: #CCCCCC;
}

/* Enlaces */
.rosario-link {
  color: #0C6CB1;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.rosario-link:hover {
  color: #0C6CB1;
  text-decoration: none;
}

/* Enlace "Ver más" simple */
.ver-mas-simple {
  color: #333333;
  text-decoration: underline;
  font-size: 18px;
  font-family: 'Source Sans Pro', sans-serif;
  transition: color 0.3s ease;
}

.ver-mas-simple:hover {
  color: #0C6CB1;
  text-decoration: none;
}

/* Elementos decorativos - usando SVG reales */
.decorative-element {
  position: absolute;
  width: 120px;
  height: 120px;
  z-index: 2;
}

.decorative-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Posicionamiento de elementos decorativos */
.top-left {
  top: -20px;
  left: -20px;
}

.top-right {
  top: -20px;
  right: -20px;
}

.bottom-left {
  bottom: -20px;
  left: -20px;
}

.bottom-right {
  bottom: -20px;
  right: -20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page h1 span:first-child {
      font-size: 60px !important;
      line-height: 50px;
  }
  
  .page h1 span:nth-child(2) {
      font-size: 36px;
      line-height: 32px;
      margin-top: -10px;
  }
  
  .rosario-header-icon {
      position: static;
      width: 80px;
      height: 80px;
      margin: 20px auto 0;
      display: block;
  }
  
  .rosario-header-container {
      text-align: center;
      padding: 40px 0;
  }
  
  /* Cambiar a layout vertical en mobile */
  .content-container,
  .content-reverse {
      flex-direction: column;
      gap: 20px;
  }
  
  .image-container,
  .section-image-container {
      flex: none;
      max-width: 100%;
  }
  
  .text-container {
      padding: 0 15px;
  }
  
  .section-title {
      font-size: 24px;
      margin-bottom: 20px;
      text-align: center;
  }
  
  .text-container .section-text {
      font-size: 16px;
      text-align: left;
  }
  
  /* Elementos decorativos más pequeños en móvil */
  .decorative-messi:before,
  .decorative-bandera:before,
  .decorative-rio:before,
  .decorative-cultura:before,
  .decorative-gastronomia:before {
      width: 60px;
      height: 60px;
  }
}

@media (max-width: 480px) {
  .section-title {
      font-size: 20px;
      letter-spacing: 0.5px;
      margin-bottom: 15px;
  }
  
  .text-container .section-text {
      font-size: 14px;
  }
  
  .text-container {
      padding: 0 10px;
  }
  
  .content-container {
      gap: 15px;
  }
  
  /* Elementos decorativos aún más pequeños */
  .decorative-messi:before,
  .decorative-bandera:before,
  .decorative-rio:before,
  .decorative-cultura:before,
  .decorative-gastronomia:before {
      width: 50px;
      height: 50px;
  }
}

/* Animaciones sutiles */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.rosario-section {
  animation: fadeInUp 0.8s ease-out;
}

/* Hover effects para las imágenes */
.section-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  border-radius: 15px;
}

.section-image-container:hover::after {
  background: rgba(0,0,0,0.05);
}

/* Mejoras de accesibilidad */
.section-title:focus,
.rosario-link:focus,
.ver-mas-simple:focus {
  outline: 2px solid #0C6CB1;
  outline-offset: 2px;
}

/* Asegurar que las imágenes sean responsive */
.section-image-container img.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Efectos de transición para elementos interactivos */
.rosario-section,
.section-image-container,
.section-title,
.ver-mas-simple {
  transition: all 0.3s ease;
}

/* Mejoras tipográficas */
.section-title {
  text-rendering: optimizeLegibility;
}

.section-text {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Espaciado mejorado para pantallas grandes */
@media (min-width: 1200px) {
  .section-content {
      padding: 0 40px;
  }
  
  .section-title {
      font-size: 36px;
  }
  
  .section-text {
      font-size: 19px;
  }
}

/* Estilos para enlace de descarga de PDF cronograma */


.descargar-archivo {
  display: inline-block;
  font-size: 2.5rem;
  text-decoration: none;
  font-weight: 400;
  position: relative;
}


.descargar-archivo:hover {
  text-decoration: none;
}

/* CONGRESO JADAR 2025 */
#congreso-jadar {
  background-color: #fff;
  color: #000;
  padding: 80px 0;
  position: relative;
}

.congreso-jadar-content {
  max-width: 1200px;
  margin: 0 auto;
}



/* Información del congreso */
.congreso-jadar-info {
  margin-bottom: 60px;
}

.congreso-descripcion {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 300;
  text-align: justify;
}

.congreso-descripcion strong {
  color: #0C6CB1;
  font-weight: 700;
}

.inscripciones-info p {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.inscripciones-info strong {
  color: #0C6CB1;
  font-weight: 700;
}

/* Sección de inscripciones */
.inscripciones-section {
  text-align: center;
  border: 2px solid #000;
  padding: 40px 30px;
  border-radius: 10px;
}

.periodo-inscripciones {
  margin-bottom: 40px;
}

.periodo-inscripciones h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 15px;
  color: #0C6CB1;
}

.periodo-inscripciones h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* Días de inscripción */
.dias-inscripcion {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.dia-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 20px 15px;
}

.icono-dia {
  width: 60px;
  height: 60px;
  background-color: #0C6CB1;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icono-dia:after {
  content: '';
  width: 70px;
  height: 70px;
  background-color: #ed9405;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: -1;
}

.icono-dia i {
  color: #fff;
  font-size: 24px;
}

/* Enlaces clickeables de días */
.icono-dia-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.icono-dia-link:hover {
  text-decoration: none;
  color: inherit;
}

.dia-item h4 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
  color: #000;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.icono-dia-link:hover .dia-item h4 {
  color: #0C6CB1;
}

.icono-dia-link:hover .icono-dia {
  transform: scale(1.1);
}



/* Responsive */
@media (max-width: 992px) {
  .congreso-descripcion,
  .inscripciones-info p {
      font-size: 15px;
      text-align: left;
  }
  
  .dias-inscripcion {
      justify-content: center;
  }
  
  .dia-item {
      min-width: 150px;
  }
}

@media (max-width: 768px) {
  #congreso-jadar {
      padding: 60px 0;
  }
  
  .inscripciones-section {
      padding: 30px 20px;
  }
  
  .periodo-inscripciones h3 {
      font-size: 20px;
  }
  
  .periodo-inscripciones h2 {
      font-size: 16px;
  }
  
  .dias-inscripcion {
      flex-direction: column;
      align-items: center;
  }
  
  .dia-item {
      max-width: 250px;
      margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .congreso-descripcion,
  .inscripciones-info p {
      font-size: 14px;
  }
  
  .periodo-inscripciones h2 {
      font-size: 14px;
      line-height: 1.4;
  }
}

/* ===============================================
   CALENDARIO DEPORTIVO - JADAR 2025 ESTÁTICO
   Compatible con sistema existente - SIN COLUMNA DE NUMERACIÓN
   =============================================== */

/* Header del calendario deportivo */
.calendario-deportivo-header {
  margin-bottom: 30px;
  position: relative;
}

.calendario-deportivo-content {
  font-family: 'Source Sans Pro', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 100px;
}

.calendario-deportivo-titulo-container {
  flex: 1;
}

.calendario-deportivo-titulo {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  line-height: 1.1;
  text-align: left;
  max-width: 500px;
}

.calendario-deportivo-logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.calendario-deportivo-logo-placeholder {
  background: linear-gradient(135deg, #0C6CB1, #004499);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(12,108,177,0.3);
}

.calendario-deportivo-titulo-gris {
  color: #999999;
  font-weight: 300;
  font-size: 60px;
  font-style: italic;
}

.calendario-deportivo-titulo-dark {
  font-family: 'Source Sans Pro', sans-serif;
  color: #434343;
  font-weight: 500;
  font-size: 82px;
  font-style: italic;
}

/* Container de la tabla del calendario deportivo */
.calendario-deportivo-table-container {
  background: transparent;
  border-radius: 0;
  overflow-x: auto;
  box-shadow: none;
  margin-top: 20px;
}

/* Tabla principal del calendario deportivo */
.calendario-deportivo-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Source Sans Pro', sans-serif;
  background: #ffffff;
  min-width: 900px;
}

/* Header de la tabla del calendario deportivo */
.calendario-deportivo-table thead {
  height: 60px;
}

.calendario-deportivo-table thead tr {
  background: #fff;
  border-bottom: 2px solid #333;
}

.calendario-deportivo-table th {
  padding: 10px;
  text-align: center;
  font-weight: 600;
  color: #333;
  font-size: 16px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  font-family: 'Source Sans Pro', sans-serif;
}

.calendario-deportivo-table th:last-child {
  border-right: none;
}

/* Columnas específicas del header */
.calendario-deportivo-deportes-header {
  text-align: left !important;
  width: 300px; /* Aumentado de 250px a 300px */
  padding-left: 15px !important;
  background: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.calendario-deportivo-lugar-header {
  text-align: left !important;
  width: 220px; /* Aumentado de 200px a 220px */
  padding-left: 15px !important;
  background: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.calendario-deportivo-dia-header {
  width: 45px;
  line-height: 1.1;
  background: #fff;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

.calendario-deportivo-numero-dia {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0C6CB1;
  margin-top: 3px;
}

/* Filas de disciplinas del calendario deportivo */
.calendario-deportivo-disciplina-row {
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.2s ease;
  background: #ffffff;
  position: relative;
}

.calendario-deportivo-disciplina-row:hover {
  background-color: #f8f9fa;
}

/* Eventos especiales */
.calendario-deportivo-evento-especial {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.calendario-deportivo-evento-especial.calendario-deportivo-clausura {
  border-top: 2px solid #e0e0e0;
}

/* Celdas de contenido */
.calendario-deportivo-disciplina-celda {
  padding: 8px 15px;
  font-weight: 400;
  color: #333;
  font-size: 13px;
  font-style: italic;
  text-align: left;
  width: 300px; /* Igualamos al header */
}

.calendario-deportivo-disciplina-celda.inauguracion {
  color: #E31C20;
  font-weight: 600;
  font-style: normal;
}

.calendario-deportivo-disciplina-celda.clausura {
  color: #E31C20;
  font-weight: 600;
  font-style: normal;
}

.calendario-deportivo-lugar-celda {
  padding: 8px 15px;
  font-weight: 400;
  color: #666;
  font-size: 12px;
  border-right: 1px solid #e0e0e0;
  text-align: left;
  width: 220px; /* Igualamos al header */
}

/* Celdas de días */
.calendario-deportivo-dia-celda {
  padding: 3px;
  text-align: center;
  vertical-align: middle;
  width: 45px;
  height: 35px;
  border-right: 1px solid #e0e0e0;
  background: #ffffff;
  position: relative;
}

.calendario-deportivo-dia-celda:last-child {
  border-right: none;
}

/* Eventos en el calendario - bloques de color más pequeños */
.calendario-deportivo-evento-entrenamiento,
.calendario-deportivo-evento-olimpico,
.calendario-deportivo-evento-mixto,
.calendario-deportivo-evento-paralimpico,
.calendario-deportivo-evento-inauguracion,
.calendario-deportivo-evento-clausura {
  width: 100%;
  height: 28px;
  display: block;
  border-radius: 2px;
}

.calendario-deportivo-evento-entrenamiento {
  background-color: #CCCCCC;
}

.calendario-deportivo-evento-olimpico {
  background-color: #00b2d2;
}

.calendario-deportivo-evento-mixto {
  background-color: #F5B009;
}

.calendario-deportivo-evento-paralimpico {
  background-color: #812f6a;
}

.calendario-deportivo-evento-inauguracion {
  background-color: #E31C20;
}

.calendario-deportivo-evento-clausura {
  background-color: #E31C20;
}

/* Leyenda del calendario */
.calendario-deportivo-leyenda {
  margin-top: 25px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.calendario-deportivo-leyenda-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  font-family: 'Source Sans Pro', sans-serif;
}

.calendario-deportivo-leyenda-color {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  display: inline-block;
}

.calendario-deportivo-leyenda-color.entrenamiento {
  background-color: #CCCCCC;
}

.calendario-deportivo-leyenda-color.olimpico {
  background-color: #00b2d2;
}

.calendario-deportivo-leyenda-color.mixto {
  background-color: #F5B009;
}

.calendario-deportivo-leyenda-color.paralimpico {
  background-color: #812f6a;
}

/* Animaciones de carga */
.calendario-deportivo-disciplina-row {
  animation: slideInRow 0.5s ease forwards;
  opacity: 0;
}

@keyframes slideInRow {
  from {
      opacity: 0;
      transform: translateX(-20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Delays escalonados para las filas */
.calendario-deportivo-disciplina-row:nth-child(1) { animation-delay: 0.1s; }
.calendario-deportivo-disciplina-row:nth-child(2) { animation-delay: 0.15s; }
.calendario-deportivo-disciplina-row:nth-child(3) { animation-delay: 0.2s; }
.calendario-deportivo-disciplina-row:nth-child(4) { animation-delay: 0.25s; }
.calendario-deportivo-disciplina-row:nth-child(5) { animation-delay: 0.3s; }
.calendario-deportivo-disciplina-row:nth-child(6) { animation-delay: 0.35s; }
.calendario-deportivo-disciplina-row:nth-child(7) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1200px) {
  .calendario-deportivo-table {
      font-size: 12px;
  }
  
  .calendario-deportivo-deportes-header {
      width: 250px;
  }
  
  .calendario-deportivo-lugar-header {
      width: 180px;
  }
  
  .calendario-deportivo-disciplina-celda {
      width: 250px;
  }
  
  .calendario-deportivo-lugar-celda {
      width: 180px;
  }
  
  .calendario-deportivo-dia-header {
      width: 40px;
  }
  
  .calendario-deportivo-dia-celda {
      width: 40px;
      height: 32px;
  }
  
  .calendario-deportivo-evento-entrenamiento,
  .calendario-deportivo-evento-olimpico,
  .calendario-deportivo-evento-mixto,
  .calendario-deportivo-evento-paralimpico,
  .calendario-deportivo-evento-inauguracion,
  .calendario-deportivo-evento-clausura {
      height: 25px;
  }
  
  .calendario-deportivo-titulo-gris {
      font-size: 36px;
  }
  
  .calendario-deportivo-titulo-dark {
      font-size: 48px;
  }
}

@media (max-width: 992px) {
  /* Ocultar columna de lugar en tablets */
  .calendario-deportivo-lugar-header,
  .calendario-deportivo-lugar-celda {
      display: none;
  }
  
  .calendario-deportivo-deportes-header {
      width: auto; /* Se ajusta automáticamente */
  }
  
  .calendario-deportivo-disciplina-celda {
      width: auto;
  }
  
  .calendario-deportivo-titulo-gris {
      font-size: 32px;
  }
  
  .calendario-deportivo-titulo-dark {
      font-size: 42px;
  }
  
  .calendario-deportivo-titulo {
      max-width: 400px;
  }
  
  .calendario-deportivo-disciplina-celda {
      font-size: 12px;
      padding: 6px 12px;
  }
  
  .calendario-deportivo-leyenda {
      gap: 20px;
  }
}

@media (max-width: 768px) {
  /* Mantener columna de lugar oculta */
  .calendario-deportivo-lugar-header,
  .calendario-deportivo-lugar-celda {
      display: none;
  }
  
  .calendario-deportivo-content {
      flex-direction: column;
      text-align: center;
      gap: 25px;
      align-items: center;
  }
  
  .calendario-deportivo-titulo {
      text-align: center;
      max-width: 100%;
  }
  
  .calendario-deportivo-table-container {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
  }
  
  .calendario-deportivo-table {
      min-width: 500px; /* Reducido de 600px */
  }
  
  .calendario-deportivo-titulo-gris {
      font-size: 28px;
  }
  
  .calendario-deportivo-titulo-dark {
      font-size: 36px;
  }
  
  .calendario-deportivo-deportes-header {
      font-size: 11px;
      width: 150px; /* Reducido de 180px */
  }
  
  .calendario-deportivo-disciplina-celda {
      width: 150px;
  }
  
  .calendario-deportivo-dia-header {
      width: 35px;
      font-size: 11px;
  }
  
  .calendario-deportivo-numero-dia {
      font-size: 14px;
  }
  
  .calendario-deportivo-dia-celda {
      width: 35px;
      height: 28px;
      padding: 2px;
  }
  
  .calendario-deportivo-evento-entrenamiento,
  .calendario-deportivo-evento-olimpico,
  .calendario-deportivo-evento-mixto,
  .calendario-deportivo-evento-paralimpico,
  .calendario-deportivo-evento-inauguracion,
  .calendario-deportivo-evento-clausura {
      height: 22px;
  }
  
  .calendario-deportivo-disciplina-celda {
      font-size: 11px;
      padding: 5px 10px;
  }
  
  .calendario-deportivo-leyenda {
      flex-direction: column;
      gap: 12px;
      padding: 12px;
  }
  
  .calendario-deportivo-leyenda-item {
      font-size: 12px;
  }
}

@media (max-width: 480px) {
  /* Mantener columna de lugar oculta */
  .calendario-deportivo-lugar-header,
  .calendario-deportivo-lugar-celda {
      display: none;
  }
  
  .calendario-deportivo-titulo-gris {
      font-size: 24px;
  }
  
  .calendario-deportivo-titulo-dark {
      font-size: 30px;
  }
  
  .calendario-deportivo-header {
      margin-bottom: 20px;
  }
  
  .calendario-deportivo-content {
      gap: 20px;
  }
  
  .calendario-deportivo-logo-placeholder {
      font-size: 16px;
      padding: 10px 20px;
  }
  
  .calendario-deportivo-table {
      min-width: 420px; /* Reducido de 500px */
      font-size: 10px;
  }
  
  .calendario-deportivo-deportes-header {
      font-size: 10px;
      padding: 5px 8px !important;
      width: 130px; /* Reducido de 150px */
  }
  
  .calendario-deportivo-disciplina-celda {
      width: 130px;
  }
  
  .calendario-deportivo-dia-header {
      width: 30px;
      font-size: 10px;
      padding: 5px 2px;
  }
  
  .calendario-deportivo-numero-dia {
      font-size: 12px;
  }
  
  .calendario-deportivo-dia-celda {
      width: 30px;
      height: 24px;
  }
  
  .calendario-deportivo-evento-entrenamiento,
  .calendario-deportivo-evento-olimpico,
  .calendario-deportivo-evento-mixto,
  .calendario-deportivo-evento-paralimpico,
  .calendario-deportivo-evento-inauguracion,
  .calendario-deportivo-evento-clausura {
      height: 18px;
  }
  
  .calendario-deportivo-disciplina-celda {
      font-size: 10px;
      padding: 4px 8px;
  }
  
  .calendario-deportivo-leyenda {
      margin-top: 15px;
  }
  
  .calendario-deportivo-leyenda-color {
      width: 15px;
      height: 15px;
  }
}

/* Estilos de impresión */
@media print {
  .calendario-deportivo-header {
      page-break-after: avoid;
  }
  
  .calendario-deportivo-table {
      page-break-inside: avoid;
  }
  
  .calendario-deportivo-disciplina-row {
      animation: none;
      opacity: 1;
  }
  
  .calendario-deportivo-dia-celda {
      -webkit-print-color-adjust: exact;
      color-adjust: exact;
  }
}

.banner-decorativo-container {
  width: 100%;
  text-align: center;
  padding-left: 5em;
  padding-right: 5em;
  padding-bottom: 5em;
}

.banner-decorativo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-decorativo {
      max-width: 95%;
  }
}

/* Estilos para el contenedor del logo del calendario */
.calendario-deportivo-logo-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.calendario-deportivo-logo {
  background-color: #ffffff;
  padding: 15px;
}

.logo-calendario-svg {
  display: block;
  width: auto;
  max-width: 200px;
  min-width: 250px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .calendario-deportivo-logo-container {
      justify-content: center;
      padding: 15px;
  }
  
  .calendario-deportivo-logo {
      padding: 10px;
  }
  
  .logo-calendario-svg {
      height: 50px;
      max-width: 150px;
      min-width: 100px;
  }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
  .calendario-deportivo-logo-container {
      padding: 10px;
  }
  
  .logo-calendario-svg {
      height: 40px;
      max-width: 120px;
      min-width: 80px;
  }
}


/* ===============================================
   ESTILOS PARA SPONSORS REORGANIZADOS
   =============================================== */

/* Contenedor principal de sponsors */
#bloque-organizan-sponsors {
  margin: 40px 0;
}

/* Estilos para secciones de sponsors */
.bloque-organizan,
.bloque-main-sponsors,
.bloque-other-sponsors {
  margin-bottom: 50px;
  padding: 30px 0;
}

/* Títulos de secciones */
.bloque-organizan h3,
.bloque-main-sponsors h3 {
  color: #333;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bloque-other-sponsors h4 {
  color: #666;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contenedores de logos */
.item-logo {
  text-align: center;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Logos de organizadores (mantienen el tamaño original) */
.bloque-organizan .item-logo {
  min-height: 180px;
}

/* Main sponsors - más grandes */
.item-logo.main-sponsor {
  min-height: 140px;
  padding: 25px 15px;
}

.main-sponsor img {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Other sponsors - más pequeños */
.item-logo.other-sponsor {
  min-height: 100px;
  padding: 15px 8px;
}

.other-sponsor img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
}

/* Efectos hover */
.item-logo:hover {
  transform: translateY(-5px);
}

.main-sponsor:hover img {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.other-sponsor:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Enlaces */
.item-logo a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.item-logo img {
  transition: all 0.3s ease;
}

/* Separadores visuales */
.bloque-organizan {
  border-bottom: 2px solid #f0f0f0;
}

.bloque-main-sponsors {
  border-bottom: 1px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
  /* En tablets, main sponsors en 2 filas */
  .bloque-main-sponsors .col-md-4:nth-child(3) {
    margin-top: 20px;
  }
  
  /* Ajustar tamaños de logos */
  .main-sponsor img {
    max-width: 160px;
    max-height: 80px;
  }
  
  .other-sponsor img {
    max-width: 100px;
    max-height: 50px;
  }
  
  /* Títulos más pequeños */
  .bloque-organizan h3,
  .bloque-main-sponsors h3 {
    font-size: 28px;
  }
  
  .bloque-other-sponsors h4 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  /* En móviles, todos los logos se apilan */
  .bloque-main-sponsors .col-md-4,
  .bloque-other-sponsors .col-md-2 {
    margin-bottom: 20px;
  }
  
  /* Ajustar contenedores */
  .item-logo {
    padding: 15px 5px;
    min-height: 80px;
  }
  
  .item-logo.main-sponsor {
    min-height: 100px;
  }
  
  .item-logo.other-sponsor {
    min-height: 70px;
  }
  
  /* Ajustar tamaños de imágenes */
  .main-sponsor img {
    max-width: 140px;
    max-height: 70px;
  }
  
  .other-sponsor img {
    max-width: 90px;
    max-height: 45px;
  }
  
  /* Títulos más pequeños */
  .bloque-organizan h3,
  .bloque-main-sponsors h3 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .bloque-other-sponsors h4 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  /* Reducir márgenes */
  .bloque-organizan,
  .bloque-main-sponsors,
  .bloque-other-sponsors {
    margin-bottom: 30px;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  /* En pantallas muy pequeñas */
  .item-logo {
    padding: 10px 5px;
    min-height: 60px;
  }
  
  .item-logo.main-sponsor {
    min-height: 80px;
  }
  
  .item-logo.other-sponsor {
    min-height: 60px;
  }
  
  /* Imágenes aún más pequeñas */
  .main-sponsor img {
    max-width: 120px;
    max-height: 60px;
  }
  
  .other-sponsor img {
    max-width: 80px;
    max-height: 40px;
  }
  
  /* Títulos más pequeños */
  .bloque-organizan h3,
  .bloque-main-sponsors h3 {
    font-size: 20px;
  }
  
  .bloque-other-sponsors h4 {
    font-size: 16px;
  }
}

/* Animaciones de carga */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.item-logo {
  animation: fadeInUp 0.6s ease forwards;
}

/* Delays escalonados para las animaciones */
.bloque-organizan .item-logo:nth-child(1) { animation-delay: 0.1s; }
.bloque-organizan .item-logo:nth-child(2) { animation-delay: 0.2s; }
.bloque-organizan .item-logo:nth-child(3) { animation-delay: 0.3s; }
.bloque-organizan .item-logo:nth-child(4) { animation-delay: 0.4s; }
.bloque-organizan .item-logo:nth-child(5) { animation-delay: 0.5s; }
.bloque-organizan .item-logo:nth-child(6) { animation-delay: 0.6s; }

.bloque-main-sponsors .item-logo:nth-child(1) { animation-delay: 0.2s; }
.bloque-main-sponsors .item-logo:nth-child(2) { animation-delay: 0.4s; }
.bloque-main-sponsors .item-logo:nth-child(3) { animation-delay: 0.6s; }

.bloque-other-sponsors .item-logo { animation-delay: 0.1s; }

/* ============================================
   ESTILOS PARA PÁGINA DE SEDES
   ============================================ */

/* Contenedor principal de sedes */
.listado-sedes {
  margin-top: 30px;
}

/* Tarjeta individual de sede */
.sede-item {
  margin-bottom: 30px;
  display: flex;
}

.tarjeta-sede {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.tarjeta-sede:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contenido de la tarjeta */
.contenido-sede {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Título de la sede */
.titulo-sede {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: #812a81; /* Color principal del tema */
}

.titulo-sede a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.titulo-sede a:hover {
  color: #a235a2;
  text-decoration: none;
}

/* Información de la sede */
.direccion-sede,
.capacidad-sede,
.deportes-sede {
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
}

.direccion-sede i,
.capacidad-sede i,
.deportes-sede i {
  margin-right: 8px;
  width: 16px;
  color: #812a81;
}

/* Resumen de la sede */
.resumen-sede {
  margin: 15px 0;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

/* Enlace de la sede */
.enlace-sede {
  margin-top: auto;
  padding-top: 15px;
}

.enlace-sede .btn {
  width: 100%;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mensaje cuando no hay sedes */
.no-sedes {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
}

/* ============================================
 RESPONSIVE DESIGN
 ============================================ */

@media (max-width: 768px) {
  .sede-item {
      margin-bottom: 20px;
  }
  
  .contenido-sede {
      padding: 20px;
  }
  
  .titulo-sede {
      font-size: 18px;
  }
}

@media (max-width: 480px) {
  .listado-sedes {
      margin-top: 20px;
  }
  
  .contenido-sede {
      padding: 18px;
  }
  
  .titulo-sede {
      font-size: 16px;
      margin-bottom: 12px;
  }
  
  .direccion-sede,
  .capacidad-sede,
  .deportes-sede,
  .resumen-sede {
      font-size: 13px;
  }
}

/* Banner Component - CSS Simple */
.banner {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 2em auto 5em auto;
  overflow: hidden;
}

.banner__container {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #f9fafb;
}

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

/* Mobile */
@media (max-width: 767px) {
  .banner {
    margin: 0 1rem 1rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .banner {
    margin: 0 2rem 2rem 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .banner {
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
  }
}

/* Print */
@media print {
  .banner {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  
  .banner__image {
    filter: grayscale(100%);
  }
}

/* Estilos para la sección de cronogramas */
.cronogramas-section {
    padding: 40px 0;
    margin: 30px 0;
    text-align: center;
}

.cronogramas-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.botones-cronogramas {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.boton-cronograma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background-color: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    border: 2px solid var(--primary-blue);
    min-width: 280px;
    box-shadow: 0 2px 8px rgba(12, 108, 177, 0.1);
}

.boton-cronograma:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 108, 177, 0.3);
}

.boton-cronograma:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 108, 177, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .botones-cronogramas {
        flex-direction: column;
        gap: 15px;
    }

    .boton-cronograma {
        min-width: 100%;
        max-width: 350px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .cronogramas-section {
        padding: 30px 0;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .cronogramas-container {
        padding: 0 15px;
    }

    .boton-cronograma {
        padding: 10px 18px;
        font-size: 13px;
        min-width: 100%;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cronogramas-section {
    animation: fadeInUp 0.6s ease-out;
}

.boton-cronograma:nth-child(1) {
    animation-delay: 0.2s;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.boton-cronograma:nth-child(2) {
    animation-delay: 0.4s;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}
/*
     FILE ARCHIVED ON 19:24:35 Sep 09, 2025 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 08:25:00 Aug 13, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.38
  exclusion.robots: 0.051
  exclusion.robots.policy: 0.044
  esindex: 0.005
  cdx.remote: 6.272
  LoadShardBlock: 258.454 (3)
  PetaboxLoader3.datanode: 338.604 (4)
  load_resource: 150.568
  PetaboxLoader3.resolve: 69.415
*/