/*
 * About Us Team Module
 * ========================================================================
 * Styles for the "About Us Team" section, including feature cards
 * and value proposition components with responsive layouts.
 */

/* ==========================================================================
   Base About Us Team Styles
   ========================================================================== */
.about-us-team-section {
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--bs-white);
}

.about-us-team-container {
  display: flex;
  flex-direction: row;
  @media (max-width: 62rem) {
    flex-direction: column;
  }
}

.about-us-team-left {
  padding-top: 3.125rem;
  padding-bottom: 6.875rem;
  display: flex;
  flex-direction: column;
  @media (max-width: 62rem) {
    padding-top: 5.625rem;
    padding-bottom: 0;
    flex-direction: column-reverse;
  }
}
.about-us-team-content {
  margin-top: auto;
  padding-right: 2.5rem;
  @media (max-width: 62rem) {
    padding-right: 1.125rem;
    padding-left: 1.125rem;
  }
}
.about-us-team-title {
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 3.438rem;
  margin-bottom: 1.5rem;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 3.438rem;
    margin-bottom: 0;
  }
  p {
    margin-bottom: 0;
  }
  span {
    color: var(--bs-secondary);
  }

  .font-serif {
    font-size: 3.438rem;
    line-height: 3.438rem;
    font-weight: 400;
  }
}
@media (max-width: 62rem) {
  .about-us-team-title {
    font-size: 2.5rem;
    line-height: 3.25rem;

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-size: 2.5rem;
      line-height: 3.25rem;
    }

    .font-serif {
      font-size: 2.5rem;
      line-height: 3.25rem;
    }
  }
}
.about-us-team-mascot {
  margin-left: auto;
  transform: rotate(-40.18deg);
  margin-right: -5.125rem;
  @media (max-width: 62rem) {
    margin-right: 1.125rem;
    transform: rotate(-25.17deg);
    margin-bottom: -5.125rem;
  }
}

.about-us-team-right {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  flex-grow: 1;
  position: relative;
  z-index: 99;
  @media (max-width: 64rem) {
    grid-template-columns: repeat(3, 1fr);
  }
  @media (max-width: 62rem) {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-us-team-pics {
    display: flex;
    min-height: 100%;
    width: 100%;
    height: 100%;
    img {
      object-fit: cover;
      object-position: center;
      height: 100%;
      width: 100%;
    }
  }
}

.about-us-team-left {
  margin-left: 18.75rem;
  max-width: 30.625rem;
  @media (max-width: 90rem) {
    margin-left: 2.5rem;
  }
  @media (max-width: 62rem) {
    margin-left: 0;
    max-width: 100%;
  }
}
