@charset "UTF-8";
/* =====================================================================
   مجلة جامعة سرت العلمية (SUSJ — susj, journal id 6)
   ورقة أنماط مخصصة لثيم OJS الافتراضي — OJS 3.5.0.3
   الإصدار 1 — مبنية على v3 لمجلة كلية التربية — 2026-10-17
   ---------------------------------------------------------------------
   تُرفع إلى: public/journals/6/styleSheet.css
   والخطوط إلى: public/journals/6/fonts/   (روابطها نسبية لهذا الملف)
   تدعم الأصناف القديمة: custom-texts, custom-logos, ojs-table, reviewers-table
   ألوان الهوية مستخرجة من شعار المجلة (كحلي + أزرق + سماوي).
   ===================================================================== */


/* ---------- 1. الخطوط (استضافة ذاتية، رخصة SIL OFL) ---------- */

@font-face {
  font-family: "SU Plex";
  src: url("fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "SU Plex";
  src: url("fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "SU Plex";
  src: url("fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "SU Plex";
  src: url("fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "SU Plex";
  src: url("fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "SU Plex";
  src: url("fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* خط النسخ للقراءة الطويلة (الملخصات) — العربية فقط، واللاتيني يسقط على Plex */
@font-face {
  font-family: "SU Naskh";
  src: url("fonts/noto-naskh-arabic-arabic-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}


/* ---------- 2. المتغيرات ---------- */

:root {
  /* الهوية (من شعار المجلة) */
  --c-brand: #1780C1;       /* أزرق الشعار — للزخرفة والحدود */
  --c-link: #005AA6;        /* أزرق الروابط — تباين 7.2:1 */
  --c-navy: #134264;        /* كحلي الثيم — شريط التنقل (أبيض عليه 10.6:1) */
  --c-navy-deep: #1A2748;   /* كحلي Sirte — العناوين والتذييل (15.7:1) */
  --c-accent: #00ABE3;      /* سماوي — زخرفة؛ لا نص أبيض عليه، النص عليه كحلي (5.7:1) */
  --c-accent-dark: #0079A8; /* سماوي أغمق — علامات القوائم والحدود (4.9:1) */
  --c-accent-soft: #E6F6FC;
  --c-sky: #1780C1;         /* أزرق متوسط — زخرفة فقط */

  /* محايدة */
  --c-ink: #1D2433;
  --c-muted: #5A6475;
  --c-line: #E2E7EF;
  --c-line-strong: #C9D2E0;
  --c-soft: #F6F8FB;
  --c-white: #FFFFFF;

  /* الخطوط */
  --f-ui: "SU Plex", "Segoe UI", Tahoma, Arial, sans-serif;
  --f-read: "SU Naskh", "SU Plex", "Traditional Arabic", serif;

  /* الشكل */
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 16px rgba(16, 24, 40, .07);

  /* ارتفاع الشعار: 100px على الكمبيوتر، ويصغر ليتسع في الشاشات الضيقة.
     0.178 = 126 / 707 (نسبة الجزء الظاهر من صورة الشعار) */
  --logo-h: min(100px, calc((100vw - 96px) * 0.178));
}


/* ---------- 3. الأساس ---------- */

html, body {
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* المعرّفات (ISSN، DOI، البريد) تُعرض دائمًا من اليسار إلى اليمين.
   داخل سطر عربي يقلب المتصفح ترتيب أجزائها: 2791-3740 تظهر 3740-2791 */
a:is([href*="issn.org"], [href*="doi.org"], [href^="mailto:"]) {
  direction: ltr;
  unicode-bidi: isolate;
}

/* مسافة أوسع بين الكلمات العربية: خط Plex ضيّق المسافات فتبدو الكلمات متلاصقة على الشاشات العادية */
html[lang="ar"] body { word-spacing: .08em; }

a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-navy-deep); }

::selection { background: var(--c-accent-soft); color: var(--c-ink); }

/* مؤشر تركيز واضح للوحة المفاتيح (WCAG 2.4.7 / 2.4.11) */
:focus-visible { outline: 3px solid var(--c-navy-deep); outline-offset: 2px; border-radius: 4px; }

.pkp_structure_main h1, .pkp_structure_main h2, .pkp_structure_main h3,
.pkp_structure_main h4, .pkp_structure_main h5, .pkp_structure_main h6,
.pkp_block .title, .obj_article_summary > .title, .obj_issue_summary .title {
  font-family: var(--f-ui);
  color: var(--c-navy-deep);
}
.pkp_structure_main h1 { font-size: 1.85rem; line-height: 1.5; font-weight: 700; }
.pkp_structure_main h2 { font-size: 1.4rem;  line-height: 1.55; font-weight: 700; }
.pkp_structure_main h3 { font-size: 1.2rem;  line-height: 1.6; font-weight: 700; }
.pkp_structure_main h4 { font-size: 1.05rem; line-height: 1.6; font-weight: 700; }

.pkp_structure_main p, .pkp_structure_main ul { line-height: 1.9; }

/* روابط التخطي تظهر عند التركيز فقط */
.cmp_skip_to_content a:focus {
  background: var(--c-navy-deep);
  color: var(--c-white);
  font-weight: 600;
  padding: .5rem 1rem;
}


/* ---------- 4. الترويسة ---------- */

.pkp_structure_head {
  background: var(--c-white);
  border-top: 4px solid var(--c-accent);
  border-bottom: 0;
}

/* أي شعار يُرفع: يظهر كاملًا بارتفاع موحّد */
.pkp_site_name .is_img {
  display: block;
  max-width: 100%;
  margin: 14px 0;
}
.pkp_site_name .is_img img {
  display: block;
  height: auto;
  max-height: var(--logo-h);
  width: auto;
  max-width: 100%;
}
.pkp_site_name .is_img:focus { outline: 0; }
.pkp_site_name .is_img:focus-visible { outline: 3px solid var(--c-navy-deep); }

/* بانر المجلة (صورة 1200×300 تحمل الاسم وأرقام ISSN وبيانات الاتصال): يملأ عرض الصفحة بزوايا مستديرة وظل خفيف.
   لا تُقصّ الصورة هنا، فأرقام ISSN فيها صحيحة (2518-5454 / 3106-3314). */
.pkp_site_name .is_img img[width="1200"][height="300"] {
  width: 100%;
  max-width: 100%;
  max-height: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.pkp_site_name .is_img:has(img[width="1200"][height="300"]) { margin: 18px 0 14px; }

/* قائمة المستخدم (التسجيل / الدخول) */
.pkp_navigation_user a { color: var(--c-muted); font-size: .85rem; }
.pkp_navigation_user a:hover { color: var(--c-navy-deep); }

@media (min-width: 992px) {
  .has_site_logo .pkp_head_wrapper { padding-top: 1.25rem; }

  /* شريط تنقل كحلي بعرض الشاشة */
  /* border-image يمدّ الخلفية أفقيًا دون قصّ القوائم المنسدلة (clip-path كان يقصّها) */
  .pkp_navigation_primary_row {
    background: var(--c-navy);
    border-image: conic-gradient(var(--c-navy) 0 0) fill 0 / / 0 100vmax;
  }
  /* الثيم يحدّ القائمة بـ 80% من العرض فتلتف العناصر العشرة على سطرين؛ نتركها تأخذ ما يتبقى بعد رابط البحث */
  .pkp_navigation_primary { max-width: calc(100% - 100px); }
  .pkp_navigation_primary > li > a {
    margin: 0;
    padding: .8rem .62rem calc(.8rem - 3px);   /* 10 عناصر في القائمة: حشوة أضيق لتبقى في سطر واحد */
    border-bottom: 3px solid transparent;
    color: var(--c-white);
    font-weight: 600;
    font-size: .93rem;
    white-space: nowrap;
  }
  .pkp_navigation_primary > li:first-child a,
  .pkp_navigation_primary > li:last-child a { margin: 0; }
  .pkp_navigation_primary > li > a:hover {
    color: var(--c-white);
    border-color: var(--c-accent);
  }
  .pkp_navigation_primary > li > a:focus { background: transparent; color: var(--c-white); }
  .pkp_navigation_primary > li > a:focus-visible {
    background: var(--c-navy-deep);
    outline: 3px solid var(--c-accent);
    outline-offset: -3px;
  }

  /* القوائم المنسدلة */
  .pkp_navigation_primary ul {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .4rem 0;
    min-width: 15rem;
  }
  .pkp_navigation_primary ul a {
    color: var(--c-ink);
    padding: .5rem 1.1rem;
    border: 0;
    font-size: .95rem;
  }
  .pkp_navigation_primary ul a:hover,
  .pkp_navigation_primary ul a:focus,
  .pkp_navigation_primary .dropdown-menu a:hover,
  .pkp_navigation_primary .dropdown-menu a:focus {
    background: var(--c-soft);
    color: var(--c-navy-deep);
    border-color: transparent;
  }

  /* رابط البحث داخل الشريط */
  .pkp_navigation_search_wrapper a,
  .pkp_navigation_search_wrapper a:hover {
    color: var(--c-white);
    padding-top: .8rem;
    padding-bottom: .8rem;
    font-weight: 600;
    border: 0;
  }
  .pkp_navigation_search_wrapper a:hover { color: var(--c-accent); }

  .pkp_navigation_user_wrapper { top: 6px; }
}


/* ---------- 5. التخطيط العام ---------- */

.pkp_structure_page { margin: 0; }
.pkp_structure_content { padding-top: 2.5rem; }

/* إزالة الخطوط الرأسية الرمادية حول العمود الرئيسي */
.pkp_structure_main:before,
.pkp_structure_main:after { display: none; }

.cmp_breadcrumbs { font-size: .88rem; color: var(--c-muted); }
.cmp_breadcrumbs a { color: var(--c-muted); }
.cmp_breadcrumbs a:hover { color: var(--c-link); }
.cmp_breadcrumbs .current { color: var(--c-ink); font-weight: 600; }


/* ---------- 6. الشريط الجانبي ---------- */

.pkp_structure_sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 3rem;
}
.pkp_block {
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: .95rem;
}
.pkp_block .title,
.block_custom .content :is(h2, h3, h4) {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem;
  padding: 0;
  border: 0;
  font-family: var(--f-ui);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy-deep);
}
.pkp_block .title::before,
.block_custom .content :is(h2, h3, h4)::before {
  content: "";
  flex: none;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--c-accent);
}
.pkp_block ul { margin: 0; padding: 0; list-style: none; }

/* زر التقديم ثم اللغة في الأعلى؛ بقية الكتل بترتيبها في إعدادات OJS */
.block_make_submission { order: -2; }
.block_language        { order: -1; }

/* زر تقديم البحث */
.block_make_submission {
  padding: 0;
  border: 0;
  background: transparent;
}
.block_make_submission a,
.block_make_submission a:visited {
  display: block;
  padding: .85rem 1rem;
  background: var(--c-accent);
  color: var(--c-navy-deep);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}
.block_make_submission a::before {
  font-family: FontAwesome;
  content: "\f044";
  margin-inline-end: .5em;
  font-weight: normal;
}
.block_make_submission a:hover,
.block_make_submission a:focus {
  background: var(--c-navy-deep);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}

/* اختيار اللغة: زران متجاوران */
.block_language ul { display: flex; gap: .5rem; }
.block_language li { flex: 1; }
.block_language a {
  display: block;
  padding: .4rem .5rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  color: var(--c-navy-deep);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.block_language a:hover { border-color: var(--c-navy); background: var(--c-soft); }
.block_language .current a {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
}

/* قوائم الروابط في كتلة «المعلومات» وأي كتلة مخصصة */
.block_information li a,
.block_custom .content :is(ul, ol) a {
  display: block;
  padding: .45rem 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
}
.block_information li:last-child a,
.block_custom .content :is(ul, ol) li:last-child a { border-bottom: 0; }
.block_information li a::before,
.block_custom .content :is(ul, ol) a::before {
  font-family: FontAwesome;
  content: "\f104";            /* سهم باتجاه القراءة */
  margin-inline-end: .6em;
  color: var(--c-brand);
}
[dir="ltr"] .block_information li a::before,
[dir="ltr"] .block_custom .content :is(ul, ol) a::before { content: "\f105"; }
.block_information li a:hover,
.block_custom .content :is(ul, ol) a:hover { color: var(--c-link); }
.block_custom .content :is(ul, ol) { margin: 0; padding: 0; list-style: none; }

/* الكتل المخصصة: نص عادي */
.block_custom .content { font-size: .92rem; line-height: 1.8; }
.block_custom .content p { margin: .35rem 0; }
.block_custom .content > :first-child { margin-top: 0; }
.block_custom .content > :last-child { margin-bottom: 0; }

/* الكتل المخصصة: الصور.
   كل فقرة لا تحوي إلا صورة (مع رابط أو دونه) تصبح بلاطة بارتفاع موحد، اثنتان في كل سطر. */
.block_custom .content:has(img) {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.block_custom .content:has(img) > * { flex: 1 1 100%; margin: 0; }
.block_custom .content > p:has(> img:only-child),
.block_custom .content > p:has(> a:only-child > img:only-child) {
  flex: 1 1 calc(50% - .3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: .6rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  transition: border-color .15s ease;
}
.block_custom .content > p:has(> a:only-child > img:only-child):hover { border-color: var(--c-sky); }
.block_custom .content > p > a:only-child:has(> img:only-child) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.block_custom .content img {
  display: block;
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* صورة عريضة تأخذ السطر كله: أضف لها class="su-wide" */
.block_custom .content > p:has(img.su-wide) { flex-basis: 100%; }

/* عدّاد الزوار لا يُعرض */
.pkp_block .content > :is(p, div):has(a[href*="flagcounter"]),
.pkp_block .content > :is(p, div):has(img[src*="flagcounter"]) { display: none !important; }

/* خلاصات RSS/Atom في سطر واحد */
.block_web_feed ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.block_web_feed img { display: block; height: 15px; width: auto; }


/* ---------- 7. الأزرار والنماذج ---------- */

.cmp_button,
.cmp_form .buttons button,
.page_lost_password .buttons button,
.page_search .submit button,
.pkp_button_primary {
  padding: .5rem 1.4rem;
  background: var(--c-navy);
  border: 1px solid var(--c-navy);
  border-radius: 8px;
  box-shadow: none;
  color: var(--c-white);
  font-family: var(--f-ui);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
}
.cmp_button:hover, .cmp_button:focus,
.cmp_form .buttons button:hover, .cmp_form .buttons button:focus,
.page_search .submit button:hover, .page_search .submit button:focus {
  background: var(--c-navy-deep);
  border-color: var(--c-navy-deep);
  color: var(--c-white);
  box-shadow: none;
}
.cmp_form .buttons a { color: var(--c-link); }

.cmp_form input[type="text"], .cmp_form input[type="email"],
.cmp_form input[type="password"], .cmp_form input[type="url"],
.cmp_form input[type="tel"], .cmp_form select, .cmp_form textarea,
.page_search input[type="text"], .page_search select {
  padding: .55rem .8rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  background: var(--c-white);
  font-family: var(--f-ui);
  font-size: 1rem;
  color: var(--c-ink);
}
.cmp_form input:focus, .cmp_form select:focus, .cmp_form textarea:focus,
.page_search input:focus, .page_search select:focus {
  border-color: var(--c-brand);
  outline: 3px solid rgba(6, 122, 194, .25);
  outline-offset: 0;
}
.cmp_form input[type="text"], .cmp_form input[type="email"],
.cmp_form input[type="password"], .cmp_form input[type="url"],
.cmp_form input[type="tel"] { width: 100%; max-width: 440px; }
.cmp_form .label, .cmp_form label { font-weight: 600; color: var(--c-ink); }
.cmp_form fieldset legend { font-weight: 700; color: var(--c-navy-deep); }

/* إصلاح من الثيم: تسميات حقول التاريخ في صفحة البحث تُدفع 2000px يسارًا
   فتُنشئ تمريرًا أفقيًا في الصفحة العربية. تبقى مخفية ومقروءة لقارئ الشاشة. */
.page_search .from label,
.page_search .to label {
  position: absolute !important;
  left: auto;
  right: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.cmp_notification {
  padding: 1rem 1.25rem;
  background: var(--c-accent-soft);
  border: 0;
  border-inline-start: 4px solid var(--c-accent);
  border-radius: 8px;
}


/* ---------- 8. أزرار الملفات (PDF) ---------- */

.obj_galley_link,
.obj_galley_link:visited {
  padding: .3rem 1.1rem;
  background: var(--c-navy);
  border: 1px solid var(--c-navy);
  border-radius: 6px;
  color: var(--c-white);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.8;
  text-decoration: none;
  transition: background-color .15s ease;
}
.obj_galley_link:hover, .obj_galley_link:focus {
  background: var(--c-navy-deep);
  border-color: var(--c-navy-deep);
  color: var(--c-white);
}
.obj_galley_link:before { margin-inline: 0 .4em; }

/* الملفات المقيدة: تبقى أيقونة القفل، بلا اللون الأحمر المنفّر */
.obj_galley_link.restricted,
.obj_galley_link.restricted:visited {
  background: var(--c-white);
  border-color: var(--c-navy);
  color: var(--c-navy);
}
.obj_galley_link.restricted:before { color: var(--c-navy); }
.obj_galley_link.restricted:hover,
.obj_galley_link.restricted:focus {
  background: var(--c-navy);
  color: var(--c-white);
}
.obj_galley_link.restricted:hover:before,
.obj_galley_link.restricted:focus:before { color: var(--c-white); }


/* ---------- 9. العدد (الرئيسية وصفحة العدد) ---------- */

/* تسمية «العدد الحالي» */
.page_index_journal .current_issue > h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-link);
}
.page_index_journal .current_issue > h2::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-accent);
}
.current_issue_title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy-deep);
}

/* رأس العدد: الغلاف بجانب الوصف داخل بطاقة */
.obj_issue_toc .heading {
  padding: 1.5rem;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.obj_issue_toc .cover img {
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.obj_issue_toc .description { color: var(--c-ink); }
.obj_issue_toc .description p { margin: 0 0 .75rem; line-height: 1.9; }
.obj_issue_toc .pub_id,
.obj_issue_toc .published { margin: .5rem 0 0; font-size: .92rem; color: var(--c-muted); }
.obj_issue_toc .pub_id .type,
.obj_issue_toc .published .label { color: var(--c-ink); font-weight: 600; }

@media (min-width: 768px) {
  .obj_issue_toc .heading {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    column-gap: 1.75rem;
    align-items: start;
  }
  .obj_issue_toc .heading .cover {
    grid-row: 1 / span 4;
    float: none;
    width: auto;
    margin: 0;
  }
  .obj_issue_toc .heading .cover img { width: 100%; height: auto; }
  .obj_issue_toc .heading > :not(.cover) { grid-column: 2; }
}

/* الصفحة الرئيسية: اختصار كلمة العدد إلى ستة أسطر (النص كاملًا في صفحة العدد) */
.page_index_journal .obj_issue_toc .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}

/* عناوين الأقسام («إصدار كامل»، «المقالات») */
.obj_issue_toc .galleys,
.obj_issue_toc .section {
  margin: 2rem 0 0;
  padding: 0;
}
.obj_issue_toc .sections:not(:first-child) { margin-top: 2rem; }
.obj_issue_toc .galleys:before,
.obj_issue_toc .section:before { display: none; }
.obj_issue_toc .galleys > h2, .obj_issue_toc .galleys > h3,
.obj_issue_toc .section > h2, .obj_issue_toc .section > h3 {
  position: static;
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0 0 .35rem;
  background: none;
  border-bottom: 3px solid var(--c-accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy-deep);
}
body[dir="rtl"] .obj_issue_toc .galleys h2, body[dir="rtl"] .obj_issue_toc .section h2,
body[dir="rtl"] .obj_issue_toc .galleys h3, body[dir="rtl"] .obj_issue_toc .section h3 { right: auto; left: auto; }

.obj_issue_toc .galleys_links li { margin-inline: 0 .75rem; }
body[dir="rtl"] .obj_issue_toc .galleys_links li { margin-right: 0; margin-left: .75rem; }


/* ---------- 10. بطاقات المقالات ---------- */

.cmp_article_list > li { margin: 0 0 .9rem; }
.obj_article_summary {
  position: relative;
  padding: 1.1rem 1.35rem 1.2rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
/* الثيم يصفّر الحشوة اليمنى في الصفحات العربية (padding-right: 0) فيلتصق النص بحافة البطاقة */
body[dir="rtl"] .obj_article_summary { padding: 1.1rem 1.35rem 1.2rem; }
.obj_article_summary:hover {
  border-color: var(--c-sky);
  box-shadow: var(--shadow);
}
.obj_article_summary > .title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.75;
}
.obj_article_summary > .title a { color: var(--c-navy-deep); text-decoration: none; }
.obj_article_summary > .title a:hover { color: var(--c-link); text-decoration: underline; }
.obj_article_summary .subtitle { color: var(--c-muted); }

.obj_article_summary .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-top: .4rem;
  font-size: .95rem;
}
.obj_article_summary .authors {
  padding: 0;
  color: var(--c-muted);
}
.obj_article_summary .authors::before {
  font-family: FontAwesome;
  content: "\f007";
  margin-inline-end: .45em;
  color: var(--c-sky);
}
.obj_article_summary .pages {
  position: static;
  padding: 0 .6rem;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-muted);
  font-size: .8rem;
  line-height: 1.8;
  direction: ltr;
  unicode-bidi: isolate;
}
.obj_article_summary .galleys_links,
.pkp_structure_main .obj_article_summary .galleys_links { margin: .75rem 0 0; }

/* رابط «معاينة جميع الأعداد» */
.page_index_journal .read_more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 600;
}

/* المحتوى الإضافي أسفل الرئيسية (تعريف المجلة) */
.page_index_journal .additional_content {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--c-accent-soft);
  border: 0;
  border-inline-start: 4px solid var(--c-accent);
  border-radius: var(--radius);
}
.page_index_journal .additional_content p { margin: 0 0 .5rem; }
.page_index_journal .additional_content p:last-child { margin-bottom: 0; }
.page_index_journal .additional_content a { overflow-wrap: anywhere; }


/* ---------- 11. أرشيف الأعداد ---------- */

.issues_archive,
.page_issue_archive .issues_archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.5rem 1.25rem;
  margin: 1.5rem 0;
  border-top: 0;
}
.issues_archive > li,
.page_issue_archive .issues_archive > li { margin: 0; padding: 0; border: 0; }
.obj_issue_summary {
  height: 100%;
  padding: .9rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.obj_issue_summary:hover { border-color: var(--c-sky); box-shadow: var(--shadow); }
.obj_issue_summary .cover,
body[dir="rtl"] .obj_issue_summary .cover {
  display: block;
  float: none;
  width: 100%;
  margin: 0 0 .75rem;
}
.obj_issue_summary .cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 210 / 297;
  object-fit: contain;      /* الغلاف كاملًا دون قص مهما اختلفت أبعاده */
  background: var(--c-soft);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.obj_issue_summary h2 { margin: 0; font-size: 1rem; line-height: 1.6; }
.obj_issue_summary .title { color: var(--c-navy-deep); font-weight: 700; text-decoration: none; }
.obj_issue_summary .title:hover { color: var(--c-link); text-decoration: underline; }
.obj_issue_summary .series { margin-top: .2rem; font-size: .85rem; font-weight: 400; color: var(--c-muted); }
/* الوصف الطويل في الأرشيف: ثلاثة أسطر فقط */
.obj_issue_summary .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-top: .5rem;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--c-muted);
}
.obj_issue_summary .description p { margin: 0; }

