/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #banner-850 {
    /* 175px - 260px top */
    padding: clamp(10.9375rem, 20vw, 16.25rem) 1rem clamp(6.25rem, 14vw, 12vw);
    /* clips svg wave from causing overflow issues */
    overflow: hidden;
    position: relative;
    z-index: 1;
    background-color: orange;
  }
  #banner-850 .cs-container {
    text-align: center;
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
  #banner-850 .cs-int-title {
    /* 39px - 61px */
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0;
    color: var(--headerColor);
    position: relative;
  }
  #banner-850 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #banner-850 .cs-background:before {
    /* background color overlay */
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #1a1a1a;
    opacity: 0.64;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #banner-850 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
  }
  #banner-850 .cs-wave {
    /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */
    width: 48rem;
    height: auto;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: -1;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #banner-850 .cs-background:before {
    opacity: 1;
    background: linear-gradient(
      90.01deg,
      rgba(0, 0, 0, 0.9) 16.86%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  #banner-850 .cs-wave {
    width: 100%;
    left: 0;
    transform: none;
  }
}

/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RTsbs-1258,
  #RTsbsr-1258,
  #RTsbst-1258 {
    padding: var(--sectionPadding);
    overflow: hidden;
  }
  #RTsbs-1258 .cs-container,
  #RTsbsr-1258 .cs-container,
  #RTsbst-1258 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #RTsbs-1258 .cs-content,
  #RTsbsr-1258 .cs-content,
  #RTsbst-1258 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    /* changes to 433px at desktop */
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }

  #RTsbs-1258 .cs-text,
  #RTsbsr-1258 .cs-text,
  #RTsbst-1258 .cs-text {
    margin-bottom: 1rem;
  }
  #RTsbs-1258 .cs-text:last-of-type,
  #RTsbsr-1258 .cs-text:last-of-type,
  #RTsbst-1258 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #RTsbs-1258 .cs-ul,
  #RTsbsr-1258 .cs-ul,
  #RTsbst-1258 .cs-ul {
    max-width: 39.375rem;
    margin: 0 0 2rem 0;
    padding: 0;
    /* clips the bullets to create the half circle */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #RTsbs-1258 .cs-li,
  #RTsbsr-1258 .cs-li,
  #RTsbst-1258 .cs-li {
    list-style: none;
    margin: 0;
    color: var(--bodyTextColor);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
  }
  #RTsbs-1258 .cs-button-solid,
  #RTsbsr-1258 .cs-button-solid,
  #RTsbst-1258 .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;
    color: #fff;
    min-width: 9.375rem;
    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;
  }
  #RTsbs-1258 .cs-button-solid:before,
  #RTsbsr-1258 .cs-button-solid:before,
  #RTsbst-1258 .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;
  }
  #RTsbs-1258 .cs-button-solid:hover:before,
  #RTsbsr-1258 .cs-button-solid:hover:before,
  #RTsbst-1258 .cs-button-solid:hover:before {
    width: 100%;
  }
  #RTsbs-1258 .cs-image-group,
  #RTsbsr-1258 .cs-image-group,
  #RTsbst-1258 .cs-image-group {
    /* scales the whole group based on the view width size and stop when that vales equals .845em, resets at desktop */
    font-size: min(2.207vw, 0.845em);
    width: 40.625em;
    height: 41.125em;
    display: block;
    position: relative;
    z-index: 1;
  }
  #RTsbs-1258 .cs-picture,
  #RTsbsr-1258 .cs-picture,
  #RTsbst-1258 .cs-picture {
    border-radius: 0.5rem;
    overflow: hidden;
    position: absolute;
  }
  #RTsbs-1258 .cs-picture img,
  #RTsbsr-1258 .cs-picture img,
  #RTsbst-1258 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #RTsbs-1258 .cs-picture1,
  #RTsbsr-1258 .cs-picture1,
  #RTsbst-1258 .cs-picture1 {
    width: 12.6875em;
    height: 12.6875em;
    top: 1.25em;
    left: 1.125em;
  }
  #RTsbs-1258 .cs-picture2,
  #RTsbsr-1258 .cs-picture2,
  #RTsbst-1258 .cs-picture2 {
    width: 13em;
    height: 13em;
    top: 0;
    left: 14.0625em;
  }
  #RTsbs-1258 .cs-picture3,
  #RTsbsr-1258 .cs-picture3,
  #RTsbst-1258 .cs-picture3 {
    width: 13.375em;
    height: 13.375em;
    top: 0.5625em;
    right: 0;
  }
  #RTsbs-1258 .cs-picture4,
  #RTsbsr-1258 .cs-picture4,
  #RTsbst-1258 .cs-picture4 {
    width: 14em;
    height: 14em;
    top: 14.1875em;
    left: 0;
  }
  #RTsbs-1258 .cs-picture5,
  #RTsbsr-1258 .cs-picture5,
  #RTsbst-1258 .cs-picture5 {
    width: 17.9375em;
    height: 17.9375em;
    box-shadow: 0px 24px 122px 0px rgba(0, 0, 0, 0.78);
    top: 10.9375em;
    left: 10.875em;
    z-index: 10;
  }
  #RTsbs-1258 .cs-picture6,
  #RTsbsr-1258 .cs-picture6,
  #RTsbst-1258 .cs-picture6 {
    width: 12.6875em;
    height: 12.6875em;
    bottom: 0;
    left: 2.375em;
  }
  #RTsbs-1258 .cs-picture7,
  #RTsbsr-1258 .cs-picture7,
  #RTsbst-1258 .cs-picture7 {
    width: 12.75em;
    height: 12.75em;
    top: 14.1875em;
    right: 1.25em;
  }
  #RTsbs-1258 .cs-picture8,
  #RTsbsr-1258 .cs-picture8,
  #RTsbst-1258 .cs-picture8 {
    width: 13.9375em;
    height: 13.9375em;
    bottom: 3.75em;
    left: 15.375em;
  }
  #RTsbs-1258 .cs-waves-wrapper,
  #RTsbsr-1258 .cs-waves-wrapper,
  #RTsbst-1258 .cs-waves-wrapper {
    /* changes to 100% at desktop */
    width: 100vw;
    height: 150%;
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: -1;
    /* changes at desktop */
    transform: translateX(-50%);
  }
  #RTsbs-1258 .cs-waves-wrapper img,
  #RTsbsr-1258 .cs-waves-wrapper img,
  #RTsbst-1258 .cs-waves-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RTsbs-1258 .cs-container,
  #RTsbsr-1258 .cs-container,
  #RTsbst-1258 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #RTsbs-1258 .cs-image-group,
  #RTsbsr-1258 .cs-image-group,
  #RTsbst-1258 .cs-image-group {
    font-size: min(1.2vw, 1em);
    flex: none;
  }
  #RTsbs-1258 .cs-waves-wrapper,
  #RTsbsr-1258 .cs-waves-wrapper,
  #RTsbst-1258 .cs-waves-wrapper {
    width: 100%;
    bottom: 50%;
    transform: translate(-50%, 50%);
  }
}

/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RTsbsr-1258 {
    background-color: #f7f7f7;
  }
  #RTsbsr-1258 .cs-picture1 {
    left: auto;
    right: 1.125em;
  }
  #RTsbsr-1258 .cs-picture2 {
    left: auto;
    right: 14.0625em;
  }
  #RTsbsr-1258 .cs-picture3 {
    right: auto;
    left: 0;
  }
  #RTsbsr-1258 .cs-picture4 {
    left: auto;
    right: 0;
  }
  #RTsbsr-1258 .cs-picture5 {
    left: auto;
    right: 10.875em;
  }
  #RTsbsr-1258 .cs-picture6 {
    left: auto;
    right: 2.375em;
  }
  #RTsbsr-1258 .cs-picture7 {
    right: auto;
    left: 1.25em;
  }
  #RTsbsr-1258 .cs-picture8 {
    left: auto;
    right: 15.375em;
  }
  #RTsbsr-1258 .cs-waves-wrapper {
    display: none;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RTsbsr-1258 .cs-image-group {
    /* sends it to the right in the 2nd position */
    order: 2;
  }
}

.blog-section-title {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
}
