/* Blog Article Title */
.headline h1 {
    font-size: 2.3rem;
    font-weight: normal;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* Blog Content */
.blog-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2c3e50;
}

.content-wrapper {
    background: #f8f9fa;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Blog Article Image Styling */
.blog-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-article-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Legacy Blog Image Container (falls noch verwendet) */
.blog-image-container {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Responsives Bild */
.blog-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
}

/* Allgemeine Bilder im Content */
.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

/* Absatzstil für CKEditor-Generierten Inhalt */
.blog-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #34495e;
    text-align: justify;
}

/* Überschriften im Content */
.content-wrapper h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-wrapper h2 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    font-size: 1.8rem;
}

.content-wrapper h2 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    font-size: 1.6rem;
}

/* Listen im Content */
.content-wrapper ul,
.content-wrapper ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Blockquotes */
.content-wrapper blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
    background: #ffffff;
    padding: 1rem;
    border-radius: 4px;
}

/* Code-Blöcke */
.content-wrapper pre,
.content-wrapper code {
    background: #f1f3f4;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.content-wrapper pre {
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.content-wrapper code {
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
}

/* Tabellen */
.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.content-wrapper th,
.content-wrapper td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.content-wrapper th {
    background: #007bff;
    color: white;
    font-weight: 600;
}

.content-wrapper tr:hover {
    background: #f8f9fa;
}

/* Extra Small (xs) - unter 576px */
@media (max-width: 575px) {
    .headline h1 {
        font-size: 1.5rem;
    }
    
    .blog-content p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .content-wrapper h1 {
        font-size: 1.5rem;
    }
    
    .content-wrapper {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .blog-image {
        max-height: 300px;
    }
    
    .blog-article-image {
        max-height: 250px;
    }
}

/* Small (sm) - 576px bis 767px */
@media (min-width: 576px) and (max-width: 767px) {
    .headline h1 {
        font-size: 1.7rem;
    }
    
    .blog-content p {
        font-size: 0.9rem;
    }
    
    .content-wrapper h1 {
        font-size: 1.6rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
    
    .blog-image {
        max-height: 400px;
    }
    
    .blog-article-image {
        max-height: 350px;
    }
}

/* Medium (md) - 768px bis 991px */
@media (min-width: 768px) and (max-width: 991px) {
    .headline h1 {
        font-size: 1.9rem;
    }
    
    .blog-content p {
        font-size: 0.95rem;
    }
    
    .content-wrapper h1 {
        font-size: 1.7rem;
    }
    
    .content-wrapper {
        padding: 2rem;
    }
}

/* Large (lg) - 992px bis 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .headline h1 {
        font-size: 2rem;
    }
    
    .blog-content p {
        font-size: 0.95rem;
    }
    
    .content-wrapper h1 {
        font-size: 1.8rem;
    }
    
    .content-wrapper {
        padding: 2.5rem;
    }
}

/* Extra Large (xl) - 1200px bis 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .headline h1 {
        font-size: 2.3rem;
    }
    
    .blog-content p {
        font-size: 1rem;
    }
    
    .content-wrapper h1 {
        font-size: 1.9rem;
    }
    
    .content-wrapper {
        padding: 2.5rem;
    }
}

/* Extra Extra Large (xxl) - ab 1400px */
@media (min-width: 1400px) {
    .headline h1 {
        font-size: 2.2rem;
    }
    
    .blog-content p {
        font-size: 1rem;
    }
    
    .content-wrapper h1 {
        font-size: 1.9rem;
    }
    
    .content-wrapper {
        padding: 3rem;
    }
}