/* ==========================================================================
   Arabic News Platform - Frontend Editorial Stylesheet (100% RTL & Responsive)
   Matches Editorial Journalistic Design (media_1791319951124.jpg)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary: #DC2626;       /* Editorial Breaking Red */
  --primary-hover: #B91C1C;
  --dark: #0F172A;          /* Deep Slate / Black */
  --dark-light: #1E293B;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --gold: #D97706;
  --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-serif: 'Amiri', serif;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
}

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

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

/* --------------------------------------------------------------------------
   Header & Top Utility Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.date-time-display {
  display: flex;
  gap: 15px;
  align-items: center;
}
.top-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.top-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}
.top-links a:hover {
  color: var(--primary);
}

.site-header {
  border-bottom: 2px solid var(--dark);
  padding: 16px 0 10px;
  background: #fff;
}
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -0.5px;
}
.site-logo:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-icon {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  font-size: 16px;
  transition: all 0.2s;
}
.btn-icon:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* Main Navigation Menu */
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
}
.nav-item a {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-light);
  position: relative;
}
.nav-item a:hover,
.nav-item.active a {
  color: var(--primary);
}
.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
}

/* Breaking News Ticker (شريط الأخبار العاجلة) */
.breaking-bar {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius);
  margin: 14px 0 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.breaking-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breaking-ticker-wrap {
  flex: 1;
  overflow: hidden;
  padding: 8px 14px;
}
.breaking-ticker {
  display: flex;
  gap: 30px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.breaking-ticker:hover {
  animation-play-state: paused;
}
.breaking-ticker-item {
  color: #991B1B;
  font-weight: 600;
  font-size: 14px;
}
@keyframes tickerScroll {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   Hero Grid Section (Main Featured Story + Sub-featured 4-grid)
   -------------------------------------------------------------------------- */
.hero-section {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 20px;
  margin-bottom: 35px;
}
.hero-main-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-main-card:hover .hero-main-img {
  transform: scale(1.03);
}
.hero-main-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,23,42,0) 25%, rgba(15,23,42,0.95) 90%);
}
.hero-main-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}
.category-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hero-main-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #fff;
}
.hero-main-excerpt {
  font-size: 15px;
  color: #E2E8F0;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #CBD5E1;
}
.author-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sub-hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.sub-hero-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.sub-hero-card:hover img {
  transform: scale(1.05);
}
.sub-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,0.92) 100%);
}
.sub-hero-content {
  position: relative;
  z-index: 2;
  padding: 12px;
}
.sub-hero-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Editorial Content Columns (Main Grid)
   -------------------------------------------------------------------------- */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--dark);
  padding-bottom: 8px;
  margin-bottom: 18px;
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  position: relative;
}
.section-more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Latest News Stream Cards */
.news-feed-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-feed-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.news-feed-thumb {
  width: 130px;
  height: 90px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.news-feed-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-feed-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
}
.news-feed-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* Most Read Ranked Cards (الأكثر قراءة 1-5) */
.ranked-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ranked-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}
.ranked-item:hover {
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.ranked-badge {
  width: 32px;
  height: 32px;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ranked-item:nth-child(1) .ranked-badge { background: var(--primary); }
.ranked-item:nth-child(2) .ranked-badge { background: var(--gold); }
.ranked-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

/* Columnists & Opinion Section (الكتّاب / المقالات) */
.opinion-section {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  border-radius: var(--radius);
  padding: 24px;
  margin: 35px 0;
}
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.opinion-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid #F3E8FF;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform 0.2s;
}
.opinion-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.opinion-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #C084FC;
  flex-shrink: 0;
}
.opinion-body {
  overflow: hidden;
}
.opinion-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #6B21A8;
  margin: 0 0 4px;
}
.opinion-article-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category Grid Blocks */
.category-block {
  margin-bottom: 35px;
}
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.news-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}
.news-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Single Article Detail Page
   -------------------------------------------------------------------------- */
