/*Autor ausblenden*/
.single-post .entry-meta .byline, 
.single-post .entry-meta .author {
    display: none !important;
}

/* Mobile Anpassungen für Schriftgrößen-Klassen */
body.single-post div#page .entry-content p.has-small-font-size {
    font-size: 1.1rem !important;
    text-align: left;
}

body.single-post div#page .entry-content p.has-medium-font-size {
    font-size: 1.2rem !important;
    text-align: left;
}

body.single-post div#page .entry-content p.has-large-font-size {
    font-size: 1.5rem !important;
    text-align: left;
}

body.single-post div#page .entry-content p.has-x-large-font-size {
    font-size: 1.7rem !important;
    text-align: left;
}    
    
    /* Einzelne Blog-Posts Styling */
.single-post .content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Open Sans', sans-serif;
}

.single-post .site-main {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Header-Bereich des Posts */
.single-post .entry-header {
    background: linear-gradient(135deg, #009a93 0%, #68bfbb 100%);
    color: white;
    padding: 60px 40px 10px 40px;
    text-align: center;
    position: relative;
}

.single-post .entry-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="30" cy="5" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="15" r="1.5" fill="rgba(255,255,255,0.04)"/><circle cx="70" cy="8" r="0.8" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="12" r="1.2" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.single-post .entry-header * {
    position: relative;
    z-index: 2;
}

.single-post .entry-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: white !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.single-post .entry-meta {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 15px;
    border-bottom: none;
}

.single-post .entry-meta a {
    color: white !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.3s ease;
}

.single-post .entry-meta a:hover {
    border-bottom-color: white;
}

.single-post .entry-meta .posted-on,
.single-post .entry-meta .byline {
    display: inline-block;
    margin-right: 20px;
}

.single-post .entry-meta .byline::before {
    content: '•';
    margin: 0 8px;
    opacity: 0.7;
}

/* Inhalt des Posts */
.single-post .entry-content {
    padding: 10px 40px 50px 40px;
    line-height: 1.8;
    margin-bottom: 0px !important;
}

/* Typografie im Inhalt - H1 sollte nie im Inhalt verwendet werden */
.single-post .entry-content h1 {
    font-size: 2.2rem !important;
    color: #009a93 !important;
    margin: 40px 0 25px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-align: center;
    position: relative;
}

.single-post .entry-content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #009a93, #68bfbb);
    margin: 20px auto;
    border-radius: 2px;
}

/* H2 - Hauptüberschriften ohne Linie */
.single-post .entry-content h2 {
    font-size: 1.8rem !important;
    color: #009a93 !important;
    margin: 35px 0 20px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    position: relative;
}

/* H3 - Unterüberschriften mit dezenter Linie unten */
.single-post .entry-content h3 {
    font-size: 1.5rem !important;
    color: #009a93 !important;
    margin: 30px 0 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    border-bottom: 2px solid rgba(0, 154, 147, 0.2);
    padding-bottom: 10px;
}

/* H4 - Kleinste Überschriften, schlicht */
.single-post .entry-content h4 {
    font-size: 1.3rem !important;
    color: #009a93 !important;
    margin: 25px 0 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

.single-post .entry-content h5,
.single-post .entry-content h6 {
    color: #009a93 !important;
    margin: 20px 0 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

/* Absätze */
.single-post .entry-content p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    color: #444 !important;
    text-align: justify;
}

.single-post .entry-content p:last-of-type {
    margin-bottom: 0 !important;
}

/* Starke Betonung */
.single-post .entry-content strong,
.single-post .entry-content b {
    color: #009a93;
    font-weight: 600;
}

/* Links */
.single-post .entry-content a {
    color: #009a93 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 154, 147, 0.3);
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.single-post .entry-content a:hover {
    color: #68bfbb !important;
    border-bottom-color: #68bfbb;
    background-color: rgba(0, 154, 147, 0.05);
    border-radius: 3px;
}

/* Trennlinien */
.single-post .entry-content hr.wp-block-separator {
    border: none;
}

/* Listen */
.single-post .entry-content ul,
.single-post .entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-post .entry-content li {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 8px;
    color: #444;
}

.single-post .entry-content ul li {
    list-style: none;
    position: relative;
}

.single-post .entry-content ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background-color: #009a93;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Blockquotes */
.single-post .entry-content blockquote {
    background-color: #f8fffe;
    border-left: 5px solid #009a93;
    margin: 30px 0;
    padding: 25px 30px;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0, 154, 147, 0.1);
}

/* Button Styling für Blog-Posts */
.single-post .entry-content .wp-block-button .wp-block-button__link,
.single-post .entry-content .wp-block-buttons .wp-block-button .wp-block-button__link {
    color: #fff !important;
    border-radius: 5px !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    overflow: hidden !important;
    background-color: #009a93 !important;
    line-height: 2 !important;
    text-transform: uppercase !important;
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    display: inline-block !important;
    padding: 8px 30px !important;
    position: relative !important;
    border: none !important;
    transition: background-color 0.5s ease !important;
    /* Verhindert Verformung beim Hover */
    transform: none !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

.single-post .entry-content .wp-block-button .wp-block-button__link:hover,
.single-post .entry-content .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
    background-color: #007a73  !important;
}

/* Verhindert jegliche Verformung und Bewegung beim Hover */
.single-post .entry-content .wp-block-button .wp-block-button__link:hover,
.single-post .entry-content .wp-block-buttons .wp-block-button .wp-block-button__link:hover,
.single-post .entry-content .wp-block-button:hover,
.single-post .entry-content .wp-block-buttons .wp-block-button:hover {
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
}

/* Featured Image falls vorhanden */
.single-post .post-thumbnail {
    margin-bottom: 0;
}

.single-post .post-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Navigation zwischen Posts */
.single-post .post-navigation {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.single-post .post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.single-post .post-navigation .nav-previous,
.single-post .post-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

.single-post .post-navigation a {
    display: block;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.single-post .post-navigation a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-color: #009a93;
}

.single-post .post-navigation .meta-nav {
    font-size: 0.9rem;
    color: #009a93;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.single-post .post-navigation .post-title {
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .single-post .site-main {
        margin-bottom: -10px;
    }
    
    .single-post .content-area {
        padding: 20px 15px;
    }
    
    .single-post .entry-header {
        padding: 30px 20px 0px 20px;
    }

    .single-post .entry-meta .posted-on {
        font-size: 0.8rem;
    }

    .single-post .entry-meta {
        margin: 0px;
    }
    
    .single-post .entry-title {
        font-size: 2rem !important;
        letter-spacing: 1px !important;
    }
    
    .single-post .entry-content {
        padding: 10px 25px;
    }
    
    .single-post .entry-content h1 {
        font-size: 1.8rem !important;
        letter-spacing: 1px !important;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.5rem !important;
        margin-top: 0px !important;
    }
    
    .single-post .entry-content h3 {
        font-size: 1.3rem !important;
    }
    
    .single-post .entry-content h4 {
        font-size: 1.2rem !important;
    }
    
    .single-post .entry-meta .posted-on {
        display: block;
        margin-right: 0;
    }
    
    .single-post .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .single-post .post-navigation .nav-previous,
    .single-post .post-navigation .nav-next {
        max-width: 100%;
    }

    .single-post .entry-content hr.wp-block-separator {
        display: none;
    }

    .single-post .entry-content .wp-block-button,
    .single-post .entry-content .wp-block-buttons .wp-block-button {
        margin: 10px 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .single-post .entry-title {
        font-size: 1.6rem !important;
    }
    
    .single-post .entry-content h1 {
        font-size: 1.5rem !important;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.3rem !important;
    }
    
    .single-post .entry-content h3 {
        font-size: 1.2rem !important;
    }
    
    .single-post .entry-content h4 {
        font-size: 1.1rem !important;
    }

    .single-post .entry-content .wp-block-button,
    .single-post .entry-content .wp-block-buttons .wp-block-button {
        width: 100% !important;
    }

    .single-post .entry-content .wp-block-button .wp-block-button__link,
    .single-post .entry-content .wp-block-buttons .wp-block-button .wp-block-button__link {
        width: 100% !important;
    }
    
    /* Hover-Effekt deaktivieren */
    .single-post .entry-content .wp-block-button .wp-block-button__link:hover,
    .single-post .entry-content .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
        background-color: #009a93 !important;
    }
}