/* 国合基地官网主样式表 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003366;
    --secondary-blue: #0055a5;
    --light-blue: #e6f0ff;
    --accent-red: #c41e3a;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    box-shadow: 0 2px 10px rgba(0, 51, 102, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 68px;
    height: 68px;
    object-fit: contain;
    cursor: pointer;
}

.logo-text h1 {
    color: var(--white);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 3px;
    cursor: pointer;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 9px;
    letter-spacing: 0.35px;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu li a {
    padding: 10px 16px;
    color: var(--white);
    font-size: 14px;
    border-radius: 4px;
    display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.15);
}

/* 轮播Banner */
.banner-section {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    padding-left: 80px;
    color: var(--white);
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 500px;
}

.banner-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.page-banner {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 85, 165, 0.6) 100%);
    display: flex;
    align-items: center;
}

.page-banner-content {
    padding-left: 80px;
    color: var(--white);
}

.page-banner-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-banner-content p {
    font-size: 16px;
    opacity: 0.95;
    max-width: 500px;
}

/* 主体内容区 */
.main-content {
    padding: 40px 0;
}

.content-row {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

/* 板块通用样式 */
.section-box {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 2px solid var(--light-blue);
    background: linear-gradient(to right, var(--light-blue) 0%, transparent 100%);
}

.section-header h3 {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-left: 12px;
}

.section-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--accent-red);
    border-radius: 2px;
}

.section-header .more {
    color: var(--secondary-blue);
    font-size: 14px;
}

.section-header .more:hover {
    color: var(--accent-red);
}

.section-body {
    padding: 20px 22px;
}

/* 新闻动态 - 图片+描述样式 */
.news-section {
    flex: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border-color);
    cursor: pointer;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-img {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.news-item-content {
    flex: 1;
}

.news-item-title {
    font-size: 15px;
    color: var(--primary-blue);
    margin-bottom: 6px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item:hover .news-item-title {
    color: var(--accent-red);
}

.news-item-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item-date {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 通知公告/科研动态样式 */
.notice-section,
.research-section {
    flex: 1;
}

.notice-list,
.research-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.notice-item,
.research-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dotted var(--border-color);
    cursor: pointer;
}

.notice-item:last-child,
.research-item:last-child {
    border-bottom: none;
}

.notice-item a,
.research-item a {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 15px;
}

.notice-item:hover a,
.research-item:hover a {
    color: var(--secondary-blue);
}

.notice-item .date,
.research-item .date {
    font-size: 13px;
    color: var(--text-gray);
    flex-shrink: 0;
    width: 75px;
    text-align: right;
    font-family: Arial, sans-serif;
}

/* 科研团队 - 拼图样式 */
.team-section {
    margin-top: 40px;
}

.team-section .section-header {
    text-align: center;
    justify-content: center;
    background: linear-gradient(to right, transparent 0%, var(--light-blue) 50%, transparent 100%);
}

.team-puzzle-container {
    padding: 50px 30px;
    position: relative;
    min-height: 550px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.team-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.puzzle-core {
    width: 220px;
    height: 220px;
    position: relative;
}

.puzzle-piece {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 13px;
    text-align: center;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.puzzle-piece:hover {
    transform: scale(1.05);
}

.puzzle-piece.blue-1 {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    top: 0;
    left: 60px;
}

.puzzle-piece.teal {
    background: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
    top: 60px;
    left: 0;
}

.puzzle-piece.blue-2 {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    top: 60px;
    right: 0;
}

.puzzle-piece.cyan {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    bottom: 0;
    left: 60px;
}

.puzzle-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
}

.puzzle-subtitle {
    font-size: 10px;
    opacity: 0.9;
}

.team-circle-item {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-circle-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
}

.team-circle-item.left-1 { top: 60px; left: 80px; }
.team-circle-item.left-2 { top: 180px; left: 50px; }
.team-circle-item.left-3 { top: 300px; left: 80px; }
.team-circle-item.right-1 { top: 60px; right: 80px; }
.team-circle-item.right-2 { top: 180px; right: 50px; }
.team-circle-item.right-3 { top: 300px; right: 80px; }

.team-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), transparent);
    top: 50%;
}

.team-line.left {
    left: 190px;
    width: 80px;
}

.team-line.right {
    right: 190px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--secondary-blue));
}

