/* ============================================================
   مجلة التفاعل — CSS v3
   - بدون Google Fonts (system Arabic fonts)
   - ألوان من الشعار: أخضر #1a5c2e، ذهبي #c8962a
   - Mobile-first RTL
   ============================================================ */

:root {
  /* ألوان الشعار */
  --green-900: #0d2e17;
  --green-800: #1a5c2e;
  --green-700: #1f6e35;
  --green-600: #2a8a44;
  --green-100: #e8f5ec;
  --gold-700:  #9a7020;
  --gold-500:  #c8962a;
  --gold-300:  #e2b84a;
  --gold-100:  #fdf4e0;
  --white:     #ffffff;
  --gray-50:   #f8f9f8;
  --gray-100:  #f0f2f0;
  --gray-200:  #dde3de;
  --gray-400:  #8a9e8e;
  --gray-700:  #3a4a3d;
  --gray-900:  #1a221c;

  /* خطوط النظام — تعمل دون إنترنت */
  --font: "Segoe UI", Tahoma, "Traditional Arabic", Arial, sans-serif;

  /* Spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s14: 56px;

  /* Radius */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

  --ease: .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--gray-50); color: var(--gray-900); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Container ── */
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--s4); }
@media (min-width: 640px)  { .wrap { padding-inline: var(--s6); } }
@media (min-width: 1024px) { .wrap { padding-inline: var(--s10); } }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  background: var(--green-800);
}

/* ── Topbar (desktop only) ── */
.topbar {
  background: var(--green-900);
  border-bottom: 1px solid rgba(200,150,42,.2);
  padding: 5px 0;
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.topbar__issn { font-size: 11px; color: var(--gold-300); letter-spacing: .04em; }
.topbar__social { display: flex; gap: var(--s3); }
.topbar__social a { color: rgba(255,255,255,.45); font-size: 13px; transition: color var(--ease); }
.topbar__social a:hover { color: var(--gold-300); }

/* ── Brand bar (creative cover) ── */
.brandbar {
  padding: 22px 0 26px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(200,150,42,.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(200,150,42,.10), transparent 50%),
    linear-gradient(120deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
}
.brandbar::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.brandbar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-300) 50%, var(--gold-500) 80%, transparent);
}
.brandbar .wrap { display: flex; align-items: center; gap: var(--s5); position: relative; z-index: 1; }
.brand-logo-wrap {
  flex-shrink: 0; position: relative;
  width: 86px; height: 86px;
}
.brand-logo-wrap::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-700), var(--gold-300));
  box-shadow: 0 0 16px 2px rgba(226,184,74,.45);
}
.brand-logo {
  position: relative; z-index: 1;
  height: 86px; width: 86px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  padding: 6px;
}
@media (min-width: 768px) {
  .brand-logo-wrap { width: 100px; height: 100px; }
  .brand-logo { height: 100px; width: 100px; padding: 8px; }
}
.brand-info { flex: 1; min-width: 0; }
.brand-name {
  font-size: clamp(1.35rem, 4.5vw, 2.15rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
  /* حرف عربي واضح */
  font-family: "Segoe UI", Tahoma, "Traditional Arabic", Arial, sans-serif;
}
.brand-sub {
  font-size: clamp(.72rem, 2vw, .88rem);
  color: var(--gold-300);
  margin-top: 3px;
  opacity: .95;
}
.brand-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 700;
  background: rgba(200,150,42,.15);
  border: 1px solid rgba(200,150,42,.4);
  color: var(--gold-300);
}

/* ── Hamburger ── */
.menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.1);
  color: var(--white); font-size: 1.15rem;
  flex-shrink: 0;
  transition: background var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.menu-btn:hover { background: rgba(255,255,255,.18); }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* ── Sticky navbar (logo mini + links/hamburger) ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--green-800);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.navbar-row { display: flex; align-items: center; gap: var(--s4); min-height: 56px; }
.navbar-brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.navbar-logo {
  width: 32px; height: 32px; object-fit: contain;
  background: var(--white); border-radius: 50%; padding: 3px;
}
.navbar-name {
  font-size: 14px; font-weight: 700; color: var(--white); white-space: nowrap;
  font-family: "Segoe UI", Tahoma, "Traditional Arabic", Arial, sans-serif;
}
@media (max-width: 767px) { .navbar-name { display: none; } }

