
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Playfair+Display:wght@600;700&family=Amiri:wght@700&display=swap');

:root{
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#222;
  --primary:#1f3c88;
  --accent:#c9a227;
}



/* ===== Mobile Fixes ===== */
@media (max-width: 768px) {

  header{
    min-height: auto;
    padding: 18px 16px;
  }

  .site-title,
  .journal-title{
    font-size: 28px !important;
    line-height: 1.3;
  }

  .site-subtitle{
    font-size: 14px;
    opacity: .85;
  }

}


body{
  font-family: 'Cairo', 'Tahoma', Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
}

/* عناوين */
.section-title{
  font-size: 26px;
  font-weight: 800;
}

/* النصوص */
p, span, li{
  font-size: 16px;
  font-weight: 500;
}

/* موبايل */
@media (max-width: 768px){
  body{
    font-size: 16px;
  }

  p, span, li{
    font-size: 15.5px;
  }
}



/* ???? ??????? */
.issues-page{
  font-size:16px;
}

/* ?????? */
.issues-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
  margin-top:40px;
}

/* ???? ????? */
.issue-card{
  background:var(--card);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.18);
  transition:.35s;
}

.issue-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 60px rgba(0,0,0,.28);
}

/* ?????? */
.issue-cover{
  height:360px;
  overflow:hidden;
}

.issue-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ???????? */
.issue-info{
  padding:22px;
  text-align:center;
}

.issue-info h3{
  font-size:20px;
  color:var(--primary);
  margin-bottom:8px;
}

.issue-info p{
  font-size:14px;
  opacity:.75;
  margin-bottom:18px;
}

/* ?? ????? */
.issue-btn{
  display:inline-block;
  padding:10px 26px;
  border-radius:30px;
  background:linear-gradient(135deg,var(--primary),#000);
  color:#fff;
  font-weight:700;
  transition:.3s;
}

.issue-btn:hover{
  transform:scale(1.05);
}

/* ?????? */
@media(max-width:768px){
  .issue-cover{
    height:300px;
  }
}




/* صفحة الهْâة الاستشارْه */
.advisory-page{
  font-size:16px;
  line-height:1.9;
}

/* الجرْë */
.advisory-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:22px;
}

/* البوكس */
.advisor-item{
  background:var(--card);
  padding:22px 20px;
  border-radius:18px;
  box-shadow:0 14px 35px rgba(0,0,0,.16);
  display:flex;
  gap:16px;
  align-items:flex-start;
  transition:.3s;
}

/* حركة خفْùة */
.advisor-item:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 45px rgba(0,0,0,.22);
}

/* الرقپE*/
.advisor-item .num{
  min-width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),#000);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:14px;
}

/* البْمنات */
.advisor-item .info strong{
  display:block;
  font-size:16px;
  color:var(--primary);
  margin-bottom:6px;
}

.advisor-item .info span{
  font-size:14px;
  opacity:.85;
}

/* موباû@ */
@media(max-width:768px){
  .advisory-list{
    grid-template-columns:1fr;
  }
}




/* ===== القْمدة ===== */
.editor-leadership{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
  margin-bottom:60px;
}

