/* Blog Post Specific Styles */

.blog-post-container {
    max-width: 100%;
}

.post-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 100px 0 60px;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 800px;
}

.post-meta-detailed {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.post-meta-detailed .category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.post-hero-image {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.table-of-contents h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.table-of-contents li {
    margin: 0;
}

.table-of-contents a {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.table-of-contents a:hover {
    color: #2c5aa0;
    border-left-color: #2c5aa0;
    background: rgba(44, 90, 160, 0.05);
}

/* Post Content */
.post-content {
    padding: 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    line-height: 1.7;
}

.main-content h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e3f2fd;
}

.main-content h3 {
    color: #1e3a5f;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.main-content p {
    margin-bottom: 1.5rem;
    color: #444;
}

.main-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.main-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

.main-content strong {
    color: #2c5aa0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.fact-list {
    list-style: none;
    padding: 0;
}

.fact-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.fact-list li:last-child {
    border-bottom: none;
}

.related-posts {
    list-style: none;
    padding: 0;
}

.related-posts li {
    margin-bottom: 0.75rem;
}

.related-posts a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.related-posts a:hover {
    text-decoration: underline;
}

.cta-widget {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #e55a2b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta-detailed {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        position: static;
        order: -1;
    }
    
    .table-of-contents ul {
        grid-template-columns: 1fr;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
    }
}