/* Desktop header alignment */
.header_right_top .header_menu_top {
    white-space: nowrap;
}

.header_right_top .header_menu_top a {
    white-space: nowrap;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: #85c226;
    color: #fff;
    padding: 15px;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.mobile-menu-toggle::after {
    content: '\25BC'; /* Down arrow */
    float: right;
    font-size: 12px;
}

.mobile-menu-toggle.active::after {
    content: '\25B2'; /* Up arrow */
}

.mobile-nav {
    display: none;
    background: #f5f5f5;
    margin-bottom: 10px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav > ul > li {
    border-bottom: 1px solid #ddd;
}

.mobile-nav > ul > li > a {
    display: block;
    padding: 12px 15px;
    color: #838383;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    background: #e8e8e8;
}

.mobile-nav > ul > li > a:hover {
    background: #d8d8d8;
}

.mobile-nav .mobile-submenu {
    display: none;
    background: #fff;
    padding: 0;
}

.mobile-nav .mobile-submenu.active {
    display: block;
}

.mobile-nav .mobile-submenu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav .mobile-submenu li a {
    display: block;
    padding: 10px 15px 10px 30px;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    background: url(dot_list_menu_01_7x7.gif) no-repeat 15px center;
}

.mobile-nav .mobile-submenu li a:hover {
    background-color: #f5f5f5;
    background-image: url(dot_list_menu_01_7x7.gif);
    background-repeat: no-repeat;
    background-position: 15px center;
}

.mobile-nav .has-submenu > a::after {
    content: '\25BC'; /* Down arrow */
    font-size: 10px;
    float: right;
}

.mobile-nav .has-submenu.open > a::after {
    content: '\25B2'; /* Up arrow */
}

/* Desktop menu - hide on mobile */
.header_right {
    display: block;
}

/* Responsive adjustments (non-grid/content_right) */
@media (max-width: 768px) {
    DIV#wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    DIV#header {
        height: auto;
        padding: 10px;
        box-sizing: border-box;
    }
    
    DIV#content {
        width: 100%;
        overflow-x: hidden;
    }
    
    .header_left {
        width: 100%;
        float: none;
        text-align: center;
    }
    
    .header_logo {
        margin-top: 5px !important;
        max-width: 100%;
        height: auto;
    }
    
    .header_right {
        width: 100%;
        float: none;
        display: none; /* Hide desktop menu on mobile */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header_right_top {
        float: none;
        width: 100%;
        padding: 10px 0;
        height: auto;
    }
    
    .header_right_top > div {
        float: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .header_menu_top {
        float: none !important;
        padding: 5px 0 !important;
        background: none !important;
    }
    
    FORM.search-form {
        margin: 10px 0;
    }
    
    INPUT.search {
        width: 100%;
        max-width: 200px;
    }
    
    UL.header_menu {
        display: none !important;
    }
    
    DIV.content_left {
        width: 100%;
        float: none;
        padding: 10px;
        background: #f5f5f5;
        margin-bottom: 0;
        box-sizing: border-box;
        padding-bottom: 10px;
    }
    
    DIV.content_left > div:last-of-type {
        margin-bottom: 0;
    }
    
    DIV.content_left br {
        display: none;
    }
    
    IMG.index_banner {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
    
    .index_banner {
        width: 100%;
        overflow: hidden;
    }
    
    DIV.footer_menu {
        height: auto;
        line-height: 1.5;
    }
    
    A.footer_menu {
        display: block;
        padding: 8px 0;
        background: none !important;
        border-bottom: 1px solid #666;
    }
    
    DIV.footer_address {
        padding: 1px 10px;
    }
    
    DIV#footer {
        background: url(https://indochinajunkcruises.com/images/4.GIF) repeat;
        margin-top: 15px;
    }
    
    .box_private iframe {
        width: 100%;
        height: 250px;
    }
    
    .box_private {
        margin-bottom: 0 !important;
    }
    
    .bg_bottom {
        padding-bottom: 0;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-nav {
        display: none !important;
    }
}
