.shen-faq {
	width: 100%;
}

/* 提升优先级：小部件可能位于文章正文内，避免继承正文标题的边距与下边框 */
.shen-faq .shen-faq__heading,
.shen-article-content .shen-faq .shen-faq__heading {
	margin: 0 0 34px;
	padding: 0;
	border: 0;
	color: #1a2440;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.shen-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 620px;
	margin: 0 auto;
}

.shen-faq__item {
	border: 1px solid #e6e9f0;
	border-radius: 4px;
	background-color: #fff;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.shen-faq__item:hover {
	border-color: #c2cbdb;
}
.shen-faq__item[open] {
	border-color: #1d4ed8;
}

/* 问题行：summary 需要去掉浏览器默认三角 */
.shen-faq__question {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	color: #2b3348;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	cursor: pointer;
	list-style: none;
	transition: color .2s ease;
}
.shen-faq__question::-webkit-details-marker,
.shen-faq__question::marker {
	display: none;
	content: "";
}
.shen-faq__question:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: -2px;
	border-radius: inherit;
}
.shen-faq__item[open] .shen-faq__question {
	color: #1d4ed8;
}

.shen-faq__question-text {
	flex: 1 1 auto;
	min-width: 0;
}

/* 指示图标 */
.shen-faq__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #98a1b0;
	font-size: 18px;
	line-height: 1;
	transition: color .2s ease;
}
.shen-faq__item[open] .shen-faq__icon {
	color: #1d4ed8;
}

.shen-faq__svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .25s ease;
}

/* 箭头：展开时旋转 180 度 */
.shen-faq__item[open] .shen-faq__svg.is-chevron {
	transform: rotate(180deg);
}

/* 加号：展开时竖线消失变减号 */
.shen-faq__bar-v {
	transform-origin: center;
	transition: opacity .2s ease, transform .25s ease;
}
.shen-faq__item[open] .shen-faq__bar-v {
	opacity: 0;
	transform: rotate(90deg);
}

/* 答案区 */
.shen-faq__answer {
	padding: 0 20px 20px;
	color: #5a6478;
	font-size: 14px;
	line-height: 1.9;
}
.shen-faq .shen-faq__answer > :first-child { margin-top: 0; }
.shen-faq .shen-faq__answer > :last-child { margin-bottom: 0; }
/* text-align: left 阻断正文的两端对齐渗入答案区 */
.shen-faq .shen-faq__answer p {
	margin: 0 0 10px;
	text-align: left;
}
.shen-faq__answer a {
	color: #1d4ed8;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.shen-faq .shen-faq__answer :is(ul, ol) {
	margin: 0 0 10px;
	padding-left: 1.5em;
}
.shen-faq .shen-faq__answer li { margin-bottom: 6px; }
.shen-faq .shen-faq__answer :is(strong, b) { color: #2b3348; font-weight: 600; }

/* 动画期间隐藏溢出，避免答案文字在高度过渡时溢出边框 */
.shen-faq__item[data-animating] {
	overflow: hidden;
}

@media (max-width: 767px) {
	.shen-faq .shen-faq__heading,
	.shen-article-content .shen-faq .shen-faq__heading {
		margin-bottom: 24px;
		font-size: 23px;
	}

	.shen-faq__question {
		gap: 10px;
		padding: 15px 16px;
		font-size: 15px;
	}

	.shen-faq__answer {
		padding: 0 16px 17px;
		font-size: 15px;
		line-height: 1.75;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shen-faq__item,
	.shen-faq__question,
	.shen-faq__icon,
	.shen-faq__svg,
	.shen-faq__bar-v { transition: none; }
}
