﻿/* ========== 品牌色彩系统（红蓝主题） ========== */
:root {
    --scimea-blue: #0097CE;
    --scimea-blue-dark: #007BA3;
    --scimea-blue-light: #33ABDA;
    --scimea-blue-soft: #B3E5F3;
    --scimea-red: #9B0000;
    --scimea-red-dark: #700000;
    --scimea-red-light: #B83333;
    --scimea-gold: #D4AF37;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E5E7EB;
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --font-song: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'STHeiti', 'SimHei', 'WenQuanYi Micro Hei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-song);
    color: var(--text-dark);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .25s ease; }
a:hover { color: var(--scimea-blue); }
img { max-width: 100%; }

/* ====== 顶部通栏 ====== */
.top-bar {
    background: var(--scimea-red);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    padding: 7px 0;
    letter-spacing: .3px;
    font-family: var(--font-song);
}
.top-bar a { color: rgba(255,255,255,.9); margin: 0 14px; font-weight: 400; }
.top-bar a:hover { color: #FFE066; }

/* ====== 头部主区域 ====== */
.header-main {
    background: #fff;
    box-shadow: 0 2px 20px rgba(155,0,0,.08);
}
.header-logo-row { padding: 14px 0; }
/* 顶部右上角链接 English / 联系我们 / 招聘 */
.header-top-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-top-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    border: none;
    transition: all .25s;
}
.header-top-links a:hover {
    color: var(--scimea-blue);
}
.header-top-links a i { font-size: 14px; }
/* ====== Logo 图片 + 波形动画叠加 ====== */
.logo-img-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}
.ecg-overlay {
    position: absolute;
    left: 11.45%;
    top: 0.58%;
    width: 19.88%;
    height: 54.07%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.ecg-overlay img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    animation: ecgReveal 2.2s linear infinite;
}
/* 心率图从左到右逐步显示，像心电图机画线 */
@keyframes ecgReveal {
    0%   { clip-path: inset(0 100% 0 0); }
    75%  { clip-path: inset(0 0 0 0); }
    90%  { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 100% 0 0); }
}
/* 心电波描边动画 — 从左到右流动 */
@keyframes ecgFlow {
    0%   { stroke-dashoffset: 250; }
    50%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -250; }
}
/* 心电波发光脉冲 */
@keyframes ecgGlow {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(155,0,0,.3)); }
    50%      { filter: drop-shadow(0 0 8px rgba(155,0,0,.7)); }
}

