    /* خريطة الفوتر: حركة */
    .map-ring { fill:none; stroke:#f59e0b; stroke-width:2.5; transform-box:fill-box; transform-origin:center; animation:mapRing 2.4s ease-out infinite; opacity:0; }
    @keyframes mapRing { 0%{transform:scale(.4);opacity:.95} 100%{transform:scale(4.2);opacity:0} }
    .map-core { transform-box:fill-box; transform-origin:center; animation:mapCore 1.2s ease-in-out infinite; }
    @keyframes mapCore { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.25;transform:scale(1.35)} }
    .map-tw { animation:mapTw 3s ease-in-out infinite; }
    @keyframes mapTw { 0%,100%{opacity:0} 50%{opacity:1} }
    .map-arc-line { stroke:#f59e0b; stroke-width:2; stroke-dasharray:6 7; animation:mapDash 1.2s linear infinite; }
    @keyframes mapDash { to { stroke-dashoffset:-26; } }
    @media (prefers-reduced-motion:reduce) { .map-ring,.map-core,.map-tw,.map-arc-line { animation:none; } }
    .empty-home { display:none !important; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Cairo','Tajawal',sans-serif; background-color:#faf8f5; color:#1c1917; -webkit-font-smoothing:antialiased; }
    .dark body { background-color:#0c0a09; color:#f5f5f4; }
    .brand-logo { font-family:'Libre Baskerville','Baskerville','Times New Roman',Times,serif; font-weight:400; letter-spacing:.1em; word-spacing:-.3em; text-transform:uppercase; line-height:1; }
    .font-editorial { font-family:'Amiri',serif; }
    .card-img { transition: transform .5s ease; }
    .card:hover .card-img { transform: scale(1.05); }
    .article-body p { margin-bottom: 1rem; }
    input, select, textarea { font-family: inherit; }
    ::-webkit-scrollbar { width:6px; height:6px; }
    ::-webkit-scrollbar-track { background:#f5f5f4; }
    ::-webkit-scrollbar-thumb { background:#d6d3d1; border-radius:3px; }
    #main-nav { scrollbar-width: none; } #main-nav::-webkit-scrollbar { display:none; }
    .ib { min-width:2rem; height:2rem; padding:0 .55rem; display:inline-flex; align-items:center; justify-content:center; gap:.25rem; border-radius:.5rem; background:#f5f5f4; font-size:.85rem; font-weight:700; transition:background .2s; }
    .ib:hover { background:#e7e5e4; } .dark .ib { background:#292524; } .dark .ib:hover { background:#44403c; }
    .reveal { opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; } .reveal.in { opacity:1; transform:none; }
    @keyframes liveDot { 0%,100%{opacity:1} 50%{opacity:.35} }
    .live-dot { animation: liveDot 1.2s infinite; }
    /* حفظ المقال كـ PDF: طباعة المقال المفتوح فقط */
    @media print {
      .no-print { display:none !important; }
      body.print-article > *:not(#article-modal) { display:none !important; }
      body.print-article, body.print-article #article-modal, body.print-article #article-modal * { background:#fff !important; color:#000 !important; box-shadow:none !important; }
      body.print-article #article-modal { position:static !important; display:block !important; padding:0 !important; }
      body.print-article .modal-card, body.print-article .modal-scroll { max-height:none !important; overflow:visible !important; border:0 !important; }
      body.print-article #modal-img { max-height:340px; object-fit:cover; }
    }
    /* عرض الصور المتحرك للخبر الرئيسي: انتقال بطيء وهادئ */
    .hero-slide { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; z-index:0; transition:opacity 1.8s ease-in-out; }
    .hero-slide.prev { opacity:1; z-index:1; transition:none; }
    .hero-slide.on { opacity:1; z-index:2; }
    #hero-caption { transition:opacity .7s ease; }
    .hero-dot { height:.5rem; width:.5rem; border-radius:9999px; background:rgba(255,255,255,.55); transition:width .5s ease, background-color .5s ease; }
    .hero-dot.on { width:1.5rem; background:#fff; }
    @media (prefers-reduced-motion: reduce) { .hero-slide, #hero-caption, .hero-dot { transition:none; } }

    /* بطاقات الأقسام المتقلبة: كل مربع يتبدّل ببطء بين أخبار القسم (الصورة والخبر معاً) */
    .slot { display:grid; }
    .slot > .card { grid-area:1/1; opacity:0; visibility:hidden; pointer-events:none; transition:opacity 1.8s ease-in-out, visibility 0s linear 1.8s, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
    .slot > .card.on { opacity:1; visibility:visible; pointer-events:auto; transition:opacity 1.8s ease-in-out, visibility 0s, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
    @media (prefers-reduced-motion: reduce) { .slot > .card, .slot > .card.on { transition:none; } }
