.team-page {
  color: #263238;
}

.team-hero {
  background: linear-gradient(180deg, #f4f9fc 0%, #ffffff 100%);
  border: 1px solid rgba(0, 62, 126, 0.14);
  border-top: 4px solid #058ed0;
  border-radius: 7px;
  box-shadow: 2px 2px 7px #0c1b2b69;
  color: #1f3652;
  margin-bottom: 24px;
  overflow: hidden;
  padding: 28px;
}

.team-hero h4 {
  color: #003e7e;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-hero p {
  color: #1f3652;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 860px;
}

.team-section {
  margin-bottom: 26px;
}

.team-section-title {
  align-items: center;
  color: #003e7e;
  display: flex;
  font-size: 1.15rem;
  font-weight: 700;
  gap: 10px;
  margin-bottom: 14px;
}

.team-section-title::before {
  background: #058ed0;
  border-radius: 2px;
  content: "";
  display: inline-block;
  height: 22px;
  width: 5px;
}

.team-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.team-card {
  background: #ffffff;
  border: 1px solid #dceaf5;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(0, 62, 126, 0.08);
  min-height: 190px;
  padding: 16px;
}

.team-person {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

.team-photo {
  align-items: center;
  background: #e0eefd;
  border: 3px solid #058ed0;
  border-radius: 50%;
  color: #003e7e;
  display: flex;
  flex: 0 0 120px;
  font-weight: 700;
  height: 120px;
  justify-content: center;
  overflow: hidden;
  width: 120px;
}

.team-photo img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.team-name {
  color: #003e7e;
  font-weight: 700;
  line-height: 1.25;
}

.team-role {
  color: #4d5c63;
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0;
}

.team-card a {
  color: #003e7e;
  text-decoration: none;
}

.team-card a:hover,
.team-card a:focus {
  color: #058ed0;
  text-decoration: underline;
}

.team-list-card {
  background: #f8fbfd;
  border-left: 5px solid #058ed0;
  border-radius: 7px;
  padding: 16px 18px;
}

.team-list-card ul {
  columns: 2;
  margin-bottom: 0;
  padding-left: 18px;
}

.team-list-card li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.team-contact {
  background: #e0eefd;
  border-radius: 7px;
  margin-top: 24px;
  padding: 18px;
}

.team-contact a {
  color: #003e7e;
  font-weight: 700;
}


.team-partnerships-panel {
  background: linear-gradient(180deg, #f8fcfe 0%, #ffffff 100%);
  border: 1px solid rgba(0, 62, 126, 0.14);
  border-radius: 7px;
  box-shadow: 2px 2px 7px #0c1b2b69;
  padding: 20px;
}

.team-partnerships__intro {
  color: #1f3652;
  line-height: 1.6;
  margin-bottom: 18px;
}

.team-partnerships-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
  margin: 0;
  max-width: none;
  width: 100%;
}

.team-partner-card {
  background: #ffffff;
  border: 1px solid #dceaf5;
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(0, 62, 126, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 18px 16px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.team-partner-card:hover,
.team-partner-card:focus-within {
  border-color: rgba(5, 142, 208, 0.3);
  box-shadow: 0 10px 22px rgba(0, 62, 126, 0.12);
  transform: translateY(-1px);
}

.team-partner-card__logo {
  align-items: center;
  background: #dceaf5;
  border: 1px solid rgba(5, 142, 208, 0.16);
  border-radius: 0.85rem;
  color: #003e7e;
  display: flex;
  justify-content: center;
  min-height: 120px;
  padding: 12px 16px;
}

.team-partner-card__logo--logo {
  background: #dceaf5;
}

.team-partner-card__image {
  display: block;
  max-height: 85px;
  max-width: 260px;
  object-fit: contain;
  width: auto;
}

.team-partner-card__image--mosqlimate {
  max-height: 85px;
  max-width: 260px;
}

.team-partner-card__image--bsc {
  max-height: 85px;
  max-width: 260px;
}

.team-partner-card__image--tghn {
  max-height: 95px;
  max-width: 320px;
}

.team-partner-card__image--kwar {
  max-height: 85px;
  max-width: 180px;
}

.team-partner-card__logo--placeholder {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.team-partner-card__logo--placeholder span {
  align-items: center;
  background: #edf6fb;
  border: 1px solid rgba(5, 142, 208, 0.16);
  border-radius: 999px;
  display: inline-flex;
  min-height: 2.3rem;
  padding: 0.35rem 0.75rem;
}

.team-partner-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  padding-top: 12px;
}

.team-partner-card__title {
  color: #003e7e;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.team-partner-card__text {
  color: #4d5c63;
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

.team-partner-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.team-partner-card__chips li {
  margin: 0;
}

.team-partner-card__chips a {
  align-items: center;
  background: #f8fcfe;
  border: 1px solid rgba(5, 142, 208, 0.16);
  border-radius: 999px;
  color: #003e7e;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  text-decoration: none;
}

.team-partner-card__chips a:hover,
.team-partner-card__chips a:focus {
  background: #eef8fc;
  border-color: rgba(5, 142, 208, 0.34);
  color: #003e7e;
  text-decoration: none;
}

.team-partner-card__chips a:focus-visible,
.team-partner-card__link:focus-visible {
  outline: 3px solid rgba(5, 142, 208, 0.25);
  outline-offset: 2px;
}

.team-partner-card__footer {
  margin-top: auto;
  padding-top: 0.25rem;
}

.team-partner-card__link {
  align-items: center;
  color: #003e7e;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.35rem;
  text-decoration: none;
}

.team-partner-card__link:hover,
.team-partner-card__link:focus {
  color: #058ed0;
  text-decoration: underline;
}
@media (max-width: 991.98px) {
  .team-partnerships-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 767.98px) {
  .team-hero {
    padding: 20px;
  }

  .team-list-card ul {
    columns: 1;
  }

  .team-partnerships-panel {
    padding: 16px;
  }

  .team-partnerships-grid {
    grid-template-columns: 1fr;
  }

  .team-partner-card {
    flex-direction: column;
  }

  .team-partner-card__logo {
    flex-basis: auto;
    min-height: 72px;
    width: 100%;
  }


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

  .team-person {
    align-items: flex-start;
    flex-direction: column;
  }
}