.cmp_pagination { margin-top: 2rem; text-align: center; }
.cmp_pagination a { font-weight: 600; }


/* ---------- 12. صفحة المقال ---------- */

.obj_article_details .page_title {
  margin: 0 0 1.25rem;
  font-size: 1.9rem;
  line-height: 1.55;
}
.obj_article_details .subtitle { color: var(--c-muted); font-weight: 400; }

.obj_article_details .item {
  padding: 0 0 1.25rem;
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--c-line);
  text-align: start;
}
.obj_article_details .main_entry .item:last-child { border-bottom: 0; }
.obj_article_details .item .label,
.obj_article_details .sub_item .label {
  margin: 0 0 .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy-deep);
}

/* المؤلفون */
.obj_article_details .authors li { margin-bottom: .5rem; }
.obj_article_details .authors .name { font-weight: 600; color: var(--c-ink); }
.obj_article_details .authors .name::before {
  font-family: FontAwesome;
  content: "\f007";
  margin-inline-end: .45em;
  color: var(--c-sky);
}
.obj_article_details .authors .affiliation { display: block; font-size: .9rem; color: var(--c-muted); }

/* الملخص بخط النسخ */
.obj_article_details .abstract p {
  font-family: var(--f-read);
  font-size: 1.12rem;
  line-height: 2.05;
  text-align: justify;
}

