body {
  background: #fcfcfc;
  font-family:  "Nunito", sans-serif;
  margin: 0;
  padding: 0;
}
.jerq-title {
  font-family:  "Nunito", sans-serif;
  text-align: center;
  font-size: 2.3em;
  color: #16552b88;
  font-weight: 700;
  margin-top: 1.2em;
  margin-bottom: 1.7em;
  letter-spacing: 1px;
}
.jerq-wrapper {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2.2em;
  justify-content: center;
  align-items: flex-start;
}
.jerq-aside {
  width: 320px;
  min-width: 220px;
}
.jerq-category-box {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 4px 12px rgba(44,44,44,0.07);
  padding: 2.1em 2em 2em 2em;
  border: 2px solid #f0f2f8;
}
.jerq-category-box h4 {
  color: #273145;
  font-size: 1.22em;
  font-weight: 700;
  margin-bottom: 1.7em;
  letter-spacing: 0.02em;
}
#jerq-categorias {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
#jerq-categorias li {
  margin-bottom: 0.8em;
}
#jerq-categorias li:last-child {
  margin-bottom: 0;
}
.jerq-cat-link {
  color: #000000;
  font-weight: 500;
  font-size: 1.11em;
  text-decoration: none;
  border-radius: 7px;
  padding: 0.46em 0.7em;
  display: inline-block;
  transition: background .14s, color .14s;
  cursor: pointer;
}
.jerq-cat-link.selected, .jerq-cat-link:hover {
  background: #eafdb4;
  color: #000000;
}
.jerq-cat-link.jerq-todos {
  color: #000000;
}
.jerq-lista {
  flex: 1;
  min-width: 320px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}
.jerq-docente-card {
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 5px 24px rgba(70,100,144,0.07);
  padding: 1.6em 2.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow .16s;
  min-height: 80px;
}
.jerq-docente-card:hover {
  box-shadow: 0 9px 36px rgba(60,88,144,0.10);
}
.jerq-docente-info {
  display: flex;
  flex-direction: column;
  gap: 0.14em;
}
.jerq-docente-nombre {
  color: #1a2a5b;
  font-size: 1.25em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.13em;
  letter-spacing: 0.01em;
}
.jerq-docente-categoria {
  color: #7c8191;
  font-size: 1.04em;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0;
}
.jerq-cv-btn {
  background: #3ca001c2;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  padding: 0.3em 1.2em;
  font-size: 1em;
  cursor: pointer;
  margin-left: 1.2em;
  transition: background .12s;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(40,180,120,0.09);
  text-decoration: none;
  display: inline-block;
}
.jerq-cv-btn:hover {
  background: #03610fde;
  color: #fff;
}
.jerq-paginacion {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}
.jerq-pag-btn {
  padding: 5px 14px;
  border-radius: 7px;
  border: 1px solid #3ca001c2;
  background: #f8fafc;
  color: #1b4d86;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.jerq-pag-btn.activo,
.jerq-pag-btn:hover:not([disabled]) {
  background: #3ca001c2;
  color: #fff;
  border-color: #264614ce;
}
.jerq-pag-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#jerq-categorias-select {
  width: 100%;
  font-size: 1.1em;
  border-radius: 7px;
  padding: 0.5em 0.6em;
  border: 1.7px solid #e0e7ef;
  background: #fff;
  margin-bottom: 1em;
  box-shadow: 0 2px 8px rgba(44,44,44,0.05);
  color: #29346c;
  outline: none;
  display: none; /* visible solo en responsive */
}


@media (max-width: 1100px) {
   .jerq-docente-info  {
            text-align: center;
   }
  .jerq-wrapper {
    flex-direction: column;
    gap: 1.7em;
    padding: 0 1em;
    align-items: stretch;
  }
  .jerq-aside {
    width: 100%;
    min-width: 0;
    margin-bottom: 1em;
  }
  .jerq-category-box {
    padding: 1.2em 1.2em 1.1em 1.2em;
    border-radius: 13px;
  }
  .jerq-lista {
    max-width: 100%;
  }
}
@media (max-width: 650px) {
   #jerq-categorias-select {
    display: block;
  }
    .jerq-docente-info  {
        text-align: center;
   }
  .jerq-title {
    font-size: 1.4em;
  }
  .jerq-category-box h4 {
    font-size: 1.08em;
  }
  .jerq-docente-card {
    text-align: center;
    font-size: 0.90em;
    border-radius: 13px;
    flex-direction: column;
  }
  .jerq-lista {
    padding-left: 0;
  }
}
