
.article-main {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.article-content {
    flex: 1;
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-content p{
    text-align: justify;
}

.article-sidebar {
    width: 350px;
    position: sticky;
    top: 20px;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb a {
    text-decoration: none;
    color: #007BFF;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}
--------------------


.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3498db;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #2c3e50;
}

.author-title {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.author-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #95a5a6;
}

.author-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}


.article-header {
    margin-bottom: 25px;
}

.article-header h1 {
    font-size: 32px;
    line-height: 1.3;
    color: #2c3e50;
    margin: 15px 0;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-share span {
    font-size: 14px;
    color: #7f8c8d;
}

.article-share a {
    color: #7f8c8d;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    transition: all 0.3s ease;
}

.article-share a:hover {
    color: white;
    background-color: #3498db;
}


.article-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}


.article-body {
    line-height: 1.8;
    color: #34495e;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 16px;
}

.article-body .intro {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
}

.article-body h2 {
    font-size: 26px;
    margin: 35px 0 20px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

.article-body h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #2c3e50;
}


.article-content p.figure-caption,
.article-content p.table-caption {
    text-align: center !important;
    font-style: italic;
    font-size: 14px;
    color: #555;
    margin: 10px 0 20px;
}
.table-image {
    display: block;
    margin: 0 auto;
    max-width: 70%;
    height: auto;
}

pre {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    border-left: 4px solid #3498db;
}


.article-body ul, 
.article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 8px;
}


.info-box {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-box i {
    color: #1976d2;
    font-size: 20px;
    margin-top: 3px;
}

.info-box p {
    margin: 0;
    flex: 1;
}

.quote-box {
    background-color: #f5f5f5;
    padding: 20px;
    border-left: 4px solid #3498db;
    margin: 25px 0;
    font-style: italic;
    position: relative;
}

.quote-box i:first-child {
    color: #3498db;
    font-size: 24px;
    margin-right: 10px;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
}

.quote-box p {
    margin: 0 0 10px 30px;
    font-size: 18px;
    color: #555;
}

.quote-box cite {
    display: block;
    text-align: right;
    font-style: normal;
    color: #7f8c8d;
    font-size: 14px;
}

.article-tags {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-tags span {
    font-weight: 600;
    color: #7f8c8d;
}

.article-tags a {
    padding: 5px 12px;
    background-color: #f5f7fa;
    border-radius: 20px;
    font-size: 14px;
    color: #34495e;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background-color: #3498db;
    color: white;
}

.article-reactions {
    margin: 40px 0;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.article-reactions h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.reaction-btn {
    padding: 10px 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reaction-btn:hover {
    background-color: #f0f0f0;
}

.reaction-btn i {
    font-size: 16px;
}


.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #3498db;
}

.widget-author {
    text-align: center;
}

.widget-author img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid #3498db;
}

.widget-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2c3e50;
}

.widget-author p {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.author-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f5f7fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background-color: #3498db;
    color: white;
}

.recommended-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommended-article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.recommended-article:hover {
    transform: translateX(5px);
}

.recommended-article img {
    border-radius: 6px;
    height: 120px;
    object-fit: cover;
}

.recommended-article h4 {
    font-size: 16px;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.recommended-article:hover h4 {
    color: #3498db;
}

.recommended-article .article-meta {
    font-size: 12px;
    color: #95a5a6;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    padding: 5px 12px;
    background-color: #f5f7fa;
    border-radius: 20px;
    font-size: 13px;
    color: #34495e;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: #3498db;
    color: white;
}

/* Future Extensions */
.comments-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

.section-title span {
    color: #7f8c8d;
    font-size: 20px;
}

.comment-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.comment-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comment {
    display: flex;
    gap: 20px;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-header h4 {
    font-size: 16px;
    color: #2c3e50;
}

.comment-date {
    font-size: 13px;
    color: #95a5a6;
}

.comment-rating {
    display: flex;
    gap: 3px;
    margin-left: auto;
}

.comment-rating i {
    color: #f39c12;
    font-size: 14px;
}

.comment p {
    margin-bottom: 15px;
    color: #34495e;
    line-height: 1.6;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.reply-btn,
.like-btn {
    font-size: 13px;
    color: #7f8c8d;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.reply-btn:hover {
    color: #3498db;
}

.like-btn:hover {
    color: #e74c3c;
}

.comment-reply {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    padding-left: 20px;
}

.comments-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: #3498db;
    color: white;
}

.page-link.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
    gap: 5px;
}


@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }
    
    .article-sidebar {
        width: 100%;
        position: static;
    }
    
    .article-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 26px;
    }
    
    .article-body h2 {
        font-size: 22px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-meta {
        justify-content: center;
    }
    
    .reaction-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .reaction-btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .article-content {
        padding: 20px;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-rating {
        margin-left: 0;
    }
}