/* Blog Page Specific Styles */
.blog-section {
    padding-top: 10rem; /* Adjust for fixed header */
    padding-bottom: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: center;
}

.blog-desc {
    margin: 1rem auto 3rem;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: #181840;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple-glow);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 1.5rem 0.5rem;
    color: var(--neon-cyan);
    font-family: 'Rajdhani', sans-serif;
}

.blog-categories {
    margin: 0 1.5rem 0.75rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-category {
    background: rgba(0, 234, 255, 0.1);
    color: var(--neon-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-excerpt {
    margin: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    flex-grow: 1; /* Pushes button to the bottom */
}

.blog-btn {
    margin: 0 1.5rem 1.5rem;
    align-self: flex-start; /* Align button to the left */
}

.blog-post-container {
    padding-top: 10rem;
    padding-bottom: 5rem;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.blog-post-title {
    font-size: 3rem;
    font-family: 'Rajdhani', sans-serif;
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple-glow);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.blog-post-meta span {
    margin-right: 1rem;
}

.blog-post-image {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.blog-post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content h2 {
    font-size: 2rem;
    font-family: 'Rajdhani', sans-serif;
    color: var(--neon-cyan);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    color: var(--neon-cyan);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content a {
    color: var(--neon-green);
    text-decoration: underline;
    font-weight: bold;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--neon-purple);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.back-to-blog {
    display: inline-block;
    margin-top: 3rem;
    color: var(--neon-green);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: white;
} 