.docente {
  width: 100%;
  padding: 2rem 0;
  background: url("/img/2025/docente/fondo-gris-docente.webp") no-repeat center center;
  background-size: cover;
  animation: fadeIn 1s ease-in-out;
}

.docente .container {
  max-width: 75vw;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 1900px) {
  .docente .container {
    max-width: 65vw;
  }
}

.docente h3 {
  color: black;
  font-weight: bold;
}

.docente .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .docente .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .docente .grid {
    grid-template-columns: 1.2fr 2fr;
  }
}

@media (max-width: 850px) {
  .docente .container {
    max-width: 95vw;
  }
}

@media (max-width: 500px) {
  .docente .container {
    max-width: 87vw;
  }
}

.docente_indi {
  border-radius: 0.5rem;
  /* padding: 1rem; */
}

.docente_indi figure {
  border: 2px solid white;
  border-radius: 50%;
  overflow: hidden;
  padding: 0.125rem;
}

.docente_indi figure img {
  display: block;
  margin: 0 auto;
  padding: 1rem;
}


.docente_indi .nacionalidad {
  width: 100%;
  display: table;
  margin-top: 1.3rem;
}


.docente_indi p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #004c1f;
  text-align: center;
  margin-top: 0.8rem;
}

#resena-docente .nacionalidad {
  width: 100%;
  margin-top: 1.3rem;
}

#resena-docente .namedocente,#resena-docente .nacionalidad {
  font-size: 31px;
  font-weight: 700;
  color: #004c1f;
  text-align: center;
}

.newdocente {
  padding: 2rem 0px;
  text-align: center;
}

#resena-docente {
  border: 4px solid transparent;
  border-image: linear-gradient(to right, #11cf4b, #ffcb00) 1;
  border-radius: 1rem;
  font-size: 17px;
  padding: 1rem;
  margin-top: auto;
  margin-bottom: auto;
  line-height: 1.3;
}

@media (min-width: 768px) {
  #resena-docente {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  #resena-docente {
    padding: 2rem;
    margin-left: 34px;
  }
}

#resena-docente ul {
  list-style-type: disc;
  padding: 0.5rem 1rem 0px 1rem;
  text-align: justify;
}

#resena-docente li {
  color: black;
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}