/* ═══════════════════════════════════════════════════
   article.css — صفحة تفاصيل المقالة
═══════════════════════════════════════════════════ */

/* ── Page base ────────────────────────────────────── */
.art-page { background: #f5f7fb; }

/* ── 404 ──────────────────────────────────────────── */
.art-404 {
  min-height: 80vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 16px; padding-top: 100px;
  color: var(--text-dark);
}
.art-404 i  { font-size: 5rem; color: var(--gold-500); }
.art-404 h1 { font-size: 6rem; font-weight: 900; color: var(--navy-800); line-height: 1; }
.art-404 p  { font-size: 1.1rem; color: var(--text-muted); }

/* ── Hero ─────────────────────────────────────────── */
.art-hero {
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}
.art-hero-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(201,168,76,.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.art-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(201,168,76,.06), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
}
.art-hero-inner { position: relative; z-index: 2; }

/* Breadcrumb */
.art-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.5);
  margin-bottom: 20px; flex-wrap: wrap;
}
.art-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; transition: var(--trans-fast); }
.art-breadcrumb a:hover { color: var(--gold-300); }
.art-breadcrumb i { font-size: .55rem; color: rgba(255,255,255,.3); }

/* Category badge */
.art-hero-cat {
  display: inline-flex; align-items: center;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold-300);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  padding: 6px 18px; border-radius: 50px;
  margin-bottom: 18px;
}

/* Title */
.art-hero-title {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  max-width: 800px;
  margin-bottom: 18px;
}

/* Excerpt */
.art-hero-excerpt {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 24px;
}

/* Meta row */
.art-hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}
.art-hero-meta i { color: var(--gold-400); margin-left: 4px; }

/* Share buttons */
.art-hero-share {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.4);
}
.share-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; cursor: pointer;
  text-decoration: none;
  transition: var(--trans-fast);
}
.share-btn:hover { transform: translateY(-3px); }
.share-wa:hover { background: rgba(37,211,102,.25); border-color: #25d366; color: #25d366; }
.share-x:hover  { background: rgba(255,255,255,.15); color: #fff; }
.share-copy:hover { background: rgba(201,168,76,.2); border-color: var(--gold-400); color: var(--gold-300); }

/* ── Body wrapper ─────────────────────────────────── */
.art-body-wrapper {
  padding: 60px 0 80px;
}

/* ── Sidebar ──────────────────────────────────────── */
.art-sidebar {
  position: sticky;
  top: 90px;
}
.art-sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.art-sidebar-card h6 {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

/* TOC */
.art-toc {
  display: flex; flex-direction: column; gap: 4px;
}
.art-toc a {
  font-size: .82rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--trans-fast);
  line-height: 1.4;
}
.art-toc a.toc-sub { padding-right: 22px; font-size: .78rem; }
.art-toc a:hover   { background: var(--gray-100); color: var(--navy-500); }
.art-toc a.active  {
  background: rgba(201,168,76,.1);
  color: var(--gold-600);
  font-weight: 700;
  border-right: 2px solid var(--gold-500);
}

/* Sidebar CTA */
.art-sidebar-cta { text-align: center; }
.sidebar-doc-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold-400);
  margin: 0 auto 12px;
}
.art-sidebar-cta h6 { border: none; padding: 0; font-size: 1rem !important; margin-bottom: 4px; }
.art-sidebar-cta p  { font-size: .78rem; color: var(--text-muted); margin-bottom: 16px; }

/* ── Article content ──────────────────────────────── */
.art-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  line-height: 1.9;
  font-size: 1rem;
  color: var(--text-mid);
}

/* Lead paragraph */
.art-content .art-lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.85;
  border-right: 4px solid var(--gold-500);
  padding-right: 20px;
  margin-bottom: 36px;
}

/* Headings */
.art-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-800);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}
.art-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px; right: 0;
  width: 60px; height: 2px;
  background: var(--gold-500);
}
.art-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-700);
  margin: 28px 0 12px;
}

/* Paragraph */
.art-content p { margin-bottom: 18px; }

/* ── Lists ────────────────────────────────────────── */
.art-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  margin: 18px 0 24px;
}
.art-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.art-list li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.art-checklist {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  margin: 18px 0 24px;
}
.art-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
  background: rgba(201,168,76,.05);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 10px;
  font-size: .95rem;
}
.art-checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold-500);
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Steps ────────────────────────────────────────── */
.art-step {
  display: flex; gap: 20px;
  margin: 22px 0;
  padding: 22px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--trans);
}
.art-step:hover {
  border-color: rgba(201,168,76,.3);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.art-step-featured {
  background: linear-gradient(135deg, rgba(201,168,76,.04), rgba(201,168,76,.08));
  border-color: rgba(201,168,76,.3);
}
.art-step-num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-600), var(--gold-400));
  color: var(--navy-900);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900;
  box-shadow: var(--shadow-gold);
}
.art-step-body { flex: 1; }
.art-step-body h3 {
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy-800); margin-bottom: 8px; margin-top: 0;
}
.art-step-body p { margin: 0; font-size: .92rem; }

