/* 基础样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
	background-color: #f5f7fa;
	color: #333;
	line-height: 1.6;
}

/* 头部横幅 */
.header-banner {
	width: 100%;
	height: 220px;
	background:  rgba(0,0,0,0.5) url('https://yangjiqiang.cn/wp-content/uploads/2025/12/背景.png');
	color: white;
	text-align: center;
	padding-top: 60px;
	margin-bottom: 30px;
}

.header-banner h1 {
	font-size: 2.5rem;
	margin-bottom: 15px;
}

.institution-info {
	font-size: 1.1rem;
	margin-bottom: 8px;
}

/* 容器样式 */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 20px;
}

/* 主体内容区 */
.main-content {
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	padding: 30px;
}

/* 实验项目区域 */
.experiments-section {
	margin-top: 30px;
}

.section-title {
	color: #333;
	font-size: 1.5rem;
	margin-bottom: 25px;
	padding-left: 10px;
	border-left: 4px solid #165DFF;
}

/* 实验项目卡片容器 */
.experiments-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 30px;
}

/* 实验项目卡片 */
.experiment-card {
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	background: white;
	display: flex;
	flex-direction: column;
}

.experiment-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* 实验图片 */
.experiment-img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.experiment-card:hover .experiment-img {
	transform: scale(1.05);
}

/* 卡片内容区 - 关键修改：使用flex确保按钮对齐 */
.card-content {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.experiment-card h3 {
	color: #165DFF;
	font-size: 1.3rem;
	margin-bottom: 15px;
}

.experiment-card p {
	color: #666;
	margin-bottom: 20px;
	line-height: 1.6;
	flex: 1;
}

/* 按钮样式 - 关键修改：margin-top:auto将按钮推到底部 */
.btn {
	display: inline-block;
	padding: 10px 20px;
	background: #165DFF;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.3s ease;
	margin-top: auto;
	align-self: flex-start;
}

.btn:hover {
	background: #0E42D2;
}

/* 页脚 */
.footer {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 0;
	color: #999;
	font-size: 0.9rem;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.header-banner {
		height: 180px;
		padding-top: 40px;
	}

	.header-banner h1 {
		font-size: 1.8rem;
	}

	.experiments-grid {
		grid-template-columns: 1fr;
	}
}
/*页脚处超链接*/
#link-footer-qiang{
    text-decoration: none;
    color:blue;
}
#link-footer-qiang:visited{
    color: blue;
}

/*设置wordpress样式*/
#masthead{
	display: none;
}
.site-footer{
	display: none;
}
#page{
	padding:0;
}
.inside-article .entry-content{
	margin-top: 0;
}