/* ── Desktop nav (now lives inside .navbar) ── */
.desknav {
  display: flex; flex: 1;
  overflow-x: auto; scrollbar-width: none;
}
.desknav::-webkit-scrollbar { display: none; }
@media (max-width: 899px) { .desknav { display: none; } }
.nav-a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 18px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.nav-a i { color: var(--gold-300); font-size: 12px; }
.nav-a:hover, .nav-a.on { color: var(--white); border-bottom-color: var(--gold-500); background: rgba(255,255,255,.05); }

/* ── Mobile drawer ── */
.mobilenav {
  display: none; flex-direction: column;
  background: var(--green-900);
  border-top: 1px solid rgba(255,255,255,.07);
  position: sticky; top: 56px; z-index: 99;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
.mobilenav.open { display: flex; }
@media (min-width: 900px) { .mobilenav { display: none !important; } }
.mobilenav .nav-a {
  border-bottom: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid transparent;
  padding: 14px 20px; font-size: 15px;
}
.mobilenav .nav-a.on { border-left-color: var(--gold-500); background: rgba(255,255,255,.04); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  background: linear-gradient(150deg, var(--green-900) 0%, var(--green-800) 50%, #1f6e35 100%);
  padding: clamp(40px, 8vw, 88px) 0 clamp(48px, 9vw, 96px);
  position: relative; overflow: hidden; color: var(--white);
  /* يثبّت القسم كطبقة GPU مستقلة فيمنع إعادة رسمه أثناء السحب لتحسين سلاسة السكرول */
  transform: translateZ(0);
  contain: paint;
}
/* subtle pattern overlay — SVG بدل radial-gradient المتكرر (أخف بكثير على الرسم أثناء السكرول) */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(200,150,42,0.18)'/%3E%3C/svg%3E");
  background-size: 28px 28px;
  will-change: transform;
}
/* gold accent bar on top */
.hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold-500), transparent);
}
.hero .wrap { position: relative; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: var(--s4);
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 32px; height: 1px;
  background: linear-gradient(to left, var(--gold-500), transparent);
}
.hero-eyebrow::after { background: linear-gradient(to right, var(--gold-500), transparent); }
.hero-title {
  font-size: clamp(1.7rem, 5vw, 2.9rem);
  font-weight: 700; line-height: 1.22;
  margin-bottom: var(--s4);
  font-family: "Segoe UI", Tahoma, "Traditional Arabic", Arial, sans-serif;
}
.hero-title span { color: var(--gold-300); }
.hero-body {
  font-size: clamp(.92rem, 2.2vw, 1.05rem);
  color: rgba(255,255,255,.75); max-width: 600px;
  margin: 0 auto var(--s10);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(28px,5vw,52px);
  max-width: 480px; margin-inline: auto;
  border: 1px solid rgba(200,150,42,.2);
  border-radius: var(--r-md); overflow: hidden;
}
@media (min-width: 480px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  padding: 16px 10px; text-align: center;
  background: rgba(0,0,0,.22);
  border-left: 1px solid rgba(255,255,255,.06);
}
.hero-stat:first-child { border-left: none; }
.hero-stat__n { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; color: var(--gold-300); line-height: 1; }
.hero-stat__l { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ════════════════════════════════════════
   CALL FOR PAPERS (دعوة للنشر)
════════════════════════════════════════ */
.cfp { padding: clamp(28px,5vw,44px) 0 0; }

/* ── Animations ── */
@keyframes cfpFadeUp   { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform: translateY(0); } }
@keyframes cfpFloat    { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-12px,-16px); } }
@keyframes cfpShimmer  { 0% { background-position: 0% 0; } 100% { background-position: -200% 0; } }
@keyframes cfpPulseBtn { 0%,100% { box-shadow: 0 4px 14px rgba(200,150,42,.35), 0 0 0 0 rgba(200,150,42,.45); } 50% { box-shadow: 0 4px 18px rgba(200,150,42,.5), 0 0 0 9px rgba(200,150,42,0); } }
@keyframes cfpDotPing  { 0% { box-shadow: 0 0 0 0 rgba(42,138,68,.55); } 70% { box-shadow: 0 0 0 8px rgba(42,138,68,0); } 100% { box-shadow: 0 0 0 0 rgba(42,138,68,0); } }

