/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
  font-family: 'MiFuente';
  src: url('../fonts/BASKVILL.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root{
--logofont:font-family: 'Lato', sans-serif; 
--primalfont: font-family: 'Montserrat', sans-serif;
--primario: #94b43b;
--primarioclaro: #acd145;
--primariooscuro: #466b3f;
--gris: rgba(40, 40, 40);
--secundario: #6c232f;
--terciario:#f2f2f2;
}
html{
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}


/*Globales*/
body{
  background-color: var(--terciario);
  margin: 0;
  font-family: var(--logofont)
}
.centrar{
  text-align: center;
}
.contenedor{
  width: 90%;
  margin: 0 auto;
}
@media(min-width: 480px ) {
    .contenedor{
  width: 95%;
} 
}
@media(min-width: 768px ) {

  .contenedor{
  width: 90%;
} 
}

@media(min-width: 992px ) {

  .contenedor{
  width: 90%;
  max-width: 1100px;
} 
}

.seccion{
  padding: 30px 0;
}

.seccion p {
  font-size: 1.2em;
  text-align: center;

}
h1{
  font-family: var(--primalfont);
}
h2{
  font-family: var(--primalfont);
  font-size: 2.4em;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
}

h2::after{
  content: '';
  margin: 0 auto;
  background-image: url(../img/separador.svg);
  height: 30px;
  width: 100px;
  display: block;
}

h3{
  font-size: 1.6em;
  color: var(--primario);
  font-family: var(--logofont);
  margin: 0;
}
h4{
  font-family: var(--logofont);
  margin: 0;
}
p,i{
  font-family: var(--logofont);
}
.texto-centrado{
  text-align: center;
}

/**HEADER*/

div.hero{
  background-image: url(../img/hero.png);
  min-height:100vh;
  background-position: top center;
  background-size: cover;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
  
}


