/* ====== جعل الإعلانات تأخذ كامل العرض ====== */
.cmp_announcements {
    display: block;
    width: 102% !important;
}

h1 {
    color: #000000 !important;
    font-weight: 700;
}

.cmp_announcements > li {
    width: 102% !important;
    display: block;
    border-bottom: 1px solid #ddd; /* خط فاصل اختياري */
    padding: 1.5rem 0;
}

/* إلغاء أي تقسيم للأعمدة */
.cmp_announcements .more,
.cmp_announcements .obj_announcement_summary {
    float: none !important;
    width: 103% !important;
    border: none !important;
}

.pkp_navigation_primary_wrapper {
    border-top: 4px solid #388E3C;  /* الخط العلوي (اختار اللون اللي تحبه) */
    border-bottom: 2px solid #388E3C; /* الخط السفلي */
    padding-top: 0.5rem; /* مسافة صغيرة داخلية */
    padding-bottom: 0.5rem;
}





html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, 
              #DDD 0%,          /* أخضر كامل على أقصى اليسار */
              #DDD 15%,         /* انتقال تدريجي */
              #DDD 50%,         /* الأبيض في الوسط */
              #DDD 85%,         /* رجوع تدريجي للرمادي */
              #DDD 100%);       /* أخضر كامل على أقصى اليمين */
}
/* ====== الصندوق الأبيض الرئيسي ====== */
.pkp_structure_page {
  margin: 0 auto;
  max-width: 1200px; /* عرض الصندوق */
  background: #ffffff; /* لون الصندوق */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* ظل خفيف */
  border-radius: 4px; /* حواف بسيطة */
}

/* مسافة حول الصفحة على الشاشات الكبيرة */
@media (min-width:1200px) {
  .pkp_structure_page {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

/* ====== إزالة أي خلفية صلبة داخلية ====== */
.pkp_structure_content.has_sidebar,
.pkp_structure_main {
  background: transparent;
}

/* ====== تحسين شكل العناوين الرئيسية ====== */
h1, .page_title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #155c86; /* لون أساسي للعناوين */
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* ====== إبراز الـ Editor-in-Chief ====== */
.editor-in-chief {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #155c86;
  text-align: center;
  margin: 2rem 0 1rem;
  padding: 1rem;
  background: #f0f6fa; /* خلفية خفيفة */
  border-left: 5px solid #155c86;
  border-radius: 4px;
}

/* ====== نصوص الصفحة ====== */
p {
  font-family: "Noto Serif", serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 1rem;
}



/* ====== Footer Style ====== */
.pkp_structure_footer_wrapper {
    background-color: #ffffff; /* خلفية الفوتر */
    padding: 2rem 1rem;
    border-top: 1px solid #ddd; /* خط علوي رفيع */
    position: relative; /* حتى نضيف الشريط السفلي */
}

/* شريط سفلي أخضر */
.pkp_structure_footer_wrapper::after {
    content: "";
    display: block;
    width: 100%;
    height: 20px; /* ارتفاع المستطيل الأخضر */
    background-color: #388E3C;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* محتوى الفوتر */
.pkp_structure_footer {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

/* الروابط */
.pkp_structure_footer a {
    color: #388E3C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus {
    color: #1b5e20; /* أخضر أغمق عند المرور */
    text-decoration: underline;
}

/* ======================= */
/*     Theme Dark Colors   */
/* ======================= */


a {
    color: #1b5e20; /* أخضر غامق */
}
a:hover,
a:focus {
    color: #2e7d32; /* أخضر أفتح عند الهوفر */
}

/* أزرار عامة */
.pkp_button,
.cmp_button,
.cmp_button_wire,
.obj_galley_link {
    color: #1b5e20;
    border-color: #1b5e20;
}
.pkp_button:hover,
.pkp_button:focus,
.cmp_button:hover,
.cmp_button:focus,
.cmp_button_wire:hover,
.cmp_button_wire:focus,
.obj_galley_link:hover,
.obj_galley_link:focus {
    color: #2e7d32;
    border-color: #2e7d32;
}

/* زر رئيسي */
.pkp_button_primary {
    background: #1b5e20;
    border-color: #1b5e20;
    color: #fff;
}
.pkp_button_primary:hover,
.pkp_button_primary:focus {
    background: #2e7d32;
}

/* إشعارات */
.cmp_notification {
    border-left-color: #1b5e20;
}
.cmp_notification .success {
    border-color: #1b5e20;
}
.cmp_notification .no {
    border-color: #ff4040;
}

/* شريط الترويسة */
.header_view {
    background: #003d33;
}
.header_view .return {
    color: #003d33;
}
.header_view .return:hover,
.header_view .return:focus {
    background: #004d40;
    color: #fff;
}

/* القوائم المنسدلة */
.pkp_nav_list ul a {
    color: #003d33;
}
.pkp_nav_list ul a:hover,
.pkp_nav_list ul a:focus {
    border-color: #1b5e20;
    color: #1b5e20;
}

/* القائمة الرئيسية */
.pkp_navigation_primary>li>a {
    color: #003d33;
    border-bottom: 2px solid transparent;
}
.pkp_navigation_primary>li>a:hover {
    border-color: #1b5e20;
}
.pkp_navigation_primary>li>a:focus {
    background: #1b5e20;
    color: #fff;
}

/* روابط المساعدة */
.pkp_help_link {
    color: #1b5e20;
}
.pkp_help_link:hover,
.pkp_help_link:focus {
    color: #2e7d32;
}
.pkp_help_link:focus {
    box-shadow: 0 0 0 3px #1b5e20;
}

/* زر البحث */
.page_search .submit button:after {
    background: #1b5e20;
}
.page_search .submit button:hover:after,
.page_search .submit button:focus:after {
    background: #2e7d32;
}

/* روابط المقالات */
.obj_announcement_summary .read_more,
.pkp_page_index .current_issue .read_more {
    color: #1b5e20;
}
.obj_announcement_summary .read_more:hover,
.pkp_page_index .current_issue .read_more:hover {
    color: #2e7d32;
}

/* روابط الملاحق */
.obj_galley_link_supplementary {
    color: #1b5e20;
}
.obj_galley_link_supplementary:hover,
.obj_galley_link_supplementary:focus {
    color: #2e7d32;
}

/* زر Make a Submission */
.block_make_submission a {
    color: #fff;               /* نص أبيض */
    background: #1b5e20;       /* أخضر غامق */
    border: 1px solid #1b5e20;
    font-weight: bold;
}
.block_make_submission a:hover,
.block_make_submission a:focus {
    background: #2e7d32;       /* أخضر أفتح عند الهوفر */
    border-color: #2e7d32;
    color: #fff;
}

/* الفوتر */
.pkp_structure_footer_wrapper {
    background: #f5f5f5;
}
.pkp_block .title {
    color: #003d33;
}
.block_browse .has_submenu {
    color: #003d33;
}

/* ======================= */
/*      End Overrides      */
/* ======================= */