.article-header {
    background: linear-gradient(135deg, var(--background-light) 0%, #e0f2fe 100%);
    padding: 120px 0 60px;
    position: relative;
}

.article-meta-header .bg-primary {
    background: linear-gradient(135deg, #14255b, #12329c);
    color: white;
}

.article-breadcrumb {
    margin-bottom: 2rem;
}

    .article-breadcrumb .breadcrumb {
        background: transparent;
        padding: 0;
        margin: 0;
    }

    .article-breadcrumb .breadcrumb-item a {
        color: var(--text-light);
        text-decoration: none;
        transition: var(--transition);
    }

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

    .article-breadcrumb .breadcrumb-item.active {
        color: var(--text-dark);
    }

.article-meta-header {
    text-align: center;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-author-info {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    margin-top: 2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-details h6 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-weight: 600;
}

.author-title {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

    .article-stats span {
        color: var(--text-light);
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .article-stats i {
        color: var(--primary-color);
    }


.article-content {
    padding: 60px 0;
    background: var(--background-white);
}

.article-body {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.article-featured-image {
    margin-bottom: 3rem;
}

    .article-featured-image img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-medium);
    }

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

    .article-text .lead {
        font-size: 1.375rem;
        font-weight: 400;
        color: var(--text-dark);
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .article-text h2 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 3rem 0 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--primary-color);
    }

    .article-text h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-dark);
        margin: 2.5rem 0 1rem;
    }

    .article-text h4 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-dark);
        margin: 2rem 0 1rem;
    }

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

    .article-text ul,
    .article-text ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }

    .article-text li {
        margin-bottom: 0.5rem;
    }

.article-quote {
    background: linear-gradient(135deg, var(--background-light), #f0f9ff);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
}

    .article-quote::before {
        content: '"';
        font-size: 4rem;
        color: var(--primary-color);
        position: absolute;
        top: -10px;
        left: 20px;
        font-family: Georgia, serif;
    }

    .article-quote p {
        font-size: 1.25rem;
        font-style: italic;
        color: var(--text-dark);
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .article-quote cite {
        font-size: 1rem;
        color: var(--text-light);
        font-weight: 600;
        padding-left: 2rem;
    }

.article-highlight {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
}

    .article-highlight h4 {
        color: var(--accent-color);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .article-highlight p {
        color: var(--text-dark);
        margin-bottom: 0;
    }

.article-tags {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

    .article-tags h6 {
        color: var(--text-dark);
        margin-bottom: 1rem;
        font-weight: 600;
    }

.article-share {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    margin-bottom: 3rem;
}

    .article-share h6 {
        color: var(--text-dark);
        margin-bottom: 1rem;
        font-weight: 600;
    }

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

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

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

    .share-btn.linkedin {
        background: #0077b5;
    }

    .share-btn.email {
        background: #ea4335;
    }

    .share-btn.copy {
        background: var(--text-light);
    }

.author-bio {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 3rem;
}

.author-bio-image {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.author-bio h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-bio-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-bio p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

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

        .author-social a:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            color: white;
        }

.article-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

    .sidebar-widget:hover {
        box-shadow: var(--shadow-medium);
    }

    .sidebar-widget h5 {
        color: var(--text-dark);
        font-weight: 700;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--primary-color);
    }

.toc-list {
    list-style: none;
    padding: 0;
}

    .toc-list li {
        margin-bottom: 0.75rem;
    }

    .toc-list a {
        color: var(--text-light);
        text-decoration: none;
        transition: var(--transition);
        display: block;
        padding: 0.5rem 0;
        border-left: 3px solid transparent;
        padding-left: 1rem;
    }

        .toc-list a:hover {
            color: var(--primary-color);
            border-left-color: var(--primary-color);
            padding-left: 1.5rem;
        }

.related-article-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

    .related-article-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .related-article-item img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

.related-content h6 {
    margin-bottom: 0.5rem;
}

    .related-content h6 a {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
    }

        .related-content h6 a:hover {
            color: var(--primary-color);
        }

.related-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

    .newsletter-widget h5 {
        color: white;
        border-bottom-color: rgba(255, 255, 255, 0.3);
    }

    .newsletter-widget p {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 1.5rem;
    }

.newsletter-form .form-control {
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
}

.newsletter-form .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

    .newsletter-form .btn:hover {
        background: #f8fafc;
        color: var(--primary-color);
    }


.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: var(--background-light);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

    .tag-item:hover {
        background: var(--primary-color);
        color: white;
    }


.comments-section {
    background: var(--background-light);
    padding: 60px 0;
}

.comments-container {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-light);
}

    .comments-container h4 {
        color: var(--text-dark);
        margin-bottom: 2rem;
        font-weight: 700;
    }

.comment-form {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
}

    .comment-form h6 {
        color: var(--text-dark);
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .comment-form .form-control {
        border: 1px solid #d1d5db;
        border-radius: 8px;
        padding: 12px 16px;
        transition: var(--transition);
    }

        .comment-form .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
        }

.comments-list {
    margin-top: 2rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f3f4f6;
}

    .comment-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

    .comment-header h6 {
        color: var(--text-dark);
        margin-bottom: 0;
        font-weight: 600;
    }

.comment-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.comment-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.comment-reply {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

    .comment-reply:hover {
        color: var(--primary-light);
    }

@media (max-width: 992px) {
    .article-sidebar {
        position: static;
        margin-top: 3rem;
    }

    .article-author-info {
        text-align: center;
    }

    .article-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2.5rem;
    }

    .article-subtitle {
        font-size: 1.125rem;
    }

    .article-body {
        padding: 2rem;
    }

    .article-text {
        font-size: 1rem;
    }

        .article-text .lead {
            font-size: 1.25rem;
        }

        .article-text h2 {
            font-size: 1.75rem;
        }

        .article-text h3 {
            font-size: 1.375rem;
        }

    .article-featured-image img {
        height: 250px;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .comments-container {
        padding: 2rem;
    }

    .comment-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 2rem;
    }

    .article-body {
        padding: 1.5rem;
    }

    .article-author-info {
        padding: 1.5rem;
    }

    .author-bio {
        padding: 1.5rem;
    }

    .author-bio-image {
        max-width: 120px;
        height: 120px;
    }

    .share-buttons {
        justify-content: center;
    }

    .article-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
}
