/**
 * site.css — تنسيقات القالب العامة (تُحمَّل في كل الصفحات)
 * نُقلت من الكود المضمّن داخل functions.php و footer.php إلى هذا الملف
 * حتى يخزّنها المتصفح ولا تتكرر داخل كل صفحة. الترتيب مطابق للترتيب السابق.
 *
 * الفهرس:
 *   1. إصلاح عرض الشعار داخل المحتوى
 *   2. خطوط إضافية لزر الخط: Kawkab Mono و Makina
 *   3. أوزان الخطوط (data-fw)
 *   4. الهيدر والقائمة (feb14h)
 *   5. خط Jali Arabic
   تسريع (2026-11-23): نستخدم ملفين فقط — الأوزان 200/300/500 تأخذ ملف Regular
   والأوزان 600/800/900 تأخذ ملف Bold — لتقليل التحميل حوالي 210 كيلوبايت.
 *   6. ألوان الوسوم
 *   7. أدوات الهيدر (البحث والأيقونات)
 *   8. لصقة بطاقة المطبوعات
 *   9. عنوان الصفحات بشكل الكولاج
 *  10. زر البريد في الفوتر
 *  11. تسريع الجوال: إظهار السلايد الأول بدون حركة
 *  12. شبكة الفوتر (ffx)
 *  13. حسابات المجلس في الفوتر
 *  14. منع تحميل خط Amiri بلا حاجة (تسريع)
 */


/* ==========================================================================
   1. إصلاح عرض الشعار داخل المحتوى
   المصدر السابق: feb-logo-fix (functions.php: feb-logo-fix)
   ========================================================================== */

.wp-block-post-content .is-layout-flex > .wp-block-site-logo,
		.entry-content .is-layout-flex > .wp-block-site-logo,
		.entry__content .is-layout-flex > .wp-block-site-logo {
			flex: 0 0 50px !important;
			width: 50px !important;
			min-width: 50px !important;
		}
		.wp-block-post-content .is-layout-flex > .wp-block-site-logo img,
		.entry-content .is-layout-flex > .wp-block-site-logo img,
		.entry__content .is-layout-flex > .wp-block-site-logo img {
			width: 50px !important;
			max-width: none !important;
			height: auto !important;
		}


/* ==========================================================================
   2. خطوط إضافية لزر الخط: Kawkab Mono و Makina
   المصدر السابق: ff14_extra_css()
   ========================================================================== */

