/* ============================================================
   BIO PAGE STYLES — bio.css
   ============================================================ */

.bio-section { padding-top: 56px; }
.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

/* Profile Card */
.bio-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  box-shadow: var(--shadow);
}

/* Large photo — fills the full card width */
.bio-profile-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-secondary);
}
.bio-profile-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.bio-profile-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef2ff, #eff6ff);
  color: rgba(99,102,241,0.35);
}

/* Info section below the photo */
.bio-profile-info { padding: 20px 20px 0; }
.bio-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; color: var(--text-primary); }
.bio-title-badge {
  display: inline-block;
  background: var(--accent-light); color: var(--accent);
  padding: 3px 12px; border-radius: 50px;
  font-size: 0.74rem; font-weight: 600; margin-bottom: 16px;
}
.bio-info-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.bio-info-item { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.84rem; }
.bio-info-item svg { color: var(--accent); flex-shrink: 0; }
.bio-social-links { display: flex; gap: 8px; padding-bottom: 20px; }
.bio-social {
  width: 38px; height: 38px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.bio-social:hover { color: var(--accent); border-color: rgba(99,102,241,0.3); background: var(--accent-light); }

/* Bio Text */
.bio-text-area { display: flex; flex-direction: column; gap: 44px; }
.bio-block-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; color: var(--text-primary); }
.bio-block p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem; }
.bio-block p strong { color: var(--text-primary); font-weight: 600; }

/* Timeline */
.timeline { position: relative; padding-left: 20px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 0;
  width: 1.5px; background: var(--border);
}
.timeline-item { position: relative; padding-left: 24px; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -26px; top: 5px;
  width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year { font-size: 0.75rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 4px; }
.timeline-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.timeline-content p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

.bio-cta { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-profile-card {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .bio-cta { flex-direction: column; }
  .bio-profile-card { max-width: 100%; }
}
