/* ============================================
   فرصة للوظائف — نظام التصميم
   لوحة الألوان: كحلي عميق (من الشعار) + ذهبي (من الشعار) + أساس رمادي فاتح نظيف
   الخطوط: Cairo (عناوين) / Tajawal (نص) / IBM Plex Mono (بيانات وأرقام)
   ============================================ */

:root {
  --ink: #0B1420;
  --ink-soft: #4A5568;
  --paper: #F7F8FA;
  --card: #FFFFFF;
  --line: #E3E7EE;
  --primary: #0A2647;
  --primary-dark: #051B33;
  --primary-light: #EAF0F8;
  --accent: #C9971A;
  --accent-light: #FBF3E3;
  --danger: #C0392B;

  --font-display: 'Cairo', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'Cairo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
  --shadow: 0 2px 10px rgba(10, 38, 71, 0.06);
  --shadow-lift: 0 14px 34px rgba(10, 38, 71, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  direction: rtl;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ الهيدر ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.header-tagline {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

@media (max-width: 620px) {
  .header-tagline { display: none; }
}

/* ============ شريط الحالة (بديل الهيرو التقليدي) ============ */
.status-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 26px 0;
  position: relative;
  overflow: hidden;
}

.status-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201, 151, 26, 0.18), transparent 55%);
  pointer-events: none;
}

.status-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
}

.status-count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
}

.status-count .num {
  font-family: var(--font-mono);
  font-weight: 500;
  color: #F0C458;
}

.status-sub {
  font-size: 13.5px;
  opacity: 0.78;
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* ============ فلاتر البحث (Pills) ============ */
.filters {
  padding: 24px 0 8px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.filter-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  min-width: 70px;
}

.pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pill:hover { border-color: var(--primary); color: var(--primary); }

.pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.search-box {
  margin-bottom: 10px;
}

.search-box form {
  display: flex;
  gap: 8px;
}

.search-box input[type="text"] {
  flex: 1;
  padding: 13px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--card);
}

.search-box input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.search-box button {
  padding: 13px 28px;
  border-radius: 100px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-box button:hover { background: var(--primary-dark); }

/* ============ شبكة الوظائف ============ */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px 0 40px;
}

@media (max-width: 900px) {
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .jobs-grid { grid-template-columns: 1fr; }
}

.job-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border-top: 3px solid var(--cat-color, var(--primary));
  position: relative;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--cat-color, var(--primary));
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  background: var(--cat-light, var(--primary-light));
  color: var(--cat-color, var(--primary));
}

.badge-new {
  background: var(--accent-light);
  color: var(--accent);
}

.job-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.job-company {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9AA5B1;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* ============ حالة فارغة ============ */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--ink-soft);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

/* ============ الترقيم ============ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 50px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--card);
}

.pagination a:hover { border-color: var(--primary); color: var(--primary); }

.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============ صفحة تفاصيل الوظيفة ============ */
.job-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.detail-banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.detail-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.detail-desc {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}

.info-card-header {
  background: var(--cat-color, var(--primary));
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 16px;
}

.info-table { width: 100%; border-collapse: collapse; }

.info-table tr { border-bottom: 1px solid var(--line); }
.info-table tr:nth-child(even) { background: #FAFBFC; }
.info-table tr:last-child { border-bottom: none; }

.info-table td {
  padding: 13px 18px;
  font-size: 14.5px;
}

.info-table td:first-child {
  font-weight: 700;
  color: var(--ink-soft);
  width: 34%;
  white-space: nowrap;
}

.detail-section h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  border-right: 4px solid var(--cat-color, var(--primary));
  padding-right: 12px;
  margin: 26px 0 12px;
}

.detail-section ul {
  padding-right: 22px;
  margin: 0 0 20px;
  color: #334155;
}

.detail-section li { margin-bottom: 8px; }

