/* Optional reading: a compact ivory control, with the detail kept in the page. */
body main details.reading-details {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin: 24px 0;
  padding: 0;
  border: 1px solid #d8c5e1;
  border-radius: 10px;
  background: #fffdf8;
  color: #302039;
}
body main details.reading-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  margin: 0;
  padding: 14px 20px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #65378b;
  font: 500 16px/1.5 var(--sans, "Inter", Arial, sans-serif);
  letter-spacing: normal;
  list-style: none;
  cursor: pointer;
  overflow-wrap: normal;
  word-break: normal;
}
body main details.reading-details > summary::-webkit-details-marker { display: none; }
body main details.reading-details > summary::after {
  content: "+";
  position: static;
  flex: 0 0 1em;
  width: 1em;
  height: auto;
  margin: 0;
  border: 0;
  transform: none;
  text-align: center;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  color: #65378b;
}
body main details.reading-details[open] > summary::after { content: "−"; }
body main details.reading-details > summary:hover,
body main details.reading-details[open] > summary { background: #f2ebf4; }
body main details.reading-details[open] > summary { border-radius: 9px 9px 0 0; }
body main details.reading-details > summary:focus-visible {
  outline: 3px solid #65378b;
  outline-offset: 3px;
}
body main .reading-content {
  min-width: 0;
  padding: 24px;
  border-top: 1px solid #d8c5e1;
}
.reading-content > :first-child { margin-top: 0; }
.reading-content > :last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  body main details.reading-details > summary { padding: 13px 16px; gap: 14px; }
  body main .reading-content { padding: 18px 16px; }
}
@media print {
  body main details.reading-details { break-inside: auto; }
  body main details.reading-details > summary::after { content: none; }
}
