


.article-header h1,
.article-content h1 {
    color: #fff !important;
}

.page-header h1 {
    color: #fff !important;
}


.comments-section {
    padding: 4rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.comments-section h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 700;
}

.comment-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.comment-form h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form .btn {
    background: #3182ce;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.comment-form .btn:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
}

.comments-list {
    display: grid;
    gap: 1.5rem;
}

.comment {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.comment:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.comment-author i {
    font-size: 2.5rem;
    color: #3182ce;
}

.author-info strong {
    display: block;
    color: #1a202c;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #718096;
    font-size: 0.875rem;
}

.comment p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}


.related-articles-section {
    padding: 4rem 0;
    background: white;
}

.related-articles-section h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-article {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.related-article .article-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-article .article-category {
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.related-article .article-content {
    padding: 1.5rem;
}

.related-article .article-content h3 {
    font-size: 1.125rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-article .article-content p {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-article .read-more {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.related-article .read-more:hover {
    color: #2c5aa0;
}

.related-article .read-more::after {
    content: "→";
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.related-article .read-more:hover::after {
    transform: translateX(2px);
}


.article-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    border-color: #3182ce;
    color: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn.bookmarked {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.action-btn.bookmarked:hover {
    background: #2c5aa0;
    border-color: #2c5aa0;
}


.table-of-contents {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 120px;
}

.table-of-contents h3 {
    font-size: 1.125rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #4a5568;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.table-of-contents a:hover,
.table-of-contents a.active {
    color: #3182ce;
    border-left-color: #3182ce;
    background: #f7fafc;
    margin-left: -1rem;
    padding-left: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}


@media (max-width: 768px) {
    .comments-section {
        padding: 2rem 0;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-article .article-image {
        height: 160px;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        justify-content: center;
    }
    
    .table-of-contents {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .comments-section h2,
    .related-articles-section h2 {
        font-size: 1.5rem;
    }
    
    .comment-form {
        padding: 1rem;
    }
    
    .comment {
        padding: 1rem;
    }
    
    .comment-author i {
        font-size: 2rem;
    }
    
    .related-article .article-content {
        padding: 1rem;
    }
}