.gdml-menu-switcher-inline{display:inline-flex;align-items:center;gap:.35em;white-space:nowrap}.gdml-menu-switcher-inline .gdml-language-separator{opacity:.45}.gdml-menu-switcher-inline .gdml-inline-language.is-current{font-weight:600}.gdml-menu-language-switcher.gdml-switcher-dropdown{position:relative}.gdml-menu-language-switcher .gdml-language-submenu{min-width:max-content}.gdml-menu-language-switcher .gdml-current-language{white-space:nowrap}

/* Standalone language-switcher shortcode (not navigation-menu items). */
ul.gdml-language-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4em;
    list-style: none;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.gdml-language-switcher > li.gdml-language {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    list-style: none;
    margin: 0;
    padding: 0;
}
.gdml-language-switcher > li.gdml-language > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35em;
    min-height: 24px;
    min-width: 24px;
    color: inherit;
    text-decoration: none;
    line-height: 1.25;
    white-space: nowrap;
}
.gdml-language-switcher .gdml-language-separator { opacity: .6; }
.gdml-language-switcher .is-current > a { font-weight: 600; }
.gdml-language-switcher > li.gdml-language > a:hover { text-decoration: underline; }
.gdml-language-switcher > li.gdml-language > a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
}
.gdml-language-switcher .gdml-language-flag {
    display: inline-block;
    flex: 0 0 auto;
    width: 24px;
    height: 16px;
    max-width: none;
    margin: 0;
    padding: 0;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 2px;
}
.gdml-language-switcher .gdml-language-flag--emoji {
    width: auto;
    height: auto;
    font-size: 1.3em;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.gdml-language-switcher--flags-only > li.gdml-language > a {
    min-width: 32px;
    min-height: 32px;
    border-radius: 3px;
}
.gdml-language-switcher--flags-only > li.is-current > a {
    box-shadow: inset 0 -2px 0 currentColor;
}
.gdml-language-switcher--flags-only > li.gdml-language > a:hover {
    box-shadow: inset 0 -2px 0 currentColor;
}

/* Prevent theme-generated language codes in flags-only shortcode mode. */
ul.gdml-language-switcher.gdml-language-switcher--flags-only > li.gdml-language::before,
ul.gdml-language-switcher.gdml-language-switcher--flags-only > li.gdml-language::after,
ul.gdml-language-switcher.gdml-language-switcher--flags-only > li.gdml-language > a::before,
ul.gdml-language-switcher.gdml-language-switcher--flags-only > li.gdml-language > a::after {
    content: none !important;
    display: none !important;
}

/* Keep the theme title out of translated TTE Elementor pages when the layout
   provides its own H1, or the source explicitly hides its title. */
body.gdml-translated-elementor-page.gdml-source-hide-title main#main-content > article.type-page > h1,
body.gdml-translated-elementor-page.gdml-source-hide-title article.type-page > .entry-header > .entry-title { display: none; }
@supports selector(:has(*)) {
    body.gdml-translated-elementor-page main#main-content > article.type-page > h1:has(+ .entry-content .elementor h1) { display: none; }
}