.article-detail-header {
  margin-bottom: 24px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
}
.article-main-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--dark);
  margin: 0 0 12px;
}
.article-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 18px;
}
.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.article-main-image-wrap {
  margin: 20px 0 25px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.article-main-image-wrap img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.article-image-caption {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

/* AI Summary Box (ملخص الذكاء الاصطناعي) */
.ai-summary-box {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 25px 0;
}
.ai-summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: #166534;
  margin-bottom: 10px;
}
.ai-summary-points {
  margin: 0;
  padding-right: 20px;
  color: #14532D;
  font-size: 14px;
  line-height: 1.7;
}

/* Article Content Typography */
.article-body {
  font-size: 18px;
  line-height: 1.85;
  color: #1E293B;
  font-family: var(--font-main);
}
.article-body p {
  margin: 0 0 20px;
}
.article-body blockquote {
  border-right: 4px solid var(--primary);
  margin: 25px 0;
  padding: 12px 20px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  background: var(--bg-subtle);
  border-radius: 4px;
}

/* Source Attribution Box */
.source-box {
  background: #F1F5F9;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 25px 0;
  font-size: 13px;
  color: #475569;
}
.source-box strong { color: var(--dark); }

/* Interactive Timeline in Article */
.timeline-wrap {
  margin: 30px 0;
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.timeline-title {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--dark);
}
.timeline-event {
  position: relative;
  padding-right: 24px;
  margin-bottom: 18px;
  border-right: 2px solid var(--primary);
}
.timeline-event::before {
  content: '';
  position: absolute;
  right: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}
.timeline-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
.timeline-event-title {
  font-size: 15px;
  font-weight: 700;
  margin: 2px 0 4px;
}
.timeline-event-summary {
  font-size: 13px;
  color: var(--text-muted);
}

/* Comments Section */
.comments-section {
  margin-top: 40px;
  border-top: 2px solid var(--dark);
  padding-top: 25px;
}
.comment-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}
.comment-card.reply {
  margin-right: 35px;
  background: var(--bg-subtle);
}
.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}
.comment-author {
  font-weight: 700;
  color: var(--dark);
}
.comment-date {
  color: var(--text-muted);
}
.comment-body {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.comment-actions {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: #E2E8F0;
  padding: 50px 0 25px;
  margin-top: 60px;
  border-top: 3px solid var(--primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
  border-bottom: 1px solid #334155;
  padding-bottom: 8px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-links a {
  color: #94A3B8;
}
.footer-links a:hover {
  color: #fff;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #334155;
  background: #1E293B;
  color: #fff;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
}
.newsletter-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.newsletter-btn:hover {
  background: var(--primary-hover);
}
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748B;
}

/* Empty State Component */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.empty-state-icon {
  font-size: 40px;
  margin-bottom: 10px;
}
.empty-state h3 {
  color: var(--dark);
  margin: 0 0 6px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-logo {
    font-size: 28px;
  }
  .hero-sub-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-main-title {
    font-size: 24px;
  }
  .news-feed-item {
    flex-direction: column;
  }
  .news-feed-thumb {
    width: 100%;
    height: 180px;
  }
}

/* ==========================================================================
   Exact Mockup Layout Styles (media_1791323786724.jpg)
   ========================================================================== */

/* 1. Header & Navigation (Single Row) */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 12px 0;
}
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.header-logo-wrap {
  display: flex;
  align-items: center;
}
.site-logo {
  font-size: 26px;
  font-weight: 900;
  color: #111827;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.header-nav-list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}
.header-nav-item a {
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.15s;
}
.header-nav-item a:hover,
.header-nav-item.active a {
  color: #B48638;
}
.header-left-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-search-btn {
  width: 36px;
  height: 36px;
  background: #1E293B;
  color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s;
}
.header-search-btn:hover {
  background: #B48638;
  color: #fff;
}
.header-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1E293B;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.header-user-btn:hover {
  color: #B48638;
}

/* 2. Breaking News Bar */
.breaking-container {
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  padding: 8px 0;
  margin-bottom: 20px;
}
.breaking-bar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breaking-badge-gold {
  background: #B48638;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.breaking-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}
.breaking-ticker-item {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none;
}
.breaking-ticker-item:hover {
  color: #B48638;
}

/* 3. Mockup Hero Grid */
.mockup-hero-section {
  display: flex;
  gap: 16px;
  margin-bottom: 35px;
}
.mockup-hero-main {
  flex: 1.35;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.mockup-hero-img-wrap {
  position: absolute;
  inset: 0;
}
.mockup-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mockup-hero-main:hover .mockup-hero-img {
  transform: scale(1.02);
}
.mockup-hero-placeholder {
  width: 100%;
  height: 100%;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.mockup-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.1) 80%, transparent 100%);
}
.mockup-hero-caption {
  position: relative;
  z-index: 2;
  padding: 24px 28px;
  color: #FFFFFF;
}
.badge-gold-sm {
  display: inline-block;
  background: #B48638;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.mockup-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 6px 0 8px;
  line-height: 1.35;
}
.mockup-hero-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mockup-hero-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.mockup-author-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
}
.mockup-author-circle-empty {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Mockup Sub 2x2 Grid */
.mockup-hero-sub-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.mockup-sub-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mockup-sub-img-wrap {
  position: absolute;
  inset: 0;
}
.mockup-sub-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mockup-sub-card:hover .mockup-sub-img-wrap img {
  transform: scale(1.03);
}
.mockup-sub-placeholder {
  width: 100%;
  height: 100%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.mockup-sub-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
}
.mockup-sub-caption {
  position: relative;
  z-index: 2;
  padding: 14px;
  color: #FFFFFF;
}
.badge-gold-xs {
  display: inline-block;
  background: #B48638;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 4px;
}
.badge-category-xs {
  display: inline-block;
  background: #059669;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 4px;
}
.mockup-sub-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 3px 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mockup-sub-author {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}

/* 4. Middle 3-Column Section */
.mockup-middle-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.mockup-section-header {
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.mockup-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
}
.mockup-ranked-list {
  display: flex;
  flex-direction: column;
}
.mockup-ranked-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}
.mockup-rank-badge {
  width: 26px;
  height: 26px;
  background: #1E293B;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mockup-rank-body {
  flex: 1;
}
.mockup-rank-link {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s;
}
.mockup-rank-link:hover {
  color: #B48638;
}

/* Center Column Latest Box */
.mockup-latest-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px;
}
.mockup-latest-list {
  display: flex;
  flex-direction: column;
}
.mockup-latest-item {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #E2E8F0;
}
.mockup-latest-text {
  flex: 1;
}
.mockup-latest-item-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.mockup-latest-item-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.15s;
}
.mockup-latest-item-title a:hover {
  color: #B48638;
}
.mockup-latest-excerpt {
  font-size: 12px;
  color: #64748B;
  margin: 4px 0 0;
  line-height: 1.5;
}
.mockup-latest-thumb-wrap {
  flex-shrink: 0;
}
.mockup-latest-thumb {
  width: 70px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}
