/* SerieAGoal v1.73 — two more generous football sidebars.
   Only body.sgw-editorial-mode; NOT billing, performance, legal, account or news.
   Preserve the central column's min-content width and sticky AdSense. */
@media (min-width:1241px) {
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-shell:not(.sg-account-shell) {
    max-width:1600px!important;
    grid-template-columns:clamp(240px,15.8vw,260px) minmax(0,1fr)!important;
    column-gap:20px!important;
    padding:18px 20px 36px!important;
    box-sizing:border-box!important;
    width:100%!important;
    margin-inline:auto!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode:is(.sg-page-pronostici,.sg-page-fantacalcio) .sg-shell:not(.sg-account-shell) {
    grid-template-columns:clamp(240px,15.8vw,260px) minmax(0,1fr)!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-content-grid:has(>.sgw-right-rail) {
    grid-template-columns:minmax(0,1fr) clamp(325px,20.8vw,350px)!important;
    column-gap:20px!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode :is(.sg-topbar-inner,.sg-sportbar-inner) {
    max-width:1600px!important;
    padding-inline:20px!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode :is(.sg-main,.sg-content-grid,.sg-feed,.sgw-right-rail,.sg-sidebar) {
    min-width:0!important;
  }
}
/* On 1241–1380px do not sacrifice fixtures, markets, tables and formations
   merely to keep the sidebar dimensions of a large desktop. */
@media (min-width:1241px) and (max-width:1380px) {
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-shell:not(.sg-account-shell),
  html[data-sg-theme] body.sg-body.sgw-editorial-mode:is(.sg-page-pronostici,.sg-page-fantacalcio) .sg-shell:not(.sg-account-shell) {
    grid-template-columns:210px minmax(0,1fr)!important;
    column-gap:14px!important;
    padding-inline:14px!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-content-grid:has(>.sgw-right-rail) {
    grid-template-columns:minmax(0,1fr) 292px!important;
    column-gap:14px!important;
  }
}
@media (min-width:1241px) {
  /* Sidebar live: reading comfort, not zoom. */
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-sidebar .sgw-raised,
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-right-rail .sgw-raised {
    padding:20px 18px!important;
    border-radius:19px!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-sidebar .sg-sidebar-featured {
    padding:16px 14px!important;
    border-radius:19px!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-module-heading strong {font-size:14px!important;line-height:1.4!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-live-team {
    grid-template-columns:28px minmax(0,1fr) auto!important;
    gap:10px!important;
    padding-block:9px!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-live-team img{width:28px!important;height:28px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-live-team b{font-size:13px!important;line-height:1.4!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-live-team strong{font-size:17px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-live-match>small{font-size:11.5px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-live-footer{font-size:11px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-small-link{font-size:12px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-sidebar .sg-sidebar-competition-link {
    font-size:12.5px!important;
    min-height:40px!important;
    gap:10px!important;
    line-height:1.3!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-sidebar .sg-sidebar-featured-list .sg-sidebar-competition-link {
    font-size:12.5px!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-sidebar .sg-sidebar-country>summary strong{font-size:12px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sg-sidebar .sg-sidebar-country-list .sg-sidebar-competition-link{font-size:11.5px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-free-match {
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:14px!important;
  }
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-gauge{width:104px!important;height:104px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-gauge>span{font-size:25px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-free-copy strong{font-size:13.5px!important;line-height:1.45!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-free-copy small,
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-free-copy span{font-size:11.5px!important;line-height:1.5!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode [data-sgw-winners] li strong{font-size:12.3px!important;line-height:1.45!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode [data-sgw-winners] li small{font-size:11px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode [data-sgw-winners] li em{font-size:10.8px!important}
}
@media (min-width:1241px) and (max-width:1380px) {
  /* Protect text and the probability ring on narrower desktops. */
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-free-match{grid-template-columns:92px minmax(0,1fr)!important;gap:9px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-gauge{width:92px!important;height:92px!important}
  html[data-sg-theme] body.sg-body.sgw-editorial-mode .sgw-right-rail .sgw-raised{padding-inline:14px!important}
}
