/* ======== Perfil / Biografía ======== */
.bio-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  padding: 1rem;
}

/* Bloque de la foto */
.photo-block {
  flex: 1 1 200px;
  text-align: center;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.subtitle {
  font-size: 1rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Bloque del texto */
.bio-text {
  flex: 2 1 400px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

/* ======== Diseño responsivo ======== */
@media (max-width: 768px) {
  .bio-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio-text {
    text-align: left;
    font-size: 1rem;
    padding: 0 1rem;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
  }

  .name {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }
}
