/* =============================================
   كورة90 - Sports News Website
   Main Stylesheet
   ============================================= */

/* --- CSS Variables --- */
:root {
  --green-primary: #1a7a3c;
  --green-dark: #155f30;
  --green-light: #22a050;
  --green-badge: #1a7a3c;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --gray-text: #666666;
  --dark-overlay: rgba(0, 0, 0, 0.55);
  --nav-border: #e8e8e8;
  --font-ar: 'Cairo', 'Tajawal', 'Segoe UI', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  direction: rtl;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--white);
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

body > header,
body > section,
body > footer,
.matches-ticker {
  max-width: 100vw;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

button,
input {
  font: inherit;
}

h1, h2, h3, h4, h5, h6,
p, a, span, li {
  overflow-wrap: anywhere;
}

body * {
  max-width: 100%;
}

/* =============================================
   HEADER — Two-row layout
   Row 1: Logo (right) | Search (center) | Actions (left)
   Row 2: Navigation (full-width centered)
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--nav-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.site-info-bar {
  background: #0d1a0f;
  color: rgba(255,255,255,0.86);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-info-inner {
  min-height: 34px;
  padding: 6px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-info-datetime,
.site-info-people {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-info-people {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-info-bar strong {
  color: #a8f5c8;
  font-weight: 800;
}

.info-separator {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}

/* --- Top Row --- */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  gap: 20px;
}

/* --- Logo --- */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.logo-text .site-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--green-primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo-text .site-tagline {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 400;
  white-space: nowrap;
}

/* --- Search Bar (center, grows to fill space) --- */
.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
  margin: 0 auto;
  min-width: 0;
}

.header-search input {
  width: 100%;
  height: 42px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 24px;
  padding: 0 16px 0 48px;
  font-family: var(--font-ar);
  font-size: 14px;
  color: #333;
  background: var(--gray-light);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  direction: rtl;
}

.header-search input::placeholder {
  color: #aaa;
}

.header-search input:focus {
  border-color: var(--green-primary);
  background: var(--white);
}

.search-btn {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: #999;
  transition: color 0.2s;
}

.search-btn:hover {
  color: var(--green-primary);
}

.search-btn svg {
  width: 18px;
  height: 18px;
}

/* --- Header Actions (left side) --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-theme {
  background: none;
  border: 1.5px solid var(--gray-mid);
  cursor: pointer;
  padding: 8px;
  color: #555;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
  width: 38px;
  height: 38px;
  justify-content: center;
}

.btn-theme:hover {
  background: var(--gray-light);
  border-color: #ccc;
}

.btn-theme svg {
  width: 18px;
  height: 18px;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: 24px;
  padding: 9px 22px;
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--green-dark);
}

.btn-login svg {
  width: 16px;
  height: 16px;
}

/* =============================================
   NAVIGATION ROW — below top row, full width
   ============================================= */
.main-nav {
  border-top: 1px solid var(--nav-border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  display: block;
  padding: 0 22px;
  line-height: 48px;
  font-size: 15px;
  font-weight: 700;
  color: #444;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.main-nav ul li a:hover {
  color: var(--green-primary);
}

.main-nav ul li.active a {
  color: var(--green-primary);
}

.main-nav ul li.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--green-primary);
  border-radius: 3px 3px 0 0;
}

/* =============================================
   LIVE MATCHES TICKER STRIP
   ============================================= */
.matches-ticker {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #0d5a2c 0%, #1a7a3c 100%);
  height: 42px;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.25);
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 0 20px;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 6px #ff4444;
  animation: pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
  align-self: stretch;
  contain: paint;
}