.leader-card{
  background:var(--card);
  padding:26px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.leader-card.chief{
  border:2px solid var(--accent);
}

.leader-role{
  font-size:14px;
  letter-spacing:2px;
  opacity:.7;
  margin-bottom:8px;
}

.leader-name{
  font-size:18px;
  font-weight:800;
  color:var(--primary);
}

/* ===== أعضاء الهْâة ===== */
.editor-members{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:18px;
  margin-bottom:60px;
}

.member-card{
  background:var(--card);
  padding:18px 20px;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}

.member-card strong{
  display:block;
  font-size:16px;
  color:var(--primary);
}

.member-card span{
  display:block;
  margin-top:6px;
  font-size:14px;
  opacity:.8;
}

/* ===== الهْâة الإدارْه ===== */
.admin-members{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}

.admin-card{
  background:linear-gradient(135deg,#f8f8f8,#ffffff);
  padding:20px;
  border-radius:18px;
  text-align:center;
  box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.admin-card span{
  display:block;
  margin-top:8px;
  font-size:14px;
  opacity:.85;
}



/* حاوية الصورة */
.editor-photo{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* الحلقة الخارجْه */
.photo-ring{
  width:210px;
  height:210px;
  border-radius:50%;
  padding:8px;
  background:
    conic-gradient(
      from 0deg,
      var(--accent),
      #fff,
      var(--accent),
      #fff,
      var(--accent)
    );
  box-shadow:
    0 25px 45px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.6);
  position:relative;
}

/* تأثْي ختپEخفْù */
.photo-ring::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:50%;
  border:1px dashed rgba(201,162,39,.6);
}

/* الصورة نفسها */
.photo-ring img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  background:#ddd;
  box-shadow:
    inset 0 0 25px rgba(0,0,0,.25);
  filter:contrast(1.05) saturate(1.05);
}

/* موباû@ */
@media(max-width:768px){
  .photo-ring{
    width:160px;
    height:160px;
  }
}


.editor-chief{
  text-align:center;
  line-height:2;
}

.editor-name{
  font-size:24px;
  font-weight:800;
  color:var(--primary);
  margin-bottom:20px;
}

.editor-roles p{
  margin:6px 0;
  font-size:17px;
  color:var(--text);
  opacity:.9;
}



body.dark{
  --bg:#0e1228;
  --card:#1b1f3a;
  --text:#e9e9ff;
}

body{
  margin:0;
  font-family:'Cairo', sans-serif;
  background:var(--bg);
  color:var(--text);
  transition:.4s;
}

/* HERO - REDUCED HEIGHT */
.hero{
  position:relative;
  height:34vh;
  min-height:240px;
  background:
    radial-gradient(circle at 70% 30%,rgba(255,255,255,.08),transparent 40%),
    linear-gradient(120deg,#0b1026,#1f3c88,#3b1c5a);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero h1{
  font-family:'Amiri', serif;
  font-size:58px;
  letter-spacing:6px;
  margin:0;
  text-shadow:0 6px 18px rgba(0,0,0,.5);
}

.hero .subtitle{
  margin-top:10px;
  font-size:16px;
  opacity:.9;
}

/* DARK MODE */
.toggle{
  position:fixed;
  top:16px;
  left:16px;
  background:var(--card);
  color:var(--text);
  padding:7px 14px;
  border-radius:30px;
  cursor:pointer;
  font-size:13px;
  z-index:200;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}

/* NAV */
nav{
  background:var(--card);
  display:flex;
  justify-content:center;
  gap:26px;
  padding:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.15);
  position:sticky;
  top:0;
  z-index:100;
}

nav a{
  text-decoration:none;
  font-weight:800;
  color:var(--primary);
  position:relative;
  padding:6px 2px;
}

nav a::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-8px;
  width:0;
  height:4px;
  background:var(--accent);
  transition:.3s;
}

nav a:hover::after{
  width:100%;
}

/* IFRAME */
iframe{
  width:100%;
  border:none;
  min-height:1300px;
  background:var(--bg);
}

/* INNER */
.inner{
  max-width:1100px;
  margin:45px auto;
  background:var(--card);
  padding:45px;
  border-radius:22px;
  box-shadow:0 25px 60px rgba(0,0,0,.18);
}

.section-title{
  font-family:'Playfair Display', serif;
  font-size:32px;
  text-align:center;
  letter-spacing:3px;
  color:var(--primary);
  margin-bottom:35px;
}

.section-title::after{
  content:"";
  display:block;
  width:100px;
  height:3px;
  margin:18px auto 0;
  background:linear-gradient(to right,transparent,var(--accent),transparent);
}

/* MOBILE */
@media(max-width:768px){
  .hero{
    height:auto;
    padding:45px 20px;
  }
  .hero h1{
    font-size:42px;
  }
  .hero .subtitle{
    font-size:14px;
  }
  nav{
    flex-wrap:wrap;
    gap:14px;
  }
  iframe{
    min-height:1100px;
  }
}