@charset "utf-8";
/* CSS Document */


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Montserrat;
        }
        /* 头部样式 */
        header {
			width:100%;
			height:73px
        }
		.box{width:1600px; margin:0 auto; overflow: hidden}
        .logo {
            width:30%;
			padding-top:5px;
			float:left;
        }
        .logo img {
			padding-left:10px;
            height: 58px;	
        }        
        .search-bar {
            width:70%;
			float:left;  
        }
		.searchimg{margin-top:20px; float:left}
		.searchtxt{float:left}
        .search-bar_input {
			margin-top:10px;
			width:880px;
			height:45px;
            padding: 8px 12px;
            border: 0px solid #ddd;
            border-radius: 4px 0 0 4px;
			margin-left:20px;
        }
        .search-bar_button {
			width:160px;
			height:45px;
            padding: 8px 16px;
            background: #e02020;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
			font-size:20px;
        }
		.ntop{
			width:100%;
			height:90px;
		  box-shadow: -5px 0 10px 2px rgba(153, 153, 153, 0.2),  /* 左侧阴影 */
			0 5px 10px 2px rgba(153, 153, 153, 0.2),   /* 底部阴影 */
			5px 0 10px 2px rgba(153, 153, 153,0.2);   /* 右侧阴影 */
			
			
			}
        nav {
            background: white;

			height:90px;
			margin:0 auto;
			width:1680px;
			text-align:center;
			display: flex;
  			justify-content: center; /* 水平居中 */
  			align-items: center; /* 垂直居中 */
        }

        nav a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
			
        }
		.nalist{width:160px; float:left}

        /* 横幅样式 */
        .banner {
            position: relative;
            height: 700px;
            overflow: hidden;
        }
        .banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .banner-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
        }
        .banner-text h1 {
            font-size: 32px;
            margin-bottom: 20px;
        }
        .banner-text button {
            padding: 10px 20px;
            background: #e02020;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        /* 内容板块通用样式 */
        .section {
            padding: 40px 20px;
            max-width: 1600px;
            margin: 0 auto;
			box-shadow: -5px 0 10px 2px rgba(153, 153, 153, 0.2),  /* 左侧阴影 */
    					0 5px 10px 2px rgba(153, 153, 153, 0.2),   /* 底部阴影 */
    					5px 0 10px 2px rgba(153, 153, 153,0.2);   /* 右侧阴影 */
        }
		.section2 {
            padding: 40px 20px;
            max-width: 1600px;
            margin: 0 auto;
			
        }
		.section3 {
            padding: 40px 20px;
            max-width: 1600px;
            margin: 50px auto;
			box-shadow: -5px 0 10px 2px rgba(153, 153, 153, 0.2),  /* 左侧阴影 */
    					0 5px 10px 2px rgba(153, 153, 153, 0.2),   /* 底部阴影 */
    					5px 0 10px 2px rgba(153, 153, 153,0.2);   /* 右侧阴影 */
        }
        .section_h2 {
            margin-bottom: 20px;
            font-size: 30px;
            color: #333;
        }
		.section_h3 {
            margin-bottom: 14px;
            font-size: 30px;
            color: #333;
        }
        /* 活动板块 */
        .past-events {
            display: flex;
            gap: 20px;
        }
        .events-banner {
            flex: 1;
            height: 541px;
            position: relative;
            overflow: hidden;
        }
        .events-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .events-banner-text {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
			font-size:45px
        }
        .events-list {
            flex: 2;
        }
        .event-item {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }
        .event-item img {
            width: 292px;
            height: 151px;
            object-fit: cover;
        }
        .event-info h3 {
            font-size: 16px;
            color: #333;
            margin-bottom: 5px;
			height:90px;
			overflow:hidden
        }
        .event-info p {
            font-size: 12px;
            color: #e02020;
            margin-bottom: 5px;
        }
        .event-info a {
            font-size: 12px;
            color: #e02020;
            text-decoration: none;
        }

        /* 合作伙伴 */


/* 外层容器 - 限制显示区域并隐藏溢出 */
.partners-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* 滚动容器 */
.partners {
    display: flex;
    gap: 40px;
    align-items: center;
    width: max-content; /* 让容器宽度适应内容 */
    padding: 20px 0;
    /* 动画设置 - 20秒完成一次滚动，线性匀速 */
    animation: scroll 20s linear infinite;
}

.partners img {
    height: 125px;
    object-fit: contain;
    /* 添加一些阴影和过渡效果增强视觉 */
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.partners img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* 定义滚动动画 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* 滚动到一半（因为复制了一份图片） */
    }
}

/* 鼠标悬停时暂停滚动 */
.partners-container:hover .partners {
    animation-play-state: paused;
}

