.sidebar-rail { min-width: 0; }
.sports-gallery-rail, .sports-gallery-list { display: grid; gap: 1rem; }
.sports-gallery-rail { margin-top: 1.2rem; }
.sports-gallery-rail__heading { margin: 0; padding: .72rem .85rem; color: #fff; background: #172117; border-top: 4px solid #f6c400; font-size: 1.05rem; line-height: 1.15; text-align: center; }
.sports-gallery-card { overflow: hidden; background: #fffdf8; border: 1px solid rgba(42,68,85,.22); border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,.075); }
.sports-gallery-card a { display: block !important; position: relative; color: inherit; text-decoration: none; }
.sports-gallery-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sports-gallery-card__count { position: absolute; top: .7rem; right: .7rem; z-index: 1; padding: .38rem .58rem; color: #fff; background: rgba(23,33,23,.92); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); font: 900 .75rem/1 system-ui,sans-serif; }
.sports-gallery-card__copy { padding: .72rem .8rem .8rem; }
.sports-gallery-card__label { display: inline-block; margin-bottom: .38rem; padding: .22rem .42rem; color: #111; background: #f6c400; border-radius: 3px; font: 800 .68rem/1 system-ui,sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.sports-gallery-card h3 { margin: 0; color: #172117; font-size: 1rem; line-height: 1.2; }
.sports-gallery-card__cta { display: block; margin-top: .55rem; color: #8a6500; font: 800 .78rem/1.2 system-ui,sans-serif; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width:700px) {
  .content-columns > .sidebar-rail { grid-column: 2 !important; display: grid !important; align-content: start; width: 100%; min-width: 0; }
  .content-columns > .sidebar-rail > .sidebar-ads { display: grid !important; grid-template-columns: 1fr !important; margin: 0 !important; }
}
@media (max-width:699px) {
  .content-columns > .sidebar-rail { display: none; }
  .content-columns, .content-columns > .articles-col, .content-columns > .articles-col > .news-grid { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .content-columns > .articles-col > .news-grid { grid-template-columns: minmax(0,1fr) !important; overflow: hidden !important; }
  .content-columns > .articles-col > .news-grid > article, .content-columns > .articles-col > .news-grid > .grid-ad { width: auto !important; max-width: 100% !important; min-width: 0 !important; grid-row-end: auto !important; box-sizing: border-box !important; }
  .content-columns > .articles-col > .news-grid > .grid-ad, .content-columns > .articles-col > .news-grid > .grid-ad > *, .content-columns > .articles-col > .news-grid > .grid-ad a, .content-columns > .articles-col > .news-grid > .grid-ad img { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .content-columns > .articles-col > .news-grid > .grid-ad img { display: block !important; height: auto !important; }
  .grid-ad.grid-gallery-card { overflow: visible !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
}
.scoreboard-content-columns > .sidebar-rail { min-width: 0; }
@media (min-width:981px) { .scoreboard-content-columns > .sidebar-rail { grid-column: 2; grid-row: 1; } }
@media (max-width:980px) { .scoreboard-content-columns > .sidebar-rail { grid-row: 2; } }
