/* PAGE-SPECIFIC STYLES FOR THE SERVICES PAGE */
/*-- -------------------------- -->
<---    Side By Side Reverse    -->
<--- -------------------------- -*/
.cs-text {
  font-size: 18px;
}
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbsr-1 {
    padding: var(--sectionPadding);
    padding-bottom: 0;
    padding-top: 0;
    position: relative;
  }
  #sbsr-1 .cs-color {
    color: var(--primary);
  }
  #sbsr-1 .cs-wave {
    width: 110%;
    height: 200px;
    position: absolute;
    overflow: hidden;
    bottom: 0px;
    transform: translateX(-20px);
    transition: filter 0.3s;
    z-index: -1;
  }
  #sbsr-1 .cs-container {
    padding: var(--sectionPadding);
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: left;
    /* 48px - 64px */
    gap: clamp(3rem, 7vw, 4rem);
  }
  #sbsr-1 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 33.875rem;
    /* prevents padding from affecting width and height */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #sbsr-1 .cs-title {
    /* 17 characters wide including spaces */
    max-width: 17ch;
  }
  #sbsr-1 .cs-text {
    margin-bottom: 1rem;
  }
  #sbsr-1 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbsr-1 .cs-picture {
    display: block;
    position: relative;
    width: 100%;
    max-width: 39.375rem;
    height: 100%;
    /* 100px - 200px */
    /* clips img tag corners */
    overflow: hidden;
  }
  #sbsr-1 .cs-picture img {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #sbsr-1 {
    padding: var(--sectionPadding);
    padding-bottom: 0;
  }
  #sbsr-1 .cs-container {
    flex-direction: row;
    max-width: 80rem;
    justify-content: space-between;
  }
  #sbsr-1 .cs-content {
    width: 53%;
    /* reset the padding, add the section padding back to the section container */
    padding: 0;
    /* sends it to the left in the 1st position */
    order: -1;
  }
  #sbsr-1 .cs-picture {
    position: relative;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #sbsr-1 .cs-wave path {
    fill: #2c394b;
  }
  body.dark-mode #sbsr-1 .cs-title,
  body.dark-mode #sbsr-1 .cs-text {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #sbsr-1 .cs-text {
    opacity: 0.8;
  }
  body.dark-mode #sbsr-1 .cs-picture:before {
    background-color: var(--accent);
  }
}
/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbs {
    padding: var(--sectionPadding);
    background: var(--primaryLight);
  }
  #sbs .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 60px */
    gap: clamp(3rem, 10vw, 3.75rem);
  }
  #sbs .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #sbs .cs-color {
    color: var(--primary);
  }
  #sbs .cs-text {
    margin-bottom: 1rem;
    opacity: 0.8;
  }
  #sbs .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs .cs-ul {
    width: 80%;
    /* 32px - 36px */
    margin: 0 0 clamp(2rem, 4vw, 2.25rem) 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 24px - 32px */
    row-gap: clamp(1.5rem, 4vw, 2rem);
  }
  #sbs .cs-li {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    list-style: none;
    line-height: 1.5em;
    font-weight: 700;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
  }
  #sbs .cs-desc {
    font-size: clamp(0.875rem, 1rem, 1.25rem);
    line-height: 1.5em;
    font-weight: 400;
    margin: 0;
  }
  #sbs .cs-picture {
    width: 100%;
    height: 100%;
    display: block;
    order: -1;
    position: relative;
  }
  #sbs .cs-picture img {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 64rem) {
  #sbs .cs-container {
    max-width: 80rem;
    flex-direction: row;
    align-items: center;
  }
  #sbs .cs-content {
    width: 71%;
    max-width: 33.75rem;
  }
  #sbs .cs-image-group {
    width: 68%;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #sbs {
    background-color: var(--medium);
  }
}
/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbs-1 {
    padding: var(--sectionPadding);
    position: relative;
  }
  #sbs-1 .cs-wave {
    width: 110%;
    height: 100px;
    position: absolute;
    overflow: hidden;
    top: 0px;
    transform: translateX(-20px) rotate(180deg);
    z-index: -1;
  }
  #sbs-1 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 60px */
    gap: clamp(3rem, 10vw, 3.75rem);
  }
  #sbs-1 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #sbs-1 .cs-color {
    color: var(--primary);
  }
  #sbs-1 .cs-text {
    margin-bottom: 1rem;
    opacity: 0.8;
  }
  #sbs-1 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbs-1 .cs-ul {
    width: 80%;
    /* 32px - 36px */
    margin: 0 0 clamp(2rem, 4vw, 2.25rem) 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 24px - 32px */
    row-gap: clamp(1.5rem, 4vw, 2rem);
  }
  #sbs-1 .cs-li {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    list-style: none;
    line-height: 1.5em;
    font-weight: 700;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
  }
  #sbs-1 .cs-desc {
    font-size: clamp(0.875rem, 1rem, 1.25rem);
    line-height: 1.5em;
    font-weight: 400;
    margin: 0;
  }
  #sbs-1 .cs-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    order: -2;
  }
  #sbs-1 .cs-picture img {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 64rem) {
  #sbs-1 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    align-items: center;
  }
  #sbs-1 .cs-content {
    width: 71%;
    max-width: 33.75rem;
  }
  #sbs-1 .cs-image-group {
    width: 68%;
  }
  #sbs-1 .cs-picture {
    order: 0;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #sbs-1 .cs-wave path {
    fill: #2c394b;
  }
}