.notice-box {
  background: var(--cat-light, var(--accent-light));
  border-right: 4px solid var(--cat-color, var(--accent));
  padding: 15px 20px;
  border-radius: 0 10px 10px 0;
  margin: 26px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.apply-btn {
  display: block;
  text-align: center;
  background: var(--cat-color, var(--primary));
  color: #fff !important;
  padding: 17px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 17px;
  margin: 34px 0 10px;
  box-shadow: var(--shadow-lift);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.apply-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

/* ============ الفوتر ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-family: var(--font-mono);
}

.site-footer a { color: var(--primary); font-weight: 700; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 14px;
}

.footer-links a { color: var(--ink-soft); font-weight: 600; }
.footer-links a:hover { color: var(--primary); }

/* ============ الصفحات الثابتة (من نحن، الخصوصية، الشروط، اتصل بنا) ============ */
.static-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 70px;
  line-height: 2;
}

.static-page h1 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.static-page .updated-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #9AA5B1;
  margin-bottom: 28px;
}

.static-page h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 30px 0 10px;
  border-right: 4px solid var(--accent);
  padding-right: 12px;
}

.static-page p {
  color: #334155;
  margin-bottom: 14px;
  font-size: 15.5px;
}

.static-page ul {
  padding-right: 22px;
  margin-bottom: 16px;
  color: #334155;
}

.static-page li { margin-bottom: 8px; }

.static-page a { color: var(--primary); font-weight: 700; text-decoration: underline; }

/* ============ إمكانية الوصول ============ */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ═══ شعار الجهة فوق البانر ═══ */
.banner-wrap {
  position: relative;
  display: block;
  line-height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.banner-wrap .detail-banner {
  width: 100%;
  height: auto;
  display: block;
}
.banner-wrap .entity-logo {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  font-size: 0;          /* يمنع ظهور نص alt عند فشل التحميل */
  color: transparent;
}
.apply-unavailable {
  padding: 14px;
  text-align: center;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 10px;
  font-weight: 600;
  margin: 16px 0;
}
@media (max-width: 480px) {
  .banner-wrap .entity-logo {
    width: 40px;
    height: 40px;
    bottom: 8px;
    inset-inline-start: 8px;
    padding: 4px;
    border-radius: 8px;
  }
}

/* ═══ شعار الجهة في البطاقة ═══ */
.job-company {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: #4b5563;
}
.card-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  padding: 3px;
  flex-shrink: 0;
  font-size: 0;
}

/* ═══ وظائف مشابهة ═══ */
.similar-section {
  margin: 34px auto 20px;
  max-width: 1100px;
  padding: 0 16px;
}
.similar-title {
  font-size: 1.25rem;
  color: #0A2647;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #C9971A;
  display: inline-block;
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.similar-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 11px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, transform .18s;
}
.similar-card:hover {
  border-color: #C9971A;
  transform: translateY(-2px);
}
.similar-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 9px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  padding: 4px;
  flex-shrink: 0;
  font-size: 0;
}
.similar-body { min-width: 0; }
.similar-job-title {
  font-weight: 700;
  font-size: .92rem;
  color: #0A2647;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.similar-meta {
  font-size: .8rem;
  color: #6b7280;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ═══ بطاقة الفلاتر ═══ */
.filters-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 22px;
}

.fc-search { position: relative; display: flex; gap: 9px; margin-bottom: 14px; }
.fc-search-icon {
  position: absolute; inset-inline-start: 16px; top: 50%;
  transform: translateY(-50%); font-size: 15px;
  opacity: .5; pointer-events: none;
}
.fc-search input[type="text"] {
  flex: 1; padding: 13px 18px 13px 18px; padding-inline-start: 44px;
  border-radius: 100px; border: 1px solid var(--line);
  font-family: var(--font-body); font-size: 15px;
  background: var(--paper); transition: .18s;
}
.fc-search input[type="text"]:focus {
  outline: none; border-color: var(--accent);
  background: var(--card); box-shadow: 0 0 0 3px var(--accent-light);
}
.fc-search button {
  padding: 13px 26px; border: 0; border-radius: 100px;
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; cursor: pointer; transition: .18s;
}
.fc-search button:hover { background: var(--primary-dark); }

