.post-text .post-attributed-quote {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  background: #f5f1e8;
  border: 1px solid #d8cdb8;
  border-inline-start: 3px solid #9a7952;
  border-radius: 4px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.post-attributed-quote cite {
  display: block;
  margin-bottom: .35rem;
  font-size: .875rem;
  font-style: normal;
  font-weight: 700;
}

.post-attributed-quote > div {
  white-space: pre-wrap;
}

.post-edit > summary > span:last-child,
.post-edit[open] > summary > span:first-child {
  display: none;
}

.post-edit[open] > summary > span:last-child {
  display: inline;
}

.post-edit[open] {
  padding: .25rem clamp(.65rem, 2vw, 1.15rem) 1rem;
  border: 2px solid #161616;
  border-radius: 5px;
  background: #fff;
}

.post-edit form > label {
  display: block;
  font-weight: 700;
}

.post-edit textarea {
  font: inherit;
  font-weight: 400;
}

.post-body:has(> .post-edit[open]) > .post-text,
.post-body:has(> .post-edit[open]) > [data-quote-author] {
  display: none;
}
