﻿/* 白色页头（2026-11-19）：客户 Logo 为蓝线白底，页头整体白底以融合
   版式与间距由最后加载的 theme.css 统一控制，这里只保留品牌色与图标 */
.x-header {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
}

/* Logo 直接放在白底上，不再需要白色底板 */
.x-header .x-logo {
    width: auto;
    background: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.x-header .x-logo img {
    max-height: 58px;
}

/* 公司名与标语 */
.x-header .top-brand,
.x-header .top-brand a {
    color: #5B6B7A;
}

.x-header .top-brand p {
    color: #102A43;
}

/* 电话与搜索图标 */
.x-header .hotline {
    display: flex;
    align-items: center;
    height: 40px;
    color: #102A43;
    background-image: none;
    padding-left: 0;
}

.x-header .hotline p {
    margin: 0;
}

.x-header .hotline::before {
    content: '';
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230561AA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.5 2.1L8.1 9.6a16 16 0 0 0 6.3 6.3l1.1-1.1a2 2 0 0 1 2.1-.5c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.7 2z'/></svg>") no-repeat center center;
    background-size: contain;
}

.x-search {
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 9px 8px 0 0;
}

.x-search:before {
    display: none;
}

.x-search img {
    display: none;
}

.x-search::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230561AA' stroke-width='1.8' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/></svg>") no-repeat center center;
    background-size: contain;
}

/* 导航 */
.x-header .x-header-right {
    width: auto !important;
}

.x-header .x-menu {
    width: auto !important;
}

.x-header .x-menu > li {
    width: auto !important;
    padding: 0 8px;
}

html[lang="en"] .x-header .x-menu > li {
    padding: 0 8px;
}

/* 英文公司名较长，缩小字号避免把右侧区块挤到下一行 */
html[lang="en"] .x-header .top-brand p {
    font-size: 18px;
}

html[lang="en"] .x-header .top-brand,
html[lang="en"] .x-header .top-brand a {
    font-size: 11px;
}

html[lang="en"] .x-header .x-menu > li > a {
    font-size: 14px;
}

.x-header .x-menu > li > a {
    white-space: nowrap;
    color: #12324f;
}

.x-menu > li > a:hover,
.x-menu > li.active > a {
    color: #0561AA;
}

/* 语言切换 */
.lang-switch a {
    color: #0561AA;
    border-color: #cfe0f0;
    background: #ffffff;
}

.lang-switch a:hover {
    background: #0561AA;
    border-color: #0561AA;
    color: #fff;
}

.lang-switch {
    line-height: 40px;
}

.x-menu {
    margin-top: 6px;
}

/* 手机页头 */
.xymob-head {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.xymob-head .xymob-logo > div {
    background: transparent;
    padding: 0;
}

.xymob-head-box .xymob-logo img {
    max-height: 40px;
}

.xymob-navbtn span,
.xymob-navbtn::before,
.xymob-navbtn::after {
    background: #102A43;
}

.xymob-search-btn .icon-font:after {
    display: none;
}

.xymob-search-btn::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230561AA' stroke-width='1.8' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/></svg>") no-repeat center center;
    background-size: contain;
}

.xymob-lang a {
    color: #0561AA;
    border-color: #cfe0f0;
    background: #ffffff;
}
