/* v0.20.135 | Soccer 411 editorial reading comfort, all single-post articles.
   Expand the content canvas without stretching prose line length too far.
   Covers both standard editorial posts and long-form Football IQ stories. */
body.single-post .dm-article-wrap {
  width:min(100%, 1120px);
  max-width:1120px;
  box-sizing:border-box;
  margin:clamp(20px,3.5vw,44px) auto 50px;
  padding-inline:0;
}
body.single-post .dm-article-wrap > .dm-article {
  width:100%;
  max-width:none;
  min-width:0;
  box-sizing:border-box;
  padding:clamp(24px,3.2vw,42px) clamp(18px,4vw,52px);
}
body.single-post .dm-article-wrap .dm-prose {
  width:100%; max-width:860px; min-width:0;
  margin-inline:auto;
  box-sizing:border-box;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:clamp(16px,1.5vw,18px);
  line-height:1.8;
}
body.single-post .dm-article-wrap .dm-prose > p,
body.single-post .dm-article-wrap .dm-prose > h2,
body.single-post .dm-article-wrap .dm-prose > h3,
body.single-post .dm-article-wrap .dm-prose > ul,
body.single-post .dm-article-wrap .dm-prose > ol,
body.single-post .dm-article-wrap .dm-prose > blockquote {max-width:780px; margin-inline:auto;}
body.single-post .dm-article-wrap .dm-prose p {margin-block:0 1.4em;line-height:1.8;}
body.single-post .dm-article-wrap .dm-prose h2 {margin-block:2em .65em;line-height:1.25;}
body.single-post .dm-article-wrap .dm-prose h3 {margin-block:1.65em .6em;line-height:1.3;}
body.single-post .dm-article-wrap .dm-prose ul,
body.single-post .dm-article-wrap .dm-prose ol {padding-inline-start:1.5em;margin-block:1em 1.65em;}
body.single-post .dm-article-wrap .dm-prose li {padding-inline-start:.25em;margin-block:.4em;}
body.single-post .dm-article-wrap .dm-prose .dm-article-native-match,
body.single-post .dm-article-wrap .dm-prose .s411-ed-native-match,
body.single-post .dm-article-wrap .dm-prose .s411-ed-h2h,
body.single-post .dm-article-wrap .dm-prose .s411-ed-chart,
body.single-post .dm-article-wrap .dm-prose .s411-editorial-insight {max-width:100%; width:100%; box-sizing:border-box;}
body.single-post .dm-article-wrap .dm-prose .s411-ed-h2h + .s411-ed-h2h {margin-top:16px;}
/* Preserve special custom xG article architecture, improving only its mobile padding. */
@media(max-width:720px){
 body.single-post .dm-article-wrap{padding-inline:0;margin-top:0;}
 body.single-post .dm-article-wrap > .dm-article {padding:22px 18px;}
 body.single-post .dm-article-wrap .dm-prose,
 body.single-post .dm-article-wrap .dm-prose--editorial {width:100%;padding:22px 0;max-width:100%;}
 body.single-post .dm-article-wrap .dm-prose > p,
 body.single-post .dm-article-wrap .dm-prose > h2,
 body.single-post .dm-article-wrap .dm-prose > h3 {max-width:none;}
 body.single-post .dm-article-wrap .dm-prose {font-size:16.5px;line-height:1.75;}
 body.single-post .dm-article-wrap .dm-prose h2 {font-size:clamp(23px,6vw,29px);}
}

/* v0.20.137: Correct the ACTUAL marked gap between the article border
   and the start/end of the paragraph text. The v0.20.136 shell-width
   change targeted the wrong element and is intentionally excluded. */
@media (min-width:721px) {
  body.single-post .dm-article-wrap > .dm-article {
    padding-left:16px !important;
    padding-right:16px !important;
  }
  body.single-post .dm-article-wrap > .dm-article > .dm-prose:not(.dm-prose--xg) {
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  body.single-post .dm-article-wrap > .dm-article > .dm-prose:not(.dm-prose--xg) > :is(p,h2,h3,ul,ol,blockquote) {
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}
@media (max-width:720px) {
  body.single-post .dm-article-wrap > .dm-article { padding-left:12px !important; padding-right:12px !important; }
  body.single-post .dm-article-wrap > .dm-article > .dm-prose:not(.dm-prose--xg) {
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  body.single-post .dm-article-wrap > .dm-article > .dm-prose:not(.dm-prose--xg) > :is(p,h2,h3,ul,ol,blockquote) {
    max-width:none !important;
  }
}

/* v0.20.138: REGRESSION GUARD — article-to-sidebar gutters.
   The outer article wrapper MUST NOT re-add horizontal padding: the shell
   owns the gutters. Earlier v0.20.135 set up to 34px here, leaving the
   visible 30px+ space despite a 4px grid gap. Applied last to outrank
   both generic .dm-article-wrap and original reading comfort rules.
   Preserve the interior article padding and responsive mobile canvas. */
@media (min-width:1101px) {
  body.single-post.s411-universal-active .s411-universal-content > .dm-article-wrap {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 48px!important;
    padding:0!important;
  }
  body.single-post.s411-universal-active .s411-universal-shell {
    column-gap:4px!important;
  }
}
@media (min-width:721px) and (max-width:1100px) {
  body.single-post.s411-universal-active .s411-universal-content > .dm-article-wrap {
    max-width:100%!important;
    margin:0 0 48px!important;
    padding-inline:0!important;
  }
}