.header-logo {
    height: 78px !important;
    max-height: 78px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    animation: logoSlideIn 1s cubic-bezier(.25,.8,.25,1) forwards;
    opacity: 0;
    transform: translateX(-40px);
    filter: drop-shadow(0 2px 8px rgba(155,0,0,.15));
    transition: filter .4s ease, transform .4s ease;
}
.header-logo.logo-entered {
    filter: drop-shadow(0 2px 8px rgba(155,0,0,.15));
}
.header-logo.logo-entered:hover {
    filter: drop-shadow(0 6px 24px rgba(155,0,0,.45));
}
/* 心跳节奏：双搏（lub-dub）+ 间歇 */
@keyframes heartbeat {
    0%   { transform: scale(1);    filter: drop-shadow(0 2px 8px rgba(155,0,0,.15)); }
    8%   { transform: scale(1.08); filter: drop-shadow(0 4px 16px rgba(155,0,0,.30)); }
    16%  { transform: scale(1);    filter: drop-shadow(0 2px 8px rgba(155,0,0,.15)); }
    24%  { transform: scale(1.05); filter: drop-shadow(0 4px 14px rgba(155,0,0,.25)); }
    32%  { transform: scale(1);    filter: drop-shadow(0 2px 8px rgba(155,0,0,.15)); }
    100% { transform: scale(1);    filter: drop-shadow(0 2px 8px rgba(155,0,0,.15)); }
}
@keyframes logoSlideIn {
    from { opacity: 0; transform: translateX(-40px); filter: drop-shadow(0 0 0 transparent); }
    60%  { filter: drop-shadow(0 4px 20px rgba(155,0,0,.3)); }
    to   { opacity: 1; transform: translateX(0); filter: drop-shadow(0 2px 8px rgba(155,0,0,.15)); }
}
.logo-divider {
    width: 2px;
    height: 56px;
    background: var(--scimea-red);
    margin-left: 18px;
    margin-right: 18px;
    flex-shrink: 0;
    display: block;
    animation: dividerGrow .8s ease forwards;
    animation-delay: .2s;
    transform: scaleY(0);
    transform-origin: center;
}
@keyframes dividerGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}
.org-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    animation: nameFadeIn 1.2s ease forwards;
    animation-delay: .3s;
    opacity: 0;
}
@keyframes nameFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.org-line {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: cnLetterSpacing 1.6s ease forwards;
    animation-delay: .5s;
    letter-spacing: 0px;
}
.org-line:first-child {
    font-size: 30px;
    letter-spacing: 5px;
}
.org-line:nth-child(2) {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 6px;
}
@keyframes cnLetterSpacing {
    from { letter-spacing: 0px; opacity: .7; }
    to   { letter-spacing: 2px; opacity: 1; }
}
.org-red { color: var(--scimea-red); }
.org-blue { color: var(--scimea-blue); }
/* 英文版标题字间距缩小、字号减小 */
html[lang="en"] .org-line { font-size: 26px; letter-spacing: 1px; animation: none; }
html[lang="en"] .org-line:first-child { font-size: 26px; letter-spacing: 1px; }
.search-wrapper { position: relative;width:300px;max-width: 340px; }
.search-wrapper input {
    width: 100%;
    border: 2px solid var(--scimea-red);
    border-radius: 30px;
    padding: 9px 44px 9px 20px;
    font-size: 14px;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    background: var(--gray-50);
}
.search-wrapper input:focus { border-color: #7A0000; box-shadow: 0 0 0 3px rgba(155,0,0,.12); background: #fff; }
.search-wrapper button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--scimea-red);
    color: #fff;
    border: none;
    border-radius: 26px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: background .25s;
}
.search-wrapper button:hover { background: #7A0000; }

/* 容器加宽 */
.container { max-width: 100% !important; }

/* 主导航栏 */
.main-nav {
    background: transparent;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 0;
}
.main-nav .container { padding-left: 0; padding-right: 0; }
.main-nav .nav-link { text-align: center; white-space: nowrap; color: #333 !important; }
.main-nav .nav-link:hover { color: var(--scimea-red) !important; }
/* 下拉菜单定位锚点：relative 让 dropdown-menu 的 left:50% 以当前 li 为基准 */
.main-nav .nav-item.dropdown { position: relative; }
.main-nav .dropdown-toggle::after { filter: none; }
.dropdown-item { font-size: 14px; padding: 9px 20px; transition: all .2s; text-align: left; }
.dropdown-item:hover { background: #FFF0F0; color: var(--scimea-red); }
/* 主导航下拉菜单 */
.main-nav .dropdown-menu {
    border: none; border-radius: 0; box-shadow: 0 8px 30px rgba(155,0,0,.18); padding: 8px 0;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    width: max-content; min-width: 160px;
    left: 50%; transform: translateX(-50%);
    display: none;
    animation: none;
}
html[lang="zh-CN"] .main-nav .dropdown-menu { width: 120px; min-width: unset; }
.main-nav .dropdown:hover .dropdown-menu {
    display: block;
    animation: dropdownFadeIn .35s ease forwards;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; margin-top: -8px; }
    to   { opacity: 1; margin-top: 0; }
}
.main-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 14px 16px !important;
    position: relative;
    letter-spacing: .5px;
}
html[lang="en"] .main-nav .dropdown-menu { min-width: 180px; }
/* 最后一个下拉菜单额外加20宽度（180+20=200），防止内容溢出 */
html[lang="en"] .main-nav .nav-item.dropdown:last-child > .dropdown-menu { min-width: 200px; }
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: width .3s ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { width: 60%; }
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: #fff; }

/* ====== 首屏 Banner — 视频背景 + 文字动画 ====== */
.hero-banner {
    position: relative; overflow: hidden;
    height: 550px;
    margin-bottom: 30px;
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* 文字层 — 30s 后消失 */
.hero-text-group {
    position: absolute; inset: 0; z-index: 10;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; pointer-events: none;
    opacity: 0;
}

/* 文字入场动画 — 总时长30s，只播放一次 */
.hero-text-group {
    animation: textShowThenHide 30s ease forwards;
}
@keyframes textShowThenHide {
    0%        { opacity: 0; }
    3%        { opacity: 1; }   /* 约0.9s 后完全显示 */
    90%       { opacity: 1; }   /* 保持显示到 27s */
    100%      { opacity: 0; }   /* 30s 时淡出消失 */
}

.text-slide-left {
    opacity: 0;
    animation: textSlideLeft 1.2s ease 0.2s forwards;
}
@keyframes textSlideLeft {
    0%   { opacity: 0; transform: translateX(-120px); }
    100% { opacity: 1; transform: translateX(0); }
}
.text-slide-right {
    opacity: 0;
    animation: textSlideRight 1.2s ease 0.6s forwards;
}
@keyframes textSlideRight {
    0%   { opacity: 0; transform: translateX(120px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* 文字样式 */
.hero-title-lg {
    font-family: var(--font-song);
    font-size: 38px; font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,.45), 0 0 60px rgba(155,0,0,.3);
    margin-bottom: 8px;
}
.hero-title-sm {
    font-family: var(--font-song);
    font-size: 22px; font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,.4);
    margin-bottom: 16px;
}
.hero-badge {
    display: inline-block;
    font-family: var(--font-song);
    font-size: 15px; font-weight: 500;
    color: #fff;
    padding: 6px 24px;
    border: 1.5px solid rgba(255,255,255,.6);
    border-radius: 30px;
    background: rgba(155,0,0,.25);
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero-en {
    font-family: 'Arial',sans-serif;
    font-size: 52px; font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,.4);
    margin-bottom: 10px;
}

/* ====== 行业要闻列表 ====== */
.news-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 14px;
    border-bottom: 1px dashed var(--gray-200);
    transition: all .25s;
    border-radius: 8px;
}
.news-list-item:hover {
    background: var(--gray-50);
    transform: translateX(6px);
    border-bottom-style: solid;
    border-bottom-color: var(--scimea-red-light);
}
.news-list-item:last-child { border-bottom: none; }
.news-list-item .news-title {
    font-size: 14px;
    color: var(--text-dark);
    flex: 1;
    padding-right: 18px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 100px);
}
.news-list-item:hover .news-title { color: var(--scimea-red); font-weight: 600; }
.news-list-item .news-date {
    font-size: 12px; color: var(--text-muted);
    white-space: nowrap; min-width: 85px; text-align: right;
}

/* ====== 页脚 v2 — 红色主题 ====== */
.site-footer {
    margin-top: 0;
    font-size: 15px;
    color: #fff;
    background: var(--scimea-red) url("../images/footerbg.jpg") no-repeat center / cover;
    border-top: 4px solid var(--scimea-red-dark);
}
/* footer 内容区左右距边 6% */
.site-footer .container {
    max-width: 100% !important;
    padding-left: 6%;
    padding-right: 6%;
}
/* 中文版底部宽度 85% */
.footer-zh .container { padding-left: 7.5%; padding-right: 7.5%; }
/* 英文版底部宽度 98% */
.footer-en .container { padding-left: 1%; padding-right: 1%; }
.footer-en .ft-main { grid-template-columns: 9fr 7fr 4fr; }

/* 三栏主体（无 Logo 列） */
.ft-main {
    display: grid;
    grid-template-columns: 4fr 4fr 2fr;
    gap: 30px;
    padding: 48px 0 40px;
}

/* --- 品牌文字列 --- */
.ft-brand-name2 {
    font-size: 18px; font-weight: 700; color: #fff;
    margin-bottom: 4px;
}
.ft-brand-en2 {
    font-size: 12px; color: rgba(255,255,255,.6);
    margin-bottom: 14px; letter-spacing: .3px;
}
.ft-brand-tags2 {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px;
}
.ft-tag-v2 {
    font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 4px;
}
.ft-tag-v2.primary { background: rgba(255,255,255,.18); color: #fff; }
.ft-tag-v2.outline { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.ft-addr2 {
    font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.6;
}
.ft-domain2 {
    font-size: 14px; color: rgba(255,255,255,.65); margin-top: 4px;
}
.ft-domain2 a { color: rgba(255,255,255,.65); }
.ft-domain2 a:hover { color: #fff; }
.ft-copy2 {
    font-size: 13px; color: rgba(255,255,255,.45); margin-top: 8px; line-height: 1.5;
}

/* --- 中：联系我们 --- */
.ft-contact-title {
    font-size: 16px; font-weight: 700; color: #fff;
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,255,255,.15);
}
.ft-dept-list { display: flex; flex-direction: column; gap: 10px; }
.ft-dept-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 4px 0;
}
.ft-dept-icon {
    width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff; margin-top: 2px;
}
.ft-dept-icon.d1 { background: var(--scimea-blue); }
.ft-dept-icon.d2 { background: #EF4444; }
.ft-dept-icon.d3 { background: #10B981; }
.ft-dept-icon.d4 { background: #F59E0B; }
.ft-dept-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ft-dept-header { display: flex; align-items: center; gap: 18px; }
.ft-dept-name {
    font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap;
}
.ft-dept-tel {
    font-size: 15px; color: #fff; font-weight: 600;
}
.ft-dept-desc {
    font-size: 13px; color: rgba(255,255,255,.55);
}

/* --- 右：关注我们 --- */
.ft-qr-title {
    font-size: 16px; font-weight: 700; color: #fff;
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,255,255,.15);
}
.ft-qr-grid {
    display: flex; gap: 32px; justify-content: center;
}
.ft-qr-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ft-qr-item img {
    width: 100px; min-width: 100px; max-width: 100px;
    height: auto; aspect-ratio: auto;
    border: 8px solid #fff;
    border-radius: 8px;
    box-sizing: content-box;
}
.ft-qr-item span {
    font-size: 13px; color: rgba(255,255,255,.7); text-align: center;
    white-space: nowrap;
}

/* 响应式 — 手机版footer联系我们另起一行 */
@media (max-width: 991px) {
    .ft-main { grid-template-columns: 1fr; }
    .footer-en .ft-main { grid-template-columns: 1fr; }
    .ft-qr-col { justify-content: center; }
}

/* ====== 移动端侧边菜单 ====== */
#mobileMenu { width: 200px !important; border: none; }
#mobileMenu .offcanvas-header {
    background: var(--scimea-red);
    padding: 18px 16px; border-bottom: none !important;
}
#mobileMenu .offcanvas-header .offcanvas-title {
    color: #fff !important; font-size: 16px; font-weight: 700; letter-spacing: 1px;
}
#mobileMenu .offcanvas-header .btn-close {
    filter: invert(1) brightness(2); opacity: .85; transition: opacity .2s;
}
#mobileMenu .offcanvas-header .btn-close:hover { opacity: 1; }
#mobileMenu .offcanvas-body {
    padding: 0; overflow-y: auto; overflow-x: hidden;
}
/* 滚动条美化 */
#mobileMenu .offcanvas-body::-webkit-scrollbar { width: 4px; }
#mobileMenu .offcanvas-body::-webkit-scrollbar-track { background: transparent; }
#mobileMenu .offcanvas-body::-webkit-scrollbar-thumb {
    background: var(--gray-200); border-radius: 4px;
}

