@media (width > 767px) {

  .team-page {
    width: 100%;
    max-width: none;
    height: auto;
    background-color: #F5E7CD;
    position: relative;
  }

  .team-roster {
    position: relative;
    margin-top: min(108px, 7.5vw);
    z-index: 0;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .team-roster__inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1440.0px;
    display: flex;
    flex-direction: column;
    gap: min(69px, 4.79167vw);
    align-items: center;
    padding-left: min(100px, 6.94444vw);
    padding-right: min(100px, 6.94444vw);
    padding-top: min(60px, 4.16667vw);
    padding-bottom: min(70px, 4.86111vw);
    height: auto;
  }

  .team-roster__title {
    color: #16181B;
    display: block;
    z-index: 0;
    width: 59.3056vw;
    max-width: 854.0px;
    height: auto;
    position: relative;
    text-align: center;
    font-family: "txc-pearl";
    font-weight: 400;
    font-size: 3.875rem;
    letter-spacing: 0rem;
    text-transform: uppercase;
    line-height: 1.1;
  }

  .team-roster__grid {
    display: flex;
    flex-direction: column;
    gap: min(44px, 3.05556vw);
    justify-content: center;
    align-items: center;
    z-index: 1;
    width: max-content;
    height: auto;
    position: relative;
  }


}

@media (max-width: 767px) {
 .mobile-our-team { display: flex; flex-direction: column; width: 100%; min-height: 100vh; background: var(--color-cream); }

  .team-roster__title { padding: 6.15vw 6.4vw 0; }
  .team-roster__heading {
    color: var(--color-dark);
    font-family: "txc-pearl";
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(2.2rem, calc(2.2rem + 6.6vw), 5rem);
  }
  .team-roster {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: max-content;
    margin-top: var(--navbar-height);
    align-items: stretch;
    gap: 7.2vw;
    padding: 0vw 6.4vw 12.3vw;
  }
  .team-roster__grid {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7.2vw;
  }
  .team-roster__grid .team-card { width: 87vw; min-height: 105vw; }

  .advisory-board {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: max-content;
    align-items: stretch;
    gap: 7.2vw;
    padding: 0vw 6.4vw 12.3vw;
  }
  .advisory-board__heading {
    color: var(--color-dark);
    font-family: "txc-pearl";
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(2.2rem, calc(2.2rem + 6.6vw), 5rem);
  }


}
