/* ==========================================================================
   Inner Pages Common CSS (page.css)
   ========================================================================== */

/* Inner Page Banner - No Image, CSS Gradient & Pattern */
.inner-banner {
	width: 100%;
	height: 280px;
	background: linear-gradient(135deg, var(--primary-color) 0%, #0d2a4f 100%);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: var(--white);
	overflow: hidden;
}

/* Subtle CSS Pattern Overlay */
.inner-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 30px 30px;
	z-index: 1;
}

.inner-banner::after {
	content: '';
	position: absolute;
	right: -100px;
	bottom: -150px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212, 168, 75, 0.1) 0%, rgba(212, 168, 75, 0) 70%);
	z-index: 1;
}

.inner-banner .container {
	position: relative;
	z-index: 2;
	padding-left: 20px;
	border-left: 4px solid var(--secondary-color);
}

.inner-banner h1,
.inner-banner h2 {
	font-size: 38px;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: 1px;
}

.inner-banner p {
	font-size: 16px;
	opacity: 0.85;
	max-width: 600px;
	font-weight: 300;
}

/* Sophisticated Breadcrumb */
.breadcrumb-wrap {
	background-color: var(--bg-light);
	border-bottom: 1px solid var(--border-color);
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.breadcrumb {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: var(--text-gray);
	padding: 16px 0;
}

.breadcrumb a {
	color: var(--text-body);
	display: flex;
	align-items: center;
	transition: var(--transition);
}

.breadcrumb a svg {
	margin-right: 6px;
	color: var(--primary-color);
	margin-top: -2px;
}

.breadcrumb a:hover {
	color: var(--primary-color);
}

.breadcrumb .separator {
	margin: 0 12px;
	color: #cbd5e0;
	font-size: 12px;
}

.breadcrumb .current {
	color: var(--primary-color);
	font-weight: 600;
	position: relative;
}

/* Page Layout Wrapper */
.page-section {
	padding: 60px 0 80px;
	background-color: var(--white);
}

.page-title {
	font-size: 28px;
	color: var(--text-dark);
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border-color);
	position: relative;
}

.page-title::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 80px;
	height: 2px;
	background-color: var(--primary-color);
}

/* CMS Content Area - Simple & Standardized for Rich Text Editor Output */
.ys-content {
	color: var(--text-body);
	line-height: 2;
	font-size: 16px;
}

.ys-content p {
	margin-bottom: 20px;
	text-align: justify;
}

.ys-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 20px 0;
	box-shadow: var(--shadow-sm);
}

.ys-content h2,
.ys-content h3,
.ys-content h4 {
	color: var(--text-dark);
	margin: 30px 0 15px;
	font-weight: 600;
}

.ys-content h2 {
	font-size: 24px;
}

.ys-content h3 {
	font-size: 20px;
}

.ys-content h4 {
	font-size: 18px;
}

.ys-content ul,
.ys-content ol {
	margin-bottom: 20px;
	padding-left: 20px;
}

.ys-content ul li {
	list-style-type: disc;
	margin-bottom: 8px;
}

.ys-content ol li {
	list-style-type: decimal;
	margin-bottom: 8px;
}

.ys-content a {
	color: var(--primary-color);
	text-decoration: underline;
}

.ys-content a:hover {
	color: var(--secondary-color);
}

.ys-content blockquote {
	border-left: 4px solid var(--primary-color);
	padding: 10px 20px;
	margin: 20px 0;
	background-color: var(--bg-light);
	color: var(--text-gray);
	font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.inner-banner {
		height: 200px;
	}

	.inner-banner h1,
	.inner-banner h2 {
		font-size: 28px;
	}

	.inner-banner .container {
		border-left-width: 3px;
		padding-left: 15px;
	}

	.page-section {
		padding: 40px 0;
	}

	.ys-content {
		font-size: 15px;
	}
}

/* 新闻页面专属样式，严格限定在 .news-wrap 内 */
.news-wrap {
	padding: 50px 0 100px;
	background-color: #f8fafc;
	position: relative;
}