/* 通用菜单项 */
.nav-link-mobile {
    display: flex; align-items: center;
    padding: 13px 16px;
    font-size: 15px; font-weight: 600; color: var(--text-dark);
    border-bottom: 1px solid rgba(0,0,0,.04);
    transition: all .25s ease; position: relative; white-space: nowrap;
}
.nav-link-mobile::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 0; height: 20px;
    background: var(--scimea-red);
    border-radius: 0 3px 3px 0; transition: width .25s ease;
}
.nav-link-mobile:hover,
.nav-link-mobile.active {
    color: var(--scimea-red); background: rgba(155,0,0,.04);
}
.nav-link-mobile:hover::before,
.nav-link-mobile.active::before { width: 4px; }
.nav-link-mobile:hover:not(.home-item) { padding-left: 22px; }
.nav-link-mobile.active:not(.home-item) { padding-left: 22px; }

/* 首页专用样式 */
.nav-link-mobile.home-item {
    font-size: 15.5px; font-weight: 700; color: var(--scimea-red);
    background: linear-gradient(135deg, rgba(155,0,0,.04), rgba(155,0,0,.01));
    border-bottom: 2px solid rgba(155,0,0,.12);
}
.nav-link-mobile.home-item i { font-size: 17px; }
.nav-link-mobile.home-item:hover,
.nav-link-mobile.home-item.active {
    color: var(--scimea-red); background: rgba(155,0,0,.08);
}

/* 折叠组容器 */
.nav-mobile-group { border-bottom: 1px solid rgba(0,0,0,.04); }
.nav-mobile-group:last-of-type { border-bottom: none; }

/* 折叠切换按钮 */
.nav-mobile-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 16px; font-size: 15px; font-weight: 600;
    color: var(--text-dark); cursor: pointer; user-select: none;
    transition: all .25s ease; text-decoration: none !important;
}
.nav-mobile-toggle:hover {
    color: var(--scimea-red); background: rgba(155,0,0,.04);
}
.nav-mobile-toggle .bi-chevron-down {
    font-size: 11px; transition: transform .3s ease; color: var(--text-muted);
}
.nav-mobile-toggle:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg); color: var(--scimea-red);
}
.nav-mobile-toggle:not(.collapsed) {
    color: var(--scimea-red); background: rgba(155,0,0,.05);
}

/* 子项样式 */
.nav-link-mobile.sub {
    font-weight: 400; font-size: 14px;
    padding: 10px 16px 10px 30px; color: var(--text-muted);
    background: rgba(155,0,0,.02); border-bottom-color: rgba(0,0,0,.02);
}
.nav-link-mobile.sub:hover,
.nav-link-mobile.sub.active {
    color: var(--scimea-red); background: rgba(155,0,0,.06);
    padding-left: 36px;
}
.nav-link-mobile.sub::before { height: 14px; }
.nav-link-mobile.sub:hover::before,
.nav-link-mobile.sub.active::before { width: 3px; }

/* 申报专区特殊样式 */
.nav-link-mobile.apply-item {
    margin: 8px 10px; border: 1.5px solid var(--scimea-red);
    border-radius: 6px; color: var(--scimea-red); padding: 10px 14px;
    background: transparent; font-weight: 600;
}
.nav-link-mobile.apply-item::before { display: none; }
.nav-link-mobile.apply-item:hover {
    background: var(--scimea-red); color: #fff; padding-left: 14px;
}
.nav-link-mobile.apply-item i { font-size: 14px; }

/* 移动端导航按钮美化 */
.btn-mobile-menu {
    background: var(--scimea-red) !important; color: #fff !important;
    border: none !important; border-radius: 6px !important;
    padding: 8px 16px !important; font-size: 15px !important;
    font-weight: 600 !important; transition: all .25s !important;
}
.btn-mobile-menu:hover {
    background: var(--scimea-red-dark) !important;
    box-shadow: 0 4px 12px rgba(155,0,0,.25);
}

/* ====== 滚动触发动画 ====== */
/* 初始隐藏状态 */
.scroll-hidden {
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(.25,.8,.25,1);
}
/* 动画类型 */
.anim-up      { transform: translateY(50px); }
.anim-down    { transform: translateY(-50px); }
.anim-left    { transform: translateX(-60px); }
.anim-right   { transform: translateX(60px); }
.anim-scale   { transform: scale(.88); }
.anim-flipX   { transform: rotateX(18deg); transform-origin: top center; }
.anim-blur    { filter: blur(8px); transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.25,.8,.25,1), filter 1.2s ease; }

/* 触发可见状态 */
.scroll-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* 专题横幅动画更慢 */
.topic-banner.scroll-hidden {
    transition: opacity 2s ease, transform 2s cubic-bezier(.25,.8,.25,1);
}