.mockup-latest-time-indicator {
  font-size: 12px;
  color: #94A3B8;
  text-align: left;
  margin-top: 10px;
  font-weight: 600;
}

/* Left Column Featured Reads */
.mockup-reads-list {
  display: flex;
  flex-direction: column;
}
.mockup-reads-item {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}
.mockup-reads-text {
  flex: 1;
}
.mockup-reads-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.mockup-reads-title a {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.15s;
}
.mockup-reads-title a:hover {
  color: #B48638;
}
.mockup-reads-thumb-wrap {
  flex-shrink: 0;
}
.mockup-reads-thumb {
  width: 68px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}
.mockup-reads-thumb-empty {
  width: 68px;
  height: 50px;
  border-radius: 6px;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* 5. Horizontal Category Grid (رياضة / تكنولوجيا) */
.mockup-category-section {
  margin-bottom: 35px;
}
.mockup-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.mockup-category-title {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  margin: 0;
}
.mockup-category-more {
  font-size: 13px;
  font-weight: 700;
  color: #B48638;
  text-decoration: none;
}
.mockup-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mockup-cat-card {
  text-decoration: none;
  display: block;
}
.mockup-cat-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 140px;
  display: block;
  background: #F1F5F9;
}
.mockup-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mockup-cat-card:hover .mockup-cat-img {
  transform: scale(1.04);
}
.mockup-cat-img-empty {
  width: 100%;
  height: 100%;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.mockup-cat-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.mockup-cat-body {
  padding-top: 8px;
}
.mockup-cat-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mockup-cat-card-title a {
  color: #1E293B;
  text-decoration: none;
}
.mockup-cat-meta {
  font-size: 11px;
  color: #94A3B8;
}

/* 6. Columnists / Opinion Section ("الكتاب / المقالات") */
.mockup-opinion-section {
  margin-bottom: 40px;
}
.mockup-opinion-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.mockup-opinion-gold-tag {
  background: #B48638;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 4px;
  display: inline-block;
}
.mockup-opinion-more-link {
  font-size: 13px;
  font-weight: 700;
  color: #B48638;
  text-decoration: none;
}
.mockup-opinion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.mockup-columnist-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mockup-columnist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.mockup-columnist-avatar-wrap {
  margin-bottom: 10px;
}
.mockup-columnist-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 2px solid #E2E8F0;
}
.mockup-columnist-avatar-empty {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #F3E8FF;
  color: #7C3AED;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.mockup-columnist-name {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 2px;
}
.mockup-columnist-title {
  font-size: 11px;
  color: #64748B;
  margin-bottom: 8px;
}
.mockup-columnist-article-title {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mockup-columnist-excerpt {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mockup-opinion-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.mockup-page-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #64748B;
  cursor: pointer;
}
.mockup-page-num {
  width: 28px;
  height: 28px;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
}
.mockup-page-num.active {
  background: #1E293B;
  color: #FFFFFF;
  border-color: #1E293B;
}

/* Responsive Overrides for Mockup Layout */
@media (max-width: 1024px) {
  .mockup-hero-section {
    flex-direction: column;
  }
  .mockup-middle-grid {
    grid-template-columns: 1fr;
  }
  .mockup-category-grid,
  .mockup-opinion-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .mockup-hero-sub-grid {
    grid-template-columns: 1fr;
  }
  .mockup-category-grid,
  .mockup-opinion-grid {
    grid-template-columns: 1fr;
  }
  .header-nav-list {
    gap: 12px;
  }
  .header-nav-item a {
    font-size: 13px;
  }
}



/* ==========================================================================
   AL-KHABAR ("الخبر - نحو الحقيقة") - COMPLETE PRODUCTION STYLES
   Matches Exact Mockup Specifications (media_1791327595394.jpg)
   ========================================================================== */

:root {
  --navy-darkest: #0A1626;
  --navy-main: #0F1F38;
  --navy-light: #162B4D;
  --navy-hover: #1E3A68;
  --breaking-red: #DC2626;
  --breaking-red-dark: #B91C1C;
  --accent-blue: #0284C7;
  --accent-blue-hover: #0369A1;
  --accent-sky: #38BDF8;
  --text-dark: #0F172A;
  --text-body: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-subtle: #E2E8F0;
  --border-light: #F1F5F9;
  --bg-page: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-soft: #F8FAFC;
}

/* --------------------------------------------------------------------------
   Top Navy Strip (Weather, Date, Quick Icons)
   -------------------------------------------------------------------------- */
.top-navy-strip {
  background-color: var(--navy-darkest);
  color: #94A3B8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
}
.top-navy-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.strip-weather-date {
  display: flex;
  align-items: center;
  gap: 16px;
}
.weather-item {
  color: #F8FAFC;
  font-weight: 500;
}
.date-item {
  color: #94A3B8;
}
.strip-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.strip-icon-btn {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  transition: color 0.2s;
}
.strip-icon-btn:hover {
  color: #FFFFFF;
}
.location-item {
  color: #94A3B8;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Navy Main Header & Navigation
   -------------------------------------------------------------------------- */
.navy-main-header {
  background-color: var(--navy-main);
  color: #FFFFFF;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navy-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.navy-logo-block {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.navy-logo-title {
  font-family: 'Amiri', 'Cairo', serif;
  font-size: 34px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.5px;
}
.navy-logo-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-sky);
  margin-top: 3px;
  letter-spacing: 0.5px;
}

