/* ============ CMS 增补样式（配合原有 index.css / item.css） ============ */

/* ---------- 正文 ---------- */
.cms-article {
	padding: 10px 20px 40px;
	background: #fff;
	min-height: 500px;
}

.cms-article-title {
	font-size: 26px;
	line-height: 1.5;
	color: #1a1a1a;
	text-align: center;
	font-weight: bold;
	margin: 20px 0 14px;
}

.cms-article-subtitle {
	text-align: center;
	font-size: 16px;
	color: #666;
	margin: -8px 0 14px;
}

.cms-article-meta {
	text-align: center;
	font-size: 13px;
	color: #999;
	padding-bottom: 14px;
}

.cms-article-meta span {
	margin: 0 10px;
}

.cms-article-hr {
	border: none;
	border-top: 1px solid #eee;
	margin: 0 0 24px;
}

.cms-article-body {
	font-size: 16px;
	line-height: 1.9;
	color: #333;
	word-break: break-word;
}

.cms-article-body img {
	max-width: 100%;
	height: auto;
}

.cms-article-body p {
	margin-bottom: 14px;
}

.cms-article-body table {
	max-width: 100%;
	border-collapse: collapse;
}

.cms-article-body table td,
.cms-article-body table th {
	border: 1px solid #ddd;
	padding: 6px 10px;
}

/* ---------- 上下篇 ---------- */
.cms-article-nav {
	margin-top: 40px;
	padding-top: 18px;
	border-top: 1px dashed #e0e0e0;
	font-size: 14px;
	color: #666;
	line-height: 2;
}

.cms-article-nav a {
	color: #236CCC;
	text-decoration: none;
}

.cms-article-nav a:hover {
	text-decoration: underline;
}

/* ---------- 分页 ---------- */
.cms-pager {
	text-align: center;
	padding: 30px 0 40px;
	font-size: 14px;
}

.cms-pager a {
	display: inline-block;
	padding: 6px 16px;
	margin: 0 6px;
	border: 1px solid #236CCC;
	color: #236CCC;
	text-decoration: none;
	background: #fff;
}

.cms-pager a:hover {
	background: #236CCC;
	color: #fff;
}

.cms-pager-info {
	color: #999;
	margin: 0 8px;
}

/* ---------- 搜索结果 ---------- */
.cms-search-tip {
	font-size: 14px;
	color: #666;
	padding: 0 0 16px 4px;
}

.cms-search-tip b {
	color: #236CCC;
}

.cms-search-cat {
	font-size: 12px;
	color: #999;
	margin-left: 8px;
}

/* ---------- 空状态 ---------- */
.cms-empty {
	padding: 80px 0;
	text-align: center;
	color: #999;
	font-size: 15px;
}

/* ---------- 列表页日期在左 ---------- */
.lister1 .line .date {
	float: left;
	margin-right: 12px;
	color: #999;
}

.lister1 .line .subjecttlt {
	float: none;
	width: auto;
	display: inline-block;
	max-width: 78%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: top;
}

/* ---------- 首页新闻：两条大图卡片 ---------- */
.news-container-new .news .news-info-wrap {
	display: block;
}

.news-container-new .news .news-info {
	display: block;
}

.news-container-new .news .news-info .info-placeholder {
	visibility: hidden;
}

.news-container-new .news .news-info .info-right a:nth-child(1) {
	margin-top: 0;
	line-height: 24px;
}