.news-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 350px;
	background: linear-gradient(180deg, #f1f5f9 0%, rgba(248, 250, 252, 0) 100%);
	z-index: 0;
}

.news-wrap .container {
	position: relative;
	z-index: 1;
}

/* 分类 Tabs */
.news-wrap .news-tabs {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 50px;
}

.news-wrap .tab-btn {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 10px 30px;
	border-radius: 30px;
	font-size: 16px;
	color: var(--text-dark);
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
}

.news-wrap .tab-btn:hover,
.news-wrap .tab-btn.active {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 15px rgba(13, 42, 79, 0.2);
}

/* 网格布局 */
.news-wrap .news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

/* 新闻卡片 */
.news-wrap .n-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, 0.03);
	text-decoration: none;
	height: 100%;
}

.news-wrap .n-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
	border-color: rgba(13, 42, 79, 0.05);
}

/* 图片区域 */
.news-wrap .n-img-box {
	position: relative;
	overflow: hidden;
	height: 240px;
}

.news-wrap .n-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.news-wrap .n-card:hover .n-img-box img {
	transform: scale(1.08);
}

/* 日期标签 */
.news-wrap .n-date-tag {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(13, 42, 79, 0.95);
	color: #fff;
	padding: 8px 15px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(4px);
	z-index: 2;
}

.news-wrap .n-date-tag .d-day {
	font-size: 22px;
	font-weight: 700;
	display: block;
	line-height: 1;
	margin-bottom: 4px;
}

.news-wrap .n-date-tag .d-month {
	font-size: 13px;
	opacity: 0.9;
}

/* 内容区域 */
.news-wrap .n-content {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-wrap .n-category {
	font-size: 13px;
	color: var(--secondary-color);
	margin-bottom: 10px;
	font-weight: 600;
}

.news-wrap .n-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 12px;
	line-height: 1.4;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-wrap .n-card:hover .n-title {
	color: var(--primary-color);
}

.news-wrap .n-desc {
	font-size: 15px;
	color: var(--text-gray);
	line-height: 1.6;
	margin-bottom: 20px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 底部链接 */
.news-wrap .n-footer {
	border-top: 1px solid #edf2f7;
	padding-top: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.news-wrap .n-readmore {
	color: var(--primary-color);
	font-weight: 500;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: all 0.3s ease;
}

.news-wrap .n-readmore svg {
	transition: transform 0.3s ease;
}

.news-wrap .n-card:hover .n-readmore {
	color: var(--secondary-color);
}

.news-wrap .n-card:hover .n-readmore svg {
	transform: translateX(4px);
}

.news-wrap .n-views {
	font-size: 13px;
	color: #a0aec0;
	display: flex;
	align-items: center;
	gap: 5px;
}

/* 分页结构适配样式 */
.news-wrap .ys-pages {
	margin-top: 60px;
	display: flex;
	justify-content: center;
}

.news-wrap .pagination {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.news-wrap .pagination li {
	margin: 0;
	padding: 0;
}

.news-wrap .pagination li a {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: var(--text-dark);
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	font-size: 15px;
}

.news-wrap .pagination li a[href]:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
	background: #f8fafc;
}

/* 针对没有 href 的纯文本提示（例如：共48条），恢复边框让它看起来更统一 */
.news-wrap .pagination li a:not([href]) {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: var(--text-gray);
	cursor: default;
}

/* 选中状态覆盖 */
.news-wrap .pagination li.active a,
.news-wrap .pagination li.active a:not([href]) {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 10px rgba(13, 42, 79, 0.2);
	padding: 0 14px;
	cursor: default;
}

@media (max-width: 992px) {
	.news-wrap .news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.news-wrap .news-grid {
		grid-template-columns: 1fr;
	}

	.news-wrap .news-tabs {
		flex-wrap: wrap;
	}
}

.about-wrap {
	padding: 50px 0 100px;
	background-color: #f8fafc;
	position: relative;
}

.about-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 350px;
	background: linear-gradient(180deg, #f1f5f9 0%, rgba(248, 250, 252, 0) 100%);
	z-index: 0;
}

.about-wrap .container {
	position: relative;
	z-index: 1;
}

.about-card {
	background: #fff;
	border-radius: 12px;
	padding: 60px;
	box-shadow: 0 10px 40px rgba(13, 42, 79, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
	.about-card {
		padding: 30px 20px;
	}
}

/* 分类 Tabs */
.about-wrap .jobs-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 40px;
}

.about-wrap .tab-btn {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 10px 25px;
	border-radius: 30px;
	font-size: 15px;
	color: var(--text-dark);
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
}

.about-wrap .tab-btn:hover,
.about-wrap .tab-btn.active {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 15px rgba(13, 42, 79, 0.2);
}

/* 订单招聘专属样式，包裹在 .jobs-wrap 内 */
.jobs-wrap {
	padding: 50px 0 100px;
	background-color: #f1f5f9;
	position: relative;
}

.jobs-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 350px;
	background: linear-gradient(180deg, #e6ecf2 0%, rgba(241, 245, 249, 0) 100%);
	z-index: 0;
}

.jobs-wrap .container {
	position: relative;
	z-index: 1;
}

/* 分类 Tabs (复用新闻页样式并稍作调整) */
.jobs-wrap .jobs-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 40px;
}

.jobs-wrap .tab-btn {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 10px 25px;
	border-radius: 30px;
	font-size: 15px;
	color: var(--text-dark);
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
}

.jobs-wrap .tab-btn:hover,
.jobs-wrap .tab-btn.active {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 15px rgba(13, 42, 79, 0.2);
}

/* 纯文本列表样式 */
.jobs-wrap .jobs-list {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.03);
	overflow: hidden;
	margin-top: 20px;
}

.jobs-wrap .j-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 30px;
	border-bottom: 1px solid #edf2f7;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.jobs-wrap .j-item:last-child {
	border-bottom: none;
}

