/* ===== 基础重置 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {font-family: "Microsoft YaHei", sans-serif;color: #333;
background:url(../images/bg.jpg) no-repeat center bottom;
}
a { text-decoration: none; color: inherit; }

/* ===== 顶部 Banner ===== */
.top { position: relative; }
.top img { display: block; width: 100%; }

/* ===== 核心容器 —— float 布局 ===== */
.container {
	width: 1214px;
	max-width: 100%;
	margin: 0 auto;
	padding: 36px 0;
}
.container-clear { clear: both; }

/* ===== 通用板块卡片 ===== */
.section {
	/* background: #fff; */
	/* border-radius: 8px; */
	/* box-shadow: 0 2px 12px rgba(0,0,0,0.06); */
	/* padding: 25px 28px; */
	overflow: hidden;
}

/* ===== 模块1：银龄动态 —— 独立样式 ===== */
.section-news {
	float: left;
	width: 580px;
	margin-right: 24px;
}
.news-list { /* 独立，不共用 */ }
.news-item {
	display: block;
	/* border-bottom: 1px dashed #f0f0f0; */
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.news-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

/* ★ 模块1的 img-box —— 想改高度只改这里 ★ */
.news-imgbox {
	position: relative;
	width: 100%;
	height: 355px;          /* ← 模块1图片高度，直接改这个 */
	overflow: hidden;
	margin-bottom: 15px;
	border-radius: 4px;
}
.news-imgcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	font-size: 18px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.news-imgbox img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.3s;
}
.news-item:hover .news-imgbox img { transform: scale(1.05); }
.news-title {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 10px;
	color: #222;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.news-item:hover .news-title { color: #c0392b; }
.news-desc {
	font-size: 15px;
	color: #000;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* ===== 模块2：银龄品牌项目 —— 独立样式 ===== */
.section-brand {
	float: right;
	width: 580px;
	margin-left: 0;
}
.brand-list { /* 独立，不共用 */ }
.brand-item {
	display: block;
	/* border-bottom: 1px dashed #f0f0f0; */
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.brand-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

/* ★ 模块2的 img-box —— 想改高度只改这里 ★ */
.brand-imgbox {
	position: relative;
	width: 100%;
	height: 355px;          /* ← 模块2图片高度，直接改这个 */
	overflow: hidden;
	margin-bottom: 15px;
	border-radius: 4px;
}
.brand-imgcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	font-size: 18px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.brand-imgbox img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.3s;
}
.brand-item:hover .brand-imgbox img { transform: scale(1.05); }
.brand-title {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 10px;
	color: #222;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.brand-item:hover .brand-title { color: #c0392b; }
.brand-desc {
	font-size: 15px;
	color: #000;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* ===== 模块3：志愿者队伍建设 —— 独立样式 ===== */
.section-volunteer {
	float: left;
	width: 580px;
	margin-right: 24px;
	margin-top: 0;
}
.volunteer-box { /* 包两个志愿者图片 */ }

/* ★ 模块3的 img-box —— 想改高度只改这里 ★ */
.volunteer-imgbox {
	position: relative;
	display: block;
	float: left;
	width: 284px;          /* ← 模块3图片宽度 */
	height: 223px;         /* ← 模块3图片高度，直接改这个 */
	overflow: hidden;
	margin-right: 12px;
	margin-bottom: 20px;
	border-radius: 4px;
}
.volunteer-imgcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 6px 10px;
	background: rgba(139, 0, 0, 0.78);
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.volunteer-imgbox:nth-child(2) { margin-right: 0; }
.volunteer-imgbox img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.3s;
}
.volunteer-imgbox:hover img { transform: scale(1.05); }
.volunteer-clear { clear: both; }

.volunteer-article {
	display: block;
	/* border-top: 1px solid #eee; */
	padding-top: 15px;
}
.volunteer-article-title {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 10px;
	color: #222;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.volunteer-article:hover .volunteer-article-title { color: #c0392b; }
.volunteer-article-desc {
	font-size: 15px;
	color: #000;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* ===== 模块4：银龄风采 —— 独立样式 ===== */
.section-gallery {
	float: right;
	width: 580px;
	margin-top: 0;
}
.gallery-box { /* 包四宫格 */ }

/* ★ 模块4的 img-box —— 想改高度只改这里 ★ */
.gallery-item {
	float: left;
	width: 284px;          /* ← 模块4图片宽度 */
	margin-right: 12px;
	margin-bottom: 32px;
	text-align: center;
	display: block;
}
.gallery-item:nth-child(2n) { margin-right: 0; }
.gallery-imgbox {
	width: 100%;
	height: 148px;         /* ← 模块4图片高度，直接改这个 */
	overflow: hidden;
	margin-bottom: 8px;
	border-radius: 4px;
}
.gallery-imgbox img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.3s;
}
.gallery-item:hover .gallery-imgbox img { transform: scale(1.05); }
.gallery-text {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}
.gallery-item:hover .gallery-text { color: #c0392b; }
.gallery-clear { clear: both; }

/* ===== 标题通用 ===== */
.titlecell {margin-bottom: 44px;/* border-bottom: 1px solid #eee; *//* padding-bottom: 15px; */margin-top: 52px;}
.titlecell img {display: block;width: auto;height: 83px;margin: 0px auto;}
.titlecell a { display: block; }

/* ===== 响应式 ===== */
@media (max-width: 1214px) {
	.container { width: 90%; }
	.section-news, .section-brand, .section-volunteer, .section-gallery {
		float: none;
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}
}
@media (max-width: 600px) {
	.section { padding: 20px 18px; }
	.volunteer-imgbox { width: 48%; }
	.gallery-item { width: 48%; }
}

/* ===== Footer ===== */
.footer {
	clear: both;
	width: 100%;
	background: #d76e16;
	padding: 28px 0;
	text-align: center;
	margin-top: 40px;
}
.footer-link {
	color: #fff;
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 4px;
}
.footer-link:hover {
	color: #ffd8c2;
}
