.quote_layout {
  position: relative;
  text-align: center;
  margin: 1rem auto;
  padding: 4rem 5rem;
  max-width: 1000px;
  background: var(--quote-bg);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1313 437'%3E%3Cpath d='M154.025 0L398.95 24.055L620.519 0L891.956 24.055L1215.16 0L1313 44.1009V156.931V269.76L1215.16 348.225L925.413 437L594.638 399.199L293.531 419.818L41.6625 286.942L0 136.312L154.025 0Z' fill='white'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
}

.quote_layout span {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.4;
}

.quote_bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  pointer-events: none;
}

.quote_bg svg {
  width: 100%;
  transform: scaleY(1.25);
  height: auto;
  opacity: 1;
}

.quote_layout > span,
.quote_layout > p {
  position: relative;
  z-index: 2;
}

@media (max-width: 530px) {
  .quote_layout {
    padding: 3rem 2rem;
    mask-image: none;
    border-radius: 1.5rem;
  }
}

@media (max-width: 480px) {
  .quote_bg svg {
    display: none;
  }
}
