/* ==========================================================================
   About Page — East Dallas Primary Care
   Page header banner, provider bios, credential cards, affiliation
   ========================================================================== */

/* -----------------------------------------------------------------------
   Page Header Banner (Textured)
   Reuses .page-header from layout.css, adds topographic texture overlay
   matching the homepage hero style. ~25vh mobile, ~30vh desktop.
   ----------------------------------------------------------------------- */
.page-header--textured {
  position: relative;
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hero-start), var(--hero-mid) 50%, var(--hero-end));
  overflow: hidden;
}

/* Content above the overlay */
.page-header--textured .container {
  position: relative;
  z-index: 2;
}

.page-header--textured h1 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl); /* 32px mobile */
  font-weight: var(--weight-semibold);
  color: var(--white);
  margin: 0;
}

/* -----------------------------------------------------------------------
   Provider Bio Section
   Two-column layout: 35% photo / 65% content, stacks on mobile
   ----------------------------------------------------------------------- */
.about-bio {
  background-color: var(--white);
}

.about-bio--alt {
  background-color: var(--off-white);
}

.about-bio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

/* -----------------------------------------------------------------------
   Photo Column (Left — 35% on desktop)
   ----------------------------------------------------------------------- */
.about-bio__photo {
  text-align: center;
}

/* Headshot image — rounded rectangle crop */
.about-bio__photo-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg); /* 16px */
  box-shadow: var(--shadow-lg);
  display: block;
  margin: 0 auto;
}

/* Name below photo (visible on mobile, hidden on desktop via content column) */
.about-bio__photo-name {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
}

.about-bio__photo-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--gray-600);
  margin: 0;
}

/* -----------------------------------------------------------------------
   NP Placeholder Avatar
   200px gray circle with centered Lucide user-circle icon
   ----------------------------------------------------------------------- */
.about-bio__placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.about-bio__placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--gray-600);
  opacity: 0.5;
}

/* -----------------------------------------------------------------------
   Content Column (Right — 65% on desktop)
   ----------------------------------------------------------------------- */
.about-bio__content h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.about-bio__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin-bottom: var(--space-6);
}

.about-bio__text {
  font-size: var(--text-base);
  color: var(--charcoal);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.about-bio__text:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------
   Education & Experience Mini-Cards
   Two ice-blue cards side by side on desktop, stacked on mobile
   ----------------------------------------------------------------------- */
.about-bio__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.about-bio__card {
  background-color: var(--ice-blue);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.about-bio__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.about-bio__card-header svg {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.about-bio__card-header h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--navy);
  margin: 0;
  line-height: var(--leading-tight);
}

.about-bio__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-bio__card-list li {
  font-size: var(--text-base);
  color: var(--charcoal);
  line-height: var(--leading-relaxed);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--gray-300);
}

.about-bio__card-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-bio__card-list li:first-child {
  padding-top: 0;
}

.about-bio__card-list strong {
  font-weight: var(--weight-semibold);
  color: var(--navy);
}

/* -----------------------------------------------------------------------
   Affiliation Description (about page specific)
   Extends the shared .affiliation section from sections.css
   ----------------------------------------------------------------------- */
.affiliation__description {
  font-size: var(--text-base);
  color: var(--charcoal);
  line-height: var(--leading-relaxed);
  max-width: 640px;
  margin: var(--space-6) auto 0;
  text-align: center;
}

/* ==========================================================================
   Responsive: Tablet (768px)
   ========================================================================== */
@media (min-width: 768px) {
  /* Page header grows taller */
  .page-header--textured {
    min-height: 28vh;
  }

  /* Bio: two-column layout (35/65) */
  .about-bio__grid {
    grid-template-columns: 35fr 65fr;
    gap: var(--space-12);
  }

  /* Mini-cards side by side */
  .about-bio__cards {
    grid-template-columns: 1fr 1fr;
  }

  /* Photo column: sticky for long bios */
  .about-bio__photo {
    position: sticky;
    top: 100px; /* Below sticky header */
  }
}

/* ==========================================================================
   Responsive: Desktop (1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .page-header--textured {
    min-height: 30vh;
  }

  .page-header--textured h1 {
    font-size: var(--text-6xl); /* 48px */
  }

  .about-bio__grid {
    gap: var(--space-16);
  }

  .about-bio__photo-img {
    max-width: 100%;
  }
}
