﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}


body {
    background: #fff;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

a {
    text-decoration: none; /* لإزالة الخط تحت الرابط */
    color: inherit;
}

.container {
    width: 85%;
    margin: 0 auto
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 5px 0
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* ================= 1. Social ICON ========================== */
.social-icons {
    display: flex;
    gap: 10px;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #ddd;
        font-weight: 700; /* = bold (الافتراضي) */
        color: #333;
        text-decoration: none;
        font-size: 16px;
    }

        .social-icons a.facebook {
            background-color: #3b5998;
            color: #fff;
        }
        /* أزرق الفيسبوك */
        .social-icons a.twitter {
            background-color: #55acee;
            color: #fff;
        }
        /* أزرق تويتر */
        .social-icons a.instagram {
            background-color: #e1306c;
            color: #fff;
        }
        /* وردي انستجرام */

        .social-icons a:hover {
            opacity: 0.8;
        }


/* ================= 1. Header ========================== */
.header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* يسمح بانتظام العناصر على عدة أسطر عند ضيق المساحة */
    padding: 8px 0;
    gap: 10px; /* مسافة مرنة بين العناصر */
}


.header .social-icons img {
    width: 24px;
    margin-left: 8px;
    cursor: pointer
}

.header .info {
    font-size: .9rem
}

    .header .info span, .header .info a {
        margin-left: 12px;
        color: #333;
        text-decoration: none
    }

.header .ads {
    flex: 1; /* يحتل المساحة المتبقية */
    margin: 0; /* إزالة الهوامش الثابتة */
    height: auto; /* يتكيف مع محتواه */
    max-height: 100px; /* لكن لا يزيد عن 100px */
    display: flex;
    align-items: center;
    justify-content: center;
}



    .header .ads img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.header .logo img {
    height: 60px;
    margin: 0; /* إزالة الهوامش الثابتة */
}

.header .row:nth-of-type(2) {
    gap: 20px
}

/* ترتيب أيقونات التواصل والمعلومات */
.header .social-icons,
.header .info {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ================= 2. Navbar ========================= */
nav {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

    nav ul {
        list-style: none;
        display: flex;
        gap: 15px;
        margin: 0;
        padding: 0;
    }

        nav ul li a {
            text-decoration: none;
            color: #333;
            font-weight: 700; /* = bold (الافتراضي) */
            transition: color 0.3s ease;
            font-size: 12px;
        }

            nav ul li a:hover {
                color: #b13446;
            }

    nav .search {
        margin-left: 20px;
        flex: 0 0 auto;
    }

        nav .search input {
            width: 200px;
            padding: 6px;
            font-size: 1rem;
        }

/* =================== Section one =================== */
.section1 {
    margin: 20px 0;
}

    .section1 .main-feature {
        position: relative;
        overflow: hidden;
        height: 500px; /* ارتفاع ثابت للحاوية */
        width: 100%; /* عرض كامل */
    }

        .section1 .main-feature::before {
            content: "";
            position: absolute;
            inset: 0; /* يغطي كامل العنصر */
            background: linear-gradient( to top, rgba(0,0,0,0.8) 0%, /* أسفل الصورة: أسود قوي */
            rgba(0,0,0,0) 60% /* يصل الشفافية عند 60% من الارتفاع */
            );
            pointer-events: none;
            z-index: 1;
        }


        .section1 .main-feature img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* يملأ الحاوية ويقص الزوائد دون تشويه */
            object-position: center; /* يركّز القص في منتصف الصورة */
            display: block;
        }

    /* العنوان في منتصف الصورة */
    .section1 .overlay-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background: rgba(0,0,0,0.5);
        padding: 8px 12px;
        z-index: 2; /* فوق طبقة التدرّج */
        text-align:right;
    }

        .section1 .overlay-title .title a {
            color: #FFF;
            font-weight: 700;
        
            font-size: 16px; /* exact size */
        }

            .section1 .overlay-title .title a:hover {
                color: #b13446;
                transition: color 0.7s ease;
            }
 

    /* حاوية الصور الصغيرة تمتد 100% وتوزع العناصر بالتساوي */
    /* 1. إثبات ارتفاع الحاوية (يمكنك ضبط القيمة حسب حاجتك) */

    .section1 .mini-features {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px; /* اضبط الارتفاع كما تريد */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 3; /* فوق طبقة التدرّج */
        box-sizing: border-box;
        overflow: hidden;
        padding: 0; /* ألغِ الهوامش الداخلية */
        margin: 0; /* ألغِ الهوامش الخارجية */
        gap: 0; /* ألغِ المسافات بين العناصر */
    }





    /* جعل كل عنصر أفقيًا */
    /* 2. ثبّت عرض كل عنصر مصغّر بحيث لا يتوسّع أكثر من اللازم */
    .section1 .mini-item {
        flex: 1; /* equally divide the row */
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 20px;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }




    /* الدائرة */
    .section1 .mini-thumb {
        width: 100px; /* كانت 40px */
        height: 100px; /* كانت 40px */
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        z-index: 4; /* فوق طبقة التدرّج */
    }


        .section1 .mini-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            z-index: 4; /* فوق طبقة التدرّج */
        }

    /* النص بجانب الصورة */
    /* 3. السماح للعناوين بالانكسار إلى سطرين كحد أقصى */
    .section1 .mini-text {
        flex: 1; /* يملأ المساحة المتبقية بجانب الصورة */
        padding: 10px; /* مسافة داخلية لإبعاد النصّ عن الحواف */
        text-align:right;
    }


        .section1 .mini-text a {
            color: #FFF;
            font-weight: 700;
        
            font-size: 14px; /* exact size */
        }

                .section1 .mini-text a:hover {
                    color: #b13446;
                    transition: color 0.7s ease;
                }

