@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

/* لكل الموقع */
body, .portalContainer, body * {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

/* نص عادي */
body, p, span {
  font-weight: 400 !important;
}

/* نصوص bold */
strong, b {
  font-weight: 700 !important;
}

/* العناوين */
h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
  font-weight: 600 !important;
}

portal b,
.portalContainer portal b,
body portal b {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
    font-weight: 700 !important;
}


.Header__logotxt {
  display: none;
}

.SubscribeDepart__followContent {
  
      display: none;
}



/* عنوان القسم */
.csh-home-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
  color: #000;
}

/* الحاوية الرئيسية */
.csh-home-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 2fr));
  Gap: 24px;
}

/* كل صندوق تصنيف */
.csh-box-link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}

.csh-box-link:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* صورة التصنيف */
.csh-home-list-image {
  width: 100px;
  min-height: 100px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: none;
}

/* الجزء النصي داخل الصندوق */
.csh-home-list-aside {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* شارة اسم التصنيف */
.csh-category-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 8px;
}

/* وصف التصنيف */
.csh-home-list-label {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}





.faq-section {
  max-width: 1400px;
  margin: 0 auto;
  font-family: "IBM Plex Sans Arabic", serif;
  padding: 2rem 1rem;
  direction: rtl;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #000;
  font-size: 1.8rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.faq {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.faq summary {
  background-color: transparent;
  padding: 1rem;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.3s;
  color: #000;
  font-size: 1rem;
}

.faq summary:hover {
  background-color: #eaeaea;
}

.faq[open] summary {
  background-color: #e0e0e0;
}

.faq div {
  padding: 1rem;
  border-top: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  font-size: 0.95rem;
}

/* ✅ تعديل حجم الخط في الشاشات الصغيرة */
@media (max-width: 768px) {
  .faq-section {
    padding: 1rem;
  }

  .faq-section h2 {
    font-size: 1.5rem;
  }

  .faq summary {
    font-size: 0.9rem;
  }

  .faq div {
    font-size: 0.85rem;
  }
}

.faq-more {
  text-align: center;
  margin-top: 2rem;
}

.faq-button {
  background-color: #3b4ebc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
  display: inline-block;
}

.faq-button:hover {
  background-color: #2e3fa0;
}




/* عنوان القسم */
.csh-featured-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1d1d1d;
}

/* تقليل حجم الخط داخل البوكس */
.csh-home-list .no-image .csh-home-list-label {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* شكل البوكس الموحد */
.csh-home-list .no-image.csh-box {
  padding: 0.1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  height: 100%; /* موحّد الارتفاع */
  transition: box-shadow 0.3s ease;
  background-color: #fff;
  display: block;
  align-content: center;
}

.csh-home-list .no-image.csh-box:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* التنسيق العام للقائمة لتناسق العناصر */
.csh-home-list.csh-home-list-large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}



/* الإعدادات العامة للفوتر */
.custom-footer {
  background-color: #1e0471; /* اللون المطلوب */
  color: #ffffff;
  padding: 40px 5% 20px 5%;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  direction: rtl; /* للتوافق مع المحتوى العربي */
  text-align: right;
}

/* هيدر السوشيال ميديا */
.social-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #00C87A; /* الخلفية الخضراء */
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    /* فلتر ذكي يحول أي أيقونة ملونة للون الكحلي #1E0471 */
    filter: invert(8%) sepia(94%) saturate(4532%) hue-rotate(256deg) brightness(85%) contrast(118%) !important;
}

/* تأثير بسيط عند الهوفر للتفاعل فقط دون تغيير اللون */
.social-icons a:hover {
    background-color: #ffffff;
    transform: scale(1.1); /* تكبير بسيط جداً عند الوقوف بالماوس */
}

.social-icons a:hover img {
    /* عند الهوفر يفضل اللون الكحلي ثابت ليعطي شكل احترافي */
    filter: invert(8%) sepia(94%) saturate(4532%) hue-rotate(256deg) brightness(85%) contrast(118%) !important;
}

/* توزيع الأعمدة */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
  padding-right: 5px;
}

.contact-info p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: white;
    text-decoration: none;
}

/* الخط الفاصل */
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

/* الجزء السفلي */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-right: 15px;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

/* استجابة الشاشات الصغيرة */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .social-header {
    flex-direction: column;
  }
}
body {
  direction: rtl;
}

p, span, li, h1, h2, h3, h4, h5, h6 {
  text-align: right;
}

.faq-section, .csh-home-list, .footer-section, .csh-home-list-label {
  direction: rtl;
  text-align: right;
}

.csh-box-link {
  flex-direction: row-reverse; /* عشان الصورة تبقى على الشمال والنص على اليمين */
}

.commonStyle__fweight600 {
    text-align: right;
}





