/* Blog Post Specific Styles */
.blog-post-main {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.blog-post-article {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #6c757d;
}

/* Article Header */
.article-header {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.category {
    background: var(--secondary-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 1rem 0;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-image {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.article-image svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.table-of-contents h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 2rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.table-of-contents a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* Article Content */
.article-content {
    padding: 3rem 2rem;
    max-width: none;
}

.article-content section {
    margin-bottom: 3rem;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-blue);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e;
    margin: 2rem 0 1rem 0;
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #34495e;
    margin: 1.5rem 0 1rem 0;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

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

.article-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Special Boxes */
.highlight-box, .checklist-box, .warning-box, .tip-box, .cta-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.highlight-box {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.checklist-box {
    background: #e8f5e8;
    border-left-color: #4caf50;
}

.warning-box {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.tip-box {
    background: #f3e5f5;
    border-left-color: #9c27b0;
}

.cta-box {
    background: var(--brand-gradient);
    color: white;
    border-left-color: var(--secondary-blue);
    text-align: center;
}

.highlight-box h4, .checklist-box h4, .warning-box h4, .tip-box h4, .cta-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-box h4 {
    color: white;
    justify-content: center;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Cost Breakdown */
.cost-breakdown {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cost-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cost-item h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cost-item p {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Article Footer */
.article-footer {
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.25rem;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background: var(--secondary-blue);
    color: white;
}

.article-share h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

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

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.related-articles h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.related-post {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.related-post h4 {
    margin-bottom: 1rem;
}

.related-post h4 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2rem;
}

.related-post h4 a:hover {
    color: var(--secondary-blue);
}

.related-post p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

/* CTA Button */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--secondary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header {
        padding: 1.5rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .table-of-contents {
        padding: 1.5rem;
    }
    
    .table-of-contents ul {
        columns: 1;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.75rem;
    }
    
    .article-content h3 {
        font-size: 1.35rem;
    }
    
    .article-content p, .article-content li {
        font-size: 1rem;
    }
    
    .cost-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-post-main {
        padding: 1rem 0;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-content {
        padding: 1.5rem 1rem;
    }
    
    .table-of-contents, .article-footer {
        padding: 1rem;
    }
    
    .highlight-box, .checklist-box, .warning-box, .tip-box, .cta-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }
}