/* 子元素逐项延时 */
.stagger-child > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.25,.8,.25,1);
}
.stagger-child.scroll-visible > * {
    opacity: 1;
    transform: none;
}
.stagger-child.scroll-visible > *:nth-child(1)  { transition-delay: .08s; }
.stagger-child.scroll-visible > *:nth-child(2)  { transition-delay: .18s; }
.stagger-child.scroll-visible > *:nth-child(3)  { transition-delay: .28s; }
.stagger-child.scroll-visible > *:nth-child(4)  { transition-delay: .38s; }
.stagger-child.scroll-visible > *:nth-child(5)  { transition-delay: .48s; }
.stagger-child.scroll-visible > *:nth-child(6)  { transition-delay: .58s; }
.stagger-child.scroll-visible > *:nth-child(7)  { transition-delay: .68s; }
.stagger-child.scroll-visible > *:nth-child(8)  { transition-delay: .78s; }

/* ====== 旧版兼容 ====== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease forwards; }

/* ======================================================
   新版中部布局样式
   ====================================================== */

/* 容器内边距 */
.section-row3 .container { padding-left: 1%; padding-right: 1%; }
.section-row4 .container { padding-left: 2%; padding-right: 1%; }
.section-row6 .container { padding-left: 2%; padding-right: 1%; }
.section-row7 .container { padding-left: 0; padding-right: 0; }
.section-topic .container { padding-left: 1%; padding-right: 1%; }

/* ① 学术活动轮播 + 活动日历 */
.section-row1 { background: #fff; padding-top: 15px; margin-bottom: 15px; }
.section-row1 .container { padding-left: 1%; padding-right: 1%; }
.top-banner-row { gap: 15px; }
.academic-carousel-wrap {
    background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden;
    min-height: 320px; padding-bottom: 60px;
    border-radius: 12px;
    flex: 1 1 calc(66.666% - 7.5px); max-width: calc(66.666% - 7.5px);
}
.academic-carousel-wrap .carousel {
    position: absolute; inset: 0;
}
.academic-carousel-wrap .carousel-inner,
.academic-carousel-wrap .carousel-item {
    height: 100%;
}
.academic-carousel-wrap .carousel-item img {
    width: 100%; height: 100%; object-fit: cover;
}
.academic-carousel-wrap .carousel-caption {
    position: absolute; bottom: 26px; left: 16px; right: auto;
    background: rgba(255,255,255,.90); backdrop-filter: blur(6px);
    border-radius: 8px; padding: 10px 18px; text-align: left;
    border-left: 3px solid var(--scimea-red);
}
.academic-carousel-wrap .carousel-caption h6 {
    font-size: 16px; font-weight: 600; color: var(--scimea-red); margin: 0; line-height: 1.4;
}

/* 活动日历 — 红蓝主题 */
.cal-section {
    padding: 0 0 16px;
    background: #fff;
    height: 100%;
    border: 1.5px solid var(--scimea-red); border-radius: 12px;
    position: relative; overflow: visible;
    flex: 1 1 calc(33.333% - 7.5px); max-width: calc(33.333% - 7.5px);
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}
.cal-section::before { display: none; }
.cal-section > * { position: relative; z-index: 1; }
.cal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px 10px; margin: 0;
    background: #fff; border-radius: 0;
    border-bottom: 1.5px solid var(--scimea-red);
}
.cal-title {
    font-size: 18px; font-weight: 700; color: #222;
    display: flex; align-items: center; gap: 8px;
}
.cal-icon-dots {
    display: grid; grid-template-columns: repeat(3,4px); gap: 2px;
    width: 18px; height: 16px;
}
.cal-icon-dots span { width: 4px; height: 4px; background: var(--scimea-red); border-radius: 50%; opacity: .7; }
.cal-icon-dots span:nth-child(1) { opacity: .35; }
.cal-icon-dots span:nth-child(5) { opacity: .45; }
.cal-icon-dots span:nth-child(6) { opacity: .35; }
.cal-links a {
    font-size: 16px; color: #222; margin-left: 10px;
    padding: 3px 0; transition: color .2s;
    font-family: var(--font-song);
}
.cal-links a:hover { color: var(--scimea-red); }
.cal-nav-row {
    display: flex; align-items: center; justify-content: space-between; margin: 12px 14px 8px;
    gap: 8px;
}
.cal-nav-btn {
    background: none;
    color: var(--scimea-red); border: none; border-radius: 6px;
    width: 32px; height: 32px; cursor: pointer; font-size: 18px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; box-shadow: none;
    transition: all .2s;
}
.cal-nav-btn:hover { color: var(--scimea-red-dark); }
.cal-month-label {
    font-size: 16px; font-weight: 500; color: #333; letter-spacing: .5px;
}
.cal-today-btn {
    background: none; border: 1.5px solid #ccc; border-radius: 6px;
    padding: 5px 14px; font-size: 16px; color: #222;
    cursor: pointer; transition: all .25s; white-space: nowrap;
    font-family: var(--font-song);
}
.cal-today-btn:hover { background: var(--scimea-red); color: #fff; border-color: var(--scimea-red); }
.cal-weekdays {
    display: grid; grid-template-columns: repeat(7, 1fr);
    text-align: center; font-size: 16px; color: #fff;
    margin: 0; padding: 10px 0;
    background: var(--scimea-red); border-radius: 0;
    font-weight: 600;
}
.cal-weekdays .wknd { color: #fff; }
.cal-body {
    border: none; border-radius: 0;
    padding: 8px 10px 6px; background: #fff;
}
.cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    text-align: center; row-gap: 6px;
}
.cal-day {
    position: relative; font-size: 16px; padding: 6px 2px 10px;
    border-radius: 50%; width: 40px; height: 40px; margin: auto;
    cursor: pointer; color: #333; line-height: 1; display: inline-flex;
    align-items: center; justify-content: center; transition: all .2s;
    font-weight: 400;
}
.cal-day:hover { background: #FFF0F0; color: var(--scimea-red); }
.cal-day.other-month { color: #c0c8d4; pointer-events: none; }
.cal-day.today {
    background: #d9d9d9 !important; color: #333 !important;
    font-weight: 700; border-radius: 50% !important; width: 40px; height: 40px;
    box-shadow: none;
}
.cal-day.has-event::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(155, 0, 0, .18);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.cal-day.has-event { color: var(--scimea-red); font-weight: 700; }
.cal-day.today.has-event::after { display: none; }
.cal-day.weekend:not(.other-month):not(.today) { color: #E85A50; }
.cal-day.weekend.has-event:not(.other-month):not(.today) { color: var(--scimea-red); }

/* 活动日历框内面板 */
.cal-tooltip {
    position: absolute;
    z-index: 10;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,.08);
    top: 0; bottom: 0;
    overflow: hidden;
    display: none;
    flex-direction: column;
    border-radius: 0 0 12px 0;
}
.cal-tooltip-left {
    border-radius: 0 0 0 12px;
    box-shadow: 2px 0 8px rgba(0,0,0,.08);
}
.cal-tooltip-right {
    border-radius: 0 0 12px 0;
    box-shadow: -2px 0 8px rgba(0,0,0,.08);
}
/* 日期标题行 */
.cal-tip-date-row {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 6px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--scimea-red);
    border-bottom: 1px solid #f0f0f0;
    background: #FFFAFA;
}
.cal-tip-close {
    flex: 0 0 auto;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: none;
    font-size: 18px; color: #999; cursor: pointer;
    border-radius: 50%; line-height: 1; padding: 0;
    transition: color .15s, background .15s;
}
.cal-tip-close:hover {
    color: #fff;
    background: var(--scimea-red);
}
/* 加载与空状态 */
.cal-tip-loading,
.cal-tip-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 18px;
    color: #999;
    font-size: 14px;
}
/* 活动列表（可滚动） */
.cal-tip-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}
.cal-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    line-height: 1.35;
    transition: background .15s;
    border-bottom: 1px solid #f5f5f5;
    white-space: normal;
}
.cal-tip-dot {
    flex: 0 0 auto;
    margin-top: 4px;
    font-size: 7px;
    color: var(--scimea-red);
    line-height: 1;
}
.cal-tip-item:last-child {
    border-bottom: none;
}
.cal-tip-item:hover {
    background: #FFF0F0;
    color: var(--scimea-red);
    text-decoration: none;
}

