/* ========================================
   Teams 页面专用样式
   全局导航 / 页脚样式见 css/styles.css
   ======================================== */

.teams-page {
  padding-top: var(--header-height);
  background: var(--color-white);
}

.teams-banner {
  width: 100%;
  height: 550px;
  background-image: url('../assets/images/teams/Banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teams-banner-title {
  margin: 0;
  font-size: 46px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

/* ========== 引言 + 团队卡片 ========== */
.teams-main {
  background: var(--color-white);
}

.teams-intro-text {
  max-width: 1320px;
  margin: 0 auto 72px;
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.85;
  text-align: left;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 644px));
  gap: 32px;
  justify-content: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.team-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 36px 32px 40px;
  background:
    linear-gradient(145deg, rgba(9, 130, 229, 0.04) 0%, rgba(255, 255, 255, 0) 38%),
    #fff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #0982e5;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
  border-color: #cbd5e1;
  border-top-color: #0982e5;
  box-shadow: 0 16px 48px rgba(9, 130, 229, 0.08);
  transform: translateY(-2px);
}

.team-card-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.team-card-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(9, 130, 229, 0.1);
  color: #0982e5;
}

.team-card-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.team-card-title {
  flex: 1;
  min-width: 0;
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 400;
  color: #3b3e44;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.team-card-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.75;
  overflow-wrap: break-word;
}

@media (max-width: 1360px) and (min-width: 769px) {
  .teams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .teams-banner {
    height: 360px;
  }

  .teams-banner-title {
    font-size: 32px;
  }

  .teams-intro-text {
    margin-bottom: 48px;
  }

  .teams-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .team-card {
    padding: 28px 20px 32px;
  }

  .team-card-head {
    gap: 14px;
  }

  .team-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .team-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .team-card-title {
    font-size: 18px;
    line-height: 1.4;
  }

  .team-card-text {
    font-size: 15px;
  }
}
