/*
 * Darja Rihla | Post 1410 | Pass 05 local candidate
 * Scope: body.postid-1410 only.
 * Purpose: centre the Gutenberg reading column and improve prose readability.
 * Headings, TOC, images, CTA structure and shared assets are intentionally untouched.
 */

body.postid-1410 .dr-single-content-wrap > .wp-block-post-content {
  width: min(100% - 32px, 820px);
  max-width: 820px;
  margin-inline: auto;
}

body.postid-1410 .dr-single-content-wrap > .wp-block-post-content :is(p, li) {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.0625rem, 1.1vw, 1.125rem);
  line-height: 1.75;
}

body.postid-1410 .dr-single-content-wrap > .wp-block-post-content :is(ul, ol) {
  padding-inline-start: 1.3rem;
}

body.postid-1410 .dr-single-content-wrap > .wp-block-post-content :is(img, figure, blockquote, table) {
  max-width: 100%;
}

body.postid-1410 .dr-single-content-wrap > .wp-block-post-content img {
  height: auto;
}

@media (max-width: 640px) {
  body.postid-1410 .dr-single-content-wrap > .wp-block-post-content {
    width: min(100% - 24px, 820px);
  }

  body.postid-1410 .dr-single-content-wrap > .wp-block-post-content :is(p, li) {
    font-size: 1rem;
    line-height: 1.72;
  }
}
