/* ══════════════════════════════════════════════
   AVTOSPORT.UZ — Sports.ru Inspired Dark Theme
   ══════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  /* Backgrounds */
  --bg-body: #0c0c14;
  --bg-header: rgba(12, 12, 20, 0.92);
  --bg-card: #15151f;
  --bg-card-hover: #1a1a28;
  --bg-widget: #13131d;
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-overlay: rgba(6, 6, 10, 0.88);

  /* Accent Colors */
  --accent: #e10600;
  --accent-glow: rgba(225, 6, 0, 0.35);
  --accent-green: #22c55e;
  --accent-green-dim: rgba(34, 197, 94, 0.15);
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-muted: #5b6070;
  --text-link: #e10600;

  /* Borders */
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(225, 6, 0, 0.4);

  /* Misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Typography */
  --font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.logo:hover { opacity: 0.85; }

.logo-icon {
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.logo-accent { color: var(--accent); }
.logo-tld { color: var(--text-muted); font-weight: 400; font-size: 1rem; }

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-link {
  position: relative;
  padding: 0 1rem;
  height: 56px;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); }

.nav-link.active {
  color: var(--accent-green);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent-green);
  border-radius: 1px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.header-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--bg-input);
}

.mobile-menu-btn { display: none; }

/* Language Selector */
.lang-selector {
  display: flex;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 16px;
  transition: var(--transition);
}
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* Search Bar */
.search-bar {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-card);
  border-bottom: 1px solid transparent;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.search-bar.open {
  max-height: 60px;
  border-bottom-color: var(--border);
}
.search-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.search-bar-inner svg { color: var(--text-muted); flex-shrink: 0; }
.search-bar-inner input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
}
.search-bar-inner input::placeholder { color: var(--text-muted); }
.search-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  transition: var(--transition);
}
.search-close:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════ */
.site-main {
  flex: 1;
  margin-top: 56px;
  padding: 1.5rem 0 3rem;
}

.content-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.content-layout.no-sidebar {
  grid-template-columns: 1fr;
}

.feed-column { min-width: 0; }

/* ═══════════════════════════════════════════
   FEATURED ARTICLE
   ═══════════════════════════════════════════ */
.featured-article {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}
.featured-article:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.featured-article:hover .featured-image img {
  transform: scale(1.03);
}

.featured-image {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #1a1a28;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(12, 12, 20, 0.95) 0%, rgba(12, 12, 20, 0.6) 40%, transparent 100%);
  pointer-events: none;
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.featured-meta-date { opacity: 0.7; }
.featured-badge {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.featured-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.5rem;
}
.featured-snippet {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   FEED HEADER / TABS
   ═══════════════════════════════════════════ */
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.feed-tabs {
  display: flex;
  gap: 0;
}
.feed-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.feed-tab:hover { color: var(--text-secondary); }
.feed-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-green);
}

/* ═══════════════════════════════════════════
   NEWS FEED (compact list)
   ═══════════════════════════════════════════ */
.news-feed {}

/* Group by date/source */
.feed-group {
  margin-bottom: 0.25rem;
}
.feed-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.feed-group-header .source-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-green-dim);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.feed-group-header .source-name { color: var(--text-secondary); }

/* Individual feed items */
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.feed-item:hover {
  background: linear-gradient(90deg, var(--bg-card-hover), transparent);
  padding-left: 0.5rem;
  margin-left: -0.5rem;
  border-radius: var(--radius-sm);
}

.feed-item-time {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 42px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.feed-item-body {
  flex: 1;
  min-width: 0;
}

.feed-item-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.2s;
}
.feed-item:hover .feed-item-title {
  color: var(--accent);
}

.feed-item-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.feed-item-category {
  font-weight: 600;
  color: var(--accent-green);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.feed-item-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}
.feed-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feed-item:hover .feed-item-thumb img {
  transform: scale(1.08);
}

/* ─── Load More ─── */
.load-more-wrapper {
  padding: 1.5rem 0;
  text-align: center;
}
.load-more-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 2.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.load-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(225, 6, 0, 0.06);
}

/* ─── Feed Loader ─── */
.feed-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Empty State ─── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
  color: var(--text-muted);
}
.empty-state svg { margin-bottom: 1rem; }
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}
.empty-state p { font-size: 0.9rem; max-width: 360px; }

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.sidebar-column {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.widget {
  background: var(--bg-widget);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.widget-header h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-green);
}
.widget-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-input);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

/* Standings */
.standings-section {
  padding: 0;
}
.standings-section-header {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}
.constructors-header {
  border-top: 1px solid var(--border);
}

.standings-list {}
.standings-row {
  display: flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}
.standings-row:hover { background: rgba(255, 255, 255, 0.03); }

