.module-quote__grid {
  align-items: center;
}

.module-quote__shell {
  grid-column: 1 / -1;
  background: var(--color-brand-darkblue);
  border-bottom-right-radius: 150px;
  padding: 100px;
  position: relative;
  min-height: 536px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.module-quote__slider {
  overflow: hidden;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  touch-action: pan-y;
}

.module-quote__slider--single .module-quote__list {
  transform: none !important;
}

.module-quote__item.swiper-slide {
  width: 100% !important;
  max-width: 100%;
  height: 100%;
}

.module-quote__item {
  height: 100%;
}

.module-quote__slider .swiper-wrapper {
  height: 100%;
  max-width: 100%;
}

.module-quote__content {
  display: flex;
  align-items: stretch;
  gap: 120px;
  min-height: 336px;
  height: 100%;
  width: 100%;
  min-width: 0;
}

.module-quote__image {
  flex: 0 0 336px;
  width: 336px;
  height: 336px;
  aspect-ratio: 1 / 1;
  align-self: flex-start;
  min-height: 0;
  overflow: hidden;
}

.module-quote__image-media {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.module-quote__text-wrap {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.module-quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 42px;
  font-weight: 700;
  color: var(--color-brand-blue);
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.module-quote__footer {
  margin-top: 50px;
  min-height: 26px;
  display: flex;
  align-items: flex-end;
}

.module-quote__meta {
  margin: 0;
  color: var(--color-brand-blue);
}

.module-quote__item--without-image .module-quote__text-wrap {
  margin-left: 0;
}

.module-quote__item--without-image .module-quote__content {
  min-height: 336px;
  gap: 0;
}

.module-quote__arrows {
  position: absolute;
  right: 100px;
  bottom: 100px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  z-index: 5;
}

.module-quote__arrow--prev svg {
  transform: rotate(180deg);
}

.module-quote__arrow {
  color: var(--color-brand-blue);
}

.module-quote__arrow svg path {
  fill: currentColor;
  transition: fill 0.2s ease;
}

.module-quote__arrow:not(.swiper-button-disabled):hover,
.module-quote__arrow:not(.swiper-button-disabled):active,
.module-quote__arrow:not(.swiper-button-disabled):focus-visible {
  color: var(--color-white);
}

@media (max-width: 1350px) and (min-width: 1001px) {
  .module-quote__text {
    font-size: 22px;
    line-height: 35px;
  }

  /* Force the slides to fill the shell height so the absolutely
     positioned footer (bottom: 0 of the item) always lands on the
     same line as the arrows, even for short quotes without an image. */
  .module-quote__slider {
    display: flex;
    flex-direction: column;
  }

  .module-quote__slider .swiper-wrapper {
    flex: 1 1 auto;
    min-height: 0;
  }

  .module-quote__item {
    position: relative;
    height: auto;
    align-self: stretch;
  }

  .module-quote__item.swiper-slide {
    height: auto;
    align-self: stretch;
  }

  .module-quote__content {
    position: static;
    min-height: 336px;
  }

  .module-quote__text-wrap {
    position: relative;
    min-height: 336px;
    padding-bottom: 42px;
  }

  /* Footer sits under the text column and is pinned to the bottom of the
     (now full-height) text-wrap, so name + place line up with the arrows
     regardless of image/no-image. */
  .module-quote__footer {
    position: absolute;
    left: 0;
    bottom: 0;
    margin-top: 0;
    min-height: 26px;
    align-items: flex-end;
  }
}

@media (max-width: 1000px) {
  .module-quote__shell {
    border-bottom-right-radius: 100px;
    padding: 20px 20px 50px;
    min-height: 0;
    height: auto;
  }

  .module-quote__slider {
    overflow: hidden;
  }

  .module-quote__slider .swiper-wrapper,
  .module-quote__item,
  .module-quote__item.swiper-slide,
  .module-quote__content {
    height: auto;
    min-height: 0;
  }

  .module-quote__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .module-quote__image {
    width: 180px;
    flex: 0 0 180px;
    box-sizing: border-box;
    padding-right: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    align-self: flex-start;
    margin-right: 0;
  }

  .module-quote__text-wrap {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
  }

  .module-quote__text {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .module-quote__footer {
    margin-top: 25px;
    min-height: 0;
  }

  .module-quote__arrows {
    position: static;
    margin-top: 50px;
    justify-content: flex-start;
    width: 100%;
  }

  .module-quote__arrow {
    width: 22px;
    height: 20px;
  }
}

@media (max-width: 1000px) and (min-width: 768px) {
  .module-quote__text {
    font-size: 22px;
    line-height: 35px;
  }

  .module-quote__image {
    width: 300px;
    flex: 0 0 300px;
  }
}

@media (max-width: 767px) {
  .module-quote__text {
    font-size: 20px;
    line-height: 28px;
  }

  .module-quote__meta {
    font-size: 16px;
    line-height: 26px;
  }
}