/*
Theme Name: Hasakah News - شبكة الحسكة الإعلامية
Theme URI: https://hasakah.com
Author: Zeus
Author URI: https://hasakah.com
Description: القالب الرسمي لشبكة الحسكة الإعلامية، مصمم بدقة وفق واجهة Sport 9 وألوان الهوية السورية الملكية، متكامل مع الدَك التفاعلي والاستوديو الحي وإضافة Hasakah Panal.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: hasakah-news
*/

/* ==========================================================================
   1. VARIABLES & PALETTE (molae.gov.sy / Syrian Royal Palette)
   ========================================================================== */
:root {
  --hn-primary-green: #06332e;
  --hn-deep-green: #031e1b;
  --hn-teal: #0d4d46;
  --hn-accent-teal: #0f6259;
  --hn-gold: #d0bd8e;
  --hn-gold-dark: #c59846;
  --hn-gold-light: #e5b968;
  --hn-gray-bg: #f8fafc;
  --hn-card-border: #e6eaef;
  --hn-text-dark: #1e293b;
  --hn-text-muted: #64748b;
  --hn-white: #ffffff;
  --hn-radius-sm: 8px;
  --hn-radius-md: 14px;
  --hn-radius-lg: 20px;
  --hn-shadow-sm: 0 2px 8px rgba(6, 51, 46, 0.06);
  --hn-shadow-md: 0 6px 20px rgba(6, 51, 46, 0.09);
  --hn-shadow-lg: 0 12px 32px rgba(6, 51, 46, 0.15);
  --hn-font-main: 'Tajawal', 'Cairo', sans-serif;
  --hn-font-title: 'Cairo', 'Amiri', sans-serif;
}

/* ==========================================================================
   0. SITE PRELOADER (لودر بدء الموقع الفاخر)
   ========================================================================== */
#hasakah-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #06332e 0%, #031e1b 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

#hasakah-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hn-preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.hn-preloader-logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hn-preloader-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(208, 189, 142, 0.45));
  animation: logoPulse 2s ease-in-out infinite;
  z-index: 2;
}

.hn-preloader-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 189, 142, 0.25) 0%, transparent 70%);
  animation: auraGlow 2.5s ease-in-out infinite;
  z-index: 1;
}

.hn-preloader-title {
  font-family: var(--hn-font-title);
  font-size: 26px;
  font-weight: 900;
  color: var(--hn-gold);
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.hn-preloader-slogan {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.hn-preloader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.hn-preloader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--hn-gold-dark), var(--hn-gold-light), var(--hn-gold));
  border-radius: 10px;
  animation: loadingProgress 1.4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 18px rgba(208, 189, 142, 0.35));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 28px rgba(208, 189, 142, 0.65));
  }
}

@keyframes auraGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.8;
  }
}

