body.team-page {
  background: linear-gradient(180deg, #CEE5FF 0%, #ffffff 58%);
  color: #0344B9;
}

.team-page .site-header {
  background: transparent;
}

.team-page .site-header.scrolled,
.team-page.menu-open .site-header {
  background: #ffffff;
}

.team-main {
  padding-top: 112px;
  overflow: hidden;
}

.team-grid-section {
  padding: 0 0 56px;
}

.team-title {
  margin: 0 0 28px;
  text-align: center;
  font-family: 'Braind Street', Arial, sans-serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: .4px;
  color: #0344B9;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.team-card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #d9e9f8;
  box-shadow: 0 6px 14px rgba(0, 27, 74, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 27, 74, .22);
}

.team-card img {
  display: block;
  width: 100%;
  height: auto;
}

.team-page .site-menu-links a[href="team.html"],
.team-page .footer-menu a[href="team.html"] {
  pointer-events: none;
}

@media (max-width: 1024px) {
  .team-main {
    padding-top: 106px;
  }

  .team-grid-section {
    padding-bottom: 48px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .team-title {
    margin-bottom: 24px;
    font-size: 48px;
  }

}

@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-main {
    padding-top: 90px;
  }

  .team-title {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .team-grid-section {
    padding-bottom: 36px;
  }

  .team-card {
    border-radius: 12px;
  }

  .team-card:hover {
    transform: none;
  }

  
}

@media (max-width: 390px) {
  .team-page .program-container {
    width: calc(100% - 24px);
  }

  .team-main {
    padding-top: 112px;
  }

  .team-grid {
    gap: 12px;
  }

  .team-page .program-hero,
  .team-page .program-hero .hero-inner {
    min-height: 590px;
    height: 590px;
  }
}
