/* ===================================
   Wolf Immobilien – Blog Post Styles
   =================================== */

/* Content width constraint for readability */
body.blog-post .content .container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Blog title */
body.blog-post .lc-blog-title {
    font-size: 2.4rem;
    line-height: 1.25;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 12px;
    max-width: 760px;
}

/* Word count / reading time */
body.blog-post .lc-blog-word-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6b7a8d;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

body.blog-post .lc-blog-word-count .svg-icon {
    width: 18px;
    height: 18px;
    color: #8899aa;
}

/* Hero image – full width with rounded corners */
body.blog-post .qms-image-module .qms-image-content {
    height: auto !important;
    max-height: 420px;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body.blog-post .qms-image-module .qms-image-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 420px;
    display: block;
}

/* Article body text styling */
body.blog-post .qms-simple-text-module {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3748;
}

body.blog-post .qms-simple-text-module h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2332;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 2px solid #e2e8f0;
}

body.blog-post .qms-simple-text-module h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a2332;
    margin-top: 36px;
    margin-bottom: 14px;
}

body.blog-post .qms-simple-text-module h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333f59;
    margin-top: 28px;
    margin-bottom: 12px;
}

body.blog-post .qms-simple-text-module p {
    margin-bottom: 18px;
    color: #374151;
}

body.blog-post .qms-simple-text-module ul,
body.blog-post .qms-simple-text-module ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

body.blog-post .qms-simple-text-module li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #374151;
}

body.blog-post .qms-simple-text-module strong {
    color: #1a2332;
    font-weight: 600;
}

body.blog-post .qms-simple-text-module a {
    color: #2477bf;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

body.blog-post .qms-simple-text-module a:hover {
    color: #1a5a9e;
}

/* Share buttons area */
body.blog-post .qms-clearfix {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Blog post navigation (next/prev) */
.qms-blog-post-nav {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px;
}

.qms-blog-post-nav a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.qms-blog-post-nav a:hover {
    border-color: #333f59;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.qms-blog-post-nav a h3 {
    font-size: 1rem;
    margin: 4px 0;
    color: #1a2332;
}

.qms-blog-post-nav a span {
    font-size: 0.8rem;
    color: #8899aa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qms-blog-post-nav a p {
    font-size: 0.85rem;
    color: #6b7a8d;
    margin: 0;
}

.qms-blog-post-nav a img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
}

.qms-blog-post-nav .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f6f8;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Section padding adjustment */
body.blog-post .lc-section-content {
    padding-top: 32px;
    padding-bottom: 48px;
}

/* Hide blog post info (category etc.) */
body.blog-post .qms-blog-post-info {
    display: none;
}

/* "Zurück zum Ratgeber" link at top */
body.blog-post .blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #6b7a8d;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}

body.blog-post .blog-back-link:hover {
    color: #333f59;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.blog-post .lc-blog-title {
        font-size: 1.8rem;
    }
    
    body.blog-post .qms-image-module .qms-image-content {
        max-height: 280px;
        border-radius: 12px !important;
    }
    
    body.blog-post .qms-simple-text-module {
        font-size: 1rem;
    }
    
    body.blog-post .qms-simple-text-module h2 {
        font-size: 1.4rem;
    }
    
    body.blog-post .qms-simple-text-module h3 {
        font-size: 1.2rem;
    }

    .qms-blog-post-nav a {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    body.blog-post .content .container {
        padding: 0 16px;
    }
    
    body.blog-post .lc-blog-title {
        font-size: 1.5rem;
    }
    
    body.blog-post .qms-image-module .qms-image-content {
        max-height: 220px;
        border-radius: 10px !important;
    }
}
