body.vikinger-body {
    background-color: #262626;
    color: #f4f4f4;
    font-family: "Libertinus Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.6;
}

h1,h2,h3 {padding:20px 0;}

.border-bottom  {
    border-bottom: 1px solid #d4af37!important;
}

.border-top {
    border-top: 1px solid #d4af37!important;
}

/* Header */
.logo {
     width: 100px;
    height: 100px;
    float: left;
    padding: 0;    
}

.logo-name {
    padding: 16px 5px 0 5px;
    font-size: 40px;
    font-weight: bold;
    background: linear-gradient(to bottom, #ffc928 50%, #bf8d05 80%);
    
    /* Beschneidet den Hintergrund auf die Form des Textes */
    -webkit-background-clip: text; 
    background-clip: text;
    
    /* Macht die Textfarbe transparent, sodass der Hintergrund sichtbar wird */
    -webkit-text-fill-color: transparent; 
    color: transparent; /* Fallback für ältere Browser */
}

.logo-name a {
    text-decoration: none;
}

.logo-name a:hover {
    text-decoration: underline;
    color: #d4af37;
}

/* ============================
   Hauptmenü
============================ */
.vikinger-menu {
    padding: 0;
}

.vikinger-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vikinger-menu li {
    display: inline-block;
    padding: 5px;
}

.vikinger-menu a:link,
.vikinger-menu a:visited,
.vikinger-menu .mod-menu__heading {
    color: #f3f3f3;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 10px;
    display: inline-block;
}

.vikinger-menu a:hover,
.vikinger-menu .mod-menu__heading:hover {
    color: #d4af37;
}

.vikinger-menu .nav-item.current a {
    color: #d4af37;
}

.nav-item.parent.active > a {
    background-color: #007bff;
    color: #fff;
}

/* ============================
   Submenü (dynamische Spalten)
============================ */

.mod-menu__sub {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mod-menu__sub a {
    pointer-events: auto;
}

.nav-item.deeper.parent {
    position: static; /* Submenu nicht am li gebunden */
}

.vikinger-menu .mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;                  /* volle Breite des Containers */
    flex-wrap: wrap;              /* mehrere Zeilen erlauben */
    background: #484848;
    box-shadow: 0 8px 8px rgba(0,0,0,0.4);
    border-radius: 0 0 4px 4px;
    max-height: 0;
    overflow: hidden;
    display: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    padding: 10px;
}

/* Offen-Zustand */
.vikinger-menu .mod-menu__sub.open {
    display: flex;
}

/* Submenu-Items dynamisch */
.vikinger-menu .mod-menu__sub li {
    flex: 1 0 300px;      /* flex-grow=1, flex-shrink=0, Basis=300px */
    box-sizing: border-box;
}

/* Links zentrieren */
.vikinger-menu .mod-menu__sub li a {
    display: block;
    padding: 8px 15px;
    text-align: center;
    color: #3b3b3b;
    text-decoration: none;
    background-color: #D4AF37;
    border-radius: 4px;
}

/* Hover & Current */
.vikinger-menu .mod-menu__sub li a:hover,
.vikinger-menu .mod-menu__sub li.current a {
    color: #fafafa;
    font-weight: bold;
    background-color: #fcc82d;
}

/* Mobile Ansicht */
@media (max-width: 991px) {
    /* Submenu scrollbar */
    .vikinger-menu .mod-menu__sub {
        position: relative;
        width: 100%;
        display: block;       /* block statt flex */
        overflow-y: auto;     /* vertikal scrollbar */
    }

    .vikinger-menu .mod-menu__sub li {
        width: 100%;
        flex: none;
        display: block;
    }

    .mod-menu__sub {height: 50vh}

    .vikinger-menu .mod-menu__sub {padding: 0;}

    .navbar-toggler {
        border: 2px solid #d4af37;
        color: #d4af37;
        font-weight: bold;
        font-size: 30px;
        margin: 10px 45%;
    }
}

/* Search */
.search .form-control {
    margin-top: 30px;
}

.search .form-control {
    box-shadow: inset 0px 0px 5px #444444;
    width: 100px;
}

.search .mod-finder {float: right;}

.result__title-url {color: #d4af37;}

.result__date {color: #ccc; font-size: 14px;}

/* Top */
.top {    
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
    height: auto;
}

.top-image {    
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

/* Content */
.vikinger-container {
    min-height: 600px;
}

.vikinger-container a {
    color: #d4af37;
}

.vikinger-container a:hover {
    color: #dddddd;
}

.vikinger-sidebar { 
    border-left: 1px solid #d4af37; 
    padding: 0 20px;
}

.vikinger-sidebar h3 {
    color: #d4af37;
    border-bottom: 1px solid #d4af37;
    padding-bottom: 5px;
    text-align: center;
}

.vikinger-footer {
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
}

.vikinger-footer a {
    color: #d4af37;
    padding: 5px;
    text-decoration: none;
}

.vikinger-footer a:hover {
    color: #dddddd;
}

.mod-breadcrumbs__wrapper {
    justify-content: center !important;
    display: flex;
}

.breadcrumb {
    padding: 10px!important;
    font-size: 16px;
    color: #f5f5f5;
}

.breadcrumb-item.active, .modified {color: #f4f4f4;}

/* Artikel Override Beispiel */
.article-content img {
    max-width: 100%;
    height: auto;
    border: 2px solid #d4af37;
    margin: 10px 0;
}

.article-content h2, .article-content h3 {
    color: #d4af37;
}

.article-info .modified {font-size: 16px}

/* Foldergallery */
.foldergallery {
    display:block;
    margin: 40px 0;
    padding: 0;
    border-radius: 5px;
}

.fg-row { display:flex; flex-wrap:wrap; gap:10px; }

.fg-item { width:200px; }

.fg-item img { width:100%; height:auto; display:block; }

.fg-desc { font-size:14px; margin-top:4px; }

.foldergallery .btn {
    background: #999;
    padding: 10px;
    font-size: 18px;
}

.foldergallery .btn.active {
     background: #D4AF37;
     color: #3b3b3b;
}

 .foldergallery .btn:hover {
    background: #D4AF37;
}

.foldergallery .fg-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foldergallery .fg-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.foldergallery .card-img-top {    
    background-color: #f4f4f4;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.foldergallery.light .card {
    background-color: #fff;
    color: #3b3b3b;
    border: 4px solid #D4AF37;
}

.foldergallery.dark .card {
    background-color: #262626;
}

.foldergallery.dark .card-body small {
    font-size: 18px;
    color: #f4f4f4!important;
}

/* Accordion */
.accordion-item {
    background-color: transparent; 
    border: none; 
    color: #f4f4f4;
}

/* Cookies */
#cookiesck_interface {
    background: #484848;
}

#cookiesck_interface .cookiesck-main-desc {
    text-align: center;
}

.cookiesck-category-name, .cookiesck-category-desc {
    color: #f4f4f4;
}