@font-face{font-family:"Kawkab Mono";src:url("/wp-content/uploads/fonts/KawkabMono-Light.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:"Kawkab Mono";src:url("/wp-content/uploads/fonts/KawkabMono-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Kawkab Mono";src:url("/wp-content/uploads/fonts/KawkabMono-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
body [data-ff="kawkab"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f), body [data-ff="kawkab"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f) * { font-family: "Kawkab Mono", monospace !important; }
@font-face{font-family:"29LT Makina";src:url("/wp-content/uploads/fonts/29LTMakina-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
body [data-ff="makina"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f), body [data-ff="makina"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f) * { font-family: "29LT Makina", sans-serif !important; }


/* ==========================================================================
   3. أوزان الخطوط (data-fw)
   المصدر السابق: ff14-weights
   ========================================================================== */

body [data-fw="300"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f), body [data-fw="300"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f) * { font-weight: 300 !important; }
body [data-fw="400"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f), body [data-fw="400"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f) * { font-weight: 400 !important; }
body [data-fw="500"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f), body [data-fw="500"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f) * { font-weight: 500 !important; }
body [data-fw="700"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f), body [data-fw="700"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f) * { font-weight: 700 !important; }
body [data-fw="900"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f), body [data-fw="900"]:not(#ff14-a):not(#ff14-b):not(#ff14-c):not(#ff14-d):not(#ff14-e):not(#ff14-f) * { font-weight: 900 !important; }


/* ==========================================================================
   4. الهيدر والقائمة (feb14h)
   المصدر السابق: feb14h_css()
   ========================================================================== */

/* الخطوط */
/* تعريف خط Jali (WOFF2 + TTF احتياطي) موجود مرة واحدة في قسم «خط Jali Arabic» — feb14_jali_css(). */

/* المتغيرات (محصورة في الهيدر حتى لا تغيّر القالب) */
#feb14h {
  /* الكرتون */
  --board: #B39F7F;
  --board-dark: #9D8A6A;
  --board-light: #C6B595;
  /* الورق */
  --paper: #F6F0E3;
  --paper-2: #ECE4D2;
  --paper-3: #DED3BB;
  /* الحبر */
  --ink: #1D1915;
  --ink-2: #4A4237;
  --ink-3: #776C5D;
  /* أحمر 14 فبراير */
  --red: #B3261E;
  --red-dark: #8C1B15;
  --tape: rgba(242, 233, 204, .8);
  --shade: rgba(42, 29, 14, .34);

  --font-display: "Amiri", "Traditional Arabic", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;

  --container: 1248px;
  --gutter: 24px;
  --gap: 28px;
  --admin-bar: var(--wp-admin--admin-bar--height, 0px);

  /* حواف الورق الممزقة */
  --torn-1: polygon(0.0% 0.45%,2.5% 0.21%,5.0% 0.91%,7.5% 0.10%,10.0% 0.75%,12.5% 0.51%,15.0% 0.08%,17.5% 0.71%,20.0% 0.05%,22.5% 0.61%,25.0% 0.10%,27.5% 0.13%,30.0% 0.59%,32.5% 1.16%,35.0% 0.17%,37.5% 0.31%,40.0% 0.88%,42.5% 1.33%,45.0% 0.81%,47.5% 0.56%,50.0% 1.37%,52.5% 0.07%,55.0% 1.20%,57.5% 0.41%,60.0% 0.20%,62.5% 0.16%,65.0% 0.43%,67.5% 1.14%,70.0% 0.25%,72.5% 0.81%,75.0% 0.89%,77.5% 0.52%,80.0% 0.77%,82.5% 0.09%,85.0% 0.08%,87.5% 0.29%,90.0% 0.95%,92.5% 0.60%,95.0% 0.44%,97.5% 0.82%,100.0% 0.63%,99.79% 0.0%,99.44% 4.0%,99.51% 8.0%,99.83% 12.0%,99.60% 16.0%,99.63% 20.0%,99.39% 24.0%,99.49% 28.0%,99.80% 32.0%,99.31% 36.0%,99.92% 40.0%,99.71% 44.0%,99.47% 48.0%,99.89% 52.0%,99.66% 56.0%,99.97% 60.0%,99.53% 64.0%,99.46% 68.0%,99.60% 72.0%,99.39% 76.0%,99.78% 80.0%,99.51% 84.0%,99.58% 88.0%,99.59% 92.0%,99.68% 96.0%,99.41% 100.0%,100.0% 98.68%,97.5% 99.34%,95.0% 99.07%,92.5% 99.92%,90.0% 99.02%,87.5% 99.09%,85.0% 98.61%,82.5% 98.85%,80.0% 99.60%,77.5% 99.46%,75.0% 99.06%,72.5% 99.97%,70.0% 99.35%,67.5% 99.76%,65.0% 99.84%,62.5% 99.92%,60.0% 98.92%,57.5% 99.82%,55.0% 99.65%,52.5% 99.45%,50.0% 98.78%,47.5% 99.89%,45.0% 99.37%,42.5% 99.23%,40.0% 98.76%,37.5% 98.85%,35.0% 98.79%,32.5% 99.61%,30.0% 99.42%,27.5% 99.50%,25.0% 98.76%,22.5% 98.66%,20.0% 99.79%,17.5% 99.75%,15.0% 99.68%,12.5% 99.67%,10.0% 99.32%,7.5% 99.18%,5.0% 99.63%,2.5% 99.99%,0.0% 99.41%,0.26% 100.0%,0.40% 96.0%,0.67% 92.0%,0.48% 88.0%,0.36% 84.0%,0.43% 80.0%,0.47% 76.0%,0.04% 72.0%,0.63% 68.0%,0.55% 64.0%,0.61% 60.0%,0.56% 56.0%,0.27% 52.0%,0.28% 48.0%,0.07% 44.0%,0.44% 40.0%,0.04% 36.0%,0.05% 32.0%,0.15% 28.0%,0.11% 24.0%,0.24% 20.0%,0.04% 16.0%,0.00% 12.0%,0.11% 8.0%,0.07% 4.0%,0.25% 0.0%);
  --torn-2: polygon(0.0% 0.15%,2.5% 0.98%,5.0% 0.91%,7.5% 1.32%,10.0% 0.38%,12.5% 0.36%,15.0% 1.03%,17.5% 0.92%,20.0% 0.42%,22.5% 0.96%,25.0% 0.56%,27.5% 1.09%,30.0% 0.17%,32.5% 0.31%,35.0% 1.26%,37.5% 0.50%,40.0% 0.36%,42.5% 1.13%,45.0% 0.88%,47.5% 0.21%,50.0% 0.77%,52.5% 0.93%,55.0% 0.23%,57.5% 0.91%,60.0% 0.17%,62.5% 0.47%,65.0% 0.12%,67.5% 0.29%,70.0% 1.37%,72.5% 0.57%,75.0% 1.39%,77.5% 0.61%,80.0% 0.85%,82.5% 1.22%,85.0% 0.96%,87.5% 0.16%,90.0% 0.82%,92.5% 0.89%,95.0% 0.25%,97.5% 0.13%,100.0% 1.22%,99.64% 0.0%,99.86% 4.0%,99.68% 8.0%,99.85% 12.0%,99.44% 16.0%,99.65% 20.0%,99.93% 24.0%,99.43% 28.0%,99.94% 32.0%,99.80% 36.0%,99.98% 40.0%,99.48% 44.0%,99.92% 48.0%,99.63% 52.0%,99.93% 56.0%,99.66% 60.0%,99.52% 64.0%,99.63% 68.0%,99.68% 72.0%,99.66% 76.0%,99.69% 80.0%,99.58% 84.0%,99.93% 88.0%,99.67% 92.0%,99.83% 96.0%,99.39% 100.0%,100.0% 98.69%,97.5% 99.91%,95.0% 99.80%,92.5% 99.02%,90.0% 99.20%,87.5% 99.97%,85.0% 99.01%,82.5% 98.68%,80.0% 99.41%,77.5% 99.51%,75.0% 99.20%,72.5% 98.69%,70.0% 99.63%,67.5% 99.58%,65.0% 99.74%,62.5% 99.12%,60.0% 99.34%,57.5% 99.64%,55.0% 99.46%,52.5% 99.95%,50.0% 99.56%,47.5% 98.62%,45.0% 99.18%,42.5% 99.60%,40.0% 98.69%,37.5% 99.50%,35.0% 99.65%,32.5% 99.95%,30.0% 99.80%,27.5% 99.72%,25.0% 99.68%,22.5% 98.78%,20.0% 99.63%,17.5% 99.65%,15.0% 99.15%,12.5% 98.72%,10.0% 99.59%,7.5% 98.93%,5.0% 99.48%,2.5% 99.21%,0.0% 99.17%,0.66% 100.0%,0.53% 96.0%,0.36% 92.0%,0.59% 88.0%,0.26% 84.0%,0.27% 80.0%,0.67% 76.0%,0.38% 72.0%,0.54% 68.0%,0.22% 64.0%,0.64% 60.0%,0.43% 56.0%,0.17% 52.0%,0.65% 48.0%,0.33% 44.0%,0.24% 40.0%,0.18% 36.0%,0.07% 32.0%,0.14% 28.0%,0.48% 24.0%,0.10% 20.0%,0.18% 16.0%,0.31% 12.0%,0.38% 8.0%,0.27% 4.0%,0.55% 0.0%);
  --torn-3: polygon(0.0% 0.23%,2.5% 0.97%,5.0% 0.89%,7.5% 0.67%,10.0% 0.30%,12.5% 1.11%,15.0% 1.13%,17.5% 0.72%,20.0% 0.71%,22.5% 0.33%,25.0% 0.00%,27.5% 0.52%,30.0% 0.82%,32.5% 0.10%,35.0% 1.11%,37.5% 0.33%,40.0% 0.33%,42.5% 0.06%,45.0% 1.40%,47.5% 1.03%,50.0% 1.23%,52.5% 0.86%,55.0% 0.05%,57.5% 0.46%,60.0% 0.70%,62.5% 0.16%,65.0% 1.33%,67.5% 0.52%,70.0% 0.22%,72.5% 1.14%,75.0% 0.17%,77.5% 1.30%,80.0% 0.63%,82.5% 0.77%,85.0% 0.48%,87.5% 0.68%,90.0% 0.26%,92.5% 0.05%,95.0% 1.21%,97.5% 0.33%,100.0% 1.09%,99.85% 0.0%,99.32% 4.0%,99.37% 8.0%,99.47% 12.0%,99.47% 16.0%,99.59% 20.0%,99.49% 24.0%,99.91% 28.0%,99.67% 32.0%,99.42% 36.0%,99.86% 40.0%,99.35% 44.0%,99.38% 48.0%,99.71% 52.0%,99.74% 56.0%,99.68% 60.0%,99.73% 64.0%,99.30% 68.0%,99.73% 72.0%,99.98% 76.0%,99.93% 80.0%,99.50% 84.0%,99.31% 88.0%,99.65% 92.0%,99.66% 96.0%,99.61% 100.0%,100.0% 98.95%,97.5% 99.69%,95.0% 99.15%,92.5% 99.22%,90.0% 99.13%,87.5% 99.75%,85.0% 99.76%,82.5% 99.51%,80.0% 98.70%,77.5% 99.51%,75.0% 99.16%,72.5% 99.57%,70.0% 99.86%,67.5% 99.91%,65.0% 98.86%,62.5% 98.91%,60.0% 99.48%,57.5% 99.04%,55.0% 99.05%,52.5% 98.74%,50.0% 98.66%,47.5% 99.43%,45.0% 98.62%,42.5% 98.65%,40.0% 99.17%,37.5% 98.76%,35.0% 99.31%,32.5% 99.47%,30.0% 99.65%,27.5% 98.77%,25.0% 99.77%,22.5% 99.90%,20.0% 98.87%,17.5% 98.92%,15.0% 99.32%,12.5% 98.83%,10.0% 99.93%,7.5% 99.64%,5.0% 99.59%,2.5% 99.41%,0.0% 99.76%,0.05% 100.0%,0.24% 96.0%,0.63% 92.0%,0.69% 88.0%,0.52% 84.0%,0.34% 80.0%,0.18% 76.0%,0.67% 72.0%,0.37% 68.0%,0.51% 64.0%,0.02% 60.0%,0.15% 56.0%,0.59% 52.0%,0.56% 48.0%,0.62% 44.0%,0.42% 40.0%,0.30% 36.0%,0.41% 32.0%,0.59% 28.0%,0.22% 24.0%,0.37% 20.0%,0.19% 16.0%,0.54% 12.0%,0.01% 8.0%,0.48% 4.0%,0.67% 0.0%);
  --torn-4: polygon(0.0% 0.16%,2.5% 0.18%,5.0% 0.84%,7.5% 0.25%,10.0% 0.19%,12.5% 0.65%,15.0% 0.58%,17.5% 0.30%,20.0% 0.55%,22.5% 1.18%,25.0% 0.18%,27.5% 0.26%,30.0% 0.04%,32.5% 0.34%,35.0% 0.13%,37.5% 1.38%,40.0% 0.44%,42.5% 1.38%,45.0% 0.18%,47.5% 1.27%,50.0% 0.71%,52.5% 0.97%,55.0% 0.93%,57.5% 0.38%,60.0% 0.33%,62.5% 0.95%,65.0% 0.18%,67.5% 0.02%,70.0% 1.08%,72.5% 0.89%,75.0% 0.36%,77.5% 0.73%,80.0% 1.27%,82.5% 0.39%,85.0% 0.17%,87.5% 0.58%,90.0% 0.23%,92.5% 0.52%,95.0% 0.05%,97.5% 1.07%,100.0% 1.13%,99.74% 0.0%,99.74% 4.0%,99.82% 8.0%,99.33% 12.0%,99.39% 16.0%,99.54% 20.0%,99.88% 24.0%,99.88% 28.0%,99.46% 32.0%,99.87% 36.0%,99.52% 40.0%,99.71% 44.0%,99.98% 48.0%,99.86% 52.0%,99.36% 56.0%,99.77% 60.0%,99.53% 64.0%,99.47% 68.0%,99.72% 72.0%,99.65% 76.0%,99.40% 80.0%,99.49% 84.0%,99.64% 88.0%,99.62% 92.0%,99.69% 96.0%,99.70% 100.0%,100.0% 99.06%,97.5% 99.66%,95.0% 98.79%,92.5% 99.59%,90.0% 99.68%,87.5% 98.65%,85.0% 99.98%,82.5% 99.43%,80.0% 99.23%,77.5% 99.38%,75.0% 98.84%,72.5% 99.06%,70.0% 99.29%,67.5% 100.00%,65.0% 98.62%,62.5% 99.49%,60.0% 99.50%,57.5% 99.69%,55.0% 99.72%,52.5% 99.86%,50.0% 99.82%,47.5% 99.06%,45.0% 99.59%,42.5% 99.28%,40.0% 99.09%,37.5% 99.90%,35.0% 98.94%,32.5% 99.73%,30.0% 98.87%,27.5% 98.76%,25.0% 99.37%,22.5% 99.55%,20.0% 99.29%,17.5% 98.74%,15.0% 98.63%,12.5% 99.00%,10.0% 99.44%,7.5% 99.44%,5.0% 99.02%,2.5% 99.54%,0.0% 98.89%,0.24% 100.0%,0.40% 96.0%,0.36% 92.0%,0.37% 88.0%,0.59% 84.0%,0.62% 80.0%,0.55% 76.0%,0.45% 72.0%,0.28% 68.0%,0.27% 64.0%,0.32% 60.0%,0.59% 56.0%,0.52% 52.0%,0.06% 48.0%,0.17% 44.0%,0.04% 40.0%,0.21% 36.0%,0.58% 32.0%,0.44% 28.0%,0.02% 24.0%,0.53% 20.0%,0.43% 16.0%,0.33% 12.0%,0.02% 8.0%,0.01% 4.0%,0.05% 0.0%);
  --torn-bottom: polygon(0 0,100% 0,100.0% calc(100% - 1.7px),98.4% calc(100% - 3.8px),96.8% calc(100% - 2.6px),95.2% calc(100% - 4.2px),93.6% calc(100% - 4.4px),92.0% calc(100% - 0.5px),90.4% calc(100% - 0.1px),88.8% calc(100% - 5.9px),87.2% calc(100% - 1.8px),85.6% calc(100% - 1.6px),84.0% calc(100% - 7.0px),82.4% calc(100% - 3.3px),80.8% calc(100% - 5.9px),79.2% calc(100% - 3.3px),77.6% calc(100% - 4.5px),76.0% calc(100% - 1.1px),74.4% calc(100% - 4.4px),72.8% calc(100% - 6.1px),71.2% calc(100% - 3.7px),69.6% calc(100% - 5.2px),68.0% calc(100% - 4.7px),66.4% calc(100% - 0.4px),64.8% calc(100% - 5.3px),63.2% calc(100% - 4.1px),61.6% calc(100% - 2.1px),60.0% calc(100% - 0.2px),58.4% calc(100% - 6.1px),56.8% calc(100% - 3.3px),55.2% calc(100% - 5.0px),53.6% calc(100% - 6.2px),52.0% calc(100% - 5.0px),50.4% calc(100% - 6.4px),48.8% calc(100% - 2.8px),47.2% calc(100% - 5.6px),45.6% calc(100% - 3.1px),44.0% calc(100% - 6.5px),42.4% calc(100% - 6.2px),40.8% calc(100% - 0.7px),39.2% calc(100% - 1.0px),37.6% calc(100% - 1.5px),36.0% calc(100% - 6.8px),34.4% calc(100% - 3.1px),32.8% calc(100% - 4.4px),31.2% calc(100% - 2.1px),29.6% calc(100% - 3.6px),28.0% calc(100% - 2.7px),26.4% calc(100% - 2.5px),24.8% calc(100% - 4.1px),23.2% calc(100% - 4.1px),21.6% calc(100% - 6.3px),20.0% calc(100% - 4.8px),18.4% calc(100% - 6.5px),16.8% calc(100% - 6.0px),15.2% calc(100% - 6.9px),13.6% calc(100% - 4.7px),12.0% calc(100% - 1.1px),10.4% calc(100% - 6.0px),8.8% calc(100% - 6.8px),7.2% calc(100% - 6.3px),5.6% calc(100% - 4.0px),4.0% calc(100% - 5.0px),2.4% calc(100% - 1.5px),0.8% calc(100% - 5.8px),0 calc(100% - 3px));
  --torn-top: polygon(0.0% 5.6px,1.6% 6.7px,3.2% 7.2px,4.8% 8.5px,6.4% 6.7px,8.0% 8.3px,9.6% 0.3px,11.2% 4.2px,12.8% 8.5px,14.4% 5.8px,16.0% 8.1px,17.6% 1.0px,19.2% 4.2px,20.8% 2.2px,22.4% 4.9px,24.0% 5.2px,25.6% 0.1px,27.2% 2.0px,28.8% 2.5px,30.4% 8.2px,32.0% 6.9px,33.6% 1.4px,35.2% 7.2px,36.8% 1.2px,38.4% 5.6px,40.0% 1.1px,41.6% 0.0px,43.2% 7.8px,44.8% 1.9px,46.4% 1.9px,48.0% 8.8px,49.6% 7.9px,51.2% 2.6px,52.8% 8.7px,54.4% 4.9px,56.0% 6.1px,57.6% 1.8px,59.2% 8.5px,60.8% 6.2px,62.4% 8.7px,64.0% 8.0px,65.6% 2.7px,67.2% 3.3px,68.8% 1.5px,70.4% 1.3px,72.0% 0.6px,73.6% 2.7px,75.2% 5.4px,76.8% 0.0px,78.4% 6.1px,80.0% 3.0px,81.6% 2.8px,83.2% 7.4px,84.8% 4.3px,86.4% 2.8px,88.0% 4.3px,89.6% 6.3px,91.2% 0.5px,92.8% 8.8px,94.4% 0.2px,96.0% 6.7px,97.6% 7.6px,99.2% 0.2px,100% 3px,100% 100%,0 100%);
  --red: #ed1c25;
  --red-dark: #c9141d;
}

/* الأساس داخل الهيدر */
#feb14h { direction: rtl; text-align: start; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color: var(--ink); font: 400 16px/1.85 var(--font-body); text-rendering: optimizeLegibility; position: relative; z-index: 900; }
#feb14h, #feb14h *, #feb14h *::before, #feb14h *::after { box-sizing: border-box; }
#feb14h img { max-width: 100%; height: auto; }
#feb14h a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
#feb14h a:hover { color: var(--red); }
#feb14h p { margin: 0; }
#feb14h :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
#feb14h button { font: inherit; }
#feb14h [hidden] { display: none !important; }
#feb14h .container { width: 100%; max-width: var(--container); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
#feb14h .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* حماية الهيدر من تنسيقات القالب العامة */
#feb14h *, #feb14h *::before, #feb14h *::after { -webkit-tap-highlight-color: rgba(0, 0, 0, .18); touch-action: auto; }
#feb14h a { text-decoration-line: underline; }
#feb14h svg { fill: black; stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; flex-shrink: 1; }
#feb14h .social svg { fill: currentColor; }
#feb14h .search-form { max-width: none; align-items: normal; }
@media (max-width: 700px) {
  #feb14h { --gutter: 16px; --gap: 22px; font-size: 15.5px; }
}
/* خط Jali Arabic لكل الهيدر ما عدا اسم الموقع */
#feb14h#feb14h .site-header, #feb14h#feb14h .site-header * { font-family: "Jali Arabic", "IBM Plex Sans Arabic", sans-serif; }

/* ==========================================================================
   الهيدر
   ========================================================================== */
#feb14h .topbar { background: var(--ink); color: var(--paper-3); font-size: 13px; }
#feb14h .topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 40px; }
#feb14h .topbar__date { display: flex; gap: 12px; white-space: nowrap; }
#feb14h .topbar__hijri { color: var(--ink-3); }
#feb14h .topbar__hijri::before { content: "·"; margin-inline-end: 12px; color: var(--ink-3); }
#feb14h .topbar__notice { flex: 1; min-width: 0; text-align: center; }
#feb14h .topbar__notice a, #feb14h .topbar__notice {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #FF6B5F; font-weight: 700; text-decoration: none;
}
#feb14h .topbar__notice a:hover { color: var(--paper); text-decoration: underline; }
#feb14h .social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
#feb14h .social a { display: grid; place-items: center; width: 32px; height: 32px; color: inherit; border-radius: 50%; }
#feb14h .social a:hover { color: var(--paper); background: var(--red); }
#feb14h .social--top { margin-inline-start: auto; }

#feb14h .masthead {
  position: sticky; top: var(--admin-bar); z-index: 900;
  filter: drop-shadow(0 6px 8px var(--shade));
}
#feb14h .masthead__inner {
  position: relative;
  display: flex; align-items: center; gap: 28px; min-height: 86px;
  padding-block: 10px 16px;
}
/* يمتد الورق بعرض الشاشة كاملاً */
#feb14h .masthead::before{content: none; display: none;} /* خلفية هيدر Feb14 Collage أزيلت، تُستخدم خلفية هيدر Feb14 Collage (Arabic) v2 الأصلية */
#feb14h .brand { flex: none; }
#feb14h .brand .custom-logo { display: block; max-height: 64px; width: auto; }
#feb14h .brand__text { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
#feb14h .brand__mark {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: var(--red); color: var(--paper);
  font: 700 22px/1 var(--font-display); transform: rotate(-4deg);
}
#feb14h .brand__name { font: 700 26px/1.1 var(--font-display); white-space: nowrap; }

