/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ==========================================================================
   WPML Language Switcher — Horizontal Flags
   ========================================================================== */

.wpml-ls-legacy-list-horizontal {
    --flag-size: 2rem;
    --gap-main: 1.2rem;
    --gap-label: 0.25rem;
}

/* Layout */
.wpml-ls-legacy-list-horizontal ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--gap-main);
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpml-ls-legacy-list-horizontal li {
    margin: 0;
}

/* Link (flag + label) */
.wpml-ls-legacy-list-horizontal .wpml-ls-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gap-label);
    padding: 0;
    text-align: center;
}

/* Flag */
.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
    display: block;
    width: var(--flag-size);
    height: auto;
    filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.25));
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpml-ls-legacy-list-horizontal .wpml-ls-link:hover .wpml-ls-flag {
    transform: scale(1.05);
    cursor: pointer;
}

/* Label */
.wpml-ls-legacy-list-horizontal .wpml-ls-native {
    display: block;
    line-height: 1.2;
}