/* Blog Post Specific Styles */

.blog-post-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa, #e8f5e8);
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
}

.breadcrumb a {
    color: #2E7D32;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.post-category {
    display: inline-block;
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.blog-post-header h1 {
    font-size: 3rem;
    color: #2E7D32;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2E7D32;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #2E7D32;
}

.author-title {
    font-size: 0.9rem;
    color: #666;
}

.post-date,
.read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.post-date i,
.read-time i {
    color: #2E7D32;
}

.featured-image {
    padding: 0;
    margin-bottom: 4rem;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post-content {
    padding: 0 0 100px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.post-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.post-excerpt {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #2E7D32;
    border-left: 4px solid #2E7D32;
}

.post-content h2 {
    color: #2E7D32;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.post-content h2:first-of-type {
    margin-top: 0;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.8rem;
}

.post-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #2E7D32;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 15px 15px 0;
}

.post-content blockquote p {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #333;
}

.post-content blockquote cite {
    display: block;
    text-align: right;
    color: #666;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-box {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.post-conclusion {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.post-conclusion a {
    color: #2E7D32;
    font-weight: 600;
}

.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: #2E7D32;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.related-services {
    list-style: none;
    padding: 0;
}

.related-services li {
    margin-bottom: 0.8rem;
}

.related-services a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-services a:before {
    content: '→';
    color: #2E7D32;
    font-weight: bold;
}

.related-services a:hover {
    color: #2E7D32;
}

.social-share {
    display: flex;
    gap: 1rem;
}

.social-share a {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #2E7D32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background: #2E7D32;
    color: white;
    transform: translateY(-3px);
}

.author-contact {
    text-align: center;
}

.author-contact img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2E7D32;
    margin-bottom: 1rem;
}

.author-contact h4 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.author-contact p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.related-posts {
    padding: 80px 0;
    background: #f8f9fa;
}

.related-posts h2 {
    text-align: center;
    color: #2E7D32;
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.related-content a {
    color: #2E7D32;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content a:hover {
    color: #1B5E20;
}

.related-date {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-date:before {
    content: '📅';
    font-size: 0.8rem;
}

/* Responsive Design for Blog Post */
@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 2.2rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-sidebar {
        position: static;
        order: 2;
    }
    
    .post-content {
        padding: 2rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .blog-post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
