/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbsr-1981 {
    padding: var(--sectionPadding);
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #sbsr-1981:before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.05;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #sbsr-1981 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #sbsr-1981 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 35.625rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
#reviews-286 .cs-item {
    text-align: left;
    list-style: none;
    width: 100%;
    /* max width set at desktop */
    margin: 0;
    /* 24px - 32px */
    padding: clamp(1.5rem, 3vw, 2rem);
    /* Prevents padding from affecting height & width */
    box-sizing: border-box;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
    background: #fff;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
#reviews-286 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    color: var(--bodyTextColor);
    border-bottom: 1px solid #e8e9ec;
}
#sbsr-1981 .cs-reviewer {
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 700;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    color: var(--headerColor);
    border-top: 1px solid var(--primaryLight);
}
#sbsr-1981 .cs-client {
    font-size: 0.875rem;
    font-weight: 400;
    color: #7d799c;
    display: block;
}
#sbsr-1981 .cs-item-stars {
    width: 6rem;
    height: 1rem;
}

  #sbsr-1981 .cs-text-large {
    font-size: 1.25rem;
    line-height: 1.5em;
    margin: 0 0 0.75rem 0;
    color: var(--headerColor);
  }
  #sbsr-1981 .cs-text {
    margin-bottom: 1rem;
  }
  #sbsr-1981 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    line-height: 3.5rem;
    text-decoration: none;
    margin: 0;
    padding: 0 clamp(1rem, 2vw, 3rem);
    background-color: var(--primary);
    overflow: hidden;
    color: #fff;
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #sbsr-1981 .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #1a1a1a;
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #sbsr-1981 .cs-button-solid:hover {
    color: #fff;
  }
  #sbsr-1981 .cs-button-solid:hover:before {
    width: 100%;
  }
  #sbsr-1981 .cs-ratings {
    width: 100%;
    margin: 0;
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    align-self: stretch;
  }
  #sbsr-1981 .cs-ratings:before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.1;
    border-radius: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #sbsr-1981 .cs-stars {
    display: flex;
    flex-direction: row;
  }
  #sbsr-1981 .cs-rating {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #sbsr-1981 .cs-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }
  #sbsr-1981 .cs-rating-text {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #sbsr-1981 .cs-icon {
    width: 5.125rem;
    height: 5.9375rem;
    position: absolute;
    top: -1.875rem;
    right: 1.25rem;
  }
  #sbsr-1981 .cs-image-group {
    width: 100%;
    max-width: 39.375rem;
    /* Changes to auto at desktop */
    height: 30rem;
    /* clips the corners of the children around the border radius */
    overflow: hidden;
    border-radius: 1rem;
    order: -1;
    position: relative;
  }
  #sbsr-1981 .cs-background {
    width: 100%;
    height: 100%;
    /* makes it cover the parent dimensions */
    object-fit: cover;
    display: block;
  }
  #sbsr-1981 .cs-background img {
    width: 100%;
    height: 100%;
    /* makes it cover the parent like a backgorund image */
    object-fit: cover;
    display: block;
  }
  #sbsr-1981 .cs-box {
    text-align: left;
    width: 100%;
    max-width: 25rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    padding: 2rem;
    background-color: #1A1A1A;
    /* 48px - 80px */
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    /* 12px - 24px */
    left: clamp(0.75rem, 2.5vw, 1.5rem);
    /* 12px - 24px */
    bottom: clamp(0.75rem, 2.5vw, 1.5rem);
  }
  #sbsr-1981 .cs-box-emblem {
    flex-direction: row;
    justify-content: space-between;
    width: 3.75rem;
    height: auto;
  }

  /* #sbsr-1981 .cs-box-icon {
    width: 3.75rem;
    height: auto;
    display: block;
  } */
  #sbsr-1981 .cs-desc {
    /* 25px - 31px */
    font-size: clamp(1.5625rem, 3.125vw, 1.9375rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    width: 100%;
    margin: 1rem 0 0 0;
    color: #fff;
  }
  #sbsr-1981 .cs-box-text {
    font-size: 0.875rem;
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    margin: 0.75rem 0 0 0;
    color: #f7f7f7;
  }
}

@media (max-width: 767px) {
  #sbsr-1981 .cs-reviewer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  #sbsr-1981 .cs-reviewer .cs-button-solid {
    width: 100%; /* You can also try 100% if you want full-width buttons */
    align-self: flex-start;
  }
}


/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #sbsr-1981 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  #sbsr-1981 .cs-content {
    align-self: center;
  }
  #sbsr-1981 .cs-image-group {
    height: auto;
    min-height: 42.5rem;
    order: 2;
  }
    #sbsr-1981 .cs-item {
        /* reset margin so it won't interfere with flexbox */
        margin: 0;
    }
    #sbsr-1981 .cs-reviewer > div {
        display: flex;
        flex-direction: column;
    }
    #sbsr-1981 .cs-reviewer .cs-button-solid {
    margin-left: auto;
    flex-shrink: 0;
    }
}
