/* Hauptcontainer */
.blog-post-container {
    max-width: 750px;
    margin: 6rem auto; /* Erhöhter oberer Randabstand */
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bild */
.post-image {
    width: 90%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem auto;
    display: block;
}

/* Titel und Datum */
.post-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333333;
    margin-top: 1rem;
    text-align: center;
}

.post-date {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Inhalt */
.post-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-top: 1.5rem; /* Zusätzlicher Abstand zum Bild */
}

/* Zurück-Button */
.back-button {
    display: inline-block;
    color: #4da8da;
    font-weight: bold;
    margin-top: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: #0056b3;
}

/* Inhaltsverzeichnis */
.table-of-contents {
    border: 1px solid #ddd;
    padding: 1rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
}

.table-of-contents h3 {
    font-size: 1.2rem;
    color: #333;
}

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

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

.table-of-contents a {
    color: #007bff;
    text-decoration: none;
}

.table-of-contents a:hover {
    text-decoration: underline;
}