.banner {
  position: relative;
}

.banner__bg {
  background-color: #fff;
  bottom: 0;
  height: 100%;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: absolute;
  right: 50%;
  top: 0;
  width: 100vw;
}

.banner:not(.banner--full-width) .banner__bg {
  @media (min-width: 1200px) {
    margin: 0;
    max-width: 1320px;
    transform: translate(-50%, 0);
  }
}

.banner--bg-blue .banner__bg {
  background-color: var(--amcp-blue);
}

.banner--bg-light-blue .banner__bg {
  background-color: var(--amcp-light-blue);
}

.striped_background .banner__bg {
  position: static;
}

.banner__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  padding: 6rem 0;
  position: relative;
  @media (min-width: 768px) {
    gap: 60px;
  }
}

.banner--padding-no_vertical_padding .banner__container {
  padding: 3.75rem;
}

.banner--padding-medium_vertical_padding .banner__container {
  padding: 4rem 0;
}

.banner--padding-large_vertical_padding .banner__container {
    padding: 6rem 0;
}

.banner__media {
  bottom: 0;
  height: 100%;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: absolute;
  right: 50%;
  top: 0;
  width: 100vw;
}

.banner:not(.banner--full-width) .banner__media {
  @media (min-width: 1200px) {
    margin: 0;
    max-width: 1320px;
    transform: translate(-50%, 0);
  }
}

.banner__media-img {
  bottom: 0;
  height: 100%;
  left: 0;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  @media (min-width: 768px) {
    object-position: center center;
  }
}

.banner__row-1 {
  display: flex;
  flex-direction: column;
  gap: 120px;
  position: relative;
  @media (min-width: 768px) {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}

.banner--align-center .banner__row-1 {
  @media (min-width: 768px) {
    justify-content: center;
  }
}

.banner__main {
  display: flex;
  flex-direction: column;
  gap: var(--amcp-space-150);
  @media (min-width: 768px) {
    justify-content: center;
  }
}

.banner__main h2 {
  font-size: clamp(1.5rem,1vw + 1.5rem,2rem) !important;
}

.banner__main h2 em {
  font-weight: 400;
}

.banner--theme-light .banner__main h2 {
  color: #fff;
}

.banner--align-center h2 {
  @media (min-width: 768px) {
    text-align: center;
  }
}

.banner__description {
  @media (min-width: 768px) {
    max-width: 590px;
  }
}

.banner--2-cols .banner__description {
  @media (min-width: 768px) {
    max-width: 700px;
  }
}

.banner--theme-light .banner__description {
  color: #fff;
}

.banner--align-center .banner__description {
  @media (min-width: 768px) {
    max-width: 940px;
    text-align: center;
    margin: 0 auto;
  }
}

.banner__description p {
}

.banner--theme-light .banner__description {
  h1, h2, h3, h4, h5, h6, p {
    color: #fff;
  }
}

.banner--size-large .banner__description p {
  font-size: 1.6rem;
}

.banner__description p:last-child {
  margin-bottom: 0;
}

.banner__controls {
  display: flex;
  gap: 24px;
}

.banner--align-center .banner__controls {
    justify-content: center;
}

.banner .button {
  align-self: flex-start;
}

.banner .button--secondary {
  background-color: transparent;
  border: none;
  color: var(--amcp-blue);
  padding-left: 0;
  padding-right: 0;
}

.banner .button--secondary:active,
.banner .button--secondary:focus,
.banner .button--secondary:hover {
  background-color: transparent;
  border: none;
  color: var(--amcp-blue);
}

.banner__secondary {
  @media (min-width: 768px) {
    flex-basis: 488px;
    flex-shrink: 0;
    flex-grow: 0;
  }
}

.banner--2-cols .banner__secondary {
  @media (min-width: 768px) {
    flex-basis: 434px;
  }
}

.banner--with-video .banner__secondary {
  @media (min-width: 768px) {
    flex-basis: 666px;
  }
}

.banner .card {
  background-color: #fff;
  border: none;
  box-shadow: none;
  margin: 0;
  max-width: none;
}

.banner--bg-default .card--custom,
.banner--bg-light-blue .card--custom {
  background-color: var(--amcp-blue);
}

.banner .card--custom .card__body {
  padding: 2rem;
  @media (min-width: 768px) {
    padding: 3rem;
  }
}

.banner--bg-default .card--custom .card__body a,
.banner--bg-light-blue .card--custom .card__body a {
  color: var(--amcp-green);
}


.block.block-layout-builder {
  .banner .card .card__title {
    font-size: var(--amcp-font-size-xl);
    line-height: var(--amcp-line-height-tight);
    margin: 0 0 1rem 0;
  }
}

.banner--bg-default .card--custom .card__title,
.banner--bg-light-blue .card--custom .card__title {
  color: #fff;
}

.banner--bg-default .card--custom .card__description,
.banner--bg-light-blue .card--custom .card__description {
  color: #fff;
}

.banner .card--custom .button {
  background: none;
  border: none;
  padding: 0;
  justify-content: flex-start;
}

.banner .card--custom .button svg {
  order: 1;
}

.banner--bg-default .card--custom .button,
.banner--bg-light-blue .card--custom .button {
  color: var(--amcp-green);
}

.banner--bg-blue .card--custom {
}

.banner--bg-blue .card--custom .button {
  color: #d1350f;
}

.banner .field--name-field-video .field__label {
  display: none;
}

.banner .banner__row-2 {
}

.banner .field--name-field-testimonials {
}

.banner .field--name-field-testimonials .field__label {
  display: none !important;
}

.banner .slick-arrow {
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  z-index: 2;
}

.banner .slick-disabled {
  opacity: 0.5;
}

.banner .slick-prev {
  left: 14px;
  @media (min-width: 768px) {
    left: 50px;
  }
}

.banner .slick-next {
  right: 14px;
  @media (min-width: 768px) {
    right: 50px;
  }
}

.banner .testimonial-container {
  color: #fff;
}

.banner--bg-default .testimonial-container {
  color: var(--amcp-blue);
}

.banner--bg-light-blue .testimonial-container {
  color: var(--amcp-blue);
}

.banner .testimonial-wrapper {
  margin-top: 20px;
}

.banner .testimonial-quote-symbol {
  background-color: #fff;
  color: #93c90e;
  padding: 0 20px;
  top: -20px;
  width: 76px;
}

.banner--bg-blue .testimonial-quote-symbol {
  background-color: var(--amcp-blue);
}

.banner--bg-light-blue .testimonial-quote-symbol {
  background-color: var(--amcp-light-blue);
}

.banner .banner__row-3 {
  position: relative;
}

.banner.banner--bg-blue.banner--theme-light .button--secondary {
  color: var(--white, #fff);
}

.banner.banner--bg-blue.banner--theme-light .button--secondary:hover {
  color: var(--body-copy);
}

