/* Quote widget. Tokens from _shared/embed.css. PX.fit scales the figure (wrap mode). */

.qt-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.qt {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0;
  padding: 0 4%;
  line-height: 1.3;
  white-space: normal;
}

.qt--center {
  align-items: center;
  text-align: center;
}

.qt--left {
  align-items: flex-start;
  text-align: left;
}

.qt-mark {
  height: 0.62em;
  margin-bottom: 0.05em;
  font-family: var(--font-serif);
  font-size: 2.6em;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
}

:root[data-style="neon"] .qt-mark {
  text-shadow: var(--big-shadow);
}

.qt-text {
  margin: 0;
  color: var(--fg);
  font-weight: 560;
  letter-spacing: var(--tracking);
  text-wrap: balance;
}

:root[data-style="paper"] .qt-text {
  font-style: italic;
  font-weight: 500;
}

:root[data-style="neon"] .qt-text {
  color: var(--big);
  text-shadow: var(--big-shadow);
}

.qt-author {
  margin-top: 0.55em;
  font-size: 0.68em;
  font-weight: 600;
  font-style: normal;
}

.qt-shuffle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  min-width: 26px;
  min-height: 26px;
  padding: 0;
  font-size: 14px;
  opacity: 0.55;
}

.qt-shuffle:hover,
.qt-shuffle:focus-visible {
  opacity: 1;
}
