/* WordPress Primary Menu Styles */
.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu > .menu-item {
    position: relative;
}

.primary-menu .menu-item a {
    position: relative;
    display: block;
    padding: 30px;
    font-size: 20px;
    font-weight: 500;
    color: white;
    text-decoration: none;
}

/* Hover underline effect */
.primary-menu .menu-item a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all 0.5s;
}

.primary-menu .menu-item a:hover::before {
    width: 100%;
}

/* Dropdown submenu styles */
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

.primary-menu .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.primary-menu .sub-menu .menu-item a {
    padding: 15px 30px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-menu .sub-menu .menu-item:last-child a {
    border-bottom: none;
}

.primary-menu .sub-menu .menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Remove hover underline for submenu items */
.primary-menu .sub-menu .menu-item a::before {
    display: none;
}

/* WordPress Top Location Menu Styles */
.top-location-menu {
    padding-left: 41px;
    align-self: stretch;
    width: 406px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 1;
    list-style: none;
    margin: 0;
}

/* Marker icon before menu */
.top-location-menu::before {
    content: '';
    width: 16px;
    height: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background: url(/wp-content/uploads/2025/06/marker.png) no-repeat center;
}

/* Green skewed background */
.top-location-menu::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -100%;
    background-color: #0b5124;
    transform: skewX(-40deg);
    z-index: -1;
}

/* Menu items */
.top-location-menu .menu-item {
    position: relative;
}

/* Divider lines between items */
.top-location-menu .menu-item::after {
    content: '';
    position: absolute;
    top: 5px;
    right: -11px;
    width: 1px;
    height: 15px;
    background-color: #fff;
}

/* Hide last divider */
.top-location-menu .menu-item:last-child::after {
    display: none;
}

/* Link styles */
.top-location-menu .menu-item a {
    display: block;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

/* Mobile Top Location Menu Styles */
.top-location-mobile-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-location-mobile-menu .menu-item {
    position: relative;
    font-size: 14px;
}

.top-location-mobile-menu .menu-item::after {
    content: '';
    position: absolute;
    top: 6px;
    right: -10px;
    width: 1px;
    height: 10px;
    background-color: #fff;
}

.top-location-mobile-menu .menu-item:last-child::after {
    display: none;
}

.top-location-mobile-menu .menu-item a {
    display: block;
    color: #fff;
    font-weight: 300;
    text-decoration: none;
}

/* Mobile menu toggle styles */
.mobile-menu-toggle,
.mobileBtn {
    text-decoration: none;
}