/* 可选：添加左右渐变遮罩，增强视觉效果 */
.partners-container::before,
.partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* 不影响鼠标交互 */
}

.partners-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partners-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

        /* 最新新闻 */

        .latest-news {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
			min-height:350px;
			 box-shadow: 0 -5px 5px -5px rgba(236, 236,236, 0.5), 0  5px 5px -5px rgba(236, 236, 236, 0.5); 
           
        }
        .news-item {
            border: 1px solid #eee;
            padding: 25px;
			
        }
        .news-item h3 {
            font-size: 22px;
            margin-bottom: 10px;
            color: #333;
			min-height:70px;
        }
        .news-item p {
			padding-top:20px;
            font-size: 16px;
            color: #666;
            margin-bottom: 10px;
        }
        .news-item a {
			line-height:35px;
            font-size: 16px;
            color: #e02020;
            text-decoration: none;
        }
		.news_time{
			padding-top:25px;
			line-height:35px;
            font-size: 16px;
            color: #e02020;
            text-decoration: none;
		}

        /* 学习板块 */
        .learning {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
		.learning-item {
			position: relative;
			height: 322px;
			overflow: hidden;
		}
		.learning-item img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
		.learning-text {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0; /* 让容器充满整个图片区域 */
			padding: 15px;
			color: white;
			display: flex; /* 使用flex布局分离文本和链接 */
			flex-direction: column; /* 垂直排列 */
			justify-content: space-between; /* 上下分布 */
		}
		/* 文字内容区域（上方） */
		.learning-text .text-content {
			padding-top: 30px;
		}
		.learning-text h3 {
			font-size: 26px;
			margin-bottom: 5px;
		}
		.learning-text p {
			line-height: 25px;
			font-size: 14px;
			margin-bottom: 5px;
		}
		/* 链接样式（右下角） */
		.learning-text .lea {
			font-size: 16px;
			color: #fff;
			text-decoration: underline;
			align-self: flex-end; /* 靠右对齐 */
			margin-bottom: 15px; /* 与底部保持距离 */
		}

        /* 底部样式 */
        footer {
            background: #333;
            color: white;
            padding: 40px 20px;
        }
        .footer-content {
            max-width: 1600px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 2fr;
            gap: 40px;
        }
        .footer-logo {
			 height: 208px;
			border-right: 1px solid #444;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }
        .footer-logo img {
			padding-left:150px;
            height: 108px;
        }
		.footer-nav{
			 height: 208px;
			border-right: 1px solid #444;	
		}
        .footer-nav h3, .footer-contact h3 {
            font-size: 18px;
            margin-bottom: 15px;
        }
        .footer-nav ul {
            list-style: none;
        }
        .footer-nav li {
            margin-bottom: 8px;
        }
        .footer-nav a {
            color: #ccc;
            text-decoration: none;
            font-size: 14px;
        }
        .footer-contact p {
            font-size: 14px;
            line-height: 1.5;
            color: #ccc;
        }
        .copyright {
            max-width: 1200px;
            margin: 20px auto 0;
            padding-top: 20px;
            
            font-size: 12px;
            color: #ccc;
            text-align: center;
        }
		.dyline{
			margin:0 auto;
			width:1600px;
			height:100px;
			border-bottom:1px solid #e3e3e3;	
		 	
		}
		
		.dybt{width:1600px; margin:50px auto; height:30px; font-size:14px; color:#b8afaf; }
		.dybt a{color:#ed4048}
		.dynr{width:1600px; margin:0 auto; line-height:30px; font-size:14px; color:#666666; font-family:Arial, Helvetica, sans-serif;}
		.dynr p{ line-height:30px; color:#666666; font-family:Arial, Helvetica, sans-serif; }
		.dynr h3{font-size:30px;}
		
		.teambox{ width:500px; float:left; height:350px;  text-align:center}
		.teamli{
			width:350px; 
			height:242px;
			text-align:center;
			padding-top:20px;
		 	box-shadow: -5px 0 20px 2px rgba(202, 202, 202, 0.2),  /* 左侧阴影 */
			0 5px 20px 2px rgba(202, 202, 202, 0.2),   /* 底部阴影 */
			5px 0 20px 2px rgba(202, 202, 202,0.2);   /* 右侧阴影 */
		}
		.teamli h3{padding-top:20px;}
		
		.teamzli{
			width:370px; 
			height:242px;
			text-align:center;
			padding-top:20px;
		 	box-shadow: -5px 0 20px 2px rgba(202, 202, 202, 0.2),  /* 左侧阴影 */
			0 5px 20px 2px rgba(202, 202, 202, 0.2),   /* 底部阴影 */
			5px 0 20px 2px rgba(202, 202, 202,0.2);   /* 右侧阴影 */
		}
		.teamzli h3{padding-top:20px;}