/* Blog Styling */
.blog-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(211,47,47,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="800" fill="%231a1a1a"/><rect width="1200" height="800" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    margin-top: 70px;
}

.blog-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
}

.post-image, .post-video {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
}

.blog-post.featured .post-video {
    height: 100%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.blog-post.featured .post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-date {
    color: #999;
    font-size: 0.9rem;
}

.post-content h2, .post-content h3 {
    margin-bottom: 1rem;
}

.post-content h2 a, .post-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.post-content h2 a:hover, .post-content h3 a:hover {
    color: var(--primary-color);
}

.post-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Blog Post Page */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.blog-post-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-post-content .post-meta {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.blog-post-content .featured-video {
    width: 100%;
    max-width: 100%;
    height: 450px;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.blog-post-content .featured-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content .content-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

.blog-post-content .content-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-post-content .content-body p {
    margin-bottom: 1.5rem;
}

.blog-post-content .content-body ul, 
.blog-post-content .content-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.blog-post-content .content-body li {
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post.featured {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-image, .post-video {
        height: 200px;
    }
    
    .blog-post-content .featured-video {
        height: 300px;
    }
}