/* المراجع بمسافة معلّقة */
.obj_article_details .references .value { font-size: .92rem; line-height: 1.8; }
.obj_article_details .references .value p {
  margin: .3rem 0;
  padding-inline-start: 1.5em;
  text-indent: -1.5em;
  overflow-wrap: anywhere;
}

/* العمود الجانبي داخل المقال */
.obj_article_details .entry_details {
  padding: 1.25rem;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.obj_article_details .entry_details .item {
  padding: 0 0 1rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--c-line);
}
.obj_article_details .entry_details .item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.obj_article_details .entry_details .sub_item { margin: 0; }
.obj_article_details .entry_details .cover_image img { width: 100%; border-radius: 6px; box-shadow: var(--shadow-sm); }
.obj_article_details .entry_details .galleys_links { display: block; }
.obj_article_details .entry_details .galleys_links li { display: block; margin: 0; }
.obj_article_details .entry_details .obj_galley_link {
  display: block;
  padding: .55rem 1rem;
  font-size: 1rem;
  text-align: center;
}
.obj_article_details .citation_display .value { font-size: .9rem; overflow-wrap: anywhere; }

@media (min-width: 992px) {
  .obj_article_details .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 2rem;
    align-items: start;
    margin: 0;
  }
  .obj_article_details .row:before,
  .obj_article_details .row:after { display: none; }
  .obj_article_details .main_entry,
  .obj_article_details .entry_details,
  body[dir="rtl"] .obj_article_details .main_entry,
  body[dir="rtl"] .obj_article_details .entry_details {
    float: none;
    width: auto;
    margin: 0;
    border: 0;
  }
  .obj_article_details .entry_details { border: 1px solid var(--c-line); }
}


