/* ===================================================
   Base Styles
   =================================================== */
 


/* تقدر تضبط ألوان العناصر الثانية زي الهيدر والفوتر حسب التصميم */

/* ===================================================
   Header / Logo
   =================================================== */
.site-header {
    text-align: center;
    padding: 20px 0;
}
.logo-center {
    display: inline-block;
}
.logo-center img,
.site-logo {
    max-height: 150px;
    max-width: 180px;
    height: auto;
    display: inline-block;
}
/* شريط أسفل الشعار بعرض كامل */
.under-logo {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%); /* لمركزة العنصر بعد توسيعه */
  width: 100vw;               /* ملء عرض الشاشة */
  height: 2px;                /* سمك الخط */
  background-color: #000 !important; /* اللون أسود مع !important للتأكيد */
  margin: 10px 0;             /* مسافات عمودية */
}

/* ===================================================
   Main Menu
   =================================================== */
.main-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    direction: rtl;
}
.main-menu li {
    position: relative;
}
.main-menu li ul {
    display: none;
    position: absolute;
    background: #fff;
    top: 100%;
    right: 0;
    min-width: 180px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.main-menu li:hover ul {
    display: block;
}

/* ===================================================
   Feature Boxes Section (بديل المستطيل الوردي)
   =================================================== */
.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: right; /* هنا التغيير */
}

.welcome-box {
    padding: 20px;
    text-align: right; /* محاذاة النص */
    
}

.welcome-box i {
    font-size: 40px;
    color: #4a4a4a;
    margin-bottom: 15px;
    display: block;
    text-align: right; 
    direction: rtl;
}

.welcome-box h3,
.welcome-box p {
    margin: 0 0 10px;
    direction: rtl;
}

.welcome-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  direction: rtl;
}

/* ===================================================
   Latest Articles
   =================================================== */
.latest-articles {
    margin: 50px 0;
    display: flex;
}
.articles-wrapper {
    /* يجري المحاذاة لليمين */
    width: 80%;
    margin-left: auto;
}

/* Article Box */
.article-box {
    display: flex;
    flex-direction: row-reverse; /* التاريخ على اليمين */
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.article-date {
    text-align: center;
    margin-right: 15px; /* بدل margin-left */
    color: #D5caad;
}
.article-date .day {
    font-size: 24px;
    font-weight: bold;
}
.article-date .month {
    font-size: 12px;
}
.article-content {
    flex: 1;
}
.article-img {
    float: none;
    margin: 0 0 15px 0;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.read-more {
    color: #A42999;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}