/* 人才招聘浮窗 */
.recruitment-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.recruitment-btn {
    width: 60px;
    height: 140px;
    background: linear-gradient(180deg, var(--accent-red) 0%, #a01830 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 2s ease-in-out infinite;
}

.recruitment-btn:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

/* 内页通用样式 */
.page-content {
    padding: 40px 0;
}
.page-title {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-blue);
}
.content-block {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
}
.content-block p {
    margin-bottom: 15px;
    text-indent: 2em;
}

/* 团队展示 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.team-card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    font-weight: bold;
}
.team-name {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 5px;
}
.team-title {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
}
.team-research {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 新闻列表 */
.news-list-full {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.news-item-full {
    padding: 20px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    gap: 20px;
    cursor: pointer;
}
.news-item-full:last-child {
    border-bottom: none;
}
.news-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
}
.news-date-day {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-blue);
    line-height: 1;
}
.news-date-month {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 5px;
}

/* 左侧菜单布局 */
.left-menu-container {
    display: flex;
    gap: 25px;
}
.left-menu {
    width: 200px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.left-menu-title {
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
.left-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.left-menu-item {
    margin: 0;
}
.left-menu-item button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.left-menu-item button:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
}
.left-menu-item button.active {
    background: var(--primary-blue);
    color: var(--white);
    border-left-color: var(--accent-red);
}
.right-content {
    flex: 1;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 30px;
}
.news-content {
    flex: 1;
}
.news-title {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}
.news-item-full:hover .news-title {
    color: var(--accent-red);
}
.news-summary {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 合作单位 */
.cooperation-section {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
}
.cooperation-section h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 20px;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.partner-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}
.partner-item:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 4px 12px rgba(0, 85, 165, 0.15);
}
.partner-logo {
    height: 50px;
    background: linear-gradient(135deg, var(--light-blue), #fff);
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 12px;
}
.partner-name {
    font-size: 13px;
    color: var(--text-dark);
}

/* 标签切换 */
.tab-container {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.tab-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    background: var(--light-bg);
}
.tab-btn {
    flex: 1;
    padding: 16px 12px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}
.tab-btn:hover {
    color: var(--primary-blue);
    background: rgba(0, 85, 165, 0.05);
}
.tab-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    background: var(--white);
}
.tab-content {
    padding: 30px;
}