/* ---------- 13. المحتوى المكتوب في المحرر ---------- */
/* كل ما يُكتب في صفحات OJS (الصفحات المخصصة، حول المجلة، السياسات، المحتوى الإضافي
   في الرئيسية) يُنسَّق تلقائيًا بحسب نوع العنصر، دون حاجة إلى أي class.
   :where() تجعل قوة هذه القواعد منخفضة فتغلبها المكونات (القسم 14) وقواعد الثيم الخاصة. */

/* عنوان الصفحة */
.page h1.page_title,
.page > h1 {
  position: relative;
  margin: 0 0 1.75rem;
  padding-bottom: .75rem;
  font-size: 1.85rem;
}
.page h1.page_title::after,
.page > h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--c-accent);
}
.page_title:empty { display: none; }

/* تُستثنى العناصر التي يولّدها OJS داخل الصفحة (obj_ و cmp_) مثل محتويات العدد والأرشيف والمقال */

/* العناوين */
:where(.page, .additional_content) h2:not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  margin: 2.25rem 0 .9rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--c-navy-deep);
}
:where(.page, .additional_content) h3:not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  margin: 1.75rem 0 .6rem;
  padding-inline-start: .65rem;
  border-inline-start: 4px solid var(--c-accent);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--c-navy);
}
:where(.page, .additional_content) h4:not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  margin: 1.25rem 0 .5rem;
  font-size: 1rem;
  color: var(--c-ink);
}
/* العنوان الأول في المحتوى نفسه بلا هامش علوي؛ لا يشمل عناوين أقسام OJS داخل حاوياتها (مثل صفحة التقديم) */
:where(.page, .additional_content) > :is(h2, h3, h4):not([class]):first-child,
:where(.page) > h1 + :is(h2, h3, h4):not([class]) { margin-top: 0; }

