/* Supplemental site styles; visual review is performed in phase 4. */

/* Legacy content readability inside the new Bootstrap layout. */
.container .textfeld { float: none; margin: 0 0 1.5rem; width: auto; max-width: 100%; }
.container .bg_grau,
.container .bg_weiss,
.container .bg_hellgrau { float: none; width: auto; max-width: 100%; box-sizing: border-box; }
.container .textspalten .spalte1,
.container .textspalten .spalte2 { float: none; width: auto; max-width: 100%; }

/* Article body (Fachwissen / r-template_article). */
.d2tt2t p { margin: 0 0 0.75rem; }
.d2tt2t h1, .d2tt2t h2, .d2tt2t h3, .d2tt2t h4 { margin: 1rem 0 0.5rem; line-height: 1.25; }
.d2tt2t img { height: auto; max-width: 100%; }
.d2tt2t ul, .d2tt2t ol { margin: 0.75rem 0 0.75rem 1.25rem; }
.d2tt2t table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95em; }
.d2tt2t th,
.d2tt2t td { border: 1px solid #e0e0e0; padding: 0.4rem 0.55rem; text-align: left; vertical-align: top; }
.d2tt2t th { background: #f3f3f3; font-weight: 600; }

/* Slider panels manage their visibility at the parent level. */
.newselement .newsteaser { visibility: visible !important; opacity: 1 !important; }

/* Ensure main clears the fixed wsmenu header. */
body > main,
body > .stickyshare + main { padding-top: 1rem; }
#footerwrap { margin-top: 2rem; }