/* =================== Section two =================== */
.section2 {
    display: flex;
    gap: 16px;
    margin: 20px 0;
    align-items: stretch; /* التأكد من تمديد الأعمدة */
}

    .section2 .col {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .section2 .col-small {
        width: 25%;
    }

    .section2 .col-large {
        width: 50%;
    }

    /* العمود الأيمن و الأيسر */
    .section2 .item-list .item{
        display: flex;
        gap: 8px;
    }

   
    .section2 .item-small {
        display: flex;
        gap: 8px;
    }
    /* 3. فاصل بين كل عنصر وآخر */
    .section2 .item-list .item {
        display: flex;
        gap: 8px;
        /* احتفظ بالفواصل إن رغبت */
        padding-bottom: 8px;
        border-bottom: 1px solid #ddd;
        margin-bottom: 8px;
    }
        /* إزالة الفاصل عن آخر عنصر */
        .section2 .item-list .item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
    /* 2. جعل .item-list يملأ عمود col-small بالكامل */
.section2 .col-small .item-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1; /* يملأ العمود عموديًا */
    height: 100%; /* يضمن أن ارتفاعه يساوي ارتفاع العمود */
    gap: 8px; /* أو أي قيمة تريدها */
}


    .section2 .item-small img {
        width: 80px;
        height: 60px;
        object-fit: cover;

    }
    .section2 .item-list .item img {
        width:100%;
        height: 90px; /* يملأ كامل ارتفاع العنصر */
        object-fit: cover; /* اقتصاص ذكي ليملأ البلوك */
    }

.section2 .item .image-box {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
}

    .section2 .item .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .section2 .item-list .text 
    .section2 .item-small .text  {
        font-size: 0.9rem;
        margin: 0;
    }

    .section2 .item-list .time {
        font-size: .8rem;
        color: #666;
    }

    .section2 .item-small .time {
        font-size: .8rem;
        color: #666;
        text-align:left;
    }

    /* العمود الأوسط */
.section2 .featured img {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
    object-position: center;
}

    

    

    .section2 .featured .title-box  {
       text-align:right;
       margin-bottom:10px;
       margin-top:10px;
    }

    .section2 .featured .title-box a {
    color: #000;
    font-weight: 700;
    font-size: 16px;

}

        .section2 .featured .title-box a:hover {
            color: #b13446;
            transition: color 0.7s ease;
        }

.section2 .featured .meta .date {
    margin-bottom: 4px;
    font-size: 0.8rem;
    color: #555;
}



    .section2 .featured .meta {
        font-size: 0.8rem;
        color: #ddd;
        margin-top: 6px;
    }
    /* 1) اجعل العمود الأيسر يمتد عموديًا مثل العمود الأوسط */
