﻿

:root {
    --main-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #4a4a4a;
    --main-color1: #2c3e50;
    --accent-color1: #e74c3c;
    --hover-color1: #c0392b;
}


.body1 {
    direction: rtl;
    background: #f8f9fa;
    margin:0;
}

.breadcrumb-nav {
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.breadcrumb-item a {
    color: var(--main-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .breadcrumb-item a:hover {
        color: var(--accent-color);
        transform: translateX(-5px);
    }

.article-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--main-color);
    text-align: center;
    margin: 2rem 0;
    line-height: 1.3;
}

.article-subtitle {
    color: var(--accent-color);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

    .article-subtitle::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 2px;
        background: var(--accent-color);
    }

.publish-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    padding: 0 1rem;
}

.related-articles-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 4rem 0 2rem;
    text-align: right;
}



.section-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

    .section-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-btn {
    background: var(--accent-color1);
    color: white;
    border-radius: 25px;
    padding: 8px 25px;
    transition: all 0.3s ease;
}

    .card-btn:hover {
        background: var(--hover-color1);
        transform: translateX(5px);
    }

@media (max-width: 768px) {
    .section-card {
        margin-bottom: 2rem;
    }
    .article-content{
        font-size:16px;
    }
    .article-hero-img {
        width: 100%;
        height: 100%;
    }
}
