/*
 * Daily reader typography — the theme-side half of deviation D-001.
 *
 * The baseline's readings carry `style="text-align: center; color: black;"`
 * on two elements: the heading and the `***` separator. Those attributes are
 * stripped on import so a general user editing a reading in the block editor
 * does not have to work around them, and presentation moves here.
 *
 * ONLY the centring is restored. The forced `color: black` is not, and that
 * omission is the visible half of the deviation: headings render in the
 * sunrise skin's own text colour instead. rdr-005 asks for exactly that.
 *
 * WHY THIS FILE IS NOT IN THE THEME. `make css-diff` requires
 * theme/mad6/src/sass to be byte-identical to the baseline's _sass tree — a
 * new file there fails as "only in the theme". It is also not injected with
 * wp_add_inline_style, because compare.mjs's headSignature compares every
 * <style> element in <head> verbatim and skips link[rel=stylesheet]: a linked
 * file is invisible to Tier A, an inline one is a difference on every page.
 *
 * WHY THE SEPARATOR IS ADDRESSED BY POSITION. It is a bare `<p>***</p>` with
 * nothing to select on, and a class cannot be added: compare.mjs's `skeleton`
 * puts an element's classList in its signature, so a class the baseline does
 * not have is a Tier A difference, and D-001's scope limit rules out
 * restructuring the markup anyway. Position is safe because it was measured
 * rather than assumed: across all 366 entries the separator is the SECOND
 * top-level paragraph, every time (the first is the quotation). The heading's
 * own `<p>` is inside the `<h1>`, so it is not a sibling and does not count.
 */

#daily-reading h1 {
  text-align: center;
}

#daily-reading > p:nth-of-type(2) {
  text-align: center;
}
