* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei",sans-serif;
}
body {
    background-color: #fff;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}
.nav-container .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-size: 24px;
  font-weight: bold;
}
.nav-container .logo img {
  max-height: 52px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  display: none;
  z-index: 9999;
}
.submenu a {
  display: block;
  padding: 10px 15px;
  color: #333;
}
.submenu a:hover {
  background: #f5f5f5;
  color: #007bff;
}
.dropdown:hover .submenu {
  display: block;
}
.nav-item {
    height: 60px;
    display: flex;
    align-items: center;
}
.global-search-trigger{
    flex-shrink: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    gap:6px;
    height: 32px;
    padding: 0 12px;
    background: #f5f5f5;
    border:1px solid #ddd;
    border-radius: 30px;
    color:#333;
    transition: all 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}
.global-search-trigger:hover{
    background: #0066cc;
    color:#fff;
    border-color:#0066cc;
}
.nav-search-box {
    display: none;
    align-items: center;
    gap:8px;
    height:32px;
}
.nav-search-input {
    height:100%;
    padding:0 20px;
    border:1px solid #ddd;
    border-radius:20px;
    outline:none;
}
.nav-search-btn {
    height:100%;
    padding:0 14px;
    border:none;
    background:#0066cc;
    color:#fff;
    border-radius:30px;
    cursor:pointer;
}
.nav-search-close {
    color:#999;
    cursor:pointer;
    padding:0 6px;
}
.global-search-mask{
    position: fixed;
    left: 0;
    top: 90px;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 100;
    display: none;
}
.global-search-modal{
    position: fixed;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 700px;
    background: #fff;
    z-index: 200;
    padding: 30px 20px 20px;
    border-radius: 8px;
    display: none;
    box-sizing: border-box;
}
.global-search-close{
    position: absolute;
    right: -12px;
    top: -12px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    background: #333;
    border-radius: 50%;
    z-index: 99;
    transition: background 0.2s;
}
.global-search-close:hover{
    background: #f00;
}
.global-search-result{
    margin-top: 10px;
    max-height: 40vh;
    overflow-y: auto;
}
.search-tip{
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}
.red-high{
    color: #f00;
    font-weight: bold;
}
.search-list-row{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.search-item{
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 6px;
}
.search-item h4{
    margin: 0 0 6px;
    font-size: 16px;
}
.search-item h4 a{
    color: #222;
    text-decoration: none;
}
.search-item h4 a:hover{
    color: #0066cc;
}
.search-desc{
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 6px;
}
.search-type{
    font-size: 12px;
    color: #999;
}
.empty-text{
    text-align: center;
    padding: 30px 0;
    color: #999;
}
.banner {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}
.slider {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease;
}
.slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide .text {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}
.slide .text h2 {
    font-size: 42px;
    margin-bottom: 12px;
}
.slide .text p {
    font-size: 18px;
    line-height: 1.8;
}
.banner .dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.banner .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.banner .dots span.active {
    background: #ffffff;
    width: 30px;
    border-radius: 6px;
}
.title {
    text-align: center;
    margin: 40px 0 25px;
}
.title h2 {
    font-size: clamp(22px, 3vw, 25px);
    margin-bottom: 6px;
}
.title p {
    color: #666;
    font-size: 14px;
}
.page-wrap{
    max-width: 100%;
    width:92%;
    margin:0 auto;
    padding:40px 0;
}

@media (max-width: 992px) {

}
@media screen and (max-width: 768px) {
    .nav-container .logo img {
        max-height: 40px;
        max-width: 130px;
    }
    .nav-container .logo {
        font-size: 20px;
    }
    .menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 10px 20px;
        display: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .menu a {
        line-height: 50px;
        height: 50px;
        border-bottom: 1px solid #f5f5f5;
    }
    .burger { display: block; }
    .logo { margin-left: 0; }
    .banner { height: 320px; }
    .slide .text h2 { font-size: 24px; }
    .slide .text p { font-size: 14px; }
    .banner .prev, .banner .next { width: 36px; height: 36px; font-size: 18px; }
}
@media screen and (min-width: 641px) {
    .global-search-modal {
        top: 130px;
    }
    .global-search-mask {
        top: 90px;
    }
}
@media screen and (max-width: 640px) {
    .global-search-modal{
        top: 70px;
        padding: 25px 15px 15px;
    }
    .global-search-mask {
        top: 60px;
    }
    .global-search-trigger{
        padding:5px 12px;
        font-size:13px;
        margin-top: 8px;
        margin-right: 1px;
    }
    .nav-search-box {
        width:200px;
    }
    .nav-search-input {
        flex: 1;
        min-width: 160px;
    }
    .global-search-close{
        right: -8px;
        top: -8px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 18px;
    }
    .nav-menu {
        display: none;
    }
    .header-right-wrap {
        display: flex;
        align-items: center;
        gap: 0;
    }
    .hamburger {
        height: 60px;
        display: flex;
        align-items: center;
        background: transparent;
        border: none;
        font-size: 20px;
        cursor: pointer;
    }
}
