/* ==== Inicio Nuestro Equipo Directivo ==== */

.imagen {
  width: 100px; 
  height: 100px; 
  border-radius: 15px; 
  margin-right: 10px;
}

.img-comodin{
    border-radius:20px;
}

.card-equipo {
    border-radius: 30px;
    background: white;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.overlay-3{
    height: 100%;
    width: 100%;
    position: absolute;
    top:0;
    bottom: 0; 
    left:0;
    right:0;
    background: rgba(23, 34, 89, 0.8);
    width: 100%;
    transition: .5s ease;
    color: #FFF43F;
    font-size: 16px;
    padding: 30px;
    opacity: 0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.overlay-3 p{
    font-size:18px;
}

.overlay-3 a{
    color: #FFF43F;
}

.post-thumbnail:hover .overlay-3 {
    opacity: 1;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}


.single-team{
    border-style: ridge;
    border-radius: 20px;
}

.team-style-one {
  position: relative;
  margin-top: 30px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition: all 0.4s ease-out;
}

.team-style-one:hover {
  box-shadow: var(--shadow-4);
}

.team-style-one .team-image img {
  width: 100%;
}

.team-style-one .team-content {
  padding: 20px 15px;
  width: 100%;
  background-color: var(--white);
}

.team-style-one .team-content .name {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: var(--black);
}

.team-style-one .team-content .sub-title {
  font-size: 15px;
  line-height: 24px;
  color: var(--dark-3);
  margin-top: 2px;
}

.team-style-one .team-content .social {
  margin-top: 12px;
}

.team-style-one .team-content .social li {
  display: inline-block;
  margin: 0 4px;
}

.team-style-one .team-content .social li a {
  font-size: 16px;
  color: var(--gray-1);
  height: 35px;
  width: 35px;
  text-align: center;
  line-height: 35px;
  border: 1px solid var(--gray-4);
  border-radius: 50%;
}

.team-style-one .team-content .social li a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Media Queries Tablets para Responsividad */
@media (min-width:577px) and (max-width:768px) {
    .card-container {
        display: flex;
        flex-wrap: wrap; 
        gap: 20px; 
        margin-left: -15px; 
        margin-right: -15px; 
    }

    .card {
        flex-basis: calc(50% - (20px)); 
        margin-bottom:20px; 
    }

    .team-style-one .team-content {
        padding:15px; 
    }

    .team-style-one .team-content .name {
        font-size:18px; 
    }

    .team-style-one .team-content .sub-title {
        font-size:14px; 
    }
}

/* Para pantallas pequeñas (móviles) */
@media (max-width:576px) {
    .card-container a{
      font-size:12px; 
    }
}