div.contenido-header{
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
@media(min-width: 768px ) {
  div.contenido-header{
  padding-top: 10px;
  }
}
nav.red-social{
  text-align: center;
}

nav.red-social a{
  color: rgb(243, 239, 239);
  font-weight: bold;
  font-size: 1.5em;
  margin-right: 3px;
}
nav.red-social a :last-child{
  margin-right: 0px ;
}
nav.red-social i{
  transition: all 0.3s ease;
}

nav.red-social i:hover{
  scale: 1.3;
}
div.informacion{
  text-align: center;
  color: rgb(243, 239, 239);
  display: block;
 
}


@media(min-width: 768px ) {
  
  div.informacion{
  text-align: center;
  color: rgb(243, 239, 239);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;    
  text-align: center;
  
}
  .datos{
  width: 100%;
}
div.datos {
  margin:0;
  display: block;
  font-size: 20px;
  text-transform: uppercase;
}
}

div.informacion p i{
 color: var(--primario);
 font-size: 2rem;
 margin-right: 3px;
 margin-top: 70px;
 
}


div.informacion h1 {
  margin-top: 50px;
}

@media(min-width: 768px ) {
  

div.datos {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

}

@media(min-width: 480px ) {

  .informacion{
    width: 80%;
    margin: 0 auto;
    margin-top: 0px;
  }
}

p.slogan{
  text-transform: capitalize !important;
  font-size: clamp(1rem, 2vw, 1.5rem);
  max-width: 100%;
}

@media(min-width: 768px ) {
  p.slogan{
    font-size: 4vh ;
  }
}
p.slogan span{
  font-weight: bold;
}


h1.summerc{
  width: 100%;
  font-size: 7vw;
  text-transform: uppercase;
  font-family: var(--logofont);
}

@media(min-width: 768px ) {
  h1.summerc{
  font-size: 10vw;
  margin: 0  ;
  line-height: 1;
}
}

/* ===== BARRA GENERAL ===== */
.barra {
  background: var(--gris);
  padding: 10px 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.barra .fija {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}
.barra.fija2{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
/* Contenedor general de toda la barra */
.barra .contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Agrupa logo + hamburguesa en móviles */
.barra-contenido {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  max-height: 60px;
  height: auto;
  width: auto;
}

/* Botón hamburguesa */
.menu-movil {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 2;
}

.menu-movil span {
  width: 100%;
  height: 4px;
  background-color: rgb(243, 239, 239);
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

/* Menú oculto por defecto */
nav.navegacion-principal {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: var(--gris);
  margin-top: 10px;
  gap: 1rem;
}

nav.navegacion-principal.visible {
  display: flex;
}

nav.navegacion-principal a {
  color: rgb(243, 239, 239);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  transition: all 0.3s ease;
  width: 100%;
  display: block;
}

nav.navegacion-principal a:hover {
  color: var(--primario);
  transform: scale(1.05);
}

nav.navegacion-principal a:last-child {
  border: 1px solid var(--primario);
  color: var(--primario);
  border-radius: 10px;
  font-size: 1rem;
  padding: 10px;
}

nav.navegacion-principal a:hover:last-child {
  color: rgb(243, 239, 239);
  background-color: var(--primario);
}


@media (min-width: 768px) {
  .barra .contenedor {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .barra-contenido {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin: 0;
  }

  nav.navegacion-principal {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    background: none;
    width: auto;
    margin: 0;
  }

  nav.navegacion-principal a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
  }

  .menu-movil {
    display: none;
  }
}

/**Programa del evento*/

section.programa{
  position: relative;
}

div.contendor-video{
  max-width: 100%;
  overflow-x: hidden;
}


div.contenido-programa{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
div.programa-evento{
  background-color: rgb(255,255,255,.9);
  padding: 15px;
  margin-top: 80px;
  border-radius: 10px;
}
nav.menu-programa a:hover{
  text-decoration:solid 1px  var(--primario);
}
@media(min-width: 768px ) {
  

div.programa-evento{
  width: 70%;
}

}
@media(min-width: 992px ) {
  

div.programa-evento{
  width: 50%;
}

}

nav.menu-programa{
  width: 100%;
  border-bottom: solid 1px var(--primario);
  padding-bottom: 10px;
}
nav.menu-programa a{
  display: block;
  text-align: center;
  color: black;
  text-decoration: none;
  font-family: var(--logofont);
  margin-bottom: 10px;
  font-size: 1.2em;
}
nav.menu-programa a i, div.detalle-evento p i{
  color: var(--primario);
  font-size: 1.5em;
  padding-right: 10px;
}
@media(min-width: 768px ) {

  nav.menu-programa{
    display: table;
  }
  nav.menu-programa a{
  display: table-cell;
}
}
.info-certamen {
  display: none;
}

.info-certamen.activo {
  display: block;
}
nav.menu-programa a.activo {
  border-bottom: 3px solid var(--primario);
  font-weight: bold;
}

/* detalle del evento*/

div.detalle-evento{
  margin-top: 20px;
  border-bottom: 1px solid black;
  padding: 0px 20px;
}

div.detalle-evento:nth-child(2){
  border: none;
}

div.detalle-evento p{
  margin-bottom: 20px;
  font-size: 20px;
}

div.detalle-evento h3{
  text-transform: uppercase;
  text-align: center;
}

/* Botones */

.btn{
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  color: rgb(243, 239, 239);   
  font-size: 0.8rem; 
  background-color: var(--primario);
  border: 2px solid var(--primario);
  font-weight: bold;
  padding: 10px 40px;
  border-radius: 5px;
  margin: 20px ;
  display: block;
  transition: all 0.3s ease;
}

.float-rigth{
  float: right;
}

.btn:hover{
  background-color: var(--primariooscuro);
  transform: scale(1.1);
}

.btn.hollow{
  background-color: rgb(243, 239, 239);
  color: var(--primario);
  border: 1px solid var(--primario);
}
.btn.hollow:hover{
  background-color: var(--primariooscuro);
  color: rgb(243, 239, 239);
  transform: scale(1.1);
}

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


@media(min-width: 768px ) {

  .btn{
  display: none;
  display: inline-block;
}
  .contenedor-boton {
  display: flex ;
  justify-content: flex-end;
} 
}




/* Lista de invitados */
.invitado {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.lista-invitados {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 0;
}

/* Distribución responsiva */
.lista-invitados li {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 480px) {
  .lista-invitados li {
    flex: 1 1 48%;
  }
}

@media (min-width: 768px) {
  .lista-invitados li {
    flex: 1 1 31%;
  }
}

/* imagen mas grande tipo bandera 
.invitado img {
  width: 100%;
  height: 220px; /* ajusta según gusto 
  object-fit: cover;
  display: block;
  border-radius: 15px;
  filter: grayscale(1);
  transition: all 0.5s ease-in-out;
  margin: 0; /* ¡aquí el cambio! 
}*/


/* Imagen más pequeña, tipo bandera */

.invitado img {
  width: 100%;
  max-width: 120vh;
  height: 220px;
  object-fit: contain; /* Usa cover si prefieres que llene */
  background-color: #000; /* Fondo por si hay espacio */
  display: block;
  filter: grayscale(1);
  transition: all 0.5s ease-in-out;
  border-radius: 15px;
}
/* Hover efecto imagen */
.invitado img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
  cursor: pointer;


}

/* Texto debajo de la imagen */
.invitado img {
  width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
  transition: all 0.5s ease-in-out;
  border-radius: 15px;
}

.invitado p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 12px 10px;
  background-color: rgba(0, 0, 0, 0.6); /* Transparente oscuro */
  color: var(--primario);
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  font-family: var(--logofont);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-sizing: border-box;
  z-index: 3;
}

.invitado:hover p {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Modal base */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

/* Contenido del modal */
.modal-contenido {
  background-color: #fefefe;
  margin: auto;
  padding: 40px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  position: relative;
  
}

.modal-contenido-video {
  position: relative;
  z-index: 1000;
  max-width: 90vw;
  width: 600px;
  padding: 20px;
  border-radius: 10px;
  background-color: #fefefe;
  margin: auto;
}

.modal-contenido-video video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  max-height: 80vh;
  display: block;
}

#modal-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#modal-texto {
  text-align: center;
  padding: 20px;
}

@media (max-width: 480px) {
  .modal-contenido {
    width: 95vw;
    padding: 10px;
  }
}

.grupo-popup {
  margin-bottom: 30px;
}

.grupo-popup h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.grupo-popup img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 10px;
  margin: 10px 0;
}

.grupo-popup p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.grupo-popup .extra {
  font-style: var(--primalfont);
  color: #555;
}


/* Botón cerrar */
.cerrar {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.cerrar:hover {
  color: black;
}

/* contador*/
.parallax::before{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: none;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

div.contador{
  position: relative;
  height: auto;
}

div.contador::before{
  content: '';
  background-image: url(../img/auditorio.jpg);
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

ul.resumen-evento{
  position: relative;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

@media(min-width: 768px ) {
  
ul.resumen-evento{
  flex-direction: row;
  justify-content: space-between;
  
}
}
ul.resumen-evento li{
  width: 50%;
  text-align: center;
  color: rgb(243, 239, 239);
  text-transform: uppercase;
  font-family: var(--logofont);
  font-size: 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.texto {
  margin-top: 0.5rem;
  font-size: 1.4rem;
  text-transform: uppercase;
}

@media(min-width: 768px ) {
  ul.resumen-evento li{
  width: 25%;
}

}
.numero{
  color:var(--primarioclaro);
  font-size: 3.4rem;
  font-weight: bold;;
  text-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
}
p.numero { 
  margin: 0;
  text-align: center;
}

/* Sección de precios */
ul.lista-precios {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}



ul.lista-precios li {
  display: flex;
   height: 100%;
}


.tabla-precio {
  border: var(--primariooscuro) solid 1px;
  background-color: rgb(243, 239, 239);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* <- importante: evita que auto margine el botón */
  align-items: center;       
  text-align: center;         
  padding: 1rem;
  width: 100%;
  height: 100%;
  line-height: 2;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative; /* <- permite controlar los hijos si necesitas z-index */
}




.tabla-precio .numero {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin: 0px auto 0 auto;
  color: black;
}

.precio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}


.precio-tachado {
  text-decoration: line-through 2px;
  color: red;
  font-weight: bold;
}



.tabla-precio ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;        
}


.tabla-precio ul li {
  text-align: center;
  position: relative;
  padding-left: 1em;
}

div.tabla-precio ul li:before {
 content: "\f00c"; /* fa-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15em; 
  font-size: 0.9em;
  color: var(--primario);
}
div.tabla-precio:hover{
 transform: scale(1.05);
 border: 2px solid var(--primario);
 box-shadow: 0px 0px 20px var(--gris);
}

.tabla-precio a.btn {
  text-align: center;
  margin-top: 1rem; /* usa esto si quieres un pequeño espacio visual */
}

.agotado {
  position: absolute;
  top: 10px;
  right: -40px;
  transform: rotate(45deg);
  background-color: crimson;
  color: rgb(243, 239, 239);
  font-weight: bold;
  padding: 5px 40px;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.tabla-precio.agotada {
  opacity: 0.85;
  position: relative;
}

.tabla-precio.agotada a.btn {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}



@media (min-width: 768px) {
  ul.lista-precios {
    flex-direction: row;
  }

  ul.lista-precios li {
    flex: 1;
  }
}

/* mapa */ 


.mapa {
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 10;
}

.mapa iframe {
  width: 70rem;
  height: 20rem;
  border: 0;
  max-width: 100%;
  display: block;
  pointer-events: auto;
  z-index: 20;
}
/*Cronometro*/
div.cronometro{
  position: relative;
  height: auto;
  margin-bottom: 3rem;
}


ul.tiempo{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

@media(min-width: 768px ) {
  
ul.tiempo{
  flex-direction: row;
  justify-content: space-between;
  
}
}
ul.tiempo li{
  width: 50%;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--logofont);
  font-size: 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

/* ==== FOOTER ==== */
.site-footer {
  width: 100%;
  background: var(--gris);
  margin-top: 10px;
  padding: 2rem 1rem;
}

.site-footer h3 {
  color: rgb(243, 239, 239);
  text-align: left;
  width: 100%;
  margin-bottom: 0;
}

.site-footer span {
  color: var(--primario);
}

.site-footer p {
  text-align: justify;
  max-width: 400px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

.logo-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-footer img {
  max-height: 10rem;
  height: auto;
  width: auto;
  margin-bottom: 1rem;
}


nav.red-social-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

nav.red-social-footer a {
  color: rgb(243, 239, 239);
  font-weight: bold;
  font-size: 1.5em;
}

nav.red-social-footer a:last-child {
  margin-right: 0;
}
nav.red-social-footer i{
  transition: all 0.3s ease;
}

nav.red-social-footer i:hover{
  scale: 1.3;
}


/* Centrado de contenidos, títulos a la izquierda */
.informacion-footer,
.patrocinadores,.menu{
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra todo menos el h3 */
  margin-bottom: 2rem;
}

.informacion-footer h3,
.patrocinadores h3,
.menu h3 {
  align-self: flex-start; /* Título a la izquierda */
  text-align: left;
}
.informacion-footer p {
  color: rgb(243, 239, 239);
}
/* ==== DESKTOP ==== */
@media (min-width: 768px) {
  .site-footer .contenedor{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
  }
  .menu{
  display: flex;
  flex-direction: column;
  align-items: start; /* Centra todo menos el h3 */
  margin-bottom: 0rem;
  }

  .informacion-footer,
  .patrocinadores,
  .menu {
    flex: 1;
    margin-bottom: 0;
  }

  .site-footer p {
    margin: 0 auto;
  }

  nav.red-social-footer {
    justify-content: center;
  }
}
.site-footer {
  position: relative;
  z-index: 10;
}

.red-social-footer a {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}
/* ======================NOSOTROS=======================================NOSOTROS=============================================== */


.contenedor-anteriores, .contenedor-anteriores2023{
  background-color:#f5f3f3b3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px; 
  padding: 20px;     
  
}
.contenedor-anteriores> *:not(:last-child) {
  border-bottom: 2px solid #ccc;
  padding-bottom: 20px;
}
.poster,.poster2022,.info-evento h3 {
  text-align: center;
}
.detalle-superior{
  font-size: 14px;
}
.poster img {
  max-height: 100%;
  max-width: 100%;
  padding-top: 1.5rem;
  transition: all 0.3s ease;
}
.poster2022 img {
  max-height: 100%;
  max-width: 100%;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
div.paises{
  text-align: center;  
}
.paises img{
  max-width: 5rem;
  max-height: 5rem;
}
.paises ul,
.resultados ul {
  list-style:none;
  padding: 0;

}
.resultados{
  margin: 20px;


}
.resultados2023{
  margin-bottom: 20px;

}
.resultados, .resultados2023 h4{
  margin-bottom: 5px;
  font-size: 18px;
  text-align: center;
  margin-bottom: 10px;
  
}

ul.tunas {
  list-style: disc;       /* Aplica las viñetas */
  padding-left: 20px;     /* Espacio para las viñetas */
  margin: 5px 0 0 0;
}

ul.tunas li {
  font-size: 13px;
  text-align: left;
  line-height: 1.2;
  display: list-item;     /* Asegura que se muestren las viñetas */
}
ul.tunas li::marker {
  color:var(--primario); /* Cambia este color al que tú quieras */
  font-size: 14px; /* Opcional: puedes agrandar o reducir la viñeta */
}


.tunas div{
  text-align: center;
}

.paises > ul > li {
  display: flex;
  gap: 10px;
  line-height: 1;
  margin-top: 5px;
}

.culturas img{
  width: 150px;
  height: auto;
  max-width: 100%;
  padding: 0;
}

.resultados i {
  color: var(--primario);
  font-size: 15px;
  margin-top: 5px;
 
}

.resultados2023 i {
  color: var(--primario);
  font-size: 15px;
  margin-top: 5px;
}

.detalle-inferior img{
 max-width: 100%;
 max-height:80%;
}

.aliados img {
  display: block;
  width: 150px;
  height: 100px;
  max-width: 100%;
  margin-bottom: 10px;
}
@media(min-width: 768px ) {

.contenedor-anteriores, .contenedor-anteriores2023{
  display: grid;
  grid-template-columns: 1fr 2fr; /* un tercio dos tercios */
  gap: 20px;
  align-items: start;
}


.poster {
  display: flex;
  flex-direction: column;

}

.contenedor-anteriores> *:not(:last-child) {
  border-bottom: none;
}


.info-evento {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 2px solid #ccc;
  border-right: 2px solid #ccc;
  padding-left: -20px;
}

.detalle-superior {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
  gap: 20px;
  text-align: center;
  padding: 0;
  list-style: none;
  margin: 0;
}

.resultados-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-size: 12px;
}

.paises li{
  display: flex;
  align-items: center;
  gap: 10px;
}

.detalle-inferior {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
}
.aliados-img {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.aliados-img img {
  max-width: 48%; /* quepan dos por fila */
  height: auto;
}
}
/* Reflejar horizontalmente la disposición */
.reflejada {
  direction: rtl;
}

.reflejada > * {
  direction: ltr; /* evitar que el texto se invierta */
}

/* 2025==================================================================*/

.flags-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.evento{
  text-align: center;
}
.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flag-item img {
  width: 80px;
  height: auto;
}

.flag-item span {
  margin-top: 0.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.escenario img {
  display: flex;
  width: 450px;
  height: auto;
  max-width: 100%;
  margin-bottom: 10px;
  justify-content: center;
  align-items: center;
}
.paises h4{
  font-size: 18px;
  margin-bottom: 10px;
}

.font-tunas{
  text-transform:capitalize;
  font-weight: 300;
  
}

@media (min-width: 768px) {
  .flags-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .escenario-img {
  display: flex;
  justify-content: center;
  
}

.escenario-img img {
  max-width: 60%; /* quepan dos por fila */
  height: auto;
}
}
/* VIDEO POSTER*/

.clickable-poster {
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  transition: opacity 0.3s ease;
}

.poster-video video {
  width: 100%;
  max-width: 100%;
  display: block;
  
  
}

.poster a:hover {
  transform: scale(1.05);
}

#posterImg {
  cursor: pointer;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  transition: transform 0.3s ease;
  margin-bottom: 5px;
}

#posterImg:hover {
  transform: scale(1.05);
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

