/* 
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 */

/* ── Nav dropdown: fix width so longest item fits without clipping ── */

/* Desktop: the ul.sub-menu positioned below the parent nav item */
ul.sub-menu.elementor-nav-menu--dropdown {
    min-width: 380px !important;
    width: max-content !important;
    max-width: 560px !important;
    overflow: visible !important;
}

ul.sub-menu.elementor-nav-menu--dropdown li a.elementor-sub-item {
    white-space: normal !important;
    word-break: normal !important;
}

/* Mobile: the sliding panel container — stop it clipping sub-item text */
.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    overflow-x: visible !important;
}

.elementor-nav-menu--dropdown.elementor-nav-menu__container li a {
    white-space: normal !important;
}

/* ── Nav dropdown hover: use brand gold instead of dark gray ── */
.elementor-sub-item:hover,
.elementor-sub-item:focus,
.elementor-sub-item.highlighted,
.elementor-sub-item.elementor-item-active {
    background-color: #A89470 !important;
    color: #fff !important;
}
