*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bio-subtitle{
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.bio-closure{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(124,92,255,0.28);
  background: rgba(124,92,255,0.10);
    font-weight: 650;
}

/* --- Galería: que todas las miniaturas tengan el mismo tamaño --- */
.gallery-item{
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
}

.gallery-item img{
  width: 100%;
  height: 160px;          /* ✅ altura fija para que sean iguales */
  object-fit: cover;      /* ✅ recorta sin deformar */
  display: block;
  transition: transform .2s ease, filter .2s ease;
}

.gallery-item:hover img{
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* En pantallas grandes, un poco más alto */
@media (min-width: 992px){
  .gallery-item img{ height: 180px; }
}

/* Timeline: layout con imagen a la derecha */
.timeline-item{
  cursor: pointer;
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
}
.timeline-item:hover{
  transform: translateY(-1px);
  border-color: rgba(124,92,255,0.35);
  background: rgba(255,255,255,0.06);
}

/* Imagen grande */
.timeline-media{
  position: sticky;     /* se queda fija al hacer scroll */
  top: 92px;            /* ajusta según tu header */
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.timeline-media img{
  width: 100%;

  height: clamp(420px, 70vh, 760px); /* más alto en general */
  object-fit: cover;      
              /* bonito (recorta sin deformar) */
  display: block;
  background: #0a0d17;
}

/* En móvil, que no sea sticky y se vea bien */
@media (max-width: 991px){
  .timeline-media{
    position: relative;
    top: auto;
  }
  .timeline-media img{
    height: 930px;
    object-fit: cover;
  }
}
