
/*
Theme Name: Al-Zaytoon Royal Theme
Author: Khaled Al-Beik
Description: تصميم ملكي رسمي وشامل لشبكة حي الزيتون.
Version: 6.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');
:root { --primary: #115c38; --gold: #d4af37; --light: #f4f6f9; --dark: #222; --border: #e0e0e0; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; }
body { background: var(--light); color: var(--dark); direction: rtl; overflow-x: hidden; line-height: 1.6; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 15px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* === الهيدر والقوائم === */
.topbar { background: var(--primary); color: #fff; padding: 10px 0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.social-icons a { color: var(--gold); margin-right: 15px; font-size: 16px; }
.social-icons a:hover { color: #fff; }

.main-header { background: #fff; padding: 25px 0; border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-box { display: flex; align-items: center; gap: 15px; }
.logo-icon { font-size: 45px; color: var(--primary); }
.logo-text h1 { font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1; }
.logo-text span { font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }

.header-buttons { display: flex; gap: 15px; }
.btn-outline { border: 1px solid var(--border); padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--primary); background: var(--light); }
.btn-outline i { color: var(--gold); font-size: 18px; }

.navbar { background: var(--primary); border-bottom: 4px solid var(--gold); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; }
.nav-links li a { display: block; padding: 16px 22px; color: #fff; font-size: 15px; font-weight: 700; border-left: 1px solid rgba(255,255,255,0.05); }
.nav-links li a:hover, .nav-links li.active a { background: rgba(0,0,0,0.1); color: var(--gold); }
.contact-btn { background: var(--gold); color: var(--primary); padding: 10px 25px; border-radius: 4px; font-weight: 900; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.contact-btn:hover { background: #b8962c; color: #fff; }

/* === الصفحة الرئيسية === */
.home-layout { margin-top: 40px; margin-bottom: 60px; }
.section-title { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 25px; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); position: absolute; margin-top: 43px; }

.hero-grid { display: grid; grid-template-columns: 1fr 2.5fr; gap: 20px; margin-bottom: 40px; }
.hero-news { background: #fff; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.hero-news-header { background: var(--primary); color: #fff; padding: 15px; font-weight: 700; font-size: 16px; text-align: center; border-bottom: 3px solid var(--gold); }
.hero-news-item { display: flex; gap: 15px; padding: 15px; border-bottom: 1px solid #eee; }
.hero-news-item img { width: 80px; height: 60px; border-radius: 4px; object-fit: cover; }
.hero-news-content h4 { font-size: 13px; font-weight: 700; margin-bottom: 5px; line-height: 1.5; color: var(--dark); }
.hero-news-content h4 a:hover { color: var(--primary); }
.hero-news-content small { font-size: 11px; color: #888; }
.hero-news-more { text-align: center; padding: 12px; background: var(--light); font-weight: 700; font-size: 13px; color: var(--primary); display: block; }

.hero-slider { border-radius: 8px; overflow: hidden; position: relative; min-height: 400px; border: 1px solid var(--border); }
.hero-slider-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,92,56,0.9), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; color: #fff; }
.hero-slider-overlay h2 { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.badge { background: var(--gold); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 15px; width: max-content; }

/* المربعات السريعة */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.service-box { background: #fff; padding: 30px 20px; border-radius: 8px; text-align: center; border: 1px solid var(--border); transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.service-box:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.service-icon { font-size: 36px; color: var(--primary); margin-bottom: 15px; }
.service-box h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.service-box p { font-size: 13px; color: #666; }

/* الشبكة السفلية */
.bottom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.widget-box { background: #fff; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.widget-header { background: var(--primary); color: #fff; padding: 15px 20px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--gold); }
.widget-content { padding: 20px; }

/* المقال الفردي (single.php) */
.single-container { background: #fff; border-radius: 8px; padding: 40px; margin-top: 40px; margin-bottom: 60px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid var(--border); }
.single-header { margin-bottom: 30px; text-align: center; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.single-title { font-size: 36px; font-weight: 900; color: var(--primary); margin-bottom: 15px; line-height: 1.4; }
.single-meta { display: flex; justify-content: center; gap: 20px; font-size: 14px; color: #777; font-weight: 600; }
.single-image { margin-bottom: 30px; border-radius: 8px; overflow: hidden; }
.single-image img { width: 100%; border-radius: 8px; }
.single-content { font-size: 18px; line-height: 2.2; color: #333; font-weight: 600; }
.single-content p { margin-bottom: 20px; }

/* الفوتر */
.main-footer { background: var(--primary); color: #fff; padding: 40px 0; border-top: 4px solid var(--gold); }
.main-footer .container { display: flex; justify-content: space-between; align-items: center; }
.footer-text { font-size: 15px; font-weight: 600; }

/* استجابة الجوال */
@media(max-width: 992px) {
    .hero-grid, .services-grid, .bottom-grid { grid-template-columns: 1fr; }
    .main-header .container, .navbar .container { flex-direction: column; gap: 15px; text-align: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
}

/* ==========================================================================
   الترسانة والكتلة التصميمية والهندسية الفاخرة لشبكة حي الزيتون الرسمية
   ========================================================================== */

/* أشرطة الهيدر والتوجيه والـ Topbar */
.topbar { background: var(--primary); color: #fff; font-size: 13px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-middle { font-weight: 700; color: #f5f5f5; }
.topbar-social a { color: var(--gold); margin-left: 15px; font-size: 16px; transition: 0.3s; }
.topbar-social a:hover { color: #fff; }

.main-header { background: #fff; padding: 22px 0; border-bottom: 1px solid var(--border); box-shadow: 0 4px 15px rgba(0,0,0,0.01); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.header-logo-area { display: flex; align-items: center; gap: 20px; }
.logo-symbol { font-size: 52px; color: var(--primary); text-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.logo-title h1 { font-size: 34px; font-weight: 900; color: var(--primary); line-height: 1.1; }
.logo-title span { color: var(--gold); font-size: 15px; font-weight: 700; display: block; letter-spacing: 1.5px; }
.header-action-buttons { display: flex; gap: 15px; }

/* أزرار حكومية رسمية حادة الحواف والأناقة */
.gov-btn { border: none; padding: 12px 24px; font-size: 14px; font-weight: 700; border-radius: 4px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; font-family: 'Cairo', sans-serif; }
.btn-dark-green { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(17, 92, 56, 0.2); }
.btn-dark-green:hover { background: #0b3d24; transform: translateY(-2px); }
.btn-gold-outline { background: #fff; border: 2px solid var(--gold); color: var(--primary); }
.btn-gold-outline:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* شريط القوائم الثابت والمطور */
.navbar-wrap { background: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.navbar-wrap .container { display: flex; justify-content: space-between; align-items: center; }
.nav-ul { display: flex; list-style: none; padding: 0; margin: 0; }
.nav-ul li { border-left: 1px solid rgba(255,255,255,0.08); }
.nav-ul li a { display: block; padding: 18px 24px; color: #fff; font-size: 15px; font-weight: 700; transition: 0.2s; text-decoration: none; }
.nav-ul li a:hover { background: rgba(0,0,0,0.15); color: var(--gold); }
.nav-contact-link { background: rgba(255,255,255,0.08); padding: 10px 20px; color: #fff; font-weight: 700; font-size: 13px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); }
.nav-contact-link:hover { background: var(--gold); color: var(--primary); border-color: var(--gold); }
.mobile-menu-btn, .close-mobile-li { display: none; }

/* === شبكة الهيرو الشاملة المزدوجة === */
.royal-hero-section { display: grid; grid-template-columns: 1fr 2.5fr; gap: 25px; margin-bottom: 40px; }
.hero-sidebar-news { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.block-header-gov { background: var(--primary); color: #fff; padding: 14px 20px; font-size: 16px; font-weight: 800; border-bottom: 3px solid var(--gold); }
.center-aligned-header { text-align: center; font-size: 20px; padding: 16px; margin-bottom: 30px; border-bottom: 2px solid var(--primary); background: #fff; color: var(--primary); border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.01); }
.sidebar-news-list { display: flex; flex-direction: column; flex: 1; }
.sidebar-news-card { display: flex; gap: 15px; padding: 15px; border-bottom: 1px solid #f0f0f0; align-items: center; }
.sidebar-news-card:last-child { border-bottom: none; }
.card-thumb img { width: 85px; height: 65px; object-fit: cover; border-radius: 4px; border: 1px solid #e2e2e2; }
.card-details h4 { font-size: 13px; font-weight: 700; line-height: 1.5; margin-bottom: 5px; color: #111; }
.card-details h4 a:hover { color: var(--primary); }
.card-details small { color: #888; font-size: 11px; }
.view-all-gov-btn { text-align: center; padding: 12px; background: #fafafa; border-top: 1px solid #eee; font-weight: 700; font-size: 13px; color: var(--primary); display: block; }

.hero-slider-showcase { border-radius: 6px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.slider-panel-img { height: 100%; min-height: 420px; position: relative; }
.slider-panel-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,77,44,0.95) 0%, rgba(0,0,0,0.2) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 45px; color: #fff; }
.slider-panel-gradient h2 { font-size: 32px; font-weight: 900; line-height: 1.3; margin-bottom: 12px; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.slider-panel-gradient p { font-size: 15px; color: #e5e5e5; max-width: 600px; margin-bottom: 25px; line-height: 1.6; }
.badge-gold-royal { background: var(--gold); color: #fff; padding: 5px 14px; font-size: 12px; font-weight: 700; border-radius: 4px; margin-bottom: 15px; width: max-content; box-shadow: 0 3px 6px rgba(0,0,0,0.1); }
.btn-royal-gold { background: var(--gold); color: #fff; padding: 12px 28px; border-radius: 4px; font-weight: 700; font-size: 14px; display: inline-block; transition: 0.3s; width: max-content; }
.btn-royal-gold:hover { background: #b8962c; transform: translateY(-2px); }

/* === البوابات الأربع الملوّنة المتقدمة وعالية الجمال === */
.four-royal-portals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 35px 0; }
.portal-box { background: #fff; padding: 30px 20px; border-radius: 6px; border: 1px solid var(--border); transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.01); display: flex; flex-direction: column; align-items: flex-start; text-align: right; }
.portal-icon-circle { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; transition: 0.3s; }
.portal-box h3 { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 8px; }
.portal-box p { font-size: 12.5px; color: #666; line-height: 1.6; }
.portal-box:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }

.color-1 .portal-icon-circle { background: rgba(212,175,55,0.12); color: #d4af37; }
.color-1:hover { border-color: #d4af37; }
.color-2 .portal-icon-circle { background: rgba(231,76,60,0.12); color: #e74c3c; }
.color-2:hover { border-color: #e74c3c; }
.color-3 .portal-icon-circle { background: rgba(46,204,113,0.12); color: #2ecc71; }
.color-3:hover { border-color: #2ecc71; }
.color-4 { background: var(--primary); color: #fff; border-color: var(--primary); }
.color-4 .portal-icon-circle { background: rgba(255,255,255,0.15); color: #fff; }
.color-4 h3, .color-4 p { color: #fff; }
.color-4:hover { background: #0b3d24; }

/* === القسم الأوسط وهيكلية لوحات البيانات والقرار والـ Poll === */
.middle-layout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; margin-bottom: 40px; align-items: start; }
.royal-content-panel { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.01); }
.panel-header-gov { background: #fcfcfd; border-bottom: 2px solid var(--primary); color: var(--primary); padding: 15px 20px; font-size: 17px; font-weight: 800; position: relative; }
.panel-header-gov::after { content: ""; position: absolute; bottom: -2px; right: 0; width: 80px; height: 2px; background: var(--gold); }
.panel-inner-body { padding: 20px; }

.appeal-official-row { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.appeal-official-row:last-child { border-bottom: none; }
.appeal-gov-tag { background: rgba(17,92,56,0.06); color: var(--primary); border: 1px solid var(--primary); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 4px; margin-left: 15px; }
.appeal-title-link { flex: 1; font-weight: 700; color: #222; }
.appeal-title-link:hover { color: var(--primary); }
.appeal-row-date { color: #999; font-size: 12px; }
.empty-panel-msg { text-align: center; color: #777; padding: 30px; font-size: 14px; }

/* مركز استطلاعات الرأي الشغال والمنظم بصرياً */
.poll-question-title { font-size: 15px; font-weight: 800; color: #222; line-height: 1.6; margin-bottom: 22px; text-align: center; background: #fafafa; padding: 12px; border-radius: 4px; border: 1px dashed #ddd; }
.poll-label-radio { display: block; margin-bottom: 18px; position: relative; cursor: pointer; padding-right: 25px; }
.poll-label-radio input { position: absolute; right: 0; top: 4px; accent-color: var(--primary); }
.radio-custom-txt { font-size: 14px; font-weight: 700; color: #333; }
.poll-track-bg { width: 100%; height: 7px; background: #eee; border-radius: 4px; margin-top: 8px; overflow: hidden; }
.poll-fill-progress { height: 100%; background: linear-gradient(to left, var(--primary), #1e7e4e); width: 0%; transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1); }
.poll-percentage-num { position: absolute; left: 0; top: 0; font-size: 12px; font-weight: 900; color: var(--primary); }
.full-width-btn { width: 100%; text-align: center; display: block; margin-top: 20px; border: none; padding: 13px; font-size: 15px; cursor: pointer; }
.poll-success-ack { display: none; text-align: center; color: var(--primary); font-weight: 800; font-size: 13px; background: rgba(46,204,113,0.1); padding: 10px; border-radius: 4px; margin-top: 15px; }

/* === 🟢 شبكة المختارات والمقالات العشوائية السفلية الفخمة 🟢 === */
.random-articles-section { margin: 40px 0 60px 0; }
.random-articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.random-article-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.01); transition: 0.3s; display: flex; flex-direction: column; }
.random-article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: var(--primary); }
.random-card-img-wrap { display: block; position: relative; height: 165px; overflow: hidden; background: #eaeaea; }
.random-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.random-type-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.15); }
.random-card-text { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.random-card-text h3 { font-size: 14.5px; font-weight: 800; line-height: 1.5; color: #111; margin-bottom: 15px; flex: 1; }
.random-card-text h3 a { color: inherit; }
.random-card-text h3 a:hover { color: var(--primary); }
.random-card-footer-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: #888; border-top: 1px solid #f5f5f5; padding-top: 12px; font-weight: 600; }

/* === صفحة المقال الفردي (single.php) الفاخرة المحدثة وايقونات العربية === */
.single-post-main-container { background: #fff; border-radius: 6px; padding: 45px; margin-top: 40px; margin-bottom: 60px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); border: 1px solid var(--border); }
.post-header-gov-style { border-bottom: 1px solid #eee; padding-bottom: 25px; margin-bottom: 35px; }
.post-breadcrumbs-gov { font-size: 13.5px; color: #666; margin-bottom: 15px; font-weight: 600; }
.post-breadcrumbs-gov a { color: var(--primary); font-weight: 700; }
.post-main-headline { font-size: 36px; font-weight: 900; color: #111; line-height: 1.4; margin-bottom: 20px; }
.post-meta-details-strip { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; background: var(--light); padding: 15px 25px; border-radius: 4px; font-size: 14px; color: #555; font-weight: 600; border-right: 4px solid var(--primary); }
.meta-reading-views-stats { display: flex; gap: 20px; align-items: center; }
.views-count-alert-badge { color: #e74c3c; font-weight: 700; }

.post-layout-columns-grid { display: grid; grid-template-columns: 1fr 50px; gap: 40px; align-items: start; }
.post-main-content-column { width: 100%; overflow: hidden; }
.post-featured-photo-frame { margin-bottom: 35px; border-radius: 6px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.04); }
.post-featured-photo-frame img { width: 100%; height: auto; object-fit: cover; }
.post-body-typography-content { font-size: 20px; line-height: 2.2; color: #222; font-weight: 600; text-align: justify; }
.post-body-typography-content p { margin-bottom: 25px; }

/* أزرار المشاركة السفلية للمقال */
.post-share-footer-block { margin-top: 50px; padding-top: 30px; border-top: 1px dashed var(--border); }
.post-share-footer-block h3 { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.share-links-btn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.share-btn-item { padding: 12px; border-radius: 4px; color: #fff !important; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.whatsapp-btn-color { background: #25D366; }
.facebook-btn-color { background: #1877F2; }
.telegram-btn-color { background: #0088cc; }

/* عمود الأزرار العائمة الجانبية الفاخرة استايل العربية */
.sticky-sidebar-share-holder { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.floating-btn-ico { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: 0.3s; }
.floating-btn-ico:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.f-fb { background: #1877F2; }
.f-wa { background: #25D366; }
.f-tg { background: #0088cc; }
.f-print { background: #555; }

/* === الفوتر الملكي الفاخر الشامل والكامل الشغال === */
.main-royal-footer { background: var(--primary); color: #fff; padding: 50px 0 30px 0; border-top: 4px solid var(--gold); }
.footer-grid-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 40px; margin-bottom: 30px; }
.footer-brand-column h3 { font-size: 22px; font-weight: 900; color: var(--gold); margin-bottom: 15px; }
.footer-brand-column p { font-size: 14px; color: #ccc; line-height: 1.7; max-width: 500px; }
.footer-newsletter-column h4 { font-size: 16px; font-weight: 800; margin-bottom: 15px; color: #fff; }
.footer-subscribe-form-wrap { display: flex; background: #fff; border-radius: 4px; overflow: hidden; padding: 3px; width: 100%; max-width: 400px; }
.footer-mail-input { border: none; padding: 10px 15px; outline: none; font-size: 14px; width: 100%; color: #000; }
.footer-submit-btn { background: var(--gold); color: var(--primary); font-weight: 800; border: none; padding: 0 20px; font-size: 14px; border-radius: 4px; cursor: pointer; transition: 0.2s; white-space: nowrap; }
.footer-submit-btn:hover { background: #b8962c; color: #fff; }
.footer-bottom-copyright-strip { text-align: center; font-size: 13px; color: #ddd; font-weight: 600; }

/* الأيقونات العائمة أسفل اليسار للشاشة التفاعلية الكبرى */
.floating-social-anchor-box { position: fixed; bottom: 30px; left: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 99999; }
.float-btn-item { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 26px; box-shadow: 0 6px 20px rgba(0,0,0,0.25); transition: 0.3s; text-decoration: none; }
.float-btn-item:hover { transform: scale(1.1) rotate(5deg); }
.f-whatsapp { background: #25D366; }
.f-facebook { background: #1877F2; }

/* === بوابات وتنسيقات النافذة المنبثقة للديوان والطلبات المتقدمة === */
.gov-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); z-index: 1000000; align-items: center; justify-content: center; padding: 15px; }
.gov-modal-container { background: #fff; width: 100%; max-width: 650px; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); overflow: hidden; position: relative; animation: govModalIn 0.35s ease; border-top: 5px solid var(--primary); }
@keyframes govModalIn { from { opacity: 0; transform: translateY(-25px); } to { opacity: 1; transform: translateY(0); } }
.gov-modal-close-icon { position: absolute; left: 20px; top: 15px; font-size: 30px; font-weight: bold; color: #999; cursor: pointer; transition: 0.2s; }
.gov-modal-close-icon:hover { color: #e74c3c; }
.gov-modal-title-header { background: #fcfcfd; padding: 20px 25px; border-bottom: 1px solid var(--border); }
.gov-modal-title-header h3 { color: var(--primary); font-weight: 900; font-size: 18px; }
.gov-form-wrapper { padding: 30px; }
.gov-form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group-box { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group-box label { font-size: 13.5px; font-weight: 700; color: #444; }
.gov-form-input { padding: 11px 15px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; background: #fafafa; font-family: 'Cairo', sans-serif; }
.gov-form-input:focus { border-color: var(--primary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(11,77,44,0.1); }
.custom-gov-file-uploader { display: block; border: 2px dashed var(--primary); padding: 14px; text-align: center; font-weight: 700; color: var(--primary); font-size: 13.5px; background: rgba(11,77,44,0.02); cursor: pointer; border-radius: 4px; }
.gov-ajax-response-message { text-align: center; margin-top: 15px; font-weight: 800; font-size: 14px; }

/* === استجابة ومرونة الشاشات والجوال الفورية والكاملة === */
@media(max-width: 992px) {
    .royal-hero-section, .middle-layout-grid, .footer-grid-layout, .post-layout-columns-grid { grid-template-columns: 1fr; gap: 25px; }
    .four-royal-portals, .random-articles-grid { grid-template-columns: repeat(2, 1fr); }
    .main-header .container, .navbar-wrap .container, .topbar .container { flex-direction: column; text-align: center; gap: 15px; }
    .header-action-buttons { justify-content: center; width: 100%; }
    .gov-form-row-grid { grid-template-columns: 1fr; gap: 0; }
    .sticky-sidebar-share-holder { position: static; flex-direction: row; justify-content: center; margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
    .share-links-btn-grid { grid-template-columns: 1fr; }
    .single-post-main-container { padding: 20px; }
    .post-main-headline { font-size: 25px; }
    .post-body-typography-content { font-size: 17.5px; line-height: 2; }
    
    /* محاكي قائمة الجوال الجانبية */
    .mobile-menu-btn { display: block; background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 16px; font-weight: 800; padding: 12px; cursor: pointer; border-radius: 4px; margin: 10px 0; width: 100%; }
    .nav-ul { position: fixed; top: 0; right: -320px; width: 280px; height: 100vh; background: #fff; flex-direction: column; box-shadow: -5px 0 25px rgba(0,0,0,0.4); z-index: 10000000; transition: right 0.4s ease; padding-top: 10px; }
    .nav-ul.mobile-active-ul { right: 0; }
    .nav-ul li { width: 100%; border-left: none; border-bottom: 1px solid #eee; }
    .nav-ul li a { color: var(--primary); padding: 18px 20px; }
    .close-mobile-li { display: block; background: #fdfdfd; }
    .close-mobile-li a { color: #e74c3c !important; font-weight: 900; }
    .nav-contact-link { display: none; }
}
@media(max-width: 600px) {
    .four-royal-portals, .random-articles-grid { grid-template-columns: 1fr; }
    .slider-panel-gradient { padding: 20px; }
    .slider-panel-gradient h2 { font-size: 22px; }
    .slider-panel-gradient p { font-size: 13px; }
}

/* === ألوان وتنسيقات الأوسمة المتقدمة للمناشدات === */
.badge-urgent { background: linear-gradient(135deg, #e74c3c, #c0392b) !important; color: #fff !important; border: none !important; box-shadow: 0 2px 8px rgba(231,76,60,0.2); }
.badge-necessary { background: linear-gradient(135deg, #e67e22, #d35400) !important; color: #fff !important; border: none !important; box-shadow: 0 2px 8px rgba(230,126,34,0.2); }
.badge-following { background: linear-gradient(135deg, #3498db, #2980b9) !important; color: #fff !important; border: none !important; box-shadow: 0 2px 8px rgba(52,152,219,0.2); }
.badge-new { background: linear-gradient(135deg, #2ecc71, #27ae60) !important; color: #fff !important; border: none !important; box-shadow: 0 2px 8px rgba(46,204,113,0.2); }
.appeal-gov-tag i { margin-left: 5px; }

/* ==========================================================================
   حقن التحديثات الملكية الفاخرة للأزرار وصندوق معلومات الاتصال بالمقال
   ========================================================================== */

/* ستايل الأزرار العلوية المطور الفخم بالهيدر */
.header-action-buttons-royal { display: flex; gap: 20px; }
.gov-btn-royal { border: none; padding: 10px 24px; border-radius: 8px; display: flex; align-items: center; gap: 15px; cursor: pointer; text-align: right; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: 0.3s; font-family: 'Cairo', sans-serif; }
.gov-btn-royal:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.12); }
.icon-holder-gov { width: 42px; height: 42px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255,255,255,0.18); color: #fff; }
.btn-gov-text { display: flex; flex-direction: column; }
.btn-gov-text strong { font-size: 15px; color: #fff; font-weight: 800; line-height: 1.2; }
.btn-gov-text small { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 600; margin-top: 2px; }
.bg-emerald { background: linear-gradient(135deg, #115c38 0%, #1e7e4e 100%); }
.bg-amber { background: linear-gradient(135deg, #d4af37 0%, #b8962c 100%); }

/* صندوق ومربع معلومات الاتصال الفاخر المدمج داخل المقال */
.royal-contact-info-card { background: #fff; border: 2px solid var(--gold); border-right: 6px solid var(--primary); border-radius: 8px; padding: 25px; margin-bottom: 35px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.contact-card-title { font-size: 16px; font-weight: 900; color: var(--primary); margin-bottom: 18px; border-bottom: 1px dashed #ddd; padding-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.contact-card-title i { color: var(--gold); font-size: 18px; }
.contact-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 25px; }
.contact-meta-item { font-size: 14.5px; color: #444; font-weight: 600; }
.contact-meta-item i { color: var(--primary); margin-left: 6px; font-size: 14px; width: 16px; text-align: center; }
.gov-highlight-phone { background: rgba(17,92,56,0.06); color: var(--primary); font-weight: 800; padding: 3px 12px; border-radius: 4px; border: 1px dashed rgba(17,92,56,0.2); font-size: 15px; letter-spacing: 0.5px; }

@media(max-width: 768px) {
    .header-action-buttons-royal { flex-direction: column; gap: 10px; width: 100%; }
    .gov-btn-royal { width: 100%; justify-content: center; }
    .contact-card-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ==========================================================================
   تنسيقات عرض البيانات بالأرشيف وقسم التفاصيل الخيالي المطور
   ========================================================================== */

/* ستايل شريط البيانات الإضافية داخل بطاقات الأرشيف */
.archive-gov-info-strip { display: flex; flex-direction: column; gap: 6px; background: var(--light); padding: 10px 12px; border-radius: 4px; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; color: #555; border-right: 3px solid var(--gold); }
.archive-gov-info-strip span { display: flex; align-items: center; gap: 6px; }
.archive-gov-info-strip i { color: var(--primary); font-size: 13px; }
.archive-phone-badge { color: var(--primary); font-family: sans-serif !important; }

/* بلوك وقسم التفاصيل الساحر الخيالي أسفل المقالات */
.magical-details-block { background: linear-gradient(135deg, #ffffff 0%, #f6faf8 100%); border: 1px solid rgba(17, 92, 56, 0.12); border-radius: 12px; padding: 30px; margin-top: 40px; box-shadow: 0 10px 30px rgba(17, 92, 56, 0.03); position: relative; overflow: hidden; }
.magical-details-block::before { content: "\f51c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: -20px; bottom: -20px; font-size: 120px; color: rgba(17, 92, 56, 0.02); pointer-events: none; }
.magical-details-header { font-size: 18px; font-weight: 900; color: var(--primary); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid rgba(214, 175, 55, 0.3); padding-bottom: 12px; }
.magical-details-header i { color: var(--gold); font-size: 20px; }
.magical-text-desc { font-size: 16px; line-height: 1.8; color: #444; font-weight: 600; text-align: justify; margin-bottom: 20px; }
.magical-footer-stamp { display: flex; gap: 20px; border-top: 1px dashed #e0e0e0; padding-top: 15px; }
.stamp-item { font-size: 12.5px; font-weight: 800; color: var(--primary); background: rgba(17, 92, 56, 0.06); padding: 5px 14px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.stamp-item i { color: var(--gold); }

@media(max-width: 768px) {
    .magical-details-block { padding: 20px; }
    .magical-footer-stamp { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   أكواد التنسيق الشريط الإخباري (آلة الكتابة) والجريد الشامل المتطور
   ========================================================================== */

/* ستايل الشريط الإخباري الفخم */
.gov-news-ticker-strip { background: #fff; border-bottom: 2px solid var(--border); padding: 8px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.02); overflow: hidden; }
.ticker-flex-container { display: flex; align-items: center; gap: 20px; }
.ticker-badge-title { background: #e74c3c; color: #fff; font-size: 13px; font-weight: 800; padding: 6px 16px; border-radius: 4px; display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 3px 6px rgba(231,76,60,0.2); }
.ticker-text-window { font-size: 14px; font-weight: 700; color: #333; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 100%; }
.typing-text-data { color: #111; }
.typing-cursor { font-weight: bold; color: #e74c3c; animation: blinkCursor 0.8s infinite; margin-right: 3px; }
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* شارة الجوال للبيانات في بطاقات الجريد */
.grid-gov-info-badge { background: #f4f6f9; padding: 6px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 12px; border-right: 3px solid var(--gold); width: max-content; font-family: sans-serif !important; }
.grid-gov-info-badge span { display: flex; align-items: center; gap: 5px; }

/* ترقية ألوان قائمة الجوال لتظهر بأيقونات فخمة وواضحة */
.nav-ul li a i { color: var(--gold); margin-left: 8px; font-size: 14px; width: 18px; text-align: center; }
@media(max-width: 992px) {
    .gov-news-ticker-strip { padding: 10px; }
    .ticker-flex-container { flex-direction: column; align-items: stretch; gap: 10px; }
    .ticker-badge-title { width: max-content; margin: 0 auto; }
    .ticker-text-window { text-align: center; justify-content: center; white-space: normal; }
    .nav-ul { padding-top: 20px !important; }
    .nav-ul li a { border-bottom: 1px solid #f5f5f5; font-size: 16px; color: var(--primary) !important; display: flex !important; align-items: center; }
}

/* ==========================================================================
   أكواد التنسيق والهندسة المرئية للأقسام والكتل الإخبارية السفلية المبوبة
   ========================================================================== */
.gov-categorized-rows-section { margin-top: 40px; margin-bottom: 60px; }
.gov-double-column-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.gov-row-block { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.01); }
.gov-row-list-items { padding: 20px; display: flex; flex-direction: column; gap: 15px; }

.gov-row-horizontal-card { display: flex; gap: 15px; align-items: center; border-bottom: 1px solid #f5f5f5; padding-bottom: 15px; transition: 0.3s; }
.gov-row-horizontal-card:last-child { border-bottom: none; padding-bottom: 0; }
.gov-row-horizontal-card:hover { padding-right: 8px; border-right: 3px solid var(--primary); }

.horizontal-card-img img { width: 100px; height: 75px; object-fit: cover; border-radius: 4px; border: 1px solid #e2e2e2; }
.horizontal-card-info h4 { font-size: 14.5px; font-weight: 800; line-height: 1.5; color: #111; margin-bottom: 6px; }
.horizontal-card-info h4 a:hover { color: var(--primary); }
.horizontal-card-info small { font-size: 11.5px; color: #888; font-weight: 600; }

@media(max-width: 768px) {
    .gov-double-column-rows { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================================
   تحديث مرونة واستجابة النافذة المنبثقة (Modal) على شاشات الجوال
   ========================================================================== */
.gov-modal-overlay {
    align-items: flex-start !important; /* السماح للنافذة بالبدء من الأعلى */
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    overflow-y: auto !important; /* تفعيل التمرير على مستوى الشاشة الخلفية */
}

.gov-modal-container {
    margin-top: auto !important;
    margin-bottom: auto !important;
    max-height: calc(100vh - 60px) !important; /* ضمان عدم تجاوز طول الشاشة */
    display: flex !important;
    flex-direction: column !important;
}

.gov-form-wrapper {
    overflow-y: auto !important; /* تفعيل التمرير الداخلي للاستمارة */
    max-height: calc(100vh - 160px) !important;
    padding: 20px !important;
}

/* تحسينات إضافية للمسافات على الجوال لتقليل الطول */
@media(max-width: 992px) {
    .gov-form-wrapper {
        padding: 15px !important;
    }
    .form-group-box {
        margin-bottom: 12px !important;
    }
    .gov-modal-container {
        max-height: calc(100vh - 30px) !important;
    }
}

/* ==========================================================================
   تحسينات التجاوب والـ 6 أسطر وبطاقات الأرشيف لشبكة الزيتون
   ========================================================================== */
.gov-archive-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    transition: 0.3s ease;
}
.gov-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(17,92,56,0.08) !important;
    border-color: rgba(17,92,56,0.15) !important;
}
.gov-archive-title a {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    line-height: 1.4 !important;
    display: block;
    margin-bottom: 12px;
}
/* ضبط صندوق الـ 6 أسطر بدقة هندسية موحدة */
.gov-archive-excerpt-6lines {
    font-size: 13.5px;
    line-height: 1.7;
    color: #666;
    font-weight: 600;
    text-align: justify;
    height: 115px; /* ارتفاع ثابت يضمن محاكاة 6 أسطر متوازية تماماً */
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}
/* شريط اسم مقدم الطلب المطور */
.gov-card-author-strip {
    background: rgba(214, 175, 55, 0.07);
    border-right: 3px solid var(--gold);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}
.gov-card-author-strip i {
    color: var(--primary);
    margin-left: 5px;
}
/* رقم الجوال */
.gov-card-phone-row {
    font-size: 13px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: sans-serif !important;
}
/* شريط اليوم والتاريخ المطور */
.gov-archive-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
}
.gov-day-badge {
    color: #555 !important;
    font-weight: 700 !important;
}
/* أوسمة مسميات الإدارة الفخمة */
.gov-badge-status-key {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.badge-urgent { background: linear-gradient(135deg, #d93838 0%, #b32424 100%); }
.badge-necessary { background: linear-gradient(135deg, #f39c12 0%, #d35400 100%); }
.badge-following { background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%); }
.badge-new { background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%); }
.gov-view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    background: rgba(17, 92, 56, 0.06);
    padding: 6px 16px;
    border-radius: 4px;
    transition: 0.2s;
}
.gov-view-all-link:hover {
    background: var(--primary);
    color: #fff;
}
@media(max-width: 992px) {
    .gov-two-column-master-grid { grid-template-columns: 1fr !important; gap: 25px; }
}

/* ==========================================================================
   نظام القائمة الملكي (List System) لإعادة هيكلة القسم الأخير بالكامل
   ========================================================================== */

/* تحويل الحاوية إلى نظام عمودي ممتد يتسع للقوائم الأفقية */
.home-layout .random-articles-grid,
.main-front-content-wrap .random-articles-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 25px !important;
}

/* صياغة السطر (List Item) كمستطيل أفقي منسق يشبه الأنظمة الإخبارية المتقدمة */
.gov-archive-card, .random-article-card {
    display: flex !important;
    flex-direction: row !important; /* فرض الاصطفاف الأفقي للكمبيوتر */
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 15px 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01) !important;
    transition: all 0.3s ease !important;
    gap: 20px !important;
}

.gov-archive-card:hover {
    transform: translateX(-5px) !important; /* تحريك طفيف لليمين عند التمرير كحركة تفاعلية */
    border-color: var(--primary, #115c38) !important;
    box-shadow: 0 4px 15px rgba(17,92,56,0.05) !important;
}

/* قسم تفاصيل النص داخل السطر الأفقي */
.gov-archive-card-main-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 !important;
}

/* إخفاء أو قفل الـ Excerpt الممتد لجعله نظام قائمة إخبارية سريع وبسيط */
.gov-archive-excerpt-6lines {
    display: none !important; /* إخفاء النص الطويل لتركيز العين على العنوان والميتا */
}

/* تنسيق عنوان المقال داخل القائمة ليصبح عريضاً ومريحاً */
.gov-archive-title a, .random-card-text h3 a {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
    transition: color 0.2s !important;
}
.gov-archive-card:hover .gov-archive-title a {
    color: var(--primary, #115c38) !important;
}

/* تجميع عناصر الوقت والاسم والتوقيت في شريط أفقي موحد وعالي الأناقة */
.gov-card-meta-inline-wrapper {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    font-size: 13px !important;
    color: #666 !important;
}

/* تنسيق اسم مقدم الطلب التوقيتي الداخلي */
.gov-card-author-strip {
    background: rgba(214, 175, 55, 0.08) !important;
    border-right: 3px solid var(--gold, #d4af37) !important;
    padding: 3px 10px !important;
    border-radius: 3px !important;
    color: #333 !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

/* رقم جوال التواصل البشري المرن */
.gov-card-phone-row {
    color: var(--primary, #115c38) !important;
    font-weight: 700 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

/* شريط التوقيت واليوم والتاريخ */
.gov-archive-footer, .random-card-footer-meta {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    font-size: 12.5px !important;
    color: #888 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* متجاوب الهواتف الذكية الحامي للتصميم لمنع خروج العناصر */
@media(max-width: 768px) {
    .gov-archive-card, .random-article-card {
        flex-direction: column !important; /* العودة للاصطفاف العمودي المتناسق فقط على الجوال لراحة اليد */
        align-items: flex-start !important;
        padding: 15px !important;
        gap: 12px !important;
    }
    .gov-card-meta-inline-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .gov-archive-footer {
        border-top: 1px solid #f0f0f0 !important;
        padding-top: 8px !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   توحيد وبناء الأقسام الإخبارية المتعددة (News Blocks & Categories)
   ========================================================================== */

/* ضبط حاويات الأقسام الإخبارية الإضافية لتصبح متوازية واحترافية */
.category-news-block,
.home-multi-categories-wrap,
.additional-sections-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* قسمين متجاورين في الشاشات الكبيرة */
    gap: 25px !important;
    margin-bottom: 30px !important;
}

/* تنسيق المقالات الفرعية داخل هذه الأقسام الإضافية */
.sub-news-item, .category-post-card {
    display: flex !important;
    flex-direction: row !important; /* اصطفاف أفقي مرن يجمع الصورة والنص */
    gap: 15px !important;
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
}

/* إلغاء خط الحدود للمقالة الأخيرة في البلوك */
.sub-news-item:last-child, .category-post-card:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* ضبط صور المقالات في الأقسام الإضافية لتكون متناسقة وثابتة الأبعاد */
.sub-news-item .post-thumbnail img, 
.category-post-card .post-image img {
    width: 100px !important;
    height: 75px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}

/* تنسيق عناوين الأخبار للأقسام الإضافية */
.sub-news-title a, .category-post-title a {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.sub-news-item:hover .sub-news-title a,
.category-post-card:hover .category-post-title a {
    color: var(--primary, #115c38) !important;
}

/* شريط الميتا (الوقت، التاريخ، والكاتب) للأقسام الإخبارية الإضافية */
.sub-news-meta, .category-post-meta {
    font-size: 12px !important;
    color: #777 !important;
    margin-top: 5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* حماية وتجاوب التصميم للأقسام الإضافية على شاشات الجوال */
@media(max-width: 992px) {
    .category-news-block,
    .home-multi-categories-wrap,
    .additional-sections-grid {
        grid-template-columns: 1fr !important; /* سطر واحد ممتد بالكامل على الجوال لراحة التصفح */
        gap: 20px !important;
    }
}

/* ==========================================================================
   تنسيقات الجداول الإخبارية الإضافية والبنر الإعلاني الختامي
   ========================================================================== */

/* حاوية الجداول الإخبارية المتوازية */
.home-dual-news-tables {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    margin: 35px 0 !important;
}

.news-table-block {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01) !important;
}

.news-table-header {
    background: var(--primary, #115c38) !important;
    color: #fff !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-bottom: 3px solid var(--gold, #d4af37) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.news-table-header .table-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 2px 10px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
}

.news-table-rows {
    display: flex !important;
    flex-direction: column !important;
}

.news-table-row-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    gap: 15px !important;
    transition: background 0.2s !important;
}

.news-table-row-item:last-child {
    border-bottom: none !important;
}

.news-table-row-item:hover {
    background: #fafafa !important;
}

.table-row-title {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #222 !important;
    flex: 1 !important;
}

.news-table-row-item:hover .table-row-title {
    color: var(--primary, #115c38) !important;
}

.table-row-date {
    font-size: 12px !important;
    color: #999 !important;
    white-space: nowrap !important;
}

/* البنر الإعلاني الختامي الفخم */
.home-bottom-adv-banner {
    background: linear-gradient(135deg, #115c38 0%, #0b3d25 100%) !important;
    border: 2px solid var(--gold, #d4af37) !important;
    border-radius: 6px !important;
    padding: 30px !important;
    text-align: center !important;
    color: #fff !important;
    margin: 40px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.home-bottom-adv-banner::before {
    content: "إعلان مروّج" !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: var(--gold, #d4af37) !important;
    color: #115c38 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 8px !important;
    border-radius: 3px !important;
    text-transform: uppercase !important;
}

.adv-banner-title {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--gold, #d4af37) !important;
    margin-bottom: 8px !important;
}

.adv-banner-desc {
    font-size: 14px !important;
    color: #e2e8f0 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* شاشات الجوال المتجاوبة */
@media(max-width: 768px) {
    .home-dual-news-tables {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .news-table-row-item {
        padding: 12px 15px !important;
    }
}

/* ==========================================================================
   تنسيقات نظام الأسطر المصغرة والمدمجة الفاخرة للقسم الأخير بالرئيسية
   ========================================================================== */
.compact-gov-list-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    transition: background 0.2s ease !important;
}
.compact-gov-list-row:last-child {
    border-bottom: none !important;
}
.compact-gov-list-row:hover {
    background: #fafbfc !important;
}
.compact-right-side {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex: 1 !important;
}
.compact-row-title-link {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #222 !important;
    line-height: 1.4 !important;
}
.compact-gov-list-row:hover .compact-row-title-link {
    color: var(--primary, #115c38) !important;
}
.compact-row-date-stamp {
    font-size: 12px !important;
    color: #999 !important;
    white-space: nowrap !important;
}

@media(max-width: 768px) {
    .home-dual-news-tables {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .compact-gov-list-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 12px 15px !important;
    }
}

/* ==========================================================================
   تنسيقات الصناديق والأقسام الإخبارية المدمجة الصغيرة (Compact Categories)
   ========================================================================== */
.compact-news-row-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #f9f9f9 !important;
    gap: 15px !important;
}
.compact-news-row-item:last-child {
    border-bottom: none !important;
}
.compact-news-row-item:hover {
    background: #fafafa !important;
}
.compact-tech-dot {
    width: 6px !important;
    height: 6px !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    display: inline-block !important;
}
.compact-news-link-txt {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #333 !important;
    flex: 1 !important;
    text-decoration: none !important;
}
.compact-news-row-item:hover .compact-news-link-txt {
    color: var(--primary) !important;
}
.compact-news-time-badge {
    font-size: 11.5px !important;
    color: #aaa !important;
    font-family: sans-serif !important;
}

@media(max-width: 768px) {
    .custom-categories-master-section > div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}
.lost-list-row-item-box {
    transition: all 0.25s ease-in-out !important;
}
.lost-list-row-item-box:hover {
    transform: translateX(-5px) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
}
.lost-list-row-item-box h3 a:hover {
    color: var(--primary) !important;
}
/* ==============================================
   تحسينات إضافية للواجهة الخرافية
   ============================================== */
.gov-action-btn-sm {
    background: #115c38;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gov-action-btn-sm:hover {
    background: #d4af37;
    color: #115c38;
    transform: translateY(-2px);
}
.home-bottom-adv-banner {
    background: linear-gradient(135deg, #115c38 0%, #0b3d25 100%);
    border: 2px solid #d4af37;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    margin: 50px 0 30px;
}
.adv-banner-title {
    font-size: 22px;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 10px;
}
.adv-banner-desc {
    font-size: 14px;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
}
@media(max-width: 768px) {
    .services-5grid { gap: 10px; }
    .service-card { padding: 15px 8px; }
    .service-icon { width: 45px; height: 45px; font-size: 20px; }
    .service-title { font-size: 12px; }
    .service-desc { display: none; }
    .slider-content h2 { font-size: 22px; }
    .slider-content p { display: none; }
    .slider-btn { padding: 6px 15px; font-size: 12px; }
    .main-slider-area { height: 350px; }
}
@media(max-width: 768px) {
    .lost-list-row-item-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 15px !important;
        gap: 10px !important;
    }
}
/* ==============================================
   الهيدر الفاخر والعصري (يدعم الجوال والكمبيوتر)
   ============================================== */

/* شريط التوب بار */
.luxury-topbar {
    background: #115c38;
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}
.luxury-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-right i { margin-left: 6px; color: #d4af37; }
.gov-badge {
    background: rgba(212,175,55,0.15);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
}
.social-icons-top a {
    color: #d4af37;
    margin-left: 12px;
    transition: 0.3s;
}
.social-icons-top a:hover { color: #fff; }

/* الهيدر الرئيسي */
.luxury-header {
    background: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.luxury-header.header-scrolled {
    padding: 10px 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}
.luxury-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* منطقة الشعار */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon-wrapper {
    position: relative;
}
.logo-icon-wrapper i {
    font-size: 42px;
    color: #115c38;
}
.pulse-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(17,92,56,0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    70% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}
.logo-text h1 {
    font-size: 22px;
    font-weight: 900;
    color: #115c38;
    margin: 0;
    line-height: 1.2;
}
.logo-text span {
    font-size: 11px;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 1px;
}

/* أزرار الإجراءات (للشاشات الكبيرة) */
.header-actions {
    display: flex;
    gap: 15px;
}
.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}
.action-btn i {
    font-size: 24px;
}
.action-btn.help-btn i { color: #2ecc71; }
.action-btn.lost-btn i { color: #e74c3c; }
.action-btn .btn-text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #222;
}
.action-btn .btn-text small {
    font-size: 10px;
    color: #888;
}
.action-btn:hover {
    background: #115c38;
    border-color: #115c38;
    transform: translateY(-3px);
}
.action-btn:hover .btn-text strong,
.action-btn:hover .btn-text small,
.action-btn:hover i {
    color: #fff;
}

/* زر القائمة للجوال (هامبرغر فاخر) */
.mobile-menu-trigger {
    display: none;
    background: #115c38;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.menu-icon span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}
.menu-text {
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}
.mobile-menu-trigger:hover {
    background: #d4af37;
}

/* شريط التنقل للكمبيوتر */
.luxury-nav {
    background: #115c38;
    border-bottom: 3px solid #d4af37;
}
.luxury-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu-desktop {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu-desktop li {
    border-left: 1px solid rgba(255,255,255,0.1);
}
.nav-menu-desktop li a {
    display: block;
    padding: 14px 22px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
}
.nav-menu-desktop li a i {
    margin-left: 8px;
    color: #d4af37;
}
.nav-menu-desktop li a:hover {
    background: rgba(0,0,0,0.15);
    color: #d4af37;
}
.nav-contact-phone {
    background: rgba(212,175,55,0.15);
    padding: 8px 18px;
    border-radius: 50px;
    color: #d4af37;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}
.nav-contact-phone i {
    margin-left: 6px;
}
.nav-contact-phone:hover {
    background: #d4af37;
    color: #115c38;
}

/* القائمة الجانبية المنزلقة للجوال */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
.mobile-slide-menu.active {
    right: 0;
}
.slide-menu-header {
    background: #115c38;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #d4af37;
}
.slide-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
}
.slide-logo i { font-size: 28px; color: #d4af37; }
.close-menu-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.slide-menu-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.mobile-nav-list li {
    border-bottom: 1px solid #f0f0f0;
}
.mobile-nav-list li a {
    display: block;
    padding: 14px 0;
    color: #222;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.mobile-nav-list li a i {
    width: 28px;
    color: #d4af37;
    margin-left: 10px;
}
.mobile-nav-list li a:hover {
    color: #115c38;
    padding-right: 8px;
}
.slide-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}
.slide-action-btn {
    padding: 12px;
    border-radius: 50px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.slide-action-btn.help { background: #e8f5e9; color: #2ecc71; }
.slide-action-btn.lost { background: #fdecea; color: #e74c3c; }
.slide-action-btn.news { background: #e3f2fd; color: #3498db; }
.slide-menu-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.slide-menu-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #115c38;
    font-size: 18px;
    transition: 0.3s;
}
.slide-menu-social a:hover {
    background: #d4af37;
    color: #fff;
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none;
}
.mobile-menu-overlay.active {
    display: block;
}

/* الشريط الإخباري */
.luxury-ticker {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}
.luxury-ticker .container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ticker-badge {
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.ticker-text {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
}
.typing-cursor {
    animation: blink 0.8s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* استجابة الجوال */
@media(max-width: 992px) {
    .header-actions { display: none; }
    .nav-desktop { display: none; }
    .nav-contact-phone { display: none; }
    .mobile-menu-trigger { display: flex; }
    .luxury-nav .container { justify-content: flex-start; }
    .logo-text h1 { font-size: 18px; }
    .logo-icon-wrapper i { font-size: 32px; }
    .ticker-text { white-space: normal; font-size: 11px; }
    .ticker-badge { font-size: 10px; padding: 3px 10px; }
    .luxury-ticker .container { gap: 8px; flex-wrap: wrap; }
}

@media(max-width: 600px) {
    .luxury-topbar .container { flex-direction: column; text-align: center; }
    .logo-text h1 { font-size: 16px; }
    .logo-text span { font-size: 9px; }
    .logo-icon-wrapper i { font-size: 28px; }
    .pulse-ring { width: 40px; height: 40px; top: -4px; left: -4px; }
}
/* ==============================================
   الفوتر الملكي الفاخر (4 أعمدة)
   ============================================== */

.luxury-footer {
    background: linear-gradient(135deg, #0a3823 0%, #115c38 100%);
    color: #e2e8f0;
    padding: 60px 0 25px;
    margin-top: 60px;
    border-top: 4px solid #d4af37;
    position: relative;
}

.luxury-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, #d4af37, transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 45px;
}

/* العمود الأول: معلومات الموقع */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-logo i {
    font-size: 38px;
    color: #d4af37;
}
.footer-logo h3 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin: 0;
}
.footer-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cbd5e0;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    transition: 0.3s;
}
.footer-social a:hover {
    background: #d4af37;
    color: #115c38;
    transform: translateY(-3px);
}

/* العناوين العامة للأعمدة */
.footer-col h4 {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212,175,55,0.3);
    display: inline-block;
}
.footer-col h4 i {
    color: #d4af37;
    margin-left: 8px;
}

/* قوائم الروابط */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 13.5px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links li a i {
    width: 22px;
    color: #d4af37;
    font-size: 13px;
}
.footer-links li a:hover {
    color: #d4af37;
    transform: translateX(-5px);
}

/* معلومات الاتصال */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.contact-info-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
}
.contact-info-list li i {
    width: 30px;
    color: #d4af37;
    font-size: 16px;
}
.contact-info-list li a {
    color: #cbd5e0;
    text-decoration: none;
}
.contact-info-list li a:hover {
    color: #d4af37;
}

/* الروابط القانونية */
.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.legal-links a {
    font-size: 12px;
    color: #cbd5e0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.legal-links a i {
    color: #d4af37;
    font-size: 12px;
}
.legal-links a:hover {
    color: #d4af37;
}

/* الصف السفلي (حقوق الملكية) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.copyright p {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0;
}
.copyright strong {
    color: #d4af37;
}
.footer-badge {
    display: flex;
    gap: 15px;
}
.cert-badge, .version-badge {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
}
.cert-badge i {
    color: #2ecc71;
    margin-left: 5px;
}
.version-badge {
    background: rgba(212,175,55,0.15);
    color: #d4af37;
}

/* استجابة الجوال */
@media(max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media(max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-badge {
        justify-content: center;
    }
    .legal-links {
        justify-content: center;
    }
    .contact-info-list li {
        justify-content: center;
    }
    .footer-col h4 {
        display: block;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-desc {
        text-align: center;
    }
}
/* ==============================================
     نافذة الترحيب التجريبية (مرة واحدة لكل زائر)
     ============================================== */

.welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.welcome-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.welcome-modal-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    width: 90%;
    max-width: 500px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-top: 5px solid #d4af37;
}

.welcome-modal-overlay.show .welcome-modal-container {
    transform: scale(1);
}

.welcome-modal-header {
    background: #115c38;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.welcome-icon {
    width: 55px;
    height: 55px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-icon i {
    font-size: 28px;
    color: #d4af37;
}

.welcome-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-close-btn:hover {
    background: #e74c3c;
    transform: rotate(90deg);
}

.welcome-modal-body {
    padding: 35px 30px;
    text-align: center;
}

.welcome-modal-body h3 {
    font-size: 24px;
    font-weight: 900;
    color: #115c38;
    margin-bottom: 15px;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    color: #b8962c;
    margin-bottom: 20px;
}

.welcome-modal-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

.welcome-note {
    background: #f0f7f3;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 12px;
    color: #115c38;
    font-weight: 700;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-right: 3px solid #d4af37;
}

.welcome-modal-footer {
    padding: 20px 30px 35px;
    text-align: center;
}

.welcome-btn {
    background: linear-gradient(135deg, #115c38 0%, #1e7e4e 100%);
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(17, 92, 56, 0.3);
}

.welcome-btn:hover {
    background: #d4af37;
    color: #115c38;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}
/* --- مربع الكاتب (Author Box) --- */
.news-author-luxury-box {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-right: 4px solid #bfa15f; /* لون ذهبي مميز يعكس الفخامة */
    padding: 25px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.author-avatar-wrapper img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #f1f1f1;
}
.author-info-wrapper {
    margin-right: 20px;
}
.author-name {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #2c3e50;
    font-weight: bold;
}
.author-badge {
    color: #3498db;
    font-size: 16px;
    margin-right: 5px;
}
.author-bio {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}
.author-archive-link {
    font-size: 14px;
    color: #bfa15f;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.author-archive-link:hover {
    color: #2c3e50;
}

/* --- نظام تبويبات التعليقات (Tabs Comments) --- */
.luxury-comments-section {
    margin-top: 50px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}
.comments-tabs-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #eaeaea;
}
.comment-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.comment-tab-btn i {
    margin-left: 8px;
}
.comment-tab-btn:hover {
    background: #f1f1f1;
}
.comment-tab-btn.active {
    color: #1877f2; /* لون أزرق يناسب فيسبوك */
    border-bottom-color: #1877f2;
    background: #fff;
}
/* تخصيص لون التبويب الثاني عند التفعيل */
.comment-tab-btn:last-child.active {
    color: #bfa15f;
    border-bottom-color: #bfa15f;
}
.comments-tab-content {
    padding: 30px;
    animation: fadeEffect 0.5s;
}

/* حركة التبديل السلسة */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@media (max-width: 768px) {
    .news-author-luxury-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .author-info-wrapper {
        margin-right: 0;
        margin-top: 15px;
    }
}

/* استجابة الجوال للنافذة */
@media(max-width: 600px) {
    .welcome-modal-body {
        padding: 25px 20px;
    }
    .welcome-modal-body h3 {
        font-size: 20px;
    }
    .welcome-modal-body p {
        font-size: 13px;
    }
    .welcome-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* --- تنسيق قسم تعليقات الموقع الأساسية --- */
.wp-native-comments-wrapper {
    margin-bottom: 50px;
    padding-bottom: 30px;
}

/* --- تنسيق قسم تعليقات فيسبوك المزخرف --- */
.fb-comments-luxury-wrapper {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-top: 4px solid #1877f2; /* خط علوي بلون فيسبوك */
    border-radius: 8px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.fb-comments-decorative-header {
    text-align: center;
    border-bottom: 2px dashed #eaebec;
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
}

.fb-icon-holder {
    background: #1877f2;
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}

.fb-comments-decorative-header h3 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.fb-comments-decorative-header p {
    color: #7f8c8d;
    font-size: 15px;
    margin: 0;
}

/* لضمان تجاوب صندوق فيسبوك مع شاشات الجوال */
.fb-comments-body {
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .fb-comments-luxury-wrapper {
        padding: 15px;
    }
}


/* تنسيقات تعليقات الموقع الأساسية */
.site-comments-area {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 30px;
}
.comments-title, .comment-reply-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #bfa15f;
    padding-bottom: 10px;
    display: inline-block;
}
.comment-list-ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.comment-list-ul li {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
}
.comment-form-row {
    display: flex;
    gap: 20px;
}
.comment-form-field {
    flex: 1;
    margin-bottom: 15px;
}
.comment-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
.comment-form-field input[type="text"],
.comment-form-field input[type="email"],
.comment-form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}
.btn-luxury-submit {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-luxury-submit:hover {
    background: #bfa15f;
}

@media (max-width: 768px) {
    .comment-form-row {
        flex-direction: column;
        gap: 0;
    }
}

.news-single{max-width:900px;margin:auto;padding:30px;font-family:Cairo,sans-serif}
.article-header h1{font-size:42px;line-height:1.4}
.meta{display:flex;gap:20px;color:#777;border-bottom:1px solid #eee;padding-bottom:15px}
.article-content{font-size:20px;line-height:2}
.share-bar{display:flex;gap:10px;margin:30px 0}
.share-bar a{background:#0b6efd;color:#fff;padding:10px 16px;border-radius:8px;text-decoration:none}
.author-box{display:flex;gap:20px;background:#fafafa;padding:20px;border-radius:12px;margin:40px 0}
.post-nav{display:flex;justify-content:space-between;border-top:1px solid #eee;padding-top:20px}
/* --- قسم المقالات ذات الصلة --- */
.related-news-section {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 2px solid #eaeaea;
}
.related-section-title {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 25px;
}
.related-section-title i {
    color: #bfa15f;
    margin-left: 8px;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.related-post-card {
    display: block;
    text-decoration: none;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.related-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.related-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 15px;
    margin: 0;
    line-height: 1.5;
}
.related-post-card:hover .related-title {
    color: #bfa15f;
}

/* زر تويتر في المشاركة */
.f-tw { background-color: #1DA1F2; }

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
/* --- 1. البرودكاست (مسار التنقل) الحديث --- */
.modern-breadcrumbs-container {
    background: #ffffff;
    border: 2px solid #bfa15f; /* إطار ذهبي بارز ومميز */
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(191, 161, 95, 0.15); /* ظل ذهبي خفيف */
    display: inline-block;
}
.bread-link {
    color: #2c3e50;
    text-decoration: none;
    transition: 0.3s;
}
.bread-link:hover { color: #bfa15f; }
.bread-sep {
    color: #ccc;
    margin: 0 10px;
    font-size: 12px;
}
.bread-current {
    color: #bfa15f;
}

/* --- 2. صندوق الكاتب الفاخر --- */
.premium-author-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
    border: 1px solid #e1e8ed;
    border-right: 5px solid #2c3e50;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.premium-author-card:hover {
    transform: translateY(-5px);
}
.premium-author-avatar img {
    border-radius: 50%;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.premium-author-details { margin-right: 25px; }
.author-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.author-title-row h4 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
    font-weight: 900;
}
.author-verified-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 15px;
    font-weight: bold;
}
.author-description {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 15px;
}
.premium-author-btn {
    display: inline-block;
    background: #2c3e50;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.premium-author-btn:hover { background: #bfa15f; }

/* --- 3. المقالات العشوائية (4 مقالات شبكية) --- */
.random-global-posts-section { margin: 50px 0; }
.section-modern-title {
    position: relative;
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: bold;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}
.section-modern-title span {
    border-bottom: 3px solid #bfa15f;
    padding-bottom: 10px;
}
.random-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.random-post-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}
.random-post-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-3px); }
.rand-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.rand-thumb.no-thumb {
    height: 140px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ddd;
}
.rand-content { padding: 15px; }
.rand-category {
    font-size: 11px;
    background: #bfa15f;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}
.rand-title {
    font-size: 15px;
    color: #222;
    margin: 0;
    line-height: 1.5;
    font-weight: bold;
}

/* --- 4. تجميل وتطوير صندوق تعليقات ووردبريس --- */
.premium-wp-comments-container {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}
.comments-section-title {
    font-size: 26px;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}
.comments-section-title i { color: #bfa15f; margin-left: 10px; }

/* استهداف كلاسات ووردبريس الافتراضية داخل الحاوية */
.premium-wp-comments-container #respond {
    background: #f9fbfd;
    padding: 30px;
    border-radius: 8px;
    border: 1px dashed #ced4da;
}
.premium-wp-comments-container .comment-reply-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
.premium-wp-comments-container input[type="text"],
.premium-wp-comments-container input[type="email"],
.premium-wp-comments-container textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dde2e6;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 15px;
}
.premium-wp-comments-container input:focus,
.premium-wp-comments-container textarea:focus {
    border-color: #bfa15f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(191, 161, 95, 0.2);
}
.premium-wp-comments-container input[type="submit"] {
    background: #bfa15f;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}
.premium-wp-comments-container input[type="submit"]:hover {
    background: #2c3e50;
}
.premium-wp-comments-container .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.premium-wp-comments-container .comment-list li {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* --- الموبايل (التجاوب) --- */
@media (max-width: 992px) {
    .random-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .premium-author-card { flex-direction: column; text-align: center; }
    .premium-author-details { margin-right: 0; margin-top: 20px; }
    .author-title-row { justify-content: center; }
    .random-posts-grid { grid-template-columns: 1fr; }
    .premium-wp-comments-container { padding: 20px; }
}