.section2 .col-small.left {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    gap: 12px;
    /* هذا يضمن أن ارتفاعه يساوي ارتفاع العمود الأوسط بفضل align-items: stretch */
}

/* 2) خبران يملآن العمود بالتساوي */
.section2 .col-small.left .item-small {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* 3) الصورة تملأ العرض بالكامل */
.section2 .col-small.left .item-small img {
  width: 100%;
  height: 167px;    /* يحافظ على النسبة */
  display: block;
  object-fit: cover;
}

/* 4) العنوان والتاريخ تحت الصورة */
.section2 .col-small.left .item-small .text {
  padding: 8px 0 0; /* مسافة فوق النص */

}

    .section2 .col-small.left .item-small .text .news-title  {
      text-align:right;
    }

        .section2 .col-small.left .item-small .text .news-title a {
            text-align: right;
        
            font-weight: 700;
            font-size: 14px; /*big title size */
            color: #000; /*white*/
           
        }

        .section2 .col-small.left .item-small .text .news-title a:hover {
            color: #b13446; /*red*/
            transition: color 0.7s ease;
        }

    .section2 .col-small .item-list .item {
       text-align:right;
    }
    .section2 .col-small .item-list .item .text a {
        color: #000; /* اللون الأساسي */
        font-weight: 700;
    
        font-size: 14px;
    }

        /* عند المرور بالماوس */
        .section2 .col-small .item-list .item .text a:hover {
            color: #b13446;
            transition: color 0.7s ease;
        }


.section2 .col-small.left .item-small .text .time {
  font-size: 0.75rem;
  color: #666;
}


/* =================== Section three =================== */
.section3 {
    margin: 20px 0;
}

    .section3 img {
        width: 100%;
        height: 100px;
        display: block;
    }




/* =================== Section four =================== */
/*✅ 1. إعداد شبكة التخطيط العامة (Layout Grid):*/


/* إعداد شبكة التخطيط العامة (Layout Grid): */
.section4 {
    display: grid;
    direction: rtl; /* لضمان ترتيب الأعمدة من اليمين لليسار */
    grid-template-columns: 2fr 1fr 1fr; /* 50% 25% 25% */
    grid-template-rows: auto auto;
    grid-template-areas:
        "main mid sidebar"
        "bottom-row bottom-row sidebar";
    gap: 16px;
}

.section4_Title {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    margin: 5px 0 20px;
    text-decoration-line: underline;
    text-decoration-style: double;
    text-decoration-color: #d32f2f;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
    padding-bottom: 10px;
}
    /* تعيين المناطق (Areas) للعناصر الأساسية: */
    .section4 .sec4-main {
        grid-area: main;
    }

    .section4 .sec4-mid {
        grid-area: mid;
    }

    .section4 .sec4-sidebar {
        grid-area: sidebar;
    }


    /* /////الايسر الخبر الرئيسي القسم الاول السفلي ///////*/

    .section4 .sec4-bottom-row {
        grid-area: bottom-row;
        display: flex;
        gap: 16px; /* مسافة بين العمودين */
    }

        .section4 .sec4-bottom-row > div {
            flex: 1;
            padding: 0;
            box-sizing: border-box;
        }

.sec4-bottom-row .bottom-left .overlay .titel {
    text-align: right;
}

    .sec4-bottom-row .bottom-left .overlay .titel a {
    
        font-weight: 700;
        font-size: 16px;
        color: #fff
    }

    .sec4-bottom-row .bottom-left .overlay .titel a:hover {
        color: #b13446; /*red*/
        transition: color 0.7s ease;
    }

.sec4-bottom-row .bottom-left .overlay .info .author,
.sec4-bottom-row .bottom-left .overlay .info .date {
    font-size: .8rem;
    color: #fff;
}

/* /////الايسر الاخبار الفرعية القسم الاول السفلي ///////*/


.sec4-bottom-row .bottom-left  .titel {
    text-align: right;
}

    .sec4-bottom-row .bottom-left .titel a {
    
        font-weight: 700;
        font-size: 14px;
        color: #000
    }

        .sec4-bottom-row .bottom-left .titel a:hover {
            color: #b13446; /*red*/
            transition: color 0.7s ease;
        }




/* /////الايمن الخبر الرئيسي القسم الاول السفلي ///////*/



