

/*plantillas*/
.selector-plantillas{
    text-align:center;
    padding:40px 20px;
}

.selector-plantillas h2{
    font-size:32px;
    margin:30px 0;
}

.selector-plantillas p{
    color:#666;
    
}

.cards-plantillas{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:15px;
    max-width:900px;
    margin:auto;
}

.card-template{
    background:#fff;
    border-radius:18px;
    padding:20px;
    cursor:pointer;
    transition:.25s ease;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    border:1px solid #eee;
    max-width:280px;
    margin:0 auto;
}

.card-template:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.12);
}


.card-template h3{
    margin:10px 0;
    font-size:22px;
}

.card-template .imagen{
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom:25px ;
}

.card-template .imagen img{
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}

/*centrar imagenes de portada*/
#stefany img{
    object-position: top center;
}
#omar img{
    object-position: top center;
}
#luisa img{
    object-position: top center;
}
#jhonatan img{
    object-position: top center;
}
#juan img{
    object-position: top center;
}
#laura img{
    object-position: top center;
}
#lucy img{
    object-position: top center;
}

/* ========================================
   NAVEGACIÓN ACTIVA
   ======================================== */

nav a.active {
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   EXINTEGRANTES - VER MÁS
   ======================================== */

.seccion-exintegrantes {
  margin-top: 30px;
}

.seccion-exintegrantes.oculto {
  display: none !important;
}

/* Exintegrantes usan el mismo grid que las demás secciones */
.seccion-exintegrantes .cards-plantillas {
  max-width: 900px;
}

/* Asegurar que las tarjetas mantengan su tamaño */
.seccion-exintegrantes .card-template {
  min-width: 240px;
  max-width: 280px;
}

/* Mismas dimensiones de imagen que el resto de secciones */
.seccion-exintegrantes .card-template .imagen {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 25px;
}

.seccion-exintegrantes .card-template .imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.btn-ver-mas {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 125, 179, 0.3);
}

.btn-ver-mas:hover {
  background: #1e5f8c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 125, 179, 0.4);
}

.btn-ver-mas:active {
  transform: translateY(0);
}