.fc-selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.fc-field { display: flex; flex-direction: column; gap: 6px; }
.fc-label {
  font-size: 11.5px; font-weight: 700;
  color: var(--ink-soft); letter-spacing: .2px;
  padding-inline-start: 3px;
}
.fc-field select {
  width: 100%; padding: 12px 15px; padding-inline-start: 36px;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 14px;
  cursor: pointer; appearance: none; transition: .18s;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2647' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 13px center;
  background-size: 15px;
}
.fc-field select:hover { border-color: #cfd6e0; }
.fc-field select:focus {
  outline: none; border-color: var(--accent);
  background-color: var(--card); box-shadow: 0 0 0 3px var(--accent-light);
}

.fc-active {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 15px; padding-top: 15px;
  border-top: 1px dashed var(--line);
}
.fc-active-label { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.fc-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 100px;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: .16s;
}
.fc-chip b { opacity: .45; font-size: 15px; line-height: 1; }
.fc-chip:hover { background: var(--accent-light); color: var(--accent); }
.fc-chip:hover b { opacity: 1; }
.fc-clear {
  margin-inline-start: auto; padding: 7px 14px;
  color: var(--danger); font-size: 12.5px; font-weight: 700;
  text-decoration: none; border-radius: 100px; transition: .16s;
}
.fc-clear:hover { background: #FDEDEB; }

@media (max-width: 640px) {
  .filters-card { padding: 14px; }
  .fc-selects { grid-template-columns: 1fr; gap: 9px; }
  .fc-search button { padding: 13px 18px; }
  .fc-clear { margin-inline-start: 0; }
}

/* ═══ ترويسة الجهة بديل الصورة ═══ */
.job-brand{display:flex;align-items:center;gap:14px;padding:18px;margin-bottom:16px;
background:var(--primary-light);border:1px solid var(--line);border-radius:var(--radius);}
.brand-logo{width:64px;height:64px;object-fit:contain;background:#fff;
border:1px solid var(--line);border-radius:12px;padding:7px;flex-shrink:0;font-size:0;}
.brand-name{font-family:var(--font-display);font-weight:800;font-size:1.05rem;color:var(--primary);}
.brand-city{font-size:.85rem;color:var(--ink-soft);margin-top:3px;}
@media(max-width:480px){.brand-logo{width:52px;height:52px;}}

/* ═══ المسميات والتخصصات ═══ */
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 22px;}
.tag{display:inline-flex;align-items:center;padding:8px 15px;border-radius:100px;
font-size:.87rem;font-weight:600;line-height:1.5;}
.tag-pos{background:var(--primary-light);color:var(--primary);
border:1px solid rgba(10,38,71,.1);}
.tag-major{background:var(--accent-light);color:#8a6510;
border:1px solid rgba(201,151,26,.18);}

/* ═══ شارة المنصة الوسيطة ═══ */
.via-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 14px 0 10px;
  background: #F0F6FF;
  border: 1px solid #CFE0F7;
  border-inline-start: 3px solid #0A66C2;
  border-radius: 10px;
  font-size: .89rem;
  color: #1F3B5C;
  line-height: 1.7;
}
.via-badge strong { color: #0A66C2; }
/* ═══════════════════════════════════════════════════════
   أنماط المقالات — تُلحق بآخر style.css
   ثم يُرفع رقم النسخة في head.ejs لكسر الكاش
   ═══════════════════════════════════════════════════════ */

/* ── مسار التنقل ── */
.breadcrumb {
  font-size: 0.9rem;
  color: #6b7a90;
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: #6b7a90;
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }

/* ── بيانات المقال ── */
.article-meta {
  font-size: 0.9rem;
  color: #7d8ba0;
  margin-bottom: 2rem;
}
.article-meta span { margin: 0 0.35rem; }

/* ── جسم المقال ──
   عرض السطر محدود عمدًا: النص العربي الطويل يصعب تتبعه
   حين يمتد على عرض الشاشة كاملًا */
.article-body {
  max-width: 46rem;
  line-height: 2;
  font-size: 1.08rem;
  color: #2c3a4d;
}

.article-body h2 {
  font-size: 1.55rem;
  margin: 2.6rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eef1f5;
  line-height: 1.5;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.8rem;
  line-height: 1.5;
}

.article-body p { margin-bottom: 1.3rem; }

.article-body ul,
.article-body ol {
  margin: 0 1.5rem 1.5rem 0;
  padding: 0;
}
.article-body li { margin-bottom: 0.7rem; }

.article-body strong { color: #14243a; }

.article-body a {
  color: #1a5fb4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── الاقتباس / التنبيه ── */
.article-body blockquote {
  margin: 2rem 0;
  padding: 1.1rem 1.3rem;
  background: #f7f9fc;
  border-right: 4px solid #e8c26a;
  border-radius: 6px;
  color: #44546b;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

/* ── الفاصل ── */
.article-body hr {
  border: 0;
  border-top: 1px solid #e6eaf0;
  margin: 2.6rem 0;
}

/* ── الجداول ── */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0;
  font-size: 0.98rem;
}
.article-body th,
.article-body td {
  padding: 0.7rem 0.9rem;
  border: 1px solid #e6eaf0;
  text-align: right;
}
.article-body th { background: #f7f9fc; font-weight: 700; }

/* ── دعوة الإجراء ── */
.article-cta {
  margin: 3rem 0 1rem;
  padding: 1.6rem;
  background: #f7f9fc;
  border-radius: 10px;
  text-align: center;
}
.article-cta p { margin-bottom: 1rem; color: #44546b; }

/* ── مقالات ذات صلة ── */
.article-related { margin-top: 2.5rem; }
.article-related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.article-related ul { list-style: none; padding: 0; margin: 0; }
.article-related li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #eef1f5;
}
.article-related a { color: #1a5fb4; text-decoration: none; }
.article-related a:hover { text-decoration: underline; }

/* ── فهرس المقالات ── */
.page-intro {
  color: #5a6b81;
  margin-bottom: 2rem;
  max-width: 42rem;
  line-height: 1.9;
}

.article-list { list-style: none; padding: 0; margin: 0; }

.article-card {
  padding: 1.4rem 0;
  border-bottom: 1px solid #eef1f5;
}
.article-card h2 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.article-card h2 a { color: #14243a; text-decoration: none; }
.article-card h2 a:hover { color: #1a5fb4; }
.article-card p {
  color: #5a6b81;
  margin: 0 0 0.6rem;
  line-height: 1.8;
}
.article-card .article-meta { margin-bottom: 0; }

/* ── الجوال ── */
@media (max-width: 640px) {
  .article-body { font-size: 1.02rem; line-height: 1.95; }
  .article-body h2 { font-size: 1.35rem; }
  .article-body h3 { font-size: 1.15rem; }
}

.page-h1 { font-size: 1.55rem; font-weight: 800; color: #14243a; margin: 0 0 1.1rem; line-height: 1.5; }
@media (max-width: 640px) { .page-h1 { font-size: 1.3rem; } }

.page-intro-box { background: #f7f9fc; border-right: 4px solid #e8c26a; border-radius: 10px; padding: 1rem 1.2rem; margin: 0 0 1.4rem; line-height: 1.9; color: #44546b; }
.page-intro-box p { margin: 0 0 0.7rem; }
.page-intro-box p:last-child { margin: 0; }
.page-intro-box a { color: #1a5fb4; font-weight: 700; }

.page-intro-box { background: #f7f9fc; border-right: 4px solid #e8c26a; border-radius: 10px; padding: 1rem 1.2rem; margin: 0 0 1.4rem; line-height: 1.9; color: #44546b; }
.page-intro-box p { margin: 0 0 0.7rem; }
.page-intro-box p:last-child { margin: 0; }
.page-intro-box a { color: #1a5fb4; font-weight: 700; }

.logo-initial { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #12305a, #1e4a7d); color: #e8c26a; font-weight: 900; font-size: 1.05rem; border-radius: 8px; text-transform: uppercase; }

.logo-icon { display: inline-flex; align-items: center; justify-content: center; background: #f2f5f9; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 1.15rem; line-height: 1; }
