/* PAGE-SPECIFIC STYLES FOR THE single DIGITAL PAGE */
/*-- -------------------------- -->
<---       Talent Card          -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #talent-card {
    padding: var(--insidePagePadding);
    position: relative;
    overflow: hidden;
    z-index: 1;
    .cs-back {
        position: absolute; 
        left: 1.2%;
        top: 1.2%;
        font-size: 0.95rem;
        font-weight: 400;
        text-transform: uppercase;
    }
  }
  #talent-card .cs-container {
    width: 100%;
    /* changes to 1280px at small desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 40px - 64px */
    gap: clamp(1.5rem, 2.5vw, 2rem);
    padding-bottom: clamp(2.5rem, 3.9vw, 4rem);
  }
  #talent-card .cs-image-group {
    width: 100%;
    height: auto;
    margin: 0;
    position: relative;
  }
  #talent-card .cs-picture {
    width: 100%;
    min-height: 500px;
    display: block;
    position: relative;
  }
  #talent-card .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  #talent-card .cs-content {
    text-align: center;
    width: 100%;
    max-width: 40.625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: clamp(2.5rem, 3.9vw, 4rem);
  }
  #talent-card .cs-title-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #talent-card a.cs-text#categories {
    text-transform: uppercase;
    font-family: "Public Sans", Arial, sans-serif;
    text-decoration: none;
  }

  #talent-card .cs-save-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  #talent-card a.cs-text#save {
    background-color: white;
    color: var(--dDark);
    text-transform: uppercase;
    font-size: 0.75rem;
    text-decoration: none;
  }
  #talent-card .cs-text {
    /* 16px - 24px */
    font-size: 0.75rem;
    text-decoration: none;
  }
  #talent-card .cs-text#header {
    font-weight: 600;
    font-size: 0.8125rem;
  }
  #talent-card .cs-social-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  #talent-card .cs-social-info {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 0rem;
  }
  #talent-card .cs-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #talent-card .cs-social-link {
    text-decoration: none;
    width: 2rem;
    height: 2rem;
    background-color: #f7f7f7;
    border-radius: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
  }
  #talent-card .cs-social-icon {
    width: 0.75rem;
    height: auto;
    opacity: 0.6;
    display: block;
    transition: opacity 0.3s;
  }
  #talent-card .cs-social-icon#save {
    width: 1.25rem;
  }
  #talent-card .cs-indicator {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    z-index: 1;
  }
  #talent-card .cs-indicator:before {
    /* left line */
    content: '';
    width: 1rem;
    height: 0.125rem;
    background-color: #767676;
    opacity: 1;
    border-radius: 0px;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.5s;
  }
  #talent-card .cs-indicator:after {
    /* right line */
    content: '';
    width: 1rem;
    height: 0.125rem;
    background-color: #767676;
    opacity: 1;
    border-radius: 0px;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.5s;
  }
  #talent-card .cs-item-p {
    font-size: 0.875rem;
    line-height: 1.5em;
    width: 100%;
    max-width: none;
    height: 0;
    margin: 0;
    /* 16px - 24px */
    padding: 0 1rem 1rem 1rem;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    opacity: 0;
    color: var(--bodyTextColor);
    /* clips the text so it doesn't show up */
    overflow: hidden;
    position: relative;
    transition: opacity 0.3s, padding-bottom 0.3s, padding-top 0.3s;
  }
  #talent-card .cs-icon {
    width: 2rem;
    height: 2rem;
    display: block;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #talent-card .cs-picture {
    height: 100%;
    right: 0;
    top: 0;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #talent-card .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: unset;
  }
  #talent-card .cs-content {
    width: 30%;
  }
  #talent-card .cs-image-group {
    width: 50%;
  }
  #talent-card .cs-picture {
    width: 100%;
    height: 100%;
  }
}
/*-- -------------------------- -->
<---       Talent Photos        -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #talent-photos {
    background-color: black;
    padding: var(--insidePagePadding);
    /* removing the side paddings to allow the cards to fit the whole page width */
    position: relative;
  }
  #talent-photos .cs-container {
    width: 100%;
    max-width: 50rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(1rem, 3vw, 2rem);
  }
  #talent-photos .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    max-width: 80rem;
    box-sizing: border-box;
    /* 16px - 40px */
    padding: 0 clamp(1rem, 3.8vw, 2.5rem);
    display: flex;
    flex-direction: row;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
    gap: 1rem;
    justify-content: center;
  }
  #talent-photos .cs-title {
    color: var(--bodyTextColorWhite);
    font-size: 2rem;
  }
  #talent-photos .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
  }
  #talent-photos .cs-item {
    list-style: none;
    width: 100%;
    /* 220px - 480px */
    height: clamp(20.75rem, 36vw, 36rem);
    margin: 0;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    padding: 0;
    background-color: #000;
    box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    grid-column: span 6;
    position: relative;
    z-index: 1;
  }
  #talent-photos .cs-item:hover .cs-picture::after {
    opacity: 0.6;
  }
  #talent-photos .cs-item:hover .cs-picture img {
    transform: scale(1.2);
  }
  #talent-photos .cs-item:hover .talent-info {
    opacity: 1;
    /* 16px - 32px */
    top: clamp(1rem, 2.3vw, 2rem);
  }
  #talent-photos .cs-item:hover .cs-h3 {
    opacity: 1;
    /* 16px - 32px */
    bottom: clamp(1rem, 2.3vw, 2rem);
  }
  #talent-photos .cs-picture {
    width: 100%;
    height: 100%;
    /* prevents the mouse from interacting with it */
    pointer-events: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
  }
  #talent-photos .cs-picture:before {
    /* gradient overlay */
    content: '';
    width: 100%;
    height: 100%;
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
  }
  #talent-photos .cs-picture:after {
    /* background color overlay on hover */
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--dDark);
    opacity: 0;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: opacity 0.3s;
  }
  #talent-photos .cs-picture img {
    width: 100%;
    height: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: transform 0.7s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #talent-photos {
    padding-bottom: 0;
  }
  #talent-photos .cs-content {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  #talent-photos .cs-item {
    grid-column: span 6;
  }
  #talent-photos .cs-text {
    width: 60%;
  }
  #talent-photos .cs-title {
    margin: 0;
  }
}
/* Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #talent-photos .cs-card-group {
    grid-template-columns: repeat(2, 1fr);
  }
  #talent-photos .cs-item {
    grid-column: span 1;
  }
}