/* Fade edges */
.ticker-track-wrap::before,
.ticker-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.ticker-track-wrap::before {
  right: 0;
  background: linear-gradient(to left, #1a7a3c, transparent);
}
.ticker-track-wrap::after {
  left: 0;
  background: linear-gradient(to right, #0d5a2c, transparent);
}

.ticker-track {
  position: absolute;
  inset-block: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 35s linear infinite;
  width: max-content;
  max-width: none;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-match {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.ticker-team {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.ticker-score {
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 13px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.ticker-min {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.ticker-min.live {
  color: #ffdd57;
  background: rgba(255,221,87,0.15);
  padding: 1px 8px;
  border-radius: 8px;
  font-weight: 800;
}

.ticker-sep {
  color: rgba(255,255,255,0.25);
  font-size: 18px;
  flex-shrink: 0;
}

/* =============================================
   HERO SECTION (Slider)
   ============================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #0d1a0f;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.72) 70%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.slide-1 .hero-slide-bg {
  background-image: url('https://images.unsplash.com/photo-1522778526097-ce0a22ceb253?w=1400&q=80');
}
.slide-2 .hero-slide-bg {
  background-image: url('https://images.unsplash.com/photo-1508098682722-e99c643e7f0b?w=1400&q=80');
}
.slide-3 .hero-slide-bg {
  background-image: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1400&q=80');
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 40px 60px;
  text-align: right;
  max-width: 700px;
  margin-right: 0;
  margin-left: auto;
}

.hero-badge {
  display: inline-block;
  background: var(--green-primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 480px;
  text-align: right;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-primary);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-ar);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-read-more:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-read-more svg {
  width: 16px;
  height: 16px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  color: white;
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.32);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

.slider-arrow.prev { right: 20px; }
.slider-arrow.next { left: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.slider-dot.active {
  background: var(--white);
  transform: scale(1.25);
}

/* =============================================
   LATEST NEWS SECTION
   ============================================= */
.section-latest {
  padding: 40px 40px 20px;
  background: var(--white);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  position: relative;
  padding-right: 14px;
}

.section-title::before {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--green-primary);
  border-radius: 2px;
}

.link-more {
  font-size: 14px;
  color: var(--green-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.link-more:hover {
  opacity: 0.75;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  background: #ddd;
  display: block;
}

.news-card-img-placeholder {
  width: 100%;
  height: 185px;
  background: linear-gradient(135deg, #1a7a3c22, #0d5a2c44);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-body {
  padding: 14px 14px 16px;
}

.news-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-primary);
  background: #e8f5ee;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  font-size: 12px;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =============================================
   MATCHES SECTION
   ============================================= */
.section-matches {
  padding: 30px 40px;
  background: var(--gray-light);
}

.matches-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.match-card {
  min-width: 220px;
  max-width: none;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.match-league {
  font-size: 11px;
  color: var(--gray-text);
  margin-bottom: 12px;
  font-weight: 500;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.match-team {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.team-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.team-name {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.match-score {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 22px;
  font-weight: 900;
  color: #1a1a1a;
}

.score-divider {
  font-size: 18px;
  color: #bbb;
}

.match-time {
  font-size: 12px;
  color: var(--green-primary);
  font-weight: 600;
  margin-top: 4px;
}

/* =============================================
   REPORTS SECTION
   ============================================= */
.section-reports {
  padding: 30px 40px;
  background: var(--white);
}

.reports-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.report-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 320px;
  cursor: pointer;
}

.report-featured-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.report-featured:hover .report-featured-bg {
  transform: scale(1.04);
}

.report-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.report-featured-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 22px 22px 20px;
}

.report-featured-content .news-card-cat {
  background: rgba(26, 122, 60, 0.9);
  color: white;
}

.report-featured-title {
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1.4;
  margin-top: 8px;
}

.reports-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report-side-card {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.report-side-card:hover {
  background: var(--gray-light);
}

.report-side-img {
  width: 80px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #ddd;
}

.report-side-img-placeholder {
  width: 80px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1a7a3c22, #0d5a2c44);
  flex-shrink: 0;
}

.report-side-body {
  flex: 1;
}

.report-side-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.report-side-meta {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 6px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0d1a0f;
  color: rgba(255,255,255,0.8);
  padding: 40px 40px 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text .site-name {
  color: white;
}

.footer-brand .logo-text .site-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: var(--green-light);
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   MOBILE MENU TOGGLE
   ============================================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #444;
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   NEWS PAGE
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  padding: 40px 40px 30px;
  color: white;
  margin-bottom: 32px;
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.8;
}

.news-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 40px 40px;
}

.news-page-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
}

.news-page-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-page-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #1a7a3c22, #0d5a2c44);
}

.news-page-card-body {
  padding: 18px;
  flex: 1;
}

/* =============================================
   MATCHES PAGE
   ============================================= */
.matches-page-section {
  padding: 0 40px 40px;
}

.matches-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--nav-border);
}

.match-tab {
  max-width: none;
  padding: 12px 24px;
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.match-tab.active {
  color: var(--green-primary);
}

.match-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--green-primary);
  border-radius: 3px 3px 0 0;
}

.matches-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* =============================================
   REPORTS PAGE
   ============================================= */
.reports-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 40px 40px;
}

/* =============================================
   INVESTIGATIONS PAGE
   ============================================= */
.investigations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 40px 40px;
}

.investigation-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--nav-border);
}

.investigation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.investigation-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.investigation-card-body {
  padding: 20px;
}

.investigation-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3e0;
  color: #e67e22;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.investigation-title {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 10px;
}

