/* ============================================
   F1rstSports — Shared Styles
   El hogar del fútbol mexicano y los deportes de velocidad.
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg-body: #09090b;
  --bg-card: #18181b;
  --bg-card-hover: #1f1f23;
  --bg-surface: #0f0f12;
  --accent: #ccff00;
  --accent-dark: #a3cc00;
  --green-mx: #006341;
  --green-light: #00a651;
  --primary: #2563eb;
  --velocidad-orange: #ea580c;
  --chivas-red: #d50a0a;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-secondary: #71717a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --font-head: 'Chakra Petch', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --header-height: 70px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.15;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-card);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding-top: var(--header-height);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo .brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.site-logo .brand-text .accent {
  color: var(--accent);
}

/* Desktop Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.main-nav button {
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav button:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a.active,
.main-nav button.active {
  color: var(--bg-body);
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-search {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}

.btn-search:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

/* Hamburger Button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1999;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
}

.mobile-menu a i {
  width: 24px;
  text-align: center;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-body) 0%, rgba(9, 9, 11, 0.6) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.section-header .bar {
  width: 4px;
  height: 32px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-header .bar.green {
  background: var(--green-mx);
}

.section-header .bar.orange {
  background: var(--velocidad-orange);
}

.section-header .bar.blue {
  background: var(--primary);
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.section-header .subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-links a {
  padding: 6px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.section-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(204, 255, 0, 0.05);
}

/* ---------- QUICK ACCESS CARDS ---------- */
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.quick-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.quick-card .icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 255, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.quick-card .icon-box.green {
  background: rgba(0, 99, 65, 0.2);
  color: var(--green-light);
}

.quick-card .icon-box.orange {
  background: rgba(234, 88, 12, 0.15);
  color: var(--velocidad-orange);
}

.quick-card .icon-box.blue {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}

.quick-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.quick-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- NEWS CARDS ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.news-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.news-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  border-color: rgba(204, 255, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card .card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .card-image img {
  transform: scale(1.06);
}

.news-card .card-image .category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  color: white;
  background: var(--accent);
  color: var(--bg-body);
}

.news-card .card-image .category-badge.green {
  background: var(--green-mx);
  color: white;
}

.news-card .card-image .category-badge.orange {
  background: var(--velocidad-orange);
  color: white;
}

.news-card .card-image .category-badge.blue {
  background: var(--primary);
  color: white;
}

.news-card .card-image .category-badge.red {
  background: var(--chivas-red);
  color: white;
}

.news-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card .card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-body .excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.news-card .card-meta .read-more {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* Featured card (large) */
.news-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 380px;
}

.news-card-featured .card-image {
  width: 55%;
  height: auto;
  min-height: 380px;
}

.news-card-featured .card-body {
  padding: 30px;
  justify-content: center;
}

.news-card-featured .card-body h3 {
  font-size: 1.6rem;
  -webkit-line-clamp: 4;
}

.news-card-featured .card-body .excerpt {
  font-size: 0.95rem;
  -webkit-line-clamp: 3;
}

/* Card without image */
.news-card.no-image .card-image {
  display: none;
}

.news-card.no-image .card-body {
  padding: 24px;
}

/* ---------- SCOREBOARD / MATCH CARD ---------- */
.scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 30px;
}

.team-score {
  text-align: center;
}

.team-score img {
  height: 50px;
  margin-bottom: 8px;
}

.team-score span {
  display: block;
  font-family: var(--font-head);
  font-weight: bold;
  font-size: 0.9rem;
}

.score-nums {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}

.status-tag {
  background: var(--velocidad-orange);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* ---------- TABLES ---------- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table thead {
  background: rgba(255, 255, 255, 0.04);
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.data-table th.accent {
  color: var(--accent);
}

.data-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table tbody tr {
  transition: background var(--transition);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.data-table .highlight-row {
  background: rgba(204, 255, 0, 0.03);
}

.data-table .rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.data-table .rank-badge.accent {
  background: var(--accent);
  color: var(--bg-body);
}

.data-table .rank-badge.muted {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ---------- ARTICLE PAGE ---------- */
.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-page .category-tag {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.article-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.article-share {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.share-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.article-featured-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.article-image-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 30px;
  font-style: italic;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d4d4d8;
  margin-bottom: 22px;
  text-align: justify;
}

.article-body h2,
.article-body h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text-main);
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  text-transform: uppercase;
}

.article-body strong {
  color: var(--accent);
}

.article-body img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
}

.article-body .highlight-box {
  background: var(--bg-surface);
  border: 1px solid var(--accent);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 30px 0;
}

.article-body .highlight-box h4 {
  margin-top: 0;
  color: var(--accent);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1rem;
}

.article-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--bg-body);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.article-back-btn:hover {
  background: var(--text-main);
  color: var(--bg-body);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 48px 20px 24px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.footer-brand .brand-text .accent {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(204, 255, 0, 0.08);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ---------- UTILITY ---------- */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green-light); }
.text-orange { color: var(--velocidad-orange); }

.bg-card { background: var(--bg-card); }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

.section-spacing {
  padding: 48px 0;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 0;
}

/* Tag filters */
.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tag {
  padding: 6px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
  color: var(--bg-body);
  background: var(--accent);
  border-color: var(--accent);
}

/* Demo data badge */
.demo-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(234, 88, 12, 0.15);
  color: var(--velocidad-orange);
  border-radius: 3px;
  margin-left: 8px;
}

/* API placeholder comment in code */
/* TODO: Connect to sports API for live data */

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .main-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero-section {
    min-height: 550px;
  }

  .hero-content {
    padding: 60px 32px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-page h1 {
    font-size: 2.8rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-section {
    min-height: 600px;
  }

  .article-page h1 {
    font-size: 3rem;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  :root {
    --max-width: 1320px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }

  .site-logo .brand-text {
    font-size: 1.2rem;
  }

  .hero-section {
    min-height: 420px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-featured {
    flex-direction: column;
  }

  .news-card-featured .card-image {
    width: 100%;
    min-height: 220px;
  }

  .news-card-featured .card-body h3 {
    font-size: 1.2rem;
  }

  .quick-access-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .article-page h1 {
    font-size: 1.8rem;
  }

  .article-page {
    padding: 24px 16px;
  }

  .scoreboard {
    flex-direction: row;
    gap: 12px;
    padding: 16px;
  }

  .score-nums {
    font-size: 2.2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .data-table {
    font-size: 0.78rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }

  .section-links {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .section-links a {
    flex-shrink: 0;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .news-card .card-image {
    height: 180px;
  }
}