.cfp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 54px clamp(20px,4.5vw,40px) clamp(24px,4.5vw,40px);
  position: relative; overflow: hidden;
  animation: cfpFadeUp .7s ease both;
  transition: box-shadow .35s ease, transform .35s ease;
}
.cfp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* shimmering gold top border, replaces flat border-top */
.cfp-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 0;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300) 30%, var(--gold-500) 55%, var(--gold-300) 80%, var(--gold-700));
  background-size: 200% 100%;
  animation: cfpShimmer 4.5s linear infinite;
}
.cfp-card::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, var(--green-100) 0%, transparent 35%);
  opacity: .6;
}

/* soft floating glow blobs */
.cfp-glow { position: absolute; border-radius: 50%; filter: blur(36px); pointer-events: none; z-index: 0; }
.cfp-glow--1 { width: 170px; height: 170px; background: var(--gold-300); opacity: .35; top: -65px; left: -55px; animation: cfpFloat 9s ease-in-out infinite; }
.cfp-glow--2 { width: 150px; height: 150px; background: var(--green-600); opacity: .16; bottom: -55px; right: -45px; animation: cfpFloat 11s ease-in-out infinite reverse; }

/* corner badge */
.cfp-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--green-900); color: var(--gold-300);
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 13px; border-radius: var(--r-full);
  display: flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm);
}
.cfp-badge i { font-size: 9px; }

/* live status pill */
.cfp-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-100); color: var(--green-800);
  font-size: 12.5px; font-weight: 700;
  padding: 6px 14px; border-radius: var(--r-full);
  margin-bottom: var(--s4); position: relative; z-index: 1;
}
.cfp-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); animation: cfpDotPing 1.8s ease-out infinite; }

