/*!
Theme Name: migelwp
Theme URI:
Author:
Author URI:
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: migelwp
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}


/* ========================================
   Language switcher UA | RU — DESKTOP
   ======================================== */

.sp-megamenu-parent > li.migel-language-switcher {
    display: inline-flex !important;
    align-items: center;
    padding-left: 15px !important;
    vertical-align: middle;
}

.sp-megamenu-parent > li.migel-language-switcher > a {
    display: inline-block !important;
    width: auto !important;
    padding: 0 4px !important;
    margin: 0 !important;
    line-height: inherit !important;
    white-space: nowrap;
    color: #222;
}

.sp-megamenu-parent > li.migel-language-switcher > a:hover,
.sp-megamenu-parent > li.migel-language-switcher > a.active {
    color: #10a35a !important;
}

.sp-megamenu-parent > li.migel-language-switcher > .lang-separator {
    display: inline-block !important;
    margin: 0 2px;
    color: #aaa;
}


/* ========================================
   Language switcher UA | RU — MOBILE
   ======================================== */

/* На ПК мобільний перемикач не показуємо */
.mobile-language-switcher {
    display: none;
}


/* Тільки телефон */
@media (max-width: 767px) {

    .mobile-language-switcher {
        display: flex;
        align-items: center;
        gap: 8px;

        padding: 10px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);

    }

    .mobile-language-switcher a {
        display: inline-block;
        padding: 0 !important;
        margin: 0 !important;
        color: #fff;
        line-height: 1;
    }

    .mobile-language-switcher a:hover,
    .mobile-language-switcher a.active {
        color: #10a35a;
    }

    .mobile-language-switcher span {
        color: #777;
    }
}