/* Blog Page Styles */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-header .container {
    position: relative;
    z-index: 1;
}

.blog-category-badge .badge {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
}

.blog-category-badge .badge.filter-active {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.25) inset;
}

.input-group .input-group-text {
    background: #f8f9fa;
}

.blog-meta {
    font-size: 0.95rem;
}

.blog-content {
    background: #ffffff;
}

.blog-post-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.blog-intro {
    font-size: 1.15rem;
    line-height: 1.8;
}

.blog-post-content h2 {
    color: #2c3e50;
    margin-top: 2.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.blog-post-content h3 {
    color: #34495e;
    margin-top: 2rem;
}

.blog-post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.blog-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.blog-list li:last-child {
    border-bottom: none;
}

.blog-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.highlight-box {
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cta-box {
    border-radius: 15px;
    text-align: center;
}

.blog-tags .badge {
    padding: 8px 15px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-tags .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.related-posts .card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.related-posts .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.related-posts .card a {
    transition: color 0.3s ease;
}

.related-posts .card a:hover {
    color: #667eea !important;
}

@media (max-width: 768px) {
    .blog-post-content {
        padding: 25px;
    }
    
    .blog-header {
        padding: 100px 0 60px;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
}