/* 科研团队拼图圆形布局 */
.team-section {
    padding: 30px 0;
}
.team-puzzle-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
}
.team-puzzle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 85, 165, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 85, 165, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 85, 165, 0.02) 0%, transparent 70%);
}
.team-center-title {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    z-index: 10;
}
.team-center-puzzle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    z-index: 5;
}
.puzzle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    width: 100%;
    height: 100%;
}
.puzzle-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    color: var(--white);
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}
.puzzle-cell::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, transparent 40%, rgba(0,255,255,0.2) 60%, transparent 100%);
    transform: rotate(45deg) translateY(100%);
    transition: all 0.6s ease;
}
.puzzle-cell:hover::before {
    transform: rotate(45deg) translateY(-100%);
}
.puzzle-cell:hover {
    transform: scale(1.04) translateY(-3px);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.4);
}
.puzzle-cell.tl {
    background: linear-gradient(135deg, #0b1a30 0%, #1a365d 100%);
    border-radius: 12px 0 0 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.puzzle-cell.tr {
    background: linear-gradient(225deg, #091e3a 0%, #0055a5 100%);
    border-radius: 0 12px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.puzzle-cell.bl {
    background: linear-gradient(45deg, #141e30 0%, #0066cc 100%);
    border-radius: 0 0 0 12px;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.puzzle-cell.br {
    background: linear-gradient(315deg, #182848 0%, #4b6cb7 100%);
    border-radius: 0 0 12px 0;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
}
.puzzle-cell h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}
.puzzle-cell span {
    position: relative;
    z-index: 2;
}
.puzzle-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f7fa 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 6;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), inset 0 0 10px rgba(0, 136, 221, 0.1);
    border: 3px solid rgba(0, 212, 255, 0.7);
}
.puzzle-center-circle h5 {
    font-size: 11px;
    color: #003366;
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* 研究所圆形图标 */
.team-institute {
    position: absolute;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #004488 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    color: var(--white);
    z-index: 4;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.3);
    text-decoration: none;
}
.team-institute:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 85, 165, 0.4);
}
.team-institute.left-top {
    top: 80px;
    left: 20px;
}
.team-institute.left-bottom {
    bottom: 80px;
    left: 20px;
}
.team-institute.right-top {
    top: 80px;
    right: 20px;
}
.team-institute.right-bottom {
    bottom: 80px;
    right: 20px;
}
.team-institute-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* 连接线 - SVG弧线 */
.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
.connection-path {
    fill: none;
    stroke: url(#connectionGradient);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.connection-path:hover {
    opacity: 1;
    stroke-width: 3;
}

/* 响应式媒体查询 */
@media (max-width: 768px) {
    .team-puzzle-container {
        height: auto;
        min-height: 600px;
        padding: 20px;
    }
    .team-center-title {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 10px;
        padding-bottom: 20px;
    }
    .team-center-puzzle {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 240px;
        height: 240px;
        margin: 0 auto 40px;
    }
    .team-institute {
        position: relative;
        width: 120px;
        height: 120px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 10px;
    }
    .team-institute.left-top,
    .team-institute.left-bottom,
    .team-institute.right-top,
    .team-institute.right-bottom {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 10px;
    }
    .team-institute-row {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .team-connection {
        display: none;
    }
}

@media (max-width: 480px) {
    .team-puzzle-container {
        min-height: 500px;
    }
    .team-center-puzzle {
        width: 200px;
        height: 200px;
    }
    .puzzle-cell {
        font-size: 11px;
        padding: 10px;
    }
    .puzzle-cell h4 {
        font-size: 12px;
    }
    .team-institute {
        width: 100px;
        height: 100px;
        padding: 10px;
    }
    .team-institute-name {
        font-size: 11px;
    }
    .team-institute-leader {
        font-size: 9px;
    }
}

/* 基地领导 */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.leader-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.leader-item:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 4px 12px rgba(0, 85, 165, 0.1);
}
.leader-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
}
.leader-name {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}
.leader-title {
    font-size: 13px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}
.leader-desc {
    font-size: 12px;
    color: var(--text-gray);
}

/* 团队详情 */
.team-detail h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-top: 25px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.team-detail h3:first-child {
    margin-top: 0;
}
.team-detail p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    text-indent: 2em;
}
.leader-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.leader-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
}
.leader-detail h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.leader-title {
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.member-item {
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
}
.research-list, .project-list, .achievement-list {
    padding-left: 20px;
}
.research-list li, .project-list li, .achievement-list li {
    list-style: disc;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-size: 14px;
}

/* 招聘信息 */
.recruitment-box {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.position-item {
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.position-item:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.1);
}
.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.position-name {
    font-size: 20px;
    color: var(--primary-blue);
    font-weight: 600;
}
.position-tag {
    background: var(--accent-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
}
.position-desc {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}
.position-requirements h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 15px;
}
.position-requirements ul {
    padding-left: 20px;
}
.position-requirements li {
    list-style: disc;
    color: var(--text-gray);
    margin-bottom: 5px;
    font-size: 14px;
}
.contact-info {
    background: var(--light-blue);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}
.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}
.contact-info p {
    margin-bottom: 8px;
    color: var(--text-dark);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002244 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 40px 0 20px;
    margin-top: 40px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.footer-info h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 15px;
}
.footer-info p {
    font-size: 14px;
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.talent-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: var(--bg-light);
    padding: 10px;
    border-radius: 8px;
}

