/* Hide all location panels by default */
.location-mm-container{
    display: none;
}

/* Active panel */
.location-mm-container.active{
    display: flex;
}

/* Left menu */
.location-mm-item{
    cursor: pointer;
    transition: .2s ease;
}

/* Active state */
.location-mm-item.active{
    color: #2f7d73;
}

.location-mm-item.active svg{
    fill: #2f7d73;
}

.location-mm-item.active svg path {
    fill: #2f7d73;
    fill-opacity: 1;
}

.location-mm-item{
    position: relative;
    cursor: pointer;
    transition: all .25s ease;
    padding-right: 28px;
    cursor: pointer;
}

.location-mm-item::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background: url('https://dev.therecoveryvillage.com/wp-content/uploads/2026/07/arrow-green.svg') no-repeat center;
    background-size: contain;
    opacity: 0;
    transition: all .25s ease;
}

.location-mm-item.active::after,
.location-mm-item:hover::after{
    opacity: 1;
    right: 8px;
}

/* Location mobile menu */

/* Accordion title */
.locations-menu-mobile .e-n-accordion-item-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Add the location icon before the title */

.locations-menu-mobile .e-n-accordion-item-title-header::before {
    content: "";
    width: 24px;
    height: 24px;
    padding: 10px;
    margin-right: 12px;
    background: #E9E9E9 url("/wp-content/uploads/2026/07/location-svgrepo-com.svg") center/14px no-repeat;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Keep the title aligned */
.locations-menu-mobile .e-n-accordion-item-title-header {
    display: flex;
    align-items: center;
}


/* .locations-menu-mobile .e-n-accordion-item[open] .e-n-accordion-item-title-header::before {
    background: url(/wp-content/uploads/2026/07/green-location.svg) no-repeat center !important;
    width: 20px;
    height: 20px;
    background-size: contain !important;
} */

/* .locations-menu-mobile .e-n-accordion-item[open] .e-n-accordion-item-title-header::before {
    background: url(/wp-content/uploads/2026/07/green-location.svg) no-repeat center !important;
} */

/* First column */
.nav-dropdown-locations > .elementor-element:first-child{
    border-right: 1px solid #E5E5E5;
    padding-right: 32px; /* optional */
}

/* Optional spacing for the second column */
.nav-dropdown-locations > .elementor-element:nth-child(2){
    padding-left: 32px;
}


/* Hover Styles */

.location-mm-item.active span {
    font-weight: 600 !important;
}

.location-mm-container .elementor-icon-box-content:hover .elementor-icon-box-title a {
    color: #3e8275;
    font-weight: 600 !important;
    cursor: pointer;
}

.location-mm-item.active .elementor-icon-box-title {
    font-weight: 600 !important;
    color: #3e8275 !important;
}

.location-mm-container .elementor-icon-box-content:hover .elementor-icon-box-description {
    color: #3e8275 !important;
}

.locations-menu-mobile .elementor-icon-box-content:hover .elementor-icon-box-description {
    color: #3e8275 !important;
}

.locations-menu-mobile .elementor-icon-box-content:hover .elementor-icon-box-title a {
    font-weight: 600 !important;
}

.locations-menu-mobile .e-n-accordion-item[open] > .e-n-accordion-item-title {
    font-weight: 600 !important;
}

.locations-menu-mobile.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title div {
    font-weight: 600 !important;
}

.locations-menu-mobile .elementor-icon-box-content:hover .e-n-accordion-item-title-text {
    font-weight: 600 !important;
}

.locations-menu-mobile .e-n-accordion > .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-header::before {
    background: #E9E9E9 url("https://dev.therecoveryvillage.com/wp-content/uploads/2026/07/location-green-icon.svg") center / 14px no-repeat;
}