/* Blog Styles */
.blog-section {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 500;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #718096;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
}

.post-title {
    margin-bottom: 15px;
}

.post-title a {
    color: #2d3748;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #667eea;
}

.post-excerpt {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #667eea25;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #764ba2;
}

.read-more-btn .btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover .btn-icon {
    transform: translateX(3px);
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.no-posts h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-posts p {
    color: #4a5568;
    font-size: 1.1rem;
}

/* Individual Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-header .post-meta {
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
}

.post-header .post-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.post-content h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.post-content h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin: 30px 0 15px 0;
}

.post-content h4 {
    font-size: 1.2rem;
    color: #4a5568;
    margin: 25px 0 10px 0;
}

.post-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.post-content blockquote {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.1rem;
}

.post-content blockquote p {
    margin: 0;
    color: #4a5568;
}

.post-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.post-footer .post-tags {
    margin-bottom: 25px;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    border-radius: 25px;
    border: 1px solid #667eea25;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Blog Specific Tables and Code Blocks */
.command-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.command-table th,
.command-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.command-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 500;
}

.command-table tr:hover {
    background-color: #f8f9fa;
}

pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    overflow-x: auto;
    margin: 15px 0;
}

pre code {
    font-family: 'Courier New', monospace;
    color: #2d3748;
}

.format-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}

.format-type {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.format-type h3 {
    margin-bottom: 15px;
    color: #2d3748;
}

.format-specs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #764ba2;
    margin: 20px 0;
}

.format-specs h4 {
    color: #2d3748;
    margin-bottom: 10px;
}

.comparison-table {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 500;
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.recommendation-card {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.recommendation-card h4 {
    color: #2d3748;
    margin-bottom: 10px;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-header h2 {
        font-size: 2rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-header .post-image {
        height: 250px;
    }
    
    .blog-post .post-content {
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-header .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .format-comparison {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .recommendations {
        grid-template-columns: 1fr;
    }
}