/* ==========================================================================
   Rich Text Display Styles

   Parchment theme overrides for rendering Action Text content in display mode.
   Lexxy provides base typography via its own lexxy-content.css; this file
   layers on our app-specific styles (font, spacing, measure, blockquotes).
   ========================================================================== */

/* ==========================================================================
   Rich Text Display - Optimized for reading DM notes
   Higher contrast, better typography for the primary content
   ========================================================================== */

.rich-text-display.rich-text-content {
  font-family: var(--font-body-content);
  font-weight: 500;
  font-size: 1.125rem;        /* 18px at base, scales with html */
  line-height: 1.75;
  color: var(--ink-dark);
  max-width: 65ch;            /* Optimal reading measure */
}

.rich-text-display.rich-text-content p {
  margin-bottom: 1.25em;
  color: inherit;             /* Override base.css grey-600 */
}

.rich-text-display.rich-text-content p:last-child {
  margin-bottom: 0;
}

/* Tighter spacing for lists in content */
.rich-text-display.rich-text-content ul,
.rich-text-display.rich-text-content ol {
  margin-bottom: 1.25em;
  padding-inline-start: 1.5em;
}

.rich-text-display.rich-text-content li {
  margin-bottom: 0.5em;
}

/* Blockquotes with better contrast */
.rich-text-display.rich-text-content blockquote {
  border-left-color: var(--parchment-500);
  color: var(--ink-medium);
  font-style: italic;
}