.cfp-card__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: var(--s3); position: relative; z-index: 1;
}
.cfp-card__head i {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: var(--gold-300);
  border-radius: 50%; font-size: 18px;
  box-shadow: 0 0 0 5px var(--green-100);
}
.cfp-card__head h2 {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 800; color: var(--green-900); margin: 0;
}
.cfp-card__body {
  position: relative; z-index: 1;
  font-size: .96rem; line-height: 1.95; color: var(--gray-700);
  margin-bottom: var(--s5);
}
.cfp-card__email {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  background: var(--green-100); border-radius: var(--r-sm);
  border-right: 3px solid var(--green-600);
  padding: 14px 18px; margin-bottom: var(--s6);
  font-size: .92rem; color: var(--green-900);
  transition: background .25s ease;
}
.cfp-card__email:hover { background: #ddf0e3; }
.cfp-card__email i { color: var(--green-700); font-size: 15px; }
.cfp-card__email a {
  color: var(--green-800); font-weight: 800; text-decoration: none;
  direction: ltr; display: inline-block;
}
.cfp-card__email a:hover { text-decoration: underline; }
.cfp-card__terms { position: relative; z-index: 1; margin-bottom: var(--s6); }
.cfp-card__terms-title {
  font-size: .92rem; font-weight: 700; color: var(--green-800);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.cfp-card__terms-title i { color: var(--gold-500); }
.cfp-card__terms ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
@media (min-width: 640px) { .cfp-card__terms ul { grid-template-columns: 1fr 1fr; } }
.cfp-card__terms li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--gray-700); line-height: 1.8;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-sm); padding: 10px 12px;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
  opacity: 0; animation: cfpFadeUp .6s ease both;
}
.cfp-card__terms li:hover { border-color: var(--gold-300); background: var(--gold-100); transform: translateX(-3px); }
.cfp-card__terms li:nth-child(1) { animation-delay: .05s; }
.cfp-card__terms li:nth-child(2) { animation-delay: .12s; }
.cfp-card__terms li:nth-child(3) { animation-delay: .19s; }
.cfp-card__terms li:nth-child(4) { animation-delay: .26s; }
.cfp-card__terms li:nth-child(5) { animation-delay: .33s; }
.cfp-card__terms li:nth-child(6) { animation-delay: .40s; }
.cfp-card__terms li i {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px;
  background: var(--gold-500); color: var(--white); font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.cfp-card__actions {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: var(--s3);
}
.cfp-card__actions .btn-gold { animation: cfpPulseBtn 2.6s ease-in-out infinite; }
@media (max-width: 480px) { .cfp-card__actions .btn { flex: 1 1 auto; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .cfp-card, .cfp-card::after, .cfp-card__terms li, .cfp-status__dot, .cfp-glow, .cfp-card__actions .btn-gold {
    animation: none !important;
  }
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px;
  border-radius: var(--r-full);
  font-family: var(--font); font-size: 14px; font-weight: 700; line-height: 1;
  border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: all var(--ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  min-height: 44px;
}
.btn:active { transform: scale(.97); }
.btn-green { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.btn-green:hover { background: var(--green-900); border-color: var(--green-900); box-shadow: 0 4px 14px rgba(26,92,46,.4); transform: translateY(-2px); }
.btn-gold  { background: var(--gold-500); color: var(--white); border-color: var(--gold-500); }
.btn-gold:hover  { background: var(--gold-700); border-color: var(--gold-700); box-shadow: 0 4px 14px rgba(200,150,42,.4); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-outline-gold { background: transparent; color: var(--gold-700); border-color: var(--gold-500); }
.btn-outline-gold:hover { background: var(--gold-100); }
.btn-sm { padding: 7px 15px; font-size: 13px; min-height: 36px; }
.btn-w { width: 100%; }
.btn-danger { background: transparent; color: #c0392b; border-color: #e8b3af; }
.btn-danger:hover { background: #fdf0ef; }

/* ════════════════════════════════════════
   CARDS
════════════════════════════════════════ */
.card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
}
.card-head h3 { font-size: .95rem; font-weight: 700; }
.card-head i  { color: var(--gold-300); font-size: 13px; }
.card-body    { padding: 20px; }

/* ── Research card ── */
.rcard {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 14px;
  border-right: 4px solid var(--green-600);
  transition: all var(--ease);
}
.rcard:hover {
  box-shadow: var(--shadow-md);
  border-right-color: var(--gold-500);
  transform: translateX(-2px);
}
.rcard__title {
  font-size: clamp(.97rem, 2.2vw, 1.15rem);
  font-weight: 700; color: var(--green-800);
  margin-bottom: 8px; line-height: 1.5;
  font-family: "Segoe UI", Tahoma, "Traditional Arabic", Arial, sans-serif;
}
.rcard__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12.5px; color: var(--gray-400); margin-bottom: 10px;
}
.rcard__meta span { display: inline-flex; align-items: center; gap: 4px; }
.rcard__meta i { color: var(--green-600); }
.rcard__abstract {
  font-size: 13.5px; color: var(--gray-700); line-height: 1.8;
  padding-top: 10px; margin-top: 10px;
  border-top: 1px dashed var(--gray-200);
}
.rcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.keyword {
  display: inline-block;
  background: var(--gold-100); color: var(--gold-700);
  border: 1px solid rgba(200,150,42,.3);
  border-radius: var(--r-full); padding: 2px 10px;
  font-size: 11.5px; font-weight: 600; margin: 2px;
}
.published-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px;
  background: var(--green-100); color: var(--green-800);
  border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  border: 1px solid rgba(26,92,46,.2);
}

/* ── Section heading ── */
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s8); }
.sec-head__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }
.sec-head__title {
  font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; color: var(--green-800);
  font-family: "Segoe UI", Tahoma, "Traditional Arabic", Arial, sans-serif;
}
.sec-head__line { flex: 1; height: 2px; background: linear-gradient(to left, transparent, var(--gold-100)); min-width: 0; }

/* ════════════════════════════════════════
   LAYOUT GRID
════════════════════════════════════════ */
.main-section { padding: clamp(24px,5vw,48px) 0; }
.twocol { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .twocol { grid-template-columns: 1fr 300px; } }

/* ── Widgets (sidebar) ── */
.widget { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: var(--s5); }
.widget-head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white); font-size: .9rem; font-weight: 700;
}
.widget-head i { color: var(--gold-300); }
.widget-body { padding: 18px; }

.issue-block {
  background: var(--green-800); border-radius: var(--r-sm);
  padding: 16px; text-align: center; margin-bottom: var(--s4);
}
.issue-block__vol  { font-size: 11px; color: rgba(255,255,255,.5); }
.issue-block__num  { font-size: 1.9rem; font-weight: 900; color: var(--gold-300); line-height: 1; }
.issue-block__year { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px; }

