.special-boys-articles, .special-girls-articles {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px;
    overflow-x: auto; /* تفعيل التمرير الأفقي */
    overflow-y: hidden; /* منع التمرير العمودي */
    white-space: nowrap;
    max-width: 100%;
}

/* جعل القائمة تمر أفقياً */
.articles-list {
    display: flex;
	list-style: none;
    flex-wrap: nowrap; /* إبقاء جميع المقالات في خط أفقي واحد */
    gap: 10px;
    padding: 0;
    margin: 0;
    min-width: max-content;
}

/* كل عمود يحتوي على مقالين فوق بعض */
.article-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* تصميم المقال */
.articles-list li {
    width: auto; /* ضبط عرض المقال */
    padding: 8px;
    background: #f9f9f9;
    border-radius: 6px;
    transition: background 0.3s ease;
    text-align: center;
}

.articles-list li:hover {
    background: #f1f1f1;
	color: white;
}

.articles-list a {
    display: block;
    padding: 8px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.articles-list a:hover {
    background: #005580;
    transform: scale(1.05);
	color: white;
}

.articles-list img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 5px;
}

/* تحسين شكل الـ Scrollbar */
.special-boys-articles::-webkit-scrollbar,
.special-girls-articles::-webkit-scrollbar {
    height: 8px;
}

.special-boys-articles::-webkit-scrollbar-thumb,
.special-girls-articles::-webkit-scrollbar-thumb {
    background: #0073aa;
    border-radius: 4px;
}

.special-boys-articles::-webkit-scrollbar-track,
.special-girls-articles::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 4px;
}

/* عند تصغير الشاشة، نضع مقالين فوق بعض */
@media (max-width: 768px) {
    .articles-list {
        flex-direction: row;
    }

    .article-column {
        display: flex;
        flex-direction: column;
    }

    .articles-list li {
        width: auto; /* تقليل عرض المقال */
    }
}
