html {
  background: #f5efe942 !important;
}

/* =========================
   دليل استخدام الخدمات الإلكترونية
   ========================= */

/* Hero */
.page-node-type-page .paragraph--type--guide-hero {
  background: #f5f7fa;
  padding: 28px 32px;
  margin-bottom: 32px;
  border-right: 6px solid;
  border-image: linear-gradient(to bottom, #c9a24d, #0b3c5d) 1;
}


/* محتوى الدليل */
.page-node-type-page .paragraph--type--guide-content {
  margin-bottom: 40px;
  line-height: 1.9;
}

/* خطوات الدليل */
.page-node-type-page .paragraph--type--guide-step {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 24px 24px 24px 64px;
  margin-bottom: 24px;
  border-radius: 10px;
  
  counter-increment: guide-step;
  padding-right: 56px; /* مساحة للرقم */
}

/* عنوان الخطوة */
.page-node-type-page .paragraph--type--guide-step h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
}


/* عدّاد خطوات الدليل */
.page-node-type-page {
  counter-reset: guide-step;
}

.page-node-type-page .paragraph--type--guide-step::before {
  content: counter(guide-step);
  position: absolute;
  top: 20px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #c9a24d, #0b3c5d);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  font-size: 15px;
}

/* أيقونة للخطوة */
.page-node-type-page .paragraph--type--guide-step::after {
  content: "✔";
  position: absolute;
  top: 26px;
  left: 20px;
  font-size: 16px;
  color: #0b3c5d;
  opacity: 0.8;
}


/* تقليل المسافات النصية داخل الدليل */

.page-node-type-page .paragraph--type--guide-hero p,
.page-node-type-page .paragraph--type--guide-content p,
.page-node-type-page .paragraph--type--guide-step p,
.page-node-type-page .paragraph--type--guide-notes p,
.page-node-type-page .paragraph--type--guide-help p {
  margin: 0 0 8px !important;
  line-height: 1.7;
}

.page-node-type-page .paragraph--type--guide-step p + p {
  margin-top: 6px;
}


/* فاصل بصري */
.page-node-type-page .paragraph--type--guide-content {
  position: relative;
  padding-bottom: 0px;
}

.page-node-type-page .paragraph--type--guide-content::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to left, #c9a24d, #0b3c5d);
  margin: 24px 0;
}


@media (max-width: 768px) {

  .page-node-type-page .paragraph--type--guide-hero {
    padding: 20px;
  }

  .page-node-type-page .paragraph--type--guide-step {
    padding: 56px 20px 20px;
  }


  .page-node-type-page .paragraph--type--guide-step::before {
    top: 12px;
    right: 50%;
    transform: translateX(50%);
  }
  
  .page-node-type-page .paragraph--type--guide-step::after {
    top: auto;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
  }

}


/* إحساس التدرج والترتيب */
.page-node-type-page .paragraph--type--guide-step {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-node-type-page .paragraph--type--guide-step:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}


/* إبراز كلمات مهمة داخل الخطوات */
.page-node-type-page .paragraph--type--guide-step strong {
  color: #0b3c5d;
  font-weight: 700;
}


/* =========================
   Guide Notes – إرشادات عامة
   ========================= */
.paragraph--type--guide-notes {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-right: 6px solid #c9a24d;
  padding: 18px 22px;
  margin: 32px 0;
  border-radius: 6px;
}

/* نص الإرشادات */
.paragraph--type--guide-notes p {
  margin: 0 0 8px !important;
  line-height: 1.7;
}


/* =========================
   Guide Help – المساعدة
   ========================= */
.paragraph--type--guide-help {
  background: #f5f7fa;
  border-top: 4px solid #0b3c5d;
  padding: 22px 26px;
  margin-top: 48px;
  border-radius: 8px;
}

/* روابط المساعدة */
.paragraph--type--guide-help a {
  color: #0b3c5d;
  font-weight: 600;
  text-decoration: underline;
}

/* =========================
   تنسيق الاقتباسات
   ========================= */
.page-node-type-page blockquote {
  background: #fafafa;
  padding: 12px 18px;
  margin: 16px 0;
  font-style: italic;
  color: #444;
}


/* =========================
   عناوين أقسام الدليل (يدوي)
   ========================= */
.page-node-type-page .guide-section-title {
  position: relative;
  padding-right: 28px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #0b3c5d;
}

/* أيقونة خفيفة */
.page-node-type-page .guide-section-title::before {
  content: "◆";
  position: absolute;
  right: 0;
  top: 4px;
  font-size: 14px;
  color: #c9a24d;
}

.page-node-type-page .guide-section-title {
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.page-node-type-page .guide-section-title + p {
  color: #555;
}


/* ====================== قسم التشريعات والقرارات ========*/

/* =====================================================
   Legislative Decision Card – Base Style
   ===================================================== */

.legislation-item {
  background: #ffffff;
  border: 1px solid #e4e7eb;
  border-right: 4px solid #0b5ed7; /* أزرق حكومي */
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.legislation-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}


/* ================================
   Legislation Card – Fields
   ================================ */

/* رقم الوثيقة */
.legislation-item .doc-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b5ed7;
  margin-bottom: 6px;
}

/* عنوان التشريع */
.legislation-item .doc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b3a67;
  line-height: 1.6;
  margin-bottom: 6px;
}

.legislation-item .doc-title a {
  color: inherit;
  text-decoration: none;
}

.legislation-item .doc-title a:hover {
  text-decoration: underline;
}

/* نوع الوثيقة */
.legislation-item .doc-type {
  font-size: 0.85rem;
  color: #495057;
  margin-bottom: 4px;
}

/* تاريخ الإصدار */
.legislation-item .doc-date {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 4px;
}

/* حالة النفاذ */
.legislation-item .doc-status {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* رابط PDF */
.legislation-item .doc-pdf a {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b5ed7;
  border: 1px solid #0b5ed7;
  border-radius: 4px;
  text-decoration: none;
}

.legislation-item .doc-pdf a:hover {
  background: #0b5ed7;
  color: #ffffff;
}


/* ================================
   Document Type Badge
   ================================ */

.legislation-item .doc-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #f1f3f5;
  color: #343a40;
}


/* ================================
   Mobile Optimization
   ================================ */

@media (max-width: 768px) {

  .legislation-item {
    padding: 14px;
  }

  .legislation-item .doc-title {
    font-size: 1rem;
  }

  .legislation-item .doc-pdf a {
    width: 100%;
    text-align: center;
  }
}



/* Status colors */
.legislation-item .status-active {
  background: #e6f4ea;
  color: #1e7e34;
}

.legislation-item .status-repealed {
  background: #fdecea;
  color: #b02a37;
}

.legislation-item .status-suspended {
  background: #fff4e5;
  color: #b26a00;
}


.legislation-item .doc-pdf a {
  position: relative;
  padding-right: 32px;
}

.legislation-item .doc-pdf a::after {
  content: "⬇";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}



/*--------------------2---*/
