/* Centralized Blog Styles - All blog posts should reference this file */

/* Blog background fix - full width coverage */
.blog-page,
body.blog-page {
    background-color: #fafafa !important;
}

.blog-page .main-content,
body.blog-page .main-content {
    background: #fafafa !important;
    min-height: 100vh;
    margin-bottom: 500px;
    position: relative;
    z-index: 1;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    padding-bottom: 0;
}

/* Blog post content container */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 0;
    background: #fafafa !important;
}

/* Blog post layout */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 0;
}

/* Remove gap before CTA */
.blog-page .cta-section,
body.blog-page .cta-section {
    margin-top: 40px;
}

.blog-post-header {
    margin-bottom: 48px;
}

.blog-header-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 48px;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.blog-back:hover {
    color: #0a0a0a;
}

.blog-category {
    display: inline-block;
    background: var(--accent-main);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.blog-post h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0a0a0a;
}

.blog-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 48px;
}

.blog-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 24px;
}

.blog-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 24px;
    color: #0a0a0a;
}

.blog-post-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: #0a0a0a;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

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

.blog-post-content blockquote {
    border-left: 4px solid var(--accent-main);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #555;
}

.blog-post-content img {
    width: 100%;
    border-radius: 12px;
    margin: 32px 0;
}

.blog-cta {
    background: #f0f0f0;
    padding: 40px;
    border-radius: 16px;
    margin: 48px 0 0;
    text-align: center;
}

.blog-cta h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0a0a0a;
}

.blog-cta p {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.blog-cta .btn {
    display: inline-block;
    background: var(--accent-main);
    color: #000;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.blog-cta .btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .blog-post {
        padding: 120px 16px 0;
    }
    
    .blog-post h1 {
        font-size: 28px;
    }
    
    .blog-post-content {
        font-size: 16px;
    }
    
    .blog-header-image {
        height: 250px;
    }
}
