/* Blog Post Specific Styles */

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Post Header */
.post-header {
    padding: 60px 0 40px;
    background: var(--bg-light);
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #FF8038;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff6b1f;
}

.post-header .post-category {
    display: inline-block;
    background: rgba(255, 128, 56, 0.1);
    color: #FF8038;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.post-title {
    font-size: 42px;
    font-weight: 800;
    color: #0F183D;
    line-height: 1.2;
    margin-bottom: 30px;
}

.post-meta-header {
    margin-bottom: 40px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8038 0%, #ff6b1f 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-name {
    font-weight: 600;
    color: #0F183D;
    font-size: 16px;
    margin-bottom: 4px;
}

.post-date-meta {
    font-size: 14px;
    color: #666;
}

.post-featured-image {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    padding: 80px 0;
    background: white;
}

.post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0F183D;
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0F183D;
    margin-top: 36px;
    margin-bottom: 16px;
}

.post-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
}

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

.post-content li {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.post-content li strong {
    color: #0F183D;
    font-weight: 600;
}

.post-content a {
    color: #FF8038;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 128, 56, 0.3);
    transition: all 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: #FF8038;
}

/* Code Blocks */
.code-block {
    background: #0F183D;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #EFEDE8;
}

/* Post Tags */
.post-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #EFEDE8;
}

.post-tags strong {
    color: #0F183D;
    font-weight: 600;
    margin-right: 12px;
}

.post-tags a {
    display: inline-block;
    background: rgba(255, 128, 56, 0.1);
    color: #FF8038;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    border: none;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #FF8038;
    color: white;
}

/* Post CTA */
.post-cta {
    background: linear-gradient(135deg, rgba(15, 24, 61, 0.05) 0%, rgba(255, 128, 56, 0.05) 100%);
    border-left: 4px solid #FF8038;
    padding: 32px;
    border-radius: 12px;
    margin-top: 48px;
}

.post-cta h3 {
    font-size: 24px;
    color: #0F183D;
    margin-top: 0;
    margin-bottom: 12px;
}

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

.post-cta .btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #FF8038 0%, #ff6b1f 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.post-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 128, 56, 0.4);
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background: var(--bg-light);
}

.related-articles h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0F183D;
    margin-bottom: 40px;
    text-align: center;
}

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

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #EFEDE8;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 128, 56, 0.15);
    border-color: rgba(255, 128, 56, 0.3);
}

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

.related-content {
    padding: 20px;
}

.related-category {
    display: inline-block;
    background: rgba(255, 128, 56, 0.1);
    color: #FF8038;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.related-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0F183D;
    line-height: 1.4;
    margin: 0;
}

.related-card h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card h4 a:hover {
    color: #FF8038;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-title {
        font-size: 32px;
    }

    .post-content h2 {
        font-size: 26px;
    }

    .post-content h3 {
        font-size: 20px;
    }

    .post-content p,
    .post-content li {
        font-size: 16px;
    }

    .code-block {
        padding: 16px;
    }

    .code-block code {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .post-header {
        padding: 40px 0 30px;
    }

    .post-title {
        font-size: 28px;
    }

    .post-content {
        padding: 40px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
