/* Copyright by W-Welz | Urheber: Werner | https://welzsoft.de */
/* Styles für vom Admin gepflegte Seiten-Inhalte (TinyMCE-Output) */

.ws-page-content {
    line-height: 1.7;
    color: #1e293b;
    font-size: 1rem;
}

.ws-page-content h2 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    font-size: 1.6rem;
    color: #0f172a;
    font-weight: 700;
}

.ws-page-content h3 {
    margin-top: 1.4em;
    margin-bottom: 0.4em;
    font-size: 1.25rem;
    color: #0f172a;
    font-weight: 600;
}

.ws-page-content h4 {
    margin-top: 1.2em;
    margin-bottom: 0.3em;
    font-size: 1.05rem;
    color: #0f172a;
    font-weight: 600;
}

.ws-page-content p {
    margin-bottom: 1em;
}

.ws-page-content ul,
.ws-page-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.ws-page-content li {
    margin-bottom: 0.35em;
}

.ws-page-content a {
    color: #2563eb;
    text-decoration: underline;
}

.ws-page-content a:hover {
    color: #1d4ed8;
}

.ws-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 14px 0;
}

.ws-page-content img.img-fluid { width: 100%; }
.ws-page-content img.img-rounded { border-radius: 14px; }

.ws-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.ws-page-content table th,
.ws-page-content table td {
    border: 1px solid #e2e8f0;
    padding: 9px 12px;
    text-align: left;
}

.ws-page-content table th {
    background: #f8fafc;
    font-weight: 600;
}

.ws-page-content blockquote {
    border-left: 4px solid #2563eb;
    padding: 10px 18px;
    margin: 16px 0;
    color: #475569;
    background: #f8fafc;
    border-radius: 0 6px 6px 0;
}

.ws-page-content figure {
    margin: 20px 0;
}

.ws-page-content figcaption {
    font-size: 0.88rem;
    color: #64748b;
    text-align: center;
    margin-top: 6px;
}

.ws-page-content hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}

.ws-page-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ws-page-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 14px 18px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 14px 0;
}

.ws-page-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}