/* Nav Menu */
.navy-nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.navy-nav-link {
  color: #CBD5E1;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 2px;
  position: relative;
  transition: color 0.2s;
}
.navy-nav-link:hover,
.navy-nav-link.active {
  color: #FFFFFF;
}
.navy-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: var(--accent-sky);
  border-radius: 2px;
}

/* Actions (Search, Circle User, Theme) */
.navy-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navy-search-form {
  position: relative;
  display: flex;
  align-items: center;
}
.navy-search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #FFFFFF;
  padding: 6px 14px 6px 36px;
  font-family: inherit;
  font-size: 13px;
  width: 170px;
  transition: all 0.2s;
}
.navy-search-input::placeholder {
  color: #94A3B8;
}
.navy-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-sky);
  width: 210px;
}
.navy-search-btn {
  position: absolute;
  left: 10px;
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}
.navy-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.navy-action-icon:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Red Breaking News Bar
   -------------------------------------------------------------------------- */
.red-breaking-bar {
  background-color: var(--breaking-red);
  color: #FFFFFF;
  padding: 6px 0;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}
.red-breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.red-breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--breaking-red-dark);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.red-breaking-speaker {
  font-size: 14px;
}
.red-breaking-ticker {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.red-ticker-track {
  display: flex;
  gap: 30px;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
}
.red-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.red-ticker-item {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.red-ticker-item:hover {
  text-decoration: underline;
  color: #FFFFFF;
}
.ticker-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Homepage: Top Hero + Stacked Cards + Most Read (Al-Khabar Identity)
   -------------------------------------------------------------------------- */
.al-khabar-home {
  padding: 24px 0 60px;
  background-color: #FFFFFF;
}
.al-khabar-top-section {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 40px;
}
.al-khabar-hero-wrapper {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}

/* Main Hero Slide */
.al-khabar-main-hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--navy-darkest);
  min-height: 440px;
  box-shadow: 0 4px 12px rgba(15, 31, 56, 0.12);
}
.al-khabar-hero-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.al-khabar-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.al-khabar-main-hero:hover .al-khabar-hero-img {
  transform: scale(1.03);
}
.al-khabar-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(10, 22, 38, 0.95) 0%, rgba(10, 22, 38, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}
.al-khabar-hero-overlay > * {
  pointer-events: auto;
}
.al-khabar-pill-badge {
  display: inline-block;
  background-color: var(--accent-blue);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
}
.al-khabar-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0;
}
.al-khabar-hero-title a {
  color: #FFFFFF;
  text-decoration: none;
}
.al-khabar-hero-title a:hover {
  color: var(--accent-sky);
}
.al-khabar-hero-meta {
  color: #94A3B8;
  font-size: 13px;
  font-weight: 500;
}
.hero-slider-arrows {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.slider-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 31, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.slider-arrow-btn:hover {
  background: var(--accent-blue);
}

/* Stacked 3 Cards */
.al-khabar-stacked-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.al-khabar-stacked-card {
  display: flex;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.al-khabar-stacked-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.al-khabar-stacked-thumb {
  width: 95px;
  height: 75px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.al-khabar-stacked-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.al-khabar-stacked-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-blue);
}
.al-khabar-stacked-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 2px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.al-khabar-stacked-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   "الأكثر قراءة" Most Read Ranked 1-5 (Blue numbers)
   -------------------------------------------------------------------------- */
.al-khabar-most-read-col {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px;
}
.al-khabar-widget-header {
  border-bottom: 2px solid var(--navy-main);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.widget-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-main);
  margin: 0;
}
.al-khabar-ranked-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.al-khabar-ranked-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: background 0.2s;
}
.al-khabar-ranked-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.al-khabar-ranked-card:hover .al-khabar-ranked-title {
  color: var(--accent-blue);
}
.al-khabar-rank-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: var(--accent-blue);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.al-khabar-ranked-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.al-khabar-ranked-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-blue);
}
.al-khabar-ranked-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.al-khabar-ranked-meta {
  font-size: 11px;
  color: var(--text-muted);
}
.al-khabar-ranked-thumb {
  width: 65px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   "أحدث الأخبار" 8-Cards Grid (4 cols x 2 rows)
   -------------------------------------------------------------------------- */
.al-khabar-latest-section {
  margin-bottom: 45px;
}
.al-khabar-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--navy-main);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-main);
  margin: 0;
}
.section-nav-arrows {
  display: flex;
  gap: 6px;
}
.nav-arrow-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.nav-arrow-btn:hover {
  background: var(--bg-soft);
  color: var(--navy-main);
}
.al-khabar-8cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.al-khabar-grid-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.al-khabar-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-blue);
}
.al-khabar-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-darkest);
}
.al-khabar-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.al-khabar-grid-card:hover .al-khabar-card-img {
  transform: scale(1.05);
}
.al-khabar-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.al-khabar-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.al-khabar-card-cat-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 6px;
}
.al-khabar-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  margin: 0 0 10px;
  flex: 1;
}
.al-khabar-card-title a {
  color: var(--text-dark);
  text-decoration: none;
}
.al-khabar-card-title a:hover {
  color: var(--accent-blue);
}
.al-khabar-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
}