/* 列表悬停高级交互 */
.jobs-wrap .j-item:hover {
	background-color: #f8fafc;
	padding-left: 40px;
	padding-right: 20px;
}

.jobs-wrap .j-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--secondary-color);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.jobs-wrap .j-item:hover::before {
	opacity: 1;
}

.jobs-wrap .j-title-wrap {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1;
	min-width: 0;
	/* 让省略号生效的关键 */
}

.jobs-wrap .j-icon {
	color: #a0aec0;
	flex-shrink: 0;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
}

.jobs-wrap .j-item:hover .j-icon {
	color: var(--primary-color);
	transform: scale(1.1);
}

.jobs-wrap .j-title {
	font-size: 17px;
	font-weight: 500;
	color: var(--text-dark);
	margin: 0;
	transition: color 0.3s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jobs-wrap .j-item:hover .j-title {
	color: var(--primary-color);
}

.jobs-wrap .j-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
	margin-left: 20px;
}

.jobs-wrap .j-date {
	font-size: 15px;
	color: var(--text-gray);
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.5px;
}

.jobs-wrap .j-arrow {
	color: #cbd5e1;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	opacity: 0;
	transform: translateX(-15px);
	display: flex;
	align-items: center;
}

.jobs-wrap .j-item:hover .j-arrow {
	color: var(--secondary-color);
	opacity: 1;
	transform: translateX(0);
}

/* 分页结构适配样式 (全站统一) */
.jobs-wrap .ys-pages {
	margin-top: 60px;
	display: flex;
	justify-content: center;
}

.jobs-wrap .pagination {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.jobs-wrap .pagination li {
	margin: 0;
	padding: 0;
}

.jobs-wrap .pagination li a {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: var(--text-dark);
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	font-size: 15px;
}

.jobs-wrap .pagination li a[href]:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
	background: #f8fafc;
}

.jobs-wrap .pagination li a:not([href]) {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: var(--text-gray);
	cursor: default;
}