/* الفقرات والقوائم */
:where(.page, .additional_content) p:not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { margin: .8rem 0; line-height: 1.95; text-align: justify; }
:where(.page, .additional_content) :is(ul, ol):not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  margin: .8rem 0;
  padding-inline-start: 1.5rem;
  line-height: 1.9;
}
:where(.page, .additional_content) :is(ul, ol):not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) li { margin: .3rem 0; }
:where(.page, .additional_content) ul:not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) li::marker { color: var(--c-accent-dark); }
:where(.page, .additional_content) ol:not([class]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) li::marker { color: var(--c-navy); font-weight: 700; }
:where(.page, .additional_content) strong:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { color: var(--c-navy-deep); }

/* الاقتباس والفاصل */
:where(.page, .additional_content) blockquote:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--c-soft);
  border: 0;
  border-inline-start: 4px solid var(--c-brand);
  border-radius: 8px;
  font-family: var(--f-read);
  font-size: 1.08rem;
  line-height: 2;
  color: var(--c-ink);
}
:where(.page, .additional_content) blockquote:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) > :first-child { margin-top: 0; }
:where(.page, .additional_content) blockquote:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) > :last-child { margin-bottom: 0; }
:where(.page, .additional_content) hr:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  height: 1px;
  margin: 2rem 0;
  border: 0;
  background: var(--c-line);
}

/* الصور والفيديو */
:where(.page, .additional_content) img:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { max-width: 100%; height: auto; border-radius: 8px; }
:where(.page, .additional_content) figure:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { margin: 1.5rem 0; }
:where(.page, .additional_content) figcaption:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { margin-top: .4rem; font-size: .85rem; color: var(--c-muted); text-align: center; }
:where(.page, .additional_content) iframe:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { max-width: 100%; border: 0; border-radius: 8px; }
:where(.page, .additional_content) iframe:is([src*="youtube"], [src*="vimeo"]):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* تنسيقات ملصوقة من Word أو مواقع أخرى: يُفرض خط الموقع */
:where(.page, .additional_content) [style*="font-family"]:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { font-family: inherit !important; }
:where(.page, .additional_content) [style*="line-height"]:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) { line-height: inherit !important; }

/* الجداول — الصف الأول عنوان إذا كان th أو بخط عريض */
:where(.page, .additional_content) table:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  width: 100%;
  margin: 1.5rem 0;
  border: 1px solid var(--c-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
}
:where(.page, .additional_content) :is(td, th):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  width: auto;
  padding: .7rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  vertical-align: middle;
  text-align: start;
  overflow-wrap: normal;   /* لا يُكسر البريد الإلكتروني في منتصفه */
}
:where(.page, .additional_content) tr:last-child:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) > :is(td, th) { border-bottom: 0; }
:where(.page, .additional_content) :is(td, th):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) p { margin: 0; line-height: 1.7; }
:where(.page, .additional_content) tbody:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) tr:nth-child(even) td { background: var(--c-soft); }
:where(.page, .additional_content) :is(th, thead td, tr:first-child:has(> td strong) > td):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) {
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 700;
}
:where(.page, .additional_content) :is(th, thead td, tr:first-child:has(> td strong) > td):not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) :is(strong, a) { color: var(--c-white); }
:where(.page, .additional_content) td:not(:where(.page [class*="obj_"] *, .page [class*="cmp_"] *)) a { font-weight: 600; }


/* ---------- 14. المكونات الجاهزة (su-) ---------- */
/* تُستخدم بإضافة class في المحرر (زر الشيفرة <>). الأمثلة في COMPONENTS-GUIDE.html */