#feb14h .nav { flex: 1; min-width: 0; }
#feb14h .nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
#feb14h .nav__list > li { position: relative; }
#feb14h .nav__list > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink);
}
#feb14h .nav__list > li > a:hover, #feb14h .nav__list > li.current-menu-item > a, #feb14h .nav__list > li.current-menu-ancestor > a { color: var(--red); }
#feb14h .nav__list > li.current-menu-item > a { box-shadow: inset 0 -3px 0 var(--red); }
#feb14h .nav__caret { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-3px); opacity: .65; }
#feb14h .nav .sub-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 20;
  min-width: 230px; list-style: none; margin: 0; padding: 14px 0 16px;
  background: var(--paper); clip-path: var(--torn-2);
  filter: drop-shadow(0 10px 18px var(--shade));
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
#feb14h .nav__list > li:hover > .sub-menu, #feb14h .nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
#feb14h .nav .sub-menu a { display: block; padding: 7px 20px; font-size: 15px; text-decoration: none; color: var(--ink); }
#feb14h .nav .sub-menu a:hover { background: var(--paper-2); color: var(--red); }

#feb14h .masthead__btn {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  background: transparent; border: 1.5px dashed var(--ink-3); color: var(--ink); cursor: pointer;
}
#feb14h .masthead__btn:hover, #feb14h .masthead__btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-style: solid; border-color: var(--ink); }
#feb14h .masthead__menu-btn { display: none; }
#feb14h .burger, #feb14h .burger::before, #feb14h .burger::after, #feb14h .burger span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
#feb14h .burger { position: relative; background: transparent; }
#feb14h .burger::before, #feb14h .burger::after { content: ""; position: absolute; left: 0; }
#feb14h .burger::before { top: -6px; } #feb14h .burger::after { top: 6px; }
#feb14h [aria-expanded="true"] .burger span { opacity: 0; }
#feb14h [aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
#feb14h [aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

