.section.team-a-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.team-a-section .main-container {
  width: 100%;
  max-width: 1550px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}
.team-a-section .w-container::before,
.team-a-section .w-container::after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}
.headline-team-about-a {
  z-index: 1;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 64px;
  position: relative;
  display: flex;
}
.team-a-section .hide {
  overflow: hidden;
}
.team-a-section .text-h0 {
  font-family: var(--font--serif);
  font-size: 128px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 800;
  line-height: 73%;
}
.headline-team-about-a .hide:nth-child(2) .text-h0 {
  color: #001a97;
}
.team-grid {
  grid-column-gap: 24px;
  grid-row-gap: 48px;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
}
.team-a-section .image-wrap-member {
  background-color: var(--bg);
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 10px;
}
.team-a-section .image-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.team-info-wrap {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-direction: column;
  display: flex;
}
.team-a-section .text-h6 {
  font-size: var(--heading--h6);
  letter-spacing: var(--letter-spacing--2);
  font-weight: 400;
  line-height: 116%;
}

.team-a-section .label {
  letter-spacing: var(--letter-spacing--0-7px);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
}
.team-grid {
  grid-column-gap: 24px;
  grid-row-gap: 48px;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
}
.team-card {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-direction: column;
  display: flex;
  grid-area: span 1 / span 1 / span 1 / span 1;
}
.team-a-section .w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.team-a-section .w-container::after {
  clear: both;
}
.team-a-section img {
  max-width: 100%;
  display: inline-block;
}

/* Responsive styles */
@media (min-width: 1200px) and (max-width: 1400px) {
  .team-a-section .main-container {
    max-width: 1140px;
  }

  .team-a-section .text-h0 {
    font-size: 110px;
  }

  .team-a-section .image-wrap-member {
    height: 480px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .team-a-section .main-container {
    max-width: 960px;
  }

  .team-a-section .text-h0 {
    font-size: 100px;
  }

  .team-a-section .image-wrap-member {
    height: 440px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .section.team-a-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .team-a-section .main-container {
    max-width: 1024px;
  }

  .team-a-section .text-h0 {
    font-size: 84px;
  }

  .headline-team-about-a {
    margin-bottom: 48px;
  }

  .team-a-section .image-wrap-member {
    height: auto;
  }
  .team-info-wrap {
    display: block;
    height: 100px;
  }
  .team-a-section .text-h6 {
    font-size: 40px;
    line-height: 140%;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 32px;
  }
  .team-a-section .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }
  .team-card {
    display: grid;
    height: 103%;
  }
}

@media only screen and (max-width: 767px) {
  .section.team-a-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .team-a-section .main-container {
    max-width: 1024px;
  }

  .team-a-section .text-h0 {
    font-size: 76px;
    line-height: 46%;
    margin-bottom: 0;
  }
  .team-a-section .hide {
    overflow: unset;
  }
  .headline-team-about-a {
    margin-bottom: 51px;
  }

  .team-a-section .image-wrap-member {
    height: auto;
  }
  .team-info-wrap {
    display: block;
    height: 100px;
  }
  .team-a-section .text-h6 {
    font-size: 32px;
    line-height: 140%;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 32px;
  }
  .team-a-section .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }
  .team-card {
    display: grid;
    height: 103%;
  }
}

@media only screen and (max-width: 700px) {
  .team-a-section .text-h0 {
    font-size: 63px;
    line-height: 34%;
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 680px) {
  .team-a-section .text-h0 {
    font-size: 54px;
    line-height: 26%;
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 540px) {
  .team-a-section .text-h0 {
    font-size: 48px;
  }

  .team-a-section .image-wrap-member {
    height: 389px;
  }
  .team-a-section .image-cover {
    object-fit: cover;
    width: 100%;
    height: 119%;
  }
  .team-info-wrap {
    grid-row-gap: 4px;
  }
}

.team-list-title .boska-text {
  color: #001a97;
}
