﻿
@charset "utf-8";
/*

*/
body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, table, td, img, div, dl, dt, dd, input {
	margin: 0;
	padding: 0;
}
body, input, textarea {
	font-size: 14px;
	color: #666666;
	font-family: 'Microsoft yahei';
}
img {
	border: none;
}
ul, ol, li, a {
	list-style: none;
	text-decoration: none;
}
input, select, textarea {
	outline: none;
	border: none;
	background: #FFF;
}
textarea {
	resize: none;
}
body {
	word-wrap: break-word;
	word-break: break-all;
}







.footer {
	background: #1d1d1d;
	color: #fff;
	padding: 40px 0 20px;
	position: relative;
	overflow: hidden;
}

.footer:before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	width: 100%;
	height: 20px;
	background: rgba(255,255,255,0.1);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 0 20px;
}

.footer-section {
	flex: 1;
	min-width: 250px;
	margin: 15px;
}

.footer-title {
	font-size: 1.2em;
	margin-bottom: 20px;
	position: relative;
	padding-left: 30px;
}

.footer-title i {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #e74c3c;
}

.contact-list {
	list-style: none;
}

.contact-list li {
	margin: 10px 0;
	padding-left: 30px;
	position: relative;
}

.contact-list i {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: color 0.3s;
}

.contact-list a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
}

.contact-list a:hover {
	color: #e74c3c;
}

.copyright {
	text-align: center;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.1);
}

.beian {
	display: block;
	margin-top: 10px;
}

/* 悬停动画 */
.contact-list i:hover {
	color: #e74c3c;
	transform: translateY(-50%) scale(1.2);
}

@media (max-width: 768px) {
	.footer-container {
		flex-direction: column;
		text-align: center;
	}
	
	.footer-title {
		padding-left: 0;
	}
	
	.footer-title i {
		position: static;
		margin-bottom: 10px;
	}
	
	.contact-list li {
		padding-left: 0;
	}
	
	.contact-list i {
		position: static;
		margin-right: 5px;
	}
}






.nav-container {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 220px;
	z-index: 99999;
	background: #222;
	display: flex;
	flex-direction: column;
	padding: 40px 0;
	box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}

.nav-logo {
	font-family: 'Arial Rounded MT Bold', sans-serif;
	color: white;
	text-align: center;
	font-size: 2.2em;
	margin-bottom: 50px;
	letter-spacing: 3px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-menu {
	list-style: none;
}

.nav-item {
	position: relative;
	padding: 20px 40px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 0;
	background: rgba(255,255,255,0.9);
	border-radius: 0 5px 5px 0;
	transition: height 0.3s ease;
}

.nav-item:hover::before {
	height: 80%;
}

.nav-link {
	color: white;
	text-decoration: none;
	font-family: 'Segoe UI', sans-serif;
	font-size: 1.5em;
	position: relative;
	display: flex;
	align-items: center;
	transition: transform 0.3s ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: white;
	transition: width 0.4s ease;
	border-radius: 2px;
}

.nav-item:hover .nav-link {
	transform: translateX(10px);
}

.nav-item:hover .nav-link::after {
	width: 100%;
}

.nav-container::after {
content: '';
position: absolute;
right: -15px;
top: 40%;
transform: translateY(-50%);
width: 30px;
height: 120%;
background: linear-gradient(45deg,
			transparent 0%,
			transparent 50%,
			#222 50%,
			#222 100%
		),
		linear-gradient(-45deg,
			transparent 0%,
			transparent 50%,
			#222 50%,
			#222 100%
		);
background-size: 15px 30px;
opacity: 0.9;
}










.container2 {
	max-width: 1200px;
	margin: 50px auto;
}

.article-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.article-card {
	height: 350px;
	background: white;
	border-radius: 15px;
	padding: 1.5rem;
	transform: rotate(-1deg);
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.article-card:hover {
	transform: rotate(0deg);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.article-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	transition: 0.5s;
}

.article-card:hover::before {
	left: 100%;
}

.container2 .category {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	background: #52cdc9;
	color: white;
	border-radius: 20px;
	font-size: 0.8rem;
	margin-bottom: 1rem;
}

.container2 h2 {
	color: #333;
	transition: color 0.3s ease;
}

.article-card:hover h2 {
	color: #52cdc9;
}

.summary {
    margin-top: 1.5rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    height: 270px;
    overflow: hidden;
}

.meta {
	display: flex;
	justify-content: space-between;
	color: #999;
	font-size: 0.9rem;
}

@media (max-width: 768px) {
	body {
		padding: 1rem;
	}
	
	.article-card {
		transform: rotate(0deg);
	}
}
