/* === BLOG SINGLE – HARDFIX (V2) ====================================== */ /* Lädt nur auf Einzel-Posts (per HFCM-Targeting). */ html body.single-post{ --post-max: 760px; --post-pad: 20px; } /* Breite/Container vereinheitlichen (Theme, Elementor & Gutenberg) */ html body.single-post .site-main > article, html body.single-post .content-area > article, html body.single-post article .entry-content, html body.single-post .entry-content, html body.single-post .elementor, html body.single-post .elementor-section.elementor-section-boxed > .elementor-container, html body.single-post .wp-site-blocks .wp-block-post-content, html body.single-post .wp-block-group.is-layout-constrained{ max-width: var(--post-max) !important; margin-left: auto !important; margin-right: auto !important; padding-left: var(--post-pad) !important; padding-right: var(--post-pad) !important; box-sizing: border-box !important; } /* Titel */ html body.single-post h1.entry-title, html body.single-post .entry-title, html body.single-post article h1, html body.single-post .elementor .elementor-widget-heading .elementor-heading-title{ font-size: clamp(28px, 2.2vw + 18px, 42px) !important; line-height: 1.15 !important; margin: 8px 0 18px !important; } /* Überschriften im Content */ html body.single-post .entry-content h2, html body.single-post .elementor h2, html body.single-post .wp-block-post-content h2{ font-size: clamp(24px, 1.2vw + 18px, 34px) !important; line-height: 1.25 !important; margin: 2.2rem 0 0.9rem !important; } html body.single-post .entry-content h3, html body.single-post .elementor h3, html body.single-post .wp-block-post-content h3{ font-size: clamp(20px, 1vw + 14px, 28px) !important; margin: 1.6rem 0 0.6rem !important; } /* Fließtext */ html body.single-post .entry-content p, html body.single-post .elementor .elementor-widget-text-editor, html body.single-post .wp-block-post-content p, html body.single-post .wp-block-post-content li{ font-size: 18px !important; line-height: 1.7 !important; color: inherit !important; } /* Listen & Zitate */ html body.single-post .entry-content ul, html body.single-post .entry-content ol, html body.single-post .wp-block-post-content ul, html body.single-post .wp-block-post-content ol{ margin:0 0 1.2rem 1.25rem !important; padding:0 !important; } html body.single-post blockquote, html body.single-post .wp-block-quote{ margin:1.4rem 0 !important; padding:0.8rem 1rem !important; border-left:4px solid currentColor !important; background:rgba(0,0,0,0.035) !important; } /* Bilder */ html body.single-post .entry-content img, html body.single-post .entry-content figure img, html body.single-post .wp-block-image img, html body.single-post .elementor img{ display:block !important; max-width:100% !important; width:100% !important; height:auto !important; border-radius:8px !important; } html body.single-post figure{ margin:1.2rem 0 !important; } /* Breite neutralisieren bei alignwide/full */ html body.single-post .entry-content .alignwide, html body.single-post .entry-content .alignfull, html body.single-post .wp-block-post-content .alignwide, html body.single-post .wp-block-post-content .alignfull{ max-width: var(--post-max) !important; margin-left:auto !important; margin-right:auto !important; } /* Links ohne globale Unterstreichung */ html body.single-post .entry-content a, html body.single-post .wp-block-post-content a, html body.single-post .elementor a{ text-decoration: none !important; } /* Häufige Fehlformatierungen abräumen */ html body.single-post .entry-content *{ text-transform:none !important; } html body.single-post .entry-content .alignleft, html body.single-post .entry-content .alignright{ float:none !important; margin:0 !important; } html body.single-post .entry-header{ margin-bottom:0 !important; } html body.single-post article{ margin-bottom:3rem !important; } /* Elementor-Kit-Overrides aushebeln (falls Global Fonts greifen) */ html body.single-post :where([class*="elementor-kit"]) *{ font-family: inherit !important; }