/* Blog Styles - Jet-Chat */

body {
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(33, 37, 41, 0.98) !important;
}

/* Post Cards */
.post-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.post-card .card-img-top {
    transition: transform 0.3s ease;
}

.post-card:hover .card-img-top {
    transform: scale(1.05);
}

.post-card .badge {
    font-size: 0.7rem;
}

/* Featured Cards */
.featured-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
}

/* Blog Content */
.blog-content {
    line-height: 2;
    color: #2d3436;
}

.blog-content p {
    margin-bottom: 1.2rem;
}

/* Share Section */
.share-section {
    border-radius: 12px;
}

.share-section .btn {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.share-section .btn:hover {
    transform: scale(1.15);
}

/* Sidebar */
.sidebar .card {
    border-radius: 12px;
}

.sidebar .card-header {
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* Tags */
.badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    font-weight: 500;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    color: #2d3436;
}

.pagination .page-item.active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
}

footer a:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.4s ease;
}

/* RTL Fixes */
.list-group-item a {
    color: #2d3436;
}

.list-group-item a:hover {
    color: #0d6efd;
}

/* Mobile */
@media (max-width: 768px) {
    .share-section .d-flex {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
}