/*Add-on Arnaud 2026 */

.nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    z-index: 1000;
    background-color: #ffffff;
    min-width: 300px;
    padding: 1.2rem 0;
    list-style: none;
    border-radius: 0.4rem;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
    /*margin-top: 0.5rem;*/
}
.nav li.menu-item-has-children:hover > .sub-menu {
    display: block;
}

.nav .sub-menu li {
    list-style: none;
    margin: 0;
}

.nav .sub-menu li > a {
    padding: 0.8rem 1.6rem !important;
    font-size: 1.4rem;
    color: #37503C !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    white-space: normal;
    line-height: 1.4;
}

.nav .sub-menu li:hover > a {
    background-color: #f5f5f5;
    color: #37503C !important;
    padding-left: 2rem !important;
}

.nav .sub-menu li:first-child > a {
    border-radius: 0.4rem 0.4rem 0 0;
}

.nav .sub-menu li:last-child > a {
    border-radius: 0 0 0.4rem 0.4rem;
}

.nav li.member-top-menu{
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.nav li.member-top-menu a{
    float: none;
    text-align: center!important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
a.member-btn-menu {
    color: white!important;
}


.menu-item a, #et-menu li a {
    /*font-family: 'Recoleta'!important;*/
    font-family: "Recoleta", sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    color:#37503C;
}


.nav li.member-top-menu a.member-btn-menu, .menu-item a.member-btn-menu{
    background-color: #37503C;
    color: white;
    border-radius: 0.5em;
	/*display: inline-flex;*/
	align-items: center;
}

a.member-btn-menu::after {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 0.5em; /* espace AVANT la flèche */

	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1l4 4-4 4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

a.member-btn-menu:hover{
    background-color: #FFDE67!important;
    color: #37503c !important;;
 }

a.member-btn-menu:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1l4 4-4 4' fill='none' stroke='%2337503C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


#et-navigation>ul>li>a {

    padding: 0.5em !important;
}






@media (min-width: 1004px) {
    .main-header .header-top {
        align-items: center;
    }

    .header-top .logo_permaculture_design{
        width: auto;
        flex: 0 0 auto;
    }

    .header-top nav.main-nav-list{
        width: auto;
        flex: 1 1 auto;
    }

    .main-header .main-nav-list > ul {
        align-items: center;
    }

    .main-header .main-nav-list > ul > li.member-top-menu {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .main-header .main-nav-list > ul > li.member-top-menu > a {
        display: inline-flex;
        width: auto;
        white-space: nowrap;
    }
}


.extra-links{
    border-top: 1px solid #b2b2b2;
    
}