/* --------------------------------------------------------------------------
   Homepage: Lower Section (Opinion + Categories + Newsletter)
   -------------------------------------------------------------------------- */
.al-khabar-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  margin-bottom: 40px;
}
.al-khabar-category-strip {
  margin-bottom: 30px;
}
.al-khabar-category-grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Sidebar Widgets */
.al-khabar-bottom-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.al-khabar-widget-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px;
}

/* Opinion List */
.al-khabar-opinion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.al-khabar-opinion-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  transition: all 0.2s;
}
.al-khabar-opinion-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.al-khabar-author-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-subtle);
}
.avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.al-khabar-opinion-info {
  flex: 1;
}
.al-khabar-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-main);
}
.al-khabar-opinion-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.4;
  margin: 3px 0;
}
.al-khabar-opinion-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Categories Circular Icons Widget */
.al-khabar-categories-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}
.al-khabar-cat-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.al-khabar-cat-icon-item:hover {
  background: var(--bg-soft);
}
.cat-circle-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--navy-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.cat-name-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Newsletter Widget Card */
.newsletter-widget-box {
  background: var(--navy-main);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
}
.newsletter-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.newsletter-heading {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px;
}
.newsletter-sub {
  font-size: 12px;
  color: #CBD5E1;
  margin: 0 0 16px;
  line-height: 1.5;
}
.newsletter-side-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-side-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-side-input::placeholder {
  color: #94A3B8;
}
.newsletter-side-input:focus {
  border-color: var(--accent-sky);
  background: rgba(255, 255, 255, 0.15);
}
.newsletter-side-btn {
  background: var(--accent-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-side-btn:hover {
  background: var(--accent-blue-hover);
}

/* --------------------------------------------------------------------------
   Article / News Detail Page (Right panel of Mockup media_1791327595394.jpg)
   -------------------------------------------------------------------------- */
.al-khabar-article-page {
  padding: 24px 0 60px;
}
.al-khabar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.al-khabar-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.al-khabar-breadcrumb a:hover {
  color: var(--accent-blue);
}
.breadcrumb-separator {
  color: #CBD5E1;
  font-size: 14px;
}
.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

/* Article Header */
.al-khabar-article-header {
  margin-bottom: 24px;
}
.al-khabar-article-category-badge {
  display: inline-block;
  background-color: var(--accent-blue);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.al-khabar-article-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-darkest);
  line-height: 1.35;
  margin: 0 0 12px;
}
.al-khabar-article-subtitle {
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 18px;
}

/* Article Meta Row (Author + Circular Social Share Buttons) */
.al-khabar-article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.al-khabar-article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.al-khabar-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}
.al-khabar-author-placeholder {
  background: var(--navy-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.al-khabar-meta-text {
  display: flex;
  flex-direction: column;
}
.al-khabar-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
.al-khabar-publish-info {
  font-size: 12px;
  color: var(--text-muted);
}
.al-khabar-views-tag {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Circular Share Buttons matching mockup */
.al-khabar-share-circles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.share-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
}
.share-circle:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #FFFFFF;
}
.share-circle.x-twitter { background-color: #000000; }
.share-circle.facebook { background-color: #1877F2; }
.share-circle.linkedin { background-color: #0A66C2; }
.share-circle.whatsapp { background-color: #25D366; }
.share-circle.copy-link { background-color: #64748B; font-size: 13px; }

.font-zoom-group {
  display: flex;
  gap: 3px;
  margin-right: 6px;
}
.btn-zoom {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
}
.btn-zoom:hover {
  background: var(--border-subtle);
}
.btn-like {
  background: #FEE2E2;
  color: var(--breaking-red);
  border: 1px solid #FECACA;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-like:hover {
  background: #FCA5A5;
}

/* Featured Image */
.al-khabar-featured-image-wrap {
  margin: 0 0 28px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-soft);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.al-khabar-featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.al-khabar-image-caption {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

/* 2-Column Article Layout */
.al-khabar-article-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}
.al-khabar-article-main-content {
  min-width: 0;
}

/* AI Summary Card */
.al-khabar-ai-summary-card {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-right: 4px solid var(--accent-blue);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.ai-summary-badge {
  font-weight: 800;
  font-size: 14px;
  color: var(--accent-blue-hover);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-summary-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 8px;
}
.ai-keypoints-list {
  margin: 8px 0 0;
  padding-right: 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Body Text */
.al-khabar-body-text {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 30px;
}
.al-khabar-body-text p {
  margin-bottom: 1.5em;
}

/* Pull Quotes */
.al-khabar-pullquote {
  border-right: 4px solid var(--breaking-red);
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
  padding: 16px 22px;
  margin: 28px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-darkest);
  line-height: 1.7;
}
.al-khabar-pullquote cite {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: normal;
}

/* Timeline */
.al-khabar-timeline-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  margin: 28px 0;
}
.timeline-box-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-main);
  margin: 0 0 16px;
}
.timeline-items {
  position: relative;
  padding-right: 20px;
  border-right: 2px solid var(--accent-blue);
}
.timeline-node {
  margin-bottom: 18px;
  position: relative;
}
.timeline-node:last-child {
  margin-bottom: 0;
}
.timeline-node-dot {
  position: absolute;
  right: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
}
.timeline-node-time {
  font-size: 12px;
  color: var(--accent-blue);
  font-weight: 700;
}
.timeline-node-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
.timeline-node-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Source Box */
.al-khabar-source-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #92400E;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.source-link {
  color: var(--accent-blue);
  text-decoration: underline;
  font-weight: 600;
}

/* Tags Wrap */
.al-khabar-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.tags-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
.al-khabar-tag-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s;
}
.al-khabar-tag-chip:hover {
  background: var(--navy-main);
  color: #FFFFFF;
  border-color: var(--navy-main);
}

/* Bottom Share Bar */
.al-khabar-bottom-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  margin: 30px 0;
}
.share-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}
.share-group {
  display: flex;
  gap: 8px;
}

