/*-- -------------------------- -->
<---       Meet Our Team        -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #meet-team-547 {
    padding: var(--sectionPadding);
  }
  #meet-team-547 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 31rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #meet-team-547 .cs-content {
    /* set text aling to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #meet-team-547 .cs-topper,
  #meet-team-547 .cs-title,
  #meet-team-547 .cs-text {
    color: var(--bodyTextColorWhite);
  }
  #meet-team-547 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 16px - 20px */
    gap: clamp(1rem, 1vw, 1.25rem);
  }
  #meet-team-547 .cs-item {
    padding: 1rem;
    /* changed to left at desktop */
    box-shadow: 0px 0px 6px 2px rgba(36, 36, 35, 0.1);
    text-align: center;
    max-width: 32.625rem;
    border-radius: 2rem;
    width: 100%;
    margin: 0;
    list-style: none;
    background-color: var(--bodyTextColorWhite);
  }
  #meet-team-547 .cs-item:hover .cs-picture img {
    transform: scale(1.1);
  }
  #meet-team-547 .link {
    text-decoration: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #meet-team-547 .cs-picture {
    border-radius: 2rem;
    width: 100%;
    height: auto;
    /* height divided by width, changed at desktop */
    aspect-ratio: 328/250;
    /* clips image tag from overflowing on hover */
    overflow: hidden;
    display: block;
    position: relative;
  }
  #meet-team-547 .cs-picture img {
    border-radius: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* makes image behave like a background image */
    object-fit: cover;
    /* places top of the image at the top of the box */
    object-position: top;
    transition: transform 0.6s;
  }
  #meet-team-547 .cs-flex-group {
    width: 100%;
    /* 40px - 48px top and bottom */
    /* 28px - 48px top and bottom */
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1.15rem, 4vw, 1.5rem);
    padding-top: 1.5rem;
    /* prevents padding from affect height and width */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #meet-team-547 .cs-name {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 600;
    text-align: inherit;
    margin: 0 0 0.5rem 0;
    color: var(--secondary);
    display: block;
  }
  #meet-team-547 .location {
    display: flex;
    align-items: center;
    /* 16px - 20px */
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 400;
    text-align: left;
    gap: 0.5rem;
    margin: 0 0 1.25rem 0;
    color: var(--smooth);
  }
  #meet-team-547 .location img {
    height: 1rem;
    width: 1rem;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #meet-team-547 .cs-container {
    max-width: 80rem;
  }
  #meet-team-547 .cs-card-group {
    flex-direction: row;
  }
  #meet-team-547 .cs-picture {
    /* width divided by height */
    aspect-ratio: 313/310;
    width: 100%;
  }
  #meet-team-547 .cs-flex-group {
    align-items: flex-start;
  }
}
