/* Shared CSS for all ACF Custom Blocks */
.acf-block.ql-testimonial {
  position: relative;
  margin-bottom: 80px;
}

.ql-testimonial .bg-transparent {
  background-color: transparent;
}

.ql-testimonial .bg-cultured {
  background-color: #f4f4f4;
}

.ql-testimonial .bg-black {
  background-color: #191919;
}

.ql-testimonial .bg-blue {
  background-color: #1c236d;
}

.ql-testimonial h1,
.ql-testimonial h2,
.ql-testimonial h3,
.ql-testimonial h4,
.ql-testimonial h5,
.ql-testimonial h6,
.ql-testimonial p,
.ql-testimonial li {
  color: #191919;
  margin-bottom: 24px;
}

.ql-testimonial .bg-black h1,
.ql-testimonial .bg-blue h1,
.ql-testimonial .bg-black h2,
.ql-testimonial .bg-blue h2,
.ql-testimonial .bg-black h3,
.ql-testimonial .bg-blue h3,
.ql-testimonial .bg-black h4,
.ql-testimonial .bg-blue h4,
.ql-testimonial .bg-black h5,
.ql-testimonial .bg-blue h5,
.ql-testimonial .bg-black h6,
.ql-testimonial .bg-blue h6,
.ql-testimonial .bg-black p,
.ql-testimonial .bg-blue p,
.ql-testimonial .bg-black li,
.ql-testimonial .bg-blue li {
  color: #fff;
}

.ql-testimonial .ql-layout-columns {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  transition: opacity 300ms ease-out;
  opacity: 0;
}

.ql-testimonial .ql-layout-columns.is-selected {
  opacity: 1;
}

.ql-testimonial .ql-layout-column {
  width: 100%;
  flex-basis: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.ql-testimonial .ql-layout-column.col-left {
  margin-right: 0;
  margin-bottom: 40px;
}

.ql-testimonial .ql-layout-column.col-right {
  position: relative;
}

.ql-testimonial .ql-layout-column .client-logo {
  max-width: 325px;
  margin: 0 auto;
  padding: 6px;
}

.ql-testimonial .ql-layout-column .client-name {
  font-weight: 600;
}

.ql-testimonial .ql-layout-column .client-role {
  font-size: 14px;
  color: #a4a4a4;
}

.ql-testimonial .ql-layout-column .testimonial-text {
  position: relative;
  font-style: italic;
  margin-bottom: 32px;
}

.ql-testimonial .ql-layout-column .testimonial-text::before {
  font-family: "Font Awesome 5 Free";
  content: "\f10e";
  font-weight: 900;
  font-size: 20px;
  margin-right: 12px;
  color: #ffbf02;
}

@media only screen and (min-width: 960px) {
  .ql-testimonial .ql-layout-columns {
    flex-direction: initial;
  }

  .ql-testimonial .ql-layout-column {
    padding-top: 64px;
    padding-bottom: 64px;
    width: 50%;
    flex-basis: 50%;
  }

  .ql-testimonial .ql-layout-column.col-left {
    margin-right: 40px;
    margin-bottom: 0;
  }

  .ql-testimonial .ql-layout-column .testimonial-text {
    padding-left: 40px;
  }

  .ql-testimonial .ql-layout-column .client-logo {
    margin: 0 auto 40px;
    padding: 24px;
  }
}
