/*-- -------------------------- -->
<---         Our Staff          -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #meet-495 {
    text-align: center;
    padding: var(--sectionPadding);
    /* Bio items - make names permanently visible at bottom */
    /* New bio text styles */
  }
  #meet-495 .cs-container {
    width: 100%;
    /* changes to 1440px at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #meet-495 .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;
  }
  #meet-495 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 16px - 20px */
    gap: clamp(1rem, 1.8vw, 1.25rem);
  }
  #meet-495 .cs-item {
    list-style: none;
    width: 100%;
    max-width: 20rem;
    height: auto;
    aspect-ratio: 328/272;
    position: relative;
    z-index: 1;
    /* Bio item specific hover styles */
    /* Mobile touch interaction for bio items */
  }
  #meet-495 .cs-item:hover .cs-background:before {
    opacity: 0.7;
  }
  #meet-495 .cs-item:hover .cs-background img {
    transform: scale(1.1);
  }
  #meet-495 .cs-item:hover .cs-name {
    pointer-events: visible;
    opacity: 1;
    transform: translateY(0);
  }
  #meet-495 .cs-item:hover .cs-details {
    pointer-events: visible;
    opacity: 1;
    transform: translateY(0);
  }
  #meet-495 .cs-item.cs-item-bio:hover .cs-name {
    transform: translateY(-1.5rem);
  }
  #meet-495 .cs-item.cs-item-bio:hover .cs-bio {
    opacity: 1;
    transform: translateY(0);
  }
  #meet-495 .cs-item.cs-item-bio {
    cursor: pointer;
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-background:before {
    opacity: 0.7;
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-background img {
    transform: scale(1.1);
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-name {
    transform: translateY(-0.5rem);
    margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-bio {
    opacity: 1;
    transform: translateY(0);
  }
  #meet-495 .cs-link {
    text-decoration: none;
    width: 100%;
    height: 100%;
    /* 24px - 48px top & bottom */
    /* 24px - 32px left & right */
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2rem);
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    left: 0;
  }
  #meet-495 .cs-name {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    /* 16px - 24px */
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);
    color: var(--bodyTextColorWhite);
    /* Default to original hidden state for Bubba Bush */
    opacity: 1;
    pointer-events: none;
    transform: translateY(0.625rem);
    transition: opacity 0.3s, transform 0.3s;
    text-shadow: black 0px 0px 10px;
  }
  #meet-495 .cs-item-bio .cs-name {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);
    transition: transform 0.3s, margin-bottom 0.3s;
  }
  #meet-495 .cs-details {
    font-size: 1rem;
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    transform: translateY(0.625rem);
    transition: opacity 0.3s, transform 0.6s;
    transition-delay: 0.1s;
  }
  #meet-495 .cs-details:hover:before {
    width: 100%;
  }
  #meet-495 .cs-details:before {
    content: "";
    width: 0%;
    height: 3px;
    background: var(--primary);
    opacity: 1;
    position: absolute;
    display: block;
    bottom: -0.1875rem;
    left: 0;
    transition: width 0.3s;
  }
  #meet-495 .cs-bio {
    font-size: 0.875rem;
    line-height: 1.4em;
    font-weight: 400;
    color: var(--bodyTextColorWhite);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 90%;
    margin: 0;
    /* Position above where the name will be */
    position: absolute;
    bottom: clamp(10rem, 10vw, 15rem);
    /* Position above the name's hover position */
    left: 0;
    right: 0;
    padding: 0 clamp(1.5rem, 4vw, 2rem);
    box-sizing: border-box;
    /* Hidden by default */
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.3s, transform 0.3s;
  }
  #meet-495 .cs-background {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #meet-495 .cs-background:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 10;
    transition: opacity 0.3s;
  }
  #meet-495 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* makes it act like a background image */
    object-fit: cover;
    /* pushes the top of the image to the top of the parent */
    object-position: top;
    transition: transform 0.6s;
  }
}
/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
  #meet-495 .cs-container {
    /* changes to 1440px at desktop */
    max-width: clamp(34.375rem, 65vw, 41.375rem);
  }
  #meet-495 .cs-card-group {
    flex-wrap: wrap;
    flex-direction: row;
  }
  #meet-495 .cs-item {
    width: 42%;
    aspect-ratio: 236/272;
    /* 272px - 469px */
    height: clamp(17rem, 30vw, 29.3125rem);
    /* Remove mobile touch styles on tablet+ */
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-background:before {
    opacity: 0;
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-background img {
    transform: scale(1);
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-name {
    transform: translateY(0);
  }
  #meet-495 .cs-item.cs-item-bio:active .cs-bio {
    opacity: 0;
    transform: translateY(1rem);
  }
  #meet-495 .cs-bio {
    font-size: 0.8125rem;
  }
}
/* Desktop - 1200px */
@media only screen and (min-width: 75rem) {
  #meet-495 .cs-container {
    max-width: 90rem;
  }
  #meet-495 .cs-card-group {
    flex-wrap: wrap;
  }
  #meet-495 .cs-item {
    width: 100%;
    aspect-ratio: initial;
  }
  #meet-495 .cs-name {
    font-size: 1.5rem;
  }
  #meet-495 .cs-bio {
    font-size: 0.875rem;
  }
}
