/*
 Theme Name: Carthago Theme
 Description: Custom Theme für Carthago
 Version: 1.0.0
 Author: Network-Media
 Text Domain: carthago
*/
/* Container */
.lang-switcher { position: relative; }

/* Dropdown verstecken */
.lang-switcher__menu {
    position: absolute;
    top: calc(100% + -25px);
    right: 0;
    /*min-width: 160px;*/
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;

    /* Optionales Styling */
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* Zeigen bei Hover UND Tastatur-Focus */
.lang-switcher:hover .lang-switcher__menu,
.lang-switcher:focus-within .lang-switcher__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher.is-open .lang-switcher__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* WPML-Ausgabe aufräumen (greift auf WPMLs <ul>) */
.lang-switcher__menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lang-switcher__menu li {
    margin: 0;
}

.lang-switcher__menu a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
}

.lang-switcher__menu a:hover,
.lang-switcher__menu a:focus {
    background: rgba(0,0,0,.06);
}
svg.swiper-navigation-icon {
    display: none;
}

body.admin-bar header {
    top: var(--wp-admin--admin-bar--height, 0px) !important;
}
body.admin-bar main .page-header.start-header .page-header__inner {
    top: calc(var(--site-header-height) + var(--wp-admin--admin-bar--height, 0px));
}