.sec4-bottom-row .bottom-right .overlay .br-title {
    text-align: right;
}

    .sec4-bottom-row .bottom-right .overlay .br-title a {
    
        font-weight: 700;
        font-size: 16px;
        color: #fff
    }

        .sec4-bottom-row .bottom-right .overlay .br-title a:hover {
            color: #b13446; /*red*/
            transition: color 0.7s ease;
        }

.sec4-bottom-row .bottom-right .overlay .br-info .br-author,
.sec4-bottom-row .bottom-right .overlay .br-info .br-date {
    font-size: .8rem;
    color: #fff;
}

/* /////الايمن الاخبار الفرعية القسم الاول السفلي ///////*/


.sec4-bottom-row .bottom-right .titel {
    text-align: right;
}

    .sec4-bottom-row .bottom-right .titel a {
    
        font-weight: 700;
        font-size: 14px;
        color: #000
    }

        .sec4-bottom-row .bottom-right .titel a:hover {
            color: #b13446; /*red*/
            transition: color 0.7s ease;
        }



/* الصور الرئيسية داخل الأقسام: */
.section4 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

    .section4 .sec4-main img {
        height: 400px;
    }

.bottom-left .image-container img,
.bottom-right .image-container img {
    height: 300px;
}

.section4 .sec4-mid img {
    width: 100%;
    height: 300px; /* ارتفاع ثابت */
    object-fit: cover; /* تقص الصورة لتلائم الإطار */
    display: block;
}

/* تصميم طبقة التراكب (Overlay): */
.section4 .image-container {
    position: relative;
    overflow: hidden;
}

    .section4 .image-container .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
        padding: 0 8px 16px;
        box-sizing: border-box;
    }

/* النصوص داخل التراكب – العنوان، المصدر، التاريخ: */

.section4 .meta {
    margin: 4px 0;
   
}

.section4 .title {
    text-align: right;
    margin-top: 20px;
}
    .section4 .title a {
        text-align: right;
    
        font-weight: 700;
        font-size: 16px; /*big title size */
        color: #000; /* اللون الأسود */
    }

        .section4 .title a:hover {
            color: #b13446; /* اللون الأحمر عند تمرير الماوس */
            transition: color 0.7s ease;
        }

.section4 .meta .author, .section4 .meta .time, .section4 .meta .views {
    font-size: .8rem;
    color: #666;
    margin-top: 10px;
}

    .section4 .meta .content {
        text-align: right;
    
        font-size: 14px;
        line-height: 2;
        color: #555;
    }

   


/*////العمود الاوسط ////// /*/

.sec4-mid .titel {
    text-align: right;
}

.sec4-mid .titel a {
   

    font-weight: 700;
    font-size: 14px; /*big title size */
    or font-size: 12px; /*big title size */
    color: #000; /*black*/
    
}

    .sec4-mid .titel a:hover {
        color: #b13446; /*red*/
        transition: color 0.7s ease;
    }

.sec4-mid .time {

    font-size: .8rem;
    color: #666;
}


/*/// العمود الثاني القسن السفلي //////// /*/


.section4 .section4-list {
    padding-top: 8px;
    margin-bottom: 4px;
}

    .section4 .section4-list .titel {
        text-align: right;
       
    }

        .section4 .section4-list .titel a {
        
            font-weight: 700;
            font-size: 12px; /*big title size */
          color:#000; /*black*/
        }

            .section4 .section4-list .titel a:hover {
                color: #b13446; /*red*/
                transition: color 0.7s ease;
            }



/* المسافات بين عناصر الشريط الجانبي */
.sec4-sidebar img {
    display: block;
    margin-bottom: 40px; /* يمكنك التعديل حسب الحاجة */
}
.sec4-sidebar .titel {
    text-align: right;
}

    .sec4-sidebar .titel a {
    
        font-weight: 700;
        font-size: 14px;
    }

    .sec4-sidebar .titel a:hover {
        color: #b13446; /*red*/
        transition: color 0.7s ease;
    }

.sec4-sidebar .time {
    font-size: .8rem;
    color: #666;
}


/* =================== Footer =================== */
.site-footer {
    background-color: #b13446;
    padding: 40px 20px 20px;
    direction: rtl;
    text-align: right;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff; /* أبيض للعناوين */
    margin-bottom: 20px;
    border-bottom: 2px solid #ffffff50; /* خط سفلي شفاف قليلاً */
    padding-bottom: 8px;
}


