/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

a {
    color: #444;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部栏样式 */
.top-bar {
    background: #f3f4fa;
    color: #666;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
}

.top-bar a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.top-bar a:hover {
    color: #014099;
}

/*时间*/
.date-bar {
    width: 230px;
    display: flex;
    transition: all 0.3s ease;
}

.date-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/*登录*/
.right-bar {
    display: flex;
}

#loginDiv {
    position: relative;

    .dropdown {
        position: relative;
    }

    .dropdown-toggle.show {
        display: block;
    }

    .dropdown-toggle::after {
        display: inline-block;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
    }

    .dropdown-menu {
        display: none;
        width: 120px;
        border-radius: 8px;
        background: #f3f4fa;
        position: absolute;
        z-index: 99;
        inset: 0px auto auto 0px;
        margin: 0px;
        transform: translate3d(0px, 24px, 0px);
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu li {
        list-style: none;
        padding-left: 8px;
    }

    .dropdown-menu li:hover {
        background: white;
        border-radius: 8px;
    }

    .dropdown-menu li:hover i svg, .dropdown-menu li:hover span {
        color: #014099;
    }

    .dropdown-item {
        color: black !important;
    }

    .dropdown-item i {
        position: relative;
        top: 1px;
    }

    .dropdown-item span:hover {
        background: none;
    }

}


/**/
.language-select {
    text-align: right;
    margin-right: -14%;
}

.language-select a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.header {
    background: #fff;
    display: flex;
    padding: 10px 0;
    justify-content: center;
}

.logo-title {
    display: flex;
    margin-top: 20px;
}

.logo-title img {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    position: relative;
    bottom: 10px;
}

.title {
    font-size: 30px;
    color: #014099;
    font-weight: bold;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: #014099;
    margin-top: 5px;
}

.slogan {
    color: #014099;
    font-size: 17px;
    font-weight: bold;
    margin-left: 150px;
    margin-top: 5px;
    text-align: right;
}

/*导航栏*/
#header-mobile {
    display: none;
}

#header {
    position: relative;
    z-index: 9;
    display: flex;

    nav {
        background: #014099;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        margin: 0 auto;
        width: 100%;
    }

    .navbar {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin: 0 auto;
        max-width: 1400px;
    }

    .nav-links {
        display: flex;
        list-style: none;
        width: 100%;
    }

    .nav-links > li {
        flex: 1;
        text-align: center;
        position: relative;
    }

    .nav-links > li > a {
        color: #ecf0f1;
        text-decoration: none;
        font-size: 17px;
        font-weight: 500;
        padding: 10px 15px;
        display: block;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-links > li > a:hover {
        background: rgba(52, 152, 219, 0.25);
        color: #fff;
    }

    /* 下拉箭头样式 */

    .has-dropdown > a::after {
        content: "▼";
        font-size: 0.65rem;
        margin-left: 6px;
        vertical-align: middle;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .nav-links > li:hover > a::after {
        transform: rotate(180deg);
    }

    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: #014099;
        width: 100%;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.4s ease;
        z-index: 100;
    }

    .nav-links li:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown li {
        list-style: none;
    }

    .dropdown li a {
        color: #ecf0f1;
        padding: 12px 15px;
        display: block;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        text-align: center;
    }

    /* 子菜单悬停效果 - 白色背景 */

    .dropdown li a:hover {
        background: white;
        color: #2c3e50;
        font-weight: 500;
    }

    .dropdown li:last-child a {
        border-radius: 0 0 8px 8px;
    }

    /* 内容区域 */

    .content {
        margin-top: 40px;
        text-align: center;
    }

    .content h2 {
        color: #2c3e50;
        margin-bottom: 20px;
    }

    .content p {
        color: #34495e;
        line-height: 1.7;
        max-width: 700px;
        margin: 0 auto 25px;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .nav-links {
            flex-direction: column;
        }

        .dropdown {
            position: static;
            width: 100%;
            opacity: 1;
            visibility: visible;
            display: none;
            transform: none;
            box-shadow: none;
            border-radius: 0;
            background: rgba(0, 0, 0, 0.1);
        }

        .nav-links li:hover .dropdown {
            display: block;
        }

        .nav-links > li {
            text-align: left;
        }

        .nav-links > li > a {
            padding: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .has-dropdown > a::after {
            float: right;
            margin-right: 10px;
            transform: rotate(0);
        }

        .nav-links > li:hover > a::after {
            transform: rotate(180deg);
        }
    }

}

/* 头部样式 */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    margin-left: -24%;
}

