    :root {
      --primary: #b91c1c;
      --primary-dark: #991b1b;
      --secondary: #111827;
      --accent: #fbbf24;
      --dark: #111827;
      --header-bg: #ffffff;
      --header-text: #111827;
      --nav-bg: #b91c1c;
      --nav-text: #ffffff;
      --topbar-bg: #111827;
      --topbar-text: #ffffff;
      --footer-bg: #111827;
      --footer-text: #ffffff;
      --body-bg: #ffffff;
      --card-bg: #ffffff;
      --text-color: #374151;
      --heading-color: #111827;
      --link-color: #b91c1c;
      --border-color: #e5e7eb;
      --category-badge-bg: #b91c1c;
      --category-badge-text: #ffffff;
      --breaking-news-bg: #111827;
      --breaking-news-text: #ffffff;
      --gray-900: #111827;
      --gray-800: #1f2937;
      --gray-700: #374151;
      --gray-600: #4b5563;
      --gray-500: #6b7280;
      --gray-400: #9ca3af;
      --gray-300: #d1d5db;
      --gray-200: #e5e7eb;
      --gray-100: #f3f4f6;
      --white: #ffffff;
    }
    
    * { margin: 0; padding: 0; box-sizing: border-box; }
    
    html {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, 'Geeza Pro', 'Simplified Arabic', Arial, sans-serif;
      background: var(--body-bg);
      color: var(--text-color);
      line-height: 2.1;
      font-size: 18px;
      min-width: 320px;
      letter-spacing: 0;
      font-weight: 500;
      word-spacing: 0.05em;
      -webkit-text-stroke: 0.2px;
      -webkit-overflow-scrolling: touch;
    }
    
    h1, h2, h3, h4, h5, h6 {
      color: var(--heading-color);
      font-weight: 700;
      letter-spacing: 0;
      word-spacing: 0.02em;
      line-height: 1.6;
    }
    
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 19px; }
    h4 { font-size: 17px; }
    
    p {
      letter-spacing: 0;
      word-spacing: 0.05em;
      line-height: 2.2;
      font-weight: 400;
    }
    
    /* Override heading colors for overlay cards (should stay white) */
    .hero-card-overlay h1,
    .hero-card-overlay h2,
    .hero-card-overlay h3,
    .hero-card-overlay h4,
    .hero-card-title,
    .article-card-overlay h3,
    .article-card-overlay h4 {
      color: #ffffff !important;
    }
    
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; display: block; }
    
    /* ========== TOP BAR ========== */
    .top-bar {
      background: var(--topbar-bg);
      color: var(--topbar-text);
      font-size: 12px;
      padding: 8px 0;
    }
    .top-bar-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .top-bar-date { display: flex; align-items: center; gap: 8px; }
    .top-bar-links { display: flex; gap: 16px; }
    .top-bar-links a { color: var(--gray-400); transition: color 0.2s; }
    .top-bar-links a:hover { color: var(--white); }
    .social-icons { display: flex; gap: 10px; }
    .social-icons a {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--gray-800);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gray-400);
      font-size: 12px;
      transition: all 0.2s;
    }
    .social-icons a:hover { background: var(--primary); color: var(--white); }
    
    @media (max-width: 768px) {
      .top-bar { display: none; }
    }
    
    /* ========== UNIFIED HEADER (ERm News Style) ========== */
    .header {
      background: var(--header-bg);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 3px solid var(--primary);
    }
    .header-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 56px;
    }
    
    /* Logo */
    .logo {
      font-size: 28px;
      font-weight: 900;
      color: var(--primary);
      letter-spacing: -1px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .logo span { color: var(--header-text); }
    .logo-img {
      height: 40px;
      max-width: 180px;
      object-fit: contain;
    }
    .logo-badge {
      background: var(--primary);
      color: var(--white);
      font-size: 9px;
      padding: 2px 6px;
      border-radius: 3px;
      font-weight: 700;
      margin-right: 6px;
    }
    
    /* Main Navigation - Center */
    .main-nav {
      display: flex;
      align-items: center;
      height: 100%;
    }
    .nav-list {
      display: flex;
      list-style: none;
      height: 100%;
      margin: 0;
      padding: 0;
    }
    .nav-item {
      height: 100%;
    }
    .nav-item a {
      display: flex;
      align-items: center;
      height: 100%;
      padding: 0 16px;
      color: #000000;
      font-weight: 600;
      font-size: 14px;
      transition: all 0.2s;
      border-bottom: 3px solid transparent;
    }
    .nav-item a:hover {
      color: var(--primary);
      background: rgba(0,0,0,0.02);
    }
    .nav-item.active a {
      color: var(--primary);
    }
    
    /* Header Actions - Left */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 15px;
      position: relative;
    }
    
    /* Latest News Button */
    .btn-latest {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #111827;
      color: #fff;
      padding: 10px 18px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      transition: all 0.2s;
    }
    .btn-latest:hover {
      background: #1f2937;
    }
    .btn-latest svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }
    
    /* Theme Toggle & Search */
    .header-icon-btn {
      width: 36px;
      height: 36px;
      background: transparent;
      border: none;
      color: #374151;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
    }
    .header-icon-btn:hover {
      color: var(--primary);
    }
    .header-icon-btn svg {
      width: 22px;
      height: 22px;
    }
    
    /* Search Popup */
    .search-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.8);
      z-index: 2000;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding-top: 100px;
    }
    .search-overlay.active {
      display: flex;
    }
    .search-popup {
      background: var(--white);
      border-radius: 12px;
      width: 90%;
      max-width: 600px;
      padding: 24px;
      animation: slideDown 0.3s ease;
    }
    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .search-popup-form {
      display: flex;
      gap: 10px;
    }
    .search-popup-input {
      flex: 1;
      padding: 14px 18px;
      border: 2px solid var(--gray-200);
      border-radius: 10px;
      font-size: 16px;
      font-family: inherit;
      outline: none;
      transition: border-color 0.2s;
    }
    .search-popup-input:focus {
      border-color: var(--primary);
    }
    .search-popup-btn {
      padding: 14px 24px;
      background: var(--primary);
      color: var(--white);
      border: none;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }
    .search-popup-btn:hover {
      background: var(--primary-dark);
    }
    .search-close {
      position: absolute;
      top: 20px;
      left: 20px;
      width: 44px;
      height: 44px;
      background: var(--white);
      border: none;
      border-radius: 50%;
      font-size: 24px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Latest News Dropdown */
    .latest-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: auto;
      background: var(--white);
      box-shadow: 0 10px 40px rgba(0,0,0,0.15);
      width: 380px;
      max-height: 400px;
      overflow-y: auto;
      display: none;
      z-index: 1500;
      margin-top: 10px;
    }
    @media (max-width: 768px) {
      .latest-dropdown {
        position: fixed;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        top: 60px;
      }
    }
    .latest-dropdown.active {
      display: block;
      animation: fadeIn 0.2s ease;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .latest-dropdown-header {
      padding: 16px;
      border-bottom: 1px solid var(--gray-200);
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      background: var(--white);
    }
    .latest-dropdown-header h3 {
      font-size: 15px;
      color: var(--dark);
    }
    .latest-dropdown-header a {
      font-size: 13px;
      color: var(--primary);
    }
    .latest-news-item {
      padding: 14px 16px;
      border-bottom: 1px solid var(--gray-100);
      display: flex;
      gap: 12px;
      transition: background 0.2s;
      align-items: center;
    }
    .latest-news-item:hover {
      background: var(--gray-100);
    }
    .latest-news-item .news-number {
      width: 28px;
      height: 28px;
      background: var(--primary);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .latest-news-item img {
      width: 70px;
      height: 50px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .latest-news-item .news-content {
      flex: 1;
    }
    .latest-news-item .news-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--dark);
      line-height: 1.5;
      margin-bottom: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .latest-news-item .news-time {
      font-size: 11px;
      color: var(--gray-500);
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
      display: none;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      color: #000;
      cursor: pointer;
      padding: 0;
    }
    .mobile-menu-btn svg {
      width: 28px;
      height: 28px;
      stroke: #000;
      stroke-width: 2.5;
    }
    
    /* Mobile Search Button */
    .mobile-search-btn {
      display: none;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      color: #000;
      cursor: pointer;
      padding: 0;
      align-items: center;
      justify-content: center;
    }
    .mobile-search-btn svg {
      width: 26px;
      height: 26px;
      stroke: #000;
      stroke-width: 2.5;
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.6);
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
    }
    .mobile-menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    
    /* Mobile Menu - Full Screen */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      background: var(--white);
      z-index: 10000;
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .mobile-menu.active {
      transform: translateX(0);
    }
    
    /* Mobile Menu Header */
    .mobile-menu-header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 12px 16px;
      border-bottom: 1px solid var(--gray-200);
      flex-shrink: 0;
    }
    .mobile-menu-close {
      width: 44px;
      height: 44px;
      background: transparent;
      border: none;
      color: var(--dark);
      font-size: 28px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }
    .mobile-menu-close:hover {
      color: var(--primary);
    }
    
    /* Mobile Menu Actions - Buttons Row */
    .mobile-menu-actions {
      padding: 16px;
      display: flex;
      gap: 10px;
      border-bottom: 1px solid var(--gray-200);
      flex-shrink: 0;
    }
    .mobile-action-btn {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      background: var(--primary);
      border: none;
      border-radius: 8px;
      color: var(--white);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }
    .mobile-action-btn:hover {
      opacity: 0.9;
    }
    .mobile-action-btn svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }
    .mobile-action-btn .live-dot {
      width: 8px;
      height: 8px;
      background: var(--white);
      border-radius: 50%;
      animation: blink 1s infinite;
    }

    /* Mobile Menu Nav */
    .mobile-menu-nav {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 8px 0;
    }
    .mobile-menu-item {
      display: block;
      padding: 16px 20px;
      color: var(--dark);
      font-size: 16px;
      font-weight: 500;
      text-align: right;
      transition: all 0.2s;
      border-bottom: 1px solid var(--gray-100);
    }
    .mobile-menu-item:hover,
    .mobile-menu-item.active {
      background: var(--gray-50);
      color: var(--primary);
    }
    
    /* Mobile Menu Footer */
    .mobile-menu-footer {
      padding: 16px 20px;
      border-top: 1px solid var(--gray-200);
      flex-shrink: 0;
      background: var(--gray-50);
      margin-top: auto;
    }
    
    /* Social Icons */
    .mobile-menu-social {
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    .mobile-menu-social a {
      width: 40px;
      height: 40px;
      background: var(--dark);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white);
      transition: all 0.2s;
    }
    .mobile-menu-social a:hover {
      background: var(--primary);
    }
    
    @media (max-width: 1100px) {
      .main-nav { display: none; }
      .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
      .btn-latest span { display: none; }
    }
    
    @media (max-width: 768px) {
      .header-inner { height: 50px; }
      .logo { font-size: 22px; }
      .header-actions { gap: 4px; }
      .header-icon-btn { width: 34px; height: 34px; font-size: 14px; }
      /* إخفاء الأزرار على الموبايل */
      .btn-latest, .header-icon-btn { display: none !important; }
      .mobile-menu-btn { display: flex !important; }
      .mobile-search-btn { display: flex !important; }
    }
    
    /* ========== CONTAINER ========== */
    .container {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
    }
    
    /* ========== HERO SECTION ========== */
    .hero-section {
      padding: 24px 0;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 20px;
      align-items: stretch;
    }
    @media (max-width: 1200px) {
      .hero-grid { grid-template-columns: 1fr 280px; }
    }
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-grid > .sidebar-card { order: 2; }
      .hero-grid > .hero-main { order: 1; }
    }
    
    .hero-main {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      grid-template-rows: 200px 200px 180px;
      gap: 16px;
    }
    @media (max-width: 768px) {
      .hero-main { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto;
      }
      .hero-card-main,
      .hero-card-small,
      .hero-card-bottom { 
        grid-column: auto !important; 
        grid-row: auto !important; 
      }
    }
    
    .hero-card-main {
      position: relative;
      overflow: hidden;
      background: var(--gray-300);
      grid-column: 2;
      grid-row: 1 / 3;
    }
    
    .hero-card-small {
      position: relative;
      overflow: hidden;
      background: var(--gray-300);
      grid-column: 1;
    }
    
    .hero-card-bottom {
      position: relative;
      overflow: hidden;
      background: var(--gray-300);
      grid-column: 1 / 3;
      grid-row: 3;
    }
    
    .hero-card-main img,
    .hero-card-small img,
    .hero-card-bottom img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .hero-card-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px;
      background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
      color: var(--white);
    }
    .hero-card-cat {
      position: absolute;
      top: 15px;
      right: 15px;
      background: var(--primary);
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 700;
      color: #fff;
      z-index: 5;
    }
    .hero-card-title {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    }
    .hero-card-main .hero-card-title {
      font-size: 22px;
      -webkit-line-clamp: 3;
    }
    .hero-card-main .hero-card-overlay {
      padding: 24px;
    }
    
    /* ========== SIDEBAR (Latest News) ========== */
    .sidebar-card {
      background: var(--gray-100);
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
      align-self: stretch;
      display: flex;
      flex-direction: column;
    }
    @media (max-width: 1024px) {
      .sidebar-card { height: auto; }
    }
    .sidebar-header {
      background: var(--primary);
      color: var(--white);
      padding: 14px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .sidebar-header h3 {
      font-size: 15px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--white);
    }
    .sidebar-header a {
      color: #fff;
      font-size: 12px;
    }
    .sidebar-list { 
      list-style: none; 
      flex: 1; 
      display: flex;
      flex-direction: column;
    }
    .sidebar-item {
      border-bottom: 1px solid var(--gray-200);
      background: var(--white);
      flex: 1;
      display: flex;
    }
    .sidebar-item a {
      display: flex;
      gap: 10px;
      padding: 12px 16px;
      transition: background 0.2s;
      color: inherit;
      width: 100%;
      align-items: center;
    }
    .sidebar-item:hover a { background: var(--gray-50); }
    .sidebar-item:last-child { border-bottom: none; }
    .sidebar-num {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: #111827;
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .sidebar-content { flex: 1; min-width: 0; }
    .sidebar-title {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      color: var(--gray-800);
    }
    .sidebar-time {
      font-size: 11px;
      color: var(--gray-500);
    }
    
    /* ========== SECTION ========== */
    .section {
      padding: 30px 0;
    }
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    .section-title {
      font-size: 20px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .section-title::before {
      content: '';
      width: 5px;
      height: 28px;
      background: var(--primary);
    }
    .section-link {
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .section-link:hover { text-decoration: underline; }
    
    /* Section with colored background */
    .section-colored {
      background: var(--secondary);
      padding: 30px 0;
    }
    .section-colored .section-title {
      color: var(--white);
    }
    .section-colored .section-title::before {
      background: var(--primary);
    }
    .section-colored .section-link {
      color: rgba(255,255,255,0.7);
    }
    
    /* ========== ARTICLE CARDS ========== */
    .articles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }
    .articles-grid-4 {
      grid-template-columns: repeat(4, 1fr);
    }
    @media (max-width: 1024px) {
      .articles-grid-4 { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
      .articles-grid-4 { grid-template-columns: 1fr; }
    }
    
    .article-card {
      background: var(--white);
      overflow: hidden;
      transition: all 0.3s;
    }
    .article-card:hover {
      transform: translateY(-4px);
    }
    .article-card-img {
      position: relative;
      height: 180px;
      overflow: hidden;
      background: var(--gray-200);
    }
    .article-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .article-card-body { 
      padding: 12px 15px;
      background: #f1f1f1;
    }
    .article-card-title {
      font-size: 14px;
      font-weight: 700;
      line-height: 1.6;
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      color: var(--gray-800);
    }

    .article-card-cat {
      position: absolute;
      top: 12px;
      right: 12px;
      background: var(--primary);
      color: #fff;
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 700;
    }
    .article-card-excerpt {
      font-size: 13px;
      color: var(--gray-600);
      line-height: 1.6;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .article-card-meta {
      font-size: 11px;
      color: var(--gray-500);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .article-card-author {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    /* Horizontal Card */
    .article-card-h {
      display: flex;
      background: var(--white);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    .article-card-h-img {
      width: 200px;
      flex-shrink: 0;
      background: var(--gray-200);
    }
    .article-card-h-img img { width: 100%; height: 100%; object-fit: cover; }
    .article-card-h-body { padding: 16px; flex: 1; }
    
    /* ========== CATEGORY ROW ========== */
    .cat-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      margin-bottom: 40px;
    }
    @media (max-width: 900px) { .cat-row { grid-template-columns: 1fr; } }
    
    .cat-box {
      background: transparent;
      overflow: hidden;
    }
    .cat-box-header {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 0 0 12px 0;
    }
    .cat-box-title {
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      background: var(--secondary);
      padding: 10px 20px;
    }
    .cat-box-title::before {
      display: none;
    }
    .cat-box-header a {
      text-decoration: none;
    }
    .sports-title-link {
      text-decoration: none;
    }
    .sports-title-link h2 {
      margin: 0;
    }
    .cat-box-body { padding: 0; }
    .cat-box-main-card {
      display: block;
      width: 100%;
      overflow: hidden;
      text-decoration: none;
    }
    .cat-box-main-img {
      width: 100%;
      height: 180px;
      overflow: hidden;
    }
    .cat-box-main-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .cat-box-main-title {
      background: #f1f1f1;
      padding: 12px 15px;
    }
    .cat-box-main-title h4 {
      color: var(--gray-800);
      font-size: 15px;
      font-weight: 700;
      line-height: 1.6;
      margin: 0;
    }
    .cat-box-main-card:hover .cat-box-main-title h4 {
      color: var(--primary);
    }
    .cat-box-list {
      border-top: 1px solid var(--gray-300);
      padding: 12px 0;
      margin-top: 8px;
    }
    .cat-box-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
      font-size: 14px;
      font-weight: 500;
      color: var(--gray-700);
      border-bottom: 1px solid var(--gray-200);
      text-decoration: none;
    }
    .cat-box-item:last-child { border-bottom: none; }
    .cat-box-item img {
      width: 80px;
      height: 55px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .cat-box-item span {
      flex: 1;
      line-height: 1.4;
    }
    .cat-box-item:hover { color: var(--primary); }
    
    /* ========== DUAL SECTIONS ROW (Egypt & World) ========== */
    .dual-sections-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      margin: 40px 0;
    }
    .dual-section-box {
      background: #fff;
    }
    .dual-section-header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 20px;
    }
    .dual-section-header .section-title-link {
      background: var(--secondary);
      color: #fff;
      padding: 8px 20px;
      text-decoration: none;
      display: inline-block;
    }
    .dual-section-header .section-title-link h2 {
      margin: 0;
      font-size: 18px;
      font-weight: 700;
    }
    .dual-section-grid {
      display: flex;
      gap: 15px;
      height: 280px;
      align-items: stretch;
    }
    .dual-section-main {
      flex: 1.2;
      height: 100%;
    }
    .dual-section-main-card {
      display: block;
      position: relative;
      height: 100%;
      overflow: hidden;
      text-decoration: none;
    }
    .dual-section-main-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .dual-section-overlay {
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
      padding: 20px 15px 15px;
    }
    .dual-section-overlay h3 {
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.5;
      margin: 0;
    }
    .dual-section-side {
      flex: 0.8;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }
    .dual-section-side-item {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      background: #f8f9fa;
      height: calc(33.333% - 7px);
    }
    .dual-section-side-item img {
      width: 90px;
      height: 100%;
      object-fit: cover;
      flex-shrink: 0;
    }
    .dual-section-side-item span {
      flex: 1;
      font-size: 13px;
      font-weight: 600;
      color: var(--gray-800);
      line-height: 1.5;
      padding: 8px 8px 8px 0;
    }
    .dual-section-side-item:hover span {
      color: var(--primary);
    }
    @media (max-width: 992px) {
      .dual-sections-row {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 768px) {
      .dual-section-grid {
        flex-direction: column;
        height: auto;
      }
      .dual-section-main {
        height: 200px;
      }
      .dual-section-side {
        flex-direction: column;
        gap: 10px;
      }
      .dual-section-side-item {
        height: 70px;
      }
    }
    
    /* ========== LOCAL NEWS SECTION ========== */
    .local-news-section {
      margin: 40px 0;
    }
    .local-news-header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 20px;
    }
    .section-title-link {
      text-decoration: none;
    }
    .section-title-link h2 {
      display: inline-block;
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      background: var(--secondary);
      padding: 10px 20px;
      margin: 0;
    }
    .local-news-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      align-items: stretch;
    }
    @media (max-width: 900px) { .local-news-grid { grid-template-columns: 1fr; } }
    .local-news-main {
      display: block;
    }
    .local-news-main-card {
      display: block;
      position: relative;
      height: 280px;
    }
    .local-news-main-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .local-news-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 15px;
      background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }
    .local-news-overlay h3 {
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.6;
      margin: 0;
    }
    .local-news-side {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 280px;
    }
    .local-news-side-item {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      flex: 1;
      border-bottom: 1px solid var(--gray-200);
    }
    .local-news-side-item:last-child {
      border-bottom: none;
    }
    .local-news-side-item img {
      width: 100px;
      height: 70px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .local-news-side-item span {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.6;
      color: var(--gray-800);
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .local-news-side-item:hover span { color: var(--primary); }
    
    /* ========== SPORTS SECTION ========== */
    .sports-section {
      margin: 40px 0;
    }
    .sports-header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 20px;
    }
    .sports-header h2 {
      display: inline-block;
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      background: var(--secondary);
      padding: 10px 24px;
    }
    .sports-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 25px;
    }
    @media (max-width: 900px) { .sports-grid { grid-template-columns: 1fr; } }
    .sports-main-card {
      display: block;
      position: relative;
      overflow: hidden;
      height: 100%;
      min-height: 380px;
    }
    .sports-main-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .sports-main-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 25px;
      background: linear-gradient(transparent, rgba(0,0,0,0.85));
    }
    .sports-main-overlay h3 {
      color: #fff;
      font-size: 20px;
      font-weight: 700;
      line-height: 1.6;
    }
    .sports-side {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    @media (max-width: 600px) { .sports-side { grid-template-columns: 1fr; } }
    .sports-side-item {
      display: block;
      background: transparent;
      text-decoration: none;
      overflow: hidden;
    }
    .sports-side-img {
      overflow: hidden;
    }
    .sports-side-img img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }
    .sports-side-item h4 {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.7;
      color: var(--gray-800);
      padding: 14px 12px;
      margin: 0;
      text-align: center;
      background: #f1f1f1;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    /* ========== CATEGORY SECTIONS ========== */
    .categories-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      margin: 40px 0;
      align-items: stretch;
    }
    @media (max-width: 900px) { .categories-row { grid-template-columns: 1fr; } }
    
    .category-column {
      display: flex;
      flex-direction: column;
      background: transparent;
    }
    .cat-section-header {
      margin-bottom: 15px;
      flex-shrink: 0;
    }
    .cat-section-header a {
      text-decoration: none;
    }
    .cat-section-header h2 {
      display: inline-block;
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      background: var(--secondary);
      padding: 10px 20px;
      margin: 0;
    }
    .category-articles {
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1;
    }
    .cat-main-article {
      display: block;
      flex-shrink: 0;
      text-decoration: none;
    }
    .cat-main-article img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
    .cat-main-article h3 {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.7;
      color: var(--gray-800);
      background: #f1f1f1;
      padding: 14px 12px;
      margin: 0;
      height: 80px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .cat-main-article:hover h3 { color: var(--primary); }
    .cat-list-article {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 0;
      text-decoration: none;
      border-bottom: 1px solid var(--gray-200);
    }
    .cat-list-article:last-child { border-bottom: none; }
    .cat-list-article img {
      width: 80px;
      height: 60px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .cat-list-article span {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.6;
      color: var(--gray-700);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .cat-list-article:hover span { color: var(--primary); }
    
    /* ========== SECTION BOX - 4 Cards Row ========== */
    .section-box {
      margin: 40px 0;
    }
    .section-box-header {
      margin-bottom: 20px;
    }
    .section-box-header h2 {
      display: inline-block;
      font-size: 15px;
      font-weight: 700;
      color: #fff;
      background: var(--secondary);
      padding: 10px 20px;
    }
    .section-box-header a {
      text-decoration: none;
    }
    .section-cards-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    @media (max-width: 1024px) { .section-cards-row { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .section-cards-row { grid-template-columns: 1fr; } }
    .section-card {
      display: block;
      text-decoration: none;
    }
    .section-card-img {
      position: relative;
      overflow: hidden;
    }
    .section-card-img img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .section-card h3 {
      padding: 14px 12px;
      margin: 0;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.7;
      color: var(--gray-800);
      background: #f1f1f1;
      text-align: center;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .section-card:hover h3 { color: var(--primary); }
    
    /* ========== MOST READ ========== */
    .most-read {
      background: var(--white);
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    .most-read-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--primary);
    }
    .most-read-header h3 {
      font-size: 16px;
      font-weight: 700;
    }
    .most-read-list { display: flex; flex-direction: column; gap: 12px; }
    .most-read-item {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .most-read-rank {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 14px;
      flex-shrink: 0;
    }
    .most-read-rank.r1 { background: #fef3c7; color: #b45309; }
    .most-read-rank.r2 { background: #e5e7eb; color: #4b5563; }
    .most-read-rank.r3 { background: #fed7aa; color: #c2410c; }
    .most-read-rank.r4, .most-read-rank.r5 { background: var(--gray-100); color: var(--gray-600); }
    .most-read-title {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.5;
    }
    .most-read-title:hover { color: var(--primary); }
    
    /* ========== FOOTER ========== */
    footer {
      background: var(--footer-bg);
      color: var(--footer-text);
      padding-top: 40px;
    }
    .footer-top {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px 30px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
      gap: 30px;
    }
    @media (max-width: 1100px) {
      .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 25px; }
      .footer-top .footer-col:nth-child(4),
      .footer-top .footer-col:nth-child(5) { display: none; }
    }
    @media (max-width: 768px) {
      .footer-top { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 500px) {
      .footer-top { grid-template-columns: 1fr; }
    }
    
    .footer-brand .logo {
      margin-bottom: 16px;
      display: inline-block;
    }
    .footer-brand .footer-logo-img {
      max-height: 50px;
      width: auto;
      object-fit: contain;
    }
    .footer-brand p {
      font-size: 13px;
      color: rgba(255,255,255,0.8);
      line-height: 1.8;
      margin-bottom: 16px;
    }
    .footer-social {
      display: flex;
      gap: 10px;
    }
    .footer-social a {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      transition: all 0.2s;
    }
    .footer-social a:hover { background: var(--primary); color: var(--white); }
    
    .footer-social-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .footer-social-list .social-link-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      background: rgba(255,255,255,0.1);
      border-radius: 8px;
      color: #fff;
      font-size: 13px;
      transition: all 0.2s;
    }
    .footer-social-list .social-link-item:hover {
      background: var(--primary);
      color: var(--white);
    }
    .footer-social-list .social-link-item svg {
      flex-shrink: 0;
    }

    .footer-col h3 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
      color: var(--white);
    }
    .footer-col h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 40px;
      height: 2px;
      background: var(--primary);
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 10px; }
    .footer-col a {
      color: rgba(255,255,255,0.8);
      font-size: 13px;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--white); }
    
    .footer-bottom {
      border-top: 1px solid var(--border-color);
      padding: 20px 16px;
      text-align: center;
    }
    .footer-bottom p {
      max-width: 1320px;
      margin: 0 auto;
      font-size: 13px;
      color: var(--footer-text);
    }
/* ===============================
   Header – SlashPlus (FINAL)
   =============================== */

.site-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

/* Logo */
.logo-img {
    height: 40px;
}

/* ===============================
   Main Navigation – Desktop
   =============================== */

.main-nav {
    display: flex;
}

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

.nav-list > li {
    position: relative; /* مهم للـ submenu */
}

.nav-list > li > a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
}

.nav-list > li > a:hover {
    background: #f3f4f6;
}

/* ===============================
   Sub Menu – Desktop
   =============================== */

.nav-list li ul {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: none;
    flex-direction: column;
    padding: 6px 0;
    z-index: 9999;
}

.nav-list li:hover > ul {
    display: block;
}

.nav-list li ul li a {
    padding: 10px 14px;
    display: block;
    color: #111827;
}

.nav-list li ul li a:hover {
    background: #f3f4f6;
}

/* ===============================
   Mobile Button
   =============================== */

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===============================
   Mobile Menu – FINAL FIX
   =============================== */

@media (max-width: 768px) {

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

    /* القائمة الرئيسية */
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #ffffff;
        display: none;
        border-bottom: 1px solid #e5e7eb;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list > li {
        width: 100%;
    }

    .nav-list > li > a {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }

    /* Sub Menu – Mobile */
    .nav-list li ul {
        position: static;
        border: none;
        display: none;
        padding: 0;
    }

    .nav-list li.open > ul {
        display: block;
    }

    .nav-list li ul li a {
        padding-right: 30px;
        background: #f9fafb;
        border-bottom: 1px solid #e5e7eb;
    }
}

/* =================================
   MOBILE MENU – FINAL BACKGROUND FIX
   ================================= */

@media (max-width: 768px) {

    /* الهيدر لازم يكون مرجع */
    .site-header {
        position: relative;
        z-index: 9999;
    }

    /* القائمة نفسها */
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;

        /* 👇 ده الحل الأساسي */
        background-color: #ffffff !important;
        opacity: 1 !important;

        z-index: 99999 !important;

        display: none;
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
    }

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

    /* القائمة الداخلية */
    .main-nav .nav-list {
        display: block !important;
        background-color: #ffffff !important;
    }

    .main-nav .nav-list li {
        display: block !important;
        width: 100% !important;
        background-color: #ffffff !important;
    }

    .main-nav .nav-list li a {
        display: block !important;
        width: 100% !important;

        background-color: #ffffff !important;
        color: #111827 !important;

        border-bottom: 1px solid #e5e7eb;
    }

    /* تأكيد عدم وجود شفافية */
    .main-nav *,
    .main-nav *::before,
    .main-nav *::after {
        opacity: 1 !important;
    }
}