.qlinks { list-style: none; }
.qlinks li { border-bottom: 1px dashed var(--gray-200); }
.qlinks li:last-child { border: none; }
.qlinks a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0; font-size: 13.5px; color: var(--gray-700);
  transition: color var(--ease), padding-right var(--ease);
}
.qlinks a i { color: var(--gold-500); font-size: 11px; }
.qlinks a:hover { color: var(--green-700); padding-right: 6px; }

/* ════════════════════════════════════════
   FORMS
════════════════════════════════════════ */
.fg { margin-bottom: var(--s5); }
.fl { display: block; font-size: 13.5px; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; }
.fl .req { color: #d63031; }
.fi {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--gray-200); border-radius: var(--r-sm);
  font-family: var(--font); font-size: 14.5px; color: var(--gray-900);
  background: var(--white); direction: rtl;
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none; appearance: none;
  min-height: 44px;
}
.fi:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(26,92,46,.1); }
textarea.fi { min-height: 130px; resize: vertical; }
select.fi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M5 7L0 0h10z' fill='%238a9e8e'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 13px center;
  padding-left: 34px;
}
.frow { display: grid; gap: var(--s4); }
@media (min-width: 560px) { .frow { grid-template-columns: 1fr 1fr; } }

/* ════════════════════════════════════════
   EDITORIAL
════════════════════════════════════════ */
.ed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 195px), 1fr)); gap: var(--s5); }
.ed-card {
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  text-align: center; padding: 28px 16px 20px;
  border-top: 4px solid var(--green-600);
  transition: all var(--ease);
}
.ed-card:hover { box-shadow: var(--shadow-lg); border-top-color: var(--gold-500); transform: translateY(-4px); }
.ed-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; margin: 0 auto var(--s4);
  border: 3px solid var(--green-600);
}
.ed-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s4); font-size: 2rem; color: var(--white);
  border: 3px solid var(--gold-300);
}
.ed-name { font-weight: 700; color: var(--green-800); font-size: .97rem; margin-bottom: 3px; }
.ed-role { font-size: 12px; color: var(--gold-700); font-weight: 700; margin-bottom: 3px; }
.ed-aff  { font-size: 12.5px; color: var(--gray-400); }
.ed-spec { font-size: 11.5px; color: var(--green-600); margin-top: 5px; }
.board-label {
  text-align: center; margin: 0 0 20px;
}
.board-label span {
  display: inline-block;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white); padding: 7px 26px; border-radius: var(--r-full); font-size: .95rem; font-weight: 700;
}

/* Each board/committee gets its own fully enclosed, separated panel */
.board-section {
  margin: 0 0 var(--s10);
  padding: var(--s8) var(--s6) var(--s10);
  border-radius: var(--r-lg);
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.board-section::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  pointer-events: none;
}
.board-section .board-label { margin-top: 0; }
.board-section-desc {
  text-align: center; max-width: 580px; margin: -6px auto var(--s8);
  font-size: 13.5px; color: var(--gray-700); line-height: 1.7;
}

/* Per-committee accent colors */
.board-section--chief        { background: linear-gradient(180deg, var(--gold-100), var(--white) 55%); border-color: var(--gold-300); }
.board-section--leadership   { background: linear-gradient(180deg, var(--green-100), var(--white) 55%); border-color: var(--green-600); }
.board-section--members      { background: var(--gray-50); border-color: var(--gray-200); }
.board-section--scientific   { background: linear-gradient(180deg, var(--green-100), var(--white) 55%); border-color: var(--green-600); }
.board-section--consultative { background: linear-gradient(180deg, var(--gold-100), var(--white) 55%); border-color: var(--gold-500); }
.board-section--reviewers    { background: var(--gray-50); border-color: var(--gray-200); }
.board-section--language     { background: linear-gradient(180deg, var(--gold-100), var(--white) 55%); border-color: var(--gold-300); }

