/* Kisure Sports Frontend v767 — restore article sidebar
   Scope: news article detail layout only. No gradients. Preserves FE766 solid
   visual cleanup, scorecard contrast, hero cleanup and Data Engine DE447. */
body.is-news-article-page .article-shell.article-shell--premium {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: clamp(1.25rem, 2vw, 2rem) !important;
  align-items: start !important;
  max-width: min(1320px, calc(100vw - 2rem)) !important;
  margin-inline: auto !important;
}

body.is-news-article-page .article-shell--premium > .stack-grid {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

body.is-news-article-page .article-rail.sticky-sidebar {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 360px !important;
  min-width: 0 !important;
  justify-self: end !important;
  align-self: start !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: var(--kisure-sticky-top, 118px) !important;
  height: max-content !important;
  max-height: none !important;
  overflow: visible !important;
}

body.is-news-article-page .article-rail.sticky-sidebar > * {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
}

body.is-news-article-page .article-content-card--premium {
  padding-inline: clamp(1.15rem, 2.5vw, 2.75rem) !important;
}

body.is-news-article-page .article-content-card--premium .article-prose {
  width: min(100%, 56rem) !important;
  max-width: 56rem !important;
  margin-inline: auto !important;
}

body.is-news-article-page .article-linked-data-stack,
body.is-news-article-page .article-gallery-showcase,
body.is-news-article-page .article-author,
body.is-news-article-page .article-topics-card,
body.is-news-article-page .live-blog-shell {
  max-width: 100% !important;
}

@media (max-width: 1180px) {
  body.is-news-article-page .article-shell.article-shell--premium {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: calc(100vw - 1.25rem) !important;
  }

  body.is-news-article-page .article-rail.sticky-sidebar {
    position: static !important;
    top: auto !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 760px) {
  body.is-news-article-page .article-content-card--premium {
    padding-inline: 1rem !important;
  }
}
