.page-header {
    --bs-page-header-bg: rgba(255, 255, 255, 1) !important;
}
#c52 h1 {
    display: none !important;
}

.page-header .navbar-meta a {
    color: #0e0e0e;
}
.navbar-brand img {
    max-width: 80% !important;
    width: 100% ;
    height: auto !important;
    margin-right: 0 !important;
}
.navbar .navbar-main a {
    color: #0a0a0a;
}
.dropdown-menu {
    --bs-dropdown-link-hover-color: #ffffff;
    --bs-dropdown-link-active-bg: #073 !important;
}
.dropdown-menu a {
    color: #0e0e0e;
}
.dropdown-item.active, .dropdown-item:active {
color: #FFFFFF !important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
color: var(--bs-nav-pills-link-active-color);
background-color: var(--bs-nav-pills-link-active-bg);
--bs-nav-pills-link-active-bg: #073 !important;
}
.nav a {
color: #073;
text-decoration: none;
background-color: transparent;
}
.nav a:hover {
color: #0a0a0a;
}

.searchbar-toggler {
   border-color: #6c757d !important;
}
.searchbar-toggler:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.ce-content a {
    color: #073 !important;
    text-decoration: none !important;
}
.ce-content a:hover {
    color: #0e0e0e !important;
    text-decoration: underline!important;
}
.table, .ce-table {
    --bs-table-bg: #f8f9fa !important;
}

.alert-success {
    --bs-alert-color: #155724 !important;
}

/* ---- Abgleich v13 -> v14 ---- */
/* Abstand unter Bildern wie v13: Spaltenabstand der Bildreihe (1.5rem), bei Text-mit-Bild-Elementen mit Text 1rem.
   (Galerien waren in v13 CType "image" und sind jetzt textmedia ohne Text.) */
html body figure.image,
html body figure.image:has(:not(.image-caption)) {
    margin-bottom: var(--bs-gutter-x);
}
html body .frame-type-textmedia:has(.ce-bodytext) figure.image,
html body .frame-type-textmedia:has(.ce-bodytext) figure.image:has(:not(.image-caption)) {
    margin-bottom: 1rem;
}
/* ehemalige "Bild"-Elemente (element_classes ce-image-gutter): in v13 immer Spaltenabstand, auch mit Text */
html body .ce-image-gutter.frame-type-textmedia figure.image,
html body .ce-image-gutter.frame-type-textmedia figure.image:has(:not(.image-caption)) {
    margin-bottom: var(--bs-gutter-x);
}
/* Ehemalige "Text"-Elemente (element_classes ce-tight-last, gesetzt von scripts/post_wizards.sql): in v13 hatte
   der letzte Absatz keinen Außenabstand (.ce-content > :last-child), textmedia schon */
html body .ce-tight-last .ce-bodytext > :last-child {
    margin-bottom: 0;
}
/* Linke Spalte mit Seitenmenü: in v13 war das Menü das erste Kind, das erste Element danach bekam keinen
   „erstes Element“-Abstand oben (spacing.yaml first) */
html body .nav-sidebar ~ .frame.t3b-pt-m:not(.nav-sidebar ~ .frame ~ .frame) {
    padding-top: 0;
}