.jobs-wrap .pagination li.active a,
.jobs-wrap .pagination li.active a:not([href]) {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 10px rgba(13, 42, 79, 0.2);
	padding: 0 14px;
	cursor: default;
}

@media (max-width: 768px) {
	.jobs-wrap .j-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		padding: 20px;
	}

	.jobs-wrap .j-meta {
		margin-left: 27px;
		/* 标题图标的宽度补偿 */
		width: calc(100% - 27px);
		justify-content: space-between;
	}

	.jobs-wrap .j-title {
		white-space: normal;
		line-height: 1.5;
	}

	.jobs-wrap .j-item:hover {
		padding-left: 20px;
		padding-right: 20px;
	}

	.jobs-wrap .j-arrow {
		opacity: 1;
		transform: translateX(0);
	}
}

.detail-wrap {
	padding: 60px 0 100px;
	background-color: #f1f5f9;
	position: relative;
}

.detail-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 350px;
	background: linear-gradient(180deg, #f1f5f9 0%, rgba(241, 245, 249, 0) 100%);
	z-index: 0;
}

.detail-card {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 12px;
	padding: 60px 80px;
	box-shadow: 0 10px 40px rgba(13, 42, 79, 0.05);
	border: 1px solid rgba(0, 0, 0, 0.03);
}

/* 标题区 */
.detail-header {
	text-align: center;
	border-bottom: 1px solid #edf2f7;
	padding-bottom: 30px;
	margin-bottom: 40px;
}

.detail-header h1 {
	font-size: 28px;
	color: var(--text-dark);
	margin-bottom: 15px;
	line-height: 1.4;
	font-weight: 600;
}

.detail-meta {
	font-size: 14px;
	color: var(--text-gray);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.detail-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
}

/*  正文区专属排版优化 */
.detail-content {
	font-size: 16px;
	line-height: 1.8;
	color: #334155;
	min-height: 300px;
	text-align: justify;
}

.detail-content p {
	margin-bottom: 20px;
}

.detail-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 20px auto;
	display: block;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-content h2 {
	font-size: 20px;
	color: var(--text-dark);
	margin: 35px 0 15px;
	font-weight: 600;
	border-left: 4px solid var(--primary-color);
	padding-left: 10px;
}

.detail-content h3 {
	font-size: 18px;
	color: var(--text-dark);
	margin: 25px 0 12px;
	font-weight: 600;
}

/* 底部上一篇/下一篇/返回导航 */
.detail-nav {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid #edf2f7;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 70%;
}

.nav-link {
	font-size: 15px;
	color: var(--text-gray);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.3s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nav-link:hover {
	color: var(--primary-color);
}

.nav-link strong {
	color: var(--text-dark);
	font-weight: 500;
	flex-shrink: 0;
	width: 60px;
	/* 固定宽度，对齐 */
}

.btn-return {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #f8fafc;
	color: var(--text-dark);
	border: 1px solid #e2e8f0;
	padding: 10px 24px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	flex-shrink: 0;
}

.btn-return:hover {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 15px rgba(13, 42, 79, 0.2);
	transform: translateY(-2px);
}

@media (max-width: 992px) {
	.detail-card {
		padding: 40px;
	}
}

@media (max-width: 768px) {
	.detail-card {
		padding: 30px 20px;
	}

	.detail-header h1 {
		font-size: 22px;
	}

	.detail-nav {
		flex-direction: column;
		gap: 30px;
		align-items: stretch;
	}

	.nav-links {
		width: 100%;
	}

	.btn-return {
		width: 100%;
	}
}

/* 针对联系页面的专属样式，严格限定在 .contact-wrap 内，防止污染全局复用组件 */
.contact-wrap {
	padding: 50px 0 100px;
	background-color: #eef2f7;
	/* 加深了一点 */
	position: relative;
}

.contact-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 350px;
	background: linear-gradient(180deg, #f1f5f9 0%, rgba(248, 250, 252, 0) 100%);
	z-index: 0;
}

.contact-wrap .contact-container {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
}

.contact-wrap .section-header {
	text-align: center;
	margin-bottom: 50px;
	position: relative;
	padding-bottom: 30px;
}

/* 优雅的渐变分割线 */
.contact-wrap .section-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(13, 42, 79, 0.2);
}

