.sl-language-switcher {
    position: relative;
    display: inline-block;
}

.sl-language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: white;
    font-weight: 500;
    background-color: transparent;
    background-image: unset;
}

.sl-language-toggle i {
    color: white;
    font-size: 1em;
}

.sl-language-toggle span {
    color: white; /* Optional, ensures span is white too */
}

.sl-panel-switcher {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    min-width: 10vw;      /* reduce from 160px */
    max-width: 20vw;      /* optional: limits the stretch */
}

.sl-panel-switcher.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.sl-panel-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sl-panel-switcher li {
    padding: 0.3em 0;
}

.sl-panel-switcher li a {
    color: white;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s ease;
}

.sl-panel-switcher li a:hover {
}
@media only screen and (min-width: 240px) and (max-width: 768px) {
.sl-panel-switcher {
    position: absolute;
    top: -50px;
    right: 0;
    width: 100%;
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}
	}