/* Author Box */
.al-khabar-author-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}
.author-box-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-box-avatar-ph {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}
.author-box-info {
  flex: 1;
}
.author-box-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-main);
  margin: 0 0 6px;
}
.author-box-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Related News 4-Card Grid */
.al-khabar-related-section {
  margin-bottom: 40px;
}
.al-khabar-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.al-khabar-related-card {
  display: flex;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
  transition: all 0.2s;
}
.al-khabar-related-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.related-thumb-link {
  width: 100px;
  height: 75px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-darkest);
}
.related-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.related-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-blue);
}
.related-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin: 2px 0;
}
.related-title a {
  color: var(--text-dark);
  text-decoration: none;
}
.related-title a:hover {
  color: var(--accent-blue);
}
.related-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* Comments Section */
.al-khabar-comments-section {
  margin-top: 40px;
}
.al-khabar-comment-form {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.form-row-1 {
  margin-bottom: 14px;
}
.al-khabar-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.al-khabar-label .required {
  color: var(--breaking-red);
}
.al-khabar-input,
.al-khabar-textarea {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.al-khabar-input:focus,
.al-khabar-textarea:focus {
  border-color: var(--accent-blue);
}
.al-khabar-submit-btn {
  background: var(--navy-main);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.al-khabar-submit-btn:hover {
  background: var(--navy-hover);
}
.al-khabar-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comment-bubble {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
}
.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.comment-date {
  font-size: 11px;
  color: var(--text-muted);
}
.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}
.comment-foot {
  margin-top: 10px;
  text-align: left;
}
.btn-report-comment {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
}
.btn-report-comment:hover {
  color: var(--breaking-red);
}
.comment-replies {
  margin-top: 14px;
  padding-right: 20px;
  border-right: 2px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comment-reply-item {
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 12px;
}

/* Sidebar in Article Page */
.al-khabar-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.al-khabar-sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px;
}
.ad-widget {
  padding: 12px;
  text-align: center;
}
.ad-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Navy Site Footer (Deep Navy Matching Header)
   -------------------------------------------------------------------------- */
.navy-site-footer {
  background-color: var(--navy-darkest);
  color: #94A3B8;
  padding: 50px 0 0;
  border-top: 3px solid var(--navy-light);
  margin-top: auto;
}
.navy-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navy-footer-col {
  display: flex;
  flex-direction: column;
}
.navy-footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: #94A3B8;
  margin: 12px 0 16px;
}
.navy-footer-social {
  display: flex;
  gap: 8px;
}
.navy-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.navy-social-icon:hover {
  background: var(--accent-blue);
  color: #FFFFFF;
}
.navy-footer-heading {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 8px;
}
.navy-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-blue);
}
.navy-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.navy-footer-links li a {
  color: #94A3B8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.navy-footer-links li a:hover {
  color: #FFFFFF;
  padding-right: 4px;
}
.navy-footer-bottom {
  padding: 18px 0;
  font-size: 13px;
  color: #64748B;
}
.navy-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navy-footer-meta {
  color: #94A3B8;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries for Al-Khabar Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .al-khabar-top-section,
  .al-khabar-bottom-grid,
  .al-khabar-article-grid {
    grid-template-columns: 1fr;
  }
  .al-khabar-8cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navy-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .al-khabar-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .al-khabar-hero-wrapper {
    grid-template-columns: 1fr;
  }
  .navy-header-inner {
    flex-wrap: wrap;
  }
  .navy-nav-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 10px;
  }
  .al-khabar-8cards-grid {
    grid-template-columns: 1fr;
  }
  .al-khabar-category-grid-4 {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .navy-footer-grid {
    grid-template-columns: 1fr;
  }
  .navy-footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


/* --------------------------------------------------------------------------
   Additional Exact Class Matchers for Home View Elements
   -------------------------------------------------------------------------- */
.al-khabar-hero-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
}
.al-khabar-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(15, 31, 56, 0.1) 0%, rgba(15, 31, 56, 0.5) 50%, rgba(15, 31, 56, 0.95) 100%);
  pointer-events: none;
}
.al-khabar-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px;
  z-index: 2;
  color: #FFFFFF;
}
.al-khabar-hero-summary {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 8px 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.al-khabar-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}
.al-khabar-hero-arrows {
  display: flex;
  gap: 8px;
  font-size: 18px;
  color: #FFFFFF;
}
.al-khabar-hero-arrows span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.al-khabar-hero-arrows span:hover {
  background: var(--accent-blue);
}

