﻿/* P:\GL\gg-yx-gl\static\css\style.css */
.inner-center {
    width: 1000px;
    margin: 0 auto;
}

/* 替换原footer样式 */
.main {
    padding-top: 5%;
    min-height: auto; /* 取消原min-height:100%，避免高度计算错误 */
}

.content-inside {
    padding-bottom: 0; /* 取消原60px内边距 */
}

.footer {
    height: 60px;
    text-align: center;
    line-height: 60px; /* 文字垂直居中 */
    margin-top: 20px; /* 与导航保持间距，不再用负边距 */
    width: 1000px; /* 与header/nav保持一致宽度 */
    margin-left: auto;
    margin-right: auto;
    clear: both; /* 清除浮动，确保footer在导航下方 */
}

.logo-box {
    display: flex;
    overflow: hidden;
    margin-left: 250px;
    align-items: center;
}

.logo-left {
    position: relative;
    width: 125px;
    height: 121px;
    cursor: pointer;
}

.logo-right {
    padding-left: 36px;
    font-size: 36px;
    color: rgba(0, 39, 102, 1);
    font-family: SourceHanSansSC-regular, serif;
}

.search-section {
    margin-top: 14px;
    margin-bottom: 40px;
    position: relative;
    display: flex;
}

.search-left {
    display: flex;
    width: 877px;
    height: 54px;
    line-height: 20px;
    border: 1px solid rgba(217, 217, 217, 0.96);
}

.input-wrap {
    position: relative;
    flex: 1;
    width: 100%;
}

.input-wrap .search-input {
    height: 52px;
    width: 100%;
    outline: 0;
    border: 0;
    font-size: 16px;
    padding-left: 15px;
}

.search-submit {
    width: 123px;
    height: 54px;
    line-height: 26px;
    background-size: 35px 35px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    font-family: Roboto, serif;
    border: 1px solid #1890ff;
    cursor: pointer;
    background: #1890FF linear-gradient(90deg, #1890FF, #455bfb) no-repeat center;
}

.search-result {
    display: none;
    position: absolute;
    width: 837px;
    top: 55px;
    left: 0;
    border: 1px solid rgba(187, 187, 187, 1);
    background-color: #fff;
    top: 100%;
    right: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    height: 34px;
    line-height: 34px;
    padding-left: 15px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.result-item.active {
    background: #F0F0F0;
}

.result-item:hover {
    background-color: #eee;
}

.clear-keyword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
    color: #d2d2d2;
    font-size: 30px;
}

.clear-keyword:hover {
    opacity: 1;
}

/* 导航核心样式 - 压缩间距版 */
.nav-content {
    overflow: hidden;
    width: 1000px;
    margin: 0 auto;
}

.nav-line {
    width: 100%;
    float: left;
    transition: all 0.3s ease;
    margin-bottom: 5px; /* 原15px → 压缩竖向间距（导航组之间） */
}

.jj-list-tit {
    font-size: 16px;
    line-height: 25px;
    color: rgba(49, 70, 89, 1);
    font-weight: bold;
    margin-bottom: 3px; /* 原8px → 压缩标题与链接的竖向间距 */
    padding-left: 5px;
    border-left: 3px solid #1890ff;
}

.jj-list-con {
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.jj-list-con li {
    box-sizing: border-box;
    padding: 0 2px; /* 原0 5px → 压缩链接的横向间距 */
    width: 33.3333%;
    float: left;
    transform-origin: center top;
    margin-bottom: 2px; /* 原8px → 压缩链接的竖向间距 */
}

/* 其他样式（保持不变） */
.jj-list-con li:hover {
    animation: swing 2s linear 0s 1 forwards
}

@keyframes swing {
    0%, 100% { transform: perspective(200px) rotateX(0); }
    20% { transform: perspective(200px) rotateX(-45deg); }
    40% { transform: perspective(200px) rotateX(45deg); }
    50% { transform: perspective(200px) rotateX(-25deg); }
    60% { transform: perspective(200px) rotateX(25deg); }
    70% { transform: perspective(200px) rotateX(-5deg); }
    80% { transform: perspective(200px) rotateX(5deg); }
    90% { transform: perspective(200px) rotateX(-3deg); }
    95% { transform: perspective(200px) rotateX(3deg); }
}

.jj-list-link {
    display: block;
    background: rgba(230, 247, 255, 0.96);
    color: rgba(49, 70, 89, 1);
    font-size: 13px;
    text-align: center;
    line-height: 44px; /* 链接高度保持不变，避免文字挤压 */
    transition: all 0.2s;
    border-radius: 2px;
}

.jj-list-link:hover {
    background: #1890FF; /* 修复原100%写法的语法错误 */
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

/* 搜索高亮/隐藏样式 */
.nav-line.hidden { display: none; }
.nav-line.highlight { background-color: #fff3cd; }
.highlight { background-color: #fff3cd; transition: background-color 0.5s ease; }