﻿  /*===== تنسيقات خاصة بصفحة تفاصيل الخبر =====*/ 

        .news-detail-section {
            padding: 64px 0;
            background: linear-gradient(180deg, var(--bg-light), #fff 45%, var(--bg-light));
            overflow: hidden;
        }

        /* ===== المقال الرئيسي ===== */
        .article-card {
            background: #fff;
            border: 1px solid var(--gray-200);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            overflow: hidden;
        }
        .article-featured {
            position: relative;
            height: 430px;
            overflow: hidden;
        }
        .article-featured img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .8s ease;
        }
        .article-card:hover .article-featured img { transform: scale(1.04); }
        .article-featured::after {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(14,68,80,.55), transparent 55%);
        }
        .article-featured-badge {
            position: absolute; top: 20px; right: 20px; z-index: 2;
            display: inline-flex; align-items: center; gap: 8px;
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            color: #fff; padding: 9px 20px; border-radius: 50px;
            font-size: .85rem; font-weight: 800; box-shadow: var(--shadow-gold);
        }

        .article-body { padding: 40px 42px; }

        .article-meta {
            display: flex; flex-wrap: wrap; gap: 22px;
            padding-bottom: 22px; margin-bottom: 26px;
            border-bottom: 1px dashed var(--gray-200);
            color: var(--gray-500); font-size: .9rem; font-weight: 700;
        }
        .article-meta span { display: inline-flex; align-items: center; gap: 7px; }
        .article-meta i { color: var(--gold-dark); }

        .article-title {
            font-size: clamp(1.6rem, 3vw, 2.35rem);
            font-weight: 900; color: var(--dark);
            line-height: 1.45; margin-bottom: 22px;
        }

        .article-lead {
            font-size: 1.18rem; font-weight: 700;
            color: var(--primary); line-height: 2;
            padding: 18px 22px; margin-bottom: 26px;
            background: linear-gradient(135deg, rgba(27,123,140,.06), rgba(201,169,97,.05));
            border-right: 4px solid var(--gold);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
        }

        .article-content p {
            color: var(--gray-700); font-size: 1.05rem;
            line-height: 2.1; margin-bottom: 22px;
        }
        .article-content h2 {
            display: flex; align-items: center; gap: 10px;
            font-size: 1.4rem; font-weight: 800; color: var(--primary);
            margin: 38px 0 18px; padding-right: 14px;
            border-right: 4px solid var(--gold);
        }
        .article-content h2 i { color: var(--gold-dark); font-size: 1.1rem; }

        /* صورة داخل المقال */
        .article-figure { margin: 30px 0; }
        .article-figure img {
            width: 100%; height: auto; border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
        }
        .article-figure figcaption {
            margin-top: 12px; text-align: center;
            color: var(--gray-500); font-size: .85rem; font-weight: 600;
        }

        /* نقاط رئيسية */
        .article-points {
            list-style: none; padding: 24px 26px; margin: 28px 0;
            background: var(--gray-50); border: 1px solid var(--gray-200);
            border-radius: var(--radius-md); display: grid; gap: 14px;
        }
        .article-points li {
            display: flex; align-items: flex-start; gap: 12px;
            color: var(--gray-700); font-weight: 600; line-height: 1.85;
        }
        .article-points li i {
            color: var(--white); background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            width: 26px; height: 26px; border-radius: 50%;
            display: grid; place-items: center; font-size: .72rem;
            flex-shrink: 0; margin-top: 3px; box-shadow: var(--shadow-gold);
        }

        /* اقتباس */
        .article-quote {
            position: relative; margin: 32px 0; padding: 30px 34px 30px 30px;
            background: linear-gradient(140deg, var(--primary-dark), var(--teal));
            color: #fff; border-radius: var(--radius-md); overflow: hidden;
        }
        .article-quote::before {
            content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
            position: absolute; top: 14px; left: 22px;
            font-size: 3.2rem; color: rgba(201,169,97,.2);
        }
        .article-quote p {
            position: relative; z-index: 1; color: #fff;
            font-size: 1.15rem; font-weight: 700; line-height: 1.95; margin: 0 0 14px;
        }
        .article-quote cite {
            position: relative; z-index: 1; display: block;
            color: var(--gold-light); font-weight: 800; font-style: normal; font-size: .9rem;
        }

        /* مشاركة + وسوم */
        .article-footer-bar {
            display: flex; flex-wrap: wrap; align-items: center;
            justify-content: space-between; gap: 18px;
            margin-top: 34px; padding-top: 26px;
            border-top: 1px dashed var(--gray-200);
        }
        .article-tags { display: flex; flex-wrap: wrap; gap: 9px; }
        .article-tags a {
            background: rgba(27,123,140,.08); color: var(--teal);
            border: 1px solid rgba(27,123,140,.16); border-radius: 50px;
            padding: 7px 16px; font-size: .82rem; font-weight: 700;
            transition: var(--transition);
        }
        .article-tags a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
        .article-share { display: flex; align-items: center; gap: 9px; }
        .article-share span { font-weight: 800; color: var(--gray-700); font-size: .85rem; }
        .article-share a {
            width: 40px; height: 40px; border-radius: 50%;
            display: grid; place-items: center; color: #fff; font-size: .95rem;
            transition: var(--transition-bounce);
        }
        .article-share a:hover { transform: translateY(-4px) scale(1.08); }
        .share-wa { background: #25D366; }
        .share-x  { background: #111; }
        .share-fb { background: #1877F2; }
        .share-tg { background: #229ED9; }

        /* تنقل بين الأخبار (السابق / التالي) */
        .article-nav {
            display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px;
        }
        .article-nav a {
            display: flex; align-items: center; gap: 14px;
            background: #fff; border: 1px solid var(--gray-200);
            border-radius: var(--radius-md); padding: 18px 20px;
            box-shadow: var(--shadow-sm); transition: var(--transition);
        }
        .article-nav a:hover {
            transform: translateY(-4px); box-shadow: var(--shadow-md);
            border-color: rgba(201,169,97,.4);
        }
        .article-nav a.next { text-align: left; flex-direction: row-reverse; }
        .article-nav .nav-arrow {
            width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
            display: grid; place-items: center; color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--teal));
            transition: var(--transition);
        }
        .article-nav a:hover .nav-arrow { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
        .article-nav small { display: block; color: var(--gray-500); font-weight: 700; font-size: .78rem; margin-bottom: 3px; }
        .article-nav strong { display: block; color: var(--primary); font-size: .92rem; font-weight: 800; line-height: 1.5; }

        /* ===== الشريط الجانبي ===== */
        .news-sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
        .sidebar-card {
            background: #fff; border: 1px solid var(--gray-200);
            border-radius: var(--radius-lg); padding: 24px;
            box-shadow: var(--shadow-sm);
        }
        .sidebar-title {
            display: flex; align-items: center; gap: 10px;
            font-size: 1.1rem; font-weight: 800; color: var(--primary);
            margin: 0 0 20px; padding-bottom: 14px;
            border-bottom: 2px solid var(--gray-100); position: relative;
        }
        .sidebar-title::after {
            content: ''; position: absolute; bottom: -2px; right: 0;
            width: 50px; height: 2px; background: linear-gradient(to left, var(--gold), var(--teal));
        }
        .sidebar-title i { color: var(--gold-dark); }

        /* عناصر أخبار جانبية */
        .side-news-item {
            display: flex; gap: 14px; padding: 12px 0;
            border-bottom: 1px solid var(--gray-100); transition: var(--transition);
        }
        .side-news-item:last-child { border-bottom: none; padding-bottom: 0; }
        .side-news-item:first-child { padding-top: 0; }
        .side-news-item:hover { transform: translateX(-5px); }
        .side-news-thumb {
            width: 84px; height: 76px; flex-shrink: 0; border-radius: 14px;
            overflow: hidden; position: relative;
        }
        .side-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .side-news-num {
            position: absolute; top: 6px; right: 6px;
            width: 24px; height: 24px; border-radius: 8px;
            background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px);
            display: grid; place-items: center; font-size: .72rem; font-weight: 900;
        }
        .side-news-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
        .side-news-info h4 {
            font-size: .92rem; font-weight: 700; color: var(--dark);
            line-height: 1.55; margin: 0 0 6px; transition: var(--transition);
        }
        .side-news-item:hover .side-news-info h4 { color: var(--teal); }
        .side-news-info small { color: var(--gray-500); font-weight: 600; font-size: .78rem; }
        .side-news-info small i { color: var(--gold-dark); margin-left: 4px; }

        /* تصنيفات */
        .sidebar-cats { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
        .sidebar-cats a {
            display: flex; align-items: center; justify-content: space-between;
            padding: 12px 16px; border-radius: 14px;
            background: var(--gray-50); border: 1px solid var(--gray-200);
            color: var(--gray-700); font-weight: 700; font-size: .9rem;
            transition: var(--transition);
        }
        .sidebar-cats a:hover {
            background: rgba(27,123,140,.07); border-color: rgba(27,123,140,.2);
            color: var(--primary); transform: translateX(-4px);
        }
        .sidebar-cats a span {
            background: rgba(201,169,97,.14); color: var(--gold-dark);
            min-width: 30px; text-align: center; border-radius: 50px;
            padding: 2px 9px; font-size: .78rem; font-weight: 800;
        }

        /* بطاقة الاشتراك */
        .sidebar-cta {
            background: linear-gradient(140deg, var(--primary-dark), var(--teal));
            color: #fff; text-align: center; overflow: hidden; position: relative;
        }
        .sidebar-cta::before {
            content: ''; position: absolute; inset: 0;
            background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.5px, transparent 1.5px);
            background-size: 22px 22px;
        }
        .sidebar-cta > * { position: relative; z-index: 1; }
        .sidebar-cta i { font-size: 2.2rem; color: var(--gold-light); margin-bottom: 12px; }
        .sidebar-cta h4 { color: #fff; font-weight: 800; margin-bottom: 8px; }
        .sidebar-cta p { color: rgba(255,255,255,.82); font-size: .88rem; margin-bottom: 16px; }
        .sidebar-cta .btn-sub {
            display: inline-flex; align-items: center; gap: 8px;
            background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
            color: #fff; border-radius: 50px; padding: 12px 26px;
            font-weight: 800; box-shadow: var(--shadow-gold); transition: var(--transition-bounce);
        }
        .sidebar-cta .btn-sub:hover { transform: translateY(-3px); background: #fff; color: var(--primary); }

        @media (max-width: 991px) {
            .news-sidebar { position: static; margin-top: 30px; }
            .article-body { padding: 30px 24px; }
            .article-nav { grid-template-columns: 1fr; }
        }
        @media (max-width: 575px) {
            .article-featured { height: 240px; }
            .article-meta { gap: 12px; }
        }

