/* ===========================================================
   江苏大松机械有限公司 · 内页通用样式
   内页Banner / 面包屑 / 侧栏 / 分页
   =========================================================== */

/* ===== 内页 Banner ===== */
.page-banner {
	position: relative;
	height: 400px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.page-banner__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.1);
	animation: bannerZoom 7s var(--ease-out) forwards;
}
@keyframes bannerZoom {
 to {
transform: scale(1);
}
}
.page-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,14,.5) 0%, rgba(10,10,14,.62) 100%);
}
.page-banner__inner {
	position: relative;
	z-index: 2;
	color: #fff;
	padding-top: 26px;
}
.page-banner__label {
	font-family: var(--serif);
	font-size: 13px;
	letter-spacing: .4em;
	text-transform: uppercase;
	color: rgba(255,255,255,.68);
}
.page-banner__title {
	margin-top: 14px;
	font-size: 42px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.3;
}
.page-banner__line {
	display: block;
	width: 52px;
	height: 3px;
	background: var(--accent-2);
	margin: 22px auto 0;
	position: relative;
}
.page-banner__line::before, .page-banner__line::after {
	content: '';
	position: absolute;
	top: 1px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255,255,255,.35);
}
.page-banner__line::before {
	left: -14px;
}
.page-banner__line::after {
	right: -14px;
}
/* 面包屑 */
.breadcrumb-bar {
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	height: 58px;
	font-size: 13px;
	color: var(--text-mut);
	letter-spacing: .02em;
}
.breadcrumb a {
	color: var(--text-mut);
	transition: color .4s var(--ease);
}
.breadcrumb a:hover {
	color: var(--accent);
}
.breadcrumb i {
	font-style: normal;
	color: #c9c9cf;
	font-family: var(--serif);
}
.breadcrumb b {
	color: var(--text);
	font-weight: 500;
}
/* ===== 内页主体间距 ===== */
.page-main {
	padding: 74px 0 0px 0px;
}
/* ===== 左右结构（侧栏 + 主栏） ===== */
.page-wrap {
	display: flex;
	align-items: flex-start;
	gap: 46px;
}
.main-col {
	flex: 1;
	min-width: 0;
}
/* ===== 侧栏 ===== */
.sidebar {
	width: 292px;
	flex-shrink: 0;
}
.side-box {
	background: var(--bg-alt);
	padding: 30px 28px 26px;
	margin-bottom: 28px;
	position: relative;
}
.side-box__title {
	position: relative;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .05em;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--line);
}
.side-box__title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 36px;
	height: 2px;
	background: var(--accent);
}
.side-box__title span {
	float: right;
	font-family: var(--serif);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .12em;
	color: var(--text-mut-2);
	text-transform: uppercase;
	margin-top: 6px;
}
/* 侧栏分类 */
.side-cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 0;
	font-size: 14.5px;
	color: var(--text-mut);
	border-bottom: 1px dashed var(--line);
	cursor: pointer;
	transition: all .4s var(--ease);
}
.side-cat:last-child {
	border-bottom: none;
}
.side-cat:hover, .side-cat.active {
	color: var(--accent);
	padding-left: 8px;
}
/* 有二级分类的项：右侧下拉箭头 */
.side-cat--parent::after {
	content: '';
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	margin-left: 12px;
	flex-shrink: 0;
	transform: rotate(45deg);
	transition: transform .4s var(--ease);
}
.side-cat--parent.is-open::after {
	transform: rotate(-135deg);
}
/* 侧栏子分类 */
.side-sub {
	display: none;
	padding: 2px 0 8px 14px;
	border-bottom: 1px dashed var(--line);
}
.side-sub.open {
	display: block;
}
.side-sub a {
	display: block;
	font-size: 13.5px;
	color: var(--text-mut-2);
	padding: 7px 0 7px 14px;
	position: relative;
	transition: all .4s var(--ease);
}
.side-sub a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 5px;
	height: 5px;
	border: 1px solid #c9c9cf;
	transform: translateY(-50%) rotate(45deg);
	transition: all .4s var(--ease);
}
.side-sub a:hover {
	color: var(--accent);
	padding-left: 18px;
}
.side-sub a:hover::before {
	border-color: var(--accent);
	background: var(--accent);
}
.side-sub a.active {
	color: var(--accent);
}
.side-sub a.active::before {
	border-color: var(--accent);
	background: var(--accent);
}
/* 侧栏迷你图文 */
.side-mini {
	display: flex;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px dashed var(--line);
	align-items: center;
}
.side-mini:last-child {
	border-bottom: none;
}
.side-mini__img {
	width: 76px;
	/* height: 58px; */
	flex-shrink: 0;
	overflow: hidden;
}
.side-mini__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.side-mini__body {
	flex: 1;
	min-width: 0;
}
.side-mini__title {
	font-size: 13.5px;
	color: var(--text);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .4s var(--ease);
}
.side-mini:hover .side-mini__title {
	color: var(--accent);
}
.side-mini__date {
	font-size: 12px;
	color: var(--text-mut-2);
	font-family: var(--serif);
	margin-top: 4px;
	display: block;
}
/* 侧栏联系卡 */
.side-contact {
	background: var(--bg-dark);
	color: var(--text-light);
	padding: 36px 28px 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.side-contact::before {
	content: '';
	position: absolute;
	right: -34px;
	bottom: -34px;
	width: 130px;
	height: 130px;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
}
.side-contact::after {
	content: '';
	position: absolute;
	right: -14px;
	bottom: -14px;
	width: 130px;
	height: 130px;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
}
.side-contact__ico {
	width: 52px;
	height: 52px;
	margin: 0 auto 16px;
	color: var(--accent-2);
}
.side-contact__title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .04em;
}
.side-contact__phone {
	font-family: var(--serif);
	font-size: 24px;
	color: #fff;
	margin-top: 8px;
	letter-spacing: .04em;
}
.side-contact__desc {
	font-size: 12.5px;
	color: var(--text-light-mut);
	margin-top: 10px;
	line-height: 1.7;
}
.side-contact__btn {
	display: inline-block;
	margin-top: 18px;
	padding: 10px 26px;
	border: 1px solid rgba(255,255,255,.25);
	font-size: 13px;
	letter-spacing: .05em;
	color: #fff;
	transition: all .5s var(--ease);
}
.side-contact__btn:hover {
	background: var(--accent);
	border-color: var(--accent);
}
/* ===== 分页 ===== */
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 58px;
	margin-bottom: 58px;
}
.page-btn {
	min-width: 44px;
	height: 44px;
	padding: 0 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: #fff;
	font-size: 14px;
	color: var(--text-mut);
	font-family: var(--serif);
	transition: all .4s var(--ease);
}
.page-btn:hover:not(:disabled):not(.active) {
	border-color: var(--accent);
	color: var(--accent);
}
.page-btn.active {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.page-btn:disabled {
	opacity: .35;
	cursor: not-allowed;
}
/* ===== 分页（showpage 结构） ===== */
.showpage {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	letter-spacing: .04em;
	color: var(--text-mut-2);
}
.showpage a,
.showpage span {
	min-width: 44px;
	height: 44px;
	padding: 0 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: #fff;
	font-size: 14px;
	color: var(--text-mut);
	font-family: var(--serif);
	transition: all .4s var(--ease);
}
.showpage a:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.showpage .current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
.page-banner {
	height: 300px;
}
.page-banner__title {
	font-size: 30px;
}
.page-main {
	padding: 50px 0 0px 0px;
}
.page-wrap {
	flex-direction: column;
	gap: 40px;
}
.sidebar {
	width: 100%;
}
}