@keyframes loadingProgress {
  0% {
    left: 0;
    width: 0%;
  }
  50% {
    left: 25%;
    width: 60%;
  }
  100% {
    left: 100%;
    width: 0%;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  direction: rtl;
  text-align: right;
  font-family: var(--hn-font-main);
  background-color: var(--hn-gray-bg);
  color: var(--hn-text-dark);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
  padding-bottom: 85px; /* Spacing for the bottom dock */
}

a {
  color: var(--hn-primary-green);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--hn-gold-dark);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   2. TOP BAR & COMPACT HEADER
   ========================================================================== */
.hn-topbar {
  background: var(--hn-white);
  border-bottom: 1px solid var(--hn-card-border);
  padding: 10px 0;
}

.hn-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hn-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hn-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.hn-brand-title {
  font-family: var(--hn-font-title);
  font-size: 20px;
  font-weight: 900;
  color: var(--hn-primary-green);
  line-height: 1.1;
}

.hn-brand-subtitle {
  font-size: 11px;
  color: var(--hn-gold-dark);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hn-topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hn-date-badge {
  font-size: 13px;
  color: var(--hn-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hn-social-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hn-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 51, 46, 0.06);
  color: var(--hn-primary-green);
  font-size: 14px;
  transition: all 0.3s ease;
}

.hn-social-list a:hover {
  background: var(--hn-primary-green);
  color: var(--hn-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   3. COMPACT MAIN NAVBAR
   ========================================================================== */
.hn-navbar {
  background: var(--hn-primary-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid var(--hn-gold);
}

.hn-nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.hn-nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 16px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.25s ease;
}

.hn-nav-menu > li:hover > a,
.hn-nav-menu > li.active > a {
  background: var(--hn-deep-green);
  color: var(--hn-gold);
}

.hn-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--hn-deep-green);
  min-width: 240px;
  box-shadow: var(--hn-shadow-lg);
  border-radius: 0 0 8px 8px;
  border-top: 2px solid var(--hn-gold);
  padding: 8px 0;
  list-style: none;
  display: none;
  z-index: 999;
}

.hn-nav-menu > li:hover .hn-dropdown {
  display: block;
  animation: fadeInMenu 0.25s ease;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hn-dropdown li a {
  display: block;
  padding: 9px 18px;
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hn-dropdown li a:hover {
  background: rgba(208, 189, 142, 0.15);
  color: var(--hn-gold);
  padding-right: 22px;
}

.hn-badge-sections {
  background: linear-gradient(135deg, var(--hn-gold-dark), var(--hn-gold-light)) !important;
  color: var(--hn-deep-green) !important;
  font-weight: 800 !important;
  border-radius: 6px;
  padding: 7px 14px !important;
  box-shadow: 0 2px 8px rgba(208, 189, 142, 0.35);
}

.hn-badge-trust {
  background: rgba(208, 189, 142, 0.15) !important;
  border: 1px solid var(--hn-gold) !important;
  color: var(--hn-gold) !important;
  font-weight: 800 !important;
  border-radius: 6px;
  padding: 7px 14px !important;
}

/* ==========================================================================
   4. BREAKING NEWS TICKER
   ========================================================================== */
.hn-ticker {
  background: var(--hn-deep-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(208, 189, 142, 0.25);
  font-size: 13.5px;
  overflow: hidden;
}

.hn-ticker-badge {
  background: var(--hn-gold-dark);
  color: var(--hn-deep-green);
  font-weight: 900;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
}

.hn-ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 15px;
}

.hn-ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: tickerSlide 40s linear infinite;
}

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

.hn-ticker-item {
  color: #f1f5f9;
  margin-left: 35px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hn-ticker-item i {
  color: var(--hn-gold);
  font-size: 9px;
}

@keyframes tickerSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   5. SPORT 9 HOMEPAGE GRID & CARDS
   ========================================================================== */
.sport9-section {
  padding: 35px 0;
}

.sport9-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--hn-card-border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.sport9-title {
  font-family: var(--hn-font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--hn-primary-green);
  position: relative;
}

.sport9-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: 0;
  width: 60px;
  height: 3px;
  background: var(--hn-gold-dark);
}

/* Hero Section (Sport 9 Hero Grid) */
.sport9-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 20px;
}

.sport9-hero-main {
  position: relative;
  border-radius: var(--hn-radius-md);
  overflow: hidden;
  height: 440px;
  box-shadow: var(--hn-shadow-md);
}

.sport9-hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sport9-hero-main:hover img {
  transform: scale(1.04);
}

.sport9-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(3, 30, 27, 0.95) 0%, rgba(3, 30, 27, 0.6) 60%, transparent 100%);
  padding: 30px;
  color: #ffffff;
}

.sport9-hero-caption .cat-tag {
  background: var(--hn-gold-dark);
  color: var(--hn-deep-green);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.sport9-hero-caption h2 {
  font-family: var(--hn-font-title);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}

.sport9-hero-caption h2 a {
  color: #ffffff;
}

.sport9-hero-caption h2 a:hover {
  color: var(--hn-gold);
}

.sport9-hero-subgrid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sport9-sub-card {
  display: flex;
  gap: 14px;
  background: #ffffff;
  border-radius: var(--hn-radius-sm);
  padding: 12px;
  border: 1px solid var(--hn-card-border);
  box-shadow: var(--hn-shadow-sm);
  transition: all 0.25s ease;
  height: 135px;
}

.sport9-sub-card:hover {
  transform: translateX(-4px);
  border-color: var(--hn-gold);
  box-shadow: var(--hn-shadow-md);
}

.sport9-sub-thumb {
  width: 140px;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.sport9-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sport9-sub-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sport9-sub-info h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 6px;
}

.sport9-sub-info h3 a {
  color: var(--hn-primary-green);
}

.sport9-sub-info h3 a:hover {
  color: var(--hn-gold-dark);
}

.sport9-date {
  font-size: 12px;
  color: var(--hn-text-muted);
}

/* Card Grid (3 Columns) */
.sport9-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.sport9-news-card {
  background: #ffffff;
  border-radius: var(--hn-radius-sm);
  border: 1px solid var(--hn-card-border);
  overflow: hidden;
  box-shadow: var(--hn-shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sport9-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hn-shadow-md);
  border-color: var(--hn-gold);
}

.sport9-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sport9-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

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

.sport9-card-title {
  font-family: var(--hn-font-title);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
}

.sport9-card-excerpt {
  font-size: 13.5px;
  color: var(--hn-text-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

/* ==========================================================================
   6. LIVE STUDIO HUB IN MIDDLE OF HOMEPAGE
   ========================================================================== */
.sport9-live-studio {
  background: linear-gradient(135deg, var(--hn-deep-green) 0%, var(--hn-primary-green) 100%);
  border-radius: var(--hn-radius-md);
  padding: 30px;
  color: #ffffff;
  margin: 30px 0;
  border: 1px solid rgba(208, 189, 142, 0.3);
  box-shadow: var(--hn-shadow-lg);
}

.live-studio-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(208, 189, 142, 0.2);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.live-badge-pulse {
  background: #e53e3e;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(229, 62, 62, 0.6);
  animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

.live-channels-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 6px;
}

.live-channel-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--hn-font-main);
}

.live-channel-btn.active, .live-channel-btn:hover {
  background: var(--hn-gold-dark);
  color: var(--hn-deep-green);
}

.live-studio-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}

