/* Page-specific styles for `blog.html`.
   Shared styles (reset, tokens, nav/footer) are in `common.css`. */

/* Hero */
.blog-hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Blog List */
.blog-list {
    display: grid;
    gap: 3rem;
}

.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.blog-post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-post-content {
    padding: 3rem;
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-category-tag {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.blog-post-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-post-content h2 a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-content h2 a:hover {
    color: var(--accent);
}

.blog-post-excerpt {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.blog-post-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

.blog-post-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

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

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

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

.blog-post-body code {
    background: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blog-post-body pre {
    background: #1a1f3a;
    color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-post-body pre code {
    background: transparent;
    padding: 0;
    color: #fff;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-post-content {
        padding: 2rem;
    }

    .blog-post-content h2 {
        font-size: 1.8rem;
    }

    .blog-post-image {
        height: 250px;
    }
}

