.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}

:root {
    --accent: #007acc;
    --ink: #1f2937;
    --subtle: #6b7280;
    --card-bg: #fff;
    --surface: #f7f9fb;
    --radius: 14px;
  }

.about-list-item {
margin-block: 7px;
}

.about-list-item span{
vertical-align: middle;
margin-right: 8px;
}

  .team-section {
    padding: 60px 20px;
    background: var(--surface);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
  }
  .team-section .container {
    max-width: 1100px;
    margin: 0 auto;
  }
  .team-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin: 0 0 10px;
  }
  .team-intro {
    text-align: center;
    color: var(--subtle);
    max-width: 700px;
    margin: 0 auto 28px;
  }

  .team-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .team-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  }

  .avatar {
    width: 120px;
    height: 120px;
    margin: 2px auto 14px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #dbeafe, #e9f5ff 55%, #ffffff);
    display: grid;
    place-items: center;
  }
  .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  .team-card h3 {
    font-size: 1.15rem;
    margin: 6px 0 4px;
  }
  .role {
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 10px;
  }
  .bio {
    color: var(--subtle);
    font-size: .95rem;
    line-height: 1.55;
    margin: 0;
  }

  /* Responsive typography */
  @media (max-width: 680px) {
    .team-section h2 { font-size: 1.9rem; }
    .team-intro { font-size: .95rem; }
    .avatar { width: 108px; height: 108px; }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .team-card { transition: none; }
    .team-card:hover { transform: none; }
  }