/* مقدمة بارزة */
.su-lead { font-size: 1.15rem; line-height: 2; color: var(--c-ink); text-align: justify; }

/* اتجاه فقرة بلغة مختلفة عن لغة الصفحة */
.su-ltr { direction: ltr; text-align: left; }
.su-rtl { direction: rtl; text-align: right; }
.su-center { text-align: center; }

/* صندوق تنبيه: su-note (معلومة) | su-note su-note--important | su-note--warning | su-note--success */
.su-note {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: #EEF5FB;
  border-inline-start: 4px solid var(--c-brand);
  border-radius: 8px;
  line-height: 1.9;
}
.su-note > :first-child { margin-top: 0; }
/* ضبط الفقرات من الجهتين: الصناديق وبنود القوائم الطويلة، وتقطيع الكلمات الإنجليزية لتقليل الفراغات */
.su-note p, .su-steps > li { text-align: justify; }
html[lang="en"] :where(.page, .additional_content) :is(p, li) { hyphens: auto; }

.su-note > :last-child { margin-bottom: 0; }
.su-note--important { background: var(--c-accent-soft); border-color: var(--c-accent-dark); }
.su-note--warning   { background: #FDEDEC; border-color: #B42318; }
.su-note--success   { background: #EAF6EE; border-color: #1E7B45; }

/* شارة صغيرة */
.su-badge {
  display: inline-block;
  padding: .05rem .6rem;
  border-radius: 999px;
  background: var(--c-accent-soft);
  color: #8A5A12;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.8;
  vertical-align: middle;
}
.su-badge--blue { background: #EEF2FA; color: var(--c-navy); }

/* أزرار: <a class="su-btn"> | su-btn--gold | su-btn--outline ; ضعها داخل <p class="su-btns"> */
.su-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
a.su-btn, a.su-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6rem 1.3rem;
  background: var(--c-navy);
  border: 1px solid var(--c-navy);
  border-radius: 8px;
  color: var(--c-white);
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition: background-color .15s ease;
}
a.su-btn:hover, a.su-btn:focus { background: var(--c-navy-deep); border-color: var(--c-navy-deep); color: var(--c-white); }
a.su-btn--gold, a.su-btn--accent, a.su-btn--gold:visited { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-navy-deep); }
a.su-btn--gold:hover, a.su-btn--accent:hover, a.su-btn--gold:focus, a.su-btn--accent:focus { background: var(--c-navy-deep); border-color: var(--c-navy-deep); color: var(--c-white); }
a.su-btn--outline, a.su-btn--outline:visited { background: var(--c-white); color: var(--c-navy); }
a.su-btn--outline:hover, a.su-btn--outline:focus { background: var(--c-navy); color: var(--c-white); }
a.su-btn::before { font-family: FontAwesome; font-weight: normal; }
a.su-btn[href$=".pdf"]::before { content: "\f1c1"; }
a.su-btn:is([href$=".doc"], [href$=".docx"])::before { content: "\f1c2"; }
a.su-btn[href*="drive.google"]::before { content: "\f019"; }

/* خطوات مرقمة: <ol class="su-steps"><li><strong class="su-step-title">العنوان</strong> الشرح</li></ol> */
.su-steps {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: su-step;
}
.su-steps > li {
  position: relative;
  min-height: 2.4rem;
  margin: 0;
  padding: 0 0 1.4rem;
  padding-inline-start: 3.4rem;
  counter-increment: su-step;
  line-height: 1.9;
}
.su-steps > li::before {
  content: counter(su-step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 700;
  line-height: 2.4rem;
  text-align: center;
}
.su-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  bottom: .2rem;
  inset-inline-start: calc(1.2rem - 1px);
  width: 2px;
  background: var(--c-line);
}
/* عنوان الخطوة صنف صريح؛ strong:first-child كان يلتقط أي نص عريض داخل الخطوة */
.su-steps .su-step-title { display: block; font-size: 1.05rem; color: var(--c-navy-deep); }

/* بطاقات متجاورة: <div class="su-cards"><div class="su-card"><h3>..</h3><p>..</p></div></div> */
.su-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.su-card {
  padding: 1.25rem 1.35rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--radius);
}
.su-card h3, .su-card h4 {
  margin: 0 0 .5rem;
  padding: 0;
  border: 0;
  font-size: 1.1rem;
  color: var(--c-navy-deep);
}
.su-card p { margin: .4rem 0; line-height: 1.85; }
.su-card > :last-child { margin-bottom: 0; }

/* بطاقات الأعضاء (هيئة التحرير والهيئة الاستشارية)
   <div class="su-members"><div class="su-member">
     <h3>الاسم</h3><p class="su-role">الصفة</p><p>جهة العمل — الدولة</p>
     <p class="su-links"><a href="mailto:..">..</a> <a href="..">السيرة الذاتية</a> <a href="https://scholar.google.com/..">Google Scholar</a></p>
   </div></div>
   su-member--chief : بطاقة رئيس التحرير بعرض كامل */
.su-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.su-member {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-navy);
  border-radius: var(--radius);
}
.su-member--chief {
  grid-column: 1 / -1;
  background: var(--c-accent-soft);
  border-top-color: var(--c-accent-dark);
}
.su-member img {
  width: 76px;
  height: 76px;
  margin-bottom: .6rem;
  border-radius: 50%;
  object-fit: cover;
}
.su-member h3, .su-member h4 {
  margin: 0 0 .25rem;
  padding: 0;
  border: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-navy-deep);
}
.su-member p { margin: .15rem 0; font-size: .95rem; line-height: 1.75; color: var(--c-muted); }
.su-member .su-role {
  align-self: flex-start;
  margin: 0 0 .45rem;
  padding: .05rem .65rem;
  border-radius: 999px;
  background: #EEF2FA;
  color: var(--c-navy);
  font-size: .8rem;
  font-weight: 600;
}
.su-member--chief .su-role { background: var(--c-white); }
.su-member .su-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin-top: auto;
  padding-top: .6rem;
}
.su-member .su-links a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.su-member .su-links a:hover { text-decoration: underline; }
.su-member .su-links a::before {
  font-family: FontAwesome;
  content: "\f0c1";
  margin-inline-end: .35em;
  color: var(--c-brand);
  font-weight: normal;
}
.su-member .su-links a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
.su-member .su-links a[href^="mailto:"]::before { content: "\f0e0"; }
.su-member .su-links a[href*="scholar.google"]::before { content: "\f19d"; }
.su-member .su-links a:is([href$=".pdf"], [href*="drive.google"], [href*="dspace"])::before { content: "\f15c"; }
/* الاسم مرتبط بملف Google Scholar (معيار DOLJ 8) */
.su-member h3 a { color: inherit; text-decoration: none; }
.su-member h3 a:hover { color: var(--c-link); text-decoration: underline; }
.su-member h3 a[href*="scholar.google"]::after {
  font-family: FontAwesome;
  content: "\f19d";
  margin-inline-start: .4em;
  font-size: .8em;
  font-weight: normal;
  color: var(--c-brand);
}
.su-member .su-spec { color: var(--c-ink); }
.su-member .su-spec strong { color: var(--c-navy); font-weight: 600; }

