
/* Blog Styles */
.blog-hero {
    text-align: center;
    padding: 60px 0 40px;
    background-color: var(--light-color);
    margin-bottom: 40px;
}

.blog-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    margin: 40px 0 60px;
}

.blog-categories {
    padding-right: 20px;
}

.blog-categories h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.blog-categories ul {
    list-style: none;
    padding: 0;
}

.blog-categories ul li {
    margin-bottom: 10px;
}

.blog-categories ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    display: block;
    transition: color 0.2s ease;
}

.blog-categories ul li a:hover,
.blog-categories ul li a.active {
    color: var(--primary-color);
}

.blog-categories ul li a.active {
    font-weight: 600;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.post-category {
    background-color: var(--light-color);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-right: 15px;
}

.post-date {
    color: var(--accent-color);
    font-size: 14px;
}

.blog-post-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.blog-post-card h2 a:hover {
    color: var(--secondary-color);
}

.blog-post-card p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

/* Single Post Page */
.blog-post {
    max-width: 800px;
    margin: 60px auto;
}

.blog-post h1 {
    font-size: 42px;
    line-height: 1.2;
    margin: 20px 0 30px;
}

.feature-image {
    margin: 0 0 30px;
    text-align: center;
}

.blog-feature-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--secondary-color);
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.post-content ul {
    margin: 0 0 25px 20px;
}

.post-content ul li {
    margin-bottom: 10px;
}

.post-cta {
    margin: 40px 0;
    text-align: center;
}

.post-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.back-to-blog {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-to-blog:hover {
    color: var(--primary-color);
}

.no-posts {
    grid-column: 1 / -1;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 8px;
    text-align: center;
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-categories {
        padding-right: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
        margin-bottom: 20px;
    }
    
    .blog-post h1 {
        font-size: 32px;
    }
    
    .blog-hero {
        padding: 40px 0 30px;
    }
}