.logo img {
    height: 80px;
}

/*大轮播图*/

.swiper-container {
    width: 100%;
    background: black;
    position: relative;
    overflow: hidden;

    .swiper {
        width: 100%;
        height: 100%;
    }

    .swiper-wrapper {
        display: flex;
        transition-timing-function: linear;
        align-items: center;
    }

    .swiper-slide {
        height: 550px;
        display: flex;
        overflow: hidden;
        position: relative;
        transition: all 0.4s ease;
        /* 所有幻灯片亮度一致 */
        opacity: 0.35;
        width: calc((100% - 1300px) / 2);
    }

    /* 中间幻灯片样式 - 固定1300px */

    .swiper-slide-active {
        width: 1300px !important;
        opacity: 1;

        .slide-content {
            display: block;
        }
    }

    /* 两侧幻灯片平分剩余空间 */

    .swiper-slide-prev,
    .swiper-slide-next {
        width: calc((100% - 1300px) / 2) !important;

        .slide-content {
            display: none;
        }
    }

    .slide-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .slide-content {
        width: 100%;
        height: 100px;
        color: white;
        position: absolute;
        top: 82%;
        background: rgb(0, 0, 0, 0.5);
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        text-overflow: ellipsis;
    }

    .slide-description {
        font-size: 18px;
        color: #ddd;
        line-height: 1.5;
        padding: 10px 20px;
    }

    /* 导航按钮样式 */

    .swiper-button-next, .swiper-button-prev {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .swiper-button-next:hover, .swiper-button-prev:hover {
        color: #014099;
        transform: scale(1.05);
    }

    .swiper-button-next::after, .swiper-button-prev::after {
        color: #fff;
        font-size: 22px;
        font-weight: bold;
    }

    .swiper-pagination {
        bottom: 10px !important;
    }

    .swiper-pagination-bullet {
        border: #ddd solid 1px;
        opacity: 1;
        width: 14px;
        height: 14px;
        transition: all 0.3s ease;
    }

    .swiper-pagination-bullet-active {
        background: #014099;
    }

    /* 响应式设计 */
    @media (max-width: 1600px) {
        .swiper-slide-active {
            width: 1000px !important;
        }

        .swiper {
            height: 500px;
        }

        .swiper-slide {
            height: 400px;
        }
    }

    @media (max-width: 1300px) {
        .swiper-slide-active {
            width: 800px !important;
        }

        .swiper {
            height: 450px;
        }

        .swiper-slide {
            height: 350px;
        }

        .slide-description {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 1000px) {
        .swiper-slide-active {
            width: 90% !important;
        }

        .swiper-slide-prev,
        .swiper-slide-next {
            display: none;
        }

        .swiper {
            height: 400px;
        }

        .swiper-slide {
            height: 350px;
        }
    }

    @media (max-width: 600px) {
        .swiper-slide-active {
            width: 100% !important;
        }

        .swiper {
            height: 240px;
        }

        .swiper-slide {
            height: 240px;
            opacity: 1;
        }

        .slide-content {
            top: 80%;
        }

        .slide-description {
            font-size: 1rem;
            padding: 0 10px;
        }

        .swiper-button-next,
        .swiper-button-prev {
            width: 25px;
            height: 30px;
        }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 20px;
        }

        .swiper-pagination {
            display: none;
        }
    }
}

/**/
.container-llas {
    width: 64.5%;
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*新闻和数据库检索*/
.main-content {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    gap: 40px;
    font-family: "微软雅黑", Arial, sans-serif;
}

.left-panel {
    flex: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 20px 15px 20px;
    margin-bottom: 20px;
}

.right-panel {
    flex: 1;
    width: 340px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #014099;
    border-bottom: 3px solid #014099;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.section-title a {
    color: #014099;
    font-size: 16px;
    text-decoration: none;
    float: right;
    position: relative;
    top: 10px;
    font-weight: 400;
}

.main-news {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    padding-left: 10px;
}

.main-news-img {
    height: 160px;
    width: 30%;
}

.main-news img {
    width: 100%;
    object-fit: cover;
    margin: 10px auto;
}

.main-news-content {
    width: 70%;
    padding: 20px;
    flex: 1;
}

.main-news-content a {
    color: #444;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.main-news-content p {
    color: #444;
    font-size: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    white-space: normal;
}

.news-date {
    color: #888;
    font-size: 16px;
}

.news-list {
    margin-top: 10px;
    padding-left: 18px;
}

.news-list li {
    color: #333;
    list-style: disc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dotted #e6eaf0;
    font-size: 16px;
}

.news-list li:hover {
    cursor: pointer;
    color: #014099;
}

.news-list li a {
    width: 85%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    white-space: normal;
    text-overflow: ellipsis;
}

.news-list li span {
    width: 120px;
}

/* 搜索区域样式 */
.search-section {
    width: 100%;
    padding-top: 30px;
}

.search-container {
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    background: rgb(0, 0, 0, 0.05);
    border-radius: 5px;
}

/* 搜索头部样式 */
.tabs1-container {
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    .tabs1 {
        display: flex;
        background: #eee;
        color: black;
    }

    .tab1 {
        flex: 1;
        text-align: center;
        padding: 15px 0;
        color: black;
        cursor: pointer;
        position: relative;
        font-size: 20px;
    }

    .tab1:hover, .tab1.active {
        background: white;
        font-weight: bold;
        color: #014099;
    }

    .tab1-content {
        padding: 25px;
    }

    .content1 {
        display: none;
    }

    .content1.active {
        display: block;
    }

    .content1 h3 {
        color: #4a69bd;
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .content1 p {
        line-height: 1.6;
        color: #555;
        font-size: 1rem;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.search-box {
    display: inline-flex;
    height: 45px;
}

.search-box input {
    padding: 12px 20px;
    font-size: 14px;
    border: 2px solid #014099;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-button {
    width: 100px;
    background: #014099;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-button:hover {
    background-color: #0052a3;
}

/*6个相关链接*/
.right-panel-buttons {
    padding: 5px;
}

.r-button {
    width: 90px;
    padding: 5px;
    text-align: center;
    border: #014099 solid 1px;
    border-radius: 12px;
    display: inline-block;
    margin: 5px 18px;
    cursor: pointer;
}

.r-button a {
    font-size: 14px;
    color: #014099;
}

.r-button:hover {
    background: #014099;
}

.r-button:hover a {
    color: white;
}

.database-section {
    margin-top: 10px;
}

/*中英文数据库相关链接*/
.database-category1 {
    background: white;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    .tabs2 {
        display: flex;
        color: black;
    }

    .tab2 {
        flex: 1;
        text-align: center;
        padding: 15px 0;
        color: black;
        cursor: pointer;
        position: relative;
        font-size: 20px;
    }

    .tab2:hover, .tab2.active {
        background: white;
        font-weight: bold;
        color: #014099;
        border-bottom: #014099 solid 3px;
    }

    .tab2-content {
        padding: 15px;
    }

    .content2 {
        display: none;
    }

    .content2.active {
        display: block;
    }

    .content2 h3 {
        color: #4a69bd;
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .content2 p {
        line-height: 1.6;
        color: #555;
        font-size: 1rem;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/*专题资源相关链接*/
.database-category2 {
    background: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    .tabs3 {
        display: flex;
        color: black;
    }

    .tab3 {
        flex: 1;
        text-align: center;
        padding: 15px 0;
        color: black;
        cursor: pointer;
        position: relative;
        font-size: 20px;
    }

    .tab3:hover, .tab3.active {
        background: white;
        font-weight: bold;
        color: #014099;
        border-bottom: #014099 solid 3px;
    }

    .tab3-content {
        padding: 15px;
    }

    .content3 {
        display: none;
    }

    .content3.active {
        display: block;
    }

    .content3 h3 {
        color: #4a69bd;
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    .content3 p {
        line-height: 1.6;
        color: #555;
        font-size: 1rem;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.database-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    height: 140px;
    overflow-y: auto;
}

.database-links::-webkit-scrollbar {
    width: 0;
}

.database-links::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 6px;
}

.database-links::-webkit-scrollbar-thumb {
    background: #40a0ff49;
    border-radius: 10px;
}

.database-links::-webkit-scrollbar-thumb:hover {
    background: #014099;
}

.database-links a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.database-links a:hover {
    color: #014099;
    background-color: #f0f7ff;
}


/*中间部分*/

.org-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/*党群文化*/
.top_mtsm {
    margin: 0 -9px;
    overflow: hidden;
    padding: 0 0 20px 0;
}

.top_mtsm li {
    float: left;
    width: 50%;
    padding: 0 10px;
    list-style: none;
}

.img_hovbig {
    display: block;
    overflow: hidden;
}

.top_mtsm li a {
    overflow: hidden;
}

.top_mtsm li a img {
    height: 100px;
    width: 100%;
}

.top_mtsm li a img:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

/* 研究成果列表样式 */
.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.research-column {
    background: #fff;
    border-radius: 8px;
    padding: 20px 30px 40px 30px;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #014099;
}

.column-header h2 {
    color: #014099;
    font-size: 20px;
    font-weight: bold;
}

.more-link {
    color: #014099;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: #004c99;
}

.research-list {
    list-style: none;
}

.research-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.research-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.date {
    color: #999;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.research-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    text-overflow: ellipsis;
}

.research-list a:hover {
    color: #014099;
}

/* 研究报告展示样式 */
.report-section {
    width: 100%;
    overflow: hidden;
    padding: 5px;

    /*研究报告*/

    .tabs-container {
        position: relative;
    }

    .tabs-header {
        display: flex;
        border-bottom: 1px solid #eaeaea;
        margin: 0 20px;
    }

    .tab {
        padding: 18px 24px;
        font-size: 20px;
        font-weight: 500;
        color: #555;
        cursor: pointer;
        position: relative;
        transition: all 0.3s ease;
    }

    .tab:hover {
        color: #1a6dcc;
        background-color: rgba(26, 109, 204, 0.05);
        border-top-right-radius: 8px;
        border-top-left-radius: 8px;
    }

    .tab.active {
        color: #1a6dcc;
        font-weight: 600;
    }

    .tab.active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #1a6dcc;
    }

    .more-btn {
        top: 24px;
        right: 0;
        position: absolute;
        width: 65px;
        color: #014099;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        text-decoration: none;
        font-size: 14px;
    }

    .more-btn:hover {
        color: #0d4a9c;
    }

    .more-btn i {
        margin-left: 8px;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 20px;
    }

    .tab-pane {
        display: none;
    }

    .tab-pane.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .content-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .card-img {
        height: 240px;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .card-img::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    }

    .card-content {
        padding: 10px 20px;
    }

    .card h3 {
        font-size: 16px;
        color: #444;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        text-overflow: ellipsis;
    }

    .card p {
        color: #666;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .tag {
        position: absolute;
        top: 200px;
        right: 5px;
        background: darkgoldenrod;
        color: white;
        padding: 5px 12px;
        border-radius: 16px;
        font-size: 14px;
        z-index: 1;
    }

    footer {
        text-align: center;
        padding: 25px;
        color: #777;
        font-size: 0.95rem;
        border-top: 1px solid #eee;
        background-color: #f9fbfd;
    }

    @media (max-width: 768px) {
        .tabs-header {
            flex-wrap: wrap;
            margin: 0 5px;
        }

        .tab {
            padding: 15px 8px;
            font-size: 1rem;
        }

        .more-btn {
            padding: 15px 0;
            top: 55px;
        }

        .content-grid {
            grid-template-columns: 1fr;
            margin-top: 40px;
        }

    }


}

/* 研究成果区域 */
.research-results {
    margin: 30px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.result-item {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.journals-container {
    width: 100%;
    margin: 40px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 主标题样式 */
.main-title {
    color: #014099;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #014099;
}

/* 期刊网格布局 */
.journals-grid {
    display: grid;
    grid-template-columns: repeat(5, 2fr);
    gap: 50px;
    margin-top: 30px;
}

/* 期刊卡片样式 */
.journal-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.journal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.journal-cover {
    height: 245px;
    position: relative;
    overflow: hidden;
}

.journal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.journal-card:hover .journal-cover img {
    transform: scale(1.05);
}

/* 悬停信息样式 */
.hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.journal-card:hover .hover-info {
    transform: translateY(0);
}

.hover-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.hover-info p {
    font-size: 12px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.hover-info .issue {
    font-size: 12px;
    color: #014099;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .journals-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .journals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .journals-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .hover-info {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.7);
    }

    .hover-info h3 {
        font-size: 14px;
    }

    .hover-info p,
    .hover-info .issue {
        font-size: 11px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journal-card {
    animation: fadeIn 0.5s ease forwards;
}

/* 为每个卡片设置不同的动画延迟，创造级联效果 */
.journal-card:nth-child(1) {
    animation-delay: 0.1s;
}

.journal-card:nth-child(2) {
    animation-delay: 0.2s;
}

.journal-card:nth-child(3) {
    animation-delay: 0.3s;
}

.journal-card:nth-child(4) {
    animation-delay: 0.4s;
}

.journal-card:nth-child(5) {
    animation-delay: 0.5s;
}

.journal-card:nth-child(6) {
    animation-delay: 0.6s;
}


/* 右侧导航栏样式 */
.side-nav {
    position: fixed;
    z-index: 2;
    right: 20px;
    top: 70%;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    color: #666;
    text-decoration: none;
    padding: 1px 10px;
    transition: all 0.3s;
    text-align: center;
    border-radius: 4px;
}

.side-link {
    width: 100px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
}

.side-link:hover {
    background: #014099;
    color: white;
    transform: scale(1.01);
}

.side-link:hover + .nav-text {
    opacity: 1;
}

/* 页脚样式 */

.footers img {
    height: auto;
    width: 100%;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 14px;
}

/*//*/
@media (max-width: 768px) {
    #header {
        display: none;
    }

    #header-mobile {
        display: block;
        width: 100%;
        background: #014099;
        height: 40px;
    }

    .right-bar {
        display: none;
    }

    .logo-title {
        text-align: center;
    }

    .logo-title img {
        bottom: 0;
        margin-right: 0;
        margin-left: 10px;
    }

    .title {
        font-size: 18px;
    }

    .subtitle {
        line-height: 12px;
        font-size: 12px;
    }

    .slogan {
        display: none;
    }

    /*-----------------手机版导航栏------------------*/
    /* 菜单按钮样式 */
    .menu-btn {
        position: absolute;
        top: 162px;
        left: 85%;
        width: 50px;
        height: 38px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1;
    }

    .menu-btn:hover {
        transform: scale(1.02);
    }

    .menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 3px;
        margin: 2px 0;
        transition: all 0.3s ease;
    }

    /* 左侧抽屉式导航容器 */
    .m-container {
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100vh;
        background: rgba(20, 20, 30, 0.98);
        z-index: 999;
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        overflow-y: auto;
        backdrop-filter: blur(10px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 当菜单激活时 */
    .nav-active-m .m-container {
        left: 0;
    }

    .m-container {

        /* 导航菜单样式 */

        .navbar-m {
            padding-right: 20px;
            margin-top: 60px;
        }

        .nav-list-m {
            list-style: none;
        }

        .nav-item-m {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }

        .nav-link-m {
            display: flex;
            align-items: center;
            padding: 10px 30px;
            color: #e0e0e0;
            text-decoration: none;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .nav-link-m:hover {
            color: #4e9af1;
            padding-left: 10px;
        }

        .nav-link-m i {
            width: 30px;
            font-size: 1.2rem;
            text-align: center;
            margin-right: 10px;
            transition: transform 0.3s ease;
        }

        .nav-link-m:hover i {
            transform: scale(1.2);
        }

        /* 下拉箭头 */

        .dropdown-arrow {
            position: absolute;
            right: 0;
            top: 15px;
            transition: transform 0.3s ease;
            color: #aaa;
            font-size: 1rem;
        }

        /* 子菜单样式 */

        .submenu-m {
            max-height: 0;
            overflow: hidden;
            list-style: none;
            background: rgba(30, 30, 45, 0.9);
            border-radius: 10px;
            margin: 5px 0;
            transition: max-height 0.4s ease-in-out;
        }

        .sub-active-m .submenu-m {
            max-height: 500px;
        }

        .sub-active-m .dropdown-arrow {
            transform: rotate(180deg);
            color: #4e9af1;
        }

        .submenu-m li a {
            display: block;
            padding: 10px 15px 10px 50px;
            color: #aaa;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }

        .submenu-m li a:hover {
            background: rgba(78, 154, 241, 0.2);
            color: white;
        }

        /* 菜单激活时的汉堡按钮变化 */

        .nav-active-m .menu-btn span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .nav-active-m .menu-btn span:nth-child(2) {
            opacity: 0;
        }

        .nav-active-m .menu-btn span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* 关闭按钮 */

        .close-btn {
            position: absolute;
            top: 25px;
            right: 25px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: white;
            font-size: 1.5rem;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        /* 遮罩层 */

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }

        .nav-active-m .overlay {
            opacity: 1;
            visibility: visible;
        }

    }

    /*    首页内容*/
    .container-llas {
        width: 100%;
    }

    .main-content {
        display: grid;
    }

    .main-news {
        display: grid;
    }

    .main-news-content {
        width: 65%;
        padding: 20px 5px;
    }

    .right-panel {
        width: 100%;
    }

    .search-box input {
        padding: 10px 5px;
    }

    .tab1-content {
        padding: 8px;
    }

    .search-button {
        padding: 10px;
    }

    .r-button {
        margin: 5px 12px;
    }

    .org-grid, .research-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .side-nav {
        display: none;
    }

    .footer-title {
        width: 100% !important;
    }

    .footer-info {
        padding: 10px !important;
    }
}