#feb14h .search-panel { padding-block: 8px 18px; }
#feb14h .search-panel .container { display: flex; justify-content: center; }
#feb14h .search-panel .search-form { width: min(640px, 100%); background: var(--paper); padding: 10px; clip-path: var(--torn-4); filter: drop-shadow(0 8px 14px var(--shade)); }

#feb14h .search-form { display: flex; gap: 8px; }
#feb14h .search-form__input {
  flex: 1; min-width: 0; padding: 10px 14px; font: 16px var(--font-body); color: var(--ink);
  background: var(--paper-2); border: 0; border-bottom: 2px solid var(--ink);
}
#feb14h .search-form__input::placeholder { color: var(--ink-3); }
#feb14h .search-form__btn { padding: 0 20px; border: 0; background: var(--ink); color: var(--paper); font-weight: 700; cursor: pointer; }
#feb14h .search-form__btn:hover { background: var(--red); }


/* ---------- الهيدر: الشاشات الأصغر ---------- */
@media (max-width: 1100px) {
  #feb14h .nav__list > li > a { padding: 8px 10px; font-size: 15px; }
  #feb14h .masthead__inner { gap: 16px; }
}

@media (max-width: 980px) {
  #feb14h .masthead__menu-btn { display: grid; order: 3; }
  #feb14h .masthead__search-btn { order: 2; margin-inline-start: auto; }
  #feb14h .brand { order: 1; }
  #feb14h .nav {
    order: 4; flex-basis: 100%; display: none;
    border-top: 1px dashed var(--paper-3); padding-block: 8px 4px;
  }
  #feb14h .nav.is-open { display: block; }
  #feb14h .masthead__inner { flex-wrap: wrap; min-height: 72px; }
  #feb14h .nav__list { flex-direction: column; align-items: stretch; }
  #feb14h .nav__list > li > a { padding: 10px 4px; font-size: 17px; }
  #feb14h .nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; filter: none; clip-path: none;
    background: transparent; padding: 0 0 8px; min-width: 0;
  }
  #feb14h .nav .sub-menu a { padding: 6px 18px; color: var(--ink-2); }
  #feb14h .nav__caret { display: none; }
}

