/* ==========================================================================
   WH Quote with Background
   ========================================================================== */

.wh-quote-background {
  position: relative;
  width: 100%;
  max-width: 1142px;
  margin-left: auto;
  margin-right: auto;
  min-height: var(--wh-qbg-sec-hgt, 680px);
  overflow: hidden;
  background-color: #1a1a1a;
  color: var(--wh-qbg-text-color, #ffffff);
  box-sizing: border-box;
}

.wh-quote-background--full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wh-quote-background--container {
  width: 100%;
  max-width: 1142px;
  margin-left: auto;
  margin-right: auto;
}

.wh-quote-background--height-auto {
  min-height: 0;
}

.wh-quote-background__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wh-quote-background__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wh-quote-background__image img,
.wh-quote-background__image picture,
.wh-quote-background__image .field,
.wh-quote-background__image .field__item {
  width: 100%;
  height: 100%;
}

.wh-quote-background__image img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.wh-quote-background__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--wh-qbg-overlay, 0.35));
  pointer-events: none;
}

.wh-quote-background__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--wh-qbg-sec-hgt, 680px);
  padding: 96px 80px;
  box-sizing: border-box;
}

.wh-quote-background--height-auto .wh-quote-background__overlay {
  min-height: 0;
}

.wh-quote-background__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 64px;
  row-gap: 20px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.wh-quote-background__mark {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: flex;
  gap: 12px;
  color: var(--wh-qbg-text-color, #ffffff);
}

.wh-quote-background__mark-bar {
  display: block;
  width: 16px;
  height: 96px;
  background-color: currentColor;
  border-radius: 2px;
  transform: skewX(-14deg);
}

.wh-quote-background__quote {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 0;
  padding: 0;
  border: 0;
  align-self: center;
}

.wh-quote-background__quote-text {
  margin: 0;
  font-family: 'Degular Display', sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--wh-qbg-text-color, #ffffff);
}

.wh-quote-background__author {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
  font-family: 'Degular Display', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wh-qbg-text-color, #ffffff);
}

@media (max-width: 1024px) {
  .wh-quote-background__overlay {
    padding: 80px 48px;
  }

  .wh-quote-background__inner {
    column-gap: 48px;
    row-gap: 16px;
    max-width: 100%;
  }

  .wh-quote-background__mark {
    gap: 10px;
  }

  .wh-quote-background__mark-bar {
    width: 14px;
    height: 72px;
  }

  .wh-quote-background__quote-text {
    font-size: 40px;
  }

  .wh-quote-background__author {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .wh-quote-background__overlay {
    padding: 64px 32px;
  }

  .wh-quote-background__inner {
    column-gap: 28px;
    row-gap: 12px;
  }

  .wh-quote-background__mark {
    gap: 8px;
  }

  .wh-quote-background__mark-bar {
    width: 11px;
    height: 52px;
  }

  .wh-quote-background__quote-text {
    font-size: 28px;
    line-height: 1.2;
  }

  .wh-quote-background__author {
    font-size: 16px;
  }
}
