.bio-hero {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  color: #fff;
  background: #0b0f19;
}

.bio-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(90deg, rgba(8, 0, 50, .92), rgba(8, 0, 50, .42), rgba(8, 0, 50, .78)), var(--hero-image);
  background-position: center;
  background-size: cover;
}

[dir="rtl"] .bio-hero::before {
  background-image: linear-gradient(270deg, rgba(8, 0, 50, .92), rgba(8, 0, 50, .42), rgba(8, 0, 50, .78)), var(--hero-image);
}

.bio-hero h1 {
  max-width: 1000px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.bio-hero .lead {
  max-width: 800px;
  color: rgba(255, 255, 255, .9);
}

.bio-hero-compact-title h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 3.65vw, 3.75rem);
  line-height: 1.12;
}

.bio-hero-compact-title {
  height: 620px;
  min-height: 620px;
}

.bio-feature {
  padding: 2rem;
  border: 1px solid rgba(99, 102, 241, .15);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .275rem .75rem -.0625rem rgba(11, 15, 25, .08);
}

.bio-feature i {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: .75rem;
  color: #6366f1;
  background: rgba(99, 102, 241, .12);
  font-size: 2rem;
}

.card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bio-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.bio-metric-grid div {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  text-align: center;
}

.bio-metric-grid strong {
  color: #6366f1;
  font-size: 2rem;
}

.bio-cta {
  padding: 4rem 1.5rem;
  border-radius: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #080032, #6366f1);
}

.bio-cta h2 {
  color: #fff;
}

.bio-catalog {
  border: 1px solid rgba(99, 102, 241, .18);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 .5rem 1.5rem -.5rem rgba(11, 15, 25, .12);
}

.bio-detail-panel {
  position: sticky;
  top: 7rem;
  padding: 2rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(145deg, #080032, #30349b);
}

.bio-detail-panel h2,
.bio-detail-panel h3 {
  color: #fff;
}

.bio-detail-panel li {
  margin-bottom: .65rem;
}

@media (max-width: 767.98px) {
  .bio-hero {
    min-height: 540px;
    padding: 7rem 0 4rem;
  }

  .bio-hero-compact-title {
    height: auto;
    min-height: 540px;
  }

  .bio-metric-grid {
    grid-template-columns: 1fr;
  }
}
