/* Auto Justify Posts - Styles */
/* This stylesheet justifies paragraph text on single blog posts without affecting admin screens. */

/* Apply to common theme structures and Gutenberg paragraphs on single posts */
body.single-post .entry-content p,
body.single-post .post-content p,
body.single-post p.wp-block-paragraph,
body.single-post .wp-block-group p,
body.single-post .content p {
  text-align: justify;
  text-justify: inter-word;
}

/* Avoid justifying elements where it commonly hurts readability */
body.single-post .entry-content pre,
body.single-post .entry-content code,
body.single-post .entry-content kbd,
body.single-post .entry-content samp,
body.single-post .entry-content figcaption,
body.single-post .entry-content table {
  text-align: initial;
  text-justify: auto;
}
