/* 优秀案例详情页增强（基于 infodetail.css） */

.case-banner {
	height: 420px;
	background: linear-gradient(120deg, rgba(15, 40, 90, 0.55), rgba(44, 104, 255, 0.35)),
		url("/static/infobg.jpg") no-repeat center;
	background-size: cover;
}

.case-detail {
	padding: 48px 20px 80px;
}

.case-detail .add a {
	color: #2C68FF;
	text-decoration: none;
}

.case-detail .add a:hover {
	text-decoration: underline;
}

.case-detail .add span:last-child {
	color: #555;
}

.case-article {
	max-width: 920px;
	margin: 0 auto;
}

.case-title {
	margin-bottom: 16px;
	font-size: 28px;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.case-summary {
	margin: 0 auto 28px;
	max-width: 760px;
	text-align: center;
	font-size: 15px;
	line-height: 1.8;
	color: #6b7280;
}

.case-cover {
	margin: 0 auto 36px;
	overflow: hidden;
	border-radius: 12px;
	background: #f3f5fa;
	box-shadow: 0 10px 28px rgba(26, 58, 102, 0.08);
}

.case-cover img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.case-content {
	padding: 36px 0 48px;
	color: #333;
	font-size: 16px;
	line-height: 1.9;
	word-break: break-word;
}

.case-content p {
	margin: 0 0 1.1em;
}

.case-content h1,
.case-content h2,
.case-content h3,
.case-content h4 {
	margin: 1.6em 0 0.7em;
	color: #1f2937;
	font-weight: 700;
	line-height: 1.4;
}

.case-content h2 { font-size: 22px; }
.case-content h3 { font-size: 18px; }
.case-content h4 { font-size: 16px; }

.case-content ul,
.case-content ol {
	margin: 0 0 1.1em;
	padding-left: 1.4em;
}

.case-content li {
	margin: 0.35em 0;
}

.case-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.2em auto;
	border-radius: 8px;
}

.case-content a {
	color: #2C68FF;
	text-decoration: none;
}

.case-content a:hover {
	text-decoration: underline;
}

.case-content blockquote {
	margin: 1.2em 0;
	padding: 12px 18px;
	border-left: 4px solid #2C68FF;
	background: #f5f8ff;
	color: #4b5563;
}

.case-content table {
	width: 100%;
	margin: 1.2em 0;
	border-collapse: collapse;
	overflow-x: auto;
	display: block;
}

.case-content table th,
.case-content table td {
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	text-align: left;
}

.case-content table th {
	background: #f8fafc;
	font-weight: 600;
}

.case-detail .new_bot {
	transition: color .2s ease;
}

.case-detail .new_bot:hover {
	color: #2C68FF;
}

.case-detail .new_bot:hover .bot_prev {
	background: #2C68FF;
	color: #fff;
}

.case-related {
	margin-top: 20px;
	padding-top: 40px;
	border-top: 1px solid #E7E7E7;
}

.case-related-title {
	margin: 0 0 28px;
	text-align: center;
	font-size: 24px;
	color: #222328;
	font-weight: 700;
}

.case-related-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.case-related-item {
	display: block;
	overflow: hidden;
	text-decoration: none;
	background: #fff;
	border: 1px solid #eef1f6;
	border-radius: 10px;
	transition: transform .25s ease, box-shadow .25s ease;
}

.case-related-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(26, 58, 102, 0.1);
}

.case-related-cover {
	height: 150px;
	background-size: cover;
	background-position: center;
	background-color: #eef2f7;
}

.case-related-body {
	padding: 14px 16px 18px;
}

.case-related-body h3 {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.45;
	color: #1f2937;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.case-related-body p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #8a93a6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media screen and (max-width: 1024px) {
	.case-related-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.case-banner {
		height: 260px;
	}

	.case-detail {
		padding: 28px 16px 56px;
	}

	.case-title {
		font-size: 22px;
		margin-bottom: 12px;
	}

	.case-summary {
		font-size: 14px;
		margin-bottom: 20px;
	}

	.case-content {
		padding: 24px 0 32px;
		font-size: 15px;
	}

	.case-related-list {
		grid-template-columns: 1fr;
	}

	.case-detail .new_bot {
		width: 100%;
		float: none;
		margin-bottom: 12px;
		white-space: normal;
	}

	.case-detail .new_bot_placeholder {
		display: none;
	}
}

/* P2 GEO：结论 / 四段式 / FAQ */
.geo-conclusion {
	margin: 8px 0 24px;
	padding: 16px 18px;
	border-left: 3px solid #2C68FF;
	background: #f5f8ff;
}
.geo-conclusion-label {
	display: block;
	margin-bottom: 6px;
	color: #2C68FF;
	font-size: 13px;
	letter-spacing: 0.06em;
}
.geo-conclusion-text {
	margin: 0;
	color: #1a1a1a;
	font-size: 16px;
	line-height: 1.7;
}
.geo-case-structure {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 0 0 28px;
}
.geo-case-item {
	padding: 14px 16px;
	background: #fafafa;
	border: 1px solid #eee;
}
.geo-case-label {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: #2C68FF;
	letter-spacing: 0.04em;
}
.geo-case-item p {
	margin: 0;
	color: #333;
	font-size: 14px;
	line-height: 1.65;
}
.geo-faq {
	margin: 36px 0 12px;
	padding-top: 8px;
	border-top: 1px solid #e8e8e8;
}
.geo-faq-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 600;
	color: #111;
}
.geo-faq-item {
	margin-bottom: 10px;
	padding: 12px 14px;
	background: #fafafa;
	border: 1px solid #eee;
}
.geo-faq-item summary {
	cursor: pointer;
	font-weight: 600;
	color: #222;
	line-height: 1.5;
	list-style: none;
}
.geo-faq-item summary::-webkit-details-marker {
	display: none;
}
.geo-faq-item summary::before {
	content: "+";
	display: inline-block;
	width: 1.2em;
	color: #2C68FF;
	font-weight: 700;
}
.geo-faq-item[open] summary::before {
	content: "–";
}
.geo-faq-answer {
	margin-top: 10px;
	padding-left: 1.2em;
	color: #444;
	font-size: 15px;
	line-height: 1.7;
}
@media (max-width: 768px) {
	.geo-case-structure {
		grid-template-columns: 1fr;
	}
}
