/* v1.78 — Consistent reading column for single posts.
   Gutenberg's 920px constrained children and plugin widgets with margin:0 / max-width:800px
   previously produced different left edges. These rules only align outer block wrappers;
   inner layouts, images, and mobile stacking remain controlled by their own components. */
body.single-post .at-post-layout .at-post-main,
body.single-post .at-post-layout .at-post-main .at-article-shell,
body.single-post .at-post-layout .at-post-main .wp-block-post-content {
  min-width: 0;
  box-sizing: border-box;
}
body.single-post .at-post-layout .at-post-main .at-article-shell > .wp-block-post-content {
  --wp--style--global--content-size: 1120px;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}
/* Give all unaligned article blocks one consistent left/right edge. */
body.single-post .at-post-layout .at-post-main .wp-block-post-content > :where(:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright)) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: min(100%, 1120px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Plugin wrappers may be inserted with a hard-coded width or margin. */
body.single-post .at-post-layout .at-post-main .wp-block-post-content :is(.atq-toc,.atinfo-strip,.atpr,.at-article-tip,.at-tip-box) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Keep floating/wide media intentional while eliminating accidental horizontal offsets. */
body.single-post .at-post-layout .at-post-main .wp-block-post-content > :is(.alignwide,.alignfull) {
  box-sizing: border-box;
  max-width: 100% !important;
  margin-inline: auto !important;
}
body.single-post .at-post-layout .at-post-main .wp-block-post-content :is(.atq-toc,.atinfo-strip,.atpr,.at-article-tip) {
  clear: both;
}
@media (max-width: 767px) {
  body.single-post .at-post-layout .at-post-main .wp-block-post-content > :where(:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright)) {
    max-width: 100% !important;
  }
}
