/* تخصيص الـ Card لتقليل الحجم */
.card {
    border-radius: 8px; /* تدوير الزوايا */
    padding: 12px; /* تقليل الـ padding */
    font-size: 0.9rem; /* تقليل حجم الخط */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* تحسين تأثير الظل */
    border: 1px solid #e0e0e0; /* إضافة border بسيط */
}

/* تخصيص الـ blog-card لتعديل الحجم بشكل دقيق */
.blog-card {
    max-width: 100%;
    margin-bottom: 20px; /* تقليل المسافة بين الـ Cards */
}

/* تخصيص النصوص في الـ Card */
.card-title {
    font-size: 1.2rem; /* تصغير حجم العنوان */
    font-weight: bold;
}

.card-text {
    font-size: 0.9rem; /* تصغير حجم النص */
}

/* تخصيص صورة المقال */
.card img {
    border-radius: 8px;
    height: 200px;
    object-fit: cover;
    max-width: 100%;
}

/* تحسين الزر */
.btn-outline-primary {
    font-size: 0.85rem; /* تصغير حجم الخط */
    padding: 8px 16px;
    border-radius: 5px;
}

/* تحسين التباعد في المقالات */
.blogs-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* الحاويات الداخلية */
.blogs-container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    margin-top: 20px;
}

/* الهيدر بعرض كامل */
.header-section {
    width: 100%; /* يجعل الهيدر بعرض الصفحة بالكامل */
    background-color: #0D6EFD;
    color: #fff;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .header-section h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .header-section p {
        font-size: 1.2rem;
        margin: 0;
    }

/* تنسيق الكروت */
.card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-side-title {
    text-align: center;
}

.card-text {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.text-muted {
    font-size: 0.9rem;
    color: #6c757d;
}

.btn-outline-primary {
    font-size: 0.9rem;
}

/* تنسيق أيقونات التواصل الاجتماعي */
.fab {
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

    .fab:hover {
        transform: scale(1.2);
    }

/* تحسين عرض أيقونات الروابط الاجتماعية */
.card .fab {
    transition: color 0.3s, transform 0.3s;
}

/* تحسين تجربة المستخدم عند تحريك الكروت */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