.investigation-excerpt {
  font-size: 13.5px;
  color: #666;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.investigation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-text);
  border-top: 1px solid var(--nav-border);
  padding-top: 12px;
}

.investigation-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.investigation-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d1a0f;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  min-height: 280px;
}

.investigation-featured-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.investigation-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.investigation-featured-body .investigation-badge {
  background: rgba(230,126,34,0.2);
  color: #f39c12;
  width: fit-content;
}

.investigation-featured-title {
  font-size: 24px;
  font-weight: 900;
  color: white;
  line-height: 1.4;
}

.investigation-featured-excerpt {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* =============================================
   HEALTH & FITNESS PAGE
   ============================================= */
.health-hero-strip {
  background: linear-gradient(135deg, #0d5a2c 0%, #1a7a3c 50%, #22a050 100%);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 0;
}

.health-hero-text h1 {
  font-size: 34px;
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
  line-height: 1.3;
}

.health-hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.health-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.health-stat-card {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.health-stat-number {
  font-size: 28px;
  font-weight: 900;
  color: #a8f5c8;
  line-height: 1;
  margin-bottom: 6px;
}

.health-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.health-cats {
  display: flex;
  gap: 10px;
  padding: 20px 40px;
  background: white;
  border-bottom: 2px solid var(--nav-border);
  overflow-x: auto;
}

.health-cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--nav-border);
  background: white;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.health-cat-btn.active,
.health-cat-btn:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: white;
}

.health-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 32px 40px 40px;
}

.health-main-articles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.health-article-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.health-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.health-article-img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  display: block;
}

.health-article-body {
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.health-article-title {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.5;
}

.health-article-excerpt {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.health-article-meta {
  font-size: 12px;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.health-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sidebar-widget-header {
  background: var(--green-primary);
  color: white;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
}

.sidebar-widget-body {
  padding: 16px;
}

.tip-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nav-border);
  align-items: flex-start;
}

.tip-item:last-child {
  border-bottom: none;
}

.tip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.tip-text {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
}

/* =============================================
   VIDEOS PAGE
   ============================================= */
.videos-featured {
  padding: 32px 40px 0;
  margin-bottom: 32px;
}

.video-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d1a0f;
  cursor: pointer;
}

.video-hero-thumb {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  opacity: 0.75;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.2s, background 0.2s;
}

.video-hero:hover .video-play-btn {
  transform: translate(-50%, -55%) scale(1.1);
  background: white;
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  color: var(--green-primary);
  margin-right: -3px;
}

.video-hero-duration {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.video-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.video-hero-cat {
  background: var(--green-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.video-hero-views {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.video-hero-title {
  font-size: 26px;
  font-weight: 900;
  color: white;
  line-height: 1.35;
}

.videos-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  padding: 0 40px;
  margin-bottom: 20px;
  position: relative;
  padding-right: 54px;
}

.videos-section-title::before {
  content: '';
  position: absolute;
  right: 40px;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--green-primary);
  border-radius: 2px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 40px 40px;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.video-card-thumb {
  position: relative;
  width: 100%;
  height: 160px;
  background: #111;
  overflow: hidden;
}

.video-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: transform 0.3s;
}

.video-card:hover .video-card-thumb-img {
  transform: scale(1.05);
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.video-card:hover .video-card-play {
  transform: translate(-50%, -50%) scale(1.12);
}

.video-card-play svg {
  width: 16px;
  height: 16px;
  color: var(--green-primary);
  margin-right: -2px;
}

.video-card-duration {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.72);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.video-card-body {
  padding: 14px;
}

.video-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  font-size: 12px;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =============================================
   ADMIN LOGIN PAGE
   ============================================= */
body.admin-body {
  background: linear-gradient(135deg, #0d1a0f 0%, #1a3a22 50%, #0d2a15 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ar);
}

.admin-login-wrap {
  width: 100%;
  max-width: 440px;
  padding: 20px;
}

.admin-login-card {
  background: white;
  border-radius: 20px;
  padding: 44px 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.admin-login-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.admin-login-logo h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--green-primary);
}

.admin-login-logo p {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 4px;
}

.admin-login-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
}

.admin-login-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green-primary);
  border-radius: 2px;
  margin: 10px auto 0;
}

