   /* محتوى المدونة */
        .blog-page {
            padding-top: 90px;
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .page-title {
            font-size: 2.8rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
            font-weight: 800;
        }
        
        .page-description {
            color: #555;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.2rem;
        }
        
        /* فلتر المدونة */
        .blog-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .filter-btn {
            padding: 0.6rem 1.2rem;
            background: white;
            border: 1px solid #ddd;
            border-radius: 30px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
        }
        
        .filter-btn:hover, .filter-btn.active {
            background: var(--primary-blue);
            color: white;
            border-color: var(--primary-blue);
        }
        
        /* شبكة المنشورات */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .blog-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }
        
        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .card-image {
            height: 220px;
            overflow: hidden;
            position: relative;
        }
        
        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .blog-card:hover .card-image img {
            transform: scale(1.05);
        }
        
        .card-category {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: var(--primary-red);
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        .card-content {
            padding: 1.5rem;
        }
        
        .card-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.8rem;
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        
        .card-title {
            font-size: 1.4rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
            line-height: 1.4;
        }
        
        .card-excerpt {
            color: #555;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        
        .read-more {
            display: inline-flex;
            align-items: center;
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }
        
        .read-more:hover {
            color: var(--primary-red);
        }
        
        .read-more i {
            margin-right: 0.5rem;
            transition: var(--transition);
        }
        
        .read-more:hover i {
            transform: translateX(5px);
        }
        
        /* تفاعلات المنشور */
        .card-actions {
            display: flex;
            justify-content: space-between;
            padding: 1rem 1.5rem;
            border-top: 1px solid #eee;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: #6c757d;
            transition: var(--transition);
            padding: 0.5rem;
            border-radius: 6px;
        }
        
        .action-btn:hover {
            color: var(--primary-blue);
            background: var(--light-blue);
        }
        
        .action-btn.liked {
            color: var(--primary-red);
        }
        
        .share-menu {
            position: relative;
        }
        
        .share-options {
            position: absolute;
            bottom: 100%;
            right: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 0.8rem;
            display: none;
            flex-direction: column;
            gap: 0.5rem;
            width: 150px;
            z-index: 10;
        }
        
        .share-menu:hover .share-options {
            display: flex;
        }
        
        .share-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem;
            border-radius: 6px;
            text-decoration: none;
            color: #333;
            transition: var(--transition);
        }
        
        .share-option:hover {
            background: var(--light-gray);
        }
        
        .share-option i {
            width: 20px;
            text-align: center;
        }
        
        /* التذييل */
        .blog-pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }
        
        .pagination-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: white;
            border: 1px solid #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .pagination-btn:hover, .pagination-btn.active {
            background: var(--primary-blue);
            color: white;
            border-color: var(--primary-blue);
        }
        
        /* نافذة المنشور */
        .post-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            padding: 1rem;
            overflow-y: auto;
        }
        
        .post-content {
            background: white;
            border-radius: var(--border-radius);
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }
        
        .modal-close {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            border: none;
            font-size: 1.2rem;
        }
        
        .post-header {
            position: relative;
        }
        
        .post-image {
            height: 350px;
            overflow: hidden;
        }
        
        .post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .post-details {
            padding: 2rem;
        }
        
        .post-title {
            font-size: 2rem;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }
        
        .post-meta {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            color: #6c757d;
            flex-wrap: wrap;
        }
        
        .post-body {
            line-height: 1.8;
            color: #444;
            margin-bottom: 2rem;
        }
        
        .post-body p {
            margin-bottom: 1.5rem;
        }
        
        .post-actions {
            display: flex;
            gap: 1rem;
            padding: 1.5rem 2rem;
            border-top: 1px solid #eee;
            flex-wrap: wrap;
        }
        
        .post-action-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.2rem;
            background: var(--light-gray);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .post-action-btn:hover {
            background: var(--primary-blue);
            color: white;
        }
        
        .post-action-btn.liked {
            background: rgba(171, 36, 36, 0.1);
            color: var(--primary-red);
        }
        
        /* التعليقات */
        .comments-section {
            padding: 0 2rem 2rem;
        }
        
        .comments-title {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
        }
        
        .comment-form {
            background: var(--light-gray);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin-bottom: 2rem;
        }
        
        .form-group {
            margin-bottom: 1rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 1rem;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary-blue);
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .btn {
            padding: 0.8rem 1.5rem;
            background: var(--primary-blue);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            transition: var(--transition);
        }
        
        .btn:hover {
            background: #0f2447;
        }
        
        .btn-block {
            width: 100%;
        }
        
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .comment {
            background: white;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }
        
        .comment-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .comment-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--gradient-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }
        
        .comment-author {
            font-weight: 600;
            color: var(--primary-blue);
        }
        
        .comment-date {
            font-size: 0.85rem;
            color: #6c757d;
        }
        
        .comment-body {
            color: #444;
            line-height: 1.6;
        }
        
        /* وسائط الاستجابة */
        @media (max-width: 992px) {
            .blog-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            
            .post-image {
                height: 300px;
            }
        }
        
        @media (max-width: 768px) {
            nav {
                padding: 0 1rem;
            }
            
            .nav-menu {
                display: none;
                position: absolute;
                top: 80px;
                right: 0;
                width: 100%;
                background: var(--primary-blue);
                flex-direction: column;
                padding: 1rem;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .page-title {
                font-size: 2.2rem;
            }
            
            .post-title {
                font-size: 1.7rem;
            }
            
            .post-details {
                padding: 1.5rem;
            }
            
            .post-actions {
                padding: 1.5rem;
            }
            
            .comments-section {
                padding: 0 1.5rem 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }
            
            .page-title {
                font-size: 1.8rem;
            }
            
            .card-title {
                font-size: 1.2rem;
            }
            
            .post-image {
                height: 250px;
            }
            
            .post-meta {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .post-actions {
                justify-content: center;
            }
            
            .post-action-btn {
                flex: 1;
                justify-content: center;
                min-width: 120px;
            }
        }
        
        /* تأثيرات للتفاعل */
        .action-btn.liked i {
            animation: pulse 0.5s;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }
        
        /* تخصيص شريط التمرير */
        .post-content::-webkit-scrollbar {
            width: 8px;
        }
        
        .post-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        .post-content::-webkit-scrollbar-thumb {
            background: var(--primary-blue);
            border-radius: 10px;
        }
        
        .post-content::-webkit-scrollbar-thumb:hover {
            background: #0f2447;
        }


        .blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.blog-pagination ul.pagination {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
}

.blog-pagination ul.pagination li {
    border-radius: 6px;
    overflow: hidden;
}

.blog-pagination ul.pagination li a,
.blog-pagination ul.pagination li span {
    display: block;
    padding: 0.5rem 0.9rem;
    background: var(--light-blue);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination ul.pagination li a:hover {
    background: var(--primary-blue);
    color: white;
}

.blog-pagination ul.pagination li.active span {
    background: var(--primary-blue);
    color: white;
}

.blog-pagination ul.pagination li.disabled span {
    background: #ddd;
    color: #888;
}
