@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;
}

.Header__welcomeDescription {
    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;
}



/* CSS */
.custom-footer {
  background-color: #3b4ebc;
  color: #fff;
  padding: 40px 20px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-section h3 {
  margin-bottom: 15px;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}


.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  font-size: 14px;
}

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;
}
