/**
 * 内页统一顶栏（与产品中心一致）：深色面包屑 + 标题区
 */

.hcn-page-shell,
#hcn-news-page.hcn-page-shell,
#hcn-scenario-page.hcn-page-shell,
#hcn-contact-page.hcn-page-shell,
#hcn-social-page.hcn-page-shell {
	background: #ececea;
	margin: 0;
	padding: 0;
}

.hcn-page-shell .scroll-animate,
#hcn-news-page .scroll-animate,
#hcn-scenario-page .scroll-animate,
#hcn-contact-page .scroll-animate,
#hcn-social-page .scroll-animate {
	opacity: 1 !important;
	transform: none !important;
}

.hcn-page-breadcrumb,
.hcn-products-breadcrumb,
.hcn-subpage-breadcrumb {
	background: linear-gradient(90deg, #1a1d21 0%, #2d3436 100%);
	border-bottom: 3px solid #f47629;
	padding: 14px 20px;
	margin: 0;
}

.hcn-page-breadcrumb .hcn-breadcrumb__list,
.hcn-products-breadcrumb .hcn-breadcrumb__list,
.hcn-subpage-breadcrumb .hcn-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1280px;
	font-size: 13px;
	line-height: 1.5;
}

.hcn-page-breadcrumb .hcn-breadcrumb__item,
.hcn-products-breadcrumb .hcn-breadcrumb__item,
.hcn-subpage-breadcrumb .hcn-breadcrumb__item {
	color: rgba(255, 255, 255, 0.55);
}

.hcn-page-breadcrumb .hcn-breadcrumb__item:not(:last-child)::after,
.hcn-products-breadcrumb .hcn-breadcrumb__item:not(:last-child)::after,
.hcn-subpage-breadcrumb .hcn-breadcrumb__item:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	color: rgba(255, 255, 255, 0.35);
}

.hcn-page-breadcrumb .hcn-breadcrumb__item a,
.hcn-products-breadcrumb .hcn-breadcrumb__item a,
.hcn-subpage-breadcrumb .hcn-breadcrumb__item a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hcn-page-breadcrumb .hcn-breadcrumb__item a:hover,
.hcn-products-breadcrumb .hcn-breadcrumb__item a:hover,
.hcn-subpage-breadcrumb .hcn-breadcrumb__item a:hover {
	color: #f47629;
}

.hcn-page-breadcrumb .hcn-breadcrumb__item--current,
.hcn-products-breadcrumb .hcn-breadcrumb__item--current,
.hcn-subpage-breadcrumb .hcn-breadcrumb__item--current {
	color: #fff;
	font-weight: 500;
}

.hcn-page-hero,
.hcn-products-hero {
	background: linear-gradient(135deg, #ffffff 0%, #f4f4f2 100%);
	border-bottom: 1px solid #ddd;
	padding: 40px 20px 36px;
	margin: 0;
}

.hcn-page-hero__inner,
.hcn-products-hero__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.hcn-page-hero__eyebrow,
.hcn-products-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: #f47629;
	text-transform: uppercase;
}

.hcn-page-hero__title,
.hcn-products-hero__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	color: #0e345b;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.hcn-page-hero__desc,
.hcn-products-hero__desc {
	margin: 0;
	max-width: 680px;
	font-size: 15px;
	line-height: 1.7;
	color: #5c5c5c;
}

.hcn-page-hero__desc strong,
.hcn-products-hero__desc strong {
	color: #f47629;
	font-weight: 700;
}

.hcn-page-shell-body {
	padding: 32px 20px 48px;
	max-width: 1280px;
	margin: 0 auto;
}

.hcn-page-shell-body--wide {
	max-width: none;
	padding-left: var(--wp--preset--spacing--superbspacing-small, 20px);
	padding-right: var(--wp--preset--spacing--superbspacing-small, 20px);
}

#hcn-news-page .hcn-page-shell-body {
	padding-top: 28px;
	padding-bottom: 56px;
	max-width: 1200px;
}

#hcn-news-page .hcn-news-layout {
	gap: 28px !important;
	align-items: flex-start !important;
}

#hcn-news-page .hcn-news-layout__main,
#hcn-news-page .hcn-news-layout__aside {
	min-width: 0;
}

#hcn-scenario-page .hcn-scenario-cards-wrap {
	padding: 32px 20px 24px;
	max-width: 1280px;
	margin: 0 auto;
}

