/**
 * Spay Oklahoma P360 v1.42
 * Keep the English / Español selector anchored to one stable header slot.
 * Translation must never move it vertically or outside the main navigation row.
 */
.nav-inner {
    position: relative;
}

.site-language-switcher {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
}

/* Reserve the selector's header slot so navigation text cannot push it away.
 * Spanish already receives compact navigation typography in patch-v140. */
@media (min-width: 1100px) {
    .nav-inner {
        padding-right: 150px;
    }
}

/* On tablet/mobile the menu button owns the far-right edge. Keep the language
 * selector immediately to its left, in exactly the same place in both languages. */
@media (max-width: 1099px) {
    .site-language-switcher {
        top: 50%;
        right: 60px;
        transform: translateY(-50%);
        min-height: 38px;
        padding: 4px 7px 4px 9px;
    }

    .site-language-switcher__select {
        min-width: 84px;
        font-size: .7rem;
    }
}

@media (max-width: 430px) {
    .site-language-switcher {
        right: 54px;
    }

    .site-language-switcher__icon {
        display: none;
    }

    .site-language-switcher__select {
        min-width: 76px;
    }
}