.talent-tab {
    padding: 12px 28px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.talent-tab:hover {
    background: rgba(0, 51, 102, 0.1);
}

.talent-tab.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.talent-category {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

.talent-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.talent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.talent-card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.talent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.talent-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    font-weight: bold;
}

.talent-name {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 5px;
}

.talent-title {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.talent-research {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 1240px) {
    .container {
        width: 96%;
    }
}

/* ============================================================
   移动端H5响应式适配样式
   断点：768px（平板/大屏手机）、480px（小屏手机）、1024px（平板横屏）
   PC端样式完全不受影响，仅在指定宽度下生效
   ============================================================ */

/* ---------- 断点1：768px 以下 ---------- */
@media (max-width: 768px) {

    /* === 全局容器 === */
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* === 头部导航 === */
    .header-main {
        padding: 12px 0;
        position: relative;
    }

    .logo-section {
        gap: 10px;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
    }

    .logo-text h1 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .logo-text p {
        font-size: 10px;
        letter-spacing: 0;
    }

    /* 桌面端导航隐藏 */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    /* 汉堡菜单打开时显示导航 */
    body.mobile-nav-open .nav-menu {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background: rgba(255, 255, 255, 0.15);
    }

    /* 汉堡按钮（JS动态注入） */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: background 0.3s;
    }

    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* 汉堡按钮打开状态 → X */
    body.mobile-nav-open .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.mobile-nav-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    body.mobile-nav-open .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* === 首页轮播Banner === */
    .banner-section {
        height: 200px;
    }

    .banner-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .banner-content h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .banner-content p {
        font-size: 13px;
        max-width: 100%;
        line-height: 1.5;
    }

    .banner-dots {
        bottom: 12px;
        gap: 8px;
    }

    .banner-dot {
        width: 8px;
        height: 8px;
    }

    /* === 内页Banner === */
    .page-banner {
        height: 160px;
    }

    .page-banner-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-banner-content h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .page-banner-content p {
        font-size: 13px;
        max-width: 100%;
    }

    /* === 主体内容区 === */
    .main-content {
        padding: 20px 0;
    }

    .content-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    /* === 板块通用 === */
    .section-header {
        padding: 14px 16px;
    }

    .section-header h3 {
        font-size: 16px;
        padding-left: 10px;
    }

    .section-header h3::before {
        height: 16px;
    }

    .section-header .more {
        font-size: 13px;
    }

    .section-body {
        padding: 16px;
    }

    /* === 新闻动态（图片+描述） === */
    .news-list {
        gap: 14px;
    }

    .news-item {
        gap: 12px;
        padding-bottom: 14px;
    }

    .news-item-img {
        width: 100px;
        height: 70px;
    }

    .news-item-title {
        font-size: 14px;
    }

    .news-item-desc {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .news-item-date {
        font-size: 11px;
    }

    /* === 通知公告/科研动态列表 === */
    .notice-item a,
    .research-item a {
        font-size: 13px;
        padding-right: 10px;
    }

    .notice-item .date,
    .research-item .date {
        font-size: 12px;
        width: 60px;
    }

    /* === 科研团队拼图区域 === */
    .team-section {
        margin-top: 20px;
        padding: 20px 0;
    }

    .team-puzzle-container {
        height: auto;
        min-height: auto;
        padding: 20px 15px;
        text-align: center;
    }

    .team-center-title {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        font-size: 16px;
        padding: 10px 0 20px;
    }

    .team-center-puzzle {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 240px;
        height: 240px;
        margin: 0 auto 30px;
    }

    .puzzle-center-circle {
        width: 70px;
        height: 70px;
    }

    .puzzle-center-circle h5 {
        font-size: 10px;
    }

    /* 四周研究所圆形 → 改为流式排列 */
    .team-institute {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 120px;
        height: 120px;
        margin: 10px;
        display: inline-flex;
    }

    .team-institute-name {
        font-size: 13px;
    }

    /* 连接线隐藏 */
    .connection-svg {
        display: none;
    }

    /* === 内页：左侧菜单布局 === */
    .left-menu-container {
        flex-direction: column;
        gap: 15px;
    }

    .left-menu {
        width: 100%;
    }

    .left-menu-title {
        padding: 12px 16px;
        font-size: 14px;
    }

    .left-menu-item button {
        padding: 12px 16px;
        font-size: 14px;
    }

    .right-content {
        padding: 20px 16px;
    }

    /* === 内页通用 === */
    .page-content {
        padding: 20px 0;
    }

    .page-title {
        font-size: 22px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .content-block {
        padding: 20px 16px;
    }

    .content-block p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    /* === Grid布局：3列 → 1列 === */
    .team-grid,
    .talent-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .team-card,
    .talent-card {
        padding: 20px 16px;
    }

    .team-avatar,
    .talent-avatar {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

    .team-name,
    .talent-name {
        font-size: 16px;
    }

    .team-title,
    .talent-title {
        font-size: 13px;
    }

    .team-research,
    .talent-research {
        font-size: 12px;
    }

    /* === Grid布局：4列 → 2列 === */
    .partner-grid,
    .leader-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-item {
        padding: 15px 10px;
    }

    .partner-logo {
        height: 40px;
        font-size: 11px;
    }

    .partner-name {
        font-size: 12px;
    }

    .leader-item {
        padding: 15px 10px;
    }

    .leader-avatar {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .leader-name {
        font-size: 14px;
    }

    .leader-title {
        font-size: 12px;
    }

    .leader-desc {
        font-size: 11px;
    }

    /* === 合作单位板块 === */
    .cooperation-section {
        padding: 20px 16px;
        margin-bottom: 15px;
    }

    .cooperation-section h3 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    /* === 标签切换 === */
    .tab-header {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .tab-content {
        padding: 20px 16px;
    }

    /* 人才分类标签 */
    .talent-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 8px;
    }

    .talent-tab {
        padding: 10px 18px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .talent-category {
        font-size: 17px;
        margin-bottom: 18px;
    }

    /* === 新闻列表完整页 === */
    .news-list-full {
        padding: 16px;
    }

    .news-item-full {
        padding: 16px 0;
        gap: 15px;
    }

    .news-date {
        width: 55px;
    }

    .news-date-day {
        font-size: 22px;
    }

    .news-date-month {
        font-size: 11px;
    }

    .news-title {
        font-size: 14px;
    }

    .news-summary {
        font-size: 12px;
    }

    /* === 团队详情 === */
    .team-detail h3 {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .team-detail p {
        font-size: 14px;
    }

    .leader-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .leader-avatar-lg {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .leader-detail h4 {
        font-size: 16px;
    }

    .member-item {
        font-size: 13px;
        padding: 6px 12px;
    }

    /* === 招聘信息 === */
    .recruitment-box {
        padding: 20px 16px;
    }

    .position-item {
        padding: 18px 16px;
    }

    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .position-name {
        font-size: 17px;
    }

    .position-tag {
        font-size: 12px;
        padding: 4px 12px;
    }

    .position-desc {
        font-size: 14px;
    }

    .position-requirements h4 {
        font-size: 14px;
    }

    .position-requirements li {
        font-size: 13px;
    }

    .contact-info {
        padding: 18px 16px;
        margin-top: 20px;
    }

    .contact-info h3 {
        font-size: 16px;
    }

    .contact-info p {
        font-size: 13px;
    }

    /* === 招聘浮窗 === */
    .recruitment-float {
        right: 8px;
    }

    .recruitment-btn {
        width: 45px;
        height: 100px;
        font-size: 13px;
        letter-spacing: 2px;
        border-radius: 6px;
    }

    /* === 页脚 === */
    .footer {
        padding: 25px 0 15px;
        margin-top: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-info h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-info p {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* === 图片通用适配 === */
    img {
        max-width: 100%;
        height: auto;
    }

    /* === 表格横向滚动（防止内容溢出） === */
    .content-block table,
    .right-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ---------- 断点2：480px 以下（小屏手机） ---------- */
@media (max-width: 480px) {

    .logo-text h1 {
        font-size: 13px;
    }

    .logo-text p {
        display: none;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        gap: 4px;
    }

    .banner-section {
        height: 170px;
    }

    .banner-content h2 {
        font-size: 18px;
    }

    .banner-content p {
        font-size: 12px;
    }

    .page-banner {
        height: 130px;
    }

    .page-banner-content h2 {
        font-size: 20px;
    }

    .page-banner-content p {
        font-size: 12px;
    }

    /* 新闻列表：小屏下改为上下布局 */
    .news-item {
        flex-direction: column;
        gap: 10px;
    }

    .news-item-img {
        width: 100%;
        height: 160px;
    }

    /* 4列 → 1列 */
    .partner-grid,
    .leader-grid {
        grid-template-columns: 1fr;
    }

    .team-center-puzzle {
        width: 200px;
        height: 200px;
    }

    .puzzle-cell {
        font-size: 11px;
        padding: 10px;
    }

    .puzzle-cell h4 {
        font-size: 12px;
    }

    .team-institute {
        width: 100px;
        height: 100px;
    }

    .team-institute-name {
        font-size: 11px;
    }

    .section-body {
        padding: 14px 12px;
    }

    .section-header {
        padding: 12px 14px;
    }

    .right-content {
        padding: 16px 14px;
    }

    .content-block {
        padding: 16px 14px;
    }

    .recruitment-btn {
        width: 40px;
        height: 90px;
        font-size: 12px;
    }
}

/* ---------- 断点3：769px~1024px（平板横屏） ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 96%;
    }

    .nav-menu li a {
        padding: 8px 10px;
        font-size: 13px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .content-row {
        gap: 15px;
    }

    .team-grid,
    .talent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-grid,
    .leader-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