/* ---------- 湖畔要闻式列表（参考 alumni.ywicc.edu.cn） ---------- */
.lake-title {
	width: 100%;
	padding: 10px 0;
	border-bottom: 1px solid #C6D4DE;
	overflow: hidden;
}
.lake-title span {
	float: left;
	margin-left: 10px;
	font-size: 18px;
	color: #236CCC;
	font-weight: bold;
}
.lake-title a {
	float: right;
	margin-top: 5px;
	font-size: 14px;
	color: #BCBCBC;
	text-decoration: none;
}
.lake-title a:hover {
	color: #236CCC;
}
.lake-list {
	list-style: none;
	margin: 0;
	padding: 4px 0 0;
}
.lake-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid #DCDCDC;
}
.lake-list li:last-child {
	border-bottom: none;
}
.lake-list li a {
	flex: 1;
	margin-right: 24px;
	font-size: 15px;
	color: #333;
	text-decoration: none;
	line-height: 22px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.lake-list li a:hover {
	color: #14409A;
}
.lake-list li span {
	flex-shrink: 0;
	font-size: 12px;
	color: #999;
}

/* 两个湖畔式列表并排（信息公开 / 捐赠指南） */
.lakeside-section {
	width: 100vw;
	min-width: 1200px;
	background: #fff;
	padding: 10px 0 40px;
}
.lakeside-wrap {
	width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}
.lakeside-box {
	float: left;
	width: 50%;
	box-sizing: border-box;
	padding-right: 40px;
}
.lakeside-box.lakeside-right {
	float: right;
	padding-right: 0;
	padding-left: 40px;
}

/* ---------- 新闻动态日期：只显示年月 ---------- */
.news-container-new .news .news-info .info .info-left .time-ym {
	font-size: 17px;
	color: #236ccc;
	font-weight: bold;
	line-height: 1.4;
	letter-spacing: 0;
	white-space: nowrap;
}

/* 湖畔列表空状态 */
.lake-list li.lake-empty {
	justify-content: center;
	padding: 26px 0;
	border-bottom: none;
}
.lake-list li.lake-empty a {
	flex: none;
	margin: 0;
	color: #b5b5b5;
	font-size: 13px;
	cursor: default;
}

/* 新闻中心：两条大图卡片（左图右文，图片 230x140） */
.news-container-new .news .news-info .info {
	width: 100%;
	height: auto;
	min-height: 156px;
	margin-bottom: 18px;
	padding: 8px 12px 8px 250px;
	align-items: center;
}

.news-container-new .news .news-info .info.has-thumb {
	padding-left: 250px;
}

.news-container-new .news .news-info .info.has-thumb .info-left {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	padding-left: 0;
	border-left: none;
}

.news-container-new .news .news-info .info .news-thumb {
	display: block;
	width: 230px;
	height: 140px;
	object-fit: cover;
	border-radius: 3px;
	background: #f0f2f5;
}

.news-container-new .news .news-info .info .news-thumb:hover {
	opacity: 0.88;
}

/* 新闻中心：标题/摘要超出部分省略 */
.news-container-new .news .news-info .info .info-right {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.news-container-new .news .news-info .info .info-right a:nth-child(1) {
	display: -webkit-box;
	width: auto;
	max-width: 100%;
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-all;
}

.news-container-new .news .news-info .info .info-right a:nth-child(2) {
	display: -webkit-box;
	font-size: 13px;
	line-height: 22px;
	color: #808080;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-all;
}


/* ---------------------------------------------------- 文章附件下载 */
.cms-attachments {
	margin-top: 30px;
	padding: 16px 20px 12px;
	background: #f8fafc;
	border: 1px solid #e3e9f2;
	border-radius: 4px;
}

.cms-attachments-title {
	font-size: 16px;
	font-weight: bold;
	color: #236CCC;
	margin-bottom: 10px;
	padding-left: 8px;
	border-left: 3px solid #236CCC;
	line-height: 1;
}

.cms-attachments ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cms-attachments li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px dashed #e5e9f0;
}

.cms-attachments li:last-child {
	border-bottom: none;
}

.cms-attachments a {
	display: flex;
	align-items: center;
	color: #333;
	text-decoration: none;
	max-width: 78%;
}

.cms-attachments a:hover .cms-att-name {
	color: #236CCC;
	text-decoration: underline;
}

.cms-att-icon {
	flex: none;
	font-style: normal;
	font-size: 11px;
	color: #fff;
	background: #236CCC;
	border-radius: 3px;
	padding: 2px 6px;
	margin-right: 8px;
}

.cms-att-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cms-att-meta {
	color: #999;
	font-size: 12px;
}

/* ---------------------------------------------------- PDF 在线预览 */
.cms-pdf-viewer {
	margin-top: 30px;
	padding: 16px 20px 20px;
	background: #fff;
	border: 1px solid #e3e9f2;
	border-radius: 4px;
}

.cms-pdf-viewer .cms-attachments-title {
	margin-bottom: 14px;
}

.cms-pdf-viewer object,
.cms-pdf-viewer iframe {
	display: block;
	width: 100%;
	height: 860px;
	border: none;
	background: #f5f6f8;
	border-radius: 3px;
}

@media (max-width: 768px) {
	.cms-pdf-viewer object,
	.cms-pdf-viewer iframe {
		height: 560px;
	}
}
