.team-page,
.team-page * {
  box-sizing: border-box;
}

.team-page {
  overflow-x: clip;
  background: #f8f9fc;
  color: #111628;
}

.team-page em {
  color: #ed1022;
  font-style: normal;
}

.team-page h1,
.team-page h2,
.team-page h3,
.team-page p,
.team-page figure {
  margin-top: 0;
}

.team-container {
  width: min(1160px, calc(100% - 72px));
  margin-inline: auto;
}

.team-hero {
  color: #fff;
  background: #140910;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 330px;
  align-items: stretch;
}

.team-hero-copy {
  z-index: 1;
  align-self: center;
  padding: 36px 34px 36px 0;
}

.team-hero .breadcrumb {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
}

.team-hero .breadcrumb span {
  padding: 0 9px;
  color: #ed1022;
}

.team-hero h1 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(42px, 4.25vw, 58px);
  line-height: 1.08;
}

.team-hero-copy > p {
  max-width: 510px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.75;
}

.team-hero-points {
  display: flex;
  align-items: center;
  margin-top: 28px;
}

.team-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 19px;
  border-right: 1px solid rgba(255, 255, 255, .28);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}

.team-hero-points span:first-child {
  padding-left: 0;
}

.team-hero-points span:last-child {
  padding-right: 0;
  border-right: 0;
}

.team-hero-points img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(18%) sepia(99%) saturate(5504%) hue-rotate(347deg) brightness(99%);
}

.team-network {
  min-width: 0;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
}

.team-network img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.leadership-section {
  padding: 24px 0 20px;
}

.team-section-head {
  max-width: 690px;
  margin: 0 auto 24px;
  text-align: center;
}

.team-section-head h2 {
  margin-bottom: 15px;
  font-size: 31px;
  line-height: 1.2;
}

.team-section-head h2::after,
.team-values > h2::after {
  content: "";
  width: 34px;
  height: 3px;
  display: block;
  margin: 9px auto 0;
  background: #ed1022;
}

.team-section-head p {
  margin-bottom: 0;
  color: #596276;
  font-size: 13px;
  line-height: 1.65;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.leader-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 22, 41, .08);
}

.leader-card > img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: #e9e9ec;
}

.leader-card > div {
  position: relative;
  min-height: 170px;
  padding: 17px 15px 44px;
}

.leader-card h3 {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.3;
}

.leader-card strong {
  display: block;
  min-height: 31px;
  color: #ed1022;
  font-size: 11px;
  line-height: 1.4;
}

.leader-card p {
  margin: 10px 0 0;
  color: #525c70;
  font-size: 11px;
  line-height: 1.65;
}

.leader-card a {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #ed1022;
  border-radius: 50%;
  color: #ed1022;
  font-size: 11px;
  font-weight: 800;
}

.team-story-panel {
  display: grid;
  grid-template-columns: 35% 65%;
  min-height: 280px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #e2e5ec;
  border-radius: 8px;
  background: #fff;
}

.team-story-copy {
  padding: 28px 24px;
  background:
    radial-gradient(circle, rgba(237, 16, 34, .55) 0 1px, transparent 1.5px) calc(100% - 32px) 28px / 10px 10px no-repeat,
    linear-gradient(135deg, #fff8f9, #fff);
}

.team-story-copy .eyebrow {
  margin-bottom: 12px;
  color: #ed1022;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-story-copy h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.28;
}

.team-story-copy p:not(.eyebrow) {
  margin-bottom: 16px;
  color: #596276;
  font-size: 12px;
  line-height: 1.7;
}

.team-story-copy .btn {
  min-height: 39px;
  margin: 0;
  padding: 9px 17px;
  border-radius: 7px;
  font-size: 11px;
}

.team-story-panel figure {
  min-width: 0;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
}

.team-story-panel figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.team-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
  padding: 21px 15px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(100deg, #c70a1c, #e60e21);
}

.team-metrics article {
  min-width: 0;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 0 17px;
  border-right: 1px solid rgba(255, 255, 255, .32);
}

.team-metrics article:last-child {
  border-right: 0;
}

.team-metrics img {
  width: 41px;
  height: 41px;
  padding: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.team-metrics strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.team-metrics span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.3;
}

.team-values {
  margin-top: 12px;
  padding: 11px 17px 23px;
  border: 1px solid #e3e6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(16, 22, 41, .05);
}

.team-values > h2 {
  margin-bottom: 21px;
  text-align: center;
  font-size: 25px;
  line-height: 1.3;
}

.team-values > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-values article {
  min-width: 0;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 11px;
  padding: 0 15px;
  border-right: 1px solid #e5e8ef;
}

.team-values article:last-child {
  border-right: 0;
}

.team-values article > span {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0f2;
}

.team-values img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(18%) sepia(99%) saturate(5504%) hue-rotate(347deg) brightness(99%);
}

.team-values h3 {
  margin-bottom: 4px;
  color: #ed1022;
  font-size: 12px;
  line-height: 1.3;
}

.team-values p {
  margin-bottom: 0;
  color: #596276;
  font-size: 9px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .team-container {
    width: min(940px, calc(100% - 48px));
  }

  .team-hero-grid {
    grid-template-columns: 47% 53%;
  }

  .team-hero-points span {
    padding: 0 12px;
    font-size: 10px;
  }

  .leadership-grid {
    gap: 12px;
  }

  .leader-card > img {
    height: 175px;
  }

  .team-metrics article {
    padding: 0 11px;
  }

  .team-values article {
    padding: 0 10px;
  }
}

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

  .team-hero-copy {
    padding: 42px 0 30px;
  }

  .team-network {
    min-height: 300px;
  }

  .leadership-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-story-panel {
    grid-template-columns: 42% 58%;
  }

  .team-metrics,
  .team-values > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

  .team-metrics article:nth-child(3),
  .team-values article:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .team-container {
    width: calc(100% - 32px);
  }

  .team-hero h1 {
    font-size: 41px;
  }

  .team-hero-points {
    display: grid;
    gap: 13px;
  }

  .team-hero-points span {
    padding: 0;
    border-right: 0;
    font-size: 12px;
  }

  .team-network {
    min-height: 230px;
  }

  .team-section-head h2 {
    font-size: 29px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .leader-card {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .leader-card > img {
    height: 100%;
    min-height: 230px;
  }

  .leader-card > div {
    min-height: 230px;
  }

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

  .team-story-panel figure {
    min-height: 220px;
  }

  .team-metrics,
  .team-values > div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .team-metrics article,
  .team-metrics article:nth-child(3),
  .team-values article,
  .team-values article:nth-child(3) {
    padding: 14px 7px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
  }

  .team-values article,
  .team-values article:nth-child(3) {
    border-bottom-color: #e5e8ef;
  }

  .team-metrics article:last-child,
  .team-values article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .team-hero-copy {
    padding-top: 34px;
  }

  .team-hero h1 {
    font-size: 37px;
  }

  .team-hero-copy > p {
    font-size: 14px;
  }

  .team-network {
    min-height: 200px;
  }

  .leader-card {
    grid-template-columns: 1fr;
  }

  .leader-card > img {
    height: 300px;
    min-height: 0;
  }

  .leader-card > div {
    min-height: 170px;
  }

  .team-story-copy {
    padding: 25px 20px;
  }

  .team-story-copy h2 {
    font-size: 28px;
  }
}
