/* Styles extracted from single-topic.php for better performance */
.topic-content {
    line-height: 1.8;
    color: #333;
}
.topic-content h1, 
.topic-content h2, 
.topic-content h3, 
.topic-content h4, 
.topic-content h5, 
.topic-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.topic-content p {
    margin-bottom: 1.2rem;
}
.topic-content ul, 
.topic-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}
.topic-content li {
    margin-bottom: 0.5rem;
}
.topic-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: #555;
}
.topic-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}
.topic-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
}
.topic-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}
.topic-content figure {
    margin: 1.5rem 0;
    text-align: center;
}
.topic-content figcaption {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.5rem;
}
.topic-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}
.topic-content th,
.topic-content td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}
.topic-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.topic-content mark {
    background-color: #fff3cd;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}
