
.title {
    
    color: #134779;
    
    font-family: 'Lateef', sans-serif !important;

    /* أضف أي خصائص تنسيق إضافية للعنوان هنا */
}

.articles-container {
    display: flex;
    flex-wrap: wrap;
}

.article {
    position: relative; /* Add position relative */
    width: 220px; /* Set width of the article */
    height: 250px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow */
    overflow: hidden; /* Hide overflowing icon */
    margin-bottom: 20px;
    margin-right: 5px;

}

.article img {
    width: 300px; /* Make the image fill the container */
    height: 150px; /* Maintain aspect ratio */
    border-radius: 5px; /* Add border radius */
    transition: transform 0.3s ease; /* Add transition effect */
}

.article:hover img {
    transform: scale(1.1); /* Enlarge the image on hover */
}

.icon-link {
    position: absolute; /* Position the icon link */
    top: 40%; /* Align to the center vertically */
    left: 50%; /* Align to the center horizontally */
    transform: translate(-50%, -50%); /* Center the icon link */
    background-color: rgba(255, 255, 255, 0.5); /* Set background color */
    border-radius: 50%; /* Make the icon link circular */
    padding: 20px; /* Add padding */
    opacity: 0; /* Initially hide the icon link */
    transition: opacity 0.3s ease; /* Add transition effect */
}

.article:hover .icon-link {
    opacity: 1; /* Show the icon link on hover */
}

.icon-link i {
    color: #001b92; /* Set icon color */
    font-size: 24px; /* Set icon size */
}

.article h2 {
    font-size: 18px; /* Set heading font size */
    margin-top: 10px; /* Add margin */
    color: #333; /* Set heading color */
}

@media screen and (max-width: 768px) {
    .article {
        width: calc(100% - 10px); /* Set the width to 50% of the container minus some spacing */
        margin-left: auto; /* Align to the right */
        margin-right: 0; /* Reset margin-right */
    }
}
.article-detail {
    max-width: 800px; /* عرض أقصى للعنصر */
    margin: 0 auto; /* توسيط العنصر في الصفحة */
    padding: 20px; /* إضافة هامش داخلي */
}

.article-detail h1 {
    font-size:2.25rem; /* حجم الخط للعنوان */
    margin-bottom: 10px; /* هامش أسفل العنوان */
    font-weight: 800;
    
}

.article-detail img {
    max-width: 100%; /* عرض أقصى للصورة */
    height: auto; /* الحفاظ على نسبة العرض إلى الارتفاع */
    margin-bottom: 10px; /* هامش أسفل الصورة */
}

.article-detail p {
    font-size: 16px; /* حجم الخط للنص */
    line-height: 1.6; /* ارتفاع السطر */
}

.author-info {
    margin: 0 0 24px;
    padding: 0 14px 0 0;
    background: transparent;
    border: 0;
    border-right: 2px solid #b58a3a;
    border-radius: 0;
    box-shadow: none;
}

.publish-date {
    font-size: 1.5vw; /* Responsive font size */
    color: #666;
    font-family: 'Lateef', cursive;
    font-weight: bold; /* Change to 'bold' for better readability */
}

.author-info::before {
    content: none;
}
.author-details {
    width: 100%;
}

.author-description {
    margin: 3px 0 0;
    color: #707070;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.author-name {
    display: inline;
    margin: 0;
    color: #27318b;
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.author-label {
    margin-left: 5px;
    color: #8a6a31;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .author-info {
        margin-bottom: 20px;
        padding-right: 12px;
    }

    .author-details {
        width: 100%;
    }

    .author-name {
        font-size: 16px;
    }

    .author-description {
        font-size: 13px;
    }
}
