@charset "UTF-8";

.quote-layout {
  position: relative;
}

.quote-block:not(.quote-block--with-image) .quote-layout {
  width: min(920px, 92vw);
  text-align: center;
}

.quote-block--with-image .quote-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4rem);
}

.quote-image {
  position: relative;
  width: min(100%, 420px);
  margin: 0;
  border-radius: 18px;
  isolation: isolate;
}

.quote-image::after {
  content: "”";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: clamp(50px, 6vw, 72px);
  height: clamp(50px, 6vw, 72px);
  background: #fff;
  color: #c81c60;
  font-size: clamp(2.7rem, 4.5vw, 4rem);
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(31, 27, 36, 0.16);
  border-radius: 50%;
}

.quote-image img {
  aspect-ratio: 16 / 11;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.quote-content {
  min-width: 0;
}

.quote-block--with-image .quote-content {
  text-align: left;
}

.quote-block--with-image .quote-content h2,
.quote-block--with-image .quote-content h3 {
  text-align: left;
}

.quote-block p {
  color: #3d3346;
  font-size: clamp(1.08rem, 1.5vw, 1.5rem);
}

.quote-copy > :first-child::before {
  content: "„";
}

.quote-copy > :last-child::after {
  content: "“";
}

@media (max-width: 760px) {
  .quote-block--with-image .quote-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .quote-image {
    width: min(100%, 420px);
  }

  .quote-block--with-image .quote-content,
  .quote-block--with-image .quote-content h2,
  .quote-block--with-image .quote-content h3 {
    text-align: center;
  }
}
