/* Article Header */
.article-header {
    background-color: var(--bg-light);
}

.category-badge .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.bg-orange {
    background-color: var(--primary-orange) !important;
}

.article-title {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

.author-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.article-info {
    font-size: 0.875rem;
}

.article-share {
    display: flex;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-muted);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .share-btn:hover {
        background-color: var(--primary-orange);
        color: white;
        transform: translateY(-2px);
    }

/* Featured Image */

.featured-image .image-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.featured-image img {
    border: 1px solid #e2e8f0;
    width: 50%;
}

.image-caption {
    font-size: 0.875rem;
    font-style: italic;
}

/* Article Sidebar Left */
.article-sidebar {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.sidebar-title {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.table-of-contents {
    list-style: none;
    padding: 0;
}

    .table-of-contents li {
        margin-bottom: 0.75rem;
    }

    .table-of-contents a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.875rem;
        transition: color 0.3s ease;
        display: block;
        padding-left: 0.5rem;
        border-left: 2px solid transparent;
    }

        .table-of-contents a:hover,
        .table-of-contents a.active {
            color: var(--primary-orange);
            border-left-color: var(--primary-orange);
        }

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: white;
    color: var(--text-muted);
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

    .tag-item:hover {
        background-color: var(--primary-orange);
        color: white;
        border-color: var(--primary-orange);
    }

/* Article Body */
.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

    .article-body .lead {
        font-size: 1.375rem;
        line-height: 1.7;
        color: var(--text-muted);
        font-weight: 400;
    }

.content-section {
    scroll-margin-top: 100px;
}

.article-body h2 {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.article-body img {
    border: 1px solid #e2e8f0;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.highlight-box,
.info-box {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
    background-color: #fff7ed;
}

.info-box {
    background-color: #eff6ff;
    border-left-color: #3b82f6;
}

/* Benefits List */
.benefits-list {
    display: grid;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .benefit-item:hover {
        transform: translateX(8px);
    }

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    color: var(--primary-orange);
    font-size: 2rem;
}

.benefit-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--primary-orange);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Article Quote */
.article-quote {
    padding: 2rem;
    background-color: var(--primary-navy);
    color: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
    font-size: 1.25rem;
    font-style: italic;
}

    .article-quote p {
        margin-bottom: 1rem;
    }

    .article-quote footer {
        font-style: normal;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }

/* Author Bio */
.author-bio {
    border: 1px solid #e2e8f0;
}

    .author-bio h5 {
        color: var(--primary-navy);
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

.author-social a {
    color: var(--primary-navy);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

    .author-social a:hover {
        color: var(--primary-orange);
    }

/* Sidebar Right */
.article-sidebar-right {
    padding: 0;
}

.sidebar-widget {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.widget-title {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.sidebar-widget form input {
    border: 1px solid #e2e8f0;
}

.sidebar-widget .btn-primary {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
}

    .sidebar-widget .btn-primary:hover {
        background-color: var(--primary-orange);
        border-color: var(--primary-orange);
    }

.popular-post a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

    .popular-post a:hover {
        color: var(--primary-orange);
    }

.popular-post h6 {
    font-weight: 600;
    line-height: 1.4;
}

/* Related Articles */
.related-articles {
    border-top: 1px solid #e2e8f0;
}

    .related-articles h2 {
        color: var(--primary-navy);
        font-weight: 700;
    }

.related-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .related-card .card-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .related-card .card-body {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .related-card .card-title {
        color: var(--primary-navy);
        font-weight: 600;
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .related-card .card-text {
        flex-grow: 1;
    }

    .related-card .btn-outline-primary {
        color: var(--primary-navy);
        border-color: var(--primary-navy);
    }

        .related-card .btn-outline-primary:hover {
            background-color: var(--primary-navy);
            color: white;
        }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0f1a2e 100%);
    color: white;
}

    .cta-section h2 {
        color: white;
    }

    .cta-section .btn-primary {
        background-color: var(--primary-orange);
        border-color: var(--primary-orange);
        padding: 0.75rem 2.5rem;
    }

        .cta-section .btn-primary:hover {
            background-color: #d97706;
            border-color: #d97706;
        }

/* Responsive Design */
@media (max-width: 992px) {
    .article-title {
        font-size: 2rem;
    }

    .article-body {
        font-size: 1rem;
    }

        .article-body .lead {
            font-size: 1.125rem;
        }

        .article-body h2 {
            font-size: 1.75rem;
        }

        .article-body h3 {
            font-size: 1.375rem;
        }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.5rem;
    }

    .article-share {
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-orange);
    z-index: 9999;
    transition: width 0.1s ease;
}