.contact-wrap .section-header h2 {
	font-size: 36px;
	color: var(--text-dark);
	margin-bottom: 15px;
	font-weight: 700;
}

.contact-wrap .section-header p {
	font-size: 16px;
	color: var(--text-gray);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.8;
}

/* 左右分栏布局：电话与微信放左边，地址放右边，完美解决高度不一的问题 */
.contact-wrap .layout-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch;
}

/* 卡片基础样式 */
.contact-wrap .c-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.03);
	height: 100%;
}

.contact-wrap .c-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
	border-color: rgba(13, 42, 79, 0.05);
}

.contact-wrap .c-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.4s ease;
	z-index: 1;
}

.contact-wrap .c-card:hover::before {
	transform: scaleX(1);
}

.contact-wrap .c-card-header {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	border-bottom: 1px solid #edf2f7;
	padding-bottom: 20px;
}

.contact-wrap .c-card-icon {
	width: 60px;
	height: 60px;
	background: rgba(13, 42, 79, 0.04);
	color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	transition: all 0.4s ease;
	flex-shrink: 0;
}

.contact-wrap .c-card:hover .c-card-icon {
	background: var(--primary-color);
	color: #fff;
	transform: scale(1.05) rotate(5deg);
}

.contact-wrap .c-card-icon svg {
	width: 28px;
	height: 28px;
	stroke-width: 1.5;
}

.contact-wrap .c-card-title {
	font-size: 22px;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0;
}

/* 电话模块 */
.contact-wrap .phone-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.contact-wrap .phone-box {
	background: #f8fafc;
	border-radius: 12px;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid transparent;
	transition: all 0.3s ease;
}

.contact-wrap .phone-box:hover {
	background: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-wrap .phone-box .p-label {
	font-size: 16px;
	color: var(--text-dark);
	font-weight: 500;
	display: block;
}

.contact-wrap .phone-box .p-num a {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
	font-family: Arial, sans-serif;
	transition: color 0.3s ease;
}

.contact-wrap .phone-box:hover .p-num a {
	color: var(--secondary-color);
}

/* 二维码模块 */
.contact-wrap .qr-title {
	font-size: 16px;
	color: var(--text-dark);
	font-weight: 600;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
}

.contact-wrap .qr-title::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 16px;
	background: var(--primary-color);
	margin-right: 8px;
	border-radius: 2px;
}

