/* أنماط مشتركة تُحمَّل بعد CSS كل صفحة */
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gold2); }
.footer-top h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer-top h4 i { color: var(--gold2); margin-left: 6px; }
.footer-bottom span { display: block; color: var(--gold2); margin-top: 4px; font-size: 12px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.news-noimg { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--blue2)); color: var(--gold2); font-size: 42px; }
.news-card a.card-link { color: inherit; text-decoration: none; display: block; }

.site-alert { max-width: 1200px; margin: 14px auto 0; padding: 12px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.site-alert-ok  { background: #e8f7ee; color: #146c3a; border: 1px solid #b9e4c9; }
.site-alert-err { background: #fdecec; color: #9b1c1c; border: 1px solid #f3c1c1; }
@media (max-width: 1240px) { .site-alert { margin-left: 12px; margin-right: 12px; } }

/* صفحة الخبر */
.article h1 { font-size: 26px; font-weight: 900; color: var(--blue); line-height: 1.5; margin-bottom: 12px; }
.article .meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #888; margin-bottom: 18px; }
.article .meta span { background: #f6f7fb; padding: 4px 10px; border-radius: 12px; }
.article .cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.article .body { font-size: 15px; line-height: 2.1; color: #333; overflow-wrap: anywhere; }
.article .body img { max-width: 100%; height: auto; border-radius: 8px; }
.article .body h2, .article .body h3 { color: var(--blue); margin: 18px 0 8px; }
.article .body ul, .article .body ol { padding-right: 22px; margin-bottom: 14px; }
.article .body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article .body td, .article .body th { border: 1px solid #e3e6f0; padding: 8px; }
.side-news a { display: block; padding: 12px 18px; border-bottom: 1px solid #eef0f5; text-decoration: none; color: #444; font-size: 13px; font-weight: 600; line-height: 1.6; }
.side-news a:hover { background: var(--blue2); color: #fff; }
.side-news small { display: block; color: var(--gold); font-weight: 700; font-size: 11px; }
@media (max-width: 640px) { .article h1 { font-size: 21px; } .article .body { font-size: 14px; } }
