/* === ATTORNEY BIO PAGE === */

/* Hero - compact version for bio pages */
.team-bio-page .page-hero {
  padding: calc(72px + 3rem) clamp(1.5rem, 4vw, 3rem) 2rem;
}
.team-bio-page .page-hero h1 {
  font-style: normal;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.team-bio-page .page-hero .page-hero-desc {
  margin-bottom: 0;
}

/* Two-column bio layout */
.bio-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

/* Photo column */
.bio-photo {
  position: sticky;
  top: calc(72px + 2rem); /* below fixed nav */
}

.bio-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 12px 40px rgba(26, 34, 51, 0.08);
}

/* Text column */
.bio-text {
  max-width: 680px;
}

.bio-text h2 {
  font-family: var(--heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

/* Practice area tags */
.bio-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.bio-practices a {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.bio-practices a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Back link */
.bio-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: gap 0.2s, color 0.2s;
}

.bio-back:hover {
  gap: 0.6rem;
  color: var(--text-primary);
}

.bio-back::before {
  content: '\2190'; /* left arrow */
  font-size: 1rem;
}

/* Contact info bar */
.bio-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.bio-contact-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bio-contact-item a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.bio-contact-item a:hover {
  color: var(--text-primary);
}

/* Responsive: stack vertically on mobile */
@media (max-width: 768px) {
  .bio-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bio-photo {
    position: static;
    max-width: 320px;
  }

  .bio-photo img {
    max-width: 100%;
  }

  .bio-text {
    max-width: 100%;
  }
}
