/* Only the standalone Secret Stenographer chapter includes this file. */
#anna-audio > .stenographer-image-caption {
  margin: 1rem auto 0;
  text-align: center;
}
body #main-content .anna-compact-reader #anna-audio > .audio-clip {
  margin: 1rem auto !important;
  padding: clamp(1rem, 4.7vw, 1.5rem) clamp(.875rem, 3.6vw, 1.5rem);
  background: #fcf8f5;
  color: #412632;
}
body #main-content .anna-compact-reader #anna-audio > .audio-clip:nth-of-type(odd) {
  background: #4b2937;
  color: #fffaf7;
}
#anna-audio > .audio-clip:nth-of-type(n) a {
  color: #0645ad;
}
#anna-audio > .audio-clip:nth-of-type(odd) a {
  color: #f6cad7;
}

/* Keep the chapter's colored panels and remove their framing. */
body #main-content .anna-compact-reader :is(
  .aol-chapter-tile, .aol-chapter-tile > summary, .audio-clip,
  .ohio-recording-card__kicker, .ohio-recording-card__note,
  .anna-photo-section, .anna-writing-section, .anna-section-footer
) {
  border: 0;
  box-shadow: none;
}

body > #main-content {
  padding-block: 1rem;
  min-height: 0;
}

#anna-audio > .stenographer-image-caption {
  font: 700 var(--tile-title-size)/1.16 Georgia, serif;
  text-wrap: balance;
}

body #main-content .anna-compact-reader #anna-audio > .audio-clip:nth-of-type(even) {
  border: 2px solid var(--tile-wine, #703d4f);
  border-radius: .65rem;
}

/* Match the homepage's compact spacing at the header and footer. */
body > #main-content {
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
body #main-content .anna-compact-reader .aol-chapter-expanded {
  padding-block: 1rem 0;
}
body #main-content .anna-compact-reader #anna-audio > .audio-clip:last-of-type {
  margin-block-end: 0 !important;
}
body #main-content .anna-compact-reader .anna-section-footer {
  margin-block: 1rem 0;
  padding-block: 0;
}

#anna-audio > .anna-editor-toolbar[hidden],
#anna-audio > .anna-photo-section[hidden],
#anna-audio > .anna-writing-optional:has([data-anna-writing][hidden]) {
  display: none !important;
}

body #main-content .anna-compact-reader #anna-audio {
  margin-block: 0 !important;
}
body #main-content .anna-compact-reader #anna-audio > .anna-section-footer {
  margin: 1rem 0 0;
  padding: 0;
}
#anna-audio > .anna-photo-section:has([data-anna-photo-grid]:empty),
#anna-audio > .anna-writing-optional:has([data-anna-writing]:empty) {
  display: none !important;
}

#anna-audio > .ohio-recording-card {
  border: 2px solid var(--tile-wine, #703d4f);
  border-radius: .65rem;
  box-shadow: none;
}
