/* ============================================
   移动端样式 - css3.css
   移动端CSS写在此文件
   注释掉整个文件内容可禁用移动端样式
   ============================================ */

/* ---------- 研究人员列表页面移动端适配 ---------- */
@media screen and (max-width: 1200px) {
    .researchers-container {
        flex-direction: column;
    }
    
    .researchers-sidebar {
        width: 100%;
    }
    
    /* 移动端菜单折叠 - 默认折叠 */
    .researchers-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }
    
    .researchers-sidebar-header::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #fff;
        transition: transform 0.3s ease;
        transform: rotate(-90deg);
    }
    
    .researchers-sidebar.expanded .researchers-sidebar-header::after {
        transform: rotate(0deg);
    }
    
    .researchers-nav-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .researchers-sidebar.expanded .researchers-nav-list {
        max-height: 500px;
    }
    
    .researchers-nav-item {
        flex: none;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        border-right: none;
    }
    
    .researchers-nav-item a {
        text-align: left;
        padding: 0 20px;
        height: 50px;
        display: flex;
        align-items: center;
    }
    
    .researchers-nav-item.active a {
        border-left: 3px solid #015595;
        border-bottom: none;
    }
    
    /* 移动端三级栏目（年份）样式 */
    .submenu-item a {
        padding-left: 50px;
        height: 40px;
        font-size: 16px;
    }
    
    .submenu-item a::before {
        left: 20px;
        width: 5px;
        height: 5px;
    }
    
    /* 移动端论文列表适配 */
    .paper-list {
        gap: 0;
    }
    
    .paper-item {
        flex-direction: column;
        gap: 15px;
        padding: 25px 0;
    }
    
    .paper-img-wrapper {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    .paper-info {
        gap: 10px;
    }
    
    .paper-day {
        font-size: 20px;
    }
    
    .paper-year {
        font-size: 14px;
    }
    
    .paper-title {
        font-size: 16px;
    }
    
    .paper-journal {
        font-size: 14px;
        margin-top: 10px;
    }
    
    .researchers-card {
        width: calc((100% - 40px) / 2);
    }
}