.live-video-box {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.live-video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.live-program-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 18px;
}

.live-program-card h4 {
  font-size: 15px;
  color: var(--hn-gold);
  font-weight: 800;
  border-bottom: 1px solid rgba(208, 189, 142, 0.2);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

/* ==========================================================================
   7. DYNAMIC BOTTOM DOCK (10 PRESETS)
   ========================================================================== */
.hn-dock-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hn-dock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 40px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.hn-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 58px;
}

.hn-dock-item i {
  font-size: 18px;
  margin-bottom: 3px;
}

.hn-dock-item:hover {
  transform: translateY(-8px) scale(1.1);
}

/* --- THE 10 DOCK DESIGN PRESETS --- */

/* 1. Frost Glass Dock (Default) */
.dock-frost-glass {
  background: rgba(6, 51, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(208, 189, 142, 0.4);
}
.dock-frost-glass .hn-dock-item { color: #f1f5f9; }
.dock-frost-glass .hn-dock-item:hover, .dock-frost-glass .hn-dock-item.active {
  background: rgba(208, 189, 142, 0.25);
  color: var(--hn-gold);
}

/* 2. Neon Blur Dock */
.dock-neon-blur {
  background: rgba(3, 30, 27, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid #00d084;
  box-shadow: 0 0 25px rgba(0, 208, 132, 0.4);
}
.dock-neon-blur .hn-dock-item { color: #a7f3d0; }
.dock-neon-blur .hn-dock-item:hover, .dock-neon-blur .hn-dock-item.active {
  color: #ffffff;
  text-shadow: 0 0 10px #00d084;
}

/* 3. Translucent Silver Dock */
.dock-translucent-silver {
  background: rgba(241, 245, 249, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid #cbd5e1;
}
.dock-translucent-silver .hn-dock-item { color: var(--hn-primary-green); }
.dock-translucent-silver .hn-dock-item:hover, .dock-translucent-silver .hn-dock-item.active {
  background: var(--hn-primary-green);
  color: var(--hn-gold);
}

/* 4. Holographic Dock */
.dock-holographic {
  background: linear-gradient(135deg, rgba(6, 51, 46, 0.9), rgba(15, 98, 89, 0.9));
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--hn-gold);
  box-shadow: 0 0 20px rgba(208, 189, 142, 0.5);
}
.dock-holographic .hn-dock-item { color: #ffffff; }
.dock-holographic .hn-dock-item:hover, .dock-holographic .hn-dock-item.active {
  background: linear-gradient(135deg, var(--hn-gold-dark), var(--hn-gold-light));
  color: var(--hn-deep-green);
}

/* 5. Liquid Glass Dock */
.dock-liquid-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.dock-liquid-glass .hn-dock-item { color: #ffffff; }
.dock-liquid-glass .hn-dock-item:hover, .dock-liquid-glass .hn-dock-item.active {
  background: rgba(255, 255, 255, 0.35);
  color: var(--hn-gold);
}

/* 6. Breaking Red Dock */
.dock-breaking-red {
  background: rgba(153, 27, 27, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid #ef4444;
}
.dock-breaking-red .hn-dock-item { color: #fee2e2; }
.dock-breaking-red .hn-dock-item:hover, .dock-breaking-red .hn-dock-item.active {
  background: #ffffff;
  color: #991b1b;
}

/* 7. Deep Navy Executive Dock */
.dock-deep-navy {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid #334155;
}
.dock-deep-navy .hn-dock-item { color: #94a3b8; }
.dock-deep-navy .hn-dock-item:hover, .dock-deep-navy .hn-dock-item.active {
  background: #1e293b;
  color: #38bdf8;
}

/* 8. Carbon Fiber Dock */
.dock-carbon-fiber {
  background: #111827;
  border: 1px solid #374151;
  background-image: radial-gradient(#1f2937 1px, transparent 1px);
  background-size: 6px 6px;
}
.dock-carbon-fiber .hn-dock-item { color: #e5e7eb; }
.dock-carbon-fiber .hn-dock-item:hover, .dock-carbon-fiber .hn-dock-item.active {
  background: #374151;
  color: #f59e0b;
}

/* 9. Midnight News Dock */
.dock-midnight-news {
  background: #021412;
  border: 1px solid rgba(208, 189, 142, 0.3);
}
.dock-midnight-news .hn-dock-item { color: #cbd5e1; }
.dock-midnight-news .hn-dock-item:hover, .dock-midnight-news .hn-dock-item.active {
  background: var(--hn-primary-green);
  color: var(--hn-gold);
}

/* 10. Steel & Grit Dock */
.dock-steel-grit {
  background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
  border: 1px solid #64748b;
}
.dock-steel-grit .hn-dock-item { color: #f8fafc; }
.dock-steel-grit .hn-dock-item:hover, .dock-steel-grit .hn-dock-item.active {
  background: #0f172a;
  color: #e2e8f0;
}

/* ==========================================================================
   8. INDEPENDENT SECTIONS PAGE (صفحة أقسام الموقع)
   ========================================================================== */
.sections-portal-header {
  background: linear-gradient(135deg, var(--hn-deep-green) 0%, var(--hn-primary-green) 100%);
  color: #ffffff;
  padding: 45px 0;
  text-align: center;
  border-bottom: 3px solid var(--hn-gold);
  margin-bottom: 35px;
}

.sections-portal-header h1 {
  font-family: var(--hn-font-title);
  font-size: 32px;
  color: var(--hn-gold);
  font-weight: 900;
  margin-bottom: 10px;
}

.sections-search-box {
  max-width: 550px;
  margin: 20px auto 0 auto;
  position: relative;
}

.sections-search-input {
  width: 100%;
  padding: 14px 45px 14px 20px;
  border-radius: 30px;
  border: 2px solid var(--hn-gold);
  font-family: var(--hn-font-main);
  font-size: 15px;
  outline: none;
  background: #ffffff;
}

.sections-search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hn-primary-green);
  font-size: 18px;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.section-tree-card {
  background: #ffffff;
  border-radius: var(--hn-radius-sm);
  border: 1px solid var(--hn-card-border);
  overflow: hidden;
  box-shadow: var(--hn-shadow-sm);
  transition: all 0.3s ease;
}

.section-tree-card:hover {
  box-shadow: var(--hn-shadow-md);
  border-color: var(--hn-gold);
}

.section-tree-header {
  background: var(--hn-primary-green);
  color: var(--hn-gold);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--hn-font-title);
  font-size: 18px;
  font-weight: 800;
}

.section-tree-body {
  padding: 18px;
}

.tree-list {
  list-style: none;
  padding: 0;
}

.tree-item {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.tree-item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--hn-text-dark);
  font-weight: 700;
  font-size: 14px;
}

.tree-item-link:hover {
  color: var(--hn-gold-dark);
  padding-right: 5px;
}

.tree-count {
  background: rgba(6, 51, 46, 0.08);
  color: var(--hn-primary-green);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 800;
}

/* ==========================================================================
   9. AD SLOTS (Sport 9 Compatible)
   ========================================================================== */
.sport9-ad-banner {
  margin: 25px 0;
  text-align: center;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.02);
  border: 1px dashed #cbd5e1;
  padding: 10px;
}

.sport9-ad-label {
  font-size: 11px;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

/* ==========================================================================
   10. RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .sport9-hero-grid { grid-template-columns: 1fr; }
  .live-studio-layout { grid-template-columns: 1fr; }
  .hn-nav-menu { display: none; }
  .hn-dock { padding: 8px 12px; gap: 4px; }
  .hn-dock-item { font-size: 11px; padding: 4px 8px; min-width: 48px; }
  .hn-dock-item i { font-size: 16px; }
}
