/* ==========================================================================
   Module: Quote
   ========================================================================== */

.quote {
  border-radius: var(--corner-radius);
  box-shadow: 8px 8px 16px rgba(var(--rgb-forest), 0.2);
  margin: 0;
  margin-bottom: 8rem;
  position: relative;
  z-index: 2;
}

.quote::before {
  background-color: inherit;
  border-bottom-right-radius: 6rem;
  box-shadow: inherit;
  clip-path: inset(0 -20px -20px 0);
  content: '';
  height: 6rem;
  left: 20%;
  position: absolute;
  top: calc(100% - 2px);
  width: 6rem;
  z-index: 1;
}

@media only screen and (max-width: 47.938em) { /* 767px */
  .quote {
    padding: 2.4rem 3.2rem;
  }
}

@media only screen and (min-width: 48em) { /* 768px */
  .quote {
    padding: 3.2rem 4.8rem;
  }
}

/* Quote Text
   ========================================================================== */

.quote__text {
  margin: 0;
  quotes: "“" "”" "‘" "’";
  text-indent: -0.75em;
}

.quote__text::before {
  content: open-quote;
  padding-right: 0.25em;
}

.quote__text::after {
  content: close-quote;
  padding-right: 0.25em;
}

@supports (hanging-punctuation: first) {
  .quote__text {
    text-indent: 0;
    hanging-punctuation: first;
  }
}

/* Quote Author
   ========================================================================== */

.quote__author {
  --cluster-vertical-align: center;
  --cluster-wrap: nowrap;
  --cluster-gap: calc(var(--gutter) * 0.5);
  --cluster-horizontal-align: flex-start;
}

.quote__author-frame {
  flex-shrink: 0;
  margin-inline: 0;
}