/* Conteneur principal */
.menu-accordeon-rura {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Inter', sans-serif;
}

/* Conteneur par item */
.menu-accordeon-rura .menu-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Styles communs pour toggle et liens niveau 1 */
.menu-accordeon-rura .menu-toggle,
.menu-accordeon-rura .menu-link {
    all: unset;
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    color: var(--e-global-color-7438685);
    text-decoration: none;
    width: 100%;
    line-height: 1.2;
}

/* Hover et focus */
.menu-accordeon-rura .menu-toggle:hover,
.menu-accordeon-rura .menu-link:hover,
.menu-accordeon-rura .menu-toggle:focus,
.menu-accordeon-rura .menu-link:focus,
.menu-accordeon-rura .menu-toggle.is-active {
    color: var(--e-global-color-d690d27);
    background: transparent !important;
    box-shadow: none !important;
}

/* Sous-menu niveau 2 */
.menu-accordeon-rura .submenu {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-left: 20px;
    font-size: 44px;
}

.menu-accordeon-rura .submenu-item {
    text-decoration: none;
    color: var(--e-global-color-7438685);
    font-size: 18px;
    font-weight: 400;
    padding: 4px 0;
}

.menu-accordeon-rura .submenu-item:hover {
    color: var(--e-global-color-d690d27);
}

/* Symbole + / - */
.menu-accordeon-rura .menu-toggle .toggle-symbol {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    margin-left: 10px;
    font-weight: 700;
    user-select: none;
    width: 24px;
    text-align: center;
    color: inherit; /* suit la couleur du toggle */
}

/* Forcer sous-menus repliés */
.menu-accordeon-rura .submenu[hidden] {
    display: none !important;
}

/* Tablette <= 1024px */
@media (max-width: 1024px) {
    .menu-accordeon-rura .menu-toggle,
    .menu-accordeon-rura .menu-link { font-size: 28px; }
    .menu-accordeon-rura .submenu { font-size: 36px; }
    .menu-accordeon-rura .submenu-item { font-size: 20px; }
}

/* Mobile <= 767px */
@media (max-width: 767px) {
    .menu-accordeon-rura .menu-toggle,
    .menu-accordeon-rura .menu-link { font-size: 22px; }
    .menu-accordeon-rura .submenu { font-size: 28px; margin-left: 0; }
    .menu-accordeon-rura .submenu-item { font-size: 20px; }
}
