/* Blog Post Specific Styles */

.blog-post-container {
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #78A75A;
}

.breadcrumb-item.active {
    color: #333;
}

/* Post Content */
.blog-post-content {
    padding: 60px 0;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
    background-color: #fbc119;
}

.post-header .post-category {
    display: inline-block;
    background: #78A75A;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    left: 170px;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 25px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-label {
    font-weight: 600;
}

.post-featured-image {
    margin: 40px 0 50px;
    text-align: center;
}

.post-featured-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    width: auto;
}

/* Post Body */
.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-body .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #78A75A;
    border-radius: 5px;
}

.post-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #78A75A;
}

.post-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.post-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 25px 0 10px;
}

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

.post-body ol,
.post-body ul {
    margin-bottom: 25px;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 8px;
}

/* Blockquote */
.blockquote {
    background: #f8f9fa;
    border-left: 5px solid #78A75A;
    margin: 30px 0;
    padding: 25px 30px;
    font-style: italic;
    font-size: 1.15rem;
}

.blockquote-footer {
    font-size: 0.9rem;
    color: #666;
}

/* Info and Warning Boxes */
.info-box,
.warning-box {
    margin: 30px 0;
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 5px solid;
}

.info-box {
    background: #e8f4f8;
    border-color: #17a2b8;
    color: #0c5460;
}

.warning-box {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.info-box h4,
.warning-box h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-box p,
.warning-box p {
    margin-bottom: 0;
}

/* Table Styles */
.cost-table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cost-table th,
.cost-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cost-table th {
    background: #78A75A;
    color: white;
    font-weight: 600;
}

.cost-table tbody tr:hover {
    background: #f8f9fa;
}

/* Tags */
.post-tags {
    margin: 50px 0 40px;
    padding: 25px 0;
    border-top: 1px solid #eee;
}

.post-tags h5 {
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.post-tags .tag {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 8px 15px;
    margin: 0 8px 8px 0;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.post-tags .tag:hover {
    background: #78A75A;
    color: white;
    border-color: #78A75A;
}

/* Share Buttons */
.post-share {
    margin: 40px 0;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-share h5 {
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.email {
    background: #666;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Author Bio */
.author-bio {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 50px 0;
}

.author-bio h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.author-bio h5 {
    color: #78A75A;
    margin-bottom: 10px;
    font-weight: 600;
}

.author-bio p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    margin: 50px 0;
}

.related-posts h4 {
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.related-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.related-post h5 {
    padding: 15px 20px 10px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.related-post h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post h5 a:hover {
    color: #78A75A;
}

.related-post .post-date {
    padding: 0 20px 15px;
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #78A75A 0%, #5a7f42 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid white;
    background: transparent;
    color: white;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background: white;
    color: #78A75A;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body .lead {
        font-size: 1.1rem;
    }
    
    .post-body h2 {
        font-size: 1.5rem;
    }
    
    .post-body h3 {
        font-size: 1.3rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .cost-table {
        font-size: 0.9rem;
    }
    
    .cost-table th,
    .cost-table td {
        padding: 10px 15px;
    }
}
