﻿.page_article .item.abstract .value,
.obj_article_details .item.abstract,
.article-details .abstract {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* تقليل ارتفاع الفوتر والهوامش الداخلية */
.pkp_structure_footer {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    min-height: auto !important;
}

/* تقليل الحجم والشريط السفلي إن وجد */
.pkp_structure_footer .pkp_footer_content {
    padding: 0 !important;
    margin: 0 auto !important;
}
/* ==========================================
1.	توحيد اللون الكحلي على جميع طبقات الهيدر
========================================== */
header.pkp_structure_head,
.pkp_head_wrapper,
#headerNavigationContainer,
.pkp_navigation_primary_row,
.pkp_site_nav_menu {
background-color: #0b2545 !important;
background-image: linear-gradient(135deg, #0b2545 0%, #134074 100%) !important;
height: auto !important;
min-height: 80px !important;
}

/* ==========================================
2. تحسين تنسيق اسم المجلة للكمبيوتر
========================================== */
.pkp_site_name {
display: flex !important;
align-items: center !important;
gap: 15px !important;
margin: 8px 0 !important;
}

.pkp_site_name a,
.pkp_site_name .is_text {
white-space: normal !important;
word-break: break-word !important;
color: #ffffff !important;
font-size: 1.85rem !important;
font-weight: 700 !important;

line-height: 1.3 !important;
text-decoration: none !important;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================
3. ضبط حجم الشعار وإظهاره بجانب الاسم
========================================== */
.pkp_site_name img {
max-height: 65px !important;
width: auto !important;
display: inline-block !important;
object-fit: contain !important;
}

/* 

==========================================
4. الاستجابة الشاملة للهواتف الذكية (الجوال)
========================================== */
@media (max-width: 991px) {
.pkp_head_wrapper {
display: flex !important;
flex-direction: column !important;
align-items: center !important;
padding: 10px 12px !important;
}

.pkp_site_name {
flex-direction: column !important;
justify-content: center !important;
width: 100% !important;
gap: 8px !important;
text-align: center !important;
}


.pkp_site_name a,
.pkp_site_name .is_text {
font-size: 1.10rem !important;
text-align: center !important;
}

.pkp_site_name img {
max-height: 50px !important;
}

.pkp_navigation_primary_row {
width: 100% !important;
display: flex !important;
justify-content: space-between !important;
}
}

/* =======================================

===
5. ضبط فقرات النص لمنع التباعد المزعج
========================================== */
.page_about, .pkp_block_about {
text-align: left !important;
line-height: 1.65 !important;
}

/* تنسيق الشريط الكحلي */
.journal-banner-ticker {
  background-color: #0b2545; /* اللون الأزرق الكحلي */
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 15px 15px; /* خلفية الرموز البرمجية/النقاط الناعمة */
  color: #ffffff;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
  border-radius: 4px;
  direction: rtl;
}

.ticker-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

/* حركة الشريط السلسة */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(50%);
  }
}

/* إيقاف الحركة عند تحريك الماوس فوق الشريط */
.journal-banner-ticker:hover .ticker-content {
  animation-play-state: paused;
}

/* تنسيق شعار الجامعة داخل الشريط */
.univ-logo {
  height: 35px;
  width: auto;
  margin: 0 15px;
  vertical-align: middle;
  filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 0.5));
}

/* تنسيق النص */
.ticker-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-left: 40px;
}
/* =============================================
   تحويل منطقة Journal Summary بالكامل إلى شريط متحرك
   ============================================= */

/* استهداف صندوق ملخص المجلة في الواجهة */
.homepage-journal-summary,
.journal-summary,
.cmp_journal_description {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 130px !important;
  margin-top: 20px !important;
  padding: 20px 25px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  color: #ffffff !important;
  
  /* الخلفية الكحلية المتحركة */
  background: linear-gradient(-45deg, #0b2545, #133a68, #1d4e89, #0b2545) !important;
  background-size: 400% 400% !important;
  animation: summaryBgGradient 12s ease infinite !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

/* حركة التدرج */
@keyframes summaryBgGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* أشكال الـ DNA والأشكال العلمية الشفافة */
.homepage-journal-summary::before,
.journal-summary::before,
.cmp_journal_description::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  z-index: 1 !important;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.25) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 30%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpolygon points='50,15 90,85 10,85' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1.5'/%3E%3Ccircle cx='50' cy='50' r='25' fill='none' stroke='rgba(0,212,255,0.12)' stroke-width='1'/%3E%3C/svg%3E") !important;
  pointer-events: none !important;
}

/* ضبط لون النصوص داخل الـ Summary لتصبح واضحة وفوق الخلفية */
.homepage-journal-summary *,
.journal-summary *,
.cmp_journal_description * {
  position: relative !important;
  z-index: 2 !important;
  color: #ffffff !important;
}

/* تنسيق الروابط المضافة داخل الـ Summary */
.homepage-journal-summary a,
.journal-summary a,
.cmp_journal_description a {
  color: #00d4ff !important;
  text-decoration: underline !important;
  font-weight: bold !important;
}