.contact-wrap .qr-container {
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.contact-wrap .qr-item-card {
	flex: 0 0 calc(50% - 10px); /* 占据50%宽度减去一半间距 */
    box-sizing: border-box;     /* <--- 加上这一行防止内边距把卡片撑爆 */
	text-align: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 15px;
	transition: all 0.3s ease;
}

.contact-wrap .qr-item-card:hover {
	border-color: rgba(13, 42, 79, 0.2);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-wrap .qr-item-card img {
	width: 100%;
	max-width: 130px;
	height: auto;
	border-radius: 6px;
	margin: 0 auto 10px auto;
	display: block;
}

.contact-wrap .qr-item-card p {
	font-size: 14px;
	color: var(--text-body);
	margin: 0;
	text-align: center;
}

/* 地址模块 */
.contact-wrap .address-items {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.contact-wrap .addr-box {
	position: relative;
	padding-left: 55px;
}

.contact-wrap .addr-icon {
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	background: rgba(13, 42, 79, 0.05);
	color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.contact-wrap .addr-icon svg {
	width: 20px;
	height: 20px;
}

.contact-wrap .addr-box:hover .addr-icon {
	background: var(--primary-color);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(13, 42, 79, 0.2);
}

.contact-wrap .addr-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	display: block;
}

.contact-wrap .addr-detail {
	font-size: 15px;
	color: var(--text-gray);
	line-height: 1.6;
}
   /* 底部地图组样式，与上方图标左侧对齐 */
        .contact-wrap .maps-group {
            display: flex;
            flex-direction: column;
            gap: 15px; /* 三张图片之间的上下间距 */
            margin-top: 10px;
        }
        
        .contact-wrap .maps-group img {
            width: 100%; /* 占满整个右侧卡片宽度，图片会变很大 */
            height: auto;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            display: block;
        }
@media (max-width: 992px) {
	.contact-wrap .layout-grid {
		grid-template-columns: 1fr;
	}
	     
}

@media (max-width: 480px) {
	.contact-wrap .phone-box {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.contact-wrap .qr-container {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
		/* optionally reduce gap slightly on mobile so they fit */
	}
	.contact-wrap .qr-item-card {
                flex: 0 0 calc(50% - 5px); /* 手机端间距较小，占一半减去 5px */
                padding: 10px;
            }
}

/* 海外风采专属样式，包裹在 .gallery-wrap 内 */
.gallery-wrap {
	padding: 50px 0 100px;
	background-color: #f8fafc;
	position: relative;
}

.gallery-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 350px;
	background: linear-gradient(180deg, #f1f5f9 0%, rgba(248, 250, 252, 0) 100%);
	z-index: 0;
}

.gallery-wrap .container {
	position: relative;
	z-index: 1;
}

/* 画廊网格：4列布局 */
.gallery-wrap .gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

/* 风采卡片 */
.gallery-wrap .g-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, 0.03);
	text-decoration: none;
	position: relative;
}

.gallery-wrap .g-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
	border-color: rgba(13, 42, 79, 0.05);
}

/* 纯图设计，增加外框高度比例 */
.gallery-wrap .g-img-box {
	position: relative;
	overflow: hidden;
	padding-bottom: 75%;
	/* 4:3 比例 */
}

.gallery-wrap .g-img-box img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

/* 悬停遮罩与放大效果 */
.gallery-wrap .g-card:hover .g-img-box img {
	transform: scale(1.08);
}

.gallery-wrap .g-img-box::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(13, 42, 79, 0);
	transition: all 0.4s ease;
	pointer-events: none;
}

.gallery-wrap .g-card:hover .g-img-box::after {
	background: rgba(13, 42, 79, 0.15);
}

/* 悬浮查看图标 */
.gallery-wrap .g-view-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -30%);
	opacity: 0;
	color: #fff;
	background: var(--primary-color);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	z-index: 2;
	box-shadow: 0 4px 15px rgba(13, 42, 79, 0.3);
}

.gallery-wrap .g-card:hover .g-view-icon {
	opacity: 1;
	transform: translate(-50%, -50%);
}

/* 标题区域 */
.gallery-wrap .g-content {
	padding: 20px;
	text-align: center;
	background: #fff;
	position: relative;
	z-index: 3;
}

.gallery-wrap .g-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0;
	line-height: 1.4;
	transition: color 0.3s ease;
	/* 限制一行，溢出省略 */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gallery-wrap .g-card:hover .g-title {
	color: var(--primary-color);
}

/* 装饰线条 */
.gallery-wrap .g-line {
	width: 30px;
	height: 3px;
	background: var(--primary-color);
	margin: 0 auto 12px;
	border-radius: 2px;
	transition: width 0.3s ease;
}

.gallery-wrap .g-card:hover .g-line {
	width: 50px;
	background: var(--secondary-color);
}

/* 分页结构适配样式 (复用自 news.html) */
.gallery-wrap .ys-pages {
	margin-top: 60px;
	display: flex;
	justify-content: center;
}

.gallery-wrap .pagination {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.gallery-wrap .pagination li {
	margin: 0;
	padding: 0;
}

.gallery-wrap .pagination li a {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: var(--text-dark);
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	font-size: 15px;
}

.gallery-wrap .pagination li a[href]:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
	background: #f8fafc;
}

.gallery-wrap .pagination li a:not([href]) {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: var(--text-gray);
	cursor: default;
}