@media (max-width: 700px) {
  #feb14h .topbar__date, #feb14h .social--top { display: none; }
  #feb14h .brand__name { font-size: 22px; }
  #feb14h .brand__mark { width: 38px; height: 38px; font-size: 19px; }
  #feb14h .brand .custom-logo { max-height: 52px; }
}

/* ---------- الهيدر: تخصيصات (منقولة من CSS الإضافي) ---------- */
/* تكبير شعار النشرة في الهيدر */
#feb14h .masthead .brand {
  width: auto !important;
  height: auto !important;
}
#feb14h .masthead .custom-logo {
  width: 140px !important;
  height: 84px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  #feb14h .masthead .custom-logo {
    width: 110px !important;
    height: 66px !important;
  }
}


/* بقية العناصر الحمراء (القائمة وأداة تحرير الخلفية) بنفس الأحمر #ed1c25 */
html body #feb14h .masthead .nav .sub-menu a {color:#ed1c25!important}
@media (max-width:960px) {
  html body #feb14h .masthead .nav > li > a, html body #feb14h .masthead .nav > ul > li > a {color:#ed1c25!important}
  html body #feb14h .masthead .nav > li > a {background-color:#ed1c25!important}
}


/* اسم الموقع تحت الشعار في الهيدر */
#feb14h .masthead .brand {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#feb14h .masthead .brand::after {
  content: "نشرة 14 فبراير";
  display: block;
  font-family: "Reem Kufi", "IBM Plex Sans Arabic", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
  white-space: nowrap;
  text-align: center;
}
@media (max-width: 768px) {
  #feb14h .masthead .brand::after { font-size: 17px; }
}


/* التاريخ في أعلى الهيدر إلى جهة اليسار */
#feb14h .topbar__inner {
  justify-content: flex-end !important;
}
#feb14h .topbar__date {
  margin-right: auto !important;
  margin-left: 0 !important;
}


/* القوائم الفرعية: ورقة كولاج ممزقة بظل ظاهر وشريط لاصق */
#feb14h .nav .sub-menu {
  background: transparent !important;
  clip-path: none !important;
  filter: drop-shadow(0 12px 14px rgba(29, 25, 21, 0.32)) drop-shadow(0 2px 3px rgba(29, 25, 21, 0.22)) !important;
  rotate: -1.2deg;
}
#feb14h .nav .sub-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  clip-path: var(--torn-2);
}
#feb14h .nav .sub-menu::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 78px;
  height: 22px;
  translate: -50% 0;
  rotate: 3deg;
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  clip-path: polygon(3% 0, 97% 5%, 100% 48%, 96% 100%, 4% 95%, 0 50%);
  pointer-events: none;
}
#feb14h .nav .sub-menu .sub-menu {
  rotate: 1deg;
}
#feb14h .nav .sub-menu .sub-menu::after {
  display: none;
}


/* الشعار واسم الموقع في الهيدر بأسلوب الكولاج */
#feb14h .masthead .brand {
  position: relative;
  padding-top: 6px;
  rotate: -2deg;
  filter: drop-shadow(0 8px 10px rgba(42, 29, 14, 0.28)) drop-shadow(0 1px 2px rgba(42, 29, 14, 0.2));
  transition: rotate .25s ease;
}
#feb14h .masthead .brand:hover {
  rotate: 0deg;
}


/* ورقة الشعار */
#feb14h .masthead .brand .custom-logo-link {
  display: block;
  background: #fffdf6;
  padding: 10px 14px 12px;
  clip-path: var(--torn-3);
}


/* شريط لاصق فوق الورقة */
#feb14h .masthead .brand::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 20px;
  translate: -50% 0;
  rotate: 4deg;
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  clip-path: polygon(3% 0, 97% 5%, 100% 48%, 96% 100%, 4% 95%, 0 50%);
  pointer-events: none;
}


/* اسم الموقع كقصاصة ملصقة */
#feb14h .masthead .brand::after {
  margin-top: -8px;
  padding: 5px 14px 7px;
  background: var(--ink);
  color: var(--paper) !important;
  rotate: 3deg;
  clip-path: polygon(0 6%, 4% 0, 52% 4%, 100% 0, 98% 52%, 100% 100%, 46% 95%, 2% 100%, 0 50%);
  position: relative;
  z-index: 1;
}


/* الأبواب الرئيسية: ورقة كولاج واحدة ممزقة الحواف بظل وشريط لاصق */
#feb14h .masthead .nav__list {
  position: relative;
  isolation: isolate;
  padding: 4px 20px !important;
  filter: drop-shadow(0 8px 10px rgba(29, 25, 21, 0.28)) drop-shadow(0 2px 2px rgba(29, 25, 21, 0.18));
  rotate: 0deg;
}
#feb14h .masthead .nav__list::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  clip-path: var(--torn-1);
}
#feb14h .masthead .nav__list::after {
  content: "";
  position: absolute;
  top: -9px;
  right: 18px;
  width: 70px;
  height: 20px;
  rotate: -4deg;
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  clip-path: polygon(3% 0, 97% 5%, 100% 48%, 96% 100%, 4% 95%, 0 50%);
  pointer-events: none;
}
#feb14h .masthead .nav__list .sub-menu {
  rotate: -1.2deg;
}