/* Stacked 3 Cards */
.al-khabar-stacked-img-wrap {
  width: 110px;
  height: 85px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.al-khabar-stacked-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.al-khabar-stacked-caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.al-khabar-pill-badge-sm {
  align-self: flex-start;
  background: #E0F2FE;
  color: var(--accent-blue);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Block Header & Most Read */
.al-khabar-block-header {
  border-bottom: 2px solid var(--navy-main);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.al-khabar-block-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-main);
  margin: 0;
}
.al-khabar-ranked-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.al-khabar-ranked-thumb-wrap {
  width: 65px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.al-khabar-ranked-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Bar & Navigation Arrows */
.al-khabar-section-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--navy-main);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.al-khabar-section-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-main);
  margin: 0;
}
.al-khabar-arrows-nav {
  display: flex;
  gap: 6px;
}
.al-khabar-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.al-khabar-arrow:hover {
  background: var(--navy-main);
  color: #FFFFFF;
  border-color: var(--navy-main);
}

.al-khabar-card-cat-label {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-block;
}

/* Category Row Cards */
.al-khabar-category-row-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.al-khabar-row-card {
  display: flex;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.2s;
}
.al-khabar-row-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.al-khabar-row-thumb-wrap {
  width: 150px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.al-khabar-row-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.al-khabar-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.al-khabar-row-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
}
.al-khabar-row-title a {
  color: var(--text-dark);
  text-decoration: none;
}
.al-khabar-row-title a:hover {
  color: var(--accent-blue);
}
.al-khabar-row-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 6px;
}
.al-khabar-row-time {
  font-size: 11px;
  color: var(--text-muted);
}
.al-khabar-more-link {
  font-size: 13px;
  color: var(--accent-blue);
  font-weight: 700;
  text-decoration: none;
}
.al-khabar-more-link:hover {
  text-decoration: underline;
}

