/* ===================================
   BLOG DETAIL PAGE STYLES
   =================================== */

/* Breadcrumb */
.blog-breadcrumb {
    padding: 32px 0;
    background: #FAFAFA;
    border-bottom: 1px solid #E8E8E8;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.938rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.breadcrumb-item a:hover {
    color: #FF7A00;
}

.breadcrumb-item.active {
    color: #0A1F44;
    font-weight: 600;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 12px;
    color: #A3A3A3;
}

/* Article Header */
.article-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #FAFBFC 0%, #FFFFFF 100%);
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: linear-gradient(135deg, #FF7A00 0%, #FFA64D 100%);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0A1F44;
    line-height: 1.2;
    margin-bottom: 24px;
}

.article-summary {
    font-size: 1.25rem;
    color: #525252;
    line-height: 1.7;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

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

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF7A00 0%, #FFA64D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A1F44;
}

.author-title {
    font-size: 0.875rem;
    color: #A3A3A3;
}

.article-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.article-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    color: #525252;
}

.article-stats i {
    color: #FF7A00;
    font-size: 1.125rem;
}

/* Article Image */
.article-image-section {
    padding: 0 0 60px 0;
    background: #FFFFFF;
}

.article-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10, 31, 68, 0.12);
}

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

/* Article Content Layout */
.article-content-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar */
.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: #FAFAFA;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0A1F44;
    margin-bottom: 16px;
}

.table-of-contents {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-info {
    font-size: 0.875rem;
    color: #525252;
    line-height: 1.6;
    display: flex;
    gap: 8px;
}

.toc-info i {
    color: #FF7A00;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.social-share {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-share-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-share-btn.linkedin {
    background: #0A66C2;
}

.social-share-btn.twitter {
    background: #1DA1F2;
}

.social-share-btn.facebook {
    background: #1877F2;
}

.social-share-btn.email {
    background: #525252;
}

/* Article Main Content */
.article-main {
    max-width: 800px;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #404040;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0A1F44;
    margin: 48px 0 24px 0;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A1F44;
    margin: 36px 0 20px 0;
    line-height: 1.4;
}

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

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

.article-content li {
    margin-bottom: 12px;
}

.article-content strong {
    color: #0A1F44;
    font-weight: 700;
}

.article-content blockquote {
    margin: 40px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, #FFF9F5 0%, #FFFFFF 100%);
    border-left: 4px solid #FF7A00;
    border-radius: 12px;
    font-size: 1.125rem;
    font-style: italic;
    color: #525252;
}

.article-content a {
    color: #FF7A00;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #E66D00;
}

/* Article Tags */
.article-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #F4F4F4;
}

.tags-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A1F44;
    margin-bottom: 16px;
}

.tags-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.article-tag {
    padding: 8px 18px;
    background: linear-gradient(135deg, #FAFBFC 0%, #F4F4F4 100%);
    color: #0A1F44;
    border-radius: 20px;
    font-size: 0.938rem;
    font-weight: 600;
    border: 2px solid #E8E8E8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-tag:hover {
    background: linear-gradient(135deg, #FF7A00 0%, #FFA64D 100%);
    color: #FFFFFF;
    border-color: #FF7A00;
}

/* Author Bio */
.article-author-bio {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, #FAFBFC 0%, #FFFFFF 100%);
    border-radius: 20px;
    border: 2px solid #E8E8E8;
    display: flex;
    gap: 24px;
    align-items: center;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF7A00 0%, #FFA64D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 3rem;
    flex-shrink: 0;
}

.author-bio-content {
    flex: 1;
}

.author-bio-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A1F44;
    margin-bottom: 8px;
}

.author-bio-desc {
    font-size: 1rem;
    color: #525252;
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: #FAFAFA;
}

.related-posts-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0A1F44;
    margin-bottom: 48px;
    text-align: center;
}

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

/* CTA Section */
.blog-detail-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0A1F44 0%, #1B3A5C 100%);
    position: relative;
    overflow: hidden;
}

.blog-detail-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.blog-detail-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-detail-cta .cta-title {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.blog-detail-cta .cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* Back to Blog */
.back-to-blog {
    padding: 40px 0;
    background: #FFFFFF;
}

.back-to-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #525252;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog-link:hover {
    color: #FF7A00;
    gap: 16px;
}

.back-to-blog-link i {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-sidebar {
        order: 2;
    }
    
    .article-main {
        order: 1;
    }
    
    .sidebar-sticky {
        position: static;
    }
    
    .sidebar-section {
        display: inline-block;
        margin-right: 16px;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 40px 0;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-summary {
        font-size: 1.125rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.75rem;
        margin: 36px 0 20px 0;
    }
    
    .article-content h3 {
        font-size: 1.375rem;
        margin: 28px 0 16px 0;
    }
    
    .article-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-title {
        font-size: 2rem;
    }
    
    .blog-detail-cta .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .breadcrumb-list {
        font-size: 0.813rem;
    }
    
    .social-share-btn {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
}