.admin-form-group {
  margin-bottom: 18px;
}

.admin-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 7px;
}

.admin-form-group input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  padding: 0 14px;
  font-family: var(--font-ar);
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: rtl;
  background: #fafafa;
}

.admin-form-group input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(26,122,60,0.1);
  background: white;
}

.admin-form-group input.error {
  border-color: #e74c3c;
}

.admin-input-icon {
  position: relative;
}

.admin-input-icon input {
  padding-right: 44px;
}

.admin-input-icon .input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  display: flex;
}

.admin-input-icon .input-icon svg {
  width: 18px;
  height: 18px;
}

.admin-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}

.admin-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green-primary);
  cursor: pointer;
}

.admin-btn-submit {
  width: 100%;
  height: 48px;
  background: var(--green-primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: var(--font-ar);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.admin-btn-submit:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.admin-btn-submit:active {
  transform: translateY(0);
}

.admin-error-msg {
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #c0392b;
  margin-bottom: 18px;
  display: none;
  align-items: center;
  gap: 8px;
}

.admin-error-msg.show {
  display: flex;
}

.admin-back-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-text);
}

.admin-back-link a {
  color: var(--green-primary);
  font-weight: 600;
}

/* =============================================
   ADMIN DASHBOARD
   ============================================= */
body.admin-dash-body {
  background: #f0f2f5;
  font-family: var(--font-ar);
}

.admin-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 240px;
  height: 100vh;
  background: #0d1a0f;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-sidebar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.admin-sidebar-logo span {
  font-size: 18px;
  font-weight: 900;
  color: white;
}

.admin-nav {
  flex: 1;
  padding: 16px 0;
}

.admin-nav-section {
  padding: 8px 20px 4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  position: relative;
}

.admin-nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: white;
}

.admin-nav-item.active {
  background: rgba(26,122,60,0.3);
  color: #6ee89f;
}

.admin-nav-item.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--green-light);
  border-radius: 3px 0 0 3px;
}

