/* Knowledge Article Override Styles - Force Apply */

/* Main Container */
body.single-knowledge_article,
body.single-knowledge_video, 
body.single-knowledge_audio,
body.single-knowledge_podcast {
    background: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Container */
body.single-knowledge_article .container,
body.single-knowledge_video .container,
body.single-knowledge_audio .container,
body.single-knowledge_podcast .container {
    max-width: 768px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Breadcrumb */
body.single-knowledge_article .article-breadcrumb,
body.single-knowledge_video .article-breadcrumb,
body.single-knowledge_audio .article-breadcrumb,
body.single-knowledge_podcast .article-breadcrumb {
    background: transparent !important;
    padding: 16px 0 8px !important;
    border: none !important;
    margin: 0 !important;
}

body.single-knowledge_article .breadcrumb-trail,
body.single-knowledge_video .breadcrumb-trail,
body.single-knowledge_audio .breadcrumb-trail,
body.single-knowledge_podcast .breadcrumb-trail {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14px !important;
    color: #6366f1 !important;
    margin: 0 !important;
}

body.single-knowledge_article .breadcrumb-trail a,
body.single-knowledge_video .breadcrumb-trail a,
body.single-knowledge_audio .breadcrumb-trail a,
body.single-knowledge_podcast .breadcrumb-trail a {
    color: #6366f1 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}

body.single-knowledge_article .breadcrumb-separator,
body.single-knowledge_video .breadcrumb-separator,
body.single-knowledge_audio .breadcrumb-separator,
body.single-knowledge_podcast .breadcrumb-separator {
    color: #6366f1 !important;
    margin: 0 4px !important;
}

body.single-knowledge_article .current-page,
body.single-knowledge_video .current-page,
body.single-knowledge_audio .current-page,
body.single-knowledge_podcast .current-page {
    color: #374151 !important;
    font-weight: 400 !important;
}

body.single-knowledge_article .back-to-hub,
body.single-knowledge_video .back-to-hub,
body.single-knowledge_audio .back-to-hub,
body.single-knowledge_podcast .back-to-hub {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #6366f1 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-top: 8px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

/* Article Header */
body.single-knowledge_article .article-header,
body.single-knowledge_video .article-header,
body.single-knowledge_audio .article-header,
body.single-knowledge_podcast .article-header {
    background: transparent !important;
    padding: 24px 0 32px !important;
    border: none !important;
    margin: 0 !important;
}

body.single-knowledge_article .content-badges,
body.single-knowledge_video .content-badges,
body.single-knowledge_audio .content-badges,
body.single-knowledge_podcast .content-badges {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-bottom: 16px !important;
}

body.single-knowledge_article .content-type-badge,
body.single-knowledge_video .content-type-badge,
body.single-knowledge_audio .content-type-badge,
body.single-knowledge_podcast .content-type-badge,
body.single-knowledge_article .topic-badge,
body.single-knowledge_video .topic-badge,
body.single-knowledge_audio .topic-badge,
body.single-knowledge_podcast .topic-badge {
    background: #6366f1 !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    border: none !important;
}

body.single-knowledge_article .article-title,
body.single-knowledge_video .article-title,
body.single-knowledge_audio .article-title,
body.single-knowledge_podcast .article-title,
body.single-knowledge_article h1.article-title,
body.single-knowledge_video h1.article-title,
body.single-knowledge_audio h1.article-title,
body.single-knowledge_podcast h1.article-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #111827 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

body.single-knowledge_article .article-excerpt,
body.single-knowledge_video .article-excerpt,
body.single-knowledge_audio .article-excerpt,
body.single-knowledge_podcast .article-excerpt {
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #6b7280 !important;
    margin-bottom: 20px !important;
    font-weight: 400 !important;
}

body.single-knowledge_article .article-meta,
body.single-knowledge_video .article-meta,
body.single-knowledge_audio .article-meta,
body.single-knowledge_podcast .article-meta {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}

body.single-knowledge_article .meta-item,
body.single-knowledge_video .meta-item,
body.single-knowledge_audio .meta-item,
body.single-knowledge_podcast .meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

body.single-knowledge_article .meta-item svg,
body.single-knowledge_video .meta-item svg,
body.single-knowledge_audio .meta-item svg,
body.single-knowledge_podcast .meta-item svg {
    color: #6b7280 !important;
    width: 16px !important;
    height: 16px !important;
}

/* Social Share */
body.single-knowledge_article .article-social-share,
body.single-knowledge_video .article-social-share,
body.single-knowledge_audio .article-social-share,
body.single-knowledge_podcast .article-social-share {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 32px !important;
}

/* Old header share button styles (NOT for floating buttons) */
body.single-knowledge_article .kb-social-btn.share-btn,
body.single-knowledge_video .kb-social-btn.share-btn,
body.single-knowledge_audio .kb-social-btn.share-btn,
body.single-knowledge_podcast .kb-social-btn.share-btn {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    border: 1px solid #d1d5db !important;
    color: #374151 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

body.single-knowledge_article .kb-social-btn.share-btn:hover,
body.single-knowledge_video .kb-social-btn.share-btn:hover,
body.single-knowledge_audio .kb-social-btn.share-btn:hover,
body.single-knowledge_podcast .kb-social-btn.share-btn:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
}

body.single-knowledge_article .kb-social-btn.share-btn svg,
body.single-knowledge_video .kb-social-btn.share-btn svg,
body.single-knowledge_audio .kb-social-btn.share-btn svg,
body.single-knowledge_podcast .kb-social-btn.share-btn svg {
    width: 16px !important;
    height: 16px !important;
}

/* Hero Image */
body.single-knowledge_article .article-hero-image,
body.single-knowledge_video .article-hero-image,
body.single-knowledge_audio .article-hero-image,
body.single-knowledge_podcast .article-hero-image {
    background: transparent !important;
    padding: 0 0 40px !important;
    margin: 0 !important;
}

body.single-knowledge_article .hero-image-wrapper,
body.single-knowledge_video .hero-image-wrapper,
body.single-knowledge_audio .hero-image-wrapper,
body.single-knowledge_podcast .hero-image-wrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #f3f4f6 !important;
    aspect-ratio: 16/9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

body.single-knowledge_article .article-featured-image,
body.single-knowledge_video .article-featured-image,
body.single-knowledge_audio .article-featured-image,
body.single-knowledge_podcast .article-featured-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Article Content */
body.single-knowledge_article .article-content,
body.single-knowledge_video .article-content,
body.single-knowledge_audio .article-content,
body.single-knowledge_podcast .article-content {
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
}

body.single-knowledge_article .content-wrapper,
body.single-knowledge_video .content-wrapper,
body.single-knowledge_audio .content-wrapper,
body.single-knowledge_podcast .content-wrapper {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-knowledge_article .article-text,
body.single-knowledge_video .article-text,
body.single-knowledge_audio .article-text,
body.single-knowledge_podcast .article-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #374151 !important;
    margin-top: 32px !important;
}

body.single-knowledge_article .article-text h2,
body.single-knowledge_video .article-text h2,
body.single-knowledge_audio .article-text h2,
body.single-knowledge_podcast .article-text h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 32px 0 16px !important;
    line-height: 1.3 !important;
}

body.single-knowledge_article .article-text h3,
body.single-knowledge_video .article-text h3,
body.single-knowledge_audio .article-text h3,
body.single-knowledge_podcast .article-text h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 24px 0 12px !important;
    line-height: 1.4 !important;
}

body.single-knowledge_article .article-text p,
body.single-knowledge_video .article-text p,
body.single-knowledge_audio .article-text p,
body.single-knowledge_podcast .article-text p {
    margin-bottom: 16px !important;
    color: #374151 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Download CTA */
body.single-knowledge_article .download-cta-box,
body.single-knowledge_video .download-cta-box,
body.single-knowledge_audio .download-cta-box,
body.single-knowledge_podcast .download-cta-box {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: #fef3c7 !important;
    border: 1px solid #fbbf24 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 24px 0 !important;
    box-shadow: none !important;
}

body.single-knowledge_article .download-btn,
body.single-knowledge_video .download-btn,
body.single-knowledge_audio .download-btn,
body.single-knowledge_podcast .download-btn {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #fbbf24 !important;
    border: none !important;
    color: #92400e !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}