/* لصقة ثانية في يسار ورقة الأبواب الرئيسية لتثبيتها مستقيمة */
#feb14h .masthead .nav {
  position: relative;
}
#feb14h .masthead .nav::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 18px;
  width: 70px;
  height: 20px;
  z-index: 2;
  rotate: 4deg;
  background: var(--tape);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  clip-path: polygon(3% 0, 97% 5%, 100% 48%, 96% 100%, 4% 95%, 0 50%);
  pointer-events: none;
}
/* خلفية الهيدر (من تصميم قالب v2 الأصلي): ورقة بعرض الشاشة + ظل + حافة ممزقة تحتها */
#feb14h .masthead { background: var(--paper); box-shadow: 0 3px 12px #32251513; }
#feb14h .masthead::after { content: ""; position: absolute; top: calc(100% - 1px); height: 8px; inset-inline: 0; background: var(--paper); clip-path: polygon(0 0,100% 0,100% 50%,98% 25%,95% 75%,91% 30%,88% 90%,83% 30%,78% 70%,74% 25%,69% 80%,65% 40%,61% 90%,57% 20%,52% 65%,48% 35%,44% 85%,40% 20%,35% 75%,31% 30%,27% 90%,22% 35%,18% 80%,13% 30%,8% 90%,4% 35%,0 80%); pointer-events: none; }

/* القوائم الفرعية: تفتح بالمرور بالماوس فقط، وتقفل لما تنتقل لباب ثاني (ما تبقى مفتوحة بعد الضغط) */
@media (min-width: 981px) {
  #feb14h .nav__list > li:focus-within:not(:hover) > .sub-menu { opacity: 0; visibility: hidden; transform: translateY(6px); }
  /* لوحة المفاتيح: تبقى تفتح عند التنقل بزر Tab */
  #feb14h .nav__list > li:has(:focus-visible):not(:hover) > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

/* الهيدر يبقى ظاهر وقت التمرير: الشريط الأسود العلوي يختفي، والشعار والقائمة يثبتون أعلى الشاشة */
#feb14h { --feb14h-topbar: 40px; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--feb14h-topbar)); }
@media (max-width: 600px) {
  #feb14h { top: calc(0px - var(--feb14h-topbar)); } /* شريط ووردبريس للمدير لا يثبت على الجوال */
}

/* الهيدر يصغر بانيميشن احترافي وقت التصفح.
   --hp من 0 (الحجم الكامل) إلى 1 (المصغّر)؛ السكربت يحرّكه بنعومة (تسارع وتباطؤ) بدل القفز مع عجلة الماوس.
   الشعار يصغر بالتحجيم (scale) ويستقيم ميلانه، والظل يزيد قليلاً، والمسافات تقل. */
#feb14h { --hp: 0; --brand-h: 110px; }
#feb14h .masthead__inner { min-height: calc(64px * (1 - var(--hp))); padding-block: calc(6px - 2px * var(--hp)) calc(10px - 4px * var(--hp)); }
#feb14h .masthead .custom-logo { width: 100px !important; height: 60px !important; }
#feb14h .masthead .brand .custom-logo-link { padding: 6px 10px 8px; }
#feb14h .masthead .brand::before { width: 56px; height: 16px; }
#feb14h .masthead .brand::after { font-size: 17px; margin-top: -6px; padding: 3px 11px 5px; }
#feb14h .masthead .brand {
  padding-top: 4px;
  transform-origin: 50% 0;
  scale: calc(1 - .4 * var(--hp));
  rotate: calc(-2deg * (1 - var(--hp)));
  margin-bottom: calc(-.4 * var(--brand-h) * var(--hp));
  transition: none;
  will-change: scale;
}
#feb14h .masthead .brand:hover { rotate: 0deg; transition: rotate .25s ease; }
#feb14h .masthead { filter: drop-shadow(0 calc(6px - 1px * var(--hp)) calc(8px + 6px * var(--hp)) rgba(42, 29, 14, calc(.30 + .12 * var(--hp)))); }
@media (max-width: 980px) {
  #feb14h .masthead__inner { min-height: calc(56px * (1 - var(--hp))); }
}
@media (max-width: 768px) {
  #feb14h .masthead .custom-logo { width: 84px !important; height: 50px !important; }
  #feb14h .masthead .brand::after { font-size: 14px; }
  #feb14h .masthead .brand { scale: calc(1 - .3 * var(--hp)); margin-bottom: calc(-.3 * var(--brand-h) * var(--hp)); }
}

/* نصوص الأبواب الرئيسية فقط تصغر بنفس حركة الهيدر (القوائم الفرعية ما تتغيّر) */
@media (min-width: 981px) {
  #feb14h .nav__list > li > a { font-size: calc(16px - 2.5px * var(--hp)); padding-block: calc(8px - 3px * var(--hp)); letter-spacing: calc(-.1px * var(--hp)); }
}
@media (min-width: 981px) and (max-width: 1100px) {
  #feb14h .nav__list > li > a { font-size: calc(15px - 2px * var(--hp)); }
}

/* بدون الحافة الممزقة تحت الهيدر */
#feb14h .masthead::after { content: none; }


/* ==========================================================================
   5. خط Jali Arabic
   المصدر السابق: feb14_jali_css()
   ========================================================================== */

