/* 头部配色覆盖（导航栏 + 头部条 + 搜索按钮） */
.top-navigation { background-color: #f5f5f5 !important; border-bottom: 1px solid #797979; }
.top-navigation .nav-item,
.top-navigation .nav-item i { color: #0078ce !important; }
/* 导航栏内的按钮保持和导航项一致，不要深红背景 */
.top-navigation .btn-primary {
    background: transparent !important;
    color: #0078ce !important;
    box-shadow: none !important;
}
.top-navigation .btn-primary:hover {
    color: #0078ce !important;
    box-shadow: none !important;
    transform: none !important;
}

.modern-header { background-color: #0078ce !important; }
.modern-header .site-title a,
.modern-header .contact-info { color: #ffffff !important; }
.modern-header .contact-info i { color: #ffffff !important; }
.modern-header .qrcode-container p,
.desktop-qrcode p { color: #ffffff !important; }
.modern-header .search-btn,
.search-btn {
    background-color: #fa4b01 !important;
    color: #fff !important;
    border: none !important;
}

/* 响应式布局 - 只在电脑版显示二维码 */
@media (min-width: 769px) {
    .desktop-qrcode {
        display: block !important;
    }
    .header-content {
        align-items: center;
    }
}

/* 手机版不显示二维码 */
@media (max-width: 768px) {
    .desktop-qrcode {
        display: none !important;
    }
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .header-title-group {
        text-align: center;
    }
    .desktop-search {
        width: 100%;
        max-width: 300px;
    }
    /* 手机版隐藏底部的地址、备案号和后台管理 */
    footer {
        display: none;
    }
}
