/* Homepage news rows; article pages retain their own content layout. */
body.lhxgd-news-home {
	background: #fff;
	font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.lhxgd-news-home::before,
body.lhxgd-news-home::after {
	display: none;
}

.lhxgd-news-home .site#page {
	margin: 0;
	padding-top: 40px;
}

.lhxgd-news-home .site-inner {
	width: calc(100% - 80px);
	max-width: 1280px;
	margin: 0 auto;
}

.lhxgd-news-home .site-content {
	margin: 0;
	padding: 0;
}

.lhxgd-news-home .content-area.lhxgd-news-index {
	float: none;
	width: 100%;
	margin: 0;
}

.lhxgd-news-home .site-main {
	margin: 0 0 64px;
}

.lhxgd-news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.lhxgd-news-index { min-width: 0; }

.lhxgd-news-category-header { margin-bottom: 36px; }
.lhxgd-news-category-header > a { color: #0086c4; font-size: 14px; }
.lhxgd-news-category-header h1 { margin: 18px 0 12px; color: #243447; font-family: inherit; font-size: 30px; font-weight: 500; }
.lhxgd-news-category-header > div { color: #7a838e; font-size: 16px; line-height: 1.8; }

.lhxgd-news-index .lhxgd-news-row {
	display: grid;
	grid-template-columns: minmax(0, 248px) minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	margin: 0;
	padding: 32px 0;
	border-bottom: 1px solid #edf0f2;
}

.lhxgd-news-index .lhxgd-news-row:first-of-type {
	padding-top: 0;
}

.lhxgd-news-index .lhxgd-news-row::before,
.lhxgd-news-index .lhxgd-news-row::after {
	display: none;
}

.lhxgd-news-row a {
	box-shadow: none;
	text-decoration: none;
}

.lhxgd-news-row a:focus-visible {
	outline: 2px solid #0086c4;
	outline-offset: 4px;
}

.lhxgd-news-row__thumbnail {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #f3f8fc;
}

.lhxgd-news-row__thumbnail > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.lhxgd-news-row__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef8ff, #f7fbfe);
}

.lhxgd-news-row__placeholder img {
	display: block;
	width: 72%;
	height: auto;
}

.lhxgd-news-row__body {
	min-width: 0;
	padding-top: 2px;
}

.lhxgd-news-row .lhxgd-news-row__title {
	margin: 0 0 12px;
	color: #252b33;
	font: 400 25px/1.55 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	overflow-wrap: anywhere;
}

.lhxgd-news-row__title a {
	color: inherit;
}

.lhxgd-news-row__title a:hover,
.lhxgd-news-row__title a:focus-visible {
	color: #0086c4;
}

.lhxgd-news-row__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin: 0 0 12px;
	color: #9ba2ab;
	font-size: 14px;
	line-height: 1.75;
}

.lhxgd-news-row__categories a,
.lhxgd-news-row__tags,
.lhxgd-news-row__tags a {
	color: #0086c4;
}

.lhxgd-news-row__categories a:hover,
.lhxgd-news-row__tags a:hover {
	color: #006b9c;
	text-decoration: underline;
}

.lhxgd-news-row__separator {
	color: #c1c7ce;
}

.lhxgd-news-row__sticky {
	padding: 0 7px;
	border-radius: 3px;
	background: #eef8ff;
	color: #0086c4;
	font-size: 13px;
}

.lhxgd-news-row .lhxgd-news-row__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #7a838e;
	font-size: 16px;
	line-height: 1.9;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow-wrap: anywhere;
}

.lhxgd-news-row__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	font-size: 14px;
	line-height: 1.6;
}

.lhxgd-news-row__tags svg {
	flex-shrink: 0;
}

.lhxgd-news-index .pagination {
	margin: 40px 0 0;
	border: 0;
	font-family: inherit;
}

.lhxgd-news-index .pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 0;
}

.lhxgd-news-index .pagination::before,
.lhxgd-news-index .pagination::after,
.lhxgd-news-index .pagination .nav-links::before,
.lhxgd-news-index .pagination .nav-links::after,
.lhxgd-news-index .pagination .prev::before,
.lhxgd-news-index .pagination .next::before {
	display: none;
}

.lhxgd-news-index .pagination .page-numbers {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	width: auto;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #e3ebf2;
	border-radius: 4px;
	background: #fff;
	color: #5f6b7a;
	font-size: 15px;
	line-height: 1;
}

.lhxgd-news-index .pagination .current,
.lhxgd-news-index .pagination a:hover,
.lhxgd-news-index .pagination a:focus-visible {
	border-color: #03a9f4;
	background: #03a9f4;
	color: #fff;
}

@media (max-width: 1100px) {
	.lhxgd-news-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
	.lhxgd-news-index .lhxgd-news-row {
		grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
		gap: 22px;
		padding: 30px 0;
	}
	.lhxgd-news-row .lhxgd-news-row__title { font-size: 23px; }
	.lhxgd-news-row .lhxgd-news-row__excerpt { font-size: 16px; }
}

@media (max-width: 960px) {
	.lhxgd-news-layout { display: block; }
	.lhxgd-news-home .site-main { margin-bottom: 24px; }
}

@media (max-width: 640px) {
	.lhxgd-news-home .site#page { padding-top: 28px; }
	.lhxgd-news-home .site-inner { width: calc(100% - 40px); }
	.lhxgd-news-index .lhxgd-news-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 28px 0;
	}
	.lhxgd-news-row .lhxgd-news-row__title {
		margin-bottom: 12px;
		font-size: 23px;
		line-height: 1.55;
	}
	.lhxgd-news-row__meta {
		gap: 4px 10px;
		margin-bottom: 12px;
		font-size: 13px;
	}
	.lhxgd-news-row .lhxgd-news-row__excerpt {
		font-size: 15px;
		line-height: 1.8;
	}
	.lhxgd-news-index .pagination .page-numbers {
		min-width: 34px;
		height: 36px;
		padding: 0 9px;
	}
}