/* ── Highlight box ────────────────────────────────── */
.art-highlight-box {
  background: rgba(201,168,76,.06);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0;
}

/* ── Blockquote ───────────────────────────────────── */
.art-blockquote {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-700);
  border-right: 5px solid var(--gold-500);
  background: linear-gradient(135deg, rgba(201,168,76,.05), transparent);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

/* ── Info grid ────────────────────────────────────── */
.art-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
}
.art-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--trans);
  box-shadow: var(--shadow-sm);
}
.art-info-card:hover {
  border-color: rgba(201,168,76,.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
}
.art-info-card i {
  font-size: 1.8rem;
  color: var(--gold-500);
  margin-bottom: 10px;
  display: block;
}
.art-info-card h4 {
  font-size: .9rem; font-weight: 800;
  color: var(--navy-800); margin-bottom: 6px;
}
.art-info-card p {
  font-size: .8rem; color: var(--text-muted); margin: 0;
}

/* ── Timeline ─────────────────────────────────────── */
.art-timeline {
  display: flex; flex-direction: column; gap: 0;
  margin: 22px 0;
  position: relative;
  padding-right: 20px;
}
.art-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 41px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), rgba(201,168,76,.1));
}
.art-tl-item {
  display: flex; gap: 20px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--trans);
  position: relative;
}
.art-tl-item:hover { border-color: rgba(201,168,76,.3); box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.art-tl-featured { border-color: rgba(201,168,76,.3); background: rgba(201,168,76,.03); }
.art-tl-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold-400);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,.2);
}
.art-tl-featured .art-tl-icon {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-400));
  color: var(--navy-900);
}
.art-tl-body { flex: 1; }
.art-tl-body h4 { font-size: .95rem; font-weight: 800; color: var(--navy-800); margin-bottom: 6px; }
.art-tl-body p  { font-size: .88rem; color: var(--text-muted); margin: 0; }
.art-tl-badge {
  display: inline-block;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-600);
  font-size: .7rem; font-weight: 700;
  padding: 2px 10px; border-radius: 50px;
  margin-top: 8px;
}

/* ── Day guide ────────────────────────────────────── */
.art-day-guide {
  display: flex; flex-direction: column; gap: 12px;
  margin: 22px 0;
}
.art-day {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: 12px;
}
.day-num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy-800); color: var(--gold-400);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: .9rem; font-weight: 800;
}
.art-day strong { display: block; color: var(--navy-800); margin-bottom: 4px; }
.art-day p { margin: 0; font-size: .88rem; color: var(--text-muted); }

/* ── Dos & Donts ──────────────────────────────────── */
.art-dos-donts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 22px 0;
}
.art-dos, .art-donts {
  border-radius: var(--radius-md); padding: 22px;
}
.art-dos   { background: rgba(37,211,102,.05); border: 1px solid rgba(37,211,102,.25); }
.art-donts { background: rgba(231,76,60,.05);  border: 1px solid rgba(231,76,60,.2); }
.art-dos h4   { color: #0a6c3e; font-size: .9rem; font-weight: 800; margin-bottom: 14px; }
.art-donts h4 { color: #a0291e; font-size: .9rem; font-weight: 800; margin-bottom: 14px; }
.art-dos h4 i   { color: #25d366; }
.art-donts h4 i { color: #e74c3c; }
.art-dos ul, .art-donts ul {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.art-dos ul li, .art-donts ul li { font-size: .85rem; }
.art-dos ul li::before   { content: '✓ '; color: #25d366; font-weight: 900; }
.art-donts ul li::before { content: '✗ '; color: #e74c3c; font-weight: 900; }

/* ── Warning box ──────────────────────────────────── */
.art-warning-box {
  display: flex; gap: 18px;
  background: rgba(231,76,60,.06);
  border: 1px solid rgba(231,76,60,.25);
  border-radius: var(--radius-md);
  padding: 22px; margin: 24px 0;
}
.art-warning-box > i {
  font-size: 1.8rem; color: #e74c3c; flex-shrink: 0; margin-top: 2px;
}
.art-warning-box h4 { font-size: .95rem; font-weight: 800; color: #a0291e; margin-bottom: 10px; }
.art-warning-box ul { list-style: none; padding: 0; margin: 0; }
.art-warning-box ul li { font-size: .88rem; color: var(--text-mid); padding: 3px 0; }
.art-warning-box ul li::before { content: '• '; color: #e74c3c; }

/* ── Signs grid ───────────────────────────────────── */
.art-signs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin: 28px 0;
}
.art-sign-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.art-sign-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  transform: scaleX(0); transform-origin: left;
  transition: var(--trans);
}
.art-sign-card:hover {
  border-color: rgba(201,168,76,.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.art-sign-card:hover::before { transform: scaleX(1); }
.art-sign-num {
  font-size: 2.5rem; font-weight: 900;
  color: rgba(201,168,76,.15);
  line-height: 1; margin-bottom: 8px;
}
.art-sign-icon {
  font-size: 1.6rem; color: var(--gold-500);
  margin-bottom: 12px;
}
.art-sign-card h3 {
  font-size: .95rem; font-weight: 800;
  color: var(--navy-800); margin-bottom: 10px;
}
.art-sign-card p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ── CTA box ──────────────────────────────────────── */
.art-cta-box {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin: 36px 0 8px;
  flex-wrap: wrap;
}
.art-cta-box > i {
  font-size: 2rem; color: var(--gold-400);
  flex-shrink: 0;
}
.art-cta-box div { flex: 1; }
.art-cta-box h4 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.art-cta-box p  { font-size: .85rem; color: rgba(255,255,255,.55); margin: 0; }
.btn-art-cta {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-400));
  color: var(--navy-900) !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: .88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--trans);
  box-shadow: var(--shadow-gold);
  display: inline-block;
}
.btn-art-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,168,76,.4); }
.btn-art-wa {
  background: linear-gradient(135deg, #128c5e, #25d366) !important;
  box-shadow: 0 8px 24px rgba(37,211,102,.3) !important;
}
.btn-art-wa:hover { box-shadow: 0 12px 32px rgba(37,211,102,.45) !important; }

/* ── Author card ──────────────────────────────────── */
.art-author-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}
.art-author-img {
  width: 70px; height: 70px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--gold-400);
  border: 3px solid rgba(201,168,76,.3);
}
.art-author-body h5 { font-size: 1rem; font-weight: 800; color: var(--navy-800); margin-bottom: 6px; }
.art-author-body p  { font-size: .83rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.art-author-soc { display: flex; gap: 8px; }
.art-author-soc a {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--text-muted);
  text-decoration: none; transition: var(--trans-fast);
}
.art-author-soc a:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

/* ── Footer row ───────────────────────────────────── */
.art-footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  margin-top: 20px; padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}
.art-tag {
  display: inline-flex; align-items: center;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-600); font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 50px;
}
.art-share-row { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-muted); }

