/*
Theme Name: Sportstar News
Theme URI: https://sportstar.news
Author: Whiril Media Inc
Author URI: https://whiril.com
Description: Refined light-first editorial sports newsroom WordPress theme for Sportstar.news. Features a high-contrast light editorial palette, WCAG AA compliant dark navy footer, native WordPress Customizer logo and Site Icon support, 3-layer header with responsive scoreboard ticker and accessible mobile drawer, fluid clamp() typography, 12-column responsive grid, and Core Web Vitals optimization.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sportstar-news
Tags: news, sports, editorial, two-columns, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* Base Reset & Accessibility */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--ss-font-sans);
  font-size: var(--ss-text-base);
  line-height: 1.65;
  color: var(--ss-text-primary);
  background-color: var(--ss-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--ss-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ss-accent);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  padding: 0.75rem 1.1rem;
  background: var(--ss-bg-header-top);
  color: #ffffff;
  font-weight: 700;
  z-index: 9999;
  left: 0.75rem;
  top: 0.75rem;
  border-radius: var(--ss-radius-sm);
}

.ss-container {
  width: 100%;
  max-width: var(--ss-container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
}

/* 12-Column Responsive Grid */
.ss-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.ss-col-12 { grid-column: span 12; min-width: 0; }
.ss-col-8  { grid-column: span 8;  min-width: 0; }
.ss-col-6  { grid-column: span 6;  min-width: 0; }
.ss-col-4  { grid-column: span 4;  min-width: 0; }
.ss-col-3  { grid-column: span 3;  min-width: 0; }

@media (max-width: 1024px) {
  .ss-col-8,
  .ss-col-4 {
    grid-column: span 12;
  }
  .ss-col-3 {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .ss-col-6,
  .ss-col-3 {
    grid-column: span 12;
  }
}
