/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/
/* ✅ إجبار ظهور القوائم الفرعية في الفوتر */

/* === FC News Widget — List (صورة + عنوان في سطر واحد) === */
.fc-home-news{direction:rtl;text-align:right;background:#C5CAE9;border:1px solid rgba(1,30,54,.1);border-radius:14px;padding:14px}
.fc-home-news__head{background:#011E36;color:#fff;border-radius:10px;padding:8px 12px;margin-bottom:10px;font-weight:700}

/* قائمة بدل شبكة */
.fc-home-news .fc-home-news__grid{display:block !important}

/* عنصر الخبر = صف واحد */
.fc-home-news .fc-home-news__grid .fc-card{
  display:flex !important;
  flex-direction:row !important;     /* صورة + نص على نفس السطر */
  align-items:center;
  gap:12px;
  background:transparent !important;
  border:none !important;
  padding:8px 6px;
  min-height:auto !important;
}
.fc-home-news .fc-card + .fc-card{border-top:1px solid rgba(1,30,54,.12);margin-top:6px;padding-top:6px}

/* الصورة الدائرية */
.fc-home-news .fc-thumb{width:48px;height:48px;border-radius:50%;overflow:hidden;flex:0 0 48px;display:block}
.fc-home-news .fc-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.fc-home-news .fc-thumb--ph{background:#9FA8DA;display:block}

/* منطقة النص */
.fc-home-news .fc-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding:0 !important;background:none !important}

/* العنوان: سطر واحد فقط */
.fc-home-news .fc-title{font-size:15px;font-weight:700;color:#011E36;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:1.3;text-decoration:none}
.fc-home-news .fc-title:hover{text-decoration:underline}

/* التاريخ الصغير */
.fc-home-news .fc-meta{display:block !important;font-size:12px;color:rgba(1,30,54,.65);margin:0}

/* إخفاء أي بادجات/عناصر زائدة */
.fc-home-news .fc-actions,
.fc-home-news .fc-card [class*="badge"]{display:none !important}

/* زر "كل الأخبار" */
.fc-home-news__more{text-align:center;margin-top:12px}
.fc-home-news .fc-cta--more{background:#011E36;color:#fff;border-radius:999px;padding:10px 18px;text-decoration:none;display:inline-block}
.fc-home-news .fc-cta--more:hover{background:#FFB400;color:#fff}





/* FC News Widget — صورة يسار + عنوان يمين في نفس السطر */
.fc-home-news{ direction: rtl; text-align: right; }

/* كل عنصر خبر = صف واحد، والصورة على اليسار */
.fc-home-news .fc-home-news__grid{ display: block !important; }
.fc-home-news .fc-home-news__grid .fc-card{
  display: flex !important;
  flex-direction: row-reverse !important; /* في RTL: يضع أول عنصر (الصورة) على اليسار */
  align-items: center;
  gap: 12px;
  background: transparent !important;
  border: none !important;
  padding: 8px 6px;
  min-height: auto !important;
}
.fc-home-news .fc-card + .fc-card{
  border-top: 1px solid rgba(1,30,54,.12);
  margin-top: 6px; padding-top: 6px;
}

/* الصورة المصغّرة (مربعة بحواف ناعمة مثل Recent Posts) */
.fc-home-news .fc-thumb{
  width: 56px; height: 56px;
  flex: 0 0 56px;
  border-radius: 12px;          /* لو تريدها دائرية اجعلها 50% */
  overflow: hidden; display: block;
}
.fc-home-news .fc-thumb img{ width:100%; height:100%; object-fit: cover; display:block; }

/* منطقة النص */
.fc-home-news .fc-card-body{
  flex: 1; min-width: 0;        /* مهم للـ ellipsis */
  display: flex; flex-direction: column; gap: 2px;
  padding: 0 !important; background: none !important;
}

/* العنوان: سطر واحد فقط + قصّ بنقاط */
.fc-home-news .fc-title,
.fc-home-news a.fc-title{
  font-size: 15px; font-weight: 700; color: #011E36;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3; margin: 0; text-decoration: none;
}
.fc-home-news a.fc-title:hover{ text-decoration: underline; }

/* التاريخ الصغير أسفل العنوان */
.fc-home-news .fc-meta{ display:block !important; font-size:12px; color:rgba(1,30,54,.65); margin:0; }

/* إخفاء أي عناصر لا نحتاجها بنمط القائمة */
.fc-home-news .fc-actions,
.fc-home-news .fc-badge{ display: none !important; }





/* === FC News Widget — ضبط الشكل مثل Recent Posts === */
.fc-home-news{direction:rtl;text-align:right;background:#C5CAE9;border:1px solid rgba(1,30,54,.1);border-radius:14px;padding:12px}

/* عنوان الكتلة */
.fc-home-news__head{
  background:#011E36;color:#fff;border-radius:10px;
  padding:8px 10px;margin-bottom:10px;font-weight:700;font-size:14px
}

/* قائمة بدل شبكة */
.fc-home-news .fc-home-news__grid{display:block !important}

/* عنصر الخبر = سطر واحد */
.fc-home-news .fc-home-news__grid .fc-card{
  display:flex !important;
  flex-direction:row-reverse !important;   /* في RTL يضع الصورة على اليسار */
  align-items:center; gap:10px;
  background:transparent !important; border:none !important;
  padding:7px 0; min-height:auto !important;
}
.fc-home-news .fc-card + .fc-card{
  border-top:1px solid rgba(1,30,54,.12);
  margin-top:8px; padding-top:8px;
}

/* الصورة يسار — مقاس وهوية مثل Recent Posts */
.fc-home-news .fc-thumb{
  width:56px; height:56px;               /* غيّرها إلى 44px لو تريد أصغر */
  flex:0 0 56px;
  border-radius:12px;                     /* اجعلها 50% لو تفضّل دائرة */
  overflow:hidden; display:block;
}
.fc-home-news .fc-thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* منطقة النص */
.fc-home-news .fc-card-body{
  flex:1; min-width:0;
  display:flex; flex-direction:column; gap:2px;
  padding:0 !important; background:none !important
}

/* العنوان — أصغر وسطر واحد فقط */
.fc-home-news .fc-title,
.fc-home-news a.fc-title{
  font-size:14px;                       /* أصغر ليتناسق مع Recent Posts */
  font-weight:700; color:#011E36;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  line-height:1.3; margin:0; text-decoration:none
}
.fc-home-news a.fc-title:hover{ text-decoration:underline }

/* التاريخ الصغير تحت العنوان */
.fc-home-news .fc-meta{
  display:block !important;
  font-size:12px; color:rgba(1,30,54,.65);
  margin:0
}

/* إخفاء أي عناصر زائدة في نمط القائمة */
.fc-home-news .fc-actions,
.fc-home-news .fc-badge,
.fc-home-news [class*="badge"]{ display:none !important }

/* زر "كل الأخبار" */
.fc-home-news__more{ text-align:center; margin-top:10px }
.fc-home-news .fc-cta--more{
  background:#011E36;color:#fff;border-radius:8px;
  padding:8px 14px; font-size:13px; text-decoration:none; display:inline-block
}
.fc-home-news .fc-cta--more:hover{ background:#FFB400; color:#fff }





/* 1) إزالة إطار الودجت الخارجي وترك الإطار الداخلي فقط */
.widget:has(.fc-home-news),
.widget_block:has(.fc-home-news),
aside.widget:has(.fc-home-news){
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  /* اترك مسافة بسيطة بين الودجات */
  margin: 0 0 14px !important;
}

/* 2) إظهار إطار الودجت الداخلي فقط (اللوحة التي تحتوي على الأخبار وزر "كل الأخبار") */
.fc-home-news{
  background:#C5CAE9;               /* لون الحاوية */
  border:1px solid rgba(1,30,54,.10);
  border-radius:14px;
  padding:12px;
  direction:rtl; text-align:right;
}
.fc-home-news__head{
  background:#011E36; color:#fff; border-radius:10px;
  padding:8px 10px; margin-bottom:10px; font-weight:700; font-size:14px;
}

/* 3) نمط القائمة: صورة يسار + عنوان يمين (سطر واحد) */
.fc-home-news .fc-home-news__grid{ display:block !important; }
.fc-home-news .fc-card{
  display:flex !important; flex-direction:row-reverse !important;  /* في RTL يجعل الصورة على اليسار */
  align-items:center; gap:10px;
  background:transparent !important; border:none !important;
  padding:6px 0;                 /* ↓ تقليل المسافة العمودية بين الأخبار */
  min-height:auto !important;
}
.fc-home-news .fc-card + .fc-card{
  border-top:1px solid rgba(1,30,54,.12);
  margin-top:4px;                /* ↓ تقليل المسافة */
  padding-top:4px;
}

/* الصورة المصغّرة (أصغر لزيادة التكثيف) */
.fc-home-news .fc-thumb{
  width:44px; height:44px;       /* ↓ كانت 56px */
  flex:0 0 44px;
  border-radius:12px; overflow:hidden; display:block;
}
.fc-home-news .fc-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* العنوان: سطر واحد فقط + قص (…) */
.fc-home-news .fc-card-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; padding:0 !important; background:none !important; }
.fc-home-news .fc-title,
.fc-home-news a.fc-title{
  font-size:14px; font-weight:700; color:#011E36;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  line-height:1.3; margin:0; text-decoration:none;
}
.fc-home-news a.fc-title:hover{ text-decoration:underline; }

/* 4) حذف تاريخ كل خبر نهائيًا */
.fc-home-news .fc-meta{ display:none !important; }

/* زر "كل الأخبار" */
.fc-home-news__more{ text-align:center; margin-top:10px; }
.fc-home-news .fc-cta--more{
  background:#011E36; color:#fff; border-radius:8px;
  padding:8px 14px; font-size:13px; text-decoration:none; display:inline-block;
}
.fc-home-news .fc-cta--more:hover{ background:#FFB400; color:#fff; }




/* 1) إخفاء عنوان الودجت الخارجي لهذا الودجت فقط */
.widget:has(.fc-home-news) .widget-title,
.widget_block:has(.fc-home-news) .widget-title,
aside.widget:has(.fc-home-news) .widget-title,
.widget:has(.fc-home-news) h2,
.widget:has(.fc-home-news) h3{
  display: none !important;
}

/* 2) إظهار العنوان الداخلي وتوسيطه على الشريط الأزرق */
.fc-home-news__head{
  display: block !important;            /* يلغي أي display:none سابق */
  background: #011E36;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;                   /* التوسيط */
}

/* 3) نمط القائمة وتكبير الصورة قليلاً + تقليل المسافات */
.fc-home-news .fc-home-news__grid{ display: block !important; }

.fc-home-news .fc-card{
  display: flex !important;
  flex-direction: row-reverse !important;   /* RTL → الصورة على اليسار */
  align-items: center;
  gap: 12px;
  background: transparent !important;
  border: none !important;
  padding: 6px 0;                            /* مسافة رأسية أقل */
  min-height: auto !important;
}
.fc-home-news .fc-card + .fc-card{
  border-top: 1px solid rgba(1,30,54,.10);
  margin-top: 6px;
  padding-top: 6px;
}

/* الصورة الرمزية — مكبّرة */
.fc-home-news .fc-thumb{
  width: 56px; height: 56px;                /* كانت أصغر، الآن أكبر */
  flex: 0 0 56px;
  border-radius: 12px;                       /* اجعلها 50% لو تريد دائرة كاملة */
  overflow: hidden; display: block;
}
.fc-home-news .fc-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* منطقة النص */
.fc-home-news .fc-card-body{
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 0;
  padding: 0 !important; background: none !important;
}

/* العنوان: سطر واحد فقط مع قصّ (…) */
.fc-home-news .fc-title,
.fc-home-news a.fc-title{
  font-size: 14px; font-weight: 700; color: #011E36;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3; margin: 0; text-decoration: none;
}
.fc-home-news a.fc-title:hover{ text-decoration: underline; }

/* إخفاء التاريخ نهائياً (لخفض الارتفاع) */
.fc-home-news .fc-meta{ display: none !important; }




/* توسيط "آخر الأخبار" داخل الشريط الأزرق */
.fc-home-news .fc-home-news__head{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 10px 14px !important;
  margin-bottom: 8px !important;
}

/* تقليل المسافة الرأسية بين كل خبر والذي يليه */
.fc-home-news .fc-card{
  padding: 4px 0 !important;      /* كانت 6px */
  gap: 8px !important;            /* تقليل المسافة بين الصورة والعنوان قليلاً */
}
.fc-home-news .fc-card + .fc-card{
  margin-top: 2px !important;     /* كانت 6/4px */
  padding-top: 2px !important;
  border-top: 1px solid rgba(1,30,54,.08) !important; /* خط فاصل أخف */
}

/* تأكيد إخفاء التاريخ (لخفض الارتفاع) */
.fc-home-news .fc-meta{ display:none !important; }




/* إلغاء أي فواصل/حدود بين الأخبار */
.fc-home-news .fc-card + .fc-card{
  border-top: none !important;
}

/* احتياط: لو القالب يضيف حدود لعناصر القائمة/السطر */
.fc-home-news .fc-card,
.fc-home-news .fc-home-news__grid > *{
  border: 0 !important;
  box-shadow: none !important;
}
.fc-home-news .fc-card::before,
.fc-home-news .fc-card::after{
  content: none !important;
}

/* نحافظ على مسافة رأسية صغيرة بدون خطوط */
.fc-home-news .fc-card{
  padding: 4px 0 !important;   /* قلّلها إلى 2px لو عايزها أضيق */
  gap: 8px !important;
}




/* إخفاء إطار الودجت الأب والاكتفاء بالصندوق الداخلي */
.widget:has(.fc-home-disc),
.widget_block:has(.fc-home-disc),
aside.widget:has(.fc-home-disc){
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
}

/* الصندوق الداخلي */
.fc-home-disc{
  background:#C5CAE9;
  border:1px solid rgba(1,30,54,.10);
  border-radius:14px;
  padding:10px 12px;
  direction:rtl; text-align:right;
}

/* العنوان داخل الصندوق — متوسّط على شريط أزرق */
.fc-home-disc__head{
  display:flex; align-items:center; justify-content:center;
  background:#011E36; color:#fff; border-radius:10px;
  padding:10px 14px; margin-bottom:8px;
  font-weight:700; font-size:14px; text-align:center;
}

/* قائمة العناصر — كل عنصر = سطر واحد، الصورة (أفاتار) على اليسار في RTL */
.fc-home-disc__list{ display:block !important; }
.fc-home-disc .fc-card{
  display:flex !important;
  flex-direction:row-reverse !important; /* RTL → الصورة يسار */
  align-items:center; gap:10px;
  background:transparent !important; border:none !important;
  padding:4px 0; min-height:auto !important;
}
.fc-home-disc .fc-card + .fc-card{
  border-top:none !important; margin-top:2px !important; padding-top:2px !important;
}

/* الأفاتار — حجم مناسب للويدجت */
.fc-home-disc .fc-thumb{
  width:52px; height:52px;           /* يمكنك تغييره إلى 56px أو 48px حسب رغبتك */
  flex:0 0 52px;
  border-radius:50%;                  /* أفاتار دائري */
  overflow:hidden; display:block;
}
.fc-home-disc .fc-thumb img{ width:100%; height:100%; object-fit:cover; display:block }
.fc-home-disc .fc-thumb--ph{ background:#9FA8DA; display:block }

/* النص: العنوان سطر واحد فقط مع قص (…) */
.fc-home-disc .fc-card-body{
  flex:1; min-width:0;
  display:flex; flex-direction:column; gap:0;
  padding:0 !important; background:none !important;
}
.fc-home-disc .fc-title{
  display:block; max-width:100%;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-size:14px; font-weight:700; color:#011E36; line-height:1.3; margin:0; text-decoration:none;
}
.fc-home-disc .fc-title:hover{ text-decoration:underline }

/* زر "كل النقاشات" أسفل الصندوق */
.fc-home-disc__more{ text-align:center; margin-top:8px; }
.fc-home-disc .fc-cta--more{
  background:#011E36; color:#fff; border-radius:999px;
  padding:9px 0; width:100%; font-size:13px; font-weight:700; text-decoration:none; display:inline-block;
}
.fc-home-disc .fc-cta--more:hover{ background:#FFB400; color:#fff }






/* إخفاء عنوان الويدجت الخارجي وترك الصندوق الداخلي فقط */
.widget:has(.fc-home-disc) .widget-title{ display:none !important; }
.widget:has(.fc-home-disc),
.widget_block:has(.fc-home-disc),
aside.widget:has(.fc-home-disc){
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 0 12px !important;
}

/* الصندوق الداخلي */
.fc-home-disc{
  background:#C5CAE9;
  border:1px solid rgba(1,30,54,.10);
  border-radius:14px;
  padding:10px 12px;
  direction:rtl; text-align:right;
}

/* العنوان داخل الصندوق — نفس شريط الأخبار تمامًا ومُوسّط */
.fc-home-disc__head{
  display:flex; align-items:center; justify-content:center;
  background:#011E36; color:#fff; border-radius:10px;
  padding:10px 14px; margin-bottom:8px;
  font-weight:700; font-size:14px; text-align:center;
}

/* القائمة: كل نقاش = سطر واحد (أفاتار يسار + عنوان يمين) */
.fc-home-disc__list{ display:block !important; }
.fc-home-disc .fc-card{
  display:flex !important;
  flex-direction:row-reverse !important; /* RTL → يضع الصورة على اليسار */
  align-items:center; gap:10px;
  background:transparent !important; border:none !important;
  padding:4px 0; min-height:auto !important;
}
.fc-home-disc .fc-card + .fc-card{
  border-top:none !important;
  margin-top:2px !important; padding-top:2px !important;
}

/* الأفاتار (كبره/صغّره بتغيير القيم) */
.fc-home-disc .fc-thumb{
  width:56px; height:56px;          /* غيّر إلى 52/48 حسب رغبتك */
  flex:0 0 56px;
  border-radius:50%;
  overflow:hidden; display:block;
}
.fc-home-disc .fc-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* العنوان: سطر واحد فقط + قص (…) */
.fc-home-disc .fc-card-body{
  flex:1; min-width:0;
  display:flex; flex-direction:column; gap:0;
  padding:0 !important; background:none !important;
}
.fc-home-disc .fc-title{
  display:block; max-width:100%;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  font-size:14px; font-weight:700; color:#011E36;
  line-height:1.3; margin:0; text-decoration:none;
}
.fc-home-disc .fc-title:hover{ text-decoration:underline; }

/* زر "كل النقاشات" أسفل الصندوق */
.fc-home-disc__more{ text-align:center; margin-top:8px; }
.fc-home-disc .fc-cta--more{
  background:#011E36; color:#fff; border-radius:999px;
  padding:9px 0; width:100%;
  font-size:13px; font-weight:700; text-decoration:none; display:inline-block;
}
.fc-home-disc .fc-cta--more:hover{ background:#FFB400; color:#fff; }



/* زر "كل النقاشات" بحجم المحتوى فقط */
.fc-home-disc__more{ text-align:center; }
.fc-home-disc .fc-cta--more{
  display:inline-block !important;
  width:auto !important;            /* بدلاً من 100% */
  padding:8px 16px !important;      /* تصغير الحشو */
  border-radius:999px !important;
  font-size:13px !important;
}





/* ===== FC Share (عام للموقع كله) ===== */
.fc-share{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:8px; }
.fc-share.inline{ align-items:center; }
.fc-share .fc-sh{
  background:#011E36; color:#fff; text-decoration:none;
  padding:6px 10px; border-radius:999px; font-weight:700; font-size:14px;
  display:inline-block; line-height:1;
}
.fc-share .fc-sh:hover{ background:#0b2c50; }
.fc-share .fc-sh.is-copied{ background:#2e7d32; } /* نجاح النسخ */
.fc-share .fc-sh--x{ letter-spacing:.2px; }

/* ضبط داخل الكروت صغيرة المساحة */
.fc-card .fc-share{ margin-top:6px; }
.fc-card .fc-sh{ font-size:13px; padding:5px 9px; }


