/*
Theme Name:     Foxiz Child
Template:       foxiz
Theme URI: https://foxiz.themeruby.com  
Author:         Theme-Ruby
Author URI: https://themeforest.net/user/theme-ruby/portfolio/  
Description:    Customizations for Foxiz using child theme
Version:        1.0
License:        Themeforest Licence
License URI: https://themeforest.net/licenses/standard  
*/

/* ============================
   SECOND MENU (Horizontal)
   ============================ */

.second-nav {
    background: #507486;
    padding: 5px 0;
    font-family: 'Roboto', sans-serif;
}

.second-menu {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.second-menu li {
    display: inline-block;
}

.second-menu li a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.second-menu li a:hover {
    text-decoration: underline;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .second-menu {
        gap: 10px;
        font-size: 12px;
        flex-wrap: wrap;
    }
}

/* --- Horizontal Menu di Header Advertising --- */

/* Target widget nav menu di header advertising */
#header-advertising .widget_nav_menu {
    text-align: center;
}

#header-advertising .widget_nav_menu .menu {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

#header-advertising .widget_nav_menu .menu > li {
    position: relative;
    display: inline-block;
}

#header-advertising .widget_nav_menu .menu > li > a {
    color: #fff !important;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    display: block;
}

#header-advertising .widget_nav_menu .menu > li > a:hover {
    text-decoration: underline;
    background: #446677;
    border-radius: 4px;
}

/* Dropdown */
#header-advertising .widget_nav_menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #507486;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

#header-advertising .widget_nav_menu .menu > li:hover .sub-menu {
    display: block;
}

#header-advertising .widget_nav_menu .sub-menu a {
    color: #fff !important;
    padding: 8px 15px;
    display: block;
    font-size: 13px;
}

#header-advertising .widget_nav_menu .sub-menu a:hover {
    background: #446677;
    text-decoration: none;
}

#header-advertising .widget_nav_menu .menu {
    display: flex !important;
    flex-direction: row !important;
}