/* Blog Styles */

.page-hero {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.95), rgba(21, 138, 63, 0.95)),
                url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?w=1600') center/cover;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.blog-grid {
    display: grid;
    gap: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 300px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 2rem;
}

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

.blog-meta i {
    margin-right: 0.5rem;
    color: var(--primary-green);
}

.blog-content h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.blog-content h2 a {
    color: var(--text-dark);
    transition: var(--transition);
}

.blog-content h2 a:hover {
    color: var(--primary-green);
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-content .btn i {
    margin-left: 0.5rem;
}

/* Article Page */
.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

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

.article-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    color: var(--primary-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

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

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.article-image {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-image img {
    width: 100%;
}

/* Comments Section */
.comments-section {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 2px solid var(--light-gray);
}

.comments-section h3 {
    margin-bottom: 2rem;
}

.comments-list {
    margin-bottom: 3rem;
}

.comment-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-green);
}

.comment-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Related Articles */
.related-articles {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 2px solid var(--light-gray);
}

.related-articles h3 {
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.related-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card-content {
    padding: 1.5rem;
}

.related-card h4 {
    margin-bottom: 0.75rem;
}

.related-card h4 a {
    color: var(--text-dark);
}

.related-card h4 a:hover {
    color: var(--primary-green);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .blog-content, .article-content, .comments-section, .related-articles {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}