@media screen and (max-width: 1024px) {
    /* 首页banner高度调整 */
    .banner-swiper {
        height: 400px;
    }
    
    /* 研究人员列表页面 */
    .page-banner {
        margin-top: 80px;
    }
    
    .page-banner-bg {
        height: 180px;
    }
	.page-banner-content{
		text-align: center;
	}
    
    .page-banner-title {
        font-size: 32px;
    }
    
    .page-banner-subtitle {
        font-size: 18px;
    }
    
    .researchers-section {
        padding: 30px 0 40px;
    }
    
    .researchers-content-header {
        flex-direction: row;
        align-items: baseline;
        gap: 15px;
    }
    
    .researchers-breadcrumb {
        font-size: 14px;
    }
    
    /* 头部导航调整 */
    .header {
        height: 80px;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* 隐藏PC导航 */
    .nav-pc,
    .search-box {
        display: none;
    }
    
    /* 语言切换移动端显示在汉堡菜单旁边 */
    .lang-switch {
        display: none;
    }
    
    .lang-switch-mobile {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-right: 10px;
        font-size: 14px;
    }
    
    .lang-switch-mobile .lang-link {
        color: #333;
        text-decoration: none;
    }
    
    .lang-switch-mobile .lang-link.active,
    .lang-switch-mobile .lang-link:hover {
        color: #015595;
    }
    
    .lang-switch-mobile .lang-separator {
        color: #999;
    }
    
    /* 显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    /* 汉堡菜单动画 - 打开状态 */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* 移动端导航菜单 */
    .nav-mobile {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background: #fff;
        overflow: hidden;
        transition: height 0.4s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-mobile.active {
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    /* 移动端搜索框 */
    .mobile-search-box {
        display: flex;
        padding: 15px 20px;
        background: #f8f8f8;
        border-bottom: 1px solid #ddd;
        gap: 10px;
    }
    
    .mobile-search-input {
        flex: 1;
        height: 40px;
        padding: 0 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        background: #fff;
    }
    
    .mobile-search-input:focus {
        border-color: #1e3fb0;
        outline: none;
    }
    
    .mobile-search-btn {
        height: 40px;
        padding: 0 20px;
        background: #1e3fb0;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        cursor: pointer;
    }
    
    .mobile-nav-list {
        list-style: none;
        padding: 20px 0;
    }
    
    .mobile-nav-list li {
        border-bottom: 1px solid #eee;
    }
    
    .mobile-nav-list li a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-list li a:hover {
        color: #015595;
        background: #f8f8f8;
    }
    
    /* 移动端子菜单 */
    .mobile-has-submenu {
        position: relative;
    }
    
    .mobile-submenu-toggle {
        position: relative;
    }
    
    .mobile-submenu-toggle::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #999;
        transition: transform 0.3s ease;
    }
    
    .mobile-has-submenu.active .mobile-submenu-toggle::after {
        transform: translateY(-50%) rotate(180deg);
        border-top-color: #015595;
    }
    
    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        background: #f5f5f5;
        transition: max-height 0.3s ease;
    }
    
    .mobile-has-submenu.active .mobile-submenu {
        max-height: 200px;
    }
    
    .mobile-submenu li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mobile-submenu li:last-child {
        border-bottom: none;
    }
    
    .mobile-submenu li a {
        padding: 12px 40px;
        font-size: 14px;
        color: #666;
    }
    
    /* 搜索弹窗调整 */
    .search-popup {
        top: 80px;
        padding: 20px 0;
    }
    
    .search-popup-inner {
        width: 85%;
        gap: 10px;
    }
    
    .search-input {
        height: 44px;
        font-size: 14px;
    }
    
    .search-btn {
        height: 44px;
        padding: 0 25px;
        font-size: 14px;
    }
    
    .search-close {
        right: -30px;
        font-size: 28px;
    }
    
    /* 轮播图调整 */
    .banner {
        margin-top: 80px;
    }
    
    .banner-swiper {
        height: 400px;
    }
    
    .banner-content {
        margin-left: 0;
        text-align: center;
        width: 90%;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .banner-swiper {
        height: 200px;
    }
    
    .banner-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .banner-subtitle {
        font-size: 12px;
    }
    
    .banner-pagination {
        bottom: 15px !important;
    }
    
    .banner-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
    }
    
    .banner-pagination .swiper-pagination-bullet-active {
        width: 20px;
    }
}

@media screen and (max-width: 480px) {
    /* 研究人员列表页面 */
    .page-banner-bg {
        height: 150px;
    }
    
    .page-banner-title {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .page-banner-subtitle {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .researchers-section {
        padding: 20px 0 30px;
    }
    
    .researchers-container {
        width: 95%;
    }
    
    .researchers-sidebar-header {
        padding: 15px 20px;
		height: 60px;
    }
    
    .researchers-sidebar-header h3 {
        font-size: 18px;
    }
    
	.researchers-nav-item.has-submenu > a{
		padding-left: 20px;
		font-size: 16px;
	}
	
    .researchers-nav-item a {
        padding: 0 15px;
        font-size: 14px;
        height: 45px;
		padding-left: 40px;
    }
    .researchers-content-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .researchers-content-title {
        font-size: 20px;
    }
    
    .researchers-content-title::after {
        bottom: -13px;
    }
    
    .researchers-breadcrumb {
        font-size: 14px;
    }
    
    .researchers-grid {
        gap: 20px;
    }
    
    .researchers-card {
        width: calc((100% - 20px) / 2);
        max-width: none;
        margin: 0;
    }
    
    .researchers-card-name {
        font-size: 15px;
    }
    
    .researchers-card-role {
        font-size: 12px;
    }
    
    /* 分页移动端 */
    .pagination {
        margin-top: 30px;
        padding-top: 20px;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }
    
    .pagination .page-prev,
    .pagination .page-next {
        padding: 0 12px;
        font-size: 13px;
    }
    
    .pagination .page-ellipsis {
        display: none;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    .banner-content {
        padding: 0 15px;
    }
    
    /* 课题组介绍移动端 */
    .intro-section {
        padding: 50px 0;
    }
    
    .intro-title {
        font-size: 24px;
    }
    
    .intro-text {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .intro-more span {
        font-size: 14px;
    }
    
    /* 研究组成员移动端 */
    .team-section {
        padding: 50px 0;
    }
    
    .team-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .team-left img {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    
    .team-right {
        text-align: center;
    }
    
    .team-title {
        font-size: 20px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .team-line {
        margin: 0 auto 20px;
    }
    
    .team-content {
        margin-bottom: 25px;
		margin-right: 0;
    }
    
    .team-content p {
        font-size: 14px;
        line-height: 1.8;
        text-align: justify;
    }
    
    .team-more span {
        font-size: 14px;
    }
    
    /* 研究方向移动端 */
    .research-section {
        padding: 50px 0;
    }
    
    .research-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .research-title-wrap {
        text-align: center;
    }
    
    .research-title {
        font-size: 24px;
        text-align: center;
    }
    
    .research-line {
        margin: 0 auto;
    }
    
    .research-view-more {
        position: static;
        display: block;
        text-align: center;
        margin-top: 15px;
        font-size: 14px;
    }
    
    .research-list {
        gap: 25px;
    }
    
    .research-item,
    .research-item.reverse {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .research-item:hover {
        transform: none;
    }
    
    .research-item-img img {
        width: 100%;
        height: auto;
        max-width: 406px;
    }
    
    .research-item-content {
        text-align: center;
    }
    
    .research-item-title {
        font-size: 16px;
    }
    
    .research-item-desc {
        font-size: 13px;
        line-height: 1.7;
        text-align: justify;
    }
    
    .research-item-source {
        font-size: 12px;
    }
    
    /* 代表性研究成果移动端 */
    .achievements-section {
        height: auto;
        padding: 50px 0;
    }
    
    .achievements-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .achievements-title-wrap {
        text-align: center;
    }
    
    .achievements-title {
        font-size: 24px;
        text-align: center;
    }
    
    .achievements-line {
        margin: 0 auto;
    }
    
    .achievements-view-more {
        position: static;
        display: block;
        text-align: center;
        margin-top: 15px;
        font-size: 14px;
    }
    
    .achievements-swiper {
        padding-bottom: 40px;
    }
    
    .achievements-card:hover {
        transform: none !important;
    }
    
    .achievements-card-img img {
        width: 100%;
        height: auto;
    }
    
    .achievements-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .achievements-pagination .swiper-pagination-bullet-active {
        width: 20px;
    }
    
    .achievements-card-content {
        padding: 20px;
        text-align: center;
    }
    
    .achievements-card-title {
        font-size: 15px;
    }
    
    .achievements-card-desc {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .achievements-card-source {
        font-size: 12px;
    }
    
    /* 新闻与动态移动端 */
    .news-section {
        padding: 50px 0;
    }
    
    .news-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .news-left {
        flex: none;
        width: 100%;
    }
    
    .news-swiper {
        width: 100%;
        height: auto;
        aspect-ratio: 720/440;
    }
    
    .news-swiper-img {
        width: 100%;
        height: 100%;
    }
    
    .news-swiper-img img {
        width: 100%;
        height: 100%;
    }
    
    .prev2,
    .next2 {
        width: 30px;
        height: 60px;
        margin-top: -30px;
    }
    
    .news-swiper-title {
        font-size: 14px;
        min-height: 40px;
    }
    
    .news-right {
        width: 100%;
    }
    
    .news-header {
        margin-bottom: 15px;
        padding-bottom: 20px;
    }
	
	.join-title{
		padding-bottom: 20px;
	}
    
    .news-view-more {
        font-size: 12px;
    }
    
    .news-list {
        gap: 10px;
    }
    
    .news-item {
        padding: 12px 15px;
    }
    
    .news-item-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .news-item-desc {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .news-item-date {
        font-size: 12px;
    }
    
    /* 加入我们移动端 */
    .join-section {
        padding: 30px 0;
        padding-top: 0;
    }
    
    .join-container {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .join-left {
        width: 100%;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
    }
    
    .join-line {
        width: 40px;
        bottom: 0;
    }
    
    .join-middle {
        width: 100%;
    }
    
    .join-scroll-wrap {
        height: 26px;
    }
    
    .join-item {
        height: 26px;
        line-height: 26px;
        font-size: 14px;
    }
    
    @keyframes scrollUp {
        0%, 28% {
            transform: translateY(0);
        }
        33%, 61% {
            transform: translateY(-26px);
        }
        66%, 94% {
            transform: translateY(-52px);
        }
        100% {
            transform: translateY(0);
        }
    }
    
    .join-right {
        display: none;
    }
    
    .join-view-more {
        font-size: 12px;
    }
    
    .join-left .join-view-more {
        display: block !important;
    }
    
    /* 相关链接移动端 */
    .links-section {
        padding: 40px 0;
		padding-top: 0px;
    }
    
    .links-container {
        margin-bottom: 20px;
    }
    
    .links-title {
        font-size: 24px;
		padding-bottom: 10px;
    }
    
    .links-line {
        width: 40px;
    }
    
    .links-swiper-wrap {
        gap: 10px;
    }
    
    .links-container-inner {
        width: calc(100% - 80px);
    }
    
    .links-swiper .swiper-slide {
        width: 100% !important;
    }
    
    .links-item {
        width: 100%;
        height: 120px;
    }
    
    .links-container-inner {
        width: 100%;
    }
    
    .links-prev,
    .links-next {
        width: 30px;
        height: 30px;
    }
    
    /* 设备列表移动端适配 */
    .equipment-grid {
        gap: 15px;
    }
    
    .equipment-card {
        width: 100%;
    }
    
    .equipment-card-name {
        font-size: 13px;
        margin-top: 8px;
    }
    
    /* 新闻列表移动端适配 */
    .news-item {
        gap: 15px;
        padding: 20px 10px;
    }
    
    .news-item:first-child {
        padding-top: 15px;
    }
    
    .news-date {
        width: 60px;
    }
    
    .news-day {
        font-size: 28px;
    }
    
    .news-year-month {
        font-size: 12px;
    }
    
    .news-desc {
        font-size: 13px;
        line-height: 1.6;
    }
	
	.news-detail-title{
		font-size: 21px;
	}
	
	/* 研究人员页面移动端适配 */
	.team-page-section {
		padding: 30px 0 40px;
	}
	
	.team-page-container {
		width: 95%;
	}
	
	.team-page-header {
		flex-direction: row;
		align-items: baseline;
		margin-bottom: 25px;
		padding-bottom: 12px;
	}
	
	.team-page-title {
		font-size: 22px;
	}
	
	.team-page-title::after {
		bottom: -13px;
		width: 40px;
	}
	
	.team-page-breadcrumb {
		font-size: 11px;
	}
	
	.team-category {
		margin-bottom: 35px;
	}
	
	.team-category-title {
		font-size: 18px;
		margin-bottom: 20px;
	}
	
	/* 教授卡片移动端 - 垂直布局 */
	.team-professor-list {
		gap: 20px;
	}
	
	.team-professor-card {
		flex-direction: column;
		align-items: center;
		gap: 15px;
		padding: 20px;
	}
	
	.team-professor-photo {
		width: 200px;
		height: 200px;
	}
	
	.team-professor-info {
		text-align: center;
	}
	
	.team-professor-name {
		font-size: 18px;
	}
	
	.team-professor-position {
		font-size: 14px;
		margin-bottom: 15px;
	}
	
	.team-professor-intro {
		font-size: 14px;
		text-align: left;
	}
	
	/* 研究员/博士后卡片移动端 - 单列布局 */
	.team-researcher-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.team-researcher-card {
		flex-direction: column;
		align-items: center;
		gap: 15px;
		padding: 20px;
	}
	
	.team-researcher-photo {
		width: 160px;
		height: 216px;
	}
	
	.team-researcher-info {
		text-align: center;
	}
	
	.team-researcher-name {
		font-size: 17px;
	}
	
	.team-researcher-position {
		font-size: 14px;
		margin-bottom: 15px;
	}
	
	.team-researcher-intro {
		font-size: 14px;
		text-align: left;
	}
	
	/* 博士研究生移动端 - 双列布局 */
	.team-phd-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.team-phd-photo {
		margin-bottom: 10px;
	}
	
	.team-phd-name {
		font-size: 14px;
		margin-bottom: 3px;
	}
	
	.team-phd-position {
		font-size: 12px;
	}
	
	
	/* 研究方向页面移动端适配 */
	.research-page-section {
		padding: 30px 0 40px;
	}
	
	.research-page-container {
		width: 95%;
	}
	
	.research-page-header {
		flex-direction: row;
		align-items: baseline;
		margin-bottom: 25px;
		padding-bottom: 12px;
	}
	
	.research-page-title {
		font-size: 22px;
	}
	
	.research-page-title::after {
		bottom: -13px;
		width: 40px;
	}
	
	.research-page-breadcrumb {
		font-size: 11px;
	}
	
	.research-category {
		margin-bottom: 35px;
	}
	
	.research-category-title {
		font-size: 18px;
		margin-bottom: 20px;
	}
}

/* ---------- 活动列表页面移动端适配 ---------- */
@media screen and (max-width: 1024px) {
    /* 二级导航移动端 */
    .sub-nav-container {
        gap: 40px;
    }
    
    .sub-nav-item {
        font-size: 18px;
        line-height: 60px;
    }
    
    /* 活动区域 */
    .activity-section {
        padding: 30px 0 40px;
    }
    
    .activity-header {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 30px;
        padding-bottom: 12px;
    }
    
    .activity-title {
        font-size: 24px;
    }
    
    .activity-title::after {
        bottom: -13px;
        width: 40px;
    }
    
    .activity-breadcrumb {
        font-size: 14px;
    }
    
    /* 活动卡片改为2列 */
    .activity-grid {
        gap: 20px;
    }
    
    .activity-card {
        width: calc((100% - 20px) / 2);
        padding: 8px;
    }
    
    .activity-card-content {
        padding: 15px 8px;
    }
    
    .activity-card-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .activity-card-desc {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }
    
    .activity-card-source {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    /* 二级导航小屏 */
    .sub-nav-container {
        gap: 30px;
    }
    
    .sub-nav-item {
        font-size: 16px;
        line-height: 50px;
    }
    
    /* 活动区域小屏 */
    .activity-section {
        padding: 20px 0 30px;
    }
    
    .activity-container {
        width: 95%;
    }
    
    .activity-header {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 5px;
        margin-bottom: 20px;
    }
    
    .activity-title {
        font-size: 20px;
    }
    
    .activity-title::after {
        bottom: -12px;
        width: 35px;
        height: 2px;
    }
    
    .activity-breadcrumb {
        font-size: 14px;
    }
    
    /* 活动卡片改为1列 */
    .activity-grid {
        gap: 15px;
    }
    
    .activity-card {
        width: 100%;
        padding: 10px;
    }
    
    .activity-card:hover {
        transform: none;
    }
    
    .activity-card-content {
        padding: 15px 5px;
    }
    
    .activity-card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .activity-card-desc {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }
    
    .activity-card-source {
        font-size: 14px;
    }
}
