.blueBg2 {
  background-color: var(--blue2);
}

.whiteBg {
  background-color: #fff;
}

.bg_e9e9ea {
  background-color: #e9e9ea;
}

.socialCard {
  min-height: 260px;

  .socIcon {
    width: 70px;
    height: 70px;
    padding-bottom: 15px;
    margin-bottom: 12px;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100px;
      height: 2px;
      background-color: #fff;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .socText {
    p {
      font-family: "Montserrat", sans-serif;
      font-style: italic;
    }
  }
}

.commIcon {
  width: 70px;
  height: 70px;
  padding: 12px;
  border-radius: 15px;
  margin-bottom: 12px;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.section_2 {
  background-repeat: no-repeat;
  background-size: cover;

  .numMain {
    background: linear-gradient(to bottom,
        #8be4ef 0%,
        #53c6da 50%,
        #1c9cc8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    .numText {
      font-family: "Montserrat", sans-serif;
    }
  }
}

.section_3 {
  .imgBox {
    width: 100%;
    height: 400px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px;
    }
  }

  .testimonialDiv {
    border: 2px solid #fff;
    border-radius: 8px 20px 20px 20px;
    padding: 20px 25px;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      background-image: url(../images/capitals/social-capital/comma.png);
      background-repeat: no-repeat;
      background-size: contain;
      width: 70px;
      height: 70px;
    }

    .testiHead {
      padding-left: 70px;
    }

    .testimonialRow {
      padding-top: 30px;
    }

    .testimonCard {
      .testiImg {
        width: 80px;
        height: 80px;
        margin: 0px auto 15px;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

      .testiText {
        min-height: 150px;
        margin-bottom: 20px;
      }
    }
  }
}

.section_4 {
  position: relative;
  padding-bottom: 150px;

  &::after {
    content: "";
    position: absolute;
    background-image: url(../images/capitals/social-capital/shareholder-bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    bottom: 0;
    width: 350px;
    height: 350px;
    z-index: -1;
  }
}

.h_100 {
  height: 100%;
}

.customList {
  li {
    color: #414042;
  }
}

/* --------------------------------------------------------------------------------
   Responsive
-------------------------------------------------------------------------------- */

@media (max-width: 1440px) {
  .section_4 {
    &::after {
      bottom: -74px;
      width: 280px;
      height: 280px;
    }
  }
}

@media (max-width: 1024px) {
  .section_5 {
    padding-top: 0;
  }

  .section_4 {
    &::after {
      bottom: 0;
      width: 190px;
      height: 190px;
    }
  }
}

@media (max-width: 991px) {

  /* 350px of decorative artwork is most of a phone's width, and it sits behind
       copy that has no background of its own to protect it */
  .section_1 {
    .row_1 {
      .col_2 {
        .imgBox {
          height: 550px;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: bottom;
            border-radius: 20px;
          }
        }
      }
    }
  }

  .section_3 {
    .testimonialDiv {
      .echTestimonCard {

        &:nth-child(3),
        &:nth-child(4) {
          .testimonCard {
            border-bottom: 0;
            padding-bottom: 0;
          }
        }
      }

      .testimonCard {
        border-bottom: 1px solid #fff;
        padding-bottom: 20px;

        .testiText {
          min-height: auto;
        }
      }
    }
  }

  .section_4 {
    padding-bottom: 60px;

    &::after {
      width: 200px;
      height: 200px;
      opacity: 0.4;
    }
  }

  .section_5 {
    .row_1 {
      .col_1 {
        .mb_30 {
          margin-bottom: 0px !important;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .section_1 {
    .row_1 {
      .col_2 {
        .imgBox {
          height: 430px;
        }
      }
    }
  }
}

@media (max-width: 767px) {

  /* the min-heights keep the cards level while they sit side by side; stacked
       they only add dead space under a couple of lines of copy */
  .socialCard {
    min-height: 0;

    .socIcon {
      width: 60px;
      height: 60px;
      padding-bottom: 12px;

      &::after {
        width: 80px;
      }
    }
  }

  .commIcon {
    width: 60px;
    height: 60px;
    padding: 10px;
  }

  .section_3 {
    .imgBox {
      height: 310px;
    }

    .testimonialDiv {
      padding: 18px;

      .echTestimonCard {
        &:nth-child(3) {
          .testimonCard {
            border-bottom: 1px solid #fff;
            padding-bottom: 20px;
          }
        }
      }

      /* the quote mark is set as a background on the panel corner, so the
               heading has to be indented past it by hand */
      &::after {
        width: 48px;
        height: 48px;
      }

      .testiHead {
        padding-left: 56px;
      }

      .testimonialRow {
        padding-top: 20px;
      }

      .testimonCard .testiText {
        min-height: 0;
      }
    }
  }
}

@media (max-width: 575px) {
  .section_1 {
    .row_1 {
      .col_2 {
        .imgBox {
          height: 326px;
        }
      }
    }
  }
}

@media (max-width: 480px) {
  .section_1 {
    .row_1 {
      .col_2 {
        .imgBox {
          height: 268px;
        }
      }
    }
  }
}

@media (max-width: 400px) {
  .section_1 {
    .row_1 {
      .col_2 {
        .imgBox {
          height: 216px;
        }
      }
    }
  }
}