/*-- -------------------------- -->
<---         Meet Team          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
      #meet-team-1513 {
            padding: var(--sectionPadding);
            background-color: #fff;
            position: relative;
            z-index: 1;
            overflow: hidden;
      }

      #meet-team-1513 .cs-container {
            width: 100%;
            max-width: 80rem;
            margin: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* 48px - 64px */
            gap: clamp(3rem, 6vw, 4rem);
            position: relative;
      }

      #meet-team-1513 .cs-content {
            /* set text align 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;
            gap: 1.75rem;
      }

      #meet-team-1513 .cs-flex-group {
            display: flex;
            flex-direction: column;
            align-items: center;
      }

      #meet-team-1513 .cs-title {
            /* remove the default .cs-title margin to control the spacing by gap. allows you to remove the button without worrying about spacings*/
            margin: 0;
            color: var(--headerColor);
      }

      #meet-team-1513 .cs-item-text {
            /* 14px - 16px */
            padding-top: 1rem;
            font-size: clamp(0.875rem, 1.5vw, 1rem);
            text-align: justify;
            line-height: 1.5em;
            max-width: 50ch;
            /* 16px - 24px */
            margin: 0 0 clamp(1rem, 2.4vw, 1.5rem);
            width: 100%;
            color: var(--bodyTextColor);
      }

      #meet-team-1513 .cs-button-solid {
            font-size: 1rem;
            font-weight: 700;
            /* 46px - 56px */
            line-height: clamp(2.875rem, 5.5vw, 3.5rem);
            text-decoration: none;
            margin: 0;
            padding: 0 3rem;
            color: #fff;
            background-color: var(--secondary);
            border-radius: 1.875rem;
            display: inline-block;
            position: relative;
            z-index: 1;
            overflow: hidden;
            transition: color 0.3s;
      }

      #meet-team-1513 .cs-button-solid:before {
            content: "";
            width: 0%;
            height: 100%;
            background: var(--secondary);
            opacity: 1;
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: width 0.3s;
      }

      #meet-team-1513 .cs-button-solid:hover:before {
            width: 100%;
      }

      #meet-team-1513 .cs-card-group {
            width: 100%;
            margin: 0;
            padding: 0;
            display: grid;
            align-items: stretch;
            grid-template-columns: repeat(12, 1fr);
            /* 16px - 20px */
            gap: clamp(1rem, 2vw, 1.25rem);
      }

      #meet-team-1513 .cs-item {
            list-style: none;
            width: 100%;
            max-width: 28.125rem;
            margin: 0 auto;
            /* 16px - 24px */
            padding: clamp(1rem, 2vw, 1.5rem);
            /* 24px - 32px */
            padding-bottom: clamp(1.5rem, 3vw, 2rem);
            border: 1px solid #E8E8E8;
            /* 24px - 60px */
            border-radius: clamp(1.5rem, 5vw, 3.75rem);
            display: flex;
            flex-direction: column;
            grid-column: span 12;
            transition: border-color 0.3s;
      }

      #meet-team-1513 .cs-item:hover {
            border-color: var(--secondary);
      }

      #meet-team-1513 .cs-item:hover .cs-link {
            opacity: 1;
            transform: translateY(0);
      }

      #meet-team-1513 .cs-item:hover .cs-name {
            color: var(--primary);
      }

      #meet-team-1513 .cs-item:hover .cs-mask {
            --maskBorder: var(--primary);
      }

      #meet-team-1513 .cs-image-group {
            width: auto;
            height: auto;
            /* 20px - 24px */
            margin: 0 0 clamp(1.25rem, 4vw, 1.5rem);
            position: relative;
            z-index: 1;
            aspect-ratio: 0.91691395;
      }

      #meet-team-1513 .cs-picture {
            width: 100%;
            height: 100%;
            display: block;
            position: relative;
            overflow: hidden;
      }

      #meet-team-1513 .cs-picture img {
            width: 100%;
            height: auto;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: transform 0.65s;
      }

      #meet-team-1513 .cs-mask {
            /* SVG Colors */
            --maskBorder: #e8e8e8;
            --maskBG: #fff;
            width: auto;
            height: auto;
            position: absolute;
            top: -1px;
            right: -1px;
            bottom: -1px;
            left: -1px;
      }

      #meet-team-1513 .cs-mask path {
            transition: stroke .3s;
      }

      #meet-team-1513 .cs-social {
            display: flex;
            gap: 0.5rem;
            position: absolute;
            right: 50%;
            bottom: 2.375rem;
            z-index: 1;
            transform: translateX(50%);
      }

      #meet-team-1513 .cs-link {
            padding: 0.5rem;
            background-color: #fff;
            opacity: 0;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transform: translateY(1rem);
            transition: transform 0.3s, opacity 0.3s;
      }

      #meet-team-1513 .cs-link:hover .cs-icon {
            filter: grayscale(0) brightness(1);
      }

      #meet-team-1513 .cs-link:nth-of-type(1) {
            transition-delay: 0.05s;
      }

      #meet-team-1513 .cs-link:nth-of-type(2) {
            transition-delay: 0.1s;
      }

      #meet-team-1513 .cs-link:nth-of-type(3) {
            transition-delay: 0.15s;
      }

      #meet-team-1513 .cs-link:nth-of-type(4) {
            transition-delay: 0.2s;
      }

      #meet-team-1513 .cs-icon {
            width: 0.75rem;
            height: auto;
            filter: grayscale(100%);
            transition: filter 0.3s;
      }

      #meet-team-1513 .cs-info {
            text-align: center;
            border-radius: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            /* makes the info boxes grow when the items aren't matching heights */
            flex-grow: 1;
            transition: background-color 0.3s;
      }

      #meet-team-1513 .cs-name {
            font-size: 1.25rem;
            font-weight: bold;
            margin: 0 0 0.25rem;
            color: var(--headerColor);
            gap: 1rem;
            transition: color 0.3s;
      }

      #meet-team-1513 .cs-job {
            font-weight: bold;
            color: #bababa;
            transition: color 0.3s;
      }

      #meet-team-1513 .cs-graphic {
            display: none;
            position: absolute;
            z-index: 1;
      }

      #meet-team-1513 .cs-background {
            --backgroundBG: #fff;
            width: 100%;
            min-width: 120rem;
            height: auto;
            position: absolute;
            left: 0;
      }

      #meet-team-1513 .cs-background-top {
            top: 0;
      }

      #meet-team-1513 .cs-background-bottom {
            bottom: 0;
            transform: rotateX(180deg);
      }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
      #meet-team-1513 .cs-title {
            max-width: none;
      }

      #meet-team-1513 .cs-content {
            flex-direction: row;
            justify-content: space-between;
      }

      #meet-team-1513 .cs-flex-group {
            text-align: left;
            align-items: flex-start;
      }

      #meet-team-1513 .cs-item {
            grid-column: span 4;
      }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
      #meet-team-1513 .cs-card-group {
            max-width: none;
      }

      #meet-team-1513 .cs-item {
            grid-column: span 4;
      }

      #meet-team-1513 .cs-graphic {
            display: block;
      }

      #meet-team-1513 .cs-graphic-one {
            width: 5.375rem;
            height: 4.75rem;
            top: 8.125rem;
            left: -2.5rem;
            transform: rotate(-15deg);
      }

      #meet-team-1513 .cs-graphic-two {
            width: 8.3125rem;
            height: 2.375rem;
            right: -1.0625rem;
            bottom: 0;
            transform: rotate(-30deg);
      }
}

