/* Forum-Content: verbesserte Darstellung von Textinhalten */

.an-thread-post-content {
    font-size: 0.95rem;
    line-height: 1.6;
    word-spacing: 0.02em;
}

.an-thread-post-content p {
    margin: 0 0 0.75em;
}

.an-thread-post-content p:last-child {
    margin-bottom: 0;
}

.an-thread-post-content a {
    color: var(--an-primary, #3b82f6);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.an-thread-post-content a:hover {
    color: var(--an-primary-hover, #60a5fa);
}

.an-thread-post-content a:focus-visible {
    outline: 2px solid var(--an-primary, #3b82f6);
    outline-offset: 2px;
}

.an-thread-post-content ul,
.an-thread-post-content ol {
    margin: 0.5em 0 0.75em;
    padding-left: 1.5em;
}

.an-thread-post-content li {
    margin-bottom: 0.25em;
}

.an-thread-post-content blockquote {
    margin: 0.75em 0;
    padding: 0.5em 1em;
    border-left: 4px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.5);
    color: var(--an-text-muted, #94a3b8);
    font-style: italic;
}

.an-thread-post-content code {
    padding: 0.15em 0.35em;
    font-family: ui-monospace, monospace;
    font-size: 0.9em;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 4px;
}

.an-thread-post-content pre {
    margin: 0.75em 0;
    padding: 1em;
    overflow-x: auto;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
}

.an-thread-post-content pre code {
    padding: 0;
    background: none;
    border: none;
    font-size: 0.88em;
}

.an-thread-post-content h2 {
    font-size: 1.15rem;
    margin: 1em 0 0.5em;
}

.an-thread-post-content h3 {
    font-size: 1.05rem;
    margin: 0.5em 0 0.75em;
}

.an-thread-post-content p + h2,
.an-thread-post-content p + h3 {
    margin-top: 1.25em;
}

.an-mention {
    background: rgba(59, 130, 246, 0.15);
    color: var(--an-primary, #3b82f6);
    padding: 0.05em 0.25em;
    border-radius: 4px;
}

.an-mention:hover {
    background: rgba(59, 130, 246, 0.25);
}
