/* One centered quote at a time, within the page's available width. */
.olivia-quote {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding: clamp(56px, 7vw, 104px) 0;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}
.olivia-quote [hidden] { display: none !important; }
.olivia-quote-inner {
  width: 88%;
  max-width: 1240px;
  margin-inline: auto;
  text-align: center;
}
.olivia-quote-mark {
  display: block;
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(100px, 11vw, 160px);
  font-weight: 200;
  font-style: normal;
  line-height: .8;
  color: var(--wp--preset--color--surface);
  margin-bottom: clamp(16px, 3vw, 40px);
}
.olivia-quote-layout {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(12px, 3vw, 48px);
}
.olivia-quote-viewport {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  transition: height 250ms ease;
}
.olivia-quote .olivia-quote-item { margin: 0; padding: 0; }
.olivia-quote .olivia-quote-text {
  margin: 0;
  padding: 0;
  border: 0;
  quotes: none;
}
.olivia-quote .olivia-quote-text p {
  margin: 0;
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 200;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.olivia-quote .olivia-quote-author {
  margin-top: 32px;
  font-family: var(--wp--preset--font-family--body);
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.olivia-quote-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--contrast);
  cursor: pointer;
  transition: color 200ms ease;
  grid-row: 1;
}
.olivia-quote-arrow[data-quote-previous] { grid-column: 1; }
.olivia-quote-arrow[data-quote-next] { grid-column: 3; }
.olivia-quote-arrow:hover {
  color: #777;
  color: color-mix(in srgb, var(--wp--preset--color--contrast) 65%, var(--wp--preset--color--base));
}
.olivia-quote-arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 767px) {
  .olivia-quote-inner { width: 94%; }
  .olivia-quote-layout { gap: 4px; }
  .olivia-quote .olivia-quote-text p { font-size: 22px; line-height: 1.5; }
  .olivia-quote .olivia-quote-author { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .olivia-quote-viewport,
  .olivia-quote-arrow { transition: none; }
}