/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
      #meet-team-1513 .cs-graphic-one {
            width: 9.1875rem;
            height: 4.0625rem;
            top: 12.5rem;
            left: -5.625rem;
            transform: rotate(-15deg);
      }

      #meet-team-1513 .cs-graphic-two {
            width: 13.4375rem;
            height: 3.75rem;
            right: -5.625rem;
            bottom: 0;
            transform: rotate(-30deg);
      }
}

/*-- -------------------------- -->
<---       Meet The Team        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
      #meet-team-1703 {
            padding: var(--sectionPadding);
            overflow: hidden;
      }

      #meet-team-1703 .cs-container {
            width: 100%;
            /* changes to 1280px at tablet */
            max-width: 34.375rem;
            margin: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* 48px - 64px */
            gap: clamp(3rem, 6vw, 4rem);
      }

      #meet-team-1703 .cs-content {
            text-align: left;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
      }

      #meet-team-1703 .cs-card-group {
            width: 100%;
            max-width: 20rem;
            margin: 0;
            padding: 0;
            display: grid;
            /* 16px - 20px */
            column-gap: clamp(1rem, 2vw, 1.5rem);
            row-gap: clamp(1.5rem, 3vw, 2.5rem);
      }

      #meet-team-1703 .cs-item {
            list-style: none;
            width: 100%;
            display: flex;
            grid-column: span 12;
            flex-direction: column;
            align-items: flex-start;
      }

      #meet-team-1703 .cs-item:hover .cs-picture img {
            transform: scale(1.1);
      }

      #meet-team-1703 .cs-item:hover .cs-name {
            color: var(--primary);
      }

      #meet-team-1703 .cs-job {
            /* 14px - 16px */
            font-size: clamp(0.875rem, 1.6vw, 1rem);
            line-height: 1.5em;
            margin: 0 0 0.5rem 0;
            color: var(--bodyTextColor);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            z-index: 1;
      }

      #meet-team-1703 .cs-job:before {
            content: '';
            width: 0.5rem;
            height: 0.5rem;
            background: var(--primary);
            position: relative;
            display: block;
      }

      #meet-team-1703 .cs-picture {
            width: 100%;
            /* 300px - 380px */
            height: clamp(18.75rem, 70vw, 23.75rem);
            margin: 0;
            overflow: hidden;
            display: block;
            position: relative;
            z-index: 1;
            border-radius: 1rem;
      }

      #meet-team-1703 .cs-picture img {
            position: absolute;
            top: 0;
            left: 0;
            /* makes sure the top of the image is at the top of the parent, heads won't get cut off this way */
            object-position: top;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s;
      }

      #meet-team-1703 .cs-info {
            width: 100%;
            padding: 0;
            /* prevents padding and border from affecting height and width */
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
      }

      #meet-team-1703 .cs-name {
            font-size: 1.25rem;
            line-height: 1.2em;
            font-weight: 700;
            margin: 1rem 0 0 0;
            color: var(--headerColor);
            display: block;
            transition: color 0.3s;
      }

      #meet-team-1703 .cs-social {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
      }

      #meet-team-1703 .cs-link-icon {
            width: 1rem;
            height: auto;
      }
      #meet-team-1703 .cs-button-solid {
            font-size: 1rem;
            /* 46px - 56px */
            line-height: clamp(2.875rem, 5.5vw, 3.5rem);
            text-decoration: none;
            font-weight: 700;
            text-align: center;
            margin: 0;
            margin-top: 20px;
            color: #fff;
            min-width: 30rem;
            padding: 0 1.5rem;
            background-color: var(--primary);
            border-radius: 0.25rem;
            display: inline-block;
            position: relative;
            z-index: 1;
            /* prevents padding from adding to the width */
            box-sizing: border-box;
      }

      #meet-team-1703 .cs-button-solid:before {
            content: "";
            position: absolute;
            height: 100%;
            width: 0%;
            background: #000;
            opacity: 1;
            top: 0;
            left: 0;
            z-index: -1;
            border-radius: 0.25rem;
            transition: width 0.3s;
      }

      #meet-team-1703 .cs-button-solid:hover:before {
            width: 100%;
      }

      #meet-team-1703 .cs-button-solid {
            /* prevents flexbox from squishing it */
            flex: none;
      }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
      #meet-team-1703 .cs-container {
            max-width: 80rem;
      }

      #meet-team-1703 .cs-item {
            grid-column: span 4;
      }
}

/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
      #meet-team-1703 .cs-container {
            flex-direction: row;
            align-items: flex-start;
      }

      #meet-team-1703 .cs-card-group {
            width: 65vw;
            flex: none;
      }
}