.standings-pos {
  width: 22px;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.78rem;
  flex-shrink: 0;
}
.standings-pos.p1 { color: var(--accent-amber); }
.standings-pos.p2 { color: #c0c0c0; }
.standings-pos.p3 { color: #cd7f32; }

.standings-flag {
  font-size: 0.9rem;
  margin-right: 0.4rem;
  flex-shrink: 0;
}
.standings-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 500;
}
.standings-points {
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 0.5rem;
  font-variant-numeric: tabular-nums;
}

/* Races Widget */
.races-widget {}
.widget-header.collapsible {
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.widget-header.collapsible:hover {
  background: rgba(255, 255, 255, 0.02);
}
.collapse-icon {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 18px;
  text-align: center;
  transition: var(--transition);
}
.widget-header.collapsible.expanded .collapse-icon {
  content: '−';
}

.races-list {
  max-height: 300px;
  overflow-y: auto;
  transition: max-height 0.35s ease;
}
.races-list.collapsed {
  max-height: 0;
  overflow: hidden;
}

.race-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.race-name { color: var(--text-primary); font-weight: 500; }
.race-date { color: var(--text-muted); font-size: 0.75rem; }
.race-winner {
  font-size: 0.72rem;
  color: var(--accent-green);
  font-weight: 600;
}
.race-circuit {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   ARTICLE VIEW
   ═══════════════════════════════════════════ */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.85rem;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }

.article-full {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.75rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.article-divider { opacity: 0.3; }
.article-source-name { color: var(--text-secondary); font-weight: 600; }
.article-cat-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.article-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.75rem 1.75rem 1rem;
  color: var(--text-primary);
}

.article-hero-img {
  width: 100%;
  max-height: 440px;
  overflow: hidden;
  background: #1a1a28;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: 1.5rem 1.75rem 1.75rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-line;
}

.article-footer-info {
  padding: 0 1.75rem 1.75rem;
}
.article-original-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.original-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.original-title-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.original-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.25rem;
  transition: opacity 0.2s;
}
.original-link:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════
   ADMIN SIDEBAR
   ═══════════════════════════════════════════ */
.admin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.admin-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: #0e0e18;
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.admin-sidebar.open { right: 0; }

.admin-sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-sidebar-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  transition: var(--transition);
}
.close-btn:hover { color: var(--accent); }

.admin-sidebar-content {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  overflow-y: auto;
}
.admin-help-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.env-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--accent-green);
  font-weight: 500;
}

.sync-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.sync-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.sync-btn:active { transform: translateY(0); }
.sync-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.sync-terminal-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #0a0a12;
  overflow: hidden;
  min-height: 200px;
}
.terminal-header {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  font-family: monospace;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.terminal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition);
}
.admin-sidebar.syncing .terminal-dot {
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulse-dot 1.2s infinite alternate;
}
@keyframes pulse-dot {
  to { box-shadow: 0 0 12px var(--accent-green); opacity: 0.6; }
}

.sync-terminal {
  padding: 0.6rem 0.8rem;
  font-family: 'Cascadia Code', 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.terminal-line { line-height: 1.4; word-break: break-all; }
.terminal-line.placeholder { color: var(--text-muted); }
.terminal-line.success { color: var(--accent-green); }
.terminal-line.error { color: var(--accent); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: rgba(8, 8, 14, 0.95);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  margin-top: auto;
}
.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-column {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .standings-widget { grid-column: 1 / -1; }
  .featured-image { height: 280px; }
  .featured-title { font-size: 1.35rem; }
  .article-title { font-size: 1.6rem; }
}

@media (max-width: 700px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 199;
  }
  .main-nav.mobile-open .nav-link {
    height: auto;
    padding: 0.75rem 1.5rem;
  }
  .main-nav.mobile-open .nav-link.active::after { display: none; }

  .header-container { padding: 0 1rem; gap: 0.75rem; }
  .site-main { padding: 1rem 0 2rem; }
  .content-layout { padding: 0 1rem; gap: 1rem; }

  .sidebar-column {
    grid-template-columns: 1fr;
  }

  .featured-image { height: 220px; }
  .featured-title { font-size: 1.2rem; }
  .featured-snippet { display: none; }

  .feed-item-thumb { width: 72px; height: 50px; }

  .admin-sidebar { width: 100%; right: -100%; }

  .article-meta { flex-wrap: wrap; padding: 1rem 1.25rem 0; }
  .article-title { font-size: 1.4rem; padding: 0.5rem 1.25rem 0.75rem; }
  .article-body { padding: 1rem 1.25rem; font-size: 0.95rem; }
  .article-footer-info { padding: 0 1.25rem 1.25rem; }
}

@media (max-width: 480px) {
  .lang-selector { display: none; }
  .search-toggle { display: none; }
  .featured-content { padding: 1rem; }
  .feed-item-thumb { display: none; }
}
