
    .team-section { padding: 4rem 0; }
    .team-category { margin-bottom: 3.5rem; }
    .team-category-title {
      font-family: 'Lora', serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 1.5rem;
      padding-bottom: 0.75rem;
      border-bottom: 2px solid var(--blue);
      display: inline-block;
    }
    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1.5rem;
    }
    .team-card {
      background: var(--off-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: all var(--transition);
      text-align: center;
    }
    .team-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-3px);
      border-color: transparent;
    }
    .team-card-img {
      width: 220px;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      background: var(--off-white);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 1.5rem auto 0;
      border-radius: var(--radius);
    }
    .team-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 20%;
      display: block;
      background: var(--off-white);
    }
    .team-card-img:has(.placeholder-avatar) {
      width: 160px;
      background: linear-gradient(135deg, #e8eef4 0%, #d1dce6 100%);
    }
    .team-card-img .placeholder-avatar {
      width: 60px;
      height: 60px;
      opacity: 0.35;
    }
    .team-card-body {
      padding: 1.25rem 1.5rem 1.5rem;
    }
    .team-card-body h3 {
      font-family: 'Lora', serif;
      font-size: 1.125rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.25rem;
    }
    .team-card-role {
      font-size: 0.8125rem;
      color: var(--blue);
      font-weight: 600;
      margin-bottom: 0.75rem;
      line-height: 1.4;
    }
    .team-card-contact {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.375rem;
      font-size: 0.8125rem;
    }
    .team-card-contact a {
      color: var(--grey);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: color var(--transition);
    }
    .team-card-contact a:hover {
      color: var(--blue);
    }
    .team-card-contact svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }
    .in-memoriam {
      opacity: 0.7;
    }
    .in-memoriam .team-card-body::after {
      content: '';
      display: inline-block;
      margin-top: 0.75rem;
      font-size: 0.75rem;
      color: var(--grey);
      font-style: italic;
    }
  
