/* Dezente Blog Content Styles - Minimal & Clean */

/* Basis Post-Content */
.post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.post-content p {
    margin-bottom: 1.2em;
}

/* Überschriften */
.post-content h1 {
    font-size: 2em;
    font-weight: 700;
    margin: 1.2em 0 0.6em 0;
    color: #1a1a1a;
    line-height: 1.3;
}

.post-content h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin: 1em 0 0.6em 0;
    color: #2a2a2a;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0.8em 0 0.5em 0;
    color: #333;
}

.post-content h4, .post-content h5, .post-content h6 {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0.8em 0 0.4em 0;
    color: #444;
}

/* Strong & Emphasis */
.post-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

.post-content em {
    font-style: italic;
    color: #555;
}

.post-content u {
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 2px;
}

/* Listen */
.post-content ul,
.post-content ol {
    margin: 1.2em 0;
    padding-left: 2em;
}

.post-content li {
    margin-bottom: 0.6em;
    line-height: 1.6;
}

.post-content ul li {
    list-style: disc;
}

.post-content ol li {
    list-style: decimal;
}

/* Nested Lists */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin: 0.6em 0 0.6em 2em;
}

/* Blockquotes */
.post-content blockquote {
    border-left: 3px solid #ddd;
    padding: 0.8em 1.2em;
    margin: 1.2em 0;
    color: #666;
    font-style: italic;
}

.post-content blockquote p {
    margin: 0.5em 0;
}

/* Code Blocks */
.post-content pre {
    background: #f5f5f5;
    padding: 1.2em;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.2em 0;
    border: 1px solid #eee;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
}

.post-content code {
    background: #f0f0f0;
    color: #c7254e;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

/* Links */
.post-content a {
    color: #8fb03d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: #7a9530;
    text-decoration: underline;
}

/* Bilder */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.2em 0;
}

/* Tabellen */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    border: 1px solid #ddd;
}

.post-content table thead {
    background: #f5f5f5;
}

.post-content table th {
    padding: 0.8em;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
}

.post-content table td {
    padding: 0.8em;
    border: 1px solid #ddd;
}

/* Horizontal Rule */
.post-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 1.5em 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .post-content {
        font-size: 15px;
    }

    .post-content h1 {
        font-size: 1.6em;
    }

    .post-content h2 {
        font-size: 1.3em;
    }

    .post-content h3 {
        font-size: 1.1em;
    }

    .post-content ul,
    .post-content ol {
        padding-left: 1.5em;
    }

    .post-content pre {
        font-size: 12px;
        padding: 0.8em;
    }

    .post-content table {
        font-size: 13px;
    }

    .post-content table th,
    .post-content table td {
        padding: 0.6em;
    }
}

/* Druck-Styles */
@media print {
    .post-content a {
        color: #000;
        text-decoration: underline;
    }

    .post-content blockquote {
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .post-content pre {
        background: #f5f5f5;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .post-content img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}
