/* Article pages use the shared 70/30 desktop grid and match the footer inner edges. */
main.aura-reader[data-page-blocks] {
  --reader-ink: var(--b8-text);
  --reader-muted: var(--b8-muted);
  --reader-line: color-mix(in srgb, var(--b8-line) 80%, transparent);
  box-sizing: border-box;
  width: min(calc(100% - 2 * var(--inset, 24px)), var(--frame, 1248px));
  max-width: none;
  margin-inline: auto;
  padding: clamp(1.25rem, 3.2vw, 2.5rem) 0 3.2rem;
}
.aura-reader-trail {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  color: var(--reader-muted);
  --text-step: var(--type-small);
}
.aura-reader-trail a {color: inherit}
.aura-reader-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(10rem,33%);
  gap: clamp(1.1rem,3vw,2rem);
  align-items: center;
  margin-bottom: 1.6rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--reader-line);
}
.aura-reader-intro h1, .aura-reader-text :is(h2,h3) {
  font-family: var(--b8-title, Prata, Georgia, serif);
  font-weight: 500;
  letter-spacing: normal;
  text-wrap: pretty;
}
.aura-reader h1 {
  --text-step: var(--type-h1);
  --text-leading: 1.23;
  margin: 0;
  color: var(--b8-accent, #e7c583);
}
.aura-reader-lead {
  --text-step: var(--type-body);
  --text-leading: 1.6;
  max-width: 68ch;
  margin: .8rem 0 0;
}
.aura-reader-picture {display: contents}
.aura-reader-cover {
  display: block;
  width: auto;
  max-width: 100%;
  justify-self: center;
  max-height: 14rem;
  height: auto;
  object-fit: contain;
  border-radius: .6rem;
}
.aura-reader-date, .aura-reader-date time {
  --text-step: var(--type-small);
  color: var(--reader-muted);
}
.aura-reader-date {margin: .6rem 0 0}
.aura-reader-text,
.aura-reader-contents,
.aura-reader-return {
  width: 100%;
  max-width: 68ch;
  margin-inline: 0;
}
.aura-reader-contents {
  margin-block: 0;
  border-bottom: 1px solid var(--reader-line);
}
.aura-reader-contents summary, .aura-reader-text details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding-block: .7rem;
  cursor: pointer;
  color: var(--b8-accent, #e7c583);
  --text-step: var(--type-body);
  list-style: none;
}
.aura-reader :is(.aura-reader-contents,.aura-reader-text details) > summary::-webkit-details-marker {display: none}
.aura-reader :is(.aura-reader-contents,.aura-reader-text details) > summary::after {
  content: "";
  flex: 0 0 .46rem;
  height: .46rem;
  margin-inline-end: .35rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.aura-reader :is(.aura-reader-contents,.aura-reader-text details)[open] > summary::after {transform: rotate(225deg)}
.aura-reader-contents ul {padding-inline-start: 1.25rem; margin-block: .25rem 1.25rem}
.aura-reader-contents li {margin-block: .4rem}
.aura-reader a:hover {text-decoration: underline; text-underline-offset: .18em}
.aura-reader :is(a,button,summary):focus-visible {
  outline: 2px solid var(--b8-accent, #e7c583);
  outline-offset: 3px;
}
.aura-reader-text {
  --text-step: var(--type-body);
  --text-leading: 1.65;
  overflow-wrap: break-word;
}
.aura-reader-text h2, .aura-reader-text h3 {
  margin: 1.65em 0 .55em;
  color: var(--reader-ink);
  scroll-margin-top: 7rem;
}
.aura-reader-text p {margin: 0 0 .85em}
.aura-reader-text .am-short ul {list-style: none; padding-inline-start: 0}
.aura-reader-text > :first-child {margin-top: 0}
.aura-reader-text [id] {scroll-margin-top: 7rem}
.aura-reader-text img {display: block; max-width: 100%; height: auto}
.aura-reader-text figure {margin: 1.3rem 0}
.aura-reader-text .wp-block-table {overflow-x: auto}
.aura-reader-text table {width: 100%; border-collapse: collapse}
.aura-reader-text :is(th,td) {text-align: start; padding: .55rem .4rem; border-bottom: 1px solid var(--reader-line)}
.aura-reader-text dl {margin: 1.2rem 0}
.aura-reader-text dt {color: var(--reader-muted); margin-top: .75rem}
.aura-reader-text dd {margin: .1rem 0 0}
.aura-reader-text details {border-bottom: 1px solid var(--reader-line)}
.aura-reader-text button[data-bookmark] {
  min-height: 44px;
  padding: .45em 1em;
  color: var(--b8-text);
  background: transparent;
  border: 1px solid var(--b8-line);
  border-radius: .55rem;
  font: inherit;
  cursor: pointer;
}
.aura-reader-text button[data-bookmark]:is(:hover,[aria-pressed="true"]) {
  color: var(--b8-accent);
  border-color: currentColor;
}
.aura-reader .b8-information > [data-block="faq"] {width: 100%; max-width: none; margin: 0}
.aura-reader [data-block="faq"] h2 {scroll-margin-top: 7rem}
.aura-reader .b8-sidebar {top: 4rem}
.aura-reader-return {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--reader-line);
}
.aura-reader-return a {color: var(--b8-accent, #e7c583)}
@media (max-width: 760px) {
  main.aura-reader[data-page-blocks] {
    width: min(calc(100% - 2 * var(--inset, 16px)), var(--frame, 1248px));
    padding-top: 12px;
  }
  .aura-reader .b8-sidebar {display: none}
}
@media (max-width: 600px) {
  .aura-reader-intro {grid-template-columns: minmax(0,1fr); gap: .9rem; padding-bottom: 1.15rem}
  .aura-reader-cover {max-height: 12rem; object-position: center 40%}
  .aura-reader-trail {margin-bottom: .9rem}
}
