/* Single Blog Post Styling */

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 6rem 0 2rem;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

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

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb i {
    margin: 0 0.5rem;
    font-size: 0.7rem;
}

/* Article Header */
.article-header {
    padding: 2rem 0 3rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--gray-medium);
}

.article-category {
    background: var(--accent-blue);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-meta span i {
    margin-right: 0.4rem;
}

.article-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--dark-navy);
    margin: 1.5rem 0;
    font-weight: 700;
}

.article-excerpt {
    font-size: 1.3rem;
    color: var(--gray-medium);
    line-height: 1.6;
    margin: 1.5rem 0;
}

/* Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

.article-share span {
    font-weight: 600;
    color: var(--gray-dark);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.share-facebook { background: #1877F2; }
.share-twitter { background: #1DA1F2; }
.share-linkedin { background: #0A66C2; }
.share-email { background: var(--gray-medium); }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* Article Body */
.article-body {
    padding: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--dark-navy);
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.article-body h2 {
    font-size: 2.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.article-body h3 {
    font-size: 1.8rem;
}

.article-body h4 {
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
}

.article-body a {
    color: var(--accent-blue);
    text-decoration: underline;
    transition: var(--transition);
}

.article-body a:hover {
    color: var(--primary-blue);
}

.article-body blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-medium);
    background: var(--gray-light);
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

.article-body code {
    background: var(--gray-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

.article-body pre {
    background: var(--gray-dark);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Embedded Media */
.article-video,
.article-document {
    margin: 3rem 0;
}

.article-video iframe {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--light-blue);
    border: 2px solid var(--accent-blue);
    border-radius: 12px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.document-link:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.document-link i {
    font-size: 2rem;
}

/* Tags */
.article-tags {
    padding: 3rem 0;
    border-top: 2px solid var(--gray-light);
}

.article-tags strong {
    color: var(--gray-dark);
    margin-right: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.3rem;
    background: var(--gray-light);
    color: var(--gray-dark);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Author Bio */
.author-bio {
    display: flex;
    gap: 2rem;
    padding: 3rem 0;
    border-top: 2px solid var(--gray-light);
    border-bottom: 2px solid var(--gray-light);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 5rem;
    color: var(--accent-blue);
}

.author-info h3 {
    color: var(--dark-navy);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.author-info p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    padding: 5rem 0;
    background: var(--gray-light);
}

/* Post CTA */
.post-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    text-align: center;
}

.post-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-cta p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--orange-accent);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-cta:hover {
    background: #e55a28;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-video iframe {
        height: 300px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
}