@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:200;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Regular.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-ExtraLight.ttf") format("truetype");}
@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:300;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Regular.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Light.ttf") format("truetype");}
@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:400;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Regular.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Regular.ttf") format("truetype");}
@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:500;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Regular.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Medium.ttf") format("truetype");}
@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:600;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Bold.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-SemiBold.ttf") format("truetype");}
@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:700;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Bold.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Bold.ttf") format("truetype");}
@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:800;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Bold.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-ExtraBold.ttf") format("truetype");}
@font-face{font-family:"Jali Arabic";font-style:normal;font-weight:900;font-display:swap;src:url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Bold.woff2") format("woff2"),url("/wp-content/themes/feb14-collage-ar-blocks/assets/fonts/jali/Jali-Arabic-Black.ttf") format("truetype");}
:root{--font-jali:"Jali Arabic","IBM Plex Sans Arabic",Tahoma,sans-serif;}
html body, html body :not(#wpadminbar):not(#wpadminbar *):not([class*="dashicons"]):not(.ffx-brand-name):not(.ffx-brand-name *):not(.feb-footer__brand-name):not(.feb-footer__brand-name *):not(.wp-block-site-title):not(.wp-block-site-title *):not(.site-title):not(.site-title *){font-family:var(--font-jali)!important;}
html body input, html body textarea, html body select, html body button{font-family:var(--font-jali)!important;}


/* ==========================================================================
   6. ألوان الوسوم
   المصدر السابق: wp_head - tags
   ========================================================================== */

.tags .tag.tag-material{background:#12201C;color:#fff}
.tags .tag.tag-issue{background:#E0A32A;color:#12201C}


/* ==========================================================================
   7. أدوات الهيدر (البحث والأيقونات)
   المصدر السابق: hdr-extras
   ========================================================================== */

header.masthead .tools{display:flex;align-items:center;gap:18px}
.cl-hx{display:flex;align-items:center;gap:16px}
.cl-date{font-size:13px;color:#777;line-height:1.5;text-align:left;white-space:nowrap}
.cl-date b{display:block;color:#333;font-weight:600}
.cl-sep{width:1px;height:34px;background:#ddd}
.cl-soc{display:flex;align-items:center;gap:6px}
.cl-soc a{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px dashed #999;color:#444;transition:all .2s}
.cl-soc a:hover{background:#d9a441;border-color:#d9a441;color:#fff}
.cl-soc svg{width:15px;height:15px;fill:currentColor}
.cl-search{display:flex;align-items:center;width:230px;height:38px;border:1px dashed #555;background:#fff;transition:border-color .2s}
.cl-search:focus-within{border-color:#d9a441;border-style:solid}
.cl-search input{flex:1;min-width:0;border:0!important;outline:0;background:transparent;padding:0 12px;font:inherit;font-size:14px;color:#222;height:100%;box-shadow:none!important}
.cl-search button{width:38px;height:100%;border:0;background:transparent;color:#444;cursor:pointer;display:flex;align-items:center;justify-content:center}
.cl-search button:hover{color:#d9a441}
header.masthead.cl-ready #openSearch{display:none}
@media(min-width:1024px){header.masthead .tools{width:calc(30vw - 40px + 230px)!important;justify-content:space-between!important}}
@media(max-width:1023px){.cl-search{width:180px}}
@media(max-width:900px){.cl-date,.cl-sep{display:none}}
@media(max-width:600px){.cl-hx,.cl-search{display:none}header.masthead.cl-ready #openSearch{display:inline-flex}}


/* ==========================================================================
   8. لصقة بطاقة المطبوعات
   المصدر السابق: feb14-promo-tape-fix
   ========================================================================== */

@media (prefers-reduced-motion: no-preference){html body .feature-row > .promo-card.fx-seen > .eyebrow::before{animation:fr-tape .7s ease 1.7s backwards !important;}}


/* ==========================================================================
   9. عنوان الصفحات بشكل الكولاج
   المصدر السابق: feb14_title_collage_css()
   ========================================================================== */

h1.title-collage{display:inline-block;padding:10px 26px;margin:8px 0 14px;transform:rotate(-1.5deg);font-size:clamp(24px,2.6vw,34px)!important;line-height:1.35;max-width:100%}


/* ==========================================================================
   10. زر البريد في الفوتر
   المصدر السابق: cl-ft-email-text
   ========================================================================== */

html body footer .ft-social-icons a.ft-email-text{width:auto !important;height:30px;border:0 !important;padding:0 !important;margin-inline-start:2px !important;font-size:15px;line-height:30px;color:rgba(255,255,255,.85);text-decoration:none;white-space:nowrap}html body footer .ft-social-icons a.ft-email-text::before{content:none !important;display:none !important}html body footer .ft-social-icons a.ft-email-text:hover{color:#fff}


/* ==========================================================================
   11. تسريع الجوال: إظهار السلايد الأول بدون حركة
   المصدر السابق: feb14-speed-mobile
   ========================================================================== */

@media (max-width:781px){.home-hero{animation:none!important;opacity:1!important}#hero-slide-0.is-active .slide-image{animation:none!important}}


/* ==========================================================================
   12. شبكة الفوتر (ffx)
   المصدر السابق: inc/views/footer.php
   ========================================================================== */

/* تذييل النشرة — كل أنماطه هنا */
.ffx-grid{display:grid;grid-template-columns:200px minmax(0,1fr) 230px;gap:44px;align-items:stretch;padding-bottom:32px}
.ffx-mid,.ffx-council{display:flex;flex-direction:column}
.ffx-mid>.ffx-icons,.ffx-council>.ffx-icons{margin-top:auto}

/* الشعار والاسم: كولاج (ورقة ممزقة + شريط لاصق + قصاصة حمراء) */
.ffx-brand{position:relative;display:flex;flex-direction:column;align-items:center;align-self:center;padding-top:8px;rotate:2deg;filter:drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(0 2px 3px rgba(0,0,0,.3))}
.ffx-brand::before{content:"";position:absolute;top:-2px;left:50%;z-index:2;width:80px;height:22px;translate:-50% 0;rotate:-4deg;background:rgba(236,224,190,.82);box-shadow:0 1px 2px rgba(0,0,0,.18);clip-path:polygon(3% 0,97% 5%,100% 48%,96% 100%,4% 95%,0 50%);pointer-events:none}
.ffx-brand>a{display:flex;align-items:center;justify-content:center;background:#fffdf6;padding:8px 16px 18px;text-decoration:none;clip-path:polygon(0 3%,8% 0,22% 2%,38% 0,55% 3%,72% 0,88% 2%,100% 0,98% 30%,100% 62%,97% 100%,80% 97%,62% 100%,45% 97%,28% 100%,10% 97%,0 100%,2% 66%,0 34%)}
.ffx-brand img{width:140px;height:auto;aspect-ratio:1/1;object-fit:contain;display:block}
.ffx-brand-name{position:relative;z-index:1;margin:-10px 0 0;padding:6px 16px 9px;background:var(--red,#ac3028);rotate:-4deg;line-height:1.2;clip-path:polygon(0 6%,4% 0,52% 4%,100% 0,98% 52%,100% 100%,46% 95%,2% 100%,0 50%)}
.ffx-brand-name a{color:#fff;font:700 22px/1.2 "Reem Kufi","IBM Plex Sans Arabic",sans-serif;text-decoration:none;white-space:nowrap}

.ffx-title{margin:0 0 10px;font-size:18px;font-weight:700}
.ffx-about{margin:0 0 18px;font-size:14px;line-height:1.9;text-align:justify}
.ffx-policy{justify-self:start;align-self:start;width:fit-content;margin:0 0 18px;font-size:14px;font-weight:700;color:#f6f0e3;text-decoration:none;border-bottom:1px solid rgba(246,240,227,.4);padding-bottom:2px}
.ffx-policy:hover,.ffx-policy:focus-visible{color:#fff;border-bottom-color:#fff}
.ffx-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px;margin-bottom:18px}
.ffx-nav-title{margin:0 0 8px;font-size:14px;font-weight:700;color:#f6f0e3}
.ffx-nav-title a{color:inherit;text-decoration:none}
.ffx-nav ul{list-style:none;margin:0;padding:0}
.ffx-nav li{margin:0 0 4px;font-size:13px;line-height:1.6}
.ffx-nav li a{color:#a99d86;text-decoration:none}
.ffx-nav a:hover,.ffx-nav a:focus-visible{color:#fff}
@media(max-width:680px){.ffx-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0 18px}}

/* الأيقونات بنمط زر البحث */
.ffx-icons{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:42px}
.ffx-ico{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1.5px dashed #8E8372;border-radius:0;background:transparent;color:var(--paper,#f6f0e3);text-decoration:none}
.ffx-ico:hover,.ffx-ico:focus-visible{background:var(--paper,#f6f0e3);color:var(--ink,#27231e);border-style:solid;border-color:var(--paper,#f6f0e3)}
.ffx-ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.ffx-sep{width:1px;height:26px;background:currentColor;opacity:.3;margin-inline:4px}
.ffx-contact{margin-inline-start:10px;font-size:13.5px;line-height:1.45}
.ffx-contact-title{display:block;font-size:15px}
.ffx-contact .footer-note{margin:0}

/* فاصل بين «من نحن» وشعار المجلس */
.ffx-council{align-items:center;text-align:center;border-inline-start:1.5px dashed rgba(246,240,227,.28);padding-inline-start:44px;margin-inline-start:-22px}
.ffx-council img{width:100px;height:auto;display:block;margin:0 auto 14px}
.ffx-council .ffx-icons{justify-content:center;flex-wrap:nowrap}

@media(max-width:980px){.ffx-grid{grid-template-columns:1fr 1fr}.ffx-mid{grid-column:1/-1;order:3}.ffx-council{border-inline-start:0;padding-inline-start:0;margin-inline-start:0}}
@media(max-width:680px){.ffx-grid{grid-template-columns:1fr;gap:28px;text-align:center}.ffx-mid{order:0}.ffx-icons{justify-content:center}.ffx-contact{flex-basis:100%;margin:8px 0 0}.ffx-council{border-top:1.5px dashed rgba(246,240,227,.28);padding-top:24px}}

/* ===== التذييل المنظّم: النشرة · الأبواب · المجلس في سطر واحد ===== */
.site-footer .ffx-grid{display:block;padding-bottom:8px}
.ffx-top{display:grid;grid-template-columns:auto minmax(200px,max-content) minmax(0,1fr) auto;align-items:center;gap:28px;padding-bottom:32px}
.ffx-top .ffx-brand{align-self:center}
.ffx-top>.ffx-brand{grid-column:1;grid-row:1}
.ffx-top>.ffx-mid{grid-column:2;grid-row:1}
.ffx-top>.ffx-nav{grid-column:3;grid-row:1}
.ffx-top>.ffx-council{grid-column:4;grid-row:1}
/* شعار التذييل بنفس أبعاد شعار الهيدر قبل التصغير: الصورة 102×63، الورقة، الشريط اللاصق، الاسم 17px */
.ffx-top>.ffx-brand{padding-top:4px;gap:6px}
.ffx-top>.ffx-brand::before{width:56px;height:16px;top:-2px}
.ffx-top>.ffx-brand>a{padding:6px 10px 8px}
.ffx-top>.ffx-brand img{width:102px;height:63px;aspect-ratio:auto;object-fit:cover;object-position:center}
.ffx-top>.ffx-brand .ffx-brand-name{margin-top:-6px;padding:3px 11px 5px}
.ffx-top>.ffx-brand .ffx-brand-name a{font-size:17px;line-height:1.3}
.site-footer .ffx-mid{display:block;min-width:0}
.ffx-mid .ffx-title{margin:0 0 8px;font-size:18px}
.ffx-mid .ffx-about{margin:0 0 18px;font-size:14px;line-height:1.9;text-align:start}
.ffx-meta{display:flex;align-items:center;justify-content:flex-start;gap:16px 24px;flex-wrap:wrap}
.ffx-meta .ffx-policy{margin:0;align-self:center}
.ffx-meta .ffx-icons{margin:0;min-height:30px}
.site-footer .ffx-nav{display:grid;grid-template-columns:repeat(5,max-content);justify-content:space-between;gap:20px 12px;align-self:stretch;margin:0;padding:4px 24px;border:0;border-inline:1.5px dashed rgba(246,240,227,.16)}
.ffx-nav-col summary{list-style:none;pointer-events:none}
.ffx-nav-col summary::-webkit-details-marker{display:none}
.ffx-nav .ffx-nav-title{position:relative;display:block;margin:0 0 12px;padding-bottom:9px;font-size:14px;font-weight:700;color:#f6f0e3;white-space:nowrap}
.ffx-nav .ffx-nav-title::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:24px;height:2px;background:#c8372d}
.ffx-nav li{margin:0 0 5px;font-size:13px;line-height:1.7}
.ffx-nav li a{display:inline-block;padding:2px 0;white-space:nowrap;color:#b3a78f;text-decoration:none;transition:color .15s ease}
.ffx-nav li a:hover,.ffx-nav li a:focus-visible{color:#fff}
.site-footer .ffx-council{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin:0;padding:0;border:0}
.site-footer .ffx-council img{width:84px;height:auto;margin:0}
.ffx-council-label{margin:0;font-size:13px;font-weight:700;color:#f6f0e3}
.site-footer .ffx-council>.ffx-icons{display:flex;flex-wrap:nowrap;gap:6px;margin:0;min-height:30px;justify-content:center}
.site-footer .ffx-ico{width:30px;height:30px}
.site-footer .ffx-ico svg{width:14px;height:14px}
/* محاذاة صفّي الأيقونات: النص والشعار في الأعلى، الأيقونات في أسفل السطر */
.ffx-top>.ffx-mid,.ffx-top>.ffx-council{align-self:center}
.site-footer .ffx-icons{gap:6px}
@media(max-width:1180px){
.ffx-top{grid-template-columns:auto minmax(0,1fr) auto}
.ffx-top>.ffx-council{grid-column:3;grid-row:1}
.ffx-top>.ffx-nav{grid-column:1/-1;grid-row:2}
.site-footer .ffx-nav{padding:28px 0 0;border-inline:0;border-top:1.5px dashed rgba(246,240,227,.16)}
}
@media(max-width:980px){.site-footer .ffx-nav{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}.ffx-nav li a{white-space:normal}}
@media(max-width:680px){
.ffx-top{display:flex;flex-direction:column;align-items:stretch;gap:24px;text-align:center}
.ffx-top .ffx-brand{align-self:center}
.ffx-mid .ffx-about{text-align:center}
.ffx-meta{flex-direction:column;justify-content:center}
.ffx-meta .ffx-icons{justify-content:center}
.site-footer .ffx-nav{grid-template-columns:1fr;gap:0;padding:8px 0;text-align:start;border-bottom:1.5px dashed rgba(246,240,227,.16)}
.ffx-nav-col{border-bottom:1px dashed rgba(246,240,227,.12)}
.ffx-nav-col:last-child{border-bottom:0}
.ffx-nav-col summary{pointer-events:auto;cursor:pointer}
.ffx-nav .ffx-nav-title{display:flex;justify-content:space-between;align-items:center;margin:0;padding:14px 0;min-height:48px;box-sizing:border-box}
.ffx-nav .ffx-nav-title::after{content:"+";position:static;width:auto;height:auto;background:none;color:#b3a78f;font-size:20px;font-weight:400}
.ffx-nav-col[open] .ffx-nav-title::after{content:"−"}
.ffx-nav-col ul{padding:0 0 12px}
}


/* ==========================================================================
   13. حسابات المجلس في الفوتر
   المصدر السابق: wp_footer - ft-council
   ========================================================================== */

footer .ft-council{justify-self:end;align-self:start;display:flex;flex-direction:column;align-items:center}footer .ft-council img{display:block;width:120px;height:auto}footer .ft-council .ft-social-icons{justify-content:center}@media(min-width:961px){footer .ft-council{align-self:stretch!important}footer .ft-council img{margin:auto 0}}@media(max-width:720px){footer .ft-council{justify-self:center;margin-top:10px}}


/* ==========================================================================
   14. تسريع: عنصر زخرفي بلا نص في بطاقة الترويج كان يجبر المتصفح على تحميل
       خط Amiri كاملاً (132 كيلوبايت). لا يتغير أي شكل لأنه لا يحتوي نصاً.
   ========================================================================== */

html body .promo-card::after{font-family:inherit!important}
