/**
 * 案例文章侧栏：统一卡片、分类、最新案例样式
 */
.sr-sidebar-stack {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sr-sidebar-card {
	background: #fff;
	border: 1px solid #ebe4d6;
	border-radius: 16px;
	padding: 22px 20px;
	box-shadow: 0 6px 22px rgba(44, 36, 22, 0.05);
}

.sr-sidebar-card__title {
	margin: 0 0 14px !important;
	padding: 0 0 10px;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.35;
	color: #1a1a1a !important;
	border-bottom: 2px solid #c9a86c;
}

/* CTA */
.sr-sidebar-cta {
	background: linear-gradient(145deg, #faf8f4 0%, #f3efe6 100%);
	border-color: #e6dcc8;
}

.sr-sidebar-cta .sr-sidebar-card__title {
	border-bottom-color: #c9a86c;
	font-size: 17px !important;
}

.sr-sidebar-cta__text {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.7;
	color: #666;
}

.sr-sidebar-cta__btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(135deg, #2c2416, #4a3c1f);
	border-radius: 999px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.sr-sidebar-cta__btn:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	color: #fff !important;
}

.sr-sidebar-cta__phone {
	margin: 14px 0 0;
	font-size: 13px;
	color: #666;
	text-align: center;
}

.sr-sidebar-cta__phone a {
	color: #8b6914;
	font-weight: 600;
	text-decoration: none;
}

.sr-sidebar-cta__phone a:hover {
	text-decoration: underline;
}

/* 分类 chips */
.sr-sidebar-cats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sr-sidebar-cats__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #333 !important;
	text-decoration: none !important;
	background: #faf8f4;
	border: 1px solid #efe8da;
	border-radius: 12px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.sr-sidebar-cats__list a:hover {
	background: #f3efe6;
	border-color: #c9a86c;
	color: #1a1a1a !important;
}

.sr-sidebar-cats__count {
	min-width: 28px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 600;
	color: #8b6914;
	background: #fff;
	border-radius: 999px;
	text-align: center;
}

/* 最新案例 */
.sr-sidebar-latest__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sr-sidebar-latest__item a {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	align-items: center;
	text-decoration: none !important;
	color: inherit;
}

.sr-sidebar-latest__thumb {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	background: #f0ebe3;
	flex-shrink: 0;
}

.sr-sidebar-latest__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.sr-sidebar-latest__item a:hover .sr-sidebar-latest__thumb img {
	transform: scale(1.05);
}

.sr-sidebar-latest__meta {
	min-width: 0;
}

.sr-sidebar-latest__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	color: #222;
	transition: color 0.2s ease;
}

.sr-sidebar-latest__item a:hover .sr-sidebar-latest__name {
	color: #8b6914;
}

.sr-sidebar-latest__tag {
	display: inline-block;
	margin-top: 4px;
	font-size: 11px;
	color: #999;
}

/* 覆盖主题默认侧栏标题间距 */
#sidebar .sr-sidebar-card .widget-title,
.ct-sidebar .sr-sidebar-card .widget-title {
	margin-bottom: 14px !important;
}

#sidebar .sr-sidebar-stack > *,
.ct-sidebar .sr-sidebar-stack > * {
	margin: 0;
}