.footer-logo {
    width: 300px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.9rem;
    color: #dddddd; /* 🔵 نبذة بلون رمادي فاتح واضح */
    line-height: 1.6;
}

/* =================== Social Post =================== */
/* توحيد ارتفاع كل بوست */
.social-post {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 100px;
    max-height: 100px;
    overflow: hidden;
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/* إطار الصورة */
.social-img-frame {
    width: 130px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

    /* الصورة داخل الإطار */
    .social-img-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }


/* عند المرور تكبر الصورة */
.social-post:hover .social-img-frame img {
    transform: scale(1.1);
}
/* =================== Title and Date =================== */
.post-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #eeeeee;
    margin-bottom: 5px;
    line-height: 1.3;
    max-height: 2.6em; /* سطرين */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}




.post-date {
    font-size: 0.75rem;
    color: #cccccc; /* 🔵 تاريخ الخبر بلون رمادي أفتح */
}

/* =================== Hover Effects =================== */
/* عند المرور على الفيسبوك: لون خاص للعنوان */
.facebook .social-post:hover .post-title {
    color: #5ab0bd; /* لون وردي فاتح يتناسق مع الخلفية */
    transition: color 0.3s ease;
    font-weight: 700;
}

/* عند المرور على انستغرام: لون خاص للعنوان */
.instagram .social-post:hover .post-title {
    color: #f56040; /* لون أصفر ذهبي دافئ يتناسب مع الخلفية */
    transition: color 0.3s ease;
    font-weight: 700;
}


/* خط سفلي للفوتر */
.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #dddddd; /* 🔵 نص الحقوق بلون واضح */
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ffffff50; /* 🔵 خط أبيض شفاف */
}

.fb-posts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.fb-post-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===================== Responsive Additions ===================== */

/* 1) أخفِ زرّ الهامبرغر على الشاشات الكبيرة */
.menu-toggle {
    display: none;
}

/* 2) أجهزة التابلت والمتوسطة (≤768px) */
@media (max-width: 768px) {
    /* أظهر زرّ الهامبرغر */
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        margin: 10px;
    }

    .header .row {
        flex-direction: column; /* تحويل الترتيب إلى عمودي */
        align-items: center; /* توسيط العناصر */
    }

    .header .logo img {
        height: 50px; /* تصغير اللوغو قليلاً */
    }

    .header .ads {
        display: none; /* إخفاء الإعلان على الشاشات المتوسطة */
    }

    .header .social-icons {
        gap: 5px; /* تقليل المسافات بين الأيقونات */
    }


    /* اجعل القائمة مخفية أفقيًا وتظهر عمودية عند الفتح */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        gap: 0;
    }

        nav ul.open {
            display: flex;
        }

    /* حقل البحث يمتدّ لعرض كامل */
    nav .search input {
        width: 100%;
    }

    /* ========== Section1 ========== */
    /* Main feature يصبح تلقائي الارتفاع */
    .section1 .main-feature {
        height: auto;
    }
    /* Mini-features تتحول لتغليف متعدّد الأسطر */
    .section1 .mini-features {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px;
        height: auto;
    }

    .section1 .mini-item {
        flex: 1 1 calc(50% - 12px);
    }

    /* ========== Section2 ========== */
    .section2 {
        flex-direction: column;
    }

        .section2 .col,
        .section2 .col-small,
        .section2 .col-large {
            width: 100%;
        }

    /* ========== Section3 ========== */
    .section3 img {
        height: auto;
    }

    /* ========== Section4 (Grid) ========== */
    .section4 {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "mid"
            "sidebar"
            "bottom-row";
    }
}

/* 3) الهواتف الصغيرة (≤576px) */
@media (max-width: 576px) {
    /* مساحات أكبر لعناصر القائمة لتسهيل اللمس */
    nav ul li a {
        padding: 10px;
        font-size: 1rem;
    }
    /* Section1: كل mini-item يصبح بعرض كامل */
    .section1 .mini-item {
        flex: 1 1 100%;
    }

    .header .social-icons {
        gap: 5px; /* تقليل المسافات بين الأيقونات */
    }

    .header .info {
        font-size: 0.8rem; /* تصغير النص */
    }




}
