/* Blog specific styles */

.blog-hero {
    background: linear-gradient(135deg, #3a0ca3, #4361ee);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    padding: 50px 0;
}

.blog-content .container {
    display: flex;
    gap: 30px;
}

.blog-posts {
    flex: 3;
}

.blog-post {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
    margin-bottom: 15px;
}

.blog-post h2 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.blog-post h2 a:hover {
    color: #4361ee;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.post-meta .date::before {
    content: "📅";
    margin-right: 5px;
}

.post-meta .category::before {
    content: "📂";
    margin-right: 5px;
}

.post-meta .category {
    background: #eef1ff;
    padding: 3px 8px;
    border-radius: 4px;
    color: #4361ee;
}

.blog-post p {
    line-height: 1.7;
    color: #555;
}

.blog-sidebar {
    flex: 1;
}

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: #4361ee;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #4361ee;
}

/* Blog post page styles */
.blog-post-content {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-post-content h1 {
    color: #333;
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    color: #666;
    font-size: 0.9rem;
}

.blog-post-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.blog-post-content h2 {
    color: #4361ee;
    margin: 30px 0 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-content .container {
        flex-direction: column;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .blog-post {
        padding: 20px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
}