/* WordPress-Integration, ohne das Originaldesign grundsätzlich zu verändern. */
#content_main img, #content_side img, #content_full img { max-width: 100%; height: auto; }
#content_main table, #content_side table { max-width: 100%; }
#content_main .wp-block-image { margin: 16px 0; }
#content_main .wp-block-image img { display: block; }
#content_main iframe { max-width: 100%; }
/* Aktueller Menüpunkt inklusive Gewässerschutz-Unterseiten: Desktop und mobil. */
#navigation li.act > a,
#navigation li.current-menu-item > a,
#navigation li.current_page_item > a,
#navigation li.current_page_ancestor > a,
#navigation li.current-page-ancestor > a,
#navigation li.current-menu-ancestor > a,
#navigation li.current-menu-parent > a { color: #fff; border-bottom: 1px dotted #fff; }
#mobile_navigation li.act > a,
#mobile_navigation li.current-menu-item > a,
#mobile_navigation li.current_page_item > a,
#mobile_navigation li.current_page_ancestor > a,
#mobile_navigation li.current-page-ancestor > a,
#mobile_navigation li.current-menu-ancestor > a,
#mobile_navigation li.current-menu-parent > a { color: #c10514; }
#footer #footer_links { height: auto; }
#footer { min-height: 55px; }
#footer_links li { list-style: none; }
#content_side img { max-width: 100%; }
#content_main .table-scroll { max-width: 100%; overflow-x: auto; }
#content_main td, #content_main th { overflow-wrap: anywhere; }
.mobile_trigger { border: 0; font-family: inherit; }
.mobile_trigger:focus-visible, #mobile_navigation a:focus-visible { outline: 3px solid #FFD400; outline-offset: 3px; }
@media (max-width: 780px) {
  #header { z-index: 15; }
  #wrapper { margin-top: 0; }
  #mobile_navigation { max-height: 100vh; overflow-y: auto; }
}
@media (max-width: 480px) {
  #content_main td, #content_main th { font-size: 14px; }
}

/* Originale TYPO3-Inhaltsbilder aus dem SQL-Export. */
#content_side .csc-textpic-imagewrap { margin: 12px 0; }
#content_side .csc-textpic-imagewrap img { display: block; width: 100%; height: auto; }
.hakn-missing-map { border-bottom: 1px dotted #999; cursor: help; }
