/* ── Shared layout ─────────────────────────────────────────────── */
.pullquote-parent {
  position: relative;
}

pulledquote {
  position: relative;
  display: block;
  width: 66%;
  min-width: calc(320px - 2rem);
  max-width: 100%;
  margin-block: 1rem;
  padding: 1rem;
  color: #000;
  background: #aaa;

  &::first-letter {
    text-transform: uppercase;
  }
}

pulledquote,
pullquote{
  & cite::before {
    content: " — ";
  }
}

/* ── Alternating positioning ───────────────────────────────────── */
pulledquote.even{
  text-align: start;
  margin-inline-start: 0;
  margin-inline-end: auto;
}

pulledquote.odd {
  margin-inline-start: auto;
  margin-inline-end: 0;
  text-align: end;
}

/* ── CKEditor preview — no layout, inline only ─────────────────── */
.ck-content pullquote,
.ck-content pulledquote {
  display: inline;
  font-size: 1em;
  margin: 0 !important;
  padding: 0.1em !important;
  position: static;
  width: auto;
  min-width: 0;
  background-color: #aaa;
  color: #000;
  & cite {
    font-size: .9em;
    display: inline;
  }
}

.ck-content pullquote cite {
  display: none;
}
