/* SerieAGoal 2.34 - Flat card surfaces in LIGHT mode only.
 * Keep borders, rounded corners, backgrounds, position:sticky, interaction
 * states and all night-mode elevation untouched.
 * This file is loaded last in the common public page head, after all
 * classic/three-column responsive styles. */

html[data-sg-theme="light"] body.sg-body {
  --sg-shadow: none;
  --slr-shadow: none;
}

/* Main card system across pages: fixtures, clubs, players, competitions,
 * articles, rail modules, predictions and editorial sections.
 * Scope to card surfaces to retain popovers, notifications and search overlays. */
html[data-sg-theme="light"] body.sg-body :is(
  .sg-card,
  .sgw-raised,
  .sg-sidebar-featured,
  .sg-sidebar.sg-sidebar-competition-only,
  .sg-sidebar-league > a,
  .sg-right-rail-card,
  .sg-article-card,
  .sg-network-original-card,
  .sg-article-author-box,
  .sg219-card,
  .sg220-card,
  .sg-date-card,
  .sg-competition-card,
  .sg-team-tile,
  .sg-player-card
) {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* The large grey band in the provided screenshot is made by the explicit
 * shadows on the three-column rail's raised modules. Those rules use
 * !important in earlier styles, so a light-mode-only override is required. */
html[data-sg-theme="light"] body.sg-body.sgw-editorial-mode :is(
  .sg-sidebar .sgw-raised,
  .sg-sidebar .sg-sidebar-featured,
  .sgw-right-rail .sgw-raised,
  .sg-main .sg110-verdict-card,
  .sg-main #sg110-premium-analysis.sg-ai-premium-panel
) {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* The surrounding sidebar must not paint a separate elevated slab behind
 * consecutive cards. Retain existing spacing, borders and sticky behavior. */
html[data-sg-theme="light"] body.sg-body.sgw-editorial-mode .sg-shell > .sg-sidebar.sg-sidebar-competition-only {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
