/**
 * Testimonial Section - Frontend & Editor Styles
 */
.editor-styles-wrapper .testimonial-section,
.testimonial-section {
  padding-block: 4rem;
  margin: 0;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner,
.testimonial-section .testimonial-section__inner {
  padding: 5rem 0;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.bg-barton-blue,
.testimonial-section .testimonial-section__inner.bg-barton-blue {
  background-color: #00263a;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.bg-rebar-grey,
.testimonial-section .testimonial-section__inner.bg-rebar-grey {
  background-color: #e0e7eb;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.bg-white,
.testimonial-section .testimonial-section__inner.bg-white {
  background-color: #fff;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-white,
.testimonial-section .testimonial-section__inner.text-white {
  color: #fff;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-white .testimonial-quote p,
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-white .testimonial-person-name,
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-white .testimonial-person-title,
.testimonial-section .testimonial-section__inner.text-white .testimonial-quote p,
.testimonial-section .testimonial-section__inner.text-white .testimonial-person-name,
.testimonial-section .testimonial-section__inner.text-white .testimonial-person-title {
  color: #fff;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-barton-blue,
.testimonial-section .testimonial-section__inner.text-barton-blue {
  color: #00263a;
}
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-barton-blue .testimonial-quote p,
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-barton-blue .testimonial-person-name,
.editor-styles-wrapper .testimonial-section .testimonial-section__inner.text-barton-blue .testimonial-person-title,
.testimonial-section .testimonial-section__inner.text-barton-blue .testimonial-quote p,
.testimonial-section .testimonial-section__inner.text-barton-blue .testimonial-person-name,
.testimonial-section .testimonial-section__inner.text-barton-blue .testimonial-person-title {
  color: #00263a;
}
.editor-styles-wrapper .testimonial-section .testimonial-content-wrapper,
.testimonial-section .testimonial-content-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 767px) {
  .editor-styles-wrapper .testimonial-section .testimonial-content-wrapper,
  .testimonial-section .testimonial-content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}
.editor-styles-wrapper .testimonial-section.has-image .testimonial-content-wrapper,
.testimonial-section.has-image .testimonial-content-wrapper {
  justify-content: flex-start;
  align-items: stretch;
}
.editor-styles-wrapper .testimonial-section.has-image .testimonial-image-container,
.testimonial-section.has-image .testimonial-image-container {
  flex: 0 0 385px;
  width: 100%;
  aspect-ratio: 3/3.5;
  position: relative;
}
@media (max-width: 767px) {
  .editor-styles-wrapper .testimonial-section.has-image .testimonial-image-container,
  .testimonial-section.has-image .testimonial-image-container {
    aspect-ratio: 3.5/3;
  }
}
.editor-styles-wrapper .testimonial-section.has-image .testimonial-image,
.testimonial-section.has-image .testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 0;
  position: absolute;
}
.editor-styles-wrapper .testimonial-section.has-image .testimonial-content,
.testimonial-section.has-image .testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 5px solid #e35205;
  padding-left: 3rem;
}
@media (max-width: 767px) {
  .editor-styles-wrapper .testimonial-section.has-image .testimonial-content,
  .testimonial-section.has-image .testimonial-content {
    border-left: none;
    border-top: 5px solid #e35205;
    padding-left: 0;
    padding-top: 2rem;
    text-align: center;
  }
}
.editor-styles-wrapper .testimonial-section.no-image .testimonial-content-wrapper,
.testimonial-section.no-image .testimonial-content-wrapper {
  justify-content: center;
}
.editor-styles-wrapper .testimonial-section.no-image .testimonial-content,
.testimonial-section.no-image .testimonial-content {
  text-align: center;
  max-width: 960px;
}
.editor-styles-wrapper .testimonial-section .testimonial-quote,
.testimonial-section .testimonial-quote {
  margin: 0 0 2rem 0;
  padding: 0;
  border: none;
  background-color: unset;
  max-width: unset;
}
.editor-styles-wrapper .testimonial-section .testimonial-quote p,
.testimonial-section .testimonial-quote p {
  font-size: 2rem;
  margin: 0;
  font-weight: 600;
  font-family: "Industry", sans-serif;
}
@media (max-width: 767px) {
  .editor-styles-wrapper .testimonial-section .testimonial-quote p,
  .testimonial-section .testimonial-quote p {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .editor-styles-wrapper .testimonial-section .testimonial-quote p,
  .testimonial-section .testimonial-quote p {
    font-size: 1.5rem;
  }
}
.editor-styles-wrapper .testimonial-section .testimonial-attribution .testimonial-person-name,
.testimonial-section .testimonial-attribution .testimonial-person-name {
  display: block;
  margin-bottom: 0.25rem;
  font-style: normal;
  font-family: "Industry", sans-serif;
}
.editor-styles-wrapper .testimonial-section .testimonial-attribution .testimonial-person-title,
.testimonial-section .testimonial-attribution .testimonial-person-title {
  display: block;
  font-family: "Industry", sans-serif;
}

.wp-block-acf-testimonial-section.is-selected {
  border: 2px dashed #0073aa;
  background: rgba(0, 115, 170, 0.1);
}
