/* Blog Specific Styles */

/* Blog Main Layout */
.blog-main {
    padding: 3rem 0;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #8ACE00;
}

.blog-header h1 {
    color: #000000;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.blog-header p {
    color: #666666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Content */
.blog-content {
    position: relative;
}

/* Blog Posts List */
.blog-posts {
    display: grid;
    gap: 2rem;
}

.blog-post-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #8ACE00;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666666;
}

.post-meta time {
    font-weight: 500;
}

.post-category {
    background-color: #8ACE00;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #8ACE00;
}

.post-excerpt {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #8ACE00;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #7AB800;
}

/* Blog Post Detail */
.blog-post-detail {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-button {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    color: #333333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    display: inline-block;
}

.back-button:hover {
    background-color: #e8e8e8;
    color: #000000;
}

.post-content h1 {
    color: #000000;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.post-body {
    line-height: 1.7;
    color: #333333;
}

.post-body h3 {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.post-body strong {
    font-weight: 700;
    color: #000000;
}

.post-body em {
    font-style: italic;
    color: #555555;
}

.post-body a {
    color: #8ACE00;
    text-decoration: none;
    font-weight: 500;
}

.post-body a:hover {
    color: #7AB800;
    text-decoration: underline;
}

/* Code blocks (if needed) */
.post-body code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #d14;
}

.post-body pre {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.post-body pre code {
    background: none;
    padding: 0;
    color: #333333;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-main {
        padding: 2rem 0;
    }
    
    .blog-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-header p {
        font-size: 1rem;
    }
    
    .blog-post-card {
        padding: 1.5rem;
    }
    
    .post-title a {
        font-size: 1.3rem;
    }
    
    .blog-post-detail {
        padding: 1.5rem;
    }
    
    .post-content h1 {
        font-size: 1.8rem;
    }
    
    .post-body h3 {
        font-size: 1.2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .blog-post-card {
        padding: 1rem;
    }
    
    .post-title a {
        font-size: 1.2rem;
    }
    
    .blog-post-detail {
        padding: 1rem;
    }
    
    .post-content h1 {
        font-size: 1.5rem;
    }
    
    .post-body {
        font-size: 0.95rem;
    }
    
    .post-body ul,
    .post-body ol {
        padding-left: 1.5rem;
    }
}

/* Animation for content switching */
.blog-posts,
.blog-post-detail {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 