/*-- -------------------------- -->
<---         Intro         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
  #cs-content-831 {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
    padding: var(--sectionPadding);
    padding-bottom: 0;
  }
  #cs-content-831 .cs-text {
    max-width: 56rem;
  }
}
/*-- -------------------------- -->
<---          Credits/Rebates            -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #tax-credits-rebates {
    padding: var(--sectionPadding);
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #tax-credits-rebates .disclaimer {
    text-align: center;
    font-size: 1.1rem;
    margin: 1rem 0;
  }
  #tax-credits-rebates .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 16px - 20px */
    gap: clamp(1rem, 3vw, 1.25rem);
  }
  #tax-credits-rebates .cs-container .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item {
    list-style: none;
    background-color: #f7f7f7;
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-decoration: none;
    width: 100%;
    /* 16px - 32px */
    padding: clamp(1rem, 4vw, 2rem);
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: clamp(1.5625rem, 3.158458vw, 2.125rem);
    border: 1px solid #ccc;
    border-radius: 1rem;
    flex-direction: column;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item:before {
    /* background color overlay for dark mode*/
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-picture {
    width: 95%;
    max-width: 15.625rem;
    margin: 0 auto;
    position: relative;
    display: block;
    /* width divided by height */
    aspect-ratio: 312/335;
    z-index: 1;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper .cs-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper .cs-info .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--headerColor);
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper .cs-info .cs-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper .cs-info #list-1405 {
    width: 100%;
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper .cs-info #list-1405 .cs-li {
    font-size: 1.2rem;
    list-style: none;
    line-height: 1.5em;
    width: 100%;
    color: var(--bodyTextColor);
    display: flex;
    justify-content: flex-start;
    /* push icon top the top so if the list item goes to two lines the icon stays at the top */
    align-items: center;
    gap: 0.625rem;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper .cs-info #list-1405 .cs-icon {
    width: 1.5rem;
    padding: 0.1rem;
    height: auto;
    /* adds extra space between the icon and top of parent so it's more centered */
    margin-top: 1px;
    display: block;
    background-color: var(--primary);
    border-radius: 50%;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-info-wrapper .cs-info .cs-button-solid {
    align-self: flex-start;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #tax-credits-rebates .cs-container {
    flex-direction: row;
    align-items: stretch;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item {
    flex-direction: row;
  }
  #tax-credits-rebates .cs-container .cs-card-group .cs-item .cs-picture {
    width: clamp(10rem, 24.24vw, 18rem);
    height: clamp(10rem, 24.24vw, 18rem);
    flex: none;
    max-width: 34.375rem;
  }
}
/* Laptop - 1024px */
@media only screen and (min-width: 64rem) {
  #tax-credits-rebates .cs-info-wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: clamp(2rem, 3.1vw, 5rem);
  }
}
