.search-box-info p span { word-break: initial; width: 75%; margin: 0 auto; }
.journal-nav a.unclick { color: #ccc; }
.search_a {display: none;}
.search_input { border-left:none; }
.nextBtn, .endBtn, .indexBtn, .preBtn, .page_btn { padding: 0 10px;border: 1px solid #ccc;background: white;cursor: pointer;border-radius: 4px;font-size: 0.9rem;height: 30px;line-height: 30px; text-decoration: none;color: initial;}
.moreNum {display: none;}
.group-box { display: flex; align-items: center;}
.group-box .search_btn {border: 1px solid #c7e1f8;padding: 0 10px; cursor: pointer; margin-left: 8px; font-size: 0.8rem;}
cite { font-style: normal; color: #0d56d6; margin: 0 1px; }

.shareStyle {font-size: 12px;color: #666;}
.shareStyle a { display: inline-block;width: 20px;height: 20px;background-size: cover;margin: 0 5px 0 0;background-repeat: no-repeat;vertical-align: -4px; }
.wechat_window {z-index: 999; display:none; position: fixed; width: 320px;height: 365px;left: 0;top: 0;right: 0;bottom: 0;margin: auto; background: white; box-shadow: 0px 0px 5px #e5e5e5; margin-top: 200px}
.wechat_window p {background: #f5f5f5; height: 50px; line-height: 50px; color: #333; text-align: left; padding-left: 15px; font-size: 14px}
.wechat_window a {top: 10px}
.wechat_box {padding: 20px 35px 40px; border-top: 1px solid #e8e8e8;}
.wechat_box h5 {line-height: 15px; margin-top: 10px; color: #bbb; text-align: center;}

.citeLayer h2{font-size: 18px; color: #1867a7; font-weight: 400;}
.citeLayer h2::before{content:'';position:absolute;top:20px;left:0;background: #1867a7; width: 6px; height: 18px;}
.citeLayer{ left:0; top:0;position: absolute;display: none; width:100%; height: 100%; z-index: 10000;}
.citeLayer .maskEle{top:0;width: 100%; height: 100%; left: 0;position: fixed; background:rgba(0,0,0,0.3);backdrop-filter:blur(2px); z-index: 20;}
.citeLayer .layerEle_box{ font-size: 12px; width: 760px; left:50%;margin: 0 0 0 -350px;top:100px;position: fixed; z-index:21; background: #ffffff; padding:20px 30px 30px 30px;  overflow: hidden; border-radius:5px;}
.citeLayer .layerEle_box .layerEle_box_main{ width: 700px;}
.citeLayer .layerEle_box .layerEle_box_main table td{padding: 0 0 10px 0; line-height: 24px; vertical-align: top;line-break: anywhere;}
.citeLayer a.closebtn{padding: 0;}
.citeLayer a:hover.closebtn{background: none;}
.citeLayer .layerEle_box .layerEle_box_main table td span{user-select:all;}
.closebtn{ width: 30px; height: 30px; position: absolute; top: 17px;right: 10px;transition: transform .2s;-moz-transition: transform .2s;   -webkit-transition: transform .2s;-o-transition: transform .2s;}
.closebtn::before,.closebtn::after {content: '';position: absolute;height: 2px !important;width: 18px !important;top: 15px;left: 7px;margin-top: -1px;background:  #999999;}
.closebtn::before {-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);-ms-transform: rotate(45deg);-o-transform: rotate(45deg);transform: rotate(45deg);}
.closebtn::after {-webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);-ms-transform: rotate(-45deg);-o-transform: rotate(-45deg);transform: rotate(-45deg);}
a:hover.closebtn{  transform:rotate(90deg);}
a:hover.closebtn::before,a:hover.closebtn::after {background: #1867a7;}
.layerEle_box_main{ width: 1200px; margin: 0 auto; padding: 20px 0 0 0;}

.paper-actions a.un_favorites::before{ 
    background: url(img/list_star_col.png) no-repeat center center;
    background-size: cover;
}

/* 过刊浏览 */
.pastPaperMOuter .issue-nav-issue, .pastPaperBookOuter .issue-cover {
    display: none;
}
.pastPaperMOuter .issue-nav-issue:nth-child(1), .pastPaperBookOuter .issue-cover:nth-child(1) {
    display: block;
}

.issue-cover img {
    width: 200px;
}

.info-icon {display: none;}

a.search_up_btn_in,a:hover.search_up_btn_in{
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(45deg, #1867a7, #6babdf);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 10px;
}

a.unActive,a:hover.unActive{
 background: #d9d9d9;
    color: #999;
    cursor: not-allowed;
    opacity: .7;
}

.videoPlayLayerBox{ display:flex; justify-content:center; }
.videoPlayLayer{ top: 120px;position: fixed;z-index: 9999;background:#ffffff8f;padding: 20px ; border-radius: 8px;box-shadow: 0 0 10px #666;backdrop-filter: blur(5px); display: none;}
.videoPlayLayer_inner{ background:#ffffff; padding: 20px 30px 30px 30px;border-radius: 8px;box-shadow: 0 0 5px #ccc;}
.videoPlayLayer .closebtn{top: 25px;right: 25px;}
.videoPlayLayer_main{ line-height: 24px;}
.videoPlayLayer {max-height: 500px;}
.videoPlayLayer_main {height: 450px; width: 750px}
.videoPlayLayer_main, .video_player {width: 750px; height: 420px}

@media (max-width: 800px) {
    .videoPlayLayer { width: 90%;margin: 0 auto;left: auto;}
    .videoPlayLayer_main {width: 100%; height: 100%}

    .pdfDownloadLayer .layerEle_box{width:80%;}

    .videoPlayLayer_main, .video_player {width: 100%; height: 200px}

}
/*登录按钮*/
.signin{color: #333; font-size: 1rem; padding: 0 10px;font-weight: bold;}
.signin span{ margin:0 12px;}
.signin a{margin: 0 0 0 10px;color: var(--tips-color);}
.signin a:hover{color: #fcc479;}

/* ==================== 登录 */
.signin{color: #333;font-size: 1rem;padding: 0 10px;font-weight: bold;}
.signin b{margin: 0 10px;}
.signin a{ color: var(--tips-color);}
.signin a:hover{color: #fcc479;}
.signin a.signout{color:#ccc;font-weight: 400;}
.signin a:hover.signout{color: #eee;}
.signin a.signuser{color: var(--primary-color);}
.signin a:hover.signuser{ color: var(--secondary-color); }

.correction-box { width:100% }
.date-zone {margin: 0 0 12px 0;font-size: 13px;}
.correction-box a { overflow-wrap: break-word;color: var(--primary-color);}

.paper-meta h2 a{margin: 14px 0 10px;font-size: 1rem;color: #1b65b9;}
.footer-social {display: none;}
.footer-bottom p {text-align: center;margin: 0 auto;}

.article-list .issue-nav-year {display: block;}
.article-list .issue-cover a { display:inline-block; margin: 0 0 20px 10px; }
.article-list .issue-nav-issue a { display:inline-block; }
.article-item a {color: initial;}
.filter-panel .tag.active {background: #d4e0f3;}
.filter-panel .tag { padding:0 5px }
.pastPaperBookOuter p { text-align: center; margin: 5px 0; color: #3d4b61}
.tags-title { display: flex;gap: 1rem;margin-bottom: 1.5rem; align-items: center;}
.tags-title h1 {margin: 0px}
h1 .oa_tags, h4 .oa_tags {vertical-align: -4px;} 
.oa_tags { margin:0 }
.search-box-info p span { font-weight:900 }
.about-text p {white-space: pre-line;}
.nav-card { gap:0 }
.nav-item {width: 260px}

.citeLayer .layerEle_box .layerEle_box_main table td{font-size: 14px; padding: 5px 0;line-height: 20px;}
.citeLayer .layerEle_box .layerEle_box_main table td span{ color: #666;}
.citeEn td {border-bottom: 2px dotted #ccc;}
.citeEn:last-child td{border: none;}


/*.search-box-info p span:last-child {width: 100%}*/
.unit { display:flex; flex-direction:column; }
.article_flex h4 a .oa_tags {vertical-align: -4px;margin: 0 0 0 6px;}
.tab-panel p {text-align: justify;text-justify: inter-character;overflow-wrap: break-word;}
.stat strong { margin:0 }
.stat { justify-content:center; text-align: center;} 
.layerEle_box h2 {display: none;}
article .journal a {font-size: 0.8rem;color: #999;}
.journal_flex .group-title { margin-bottom: 8px }
.article-meta {display: flex;align-items: center;justify-content: space-between;gap: 20px;margin-top: 14px;}
.article-journal {display: inline-flex;align-items: center;gap: 8px;min-height: 28px;padding: 4px 12px 4px 9px;border: 1px solid #d8e5f6;border-radius: 6px;background: #f3f7fc;color: #1558a7;font-size: 13px;line-height: 1.35;font-weight: 700;box-shadow: 0 2px 7px rgba(24, 80, 145, .05);}
.article-journal:before {content: "";display: block;width: 3px;height: 15px;border-radius: 2px;background: orange;flex: 0 0 auto;}
.show-more {transform: initial; margin-left: auto; margin-right: 0}
.about-text {max-height: 300px; width: 100%; overflow: hidden;position: relative;transition: max-height 0.4s ease;}
.about-toggle {display: block;margin-top: 20px;color: var(--tips-color);cursor: pointer;text-align: right;}
a:hover.about-toggle {font-weight: bold;}
.about-text.open {max-height: 100%;}

.collection-grid {grid-template-columns: repeat(4, minmax(0, 1fr)); display: grid; gap: 22px; margin-top: 23px;}
.collection-grid a {display: flex; height: auto; min-height: 0; aspect-ratio: auto; flex-direction: column; overflow: hidden; background: #071b49; border-radius: 9px; box-shadow: 0 9px 20px rgba(14, 38, 79, .14); isolation: isolate; transition: transform .18s ease, box-shadow .18s ease;}
.collection-card>img, .unit-card>img { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; flex: 0 0 auto; object-fit: cover; transform: none; transition: filter .22s ease;}
.collection-overlay, .unit-overlay { position: absolute; inset: 0 0 auto; width: 100%; height: auto; aspect-ratio: 16 / 9; pointer-events: none;}
.collection-copy {background: linear-gradient(128deg, #102b3a 0%, #0d4a5b 58%, #14727a 100%);}
.collection-copy, .unit-copy { position: relative; inset: auto; z-index: 1; display: flex; box-sizing: border-box; height: 72px; min-height: 72px; flex: 0 0 72px; flex-direction: column; justify-content: center; padding: 6px 16px 7px; color: #fff;}
.collection-copy:before, .unit-copy:before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1px;background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(93, 170, 235, .42), rgba(255, 255, 255, .04));}
.collection-copy h3, .unit-copy h3 { max-width: none; min-height: 2.36em; margin: 0;overflow: hidden;color: #fff;font-size: 15px;line-height: 1.18;font-weight: 700;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
.collection-copy p, .unit-copy p {margin: 4px 0 0;color: rgba(255, 255, 255, .76);font-size: 11px;line-height: 1.15;}
.unit-grid {display: grid;grid-template-columns: repeat(4, minmax(0, 1fr));gap: 22px;margin-top: 23px;}
.unit-card {min-width: 0;color: #fff;}
.collection-card, .unit-card { display: flex; height: auto; min-height: 0; aspect-ratio: auto; flex-direction: column; overflow: hidden; background: #071b49; border-radius: 9px; box-shadow: 0 9px 20px rgba(14, 38, 79, .14); isolation: isolate;transition: transform .18s ease, box-shadow .18s ease;}
.unit-copy {background: linear-gradient(128deg, #061832 0%, #08264e 58%, #0d376b 100%);}
.subject-grid {display: grid;grid-template-columns: repeat(5, 180px);justify-content: space-between;gap: 0;width: 100%;margin-top: 80px;}
.subject-card {display: flex;min-height: 118px;align-items: center;justify-content: center;flex-direction: column;padding: 16px;color: var(--navy);background: rgba(255, 255, 255, 0.89);border: 1px solid rgba(215, 226, 239, 0.96);border-radius: 9px;box-shadow: 0 7px 17px rgba(24, 61, 111, 0.09);font-size: 15px;font-weight: 800;line-height: 1.35;text-align: center;transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;cursor: pointer;}
.subject-card {width: 180px;min-height: 180px;padding: 20px;color: #333;background: linear-gradient(45deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .14));border: 0;border-radius: 20px;box-shadow: 0 0 30px rgba(35, 108, 195, .25);font-size: 1.3rem;line-height: 1.35;font-weight: 500;backdrop-filter: blur(5px) saturate(140%);}
.subject-card strong {display: block;color: #0e4ca0;font-size: 0;line-height: 1;font-weight: 800;transition: font-size .3s ease;}
.subject-card span {display: block;max-width: 145px;padding: 10px 0;color: #0e4ca0;font-size: 1.3rem;line-height: 1.35;font-weight: 500;text-transform: uppercase; text-shadow: 0 0 10px rgba(255, 255, 255, .4);transition: font-size .3s ease;}
.subject-mark {width: 25px;height: 5px;margin: 10px auto 0;border-radius: 0;display: block; position: absolute; bottom: 40px}
.mark-blue {background: #1e61bc;}
.mark-orange { background: orange; }
.mark-red { background: red; }
.subject-grid .subject-card:nth-child(3n+1) .subject-mark { background: #1e61bc;}
/* ---- 橙色 (第 2, 5, 8, …) ---- */
.subject-grid .subject-card:nth-child(3n+2) .subject-mark { background: orange; }
/* ---- 红色 (第 3, 6, 9, …) ---- */
.subject-grid .subject-card:nth-child(3n+3) .subject-mark { background: red; }
.subject-card:hover,.subject-card.is-active {transform: translateY(-10px);background: linear-gradient(45deg,rgba(255,255,255,.94),rgba(255,255,255,.67));border: 0;box-shadow: 0 0 30px rgba(35,108,195,.25)}
.subject-card:hover strong,.subject-card.is-active strong {font-size: 1.8rem}
.subject-card:hover span,.subject-card.is-active span {font-size: 1rem;font-weight: 500}
.article-cta { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; height: 40px; padding: 0 22px; border-radius: 8px; color: #fff;font-size: 14px;font-weight: 700;transition: .18s ease;}
.ai-translate-button { gap: 8px; margin-left: auto; background: linear-gradient(135deg, #6648b8, #a16bd8); box-shadow: 0 8px 18px rgba(111, 77, 188, .2); float: right;}
.ai-translate-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #155bb5, #725dcc); font-size: .55rem; font-weight: 900; line-height: 1;}
.ai-translate-button .ai-translate-mark { width: 22px; height: 22px; flex-basis: 22px; background: rgba(255, 255, 255, .2); font-size: .63rem;}

.ai-disclaimer { display: none; align-items: flex-start; gap: 17px; margin: 48px 0 0; padding: 20px 24px; border: 1px solid #f0d5a8; border-radius: 10px;background: #fffaf0;}
.ai-disclaimer-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #125ab6, #7b61c9); font-size: 13px; font-weight: 900;}
.ai-disclaimer-copy { min-width: 0;}
.ai-disclaimer h2 { margin: 0 0 6px; color: #704d13; font-size: 15px;}
.ai-disclaimer p { margin: 0; color: #6e6049; font-size: 12px; line-height: 1.75;}


.ai-translate-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 8px;
    padding: 3px 7px;
    border: 1px solid #b9d1ff;
    border-radius: 999px;
    background: #f2f6ff;
    color: #155bb5;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.paper-title .real-content {
    transition: opacity 0.2s ease;
}

.paper-issue { color: #333 }

.paper-title .skeleton-line {
    display: none;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    width: 70%;
    margin: 4px 0;
}

.paper-title.loading .real-content {
    display: none;
}

.paper-title.loading .skeleton-line {
    display: block;
}

.content-block.loading .block-content {
    opacity: 0.4;
    transform: translateY(4px);
    pointer-events: none;
}

.content-block.loading .block-content .skeleton-line {
    display: block;
}

.content-block.loading .block-content .real-content {
    display: none;
}

.content-block:not(.loading) .block-content .skeleton-line {
    display: none !important;
}

.block-content .skeleton-line {
    display: none;
    height: 16px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    margin-bottom: 6px;
}

.block-content .skeleton-line:last-child {
    margin-bottom: 0;
}

.block-content .skeleton-line.short {
    width: 60%;
}

.block-content .skeleton-line.medium {
    width: 80%;
}

.block-content .skeleton-line.long {
    width: 95%;
}

.block-content .skeleton-line.keyword-skel {
    display: inline-block;
    width: 70px;
    height: 28px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.content-block { margin: 0 0 14px }
.ai-translate-badge {display: none;}
.ai-disclaimer {display: none;}

.boxBox a { padding: 0 10px }
.journal-nav { overflow-x: initial; }
.img_inner a { margin: 0 30px 0 0 }
.paper-actions a { color: #7eb8e9 }

.album_cover .album_middle_box { width: 50%;}
.album_middle_box img {width: 100%; border-radius: 16px}
.album_middle_box_left { padding: 30px 10px }
.album_middle_box_right { z-index: 0 }
.album_cover { display:flex; }
.album_desc { margin-top:0.8rem }

.album_stats { display:inline-flex; flex-wrap: initial; }
.album_desc { font-size:14px }
.album_stats { gap: 4.5rem ; position: absolute; bottom: 14px}

.video_tags {     
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url(img/paper_video.png) no-repeat center center;
    background-size: cover; 
    margin: 0;
}
.video_tags {
    vertical-align: -4px;
}

.stat_item span {
    font-size: 11px;
    color: #e0edff;
}

.stat_item .stat_number {
    font-size: 25px;
    color: white;
}

.mobile-menu-btn { display: none; }
.album_cover { height: 360px; padding:20px }
.album_middle_box img { height:100%; object-fit: cover;}
.album_desc, .album_info h1 { display: -webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;overflow: hidden; }

.publishing-hero__content {width: 50%}
.publishing-search {width: 100%}
.publishing-hero__image {width: 50%; padding-left: 40px}
.publishing-hero__image img { width: 100%; aspect-ratio: 16 / 9; height: auto; }

.search_ctrl_type{
      border: 1px solid #d0e4f9;
    border-radius: 5px;
    padding: 5px 10px;
    color: #468abb;
    font-size: 1rem;
    margin-right: 10px;
    display: inline-block;
    height: 36px;
        font-weight: 500;
}
.search_ctrl_add,.search_ctrl_remove{
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 5px; 
    color: #468abb;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    font-weight: 800;
}
.search_ctrl_remove{
 color:#e80909;
 text-indent: -9999px;
}
.search_ctrl_remove:after {
    position: absolute;
    left: 13px;
    top: 17px;
    content: '';
    width: 12px;
    height: 3px;
    background-color: #e80909;
}

.album_cover::before { background: initial; }
.album_info h1 { line-height: 1.4 }

.search_adv_item {
    width: 100%;
    position: relative;
    padding: 0;
}

.search_adv_item .blurSelect {
    position: absolute;
    top: 1px;
    right: 39px;
    bottom: 1px;
    height: auto;
    width: auto;
    max-width: 92px;
    padding: 0 7px 0 13px;
    border: none;
    border-left: 1px solid #e3e3e3;
    background-color: transparent;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.search_items_list .search_adv_item .blurSelect {
  right: 74px;
}

/* 有 -（无论是否同时有 +）：右侧至少有一个删除按钮 */
.search_items_list .search_adv_item:has(.search_ctrl_remove) .blurSelect {
  right: 73px;
}

/* 同时有 + 和 -：右侧需要容纳两个按钮 */
.search_items_list .search_adv_item:has(.search_ctrl_remove):has(.search_ctrl_add) .blurSelect {
  right: 73px;
}

/* 新增：没有 - ，但有 +（即只剩两行时的最后一行） */
.search_items_list .search_adv_item:not(:has(.search_ctrl_remove)):has(.search_ctrl_add) .blurSelect {
  right: 74px;
}

.search_items_list .search_adv_item:has(.search_ctrl_remove):has(.search_ctrl_add) .search_adv_input {
  margin-right: 0;
}

.search_items_list .search_adv_item:not(:has(.search_ctrl_add)):has(.search_ctrl_remove) a { left: -35px; }

.search_items_list .search_adv_item:not(:has(.search_ctrl_type)) .search_adv_input {padding:0 95px 0 160px; margin-left: 85px; margin-right: 73px}

.search_adv_input {border-radius: 5px; padding: 0 10px 0 160px; border-left: 1px solid #d0e4f9; margin-right: 36px} 
.search_adv_label_select {      
    text-align: center;
    left: 94px;
    width: 140px;
    color: #333;
    font-weight: 500;
    border-right: 1px solid #d0e4f9;
    border-radius: 0;
    position: absolute;
    top: 1px;
    bottom: 1px;
    height: auto;
    padding: 0 7px 0 0px;
    border: none;   border-right: 1px solid #e3e3e3;   
        color: #468abb;
    font-size: 1rem;
    cursor: pointer;
}

.related-box { max-height:1000px }
.boxBox { display: flow-root;}
.paper-meta-doi a span { overflow-wrap: break-word; line-height:20px }
.journal-card img { aspect-ratio: inherit; }

.img_inner.is-scroll {
  animation: scrollLeft var(--scroll-duration, 30s) linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.side-nav a { background: #125ab6; box-shadow: 0 0 10px rgb(25 100 189 / 64%); }
.side-nav a.active { background: #125ab6; }

.publishing-platform {
display: flex;
align-items: center;
gap: 18px;
width: min(100%, 440px);
margin: 16px 0;
padding: 16px 18px;
border: 1px solid #dce5ef;
border-radius: 10px;
background: #fff;
box-shadow: none;
transition: border-color .18s ease, box-shadow .18s ease;
}

.publishing-platform__youke {
flex: 1 1 170px;
min-width: 0;
}

.publishing-platform__youke img {
  display: block;
  width: 100%;
  height: auto;
}
.publishing-platform__divider {
  flex: 0 0 1px;
  height: 32px;
  background: #dce5ef;
}

.publishing-platform__xplore {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1.1 1 188px;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.publishing-platform__xplore img {
  display: block;
  width: 100%;
  height: auto;
}

.lang-switch{
  border: 1px solid #000;
      height: 40px;
    border-radius: 10px;
    padding: 0 14px;
    font-weight:500;
}


.lang-wrap {
  position: relative;
  display: inline-block;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  right: 50%;
  transform: translateX(50%);
  width: 160px;
  padding: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
  z-index: 999;
}

.lang-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.lang-dropdown a {
  display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
    color: #222;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 9px;
    white-space: nowrap;
    height: 50px;
}

.lang-dropdown a em {
  color: #999; 
  font-size: 0.8rem;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: #f4f4f4;
}

.lang-wrap.open .lang-dropdown {
  display: block;
}

@media (max-width: 800px) {

    .mobile-menu-btn { display: block; }

header {
    height: 60px;
    line-height: normal;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.96);
  }

  .header_inner {
    width: 100%;
    height: 60px;
    position: relative;
  }

  .tt-logo {
    width: auto;
    max-width: 145px;
    max-height: 38px;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 7px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
  }
header nav a.active{
  background:none;
}
  .mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  nav.cnki-compont {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px 20px 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    display: none;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
    z-index: 1000;
  }
  nav.cnki-compont.mobile-open {
    display: flex;
  }
  nav.cnki-compont > a {
    width: 100%;
    margin: 0;
    padding: 16px 4px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
  }
  nav a.slideDown::after,
  nav a.slideUp::after {
    width: 6px;
    height: 6px;
    top: 50%;
    left: auto;
    right: 10px;
    margin: 0;
  }
  nav a.slideDown::after {
    transform: translateY(-70%) rotate(315deg);
  }
  nav a.slideUp::after {
    transform: translateY(-30%) rotate(135deg);
  }
  nav.cnki-compont p {
    width: 100%;
    position: static;
    margin: 0;
    padding: 0;
    background: #f7f8fa;
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: none;
    line-height: normal;
  }
  nav.cnki-compont p span {
    display: flex;
    flex-direction: column;
  }
  nav.cnki-compont p a {
    margin: 0;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-right {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    padding: 16px 20px 20px;
    box-sizing: border-box;
    border-top: 1px solid #eee;
    z-index: 1001;
  }
  header.menu-open .nav-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0px;
  }
  .nav_search {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
  }
  .signin {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    line-height: normal;
    font-size: 14px;
    color: #666;
  }
  .signin span {
    color: #222;
    font-weight: 600;
  }
  .signin a {
    font-size: 14px;
    color: var(--primary-color);
    line-height: normal;
    text-decoration: none;
  }

  .signin b {
    display:none;
  }
  .lang-switch {
    margin-left: 1px;
    height: 36px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ddd;
    border-radius: 18px;
    line-height: normal;
  }
  .lang-switch img {
    width: 18px;
    height: 18px;
  }
  .lang-switch span {
    font-size: 13px;
    color: #333;
  }
  .lang-switch .arrow {
    width: 12px;
    height: 12px;
  }





      .subject-grid {
        display: flex;
        padding: 0;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .subject-card {
        width: 100px;
        height: 90px;
        min-height:140px;
    }
   .subject-card span {
        font-size: 0.7rem;
    }
.subject-card:hover strong, .subject-card.is-active strong{
  font-size: 0.9rem;
}
.subject-card:hover span, .subject-card.is-active span {
    font-size: 0.6rem; 
}



.collection-grid,.unit-grid{ 
    display: flex;
    gap: 22px;
    margin-top: 23px;
    flex-direction: column;
}
.collection-card>img, .unit-card>img{
 height: 100px;
}
   
 /*.pagination {
    gap: 5px;
    padding: 0 10px;
  }
*/
  .pagination .page_btn {
    display: none;
  }
 

  .ai-translate-button {font-size: 0.7rem; min-width: auto}
  .paper-actions { font-size: 0.7rem; }
  .paper-actions a { font-size: 0.7rem }
  .paper-actions a:nth-of-type(3) { padding-left: 0}

  .album_cover {
    display: flex;
    aspect-ratio: auto;
    flex-direction: column-reverse;
    padding: 0;
  }

  .album_cover, .album_middle_box {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    clip-path: none;
  }

   .album_middle_box {
        /*min-height: 300px;*/
        padding: 0px;
    }

    .album_middle_box_right {
        aspect-ratio: 16 / 9;
    }

    .album_cover .album_middle_box {
        width: 100%;
    }

    .album_middle_box_right img {
        width: 100%;
        height: 200px;
    }

    .album_middle_box_left {
        padding: 24px;
    }

    .album_stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
        position: initial;
        margin-top:3rem 
    }

    .album_main {
        display: grid;
    }

    .paper_side {
        display: flex; µ   
        grid-row: 1;
        width: auto;
        flex-direction: column;
        gap: 20px;
        grid-row: 1;
    }

    .paper_main {
        display: grid;
    }

    .side-card {
        margin-bottom: 0;
        grid-row: 1;
    }

    .journal-nav {
        overflow-x: auto;
    }

    .share-popup {
        position: absolute;
        top: 40px;
        left: 0;
        width: 270px;
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        padding: 22px;
        display: none;
        z-index: 1000;
        backdrop-filter: blur(5px);
    }

    .publishing-hero__inner {
        flex-direction: column;
    }

    .publishing-stats__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 0;
    }

    .publishing-stat {
        gap: 9px;
        border-right: 0;
        border-left: 0;
        flex-direction: row;
        align-items: center;
        margin-bottom: 10px;
    }

    .publishing-stat::before  {
        width: 3px;
        /*height: 24px;*/
    }

    .publishing-stat strong {
        min-width: 32px;
        font-size: 23px;
    }

    .publishing-stat span {
        width: auto;
        font-size: 10px;
        max-width: 112px;
    }

    .journal_flex {
        flex-direction: column;
    }

    .search_nav {
        display: flex;
        width: auto;
    }

    nav {
        line-height: initial;
        padding: 0;
    }


    .publishing-hero__content {
        width: 100%;
    }

    .publishing-hero__image, .publishing-hero__image img {
        width: 100%;
        padding: 0;
    }

    .publishing-platform {
        gap: 10px;
        padding: 10px;
    }


}

@media (max-height: 900px) {
   
    .subject-card{
      width:100px;
      height:140px;
      min-height: 140px;
    }
    .subject-card span{
      font-size: 0.9rem;
    }
    .img_inner a {
        width: 120px;
        height: 170px;
    }
    .journal_box_main {
        height: 190px; 
    }
    .partner-item,.partner-item img { 
        height: 50px; 
        width: 150px; 
    }
     .wot-footer{
      padding:20px;
     }
    .footer-col h3 {
        margin: 0 0 10px 0; 
    }
    .footer-col a, .footer-col p {
        margin: 0 0 8px 0; 
    }
    .box_tt { 
        line-height: 30px; 
    }
    .footer-inner{
      padding:0;
    }
}