.board-section--chief        .board-label span { background: linear-gradient(135deg, var(--gold-700), var(--gold-500)); }
.board-section--leadership   .board-label span { background: linear-gradient(135deg, var(--green-800), var(--green-600)); }
.board-section--scientific   .board-label span { background: linear-gradient(135deg, var(--green-700), var(--green-600)); }
.board-section--consultative .board-label span { background: linear-gradient(135deg, var(--gold-700), var(--gold-500)); }
.board-section--language     .board-label span { background: linear-gradient(135deg, var(--gold-700), var(--gold-300)); }

.board-section--chief        .ed-card { border-top-color: var(--gold-500); }
.board-section--leadership   .ed-card { border-top-color: var(--green-600); }
.board-section--scientific   .ed-card { border-top-color: var(--green-700); }
.board-section--consultative .ed-card { border-top-color: var(--gold-500); }
.board-section--language     .ed-card { border-top-color: var(--gold-300); }

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 280px 1fr; } }
.contact-panel {
  background: linear-gradient(155deg, var(--green-900), var(--green-800));
  border-radius: var(--r-md); padding: 28px 22px; color: var(--white);
}
.contact-panel h3 { font-size: 1rem; color: var(--gold-300); font-weight: 700; margin-bottom: 22px; }
.ci { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 20px; }
.ci-icon {
  width: 40px; height: 40px; background: rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold-300);
}
.ci-text p:first-child { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.ci-text p:last-child  { font-size: 13.5px; }
.socials { display: flex; gap: 9px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .95rem;
  transition: all var(--ease);
}
.socials a:hover { background: var(--gold-500); transform: translateY(-3px); }

/* ════════════════════════════════════════
   FILTER BAR
════════════════════════════════════════ */
.filter-bar {
  background: var(--white); border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
  margin-bottom: var(--s6);
  display: flex; flex-wrap: wrap; gap: var(--s3); align-items: flex-end;
}
.filter-item { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 130px; }
.filter-label { font-size: 11.5px; font-weight: 700; color: var(--gray-400); }

/* ════════════════════════════════════════
   ALERTS
════════════════════════════════════════ */
.alert {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 13px 16px; border-radius: var(--r-sm);
  font-size: 13.5px; line-height: 1.6; margin-bottom: var(--s4);
}
.alert-ok   { background: #eaf7f0; color: #1a5c2e; border: 1px solid #b8e4ca; }
.alert-err  { background: #fdf0ef; color: #922b21; border: 1px solid #f0b8b3; }
.alert-info { background: #eaf3fb; color: #1a4f7a; border: 1px solid #afd4ef; }
.alert-warn { background: var(--gold-100); color: var(--gold-700); border: 1px solid rgba(200,150,42,.35); }

/* ════════════════════════════════════════
   PAGINATION
════════════════════════════════════════ */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: var(--s10); }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 8px;
  border-radius: var(--r-sm); font-size: 13.5px; font-weight: 700;
  border: 2px solid var(--gray-200); color: var(--gray-400);
  background: var(--white); transition: all var(--ease);
}
.pager a:hover { border-color: var(--green-600); color: var(--green-700); }
.pager .cur   { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.6); margin-top: 56px; }
.footer-inner {
  padding: clamp(36px,6vw,60px) 0 var(--s10);
  display: grid; gap: var(--s10); grid-template-columns: 1fr;
}
@media (min-width: 600px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.f-brand h4 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.f-brand p  { font-size: 13px; line-height: 1.9; }
.f-brand-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo {
  height: 56px; width: 56px; flex-shrink: 0; object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
  padding: 4px;
}
.f-brand-top h4 { margin-bottom: 0; }
.f-col h5   { font-size: .85rem; font-weight: 700; color: var(--gold-300); margin-bottom: 12px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.07); }
.f-links    { list-style: none; }
.f-links li { margin-bottom: 8px; }
.f-links a  { font-size: 13px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 7px; transition: color var(--ease); }
.f-links a i { color: var(--gold-500); font-size: 11px; }
.f-links a:hover { color: var(--gold-300); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0; text-align: center;
  font-size: 12px; color: rgba(255,255,255,.3);
}
.footer-bar span { color: var(--gold-300); }

/* ════════════════════════════════════════
   UPLOAD ZONE
════════════════════════════════════════ */
.upload-zone {
  border: 2px dashed var(--gray-200); border-radius: var(--r-md);
  padding: 32px 20px; text-align: center; background: var(--gray-50);
  cursor: pointer; transition: all var(--ease);
}
.upload-zone:hover { border-color: var(--green-600); background: var(--green-100); }
.upload-zone__icon { font-size: 2.2rem; color: var(--green-600); margin-bottom: var(--s2); }
.upload-zone__text { font-size: 13.5px; color: var(--gray-400); }
.upload-zone__name { font-size: 13px; color: var(--green-700); font-weight: 700; margin-top: var(--s2); }

/* ════════════════════════════════════════
   ADMIN
════════════════════════════════════════ */
.adm-wrap { display: flex; min-height: 100vh; }
.adm-side {
  width: 240px; flex-shrink: 0;
  background: var(--green-900);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
}
.adm-brand { padding: 22px 16px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: center; }
.adm-brand h3 { font-size: .95rem; color: var(--white); }
.adm-brand p  { font-size: 11px; color: var(--gold-300); margin-top: 3px; }
.adm-nav-title { padding: 13px 16px 4px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.28); }
.adm-link {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 16px; color: rgba(255,255,255,.65); font-size: 13.5px; font-weight: 500;
  border-right: 3px solid transparent;
  transition: all var(--ease);
}
.adm-link i { color: var(--gold-300); width: 16px; text-align: center; }
.adm-link:hover, .adm-link.on { background: rgba(255,255,255,.07); color: var(--white); border-right-color: var(--gold-300); }
.adm-main { flex: 1; padding: var(--s5); background: var(--gray-100); min-width: 0; overflow-x: hidden; }
.adm-topbar {
  background: var(--white); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 13px 20px; box-shadow: var(--shadow-sm); margin-bottom: var(--s5);
}
.adm-topbar h2 { font-size: 1.05rem; font-weight: 700; color: var(--green-800); }
.adm-topbar__user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-400); }
.adm-topbar__user a { color: #c0392b; font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,155px),1fr)); gap: var(--s4); margin-bottom: var(--s5); }
.stat-c { background: var(--white); border-radius: var(--r-md); padding: 18px; text-align: center; box-shadow: var(--shadow-sm); border-top: 4px solid var(--green-600); }
.stat-c--gold { border-top-color: var(--gold-500); }
.stat-c__n { font-size: 1.9rem; font-weight: 900; color: var(--green-800); line-height: 1; }
.stat-c--gold .stat-c__n { color: var(--gold-700); }
.stat-c__l { font-size: 11.5px; color: var(--gray-400); margin-top: 4px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th { background: var(--green-900); color: var(--white); padding: 11px 13px; text-align: right; font-weight: 700; }
.adm-table td { padding: 11px 13px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.adm-table tr:last-child td { border: none; }
.adm-table tr:hover td { background: var(--gray-50); }
.sb { display: inline-block; padding: 3px 11px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 700; }
.sb-p { background: var(--gold-100); color: var(--gold-700); }
.sb-a { background: #eaf7f0; color: #1a5c2e; }
.sb-r { background: #fdf0ef; color: #922b21; }
.sb-v { background: #eaf3fb; color: #1a4f7a; }
@media (max-width: 860px) { .adm-main { padding: var(--s4); } }

/* ════════════════════════════════════════
   LOGIN
════════════════════════════════════════ */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  padding: var(--s6);
}
.login-box {
  background: var(--white); border-radius: var(--r-lg);
  width: 100%; max-width: 400px;
  padding: clamp(24px,5vw,42px);
  box-shadow: var(--shadow-lg);
}
.login-logo { text-align: center; margin-bottom: var(--s6); }
.login-logo img { height: 68px; margin: 0 auto var(--s3); }
.login-logo h2 { color: var(--green-800); font-size: 1.2rem; font-weight: 700; }
.login-logo p  { font-size: 12.5px; color: var(--gray-400); margin-top: 3px; }

/* ════════════════════════════════════════
   UTILITY
════════════════════════════════════════ */
.tc { text-align: center; }
.muted { color: var(--gray-400); }
.mt1 { margin-top: var(--s2); } .mt2 { margin-top: var(--s4); }
.mt3 { margin-top: var(--s5); } .mt4 { margin-top: var(--s8); }
.mb2 { margin-bottom: var(--s4); }
.empty {
  text-align: center; padding: clamp(36px,7vw,72px) var(--s6);
  color: var(--gray-400);
}
.empty i { font-size: 2.8rem; display: block; color: var(--gray-200); margin-bottom: var(--s4); }

/* process steps */
.steps { list-style: none; }
.step { display: flex; gap: 13px; align-items: flex-start; margin-bottom: var(--s5); }
.step__n {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-700); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
}
.step__t { font-weight: 700; color: var(--green-800); font-size: 13.5px; }
.step__d { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* scroll fix for mobile safari */
html { overflow-x: hidden; }
@media (max-width: 767px) {
  .twocol aside { order: -1; } /* sidebar above content on mobile is sometimes nicer — remove if unwanted */
}

/* topbar/brandbar now scroll away normally with the page (no JS, no flicker) */

/* ════════════════════════════════════════
   ADMIN REDESIGN
════════════════════════════════════════ */

/* Overlay mobile */
.adm-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 199;
  backdrop-filter: blur(2px);
}
.adm-overlay.show { display: block; }

/* Sidebar */
.adm-side {
  width: 230px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--green-900) 0%, #0d2318 100%);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  z-index: 200;
}

/* Brand */
.adm-brand {
  padding: 28px 16px 22px;
  border-bottom: 1px solid rgba(200,150,42,.15);
  text-align: center;
}
.adm-brand__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(200,150,42,.15);
  border: 2px solid rgba(200,150,42,.35);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 18px; color: var(--gold-300);
}
.adm-brand h3 { font-size: 1rem; color: var(--white); font-weight: 700; }
.adm-brand p  { font-size: 11px; color: var(--gold-300); margin-top: 3px; opacity: .8; }

/* Nav titles */
.adm-nav-title {
  padding: 16px 18px 5px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.25);
}

/* Nav links */
.adm-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  color: rgba(255,255,255,.6);
  font-size: 13.5px; font-weight: 500;
  border-right: 3px solid transparent;
  transition: all .18s ease;
  position: relative;
  margin: 1px 8px;
  border-radius: 8px;
}
.adm-link i {
  color: var(--gold-300); width: 17px;
  text-align: center; font-size: 13px;
  flex-shrink: 0;
}
.adm-link:hover {
  background: rgba(255,255,255,.07);
  color: var(--white);
  border-right-color: transparent;
}
.adm-link.on {
  background: rgba(200,150,42,.15);
  color: var(--white);
  border-right: 3px solid var(--gold-400);
  border-radius: 8px;
}
.adm-link.on i { color: var(--gold-400); }
.adm-link--danger { color: rgba(255,100,100,.7); }
.adm-link--danger i { color: rgba(255,100,100,.7); }
.adm-link--danger:hover { background: rgba(255,60,60,.1); color: #ff8080; }

/* Badge */
.adm-badge {
  margin-right: auto;
  background: var(--gold-500); color: #1a1a1a;
  font-size: 10px; font-weight: 800;
  padding: 1px 7px; border-radius: 20px;
  display: none;
}
.adm-badge.show { display: inline-block; }

/* Topbar */
.adm-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: var(--s4);
  padding: 14px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: var(--s5);
  border-radius: 0 0 12px 12px;
  position: sticky; top: 0; z-index: 10;
}
.adm-topbar h2 {
  flex: 1;
  font-size: 1.05rem; font-weight: 700;
  color: var(--green-800);
}
.adm-topbar__user {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--gray-400);
}
.adm-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300); font-size: 14px;
}
.adm-logout-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fef0f0; color: #c0392b;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all .18s;
}
.adm-logout-btn:hover { background: #c0392b; color: #fff; }

/* Hamburger */
.adm-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: var(--gray-100); border: none;
  border-radius: 8px; cursor: pointer;
  padding: 0; flex-shrink: 0;
}
.adm-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--green-800); border-radius: 2px;
  transition: all .25s ease;
}
.adm-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.adm-hamburger.open span:nth-child(2) { opacity: 0; }
.adm-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Responsive */
@media (max-width: 860px) {
  .adm-hamburger { display: flex; }
  .adm-side {
    position: fixed; top: 0; right: -250px;
    height: 100vh; width: 230px;
  }
  .adm-side.open { right: 0; transform: none; }
  .adm-main { padding: var(--s4); }
}

