/* Titelbanner für alle normalen WordPress-Beiträge. */
body.single-post .fusion-page-title-bar {
 background-color: #b51f2b !important;
 background-image: url("https://sfv-halle.de/wp-content/uploads/2020/07/Untitled-1.jpg") !important;
 background-position: right center !important;
 background-repeat: no-repeat !important;
 background-size: cover !important;
 border: 0 !important; height: auto !important; min-height: 169px !important;
 padding: 36px 24px 40px !important; box-sizing: border-box;
 display: flex !important; align-items: center !important;
}
body.single-post .fusion-page-title-row {
 width: 100% !important; max-width: 1100px !important; height: auto !important; margin: 0 auto !important;
}
body.single-post .fusion-page-title-wrapper { display: block !important; height: auto !important; }
body.single-post .fusion-page-title-captions { width: 100% !important; text-align: center !important; }
body.single-post .fusion-page-title-bar h1 {
 font-family: Arial,Helvetica,sans-serif !important;
 font-size: clamp(28px,4vw,48px) !important; font-weight: 800 !important;
 line-height: 1.15 !important; color: #fff !important;
 text-align: center !important; margin: 0 !important;
 text-transform: none !important; overflow-wrap: break-word;
}
body.single-post .fusion-page-title-bar .fusion-breadcrumbs { display: none !important; }
/* Ergänzt die serverseitige Kommentarsperre um Avadas sichtbare Elemente. */
#comments, #respond, #commentform, .comment-respond,
.fusion-comments, .fusion-comments-tb, .fusion-meta-info .fusion-comments {
 display: none !important;
}

/* Einzelbilder in Beiträgen: gemeinsame Breite, ursprüngliche Proportionen.
   Galerien behalten ihr eigenes Raster. */
body.single-post .post-content img:not(.emoji):not(.avatar):not(.wp-smiley):not(.gallery img):not(.wp-block-gallery img):not(.fusion-gallery img) {
 display: block !important;
 width: 100% !important;
 max-width: 800px !important;
 height: auto !important;
 float: none !important;
 margin-left: auto !important;
 margin-right: auto !important;
 box-sizing: border-box;
}
body.single-post .post-content .wp-caption,
body.single-post .post-content .wp-block-image {
 width: 100% !important;
 max-width: 800px !important;
 float: none !important;
 margin: 24px auto !important;
 box-sizing: border-box;
}
body.single-post .post-content .wp-block-image figure {
 float: none !important;
 width: 100% !important;
 margin-left: auto !important;
 margin-right: auto !important;
}
body.single-post .post-content .wp-caption-text,
body.single-post .post-content figcaption {
 text-align: center;
 font-size: 14px;
 line-height: 1.5;
 margin-top: 8px;
}

/* Klassische WordPress-Galerien innerhalb von News-Beiträgen. */
body.single-post .post-content .gallery {
 display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr));
 gap: 20px; width: 100% !important; max-width: 1000px; margin: 28px auto !important;
}
body.single-post .post-content .gallery::before,
body.single-post .post-content .gallery::after,
body.single-post .post-content .gallery > br { display: none !important; }
body.single-post .post-content .gallery .gallery-item {
 float: none !important; width: auto !important; max-width: none !important;
 margin: 0 !important; padding: 0 !important; min-width: 0;
}
body.single-post .post-content .gallery .gallery-icon {
 width: 100%; aspect-ratio: 4 / 5; overflow: hidden; margin: 0; padding: 0;
}
body.single-post .post-content .gallery .gallery-icon a { display: block; width: 100%; height: 100%; }
body.single-post .post-content .gallery .gallery-icon img {
 display: block !important; width: 100% !important; max-width: none !important;
 height: 100% !important; aspect-ratio: 4 / 5; object-fit: cover !important;
 object-position: center top; border: 0 !important; margin: 0 !important;
}
@media (max-width: 760px) {
 body.single-post .post-content .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
}
@media (max-width: 480px) {
 body.single-post .post-content .gallery { grid-template-columns: minmax(0,1fr); }
}

/* Metaangaben als normaler Text, Teilen-Box ausblenden. */
#main .sfv-meta-text { cursor: text; text-decoration: none; color: inherit; }
body.single-post .fusion-single-sharing-box { display: none !important; }