/* بطاقات مختصرة لقائمة طويلة قليلة البيانات (الهيئة الاستشارية) */
.su-members--compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.su-members--compact .su-member { padding: .85rem 1rem; border-top-width: 2px; }
.su-members--compact .su-member h3 { font-size: 1rem; }

/* سطر «آخر تحديث» */
.su-updated { margin-top: 1.75rem; font-size: .85rem; color: var(--c-muted); }
.su-updated::before { font-family: FontAwesome; content: "\f017"; margin-inline-end: .4em; }

.su-member .su-links a[href*="orcid.org"]::before {
  content: "iD";
  display: inline-block;
  padding: 0 .3em;
  border-radius: 4px;
  background: #A6CE39;
  color: var(--c-ink);
  font-family: var(--f-ui);
  font-size: .75em;
  font-weight: 700;
}

/* شبكة شعارات (الفهرسة، الشركاء):
   <div class="su-logos"><a href="رابط سجل المجلة"><img src=".." alt="الاسم"><span>الاسم</span></a> ...</div> */
.su-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
  margin: 1.25rem 0;
}
.su-logos > p { display: contents; }    /* إن لفّ المحرر الروابط بفقرة */
.su-logos br { display: none; }
.su-logos :is(a, figure) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 112px;
  margin: 0;
  padding: .9rem .75rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-ink);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.su-logos a:hover { border-color: var(--c-sky); box-shadow: var(--shadow); color: var(--c-navy-deep); }
.su-logos img {
  display: block;
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}
.su-logos :is(span, figcaption) { margin: 0; font-size: .8rem; color: var(--c-muted); }
/* شعار عريض (مثل DOLJ) يأخذ عرض عمودين: <a class="su-wide" ...> */
.su-logos .su-wide { grid-column: span 2; }
/* داخل الشريط الجانبي: بلاطات أصغر */
.pkp_block .su-logos { grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; width: 100%; }
.pkp_block .su-logos :is(a, figure) { min-height: 92px; padding: .6rem .4rem; }
.pkp_block .su-logos img { max-height: 56px; }