#hcn-contact-page .hcn-page-shell-body {
	padding-top: 0;
	padding-bottom: 0;
	max-width: none;
}

#hcn-contact-page .hcn-contact-intro {
	padding-top: 32px !important;
}

#hcn-social-page .hcn-page-shell-body {
	padding-top: 0;
	padding-bottom: 0;
	max-width: none;
}

@media (max-width: 992px) {
	#hcn-news-page .hcn-news-layout {
		flex-wrap: wrap !important;
	}

	#hcn-news-page .hcn-news-layout__main,
	#hcn-news-page .hcn-news-layout__aside {
		flex-basis: 100% !important;
	}

	.hcn-news-sidebar {
		position: static;
	}
}

@media (max-width: 768px) {
	.hcn-page-hero,
	.hcn-products-hero {
		padding: 28px 16px 24px;
	}

	.hcn-page-shell-body,
	#hcn-scenario-page .hcn-scenario-cards-wrap {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hcn-news-feed__item,
	.hcn-news-feed__item--no-thumb {
		flex-direction: column;
	}

	.hcn-news-feed__thumb {
		width: 100%;
		flex: none;
		aspect-ratio: 16 / 9;
		height: auto;
	}

	.hcn-news-feed__panel {
		padding: 18px 16px 20px;
	}

	.hcn-news-cats {
		padding: 4px;
	}

	.hcn-news-cats__btn {
		flex: 1 1 calc(50% - 4px);
		justify-content: center;
		min-width: 0;
	}
}

/* ========== 新闻列表页 ========== */
.hcn-news-feed {
	margin: 0;
	padding: 0;
}

.hcn-news-feed__panel {
	background: #ffffff;
	border: 1px solid #d8d8d4;
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(26, 29, 33, 0.06);
	padding: 24px 28px 28px;
	position: relative;
	overflow: hidden;
}

.hcn-news-feed__panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #f47629 0%, #d45f1a 50%, #2d3436 100%);
}

.hcn-news-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	padding: 6px;
	border-radius: 10px;
	background: #f4f4f2;
	border: 1px solid #ececea;
}

.hcn-news-cats__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: #52525b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hcn-news-cats__btn:hover {
	background: rgba(255, 255, 255, 0.72);
	color: #1a1d21;
}

.hcn-news-cats__btn.is-active {
	background: #ffffff;
	border-color: #e4e4e0;
	color: #1a1d21;
	box-shadow: 0 2px 10px rgba(26, 29, 33, 0.08);
}

.hcn-news-cats__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: rgba(26, 29, 33, 0.06);
	font-size: 12px;
	line-height: 1;
}

.hcn-news-cats__btn.is-active .hcn-news-cats__count {
	background: rgba(244, 118, 41, 0.14);
	color: #d45f1a;
}

