/* ========================================
   TEAM PAGE
   ======================================== */

   .team-page {
    width: 100%;
  }
  
  
  /* ========================================
     PAGE INTRO
     ======================================== */
  
  .team-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 2rem 3.5rem;
  
    text-align: center;
  }
  
  .team-intro h1 {
    margin: 0 0 1.5rem;
  
    color: var(--glc-accent-dark);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  
  .team-intro-lead {
    max-width: 850px;
    margin: 0 auto;
  
    color: var(--glc-muted);
    font-size: 1.2rem;
    line-height: 1.65;
  }
  
  
  /* ========================================
     TEAM GRID
     ======================================== */
  
  .team-members {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
  
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }
  
  
  /* ========================================
     TEAM CARD
     ======================================== */
  
  .team-card {
    min-width: 0;
  
    display: flex;
    flex-direction: column;
  
    border: 1px solid var(--glc-line);
    border-radius: 0.9rem;
  
    background: #fff;
  
    box-shadow:
      0 6px 18px rgba(24, 37, 34, 0.05);
  
    overflow: hidden;
  }
  
  .team-card-image {
    padding: 2rem 1.5rem 1rem;
  }
  
  .team-card-image img {
    display: block;
  
    width: 180px;
    height: 180px;
    margin: 0 auto;
  
    border-radius: 50%;
    object-fit: cover;
  }
  
  
  /* ========================================
     TEAM CARD BODY
     ======================================== */
  
  .team-card-body {
    flex: 1;
  
    padding: 1.25rem 1.5rem 1.75rem;
  
    display: flex;
    flex-direction: column;
  }
  
  .team-card-body h2 {
    margin: 0 0 0.5rem;
  
    color: var(--glc-ink);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
  }
  
  .team-role {
    margin: 0 0 1.25rem !important;
  
    color: var(--glc-accent-dark) !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    line-height: 1.4 !important;
  }
  
  .team-card-body p {
    margin: 0;
  
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.65;
  }
  
  .team-card-body > p:not(.team-role) {
    margin-bottom: 1.25rem;
  }
  
  
  /* ========================================
     TEAM LINKS
     ======================================== */
  
  .team-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  
    margin-top: auto;
    padding-top: 0.25rem;
  }
  
  .team-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    color: #9ca3af;
  
    text-decoration: none;
  
    transition:
      color 0.15s ease,
      transform 0.15s ease;
  }
  
  .team-links svg {
    display: block;
  
    width: 20px;
    height: 20px;
  
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .team-links a:hover,
  .team-links a:focus {
    color: var(--glc-accent);
    transform: translateY(-1px);
  }
  
  
  /* ========================================
     COLLABORATORS
     ======================================== */
  
  .collaborators-section {
    background: #f8fafc;
  }
  
  .collaborators-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 2rem 5rem;
  }
  
  .collaborators-inner > h2 {
    margin: 0 0 3rem;
  
    color: var(--glc-accent-dark);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 650;
    line-height: 1.2;
  
    text-align: center;
  }
  
  .collaborators-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  
  
  /* ========================================
     COLLABORATOR CARD
     ======================================== */
  
  .collaborator-card {
    padding: 2rem;
  
    border: 1px solid var(--glc-line);
    border-radius: 0.8rem;
  
    background: #fff;
  }
  
  .collaborator-card h3 {
    margin: 0 0 1rem;
  
    color: var(--glc-ink);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
  }
  
  .collaborator-card p {
    margin: 0;
  
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
  }
  
  
  /* ========================================
     TABLET
     ======================================== */
  
  @media (max-width: 1000px) {
    .team-members {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 2rem;
    }
  
    .team-card-image img {
      width: 170px;
      height: 170px;
    }
  }
  
  
  /* ========================================
     SMALL TABLET
     ======================================== */
  
  @media (max-width: 850px) {
    .team-intro {
      padding-top: 4rem;
      padding-bottom: 3rem;
    }
  
    .collaborators-inner {
      padding-top: 4rem;
      padding-bottom: 4rem;
    }
  }
  
  
  /* ========================================
     MOBILE
     ======================================== */
  
  @media (max-width: 600px) {
    .team-intro,
    .team-members,
    .collaborators-inner {
      padding-right: 1.25rem;
      padding-left: 1.25rem;
    }
  
    .team-intro {
      padding-top: 3.5rem;
      padding-bottom: 2.5rem;
    }
  
    .team-intro h1 {
      margin-bottom: 1.25rem;
  
      font-size: clamp(2.3rem, 11vw, 3rem);
    }
  
    .team-intro-lead {
      font-size: 1.05rem;
    }
  
    .team-members {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  
      padding-top: 1.5rem;
      padding-bottom: 3.5rem;
    }
  
    .team-card-image {
      padding-top: 1.75rem;
    }
  
    .team-card-image img {
      width: 165px;
      height: 165px;
    }
  
    .team-card-body {
      padding-right: 1.25rem;
      padding-bottom: 1.5rem;
      padding-left: 1.25rem;
    }
  
    .team-links svg {
      width: 19px;
      height: 19px;
    }
  
    .collaborators-inner {
      padding-top: 3.5rem;
      padding-bottom: 3.5rem;
    }
  
    .collaborators-inner > h2 {
      margin-bottom: 2rem;
    }
  
    .collaborators-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .collaborator-card {
      padding: 1.5rem;
    }
  }