.gallery-wrap .pagination li.active a,
.gallery-wrap .pagination li.active a:not([href]) {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 10px rgba(13, 42, 79, 0.2);
	padding: 0 14px;
	cursor: default;
}

@media (max-width: 1200px) {
	.gallery-wrap .gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 992px) {
	.gallery-wrap .gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.gallery-wrap .gallery-grid {
		grid-template-columns: 1fr;
	}
}

/* 新闻页面专属样式，严格限定在 .news-wrap 内 */
.news-wrap {
	padding: 50px 0 100px;
	background-color: #f8fafc;
	position: relative;
}

.news-wrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 350px;
	background: linear-gradient(180deg, #f1f5f9 0%, rgba(248, 250, 252, 0) 100%);
	z-index: 0;
}

.news-wrap .container {
	position: relative;
	z-index: 1;
}

/* 分类 Tabs */
.news-wrap .news-tabs {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 50px;
	flex-wrap: wrap;
}

.news-wrap .tab-btn {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 10px 30px;
	border-radius: 30px;
	font-size: 16px;
	color: var(--text-dark);
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
}

.news-wrap .tab-btn:hover,
.news-wrap .tab-btn.active {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 15px rgba(13, 42, 79, 0.2);
}

/* 纯文本新闻列表 */
.news-wrap .news-list {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.03);
	overflow: hidden;
	margin-top: 20px;
}

.news-wrap .nl-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30px;
	border-bottom: 1px solid #edf2f7;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.news-wrap .nl-item:last-child {
	border-bottom: none;
}

/* 列表悬停高级交互 */
.news-wrap .nl-item:hover {
	background-color: #f8fafc;
	padding-left: 40px;
	padding-right: 20px;
}

.news-wrap .nl-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--secondary-color);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.news-wrap .nl-item:hover::before {
	opacity: 1;
}

.news-wrap .nl-content {
	flex: 1;
	min-width: 0;
	padding-right: 30px;
}

.news-wrap .nl-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 12px;
}

.news-wrap .nl-date-badge {
	background: rgba(13, 42, 79, 0.05);
	color: var(--secondary-color);
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 500;
	flex-shrink: 0;
}

.news-wrap .nl-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0;
	transition: color 0.3s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.news-wrap .nl-item:hover .nl-title {
	color: var(--primary-color);
}

.news-wrap .nl-desc {
	font-size: 15px;
	color: var(--text-gray);
	line-height: 1.6;
	margin: 0 0 15px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


.news-wrap .nl-arrow {
	color: #cbd5e1;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	opacity: 0;
	transform: translateX(-15px);
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.news-wrap .nl-item:hover .nl-arrow {
	color: var(--secondary-color);
	opacity: 1;
	transform: translateX(0);
}

/* 分页结构适配样式 */
.news-wrap .ys-pages {
	margin-top: 60px;
	display: flex;
	justify-content: center;
}

.news-wrap .pagination {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.news-wrap .pagination li {
	margin: 0;
	padding: 0;
}

.news-wrap .pagination li a {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: var(--text-dark);
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	font-size: 15px;
}

.news-wrap .pagination li a[href]:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
	background: #f8fafc;
}

.news-wrap .pagination li a:not([href]) {
	background: #f8fafc;
	border-color: #e2e8f0;
	color: var(--text-gray);
	cursor: default;
}

.news-wrap .pagination li.active a,
.news-wrap .pagination li.active a:not([href]) {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 4px 10px rgba(13, 42, 79, 0.2);
	padding: 0 14px;
	cursor: default;
}

@media (max-width: 768px) {
	.news-wrap .nl-item {
		padding: 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.news-wrap .nl-item:hover {
		padding-left: 20px;
		padding-right: 20px;
	}

	.news-wrap .nl-content {
		padding-right: 0;
	}

	.news-wrap .nl-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.news-wrap .nl-title {
		white-space: normal;
		line-height: 1.4;
	}

	.news-wrap .nl-arrow {
		opacity: 1;
		transform: translateX(0);
		align-self: flex-end;
	}
}