/* Opinion List Elements */
.al-khabar-widget-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-main);
  margin: 0;
}
.al-khabar-opinions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.al-khabar-opinion-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}
.al-khabar-opinion-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.al-khabar-op-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.al-khabar-op-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}
.al-khabar-op-avatar-empty {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.al-khabar-op-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}
.al-khabar-op-author-desc {
  font-size: 11px;
  color: var(--text-muted);
}
.al-khabar-op-badge {
  display: inline-block;
  align-self: flex-start;
  background: #FEF3C7;
  color: #B45309;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.al-khabar-op-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}
.al-khabar-opinion-item:hover .al-khabar-op-title {
  color: var(--accent-blue);
}
.al-khabar-op-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* Category Quick Icons */
.al-khabar-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.al-khabar-cat-icon-item:hover .al-khabar-icon-circle {
  transform: scale(1.08);
}
.al-khabar-cat-icon-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Blue Container Newsletter Box */
.al-khabar-newsletter-box {
  background: var(--navy-main);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
}
.al-khabar-nl-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px;
}
.al-khabar-nl-desc {
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0 0 16px;
}
.al-khabar-nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.al-khabar-nl-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.al-khabar-nl-input::placeholder {
  color: #94A3B8;
}
.al-khabar-nl-input:focus {
  border-color: var(--accent-sky);
  background: rgba(255, 255, 255, 0.15);
}
.al-khabar-nl-btn {
  background: var(--accent-blue);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.al-khabar-nl-btn:hover {
  background: var(--accent-blue-hover);
}


/* --------------------------------------------------------------------------
   Header & Navigation Direct Exact Class Overrides
   -------------------------------------------------------------------------- */
.top-navy-strip {
  background-color: #0A1626;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
  font-size: 13px;
  color: #94A3B8;
}
.top-navy-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navy-strip-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navy-strip-weather {
  color: #F8FAFC;
  font-weight: 600;
}
.navy-strip-divider {
  color: #475569;
}
.navy-strip-date {
  color: #94A3B8;
}
.navy-strip-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navy-strip-item {
  color: #94A3B8;
  font-size: 12px;
}
.navy-strip-icon {
  cursor: pointer;
  font-size: 14px;
  color: #94A3B8;
  transition: color 0.2s;
}
.navy-strip-icon:hover {
  color: #FFFFFF;
}

/* Main Navigation Bar */
.navy-main-header {
  background-color: #0F1F38;
  color: #FFFFFF;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navy-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.navy-logo-wrap {
  display: flex;
  align-items: center;
}
.navy-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.navy-logo-title {
  font-family: 'Amiri', 'Cairo', serif;
  font-size: 34px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}
.navy-logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: #38BDF8;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* Nav Menu */
.navy-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.navy-nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.navy-nav-item a {
  color: #CBD5E1;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
}
.navy-nav-item a:hover,
.navy-nav-item.active a {
  color: #FFFFFF;
}
.navy-nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: #38BDF8;
  border-radius: 2px;
}

/* Left Actions */
.navy-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navy-search-box {
  position: relative;
}
.navy-search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #FFFFFF;
  padding: 6px 14px 6px 36px;
  font-family: inherit;
  font-size: 13px;
  width: 160px;
  transition: all 0.2s;
}
.navy-search-input::placeholder {
  color: #94A3B8;
}
.navy-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: #38BDF8;
  width: 200px;
}
.navy-search-submit {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}
.navy-user-icon,
.navy-theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.navy-user-icon:hover,
.navy-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* Red Breaking Bar */
.red-breaking-bar {
  background-color: #DC2626;
  color: #FFFFFF;
  padding: 7px 0;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}
.red-breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.red-breaking-speaker {
  font-size: 16px;
  flex-shrink: 0;
}
.red-breaking-ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.red-breaking-ticker {
  white-space: nowrap;
  display: inline-block;
  animation: breakingMarquee 35s linear infinite;
}
.red-breaking-ticker:hover {
  animation-play-state: paused;
}
@keyframes breakingMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.red-ticker-item {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.red-ticker-item:hover {
  text-decoration: underline;
}
.red-breaking-badge {
  background-color: #B91C1C;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 3px 14px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Footer Bottom */
.navy-site-footer {
  background-color: #0A1626;
  color: #94A3B8;
  padding: 50px 0 0;
  margin-top: 60px;
  border-top: 3px solid #162B4D;
}
.navy-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navy-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: #64748B;
}

.al-khabar-sidebar-widget .newsletter-sub {
  color: #000000 !important;
}
.al-khabar-sidebar-widget .newsletter-heading {
  color: #0F1F38 !important;
}

/* --------------------------------------------------------------------------
   Anti-AdBlock Detection Modal (Production-Grade UI)
   -------------------------------------------------------------------------- */
.anti-adblock-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 38, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: adblockFadeIn 0.3s ease-out;
}

@keyframes adblockFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anti-adblock-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid #E2E8F0;
  animation: adblockSlideUp 0.35s ease-out;
  direction: rtl;
}

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

.anti-adblock-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
}

.anti-adblock-title {
  font-size: 22px;
  font-weight: 800;
  color: #0F1F38;
  margin: 0 0 10px;
  line-height: 1.4;
}

.anti-adblock-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 20px;
}

.anti-adblock-steps {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 16px;
  text-align: right;
  margin-bottom: 24px;
  font-size: 13px;
  color: #334155;
  line-height: 1.8;
}

.anti-adblock-steps-title {
  font-weight: 800;
  color: #0F1F38;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.anti-adblock-step-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.anti-adblock-step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  background: #0284C7;
  color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.anti-adblock-btn {
  width: 100%;
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.anti-adblock-btn:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.anti-adblock-footnote {
  margin-top: 14px;
  font-size: 12px;
  color: #94A3B8;
}
