
/* Desktop Navigation */
@media (min-width: 1200px) {
    /* 使用 Flexbox 实现垂直居中和左右分布 */
    header[role="header"] .container,
    header[role="header"] .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 40px
    }

    /* Logo 样式调整 */
    header[role="header"] h1 {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important; /* 防止文字行高撑开 */
    }

    header[role="header"] h1 > a {
        float: none !important;
        display: block !important;
    }

    header[role="header"] h1 > a img {
        display: block !important; /* 清除图片底部间隙 */
    }

    /* 隐藏汉堡菜单按钮 */
    header[role="header"] nav #menu-button {
        display: none !important;
    }

    /* 导航容器调整 */
    header[role="header"] nav {
        float: none !important;
        padding-top: 0 !important;
        display: block !important;
    }

    /* 导航列表样式 */
    header[role="header"] nav ul {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: right !important;
        float: none !important;
    }

    header[role="header"] nav ul > li {
        display: inline-block !important;
        margin-left: 30px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: normal !important;
        vertical-align: middle !important;
    }

    header[role="header"] nav ul > li > a {
        /* line-height: 50px !important;  移除固定行高，依赖 Flex 居中 */
        color: #333 !important;
        padding: 10px 0 !important; /* 增加点击区域，但不影响高度计算 */
        display: block !important;
    }

    header[role="header"] nav ul > li:hover a, 
    header[role="header"] nav ul > li.nav-active a {
        color: #fb5353 !important;
        background: none !important;
    }
}