/* Knowledge Base SEO Enhancement Styles */

/* Breadcrumb Container */
.breadcrumb-container {
    padding: 15px 0 0 0;
    margin: 0;
    text-align: left;
}

/* Reduce gap between breadcrumb and article container */
.breadcrumb-container + .main-container {
    padding-top: 1.5rem;
}

/* Breadcrumb Navigation */
.breadcrumb {
    list-style: none;
    padding: 0 20px;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #666;
    text-align: left;
    gap: 5px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #999;
    font-size: 0.8em;
}

.breadcrumb a {
    color: var(--primary-color, #2c3e50);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color, #3498db);
    transition: width 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color, #3498db);
}

.breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb-item.active {
    color: #666;
}

/* Author Box */
.author-box {
    background: #f8f8f8;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    flex-shrink: 0;
}

.author-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.2em;
}

.author-info .author-title {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.author-info .author-bio {
    color: #555;
    line-height: 1.6;
    font-size: 0.9em;
}

/* Article Meta Information */
.article-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta .meta-item i {
    color: #3498db;
}

/* Related Articles Section - Moved to kb-related-articles.css */

/* Reading Time */
.reading-time {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 15px 0;
    font-size: 0.9em;
}

/* Article Disclaimer */
.article-disclaimer {
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
    padding: 20px;
    margin: 40px 0;
    border-radius: 4px;
}

.article-disclaimer p {
    margin: 0;
    color: #495057;
    font-size: 0.9em;
    line-height: 1.6;
}

.article-disclaimer strong {
    color: #343a40;
}

.article-disclaimer a {
    color: var(--secondary-color, #3498db);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-disclaimer a:hover {
    color: var(--primary-color, #2c3e50);
    text-decoration-thickness: 2px;
}

/* FAQ Section - Comments Style at Bottom of Page */
.faq-section {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 40px 20px;
}

.faq-section h3 {
    margin: 0 0 30px 0;
    color: var(--primary-color, #2c3e50);
    font-size: 1.4em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section h3::before {
    content: '\f075';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color, #3498db);
    font-size: 0.9em;
}

.faq-item {
    margin-bottom: 0;
    padding: 25px 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e9ecef;
}

.faq-item:first-of-type {
    border-top: 1px solid #e9ecef;
}

.faq-item:last-of-type {
    margin-bottom: 0;
}

.faq-item h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color, #2c3e50);
    font-size: 1.05em;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-item h4::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    background: var(--secondary-color, #3498db);
    color: white;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-item p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 0.95em;
    padding-left: 38px;
}

.faq-contact {
    margin: 30px 0 0 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--secondary-color, #3498db);
    border-radius: 4px;
    font-size: 0.95em;
    color: #555;
}

.faq-contact a {
    color: var(--secondary-color, #3498db);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-contact a:hover {
    color: var(--primary-color, #2c3e50);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .breadcrumb {
        font-size: 0.85em;
    }

    .faq-section {
        padding: 20px 15px;
    }

    .faq-item {
        padding: 15px;
    }
}

/* ============================================================
   Reference / comparison tables in KB articles
   ============================================================ */
.kb-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}
.kb-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 560px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2c3e50;
}
.kb-table caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    color: #495057;
    padding: 12px 14px;
    font-size: 0.9rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}
.kb-table thead th {
    background: #2c3e50;
    color: #fff;
    text-align: left;
    font-weight: 600;
    padding: 12px 14px;
    vertical-align: bottom;
    white-space: nowrap;
}
.kb-table tbody th {
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    background: #f4f6f8;
    white-space: nowrap;
}
.kb-table th,
.kb-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}
.kb-table tbody tr:last-child th,
.kb-table tbody tr:last-child td {
    border-bottom: none;
}
.kb-table tbody tr:hover td {
    background: #eef4fb;
}
@media (max-width: 600px) {
    .kb-table { font-size: 0.88rem; }
    .kb-table th,
    .kb-table td { padding: 9px 10px; }
}