﻿body {
    font-family: Tahoma;
    background: #f5f7fb;

}

.blog-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto;direction:rtl
}

/* ===== MAIN CONTENT ===== */
.blog-content {
    flex: 3;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

    .blog-content img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }

.blog-body {
    padding: 20px;
}

.blog-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #003560;
}

.blog-text {
    line-height: 2;
    color: #444;
    font-size: 15px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

.sidebar-header {
    background: #003560;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
}

.latest-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

    .latest-item:hover {
        background: #f3f8ff;
    }

    .latest-item img {
        width: 55px;
        height: 55px;
        border-radius: 8px;
        object-fit: cover;
    }

    .latest-item a {
        text-decoration: none;
        color: #222;
        font-size: 13px;
        line-height: 1.8;
    }

        .latest-item a:hover {
            color: #003560;
        }

/* Quick Access */
.quick-links {
    padding: 10px;
}

    .quick-links a {
        display: block;
        padding: 8px 10px;
        margin-bottom: 5px;
        background: #f6f8fc;
        border-radius: 8px;
        text-decoration: none;
        color: #333;
        font-size: 13px;
        transition: 0.3s;
    }

        .quick-links a:hover {
            background: #003560;
            color: #fff;
        }

/* Responsive */
@media (max-width: 768px) {
    .blog-wrapper {
        flex-direction: column;
    }
}
