.content-link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: 800;
}

.content-link:hover {
  color: var(--color-primary);
}

.team-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.8rem;
  align-items: center;
}

.team-hero-content {
  max-width: 52rem;
}

.team-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.4rem;
}

.team-filter-button {
  min-height: 4.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.1rem solid var(--color-border);
  border-radius: 999rem;
  background: #ffffff;
  color: var(--color-text);
  padding: 0 1.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.team-filter-button.active,
.team-filter-button:hover {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  color: #ffffff;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  align-items: stretch;
}

.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0.1rem solid var(--color-border);
  border-radius: var(--radius-card);
  background: #ffffff;
  transition: 0.2s ease;
}

.team-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-0.3rem);
  box-shadow: 0 1.4rem 2.8rem rgba(0, 95, 135, 0.08);
}

.team-card-image {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  display: block;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.8rem;
}

.team-card .card-title {
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
  font-size: 2.8rem;
}

.team-subtitle {
  color: var(--color-primary-dark);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
}

.team-description {
  color: var(--color-muted);
  font-size: 1.6rem;
  line-height: 1.75;
  margin-bottom: 2.8rem;
}

.team-action {
  margin-top: auto;
}

.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00a8ea 0%, #009fdf 35%, #007bb0 75%, #005f87 100%);
  border-radius: var(--radius-card);
  padding: clamp(3rem, 5vw, 5.2rem);
  min-height: 24rem;
  display: flex;
  align-items: center;
}

.cta-card .content-title,
.cta-card .content-text {
  color: #ffffff;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 58rem;
}

.cta-icon {
  position: absolute;
  right: 10rem;
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.24);
  font-size: 14rem;
  line-height: 1;
}

@media (max-width: 1199.98px) {
  .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .team-hero {
    grid-template-columns: 1fr;
  }
  .team-hero .image-placeholder {
    min-height: 28rem;
    order: -1;
  }
  .team-hero-content {
    max-width: none;
  }
  .cta-icon {
    right: 4rem;
    font-size: 10rem;
}
}

@media (max-width: 767.98px) {
  .team-list {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .team-card-image {
    height: 22rem;
  }

  .team-card-body {
    padding: 2.4rem;
  }

  .team-card .card-title {
    font-size: 2.5rem;
  }

  .btn-primary-custom {
    width: 100%;
  }

  .cta-card {
    align-items: flex-start;
    padding-bottom: 12rem;
  }

  .cta-icon {
    right: 2.4rem;
    bottom: 1.8rem;
    font-size: 8.6rem;
  }
}