/* WorldInSport Formatting Fix (front-end)
   Default: justify text on single posts/pages, but respect explicit Gutenberg alignment classes.
*/

body.single .entry-content,
body.page .entry-content,
body.single .wp-block-post-content,
body.page .wp-block-post-content{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

body.single .entry-content p,
body.page .entry-content p,
body.single .wp-block-post-content p,
body.page .wp-block-post-content p,
body.single .entry-content li,
body.page .entry-content li,
body.single .wp-block-post-content li,
body.page .wp-block-post-content li,
body.single .entry-content blockquote,
body.page .entry-content blockquote,
body.single .wp-block-post-content blockquote,
body.page .wp-block-post-content blockquote{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Respect explicit Gutenberg alignment choices */
.has-text-align-left { text-align: left !important; }
.has-text-align-center { text-align: center !important; }
.has-text-align-right { text-align: right !important; }
.has-text-align-justify { text-align: justify !important; }
