

/* ===============================
   News page header
   =============================== */
/*
.news-page-header {
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-radius: 18px;
}

.news-page-header h1 {
  margin: 0 0 6px;
  font-size: 1.8rem;
  color: #0b3c5d;
}

.news-page-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

*/



/* ===================================================
   News Page Hero Header (EU Style)
   =================================================== */

/* الحاوية الخارجية */
.news-page-hero {
  background: #f6f9fc;
  padding: 56px 0 64px;
}

/* التوسيط مثل EU */
.news-page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  direction: rtl;
}

/* ===== Breadcrumb ===== */

.news-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  padding: .45rem .85rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 16px;
}


.news-breadcrumb a {
  color: #0b5ed7;
  text-decoration: none;
}

.news-breadcrumb a:hover {
  text-decoration: underline;
}

.news-breadcrumb .sep {
  margin: 0 6px;
  color: #9ca3af;
}

/* ===== العنوان ===== */
.news-page-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0b3c5d;
  margin: 0 0 12px 0;
}

/* ===== الوصف ===== */
.news-page-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
  max-width: 1080px;
}

/* ===== موبايل ===== */
@media (max-width: 768px) {
  .news-page-hero {
    padding: 36px 0 44px;
  }

  .news-page-title {
    font-size: 2rem;
  }

  .news-page-description {
    font-size: 0.95rem;
  }
}


/* ===================================================
   Visual Enhancements – News Header (EU Inspired)
   =================================================== */

/* خلفية ناعمة متدرجة */
.news-page-hero {
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #f3f6fb 100%
  );
  border-bottom: 1px solid #e5e7eb;
}

/* خط Accent تحت العنوان */
.news-page-title {
  position: relative;
  padding-bottom: 16px;
}

.news-page-title::after {
  content: "";
  position: absolute;
  right: 0; /* RTL */
  bottom: 0;
  width: 64px;
  height: 4px;
  background: #0b5ed7;
  border-radius: 2px;
}

/* تحسين الوصف */
.news-page-description {
  margin-top: 18px;
  color: #374151;
}


/* مسافة ذكية قبل المحتوى */
.news-page-main {
  margin-top: 32px;
}

/* موبايل */
@media (max-width: 768px) {

  .news-page-title::after {
    width: 48px;
  }

  .news-breadcrumb {
    font-size: 0.8rem;
  }

  .news-page-hero {
    padding: 48px 16px 36px;
    text-align: center;
  }

  .news-page-hero-inner {
    align-items: center;
  }

  .news-breadcrumb {
    justify-content: center;
  }
}


/* Shadow under news header */
.news-page-hero {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
}

/* Global accent color for News page */
:root {
  --news-accent: #0b5ed7;
}

.news-page-title::after {
  background: var(--news-accent);
}

.news-breadcrumb a {
  color: var(--news-accent);
}

.news-breadcrumb {
  background: rgba(11, 94, 215, 0.06);
}

.news-page-main select,
.news-page-main .form-select {
  border-color: var(--news-accent);
}

.news-page-main select:focus {
  box-shadow: 0 0 0 2px rgba(11, 94, 215, 0.15);
}

/* Smooth scroll appearance */
.news-page-hero {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.news-page-main {
  transition: margin-top 0.3s ease;
}

body.scrolled .news-page-hero {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}