/* فهرس الصفحة: <div class="su-toc"><strong>محتويات الصفحة</strong><ul><li><a href="#id">..</a></li></ul></div> */
.su-toc {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.su-toc > strong:first-child { display: block; margin-bottom: .4rem; color: var(--c-navy-deep); }
.su-toc :is(ul, ol) { margin: 0; padding-inline-start: 1.25rem; columns: 2 220px; column-gap: 2rem; }
.su-toc li { margin: .2rem 0; break-inside: avoid; }
.su-toc a { text-decoration: none; }
.su-toc a:hover { text-decoration: underline; }
:where(.page) :is(h2, h3)[id] { scroll-margin-top: 1rem; }

/* عمودان: <div class="su-two"><div>..</div><div>..</div></div> */
.su-two { display: grid; grid-template-columns: 1fr; gap: 1.5rem 2rem; margin: 1.5rem 0; }
@media (min-width: 768px) { .su-two { grid-template-columns: 1fr 1fr; } }
.su-two > div > :first-child { margin-top: 0; }

/* كلمة (رئيس التحرير، العدد):
   <div class="su-message"><img src=".." alt=".."><p>..</p>
   <p class="su-signature"><strong>الاسم</strong> الصفة</p></div> */
.su-message {
  margin: 1.5rem 0;
  padding: 1.75rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.su-message::after { content: ""; display: table; clear: both; }
.su-message > img:first-child {
  float: inline-start;
  width: 140px;
  margin-block: .3rem 1rem;
  margin-inline: 0 1.5rem;
  border-radius: 12px;
}
body[dir="rtl"] .su-message > img:first-child { float: right; }
body[dir="ltr"] .su-message > img:first-child { float: left; }
.su-message p { font-family: var(--f-read); font-size: 1.08rem; line-height: 2.05; }
/* ضبط الكلمة من الجهتين، عدا النص المتوسط (البسملة) والتوقيع */
.su-message p:not(.su-center, .su-signature) { text-align: justify; }
.su-message .su-signature {
  clear: both;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  font-family: var(--f-ui);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--c-muted);
}
.su-message .su-signature strong { display: block; font-size: 1.05rem; color: var(--c-navy-deep); }


/* ---------- 15. التذييل ---------- */

.pkp_structure_footer_wrapper {
  background: var(--c-navy-deep);
  border-top: 4px solid var(--c-accent);
  color: #D7DEEE;
}
.pkp_structure_footer { padding: 2rem 0 0; }
.pkp_footer_content { padding: 0; font-size: .92rem; line-height: 2; text-align: center; }
/* الفقرة الفارغة التي تسبق جدول التذييل الحالي (لا تُخفى إن تغيّرت بنية التذييل) */
.pkp_footer_content > p:first-child:has(+ table) { display: none; }
.pkp_footer_content table { width: auto; margin: 0 auto; border: 0; }
.pkp_footer_content td { width: auto; padding: 0; border: 0; background: none; }
.pkp_footer_content a { color: var(--c-accent); text-decoration: none; }
.pkp_footer_content a:hover { color: var(--c-white); text-decoration: underline; }
.pkp_footer_content strong { font-weight: 600; }
.pkp_structure_footer_wrapper :focus-visible { outline-color: var(--c-accent); }

.pkp_brand_footer {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 2rem;
}
.pkp_brand_footer a { float: none; }
.pkp_brand_footer img {
  max-width: 110px;
  filter: brightness(0) invert(1);
  opacity: .7;
}
.pkp_brand_footer a:hover img { opacity: 1; }


/* ---------- 16. الشاشات الصغيرة ---------- */

@media (max-width: 991px) {
  /* الثيم يثبّت ارتفاع الترويسة على الجوال فيتراكب الشعار مع المحتوى */
  .pkp_structure_head { border-bottom: 1px solid var(--c-line); }
  .pkp_site_name_wrapper { height: auto; padding: .5rem 1rem; }
  .pkp_site_name {
    position: relative;
    left: auto;
    right: auto;
    padding: 0;
    padding-inline-end: 3rem;    /* مساحة زر القائمة */
  }
  .pkp_site_name .is_img { margin: 4px 0 2px; }
  .pkp_site_name::after { margin-bottom: 4px; }
  body[dir="rtl"] .pkp_site_name::after { text-align: right; }
  /* أيقونة القائمة في الثيم بيضاء صراحةً، فتختفي على ترويسة بيضاء: نلوّنها بالكحلي */
  .pkp_site_nav_toggle { color: var(--c-navy-deep); box-shadow: none; }
  .pkp_site_nav_toggle:focus-visible { outline: 3px solid var(--c-navy-deep); outline-offset: -3px; }
  .pkp_site_nav_toggle > span { border-bottom-color: var(--c-navy-deep); }
  .pkp_site_nav_toggle > span::before,
  .pkp_site_nav_toggle > span::after { background: var(--c-navy-deep); }
  .pkp_site_nav_toggle--transform > span { border-bottom-color: transparent; }
  .pkp_site_nav_menu { background: var(--c-navy-deep); }
  .pkp_site_nav_menu a { color: var(--c-white); }
  .pkp_site_nav_menu a:hover, .pkp_site_nav_menu a:focus { color: var(--c-accent); }
  .pkp_site_nav_menu .pkp_navigation_primary > li > a { font-weight: 600; }
  .pkp_site_nav_menu .pkp_navigation_primary ul a {
    padding-inline-start: 1.25rem;
    color: #D7DEEE;
    font-size: .95rem;
  }
  .pkp_structure_content { padding-top: 1.5rem; }
  .pkp_structure_main h1, .page h1.page_title, .obj_article_details .page_title { font-size: 1.5rem; }
  .current_issue_title { font-size: 1.25rem; }
  .obj_issue_toc .heading { padding: 1rem; }
  .obj_issue_toc .heading .cover { max-width: 220px; margin: 0 auto 1rem; float: none; }
  .obj_article_details .entry_details { margin-top: 1.5rem; }
}
@media (max-width: 575px) {
  .issues_archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
  .obj_article_summary { padding: .9rem 1rem 1rem; }
  :where(.page, .additional_content) table { display: block; overflow-x: auto; }
  .su-message > img:first-child { float: none !important; display: block; margin: 0 auto 1rem; }
}


/* ---------- 17. الطباعة وتقليل الحركة ---------- */

@media print {
  .pkp_structure_head, .pkp_structure_sidebar, .pkp_structure_footer_wrapper,
  .cmp_breadcrumbs, .galleys_links { display: none !important; }
  .pkp_structure_main { width: auto !important; float: none !important; padding: 0 !important; }
  body { color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 18. توافق مع الأصناف القديمة في محتوى المجلة ----------
   custom-texts (صفحات السياسات)، custom-logos (جداول الشعارات)، ojs-table (التنزيلات)،
   reviewers-table (جداول الأعضاء القديمة). تبقى مدعومة حتى يُعاد كتابة المحتوى بمكونات su-. */

.custom-texts { max-width: none; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.custom-texts :is(h1, h2, h3) { color: var(--c-navy-deep); font-family: var(--f-ui); }

/* جدول الشعارات: شبكة بلا زخرفة الجداول العامة */
.custom-logos table.custom-logos-reset, .custom-logos table { width: 100%; border: 0; box-shadow: none; background: none; border-radius: 0; }
.custom-logos table :is(td, th) { border: 0; background: none !important; padding: .6rem; text-align: center; vertical-align: middle; }
.custom-logos table tr:nth-child(even) td { background: none !important; }
.custom-logos table td:empty { display: none; }
.custom-logos img { display: inline-block; max-width: 100%; height: auto; border-radius: 0; opacity: .95; transition: opacity .15s, transform .15s; }
.custom-logos a:hover img { opacity: 1; transform: translateY(-2px); }
.custom-logos strong { color: var(--c-navy-deep); }

/* جدول التنزيلات */
.ojs-table { width: 100%; }
.ojs-table th, .ojs-table td { text-align: start; }

/* جداول الأعضاء القديمة: تمرير أفقي بدل كسر التخطيط */
.reviewers-table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .92rem; }
.reviewers-table :is(th, td) { padding: .6rem .8rem; border-bottom: 1px solid var(--c-line); text-align: start; }
.reviewers-table thead tr { background: var(--c-soft); }
.rev-name { font-weight: 700; color: var(--c-navy-deep); }
.rev-inst, .rev-spec { color: var(--c-muted); }
.rev-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.rev-links a { padding: .15rem .6rem; border: 1px solid var(--c-line-strong); border-radius: 6px; font-size: .85rem; text-decoration: none; }
.rev-links a:hover { background: var(--c-accent-soft); }
.rev-email a { overflow-wrap: anywhere; }

/* عدّاد الزوار (flagcounter) داخل جدول شعارات الرئيسية: يُخفى كما في كتلة الشريط الجانبي */
.custom-logos td:has(a[href*="flagcounter"]),
.custom-logos td:has(img[src*="flagcounter"]) { display: none; }


/* ---------- 19. تحسينات v1.1 (2026-10-17) ---------- */

/* البطاقات ضيقة: الضبط من الجهتين يترك فراغات واسعة بين الكلمات، فيبدأ النص من جهة القراءة */
.su-card p, .su-card li { text-align: start; }

/* قائمة «تسمية: قيمة» في كتلة جانبية (كتلة بيانات المجلة، أو أي قائمة بصنف su-facts):
   صفوف بفاصل، التسمية في جهة والقيمة في الأخرى، والرابط بلا سهم */
:is(#customblock-issn, .su-facts) .content :is(ul, ol) li,
ul.su-facts li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .25rem .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--c-line);
}
:is(#customblock-issn, .su-facts) .content :is(ul, ol) li:last-child,
ul.su-facts li:last-child { border-bottom: 0; }
:is(#customblock-issn, .su-facts) .content :is(ul, ol) li a,
ul.su-facts li a {
  display: inline;
  padding: 0;
  border: 0;
  font-weight: 600;
  color: var(--c-link);
  direction: ltr;
  unicode-bidi: isolate;
}
:is(#customblock-issn, .su-facts) .content :is(ul, ol) li a::before,
ul.su-facts li a::before { content: none; }
