/* Títulos principales */
.titulo-panel {
  font-size: 1.5rem; /* 36px */
  font-weight: bold;
  text-align: center;
}
/* Encabezado medio (ej. títulos internos) */
.encabezado-medio {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
}

/* Encabezado pequeño */
.encabezado-pequeno {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
}

/* Texto de párrafo */
.parrafo {
  font-size: 1rem; /* 16px */
  font-weight: normal;
}

/* Texto secundario (notas, filtros, leyendas) */
.texto-secundario {
  font-size: 0.875rem; /* 14px */
  color: #555;
}

/* Texto para pie de página o legal */
.texto-footer {
  font-size: 0.8125rem; /* 13px */
  color: #727272;
}

/* Texto para botones y menú */
.texto-boton {
  font-size: 1rem; /* 16px */
  font-weight: 500;
}

/* Titulo */
.titulo-institucional {
  font-family: "Mestiza", "Montserrat", sans-serif;
  font-weight: normal;
}

/*
<a href="#" class="card-link">
  <div class="card-icon">
    <img src="ruta_icono.svg" alt="Ícono">
  </div>
  <div class="card-text">Protección de datos personales</div>
  <div class="card-arrow">
    <span>&#8594;</span>
  </div>
</a>

*/
/*Boton de opciones*/
.card-link {
  position: relative;
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  color: #444;
  transition: all 0.3s ease;
}

.card-link .card-icon img {
  width: 50px;
  height: 50px;
}

.card-link .card-text {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
}

.card-link .card-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background-color: transparent;
  color: #681b32;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.card-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background-color: #bc955b;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 0;
}

.card-link:hover::after {
  transform: translateY(0%);
}

.card-link:hover .card-arrow {
  transform: rotate(360deg);
  color: white;
  z-index: 2;
}

.img-fondo-icatsin {
  width: 100%;
  height: auto;
  display: block;
}

.contenido-icatsin {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  min-height: 100%;
}

/* Título */

/* Contenedor de los bloques */
.contenedor-icatsin {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  padding: 0 1rem;
}

.dimContenedor {
  max-width: 80% !important;
}

.contactContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

/* Bloques individuales */
.bloque-icatsin {
  flex: 1 1 auto;
  max-width: 300px;
  min-width: 220px;
  width: 100%;
  text-decoration: none;
  color: white;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  border-radius: 8px;
  box-sizing: border-box;
}

.bloque-icatsin:hover .etiqueta-icatsin {
  color: white;
}

.bloque-icatsin:hover {
  transform: scale(1.05);
  background-color: black !important;
  color: white !important;
}

.icono-icatsin img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.etiqueta-icatsin {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

/* Colores de fondo personalizados */
.fondo-verde {
  background-color: #007a33;
}

.fondo-cafe {
  background-color: #8b3a0d;
}

.fondo-azul {
  background-color: #008fa1;
}

/** Seccion corregida  */

.bloque-info-icatsin {
  background-color: #64666a;
  padding: 3rem 1rem;
  color: white;
}

.contenido-info-icatsin {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  text-align: justify;
}

/** Casos de exito Testimonio */
.bg-icatsin-test {
  background-color: #eaddca;
  padding: 4rem 1rem;
  color: white;
}

.testimonio-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.nubeTestimonio {
  background: white;
  color: #333;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.nubeTestimonio::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid white;
}

.fotoTestimonio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin: 1rem auto;
}

.infoTestimonio .nombre {
  font-weight: bold;
  font-size: 1.2rem;
  color: #681b32;
}

.infoTestimonio .plantel {
  font-size: 1rem;
  color: #681b32;
}

/* Responsive: en móvil ocultamos la imagen y usamos background */
@media (max-width: 1024px) {
  .contenido-margen {
    margin-top: 7rem;
  }
  .contenedor-icatsin {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }
  .img-fondo-icatsin {
    display: none;
  }

  .ancho-medio {
    width: 100% !important;
  }
}

/* Responsive: apilar en móvil/tablet */
@media (max-width: 768px) {
  .contenedor-icatsin {
    flex-direction: column;
    padding: 0 1rem;
  }

  .bloque-icatsin {
    max-width: 100%;
  }

  .bloque-info-icatsin {
    padding: 1rem 1rem;
  }

  .contenido-info-icatsin {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start !important;
    height: auto !important;
  }

  .texto-info-icatsin {
    font-size: 1rem;

    padding: 0rem;
    padding-top: 1rem;
  }

  .logo-info-icatsin img {
    max-width: 150px;
  }
  .contactContainer {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .dimContenedor {
    max-width: 100% !important;
  }
}

.ultimas__item {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.ultimas__imagen img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.ultimas__titulo {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}

.ultimas__fecha {
  font-size: 0.8rem;
  color: #777;
}

.columnaDerecha__titulo {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}
/* Celular */
@media (max-width: 600px) {
  .contenido-margen {
    margin-top: 7rem;
  }

  .tarjeta-noticia {
    min-width: none;
    /*width: 250px;*/
  }
}
/** Definido para los select*/
.seleccion {
  padding: 9px 0;
  width: 100%;
  border: 1px solid #ccc !important;
  border-radius: 8px;
}
.ticket-section p {
  line-height: 0.9rem;
  font-size: 0.85rem; /* Ajusta este valor a tu gusto */
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 600px) {
  .paginador-flex {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    gap: 4px;
  }

  .paginador-flex .w3-button {
    flex-shrink: 0;
  }
}

.control-label {
  padding: 8px;
  font-size: 1em !important;
  font-weight: bold;
}
/* Definido para el imput*/
.captura {
  padding: 8px;
  display: block;
  width: 100%;
  border: 1px solid #ccc !important;
  border-radius: 8px;
  font-family: sans-serif;
}
.capturacen {
  padding: 8px;
  display: block;
  width: 100%;
  border: 1px solid #ccc !important;
  border-radius: 8px;
  font-family: sans-serif;
  text-align: center !important;
}

/*w3-select w3-border w3-round-large*/
/** Definido para los select*/
.seleccion {
  padding: 9px 0;
  width: 100%;
  border: 1px solid #ccc !important;
  border-radius: 8px;
}

.btneditar,
.btnbaja {
  color: #bc955b !important;
  border: 1px solid #ccc !important;
  border-color: #f1f1f1 !important;
  border-radius: 8px;
  width: 32px;
  user-select: none;
  display: inline-block;
  text-decoration: none;
  background-color: #e7e7e7;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  padding: 2px 2px !important;
  vertical-align: middle;
  overflow: hidden;
}

.btnbaja {
  color: red !important;
}

.btnbaja:hover,
.btneditar:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.campo-error {
  border: 2px solid #e74c3c !important;
  /* background-color: #fceae9 !important;*/
}
