/* ===== BASE (mobile first) ===== */

.categorias {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3%;
  gap: 10px;
  cursor: pointer;
}

.categorias_nav {
  background-color: #dd1f83;
  border-radius: 1vh;
  padding: 10px;
  color: #fff;
}

.busqueda {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3%;
}

.tigres {
  justify-content: center;
  display: flex;
  flex-wrap: wrap; /* clave para responsive */
  gap: 10px;
  padding: 10px;
}

.img_tigres {
  width: 100%; /* full en celular */
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.img_tigres:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Modal igual (no necesita mucho cambio) */
.modal-img {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-img-content {
  display: block;
  margin: auto;
  max-width: 95%;
  max-height: 80%;
  border-radius: 10px;
}

.modal-img-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  color: #ccc;
}

.cuerpo_origen {
  background-color: #fff;
  width: 100%;
}

.gastronomia_contaier {
  background-image: url(../img/turismo/fondos/convenciones.jpg);
  min-height: 400px;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.bicentenario_contaier {
  background-image: url(../img/turismo/fondos/ccb.jpg);
  min-height: 400px;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.titulo_gastronomia {
  padding: 10px 0;
  text-align: center;
  background-color: #6D8496;
  font-size: 22px;
  color: #fff;
}

.titulo_convenciones {
  padding: 10px 0;
  text-align: center;
  font-size: 22px;
  color: #fff;
}


.body_text {
  padding: 15px;
  color: #6D8496;
  background-color: #fff;
}


/* ===== TABLET ===== */
@media (min-width: 768px) {

  .categorias {
      width: 40%;
  }

  .busqueda {
      width: 60%;
  }

  .img_tigres {
      width: 45%; /* 2 por fila */
  }

  .cuerpo_origen {
      width: 100%;
  }

  .titulo_gastronomia {
      font-size: 26px;
  }
}


/* ===== DESKTOP ===== */
@media (min-width: 1024px) {

  .categorias {
      width: 30%;
      padding: 1%;
  }

  .busqueda {
      width: 18%;
      padding-left: 1%;
      padding-bottom: 1%;
  }

  .img_tigres {
      width: 22%; /* 4 por fila */
      max-width: 25vh;
  }

  .cuerpo_origen {
      width: 78%;
  }

  .gastronomia_contaier {
      min-height: 400px;
      padding-left: 15%;
      padding-top: 5%;
  }

  .titulo_gastronomia {
      font-size: 32px;
  }
}

.c-gray {
  background-color: #6D8496;
  position: relative;
  float: left;
  top: 0;
}

.circles {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #6D8496;
  color: #fff;
  line-height: 40px;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 14px; 
  right: 10px;
  top: 10px;
}

.circles_check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #6D8496;
  color: #fff;
  line-height: 40px;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 14px; 
  right: 10px;
  top: 10px;
  display: flex;
  justify-content: center;
  font-size: 2vh;
  padding: 2%;
}


.circulitos_container {padding: 50px 0;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: baseline;
  gap: 3%;}


  .container_tabla {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  
    display: block;
    margin-top: 20px;
  }
  
  /* TABLA */
  .container_tabla table {
    border-collapse: collapse;
  
    min-width: 1600px; /* importante para muchas columnas */
    width: max-content;
  }
  
  /* HEADERS */
  .container_tabla th {
    padding: 12px;
    text-align: center;
    background-color: #6D8496;
    color: #fff;
    border: 1px solid #DBDFE2;
    white-space: nowrap;
    font-size: 14px;
  }
  
  /* CELDAS */
  .container_tabla td {
    padding: 10px;
    text-align: center;
    border: 1px solid #DBDFE2;
    background: #fff;
  
    white-space: nowrap;
    font-size: 14px;
  }
  
  /* primera columna sticky opcional */
  .container_tabla th:first-child,
  .container_tabla td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #6D8496;
    color: #fff;
  }
  
  /* body primera columna */
  .container_tabla td:first-child {
    background: #f5f5f5;
    color: #333;
    font-weight: bold;
  }
  
  /* ========================= */
  /* TABLET */
  /* ========================= */
  
  @media (max-width: 992px) {
  
    .container_tabla table {
      min-width: 1400px;
    }
  
  }
  
  /* ========================= */
  /* CELULAR */
  /* ========================= */
  
  @media (max-width: 768px) {
  
    .container_tabla {
      border-radius: 10px;
    }
  
    .container_tabla table {
      min-width: 1200px;
    }
  
    .container_tabla th,
    .container_tabla td {
      font-size: 12px;
      padding: 8px;
    }
  
  }
  
  /* ========================= */
  /* MOVILES PEQUEÑOS */
  /* ========================= */
  
  @media (max-width: 576px) {
  
    .container_tabla table {
      min-width: 1100px;
    }
  
    .container_tabla th,
    .container_tabla td {
      font-size: 11px;
      padding: 6px;
    }
  
  }

.img-circle {
  border-radius: 50%;
  margin-bottom: 11%;
}

.container_img {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2%;
  text-align: justify;
}
 
.cir {
  right: 50%;
  margin-right: -100px;
}

.circles_evento {
  width: 40px;
  height: 40px;
  border-radius: 50%; 
  background-color: #e01182;
  color: #fff;
  line-height: 40px;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  position: absolute;
  left: 2vh;
}

.container_evento_imagen {
  position: relative;
}

.d-flex {
  display: flex;
  flex-direction: column;
}

/* Tablet */
@media (min-width: 768px) {
  .d-flex {
    flex-direction: row; /* 🔥 ya en fila */
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .d-flex {
    justify-content: space-between;
    align-items: center;
  }
}