.hcn-news-feed__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hcn-news-feed__item {
	display: flex;
	gap: 22px;
	padding: 18px;
	border: 1px solid #ececea;
	border-radius: 10px;
	background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hcn-news-feed__item:hover {
	transform: translateY(-2px);
	border-color: rgba(244, 118, 41, 0.35);
	box-shadow: 0 10px 24px rgba(26, 29, 33, 0.08);
}

.hcn-news-feed__thumb {
	flex: 0 0 300px;
	width: 300px;
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	overflow: hidden;
	background: #1a1d21;
	position: relative;
}

.hcn-news-feed__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.hcn-news-feed__item:hover .hcn-news-feed__thumb img {
	transform: scale(1.04);
}

.hcn-news-feed__thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	background:
		linear-gradient(135deg, rgba(244, 118, 41, 0.18) 0%, rgba(26, 29, 33, 0.05) 100%),
		linear-gradient(180deg, #f8f8f6 0%, #ececea 100%);
}

.hcn-news-feed__thumb-placeholder::after {
	content: "NEWS";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: rgba(26, 29, 33, 0.12);
}

.hcn-news-feed__body {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.hcn-news-feed__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.hcn-news-feed__cat {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.hcn-news-feed__cat--enterprise-news,
.hcn-news-feed__cat--company-news {
	background: rgba(26, 29, 33, 0.08);
	color: #1a1d21;
}

.hcn-news-feed__cat--product-consult,
.hcn-news-feed__cat--product-news {
	background: rgba(244, 118, 41, 0.12);
	color: #d45f1a;
}

.hcn-news-feed__cat--default {
	background: rgba(14, 52, 91, 0.08);
	color: #0e345b;
}

.hcn-news-feed__date {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	color: #a1a1aa;
}

.hcn-news-feed__title {
	margin: 0 0 12px;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.45;
	font-weight: 700;
}

.hcn-news-feed__title a {
	color: #0e345b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hcn-news-feed__item:hover .hcn-news-feed__title a,
.hcn-news-feed__title a:hover {
	color: #f47629;
}

.hcn-news-feed__excerpt {
	color: #52525b;
	font-size: 14px;
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hcn-news-feed__excerpt p {
	margin: 0;
}

.hcn-news-feed__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 700;
	color: #f47629;
	text-decoration: none;
}

.hcn-news-feed__more::after {
	content: "→";
	transition: transform 0.2s ease;
}

.hcn-news-feed__item:hover .hcn-news-feed__more::after {
	transform: translateX(4px);
}

.hcn-news-feed__empty {
	padding: 48px 24px;
	border: 1px dashed #d8d8d4;
	border-radius: 10px;
	background: #fafaf9;
	text-align: center;
}

.hcn-news-feed__empty p {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: #303030;
}

.hcn-news-feed__empty span {
	font-size: 14px;
	color: #71717a;
}

.hcn-news-feed__pagination {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #ececea;
}

.hcn-news-feed__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 4px 8px 0;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid #e4e4e0;
	background: #fff;
	color: #303030;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.hcn-news-feed__pagination .page-numbers:hover {
	border-color: #f47629;
	color: #f47629;
}

.hcn-news-feed__pagination .page-numbers.current {
	background: #f47629;
	border-color: #f47629;
	color: #fff;
	box-shadow: 0 4px 12px rgba(244, 118, 41, 0.28);
}

.hcn-news-feed__pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hcn-news-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 24px;
}

.hcn-news-sidebar__panel {
	background: #ffffff;
	border: 1px solid #d8d8d4;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(26, 29, 33, 0.05);
	padding: 20px 18px 18px;
	overflow: hidden;
}

.hcn-news-sidebar__title {
	display: flex;
	align-items: center;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #ececea;
	font-size: 17px;
	font-weight: 700;
	color: #1a1d21;
}

.hcn-news-sidebar__title span {
	position: relative;
	padding-left: 12px;
}

.hcn-news-sidebar__title span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 18px;
	border-radius: 2px;
	background: linear-gradient(180deg, #f47629 0%, #d45f1a 100%);
}

.hcn-news-sidebar-cats,
.hcn-news-sidebar-recent {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hcn-news-sidebar-cats li + li {
	margin-top: 8px;
}

.hcn-news-sidebar-cats__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #ececea;
	border-radius: 8px;
	background: #fafaf9;
	color: #303030;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hcn-news-sidebar-cats__link:hover {
	border-color: #f47629;
	background: #fff;
	color: #f47629;
	transform: translateX(2px);
}

.hcn-news-sidebar-cats__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(26, 29, 33, 0.06);
	font-size: 12px;
	color: #71717a;
}

.hcn-news-sidebar-recent__item + .hcn-news-sidebar-recent__item {
	margin-top: 10px;
}

.hcn-news-sidebar-recent__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	border: 1px solid #ececea;
	border-radius: 8px;
	background: #fafaf9;
	color: #303030;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hcn-news-sidebar-recent__link:hover {
	border-color: rgba(244, 118, 41, 0.35);
	background: #fff;
	box-shadow: 0 6px 16px rgba(26, 29, 33, 0.06);
}

.hcn-news-sidebar-recent__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	background: #ececea;
}

.hcn-news-sidebar-recent__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hcn-news-sidebar-recent__text {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hcn-news-sidebar-recent__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	color: #0e345b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hcn-news-sidebar-recent__link:hover .hcn-news-sidebar-recent__title {
	color: #f47629;
}

.hcn-news-sidebar-recent__date {
	font-size: 12px;
	color: #a1a1aa;
	font-weight: 600;
}

.hcn-news-sidebar__empty {
	margin: 0;
	padding: 16px;
	border-radius: 8px;
	background: #fafaf9;
	color: #71717a;
	font-size: 14px;
	text-align: center;
}

