/* v1.67 — broader single-post reading canvas on desktop screens only.
 * Keep the existing sidebar and Gutenberg block alignment; do not change
 * archive/category/homepage widths or the mobile layout.
 */
@media (min-width: 1101px) {
  body.single-post .wp-site-blocks main.at-post-layout.alignwide {
    box-sizing: border-box;
    width: min(calc(100% - 64px), 1600px) !important;
    max-width: 1600px !important;
    padding-inline: 20px !important;
    margin-inline: auto !important;
  }
  body.single-post .at-post-layout .at-post-columns.alignwide {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: clamp(30px, 2.8vw, 44px) !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.single-post .at-post-layout .at-post-main.wp-block-column {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  body.single-post .at-post-layout .at-post-sidebar-column.wp-block-column {
    flex: 0 0 clamp(270px, 21vw, 320px) !important;
    width: clamp(270px, 21vw, 320px) !important;
    max-width: 320px !important;
    min-width: 0 !important;
  }
  /* WordPress constrained layout defaults to 920px; enlarge it inside posts. */
  body.single-post .at-post-layout .at-article-shell,
  body.single-post .at-post-layout .at-article-shell .wp-block-post-content {
    --wp--style--global--content-size: 1120px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }
  body.single-post .at-post-layout .at-article-shell .wp-block-post-content > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) {
    max-width: min(100%, 1120px) !important;
  }
}
/* Existing tablet and phone layout remains unchanged. */
