/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #banner-310 {
    /* 144px - 252px */
    padding-top: clamp(9rem, 25vw, 15.75rem);
    /* 80px - 140px */
    padding-bottom: clamp(5rem, 13vw, 8.75rem);
    position: relative;
    z-index: 1;
  }
  #banner-310 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #banner-310 .cs-int-title {
    /* 39px - 49px */
    font-size: clamp(2.4375rem, 4.5vw, 3.0625rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: center;
    max-width: 43.75rem;
    margin: 0 auto 0.75rem;
    color: var(--bodyTextColorWhite);
    position: relative;
  }
  #banner-310 .cs-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #banner-310 .cs-link {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.2em;
    text-decoration: none;
    color: var(--bodyTextColorWhite);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #banner-310 .cs-link:last-of-type {
    /* remove the chevron on the last list item */
  }
  #banner-310 .cs-link:last-of-type::after {
    display: none;
  }
  #banner-310 .cs-link:after {
    /* chevron - added as pseudo to make adding and removing them easier */
    content: "";
    width: 0.4375rem;
    height: 0.75rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    background: url("https://csimg.nyc3.digitaloceanspaces.com/Banners/chevron-right.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  #banner-310 .cs-link.cs-active {
    color: var(--primaryLight);
  }
  #banner-310 .cs-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: -1;
  }
  #banner-310 .cs-background:before {
    /* black overlay box */
    content: "";
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.72;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #banner-310 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/*-- -------------------------- -->
<---            FAQ             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #faq-2070 {
    overflow: hidden;
    position: relative;
  }
  #faq-2070:before {
    content: "";
    width: 100%;
    height: 90%;
    background: var(--primary);
    opacity: 0.05;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
  }
  #faq-2070 .cs-container {
    width: 100%;
    padding: 20px;
    max-width: 44rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #faq-2070 .cs-image-group {
    font-size: min(2.97vw, 1rem);
    /* 400px - 480px */
    width: clamp(25em, 45vw, 30em);
    /* 272px - 358px */
    height: clamp(17em, 34vw, 22.375em);
    margin-bottom: 3.5rem;
    border-radius: 0.5rem 0.5rem 17.625rem 17.625rem;
    display: block;
    position: relative;
    z-index: 1;
  }
  #faq-2070 .cs-picture {
    width: 100%;
    /* 272px - 358px */
    height: clamp(17em, 34vw, 22.375em);
    box-sizing: border-box;
    background-color: #dab692;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 17.625rem 17.625rem;
    position: absolute;
    top: 0;
    left: 0;
  }
  #faq-2070 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #faq-2070 .cs-graphic {
    /* 64px - 112px */
    width: clamp(4rem, 8vw, 7rem);
    height: auto;
    position: absolute;
    bottom: 0;
    left: 2rem;
    z-index: 1;
  }
  #faq-2070 .cs-content {
    /* set text align to center if content needs to be center aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* left aligns content, set to center to center align the content */
    align-items: flex-start;
  }
  #faq-2070 .cs-text {
    /* 48px - 64px */
    margin-bottom: clamp(3rem, 6vw, 4rem);
  }
  #faq-2070 .cs-flex-group {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
  }
  #faq-2070 .cs-wrapper {
    position: relative;
  }
  #faq-2070 .cs-faq-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transform-style: preserve-3d;
    perspective: 900px;
    transition: transform 0.7s, opacity 0.3s, visibility 0.5s, top 0.3s,
      left 0.3s;
    /* makes the transfrom scaling orgin the top left corner, dictates the direction by which the scale transforms animate towards */
    transform-origin: top;
  }
  #faq-2070 .cs-faq-group.cs-hidden {
    /* prevents the mouse from interacting with it */
    pointer-events: none;
    /* hidden galleries have a 0 opacity, and we animate the opacity to 1 when they become active */
    opacity: 0;
    /* by using visibility:hidden instead of display:none, we can see the animations from the opacity and transforms, display:none won't render animations. */
    visibility: hidden;
    position: absolute;
    /* this top and left value help control the animation, by setting it to position absolute and left 0, the FAQ won't fly off screen to the left, it will stop its position to be at the left edge of the .cs-flex-group (left: 0). Same for the bottom:0 value, the FAQ won't go past that position when it animates */
    top: 0;
    left: 0;
    /* prevents the hidden galleries from overflowing the section, and makes a nice animations to transition to and from */
    transform: scaleY(0);
  }
  #faq-2070 .cs-faq-group.cs-hidden .cs-faq-item {
    opacity: 0;
    transform: rotateX(270deg);
  }
  #faq-2070 .cs-faq-item {
    list-style: none;
    width: 100%;
    /* clips all corners of the button that overlap the rounded border */
    overflow: hidden;
    opacity: 1;
    border-bottom: 1px solid #e8e8e8;
    top: 0;
    transform: rotateX(0deg);
    transition: transform 0.6s, opacity 0.3s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(2) {
    transition-delay: 0.1s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(3) {
    transition-delay: 0.2s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(4) {
    transition-delay: 0.3s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(5) {
    transition-delay: 0.4s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(6) {
    transition-delay: 0.5s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(7) {
    transition-delay: 0.6s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(8) {
    transition-delay: 0.7s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(9) {
    transition-delay: 0.8s;
  }
  #faq-2070 .cs-faq-item:nth-of-type(10) {
    transition-delay: 0.9s;
  }
  #faq-2070 .cs-faq-item:last-of-type {
    border-bottom: none;
  }
  #faq-2070 .cs-faq-item.active {
    display: flex;
    flex-direction: column;
  }
  #faq-2070 .cs-faq-item.active .cs-button {
    color: var(--primary);
  }
  #faq-2070 .cs-faq-item.active .cs-arrows {
    background-color: var(--primary);
    border-color: var(--primary);
  }
  #faq-2070 .cs-faq-item.active .cs-icon {
    transform: rotate(180deg);
    filter: grayscale(1) brightness(1000%);
  }
  #faq-2070 .cs-faq-item.active .cs-item-p {
    height: auto;
    /* 20px - 24px bottom */
    /* 16px - 24px left & right */
    padding: 0 0 1.5rem 0;
    opacity: 1;
  }
  #faq-2070 .cs-button {
    /* 16px - 20px */
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: bold;
    line-height: 1.2em;
    text-align: left;
    width: 100%;
    padding: 1.5rem 4.25rem 1.5rem 0;
    background-color: transparent;
    color: var(--headerColor);
    border: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s, color 0.3s;
  }
  #faq-2070 .cs-button:hover {
    cursor: pointer;
  }
  #faq-2070 .cs-arrows {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid #bababa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    transition: border-color 0.3s, background-color 0.3s;
  }
  #faq-2070 .cs-icon {
    width: 1.5rem;
    height: auto;
    display: block;
    transition: transform 0.3s;
  }
  #faq-2070 .cs-button-text {
    width: 100%;
    display: block;
  }
  #faq-2070 .cs-item-p {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    width: 90%;
    height: 0;
    margin: 0;
    padding: 0;
    /* clips the text so it doesn't show up */
    overflow: hidden;
    color: var(--bodyTextColor);
    opacity: 0;
    transition: opacity 0.3s, padding-bottom 0.3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #faq-2070:before {
    height: 80%;
  }
  #faq-2070 .cs-container {
    max-width: 80rem;
    align-items: flex-end;
  }
  #faq-2070 .cs-image-group {
    /* 8px - 16px */
    margin-bottom: clamp(-0.5rem, -3vw, -1rem);
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #faq-2070 {
    background-color: var(--dark);
  }
  body.dark-mode #faq-2070 .cs-title,
  body.dark-mode #faq-2070 .cs-item-p,
  body.dark-mode #faq-2070 .cs-text {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #faq-2070 .cs-text {
    opacity: 0.8;
  }
  body.dark-mode #faq-2070 .cs-faq-item {
    transition: border-color 0.3s, transform 0.6s;
    border-color: rgba(255, 255, 255, 0.3);
  }
  body.dark-mode #faq-2070 .cs-faq-item.active .cs-button {
    color: var(--secondaryLight);
  }
  body.dark-mode #faq-2070 .cs-faq-item.active .cs-button:before,
  body.dark-mode #faq-2070 .cs-faq-item.active .cs-button:after {
    background-color: #fff;
  }
  body.dark-mode #faq-2070 .cs-faq-item.active .cs-item-p {
    /* 20px - 24px */
    padding-top: clamp(1.25rem, 1.3vw, 1.5rem);
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(2) {
    transition-delay: 0.1s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(3) {
    transition-delay: 0.2s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(4) {
    transition-delay: 0.3s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(5) {
    transition-delay: 0.4s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(6) {
    transition-delay: 0.5s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(7) {
    transition-delay: 0.6s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(8) {
    transition-delay: 0.7s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(9) {
    transition-delay: 0.8s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:nth-of-type(10) {
    transition-delay: 0.9s;
  }
  body.dark-mode #faq-2070 .cs-faq-item:hover {
    transition: border-color 0.3s;
  }
  body.dark-mode #faq-2070 .cs-button {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #faq-2070 .cs-arrows {
    border-color: var(--primary);
  }
  body.dark-mode #faq-2070 .cs-icon {
    filter: grayscale(1) brightness(1000%);
  }
}