/* ── Related articles ─────────────────────────────── */
.art-related-section {
  background: var(--gray-100);
  padding: 70px 0;
  border-top: 1px solid var(--gray-200);
}
.rel-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  text-decoration: none;
  transition: var(--trans);
  height: 100%;
}
.rel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,.25);
}
.rel-img-bg {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.15);
  transition: transform .4s ease;
}
.rel-card:hover .rel-img-bg { transform: scale(1.05); }
.rel-body { padding: 20px; flex: 1; }
.rel-cat {
  font-size: .7rem; font-weight: 800;
  background: rgba(201,168,76,.1);
  color: var(--gold-600);
  padding: 3px 10px; border-radius: 50px;
  display: inline-block; margin-bottom: 10px;
}
.rel-body h5 {
  font-size: .92rem; font-weight: 800;
  color: var(--navy-800); line-height: 1.4; margin-bottom: 8px;
}
.rel-body p { font-size: .8rem; color: var(--text-muted); margin-bottom: 14px; }
.rel-read {
  font-size: .82rem; font-weight: 700;
  color: var(--gold-500); display: flex; align-items: center;
}
.rel-read i { transition: var(--trans-fast); }
.rel-card:hover .rel-read i { transform: translateX(-4px); }

/* ── Mini footer ──────────────────────────────────── */
.art-mini-footer {
  background: var(--navy-950);
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.art-footer-logo {
  font-size: 1rem; font-weight: 800;
  color: var(--white); text-decoration: none;
  display: inline-block; margin-bottom: 6px;
}
.art-mini-footer p {
  font-size: .78rem; color: rgba(255,255,255,.25); margin: 0;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1199.98px) {
  .art-content { padding: 40px 36px; }
}
@media (max-width: 991.98px) {
  .art-hero { padding: 110px 0 50px; }
  .art-hero-title { font-size: 1.7rem; }
  .art-body-wrapper { padding: 40px 0 60px; }
  .art-content { padding: 32px 24px; border-radius: var(--radius-lg); }
  .art-grid-2  { grid-template-columns: 1fr; }
  .art-dos-donts { grid-template-columns: 1fr; }
  .art-signs-grid { grid-template-columns: 1fr; }
  .art-author-card { padding: 22px; }
}
@media (max-width: 767.98px) {
  .art-hero-title  { font-size: 1.4rem; }
  .art-hero-meta   { gap: 12px; }
  .art-content     { padding: 24px 16px; }
  .art-content h2  { font-size: 1.25rem; }
  .art-cta-box     { flex-direction: column; text-align: center; }
  .art-cta-box > i { font-size: 2.5rem; }
  .art-step        { flex-direction: column; }
  .art-step-num    { width: 36px; height: 36px; font-size: .9rem; }
  .art-timeline::before { display: none; }
  .art-author-card { flex-direction: column; align-items: center; text-align: center; }
  .art-footer-row  { justify-content: center; }
}