/* ② 专题横幅 */
.topic-banner {
    border-radius: 12px;
    padding: 22px 32px; margin: 15px 0;
    display: flex; align-items: center; justify-content: space-between;
    color: #fff;
    position: relative; overflow: hidden;
    transition: all .35s;
}
.topic-banner-inner {
    display: flex; align-items: center; gap: 16px;
    position: relative; z-index: 1;
}
.topic-tag {
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid #fff; border-radius: 8px;
    padding: 4px 14px; font-size: 18px; font-weight: 700;
    min-width: 80px;
}
.topic-divider {
    width: 2px; height: 26px; background: rgba(255,255,255,.7);
}
.topic-text {
    font-size: 20px; font-weight: 600; letter-spacing: 2px;
    text-decoration: none;
    color: inherit;
}
.topic-text:hover { text-decoration: none; }
.topic-link {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.9); color: var(--scimea-red);
    padding: 8px 18px; border-radius: 30px;
    font-size: 14px; font-weight: 600;
    position: relative; z-index: 1;
    transition: all .25s;
}
.topic-link:hover {
    background: #fff; color: var(--scimea-red-dark);
    transform: translateX(3px);
}
.topic-banner-1 {
    background: #FBF1E8;
    color: #92400E;
    justify-content: center;
}
.topic-banner-1 .topic-banner-inner { justify-content: center; gap: 72px; }
.topic-banner-1 .topic-tag-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}
.topic-banner-1 .topic-divider {
    background: #D97706;
}
.topic-banner-1 .topic-text {
    color: #78350F;
    font-weight: 600;
}
.topic-banner-1 .topic-text:hover { color: #B45309; }
.topic-banner-2 .topic-text:hover { color: rgba(255,255,255,.85); }
.topic-banner-1 .topic-link {
    background: #fff;
    color: #D97706;
    margin-left: 4px;
}
.topic-banner-1 .topic-link:hover {
    background: #D97706;
    color: #fff;
}
.topic-banner-2 {
    background: linear-gradient(90deg, var(--scimea-blue) 0%, var(--scimea-blue-light) 100%);
    justify-content: center;
    border-radius: 12px;
    padding-left: 10px; padding-right: 10px;
}
.topic-banner-2 .topic-banner-inner { justify-content: center; gap: 72px; }
.topic-banner-2 .topic-link { color: var(--scimea-blue); margin-left: 72px; }
.topic-banner-2 .topic-link:hover { color: var(--scimea-blue-dark); }

/* 英文版专题横幅适配 */
html[lang="en"] .topic-text { font-size: 16px; letter-spacing: 1px; }
html[lang="en"] .topic-tag { font-size: 16px; min-width: 70px; }

/* ====== ③ 申报专区 + 行业要闻 ====== */
.section-row3 {
    padding: 0 0 15px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* 行业要闻在小屏下的边距调整 */
@media (max-width: 576px) {
    .news-gradient-wrap { padding: 22px 18px; }
}

/* 申报专区 - 红色横幅卡片 */
.apply-gradient-box {
    background: var(--scimea-red) url("../images/sb_bg.png") no-repeat top right;
    background-size: cover;
    border-radius: 16px;
    padding: 32px 42px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: auto;
    height: 100%;
    box-shadow: 0 24px 64px rgba(155,0,0,.25);
}
.apply-gradient-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .8;
    pointer-events: none;
}
.apply-gradient-box::after { display: none; }
.apply-panda {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 193px;
    pointer-events: none;
    opacity: 1;
    z-index: 10;
    animation: pandaFloat 6s ease-in-out infinite;
}
@keyframes pandaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.apply-head-gradient {
    position: relative;
    z-index: 3;
    margin-bottom: 30px;
    padding-top: 12px;
}
.apply-head-gradient h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    letter-spacing: 2px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: visible;
}
.apply-title-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    position: relative;
    flex-shrink: 0;
}
.apply-title-icon::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid #fff;
}
.apply-title-text { position: relative; z-index: 2; }
.apply-title-en {
    position: absolute;
    left: 22px;
    bottom: -12px;
    font-size: 25px;
    font-weight: 900;
    font-family: "Source Han Sans SC", "Noto Sans SC", "思源黑体", sans-serif;
    color: rgba(255,255,255,0.30);
    letter-spacing: 4px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    text-shadow: none;
}
.apply-categories {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 18px;
    row-gap: 16px;
    max-width: 62%;
    margin-top: 40px;
    margin-left: 35px;
}
.apply-cat-card {
    background: rgba(255,255,255,0.95);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
    color: var(--scimea-red);
    transition: all .3s ease;
    cursor: pointer;
    text-decoration: none;
}
.apply-cat-card:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    color: var(--scimea-red);
    border-color: var(--scimea-red-light);
}
.apply-cat-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--scimea-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 20px;
    color: #fff;
    transition: all .3s;
}
.apply-cat-card:hover .apply-cat-icon {
    background: var(--scimea-red-dark);
    transform: scale(1.1) rotate(-4deg);
}
.apply-cat-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--scimea-red);
}
.apply-cat-desc {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 1199px) {
    .apply-categories { max-width: 75%; }
    .apply-panda { width: 145px; }
}
@media (max-width: 991px) {
    .apply-categories { max-width: 100%; grid-template-columns: repeat(2, 1fr); }
    .apply-panda { width: 100px; right: -10px; bottom: -20px; }
}
@media (max-width: 576px) {
    .apply-categories { max-width: 100%; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-left: 0; margin-top: 0; }
    .apply-cat-card { padding: 12px 6px; }
    .apply-cat-icon { width: 32px; height: 32px; font-size: 16px; }
    .apply-cat-title { font-size: 13px; }
    .apply-cat-desc { font-size: 11px; }
    .apply-panda { display: none; }
    .apply-gradient-box { padding: 24px 16px; min-height: auto; height: auto; }
    .apply-head-gradient h3 { font-size: 18px; }
}