.admin-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.admin-nav-badge {
  margin-right: auto;
  background: var(--green-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.admin-main {
  margin-right: 240px;
  min-height: 100vh;
}

.admin-topbar {
  background: white;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.admin-content {
  padding: 32px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stat-icon svg {
  width: 24px;
  height: 24px;
}

.admin-stat-icon.green { background: #e8f5ee; color: var(--green-primary); }
.admin-stat-icon.blue  { background: #e8f0ff; color: #2255bb; }
.admin-stat-icon.orange{ background: #fff3e0; color: #e67e22; }
.admin-stat-icon.red   { background: #fdf2f2; color: #e74c3c; }

.admin-stat-info h3 {
  font-size: 26px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
}

.admin-stat-info p {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 4px;
}

.admin-stat-change {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
}

.admin-stat-change.up { color: var(--green-primary); }
.admin-stat-change.down { color: #e74c3c; }

.admin-table-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-table-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--nav-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-table-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
}

.admin-table-actions {
  display: flex;
  gap: 10px;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-admin.primary { background: var(--green-primary); color: white; }
.btn-admin.primary:hover { background: var(--green-dark); }
.btn-admin.secondary { background: var(--gray-light); color: #444; }
.btn-admin.secondary:hover { background: var(--gray-mid); }
.btn-admin.danger { background: #fdf2f2; color: #e74c3c; }
.btn-admin.danger:hover { background: #fae0e0; }
.btn-admin svg { width: 14px; height: 14px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f8f9fa;
  padding: 12px 18px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #666;
  border-bottom: 1px solid var(--nav-border);
}

.admin-table td {
  padding: 14px 18px;
  font-size: 13.5px;
  color: #333;
  border-bottom: 1px solid var(--nav-border);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: #fafafa;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.status-badge.published { background: #e8f5ee; color: var(--green-primary); }
.status-badge.draft     { background: #fff3e0; color: #e67e22; }
.status-badge.review    { background: #e8f0ff; color: #2255bb; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 0 16px;
    height: 60px;
  }

  .header-search {
    max-width: none;
  }

  .btn-login span {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    border-top: 1px solid var(--nav-border);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }

  .main-nav ul li a {
    line-height: 1;
    padding: 14px 20px;
  }

  .main-nav ul li.active a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-content {
    padding: 20px 24px;
  }

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

  .section-latest, .section-matches, .section-reports {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .ticker-label {
    font-size: 11px;
    padding: 0 12px;
  }
}

/* =============================================
   RESPONSIVE POLISH — full-site mobile layer
   ============================================= */
@media (max-width: 1200px) {
  .main-nav ul li a {
    padding: 0 16px;
  }

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

  .reports-page-grid,
  .investigations-grid,
  .matches-full-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .site-info-inner,
  .header-top,
  .section-latest,
  .section-matches,
  .section-reports,
  .page-hero,
  .news-page-grid,
  .matches-page-section,
  .reports-page-grid,
  .investigations-grid,
  .health-hero-strip,
  .health-cats,
  .health-content-grid,
  .videos-featured,
  .videos-grid,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .videos-section-title {
    padding-left: 24px;
    padding-right: 38px;
  }

  .videos-section-title::before {
    right: 24px;
  }

  .header-top {
    gap: 14px;
  }

  .logo-text .site-name {
    font-size: 20px;
  }

  .header-search {
    max-width: 420px;
  }

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

  .health-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-info-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-info-datetime,
  .site-info-people {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }

  .header-top {
    display: grid;
    grid-template-columns: auto 1fr;
    direction: ltr;
    height: auto;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-logo {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    direction: rtl;
    max-width: 100%;
    overflow: hidden;
  }

  .header-actions {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    direction: rtl;
    z-index: 1;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin: 0;
    direction: rtl;
  }

  .header-search input {
    height: 40px;
  }

  .btn-login {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .btn-login span {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gray-mid);
    border-radius: 50%;
  }

  .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    max-height: min(72vh, 520px);
    overflow-y: auto;
    border: 1px solid var(--nav-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
  }

  .main-nav ul li a {
    line-height: 1.2;
    padding: 13px 14px;
    border-radius: 8px;
  }

  .main-nav ul li.active a {
    background: #e8f5ee;
  }

  .main-nav ul li.active a::after {
    display: none;
  }

  .matches-ticker {
    height: auto;
    min-height: 40px;
  }

  .ticker-label {
    align-self: stretch;
  }

  .ticker-match {
    padding: 0 12px;
    gap: 7px;
  }

  .hero-section {
    height: 440px;
  }

  .hero-content {
    max-width: none;
    padding: 28px 56px 46px 24px;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: 0;
  }

  .reports-grid,
  .health-hero-strip,
  .investigation-featured {
    grid-template-columns: 1fr;
  }

  .health-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-hero-thumb {
    height: 380px;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .site-info-inner,
  .header-top,
  .section-latest,
  .section-matches,
  .section-reports,
  .page-hero,
  .news-page-grid,
  .matches-page-section,
  .reports-page-grid,
  .investigations-grid,
  .health-hero-strip,
  .health-cats,
  .health-content-grid,
  .videos-featured,
  .videos-grid,
  .site-footer,
  .admin-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-info-bar {
    font-size: 11.5px;
  }

  .site-info-datetime,
  .site-info-people {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
  }

  .header-logo {
    max-width: none;
    overflow: visible;
  }

  .header-logo .logo-text {
    display: none;
  }

  .logo-text .site-name {
    font-size: 18px;
  }

  .logo-text .site-tagline {
    font-size: 10px;
  }

  .btn-theme,
  .btn-login,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .btn-theme {
    display: none;
  }

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

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

  .hero-slide-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.56) 55%, rgba(0,0,0,0.24) 100%);
  }

  .hero-content {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 72px 18px 56px;
    text-align: right;
  }

  .hero-title,
  .hero-subtitle {
    width: 100%;
    min-width: 0;
  }

  .btn-read-more {
    align-self: flex-start;
    max-width: 100%;
    white-space: normal;
  }

  .hero-badge {
    width: fit-content;
  }

  .hero-badge {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 25px;
    line-height: 1.45;
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow.prev {
    right: 10px;
  }

  .slider-arrow.next {
    left: 10px;
  }

  .section-header {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-title,
  .videos-section-title {
    font-size: 18px;
  }

  .link-more {
    font-size: 13px;
    flex-shrink: 0;
  }

  .news-grid,
  .news-page-grid,
  .reports-page-grid,
  .investigations-grid,
  .matches-full-grid,
  .videos-grid,
  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card-img,
  .news-card-img-placeholder,
  .news-page-card-img,
  .investigation-card-img {
    height: 190px;
  }

  .news-card-title,
  .video-card-title,
  .report-side-title {
    -webkit-line-clamp: 3;
  }

  .matches-scroll {
    gap: 12px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
  }

  .match-card {
    min-width: min(82vw, 280px);
    scroll-snap-align: start;
  }

  .matches-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .match-tab {
    flex: 0 0 auto;
    padding: 11px 16px;
  }

  .report-featured {
    height: 260px;
    border-radius: var(--radius-md);
  }

  .report-featured-content {
    padding: 18px;
  }

  .report-featured-title {
    font-size: 18px;
  }

  .report-side-card {
    background: var(--gray-light);
  }

  .page-hero {
    padding-top: 30px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .health-hero-strip {
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .health-hero-text h1 {
    font-size: 26px;
  }

  .health-stats {
    grid-template-columns: 1fr;
  }

  .health-content-grid {
    gap: 22px;
    padding-top: 24px;
  }

  .health-article-card {
    grid-template-columns: 1fr;
  }

  .health-article-img {
    width: 100%;
    height: 190px;
  }

  .health-article-body {
    padding: 16px;
  }

  .investigation-featured-body {
    padding: 24px 20px;
  }

  .investigation-featured-title {
    font-size: 21px;
  }

  .video-hero {
    border-radius: var(--radius-md);
  }

  .video-hero-thumb {
    height: 320px;
  }

  .video-hero-overlay {
    padding: 22px;
  }

  .video-play-btn {
    width: 58px;
    height: 58px;
  }

  .video-hero-title {
    font-size: 21px;
  }

  .videos-section-title {
    padding-left: 16px;
    padding-right: 30px;
  }

  .videos-section-title::before {
    right: 16px;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .admin-login-wrap {
    padding: 16px;
  }

  .admin-login-card {
    padding: 30px 22px 26px;
    border-radius: var(--radius-md);
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .admin-main {
    margin-right: 0;
  }

  .admin-topbar {
    height: auto;
    min-height: 58px;
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .admin-table-card {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 680px;
  }
}

@media (max-width: 420px) {
  .header-logo {
    max-width: calc(100% - 112px);
  }

  .site-info-inner {
    gap: 2px;
  }

  .site-info-datetime {
    font-size: 11px;
  }

  .site-info-people {
    font-size: 10.8px;
  }

  .logo-text .site-tagline {
    display: none;
  }

  .header-logo {
    max-width: none;
    overflow: visible;
  }

  .header-logo .logo-text {
    display: none;
  }

  .btn-theme {
    display: none;
  }

  .header-search input {
    font-size: 13px;
    padding-right: 14px;
  }

  .ticker-label {
    max-width: 132px;
    font-size: 10.5px;
  }

  .ticker-track-wrap::before,
  .ticker-track-wrap::after {
    width: 20px;
  }

  .hero-title {
    font-size: 22px;
  }

  .section-header {
    flex-direction: column;
  }

  .report-side-card {
    gap: 10px;
    padding: 8px;
  }

  .report-side-img,
  .report-side-img-placeholder {
    width: 72px;
    height: 64px;
  }

  .video-hero-thumb {
    height: 280px;
  }
}
