/* Team member bio pages (static) */
body.mal-team-bio-page {
  background: #f7f8f9;
  color: #1f2a2d;
  font-family: "Inter", "Noto Sans HK", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding-bottom: 5rem;
}

.mal-team-bio-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(31, 42, 45, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  padding: 14px 20px;
}

.mal-team-bio-header a {
  color: #0d5c63;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.mal-team-bio-header a:hover {
  text-decoration: underline;
}

.mal-team-bio-main {
  margin: 0 auto;
  max-width: 920px;
  padding: 28px 20px 40px;
}

.mal-team-bio-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(31, 42, 45, 0.08);
  overflow: hidden;
}

.mal-team-bio-photo {
  background: #e8ecef;
  line-height: 0;
}

.mal-team-bio-photo img {
  display: block;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  width: 100%;
}

.mal-team-bio-body {
  padding: 24px 28px 32px;
}

.mal-team-bio-body h1 {
  color: #0d5c63;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 6px;
}

.mal-team-bio-role {
  color: #5a6a6e;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 22px;
}

.mal-team-bio-body h2 {
  border-bottom: 2px solid rgba(13, 92, 99, 0.15);
  color: #0d5c63;
  font-size: 1.05rem;
  margin: 24px 0 10px;
  padding-bottom: 6px;
}

.mal-team-bio-body p {
  margin: 0 0 0.9em;
}

.mal-team-bio-zh {
  margin-top: 28px;
}

@media (min-width: 720px) {
  .mal-team-bio-card {
    display: grid;
    grid-template-columns: minmax(260px, 38%) 1fr;
  }

  .mal-team-bio-photo img {
    min-height: 100%;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .mal-team-bio-body {
    padding: 18px 16px 24px;
  }

  .mal-team-bio-body h1 {
    font-size: 1.5rem;
  }
}