/* 行业要闻 - 杂志式卡片 */
.news-gradient-wrap {
    background: linear-gradient(to bottom left, #F8E6EE 0%, #fff 60%);
    border-radius: 16px;
    padding: 28px;
    height: 450px;
    border: 1px solid rgba(155,0,0,.18);
    box-shadow: 0 8px 32px rgba(0,151,206,.08);
}
.news-gradient-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}
.news-gradient-header h3 {
    margin: 0;
}
.news-title-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 60px 14px 18px;
    font-size: 26px;
    font-weight: 800;
    color: var(--scimea-red);
    letter-spacing: 2px;
    overflow: visible;
}
/* 顶横线 + 底横线 + 左竖线(顶部留5px不连三角) */
.news-title-box::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        /* 底横线 — 到 70% */
        linear-gradient(to right, var(--scimea-red) 70%, transparent 70%)
            0 calc(100% - 2px) / 100% 2px no-repeat,
        /* 顶横线 — 左边空 ~50px，开口更大 */
        linear-gradient(to right, transparent 50px, var(--scimea-red) 50px,
            var(--scimea-red) 79%, transparent 79%)
            0 0 / 100% 2px no-repeat,
        /* 左竖线 — 从三角下方 5px 处开始 */
        linear-gradient(to bottom, transparent 17px, var(--scimea-red) 17px)
            0 0 / 2px 100% no-repeat;
}
/* 右边斜线 — 从底部 70% 斜向右上 */
.news-title-box::after {
    content: '';
    position: absolute;
    left: 70%;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--scimea-red);
    transform-origin: bottom center;
    transform: skewX(-15deg);
}
/* 左上角红色三角 — 与竖线间隔 5px */
.news-title-corner {
    position: absolute;
    left: -2px; top: -2px;
    width: 0; height: 0;
    border-top: 14px solid var(--scimea-red);
    border-right: 14px solid transparent;
    z-index: 5;
}
.news-title-text { 
    position: relative; 
    z-index: 2; 
    top: -1px;
}
.news-title-en {
    position: absolute;
    left: 22px;
    bottom: 6px;
    font-size: 20px;
    font-weight: 900;
    font-family: "Source Han Sans SC", "Noto Sans SC", "思源黑体", sans-serif;
    color: rgba(0, 0, 0, 0.12);
    letter-spacing: 4px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}
/* 四角 bracket 不需要 */
.news-frame { display: none; }


.news-more {
    font-size: 13px;
    color: var(--scimea-red);
    font-weight: 600;
    text-decoration: none;
}
.news-more:visited { color: var(--scimea-red); }
.news-more:hover { color: var(--scimea-blue); }

.news-magazine {
    display: block;
    margin-bottom: 11px;
}
.news-magazine h4 {
    transition: color .25s;
    cursor: pointer;
}
.news-magazine:hover h4 { color: var(--scimea-red); }
.news-featured {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    color: #1a2332;
    text-decoration: none;
    transition: background .25s;
}
.news-featured:hover { background: var(--gray-50); }
.news-featured-img {
    width: auto;
    height: 150px;
    flex-shrink: 0;
    display: block;
}
.news-featured-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 15px 3px;
    position: relative;
    z-index: 2;
}
.news-featured-tag {
    display: inline-flex;
    background: #FFF0F0;
    color: var(--scimea-red);
    padding: 3px 10px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
}
.news-featured h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    color: #1a2332;
    transition: color .25s;
}
.news-featured:hover h4 { color: var(--scimea-red); }
.news-featured-desc {
    font-size: 14px;
    color: #6E6E82;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-featured-date {
    font-size: 12px;
    color: #999;
    margin-top: 1px;
    margin-bottom: 6px;
}
@media (max-width: 768px) {
    .news-featured {
        flex-direction: column;
    }
    .news-featured-img {
        width: 100%;
        height: auto;
    }
    .news-featured-body {
        padding: 14px;
    }
}
.news-bottom-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.news-bottom-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 9px;
    background: #FAFAFF;
    border-radius: 0;
    transition: all .25s;
    text-decoration: none;
}
.news-bottom-item:hover {
    background: linear-gradient(90deg, rgba(155,0,0,0.06), transparent);
}
.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--scimea-red);
    flex-shrink: 0;
}
.news-bottom-title {
    flex: 1;
    font-size: 15px;
    color: #1a2332;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-bottom-item:hover .news-bottom-title { color: var(--scimea-red); }
.news-bottom-date {
    font-size: 12px;
    color: #7c7c9c;
    white-space: nowrap;
}

/* ④ 国际交流 — 4 张卡片 */
.section-row4 {
    padding: 20px 0 6px;
    background: #F5F8FC;
    margin-bottom: 15px;
}
/* 4张独立卡片 1行4列 */
.exchange-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.exchange-card {
    position: relative; overflow: hidden; border-radius: 16px;
    padding: 30px 20px 28px 40px;
    text-align: left;
    transition: all .4s cubic-bezier(.25,.8,.25,1);
    cursor: pointer; text-decoration: none;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    min-height: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.exchange-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(0,0,0,.15);
}
/* 卡片背景色：1粉 2灰 3粉 4灰 */
.exchange-card.card-go  { background: #FBECEF; }
.exchange-card.card-come{ background: #E6E6E6; }
.exchange-card.card-coop{ background: #FBECEF; }
.exchange-card.card-comm{ background: #E6E6E6; }
/* 右上角翻开书本灰色背景，只露2/3 */
.exchange-card::after {
    content: '\F194';
    font-family: 'bootstrap-icons';
    position: absolute; top: -4px; right: -22px;
    font-size: 80px; color: rgba(156,163,175,.35);
    z-index: 0; pointer-events: none;
    line-height: 1;
    transform: rotate(-15deg);
}
/* 卡片彩色图标 */
.exchange-icon {
    font-size: 48px; margin-bottom: 16px; position: relative; z-index: 2;
    line-height: 1; transition: transform .3s;
}
.exchange-card:hover .exchange-icon {
    transform: scale(1.1);
}
.exchange-icon.go   { color: #0D3B66; }
.exchange-icon.come  { color: #0D5E3A; }
.exchange-icon.coop  { color: #D4AF37; }
.exchange-icon.comm  { color: #B45309; }
.exchange-card-title {
    font-size: 28px; font-weight: 800;
    font-family: 'Source Han Serif SC', 'Noto Serif SC', 'Noto Serif CJK SC', '思源宋体', serif;
    margin-bottom: 10px; line-height: 1.2;
    position: relative; z-index: 2;
}
.card-go  .exchange-card-title { color: #0F4C81; }
.card-come .exchange-card-title { color: #0D5E3A; }
.card-coop .exchange-card-title { color: #D4AF37; }
.card-comm .exchange-card-title { color: #B45309; }
.exchange-card-desc {
    font-size: 14px; color: #999; line-height: 1.5;
    margin: 0; position: relative; z-index: 2;
    display: flex; align-items: center; gap: 5px;
}
.exchange-card-desc::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 13px; color: #999;
}

/* ⑥ 期刊 & 特色项目 */
.section-row6 { padding: 5px 0 15px; background: #fff; margin-bottom: 5px; }
.row6-box {
    background: #f8fafc; border-radius: 16px; border: 1px solid var(--scimea-blue);
    height: 100%; overflow: hidden; transition: all .35s;
}
.row6-box:hover {
    border-color: var(--scimea-blue); box-shadow: 0 10px 36px rgba(0,151,206,.12);
}
.row6-box-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px 14px; border-bottom: 1px solid var(--scimea-blue); background: #fff;
}
.row6-box-header h4 {
    font-size: 16px; font-weight: 700; color: #222; margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.row6-box-header .icon-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--scimea-red), var(--scimea-blue));
    color: #fff; border-radius: 6px; font-size: 15px;
}
.row6-box-header a { color: var(--scimea-blue); font-size: 13px; }
.row6-box-header a:hover { color: var(--scimea-red); }
.row6-box-body { padding: 20px 24px; }
.journal-item {
    display: flex; gap: 0; padding: 12px 0; border-bottom: 1px dashed var(--scimea-blue-soft);
    align-items: flex-start; transition: all .25s; text-decoration: none !important;
}
.journal-item:last-child { border-bottom: none; }
.journal-item:hover { padding-left: 6px; }
.j-thumb {
    width: 52px; height: 68px; border-radius: 6px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--scimea-blue), var(--scimea-blue-dark));
    display: flex; align-items: center; justify-content: center; color: #fff;
    font-size: 12px; text-align: center; font-weight: 700; padding: 4px; line-height: 1.3;
}
.j-info { margin-left: 14px; }
.j-info h6 { font-size: 15px; color: var(--scimea-blue); margin: 0 0 3px; font-weight: 600; line-height: 1.4; }
.j-info p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.j-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--scimea-red), var(--scimea-red-light));
    color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 8px;
    margin-bottom: 4px; font-weight: 600;
}
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.work-card {
    background: #fff; border-radius: 10px; border: 1px solid var(--gray-200);
    overflow: hidden; transition: all .3s; cursor: pointer; text-decoration: none !important;
}
.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 22px rgba(0,151,206,.12);
    border-color: var(--scimea-blue-soft);
}
.work-img {
    width: 100%; height: 120px;
    background-size: contain; background-position: center; background-repeat: no-repeat;
}
.work-title {
    padding: 8px 0; font-size: 14px; color: #333; line-height: 1.4; font-weight: 400 !important;
    text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 我要投稿 — 按钮样式 */
.work-card-submit {
    background: #E6F7FC !important; border: 1.5px dashed var(--scimea-blue-soft) !important;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 13px;
    position: relative; overflow: hidden;
}
.work-card-submit::before {
    content: '';
    position: absolute; inset: 0;
    background: url("small/d2c2136398ce4b516a7970bf79715f4b.jpeg") center/cover no-repeat;
    opacity: 0.18; pointer-events: none;
}
.work-card-submit:hover {
    transform: translateY(-3px); box-shadow: none; border-color: var(--scimea-blue) !important;
}
.work-card-submit-head {
    display: flex; flex-direction: column; align-items: center; gap: 0px; position: relative; z-index: 1;
}
.work-card-submit-tip {
    font-size: 15px; color: #1a1a1a; position: relative; z-index: 1;
    text-align: center; line-height: 1.6; font-weight: 500;
}
.work-card-submit-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--scimea-blue); color: #fff; font-size: 14px; font-weight: 700;
    border: 1.5px solid var(--scimea-blue); outline: none;
    border-radius: 6px; padding: 10px 22px;
    transition: all .3s; cursor: pointer;
    font-family: inherit; position: relative; z-index: 1;
}
.work-card-submit:hover .work-card-submit-btn {
    background: #E6F7FC; color: var(--scimea-blue);
}
/* 期刊横向卡片（图片左 + 文字右） */
.journal-card {
    display: flex; align-items: stretch; gap: 8px;
    background: #fff; border-radius: 10px; border: 1px solid var(--gray-200);
    overflow: hidden; transition: all .3s;
    cursor: pointer; text-decoration: none !important;
    padding: 3px;
}
.journal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(0,151,206,.12);
    border-color: var(--scimea-blue-soft);
}
.journal-card-img {
    flex: 0 0 45%;
    background-size: contain; background-position: center; background-repeat: no-repeat;
    background-color: #f8fafc; border-radius: 4px;
    min-height: 100%;
}
.journal-card-body {
    flex: 1; min-width: 0;
    padding: 12px 10px 12px 0;
}
.journal-card-title {
    font-size: 13px; font-weight: 700; color: #0f172a;
    margin-bottom: 2px; line-height: 1.3;
}
.journal-card-meta {
    display: block; font-size: 11px; font-weight: 600;
    color: var(--scimea-blue); margin-bottom: 3px;
}
.journal-card-desc {
    font-size: 12px; color: #888; line-height: 1.5; margin: 0;
}

/* 医促会特色项目 — 图片卡片 */
.showcase-list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.showcase-card {
    display: block; background: #fff; border-radius: 12px;
    border: 1px solid #e2e8f0; overflow: hidden;
    transition: all .35s cubic-bezier(.25,.8,.25,1);
    text-decoration: none !important; cursor: pointer;
}
.showcase-card:hover {
    transform: translateY(-4px);
    border-color: var(--scimea-blue-soft);
    box-shadow: 0 10px 30px rgba(0,151,206,.12);
}
.showcase-card:hover .showcase-img { transform: scale(1.05); }
.showcase-img-wrap {
    position: relative; height: 140px; overflow: hidden;
}
.showcase-img {
    width: 100%; height: 100%; background-size: cover; background-position: center;
    transition: transform .5s ease;
}
.showcase-tag {
    position: absolute; top: 10px; left: 10px;
    background: linear-gradient(135deg, var(--scimea-red), var(--scimea-red-light));
    color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px;
    border-radius: 20px; box-shadow: 0 2px 8px rgba(155,0,0,.35);
}
.showcase-body { padding: 10px 14px 12px; }
.showcase-tag {
    font-size: 11px;
}
.showcase-title {
    font-size: 13px; font-weight: 400 !important; color: #1a1a1a;
    margin: 0; line-height: 1.4; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ⑦ 知识萃取轮播 */
.section-row7 {
    background: #f2f6fb;
    border-top: 1px solid #dce8f2;
    margin-bottom: 15px;
    padding-bottom: 24px;
}
.kn-section-title {
    text-align: center; margin-bottom: 18px; padding-top: 20px;
}
.kn-section-title h3 {
    font-size: 22px; font-weight: 800; color: var(--scimea-red); margin-bottom: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 0 20px;
    position: relative;
}
.kn-section-title h3::before,
.kn-section-title h3::after {
    content: ''; width: 80px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--scimea-red));
    border-radius: 1px;
}
.kn-section-title h3::after {
    background: linear-gradient(90deg, var(--scimea-red), transparent);
}
.knowledge-carousel-wrap {
    display: flex; align-items: center; min-height: 110px;
}
.kn-nav-btn {
    flex-shrink: 0; width: 44px; display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; color: #666; font-size: 20px;
    height: 110px; transition: all .25s;
}
.kn-nav-btn:hover { color: var(--scimea-red); background: #FFF0F0; }
.kn-content { flex: 1; padding: 14px 4px; overflow: hidden; }
.kn-track { display: flex; gap: 14px; transition: transform .4s cubic-bezier(.25,.8,.25,1); counter-reset: kn; }
.kn-item {
    flex-shrink: 0; width: calc(25% - 10.5px);
    background: #fff; border-radius: 12px; border: 1px solid #dce8f2;
    cursor: pointer; transition: all .3s; text-decoration: none !important;
    overflow: hidden; display: flex; flex-direction: column;
    position: relative;
}
.kn-item:hover {
    border-color: var(--scimea-red);
    box-shadow: 0 4px 18px rgba(155,0,0,.1); transform: translateY(-2px);
}
.kn-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8edf2;
    position: relative;
}
.kn-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s ease;
}
.kn-item:hover .kn-img img {
    transform: scale(1.06);
}
.kn-text {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.65);
    padding: 8px 0 34px;
    backdrop-filter: blur(6px);
}
.kn-item h6 {
    font-size: 14px; color: #222; margin: 0 0 6px;
    font-weight: 400 !important; line-height: 1.45;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kn-item:hover h6 {
    color: #222;
}
.kn-item p { display: none; }
/* 编号条 - 奇数红、偶数灰 */
.kn-item::after {
    counter-increment: kn;
    content: counter(kn, decimal-leading-zero);
    position: absolute; left: 0; right: 0; bottom: 0;
    color: #fff;
    text-align: center; font-size: 16px; font-weight: 700;
    padding: 5px 0; letter-spacing: 2px;
    z-index: 3;
}
.kn-item:nth-child(odd)::after { background: var(--scimea-red); }
.kn-item:nth-child(even)::after { background: #999; }

/* 响应式 */
@media (max-width: 991.98px) {
    .hero-banner { height: 400px; }
    .header-logo { height: 60px !important; max-height: 60px !important; }
    .exchange-grid { grid-template-columns: repeat(2, 1fr); }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .kn-item { width: calc(50% - 7px); }
    .site-footer .container { padding-left: 5%; padding-right: 5%; }
    .home-container { padding-left: 4%; padding-right: 4%; }
    .top-banner-row { flex-wrap: wrap; }
    .academic-carousel-wrap,
    .cal-section { flex: 1 1 100% !important; max-width: 100% !important; }
}
@media (max-width: 767.98px) {
    .submit-now-label { font-size: 14px !important; padding: 0 !important; width: 80% !important; height: 38px !important; line-height: 38px !important; text-align: center; display: inline-block !important; align-self: flex-start; }
    .submit-label-zh { font-size: 13px !important; padding: 0 !important; width: 80% !important; height: 38px !important; line-height: 38px !important; text-align: center; display: inline-block !important; align-self: flex-start; }
    .news-title-box { font-size: 18px !important; }
    .news-title-en { font-size: 16px !important; }
    .hero-banner { height: 320px; }
    /* 手机版logo放大 */
    .header-logo { height: 64px !important; max-height: 64px !important; }
    .site-footer { padding: 6px 0 0 !important; }
    .ft-main { padding: 6px 0 20px !important; }
    .site-footer .container { padding-left: 4%; padding-right: 4%; }
    .footer-en.site-footer .container { padding-left: 4%; padding-right: 4%; }
    .search-wrapper { max-width: 240px; }
    .search-wrapper input { font-size: 12px; padding: 7px 38px 7px 14px; }
    .search-wrapper button { width: 30px; height: 30px; }
    .exchange-grid { grid-template-columns: repeat(2, 1fr); }
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .kn-item { width: calc(100%); }
    /* 手机版国际交流卡片 */
    .exchange-card { min-height: 140px !important; padding: 18px 12px 14px !important; }
    .exchange-icon { width: 72px !important; height: 72px !important; font-size: 42px !important; margin-bottom: 8px !important; margin-left: 10px !important; }
    .exchange-card-title { font-size: 16px !important; padding: 4px 14px !important; margin-bottom: 6px !important; }
    .exchange-card-desc { font-size: 11px !important; line-height: 1.55 !important; }
    /* 手机版轮播指示器下移，避免挡住标题文字 */
    .academic-carousel-wrap .carousel-indicators { bottom: -18px !important; }
    /* 手机版期刊卡片：图在上、标题在下、隐藏描述 */
    .journal-card { flex-direction: column; padding: 0; gap: 0; }
    .journal-card-img { flex: 0 0 auto; width: 100%; height: 120px; min-height: auto; background-size: cover; border-radius: 6px 6px 0 0; }
    .journal-card-body { padding: 8px 10px; text-align: center; }
    .journal-card-desc { display: none; }
    .journal-card-title { font-size: 12px; }
    .journal-card-meta { font-size: 10px; }
    .topic-banner { flex-direction: column; gap: 12px; text-align: center; }
    .topic-banner-inner { flex-direction: column; gap: 8px; }
    .topic-banner-1 .topic-banner-inner { gap: 4px; flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: center; }
    .topic-banner-1 { gap: 0; }
    .topic-banner-2 { flex-direction: row; gap: 4px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 16px 20px; border-radius: 12px; margin: 15px 0; }
    .topic-banner-2 .topic-banner-inner { flex-direction: row; gap: 4px; align-items: center; flex-wrap: wrap; }
    .topic-banner-2 .topic-link { margin-left: 0; }
    .topic-text { font-size: 16px; }
    /* 手机版：专题横幅隐藏左边图标/标签及分隔线 */
    .topic-tag-img, .topic-tag, .topic-divider { display: none; }
    /* 手机版：按钮整体缩小 */
    .topic-link { padding: 5px 14px; font-size: 12px; }
    /* 手机版英文专题：隐藏图标 */
    html[lang="en"] .topic-banner > a > i { display: none; }
}
.mobile-search-bar { display: none; }
