/* ==========================================
   主样式（基础重置 + 工具类 + 文章组件 + 转化组件）
   合并自 utility.css / component.css / main.css
   ========================================== */

/* ===== 基础重置 ===== */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #222;
	background-color: #f8f8f8;
	-webkit-font-smoothing: antialiased;
	padding-bottom: 76px; /* 给底部固定咨询条留出空间 */
}

img {
	max-width: 100%;
	border: 0;
	vertical-align: middle;
}

p { margin: 0 0 14px; }

a {
	color: #576b95;
	text-decoration: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

ul, ul li { list-style: none; margin: 0; padding: 0; }

em, i { font-style: normal; }

::root {
	--brand: #d82821;
	--brand-dark: #ac1d10;
	--wecom: #2E8CF0;
	--cta-1: #22c55e;
	--cta-2: #0e9f4d;
	--text: #333;
	--muted: #888;
}

/* ===== 工具类（精简） ===== */
.warp_768 { max-width: 768px; min-width: 300px; margin: auto; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-fill { flex: 1 1 auto; min-width: 0; }
.flex-grow-1 { flex-grow: 1; min-width: 0; }
.flex-shrink-0 { flex-shrink: 0; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.me-auto { margin-right: auto; }
.ms-auto { margin-left: auto; }

.m-0 { margin: 0; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.ms-3 { margin-left: 1rem; }
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }
.p-1 { padding: .25rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: 1rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.ps-3 { padding-left: 1rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.fw-bold { font-weight: 700; }
.lh-1 { line-height: 1; }
.fs-6 { font-size: 1.0625rem; }
.fs-6_5 { font-size: .875rem; }
.fs-7 { font-size: .8125rem; }
.text-body-tertiary { color: rgba(33, 37, 41, .5); }

.rounded-3 { border-radius: .5rem; }
.rounded-4 { border-radius: .6rem; }
.rounded-pill { border-radius: 50rem; }
.rounded-circle { border-radius: 50%; }
.img-fluid { max-width: 100%; height: auto; }
.w-100 { width: 100%; }
.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.border-top { border-top: 1px solid #ececec; }

.c666 { color: #666; }
.cfff { color: #fff; }
.cff0000 { color: #ff0000; }
.c3361A7 { color: #3361A7; }
.cd82821 { color: #d82821; }

.bfff { background-color: #fff; }
.bf8f8f8 { background-color: #f8f8f8; }
.bF00 { background-color: #F00; }
.b1aad17 { background-color: #1aad17; }
.bF4F5F7 { background-color: #F4F5F7; }

/* ===== 页面外壳 ===== */
.page {
	background: #fff;
	padding: 14px 14px 8px;
}

/* ===== 文章头部（通用模拟公众号） ===== */
.wechat_top {
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.wechat_title {
	margin: 0 0 14px;
	font-size: 24px;
	line-height: 1.45;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: .2px;
}

.wechat_media_meta_list {
	font-size: 16px;
	color: rgba(0, 0, 0, .35);
}

.wechat_media_meta_list em { font-style: normal; }

/* 头部头像（内联 SVG 容器） */
.media-avatar {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	display: block;
}

.media-name {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
}

.media-meta {
	margin-top: 4px;
	font-size: 14px;
	color: #888;
}

/* ===== 正文排版 ===== */
.article-body { padding: 4px 0 0; }

.article-body p {
	margin: 0 0 16px;
	text-indent: 2em;
	font-size: 19px;
	line-height: 1.9;
	color: #333;
	letter-spacing: .2px;
	word-break: break-word;
}

.article-body p.no-indent { text-indent: 0; }

/* 高亮引语 */
.article-body p.article-quote,
.article-quote {
	margin: 0 0 18px;
	padding: 14px 16px;
	background: #fff7f6;
	border-left: 4px solid #d82821;
	border-radius: 0 6px 6px 0;
	font-size: 19px;
	line-height: 1.85;
	color: #333;
	text-indent: 2em;
}

/* 红底强调条 */
.article-body p.article-alert,
.article-alert {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: 8px;
	background: linear-gradient(135deg, #f0453a, #d82821);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.75;
	text-indent: 2em;
	box-shadow: 0 4px 12px rgba(216, 40, 33, .22);
}

/* 正文图片 */
.article-img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto 22px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

/* 人物案例姓名条 */
.article-body p.case-name,
.case-name {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 16px;
	background: #fdecea;
	border-left: 4px solid #d82821;
	border-radius: 0 6px 6px 0;
	font-size: 18px;
	font-weight: 700;
	color: #d82821;
	text-indent: 0;
}

/* 锦旗三连标题 */
.slogan-group {
	margin: 0 0 22px;
	text-align: center;
}

.slogan-item {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 14px;
	border-radius: 6px;
	background: linear-gradient(135deg, #f0453a, #d82821);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	box-shadow: 0 3px 8px rgba(216, 40, 33, .2);
}

.slogan-item:last-child { font-size: 18px; }

/* ===== 前言框 ===== */
.foreword_001_01 {
	margin-top: 10px;
	padding: 0;
	box-sizing: border-box;
}

.foreword_001_02 {
	margin: 26px 4px 8px;
	padding: 6px;
	border: 2px solid #ef7060;
	border-radius: 8px;
	line-height: 24px;
	white-space: normal;
	background: #fffafa;
}

.foreword_001_03 {
	margin: -26px 4px 0;
	padding: 5px;
	text-align: center;
}

.foreword_001_04 {
	display: inline-block;
	padding: 8px 18px;
	background-color: #fefefe;
	border: 1px solid #f5c6c0;
	border-radius: 6px;
	color: #ef7060;
	font-size: 23px;
	font-weight: 700;
}

.foreword_001_05 {
	margin: 0 0 6px;
	line-height: 1.85;
	font-size: 19px;
	text-indent: 2em;
}

/* ===== 分隔标题 ===== */
.foundation_title_style_012_01 {
	margin-bottom: 6px;
	color: #3e3e3e;
	line-height: 25.6px;
	white-space: normal;
	box-sizing: border-box;
}

.foundation_title_style_012_02 {
	margin-top: 2em;
	margin-right: auto;
	margin-left: auto;
	padding-top: .5em;
	padding-bottom: .5em;
	border-top: 1px solid #ccc;
	font-size: 1em;
	color: #a6a6a6;
	box-sizing: border-box;
}

.foundation_title_style_012_03 {
	margin-top: -1.2em;
	text-align: center;
	line-height: 1.4;
	box-sizing: border-box;
}

.foundation_title_style_012_04 {
	display: inline-block;
	padding: 9px 24px;
	border-radius: 4px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .5px;
	background: linear-gradient(135deg, #c9251a, #ac1d10);
	box-shadow: rgba(205, 205, 205, .9) 2px 3px 2px;
}

/* ===== 评论区 ===== */
.comments { padding: 0 4px; }

.comments-head {
	margin: 0 0 14px;
	font-size: 16px;
	color: rgba(0, 0, 0, .4);
}

.comment-item {
	display: flex;
	margin-bottom: 18px;
	padding: 14px;
	background: #fafafa;
	border-radius: 10px;
}

.comment-avatar {
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	object-fit: cover;
}

.comment-main {
	flex: 1 1 auto;
	min-width: 0;
	margin-left: 12px;
}

.comment-hd {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}

.comment-nick {
	font-size: 16px;
	font-weight: 600;
	color: #3361A7;
}

.comment-like {
	display: flex;
	align-items: center;
	margin-left: auto;
	font-size: 14px;
	color: rgba(0, 0, 0, .45);
}

.wechat_comments_icon_002 {
	width: 15px;
	height: 15px;
	margin-right: 4px;
	opacity: .5;
}

.comment-text {
	margin: 0;
	font-size: 17px;
	line-height: 1.8;
	color: #333;
	text-indent: 0;
	word-break: break-word;
}

.comment-ft {
	margin: 8px 0 0;
	font-size: 14px;
	color: #666;
}

.comment-reply {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 50rem;
	background: #F4F5F7;
	font-size: 13px;
	color: #888;
}

/* ===== 转化组件 ===== */

/* CTA 按钮 */
.lead-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 420px;
	padding: 14px 20px;
	border-radius: 50rem;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .5px;
	text-align: center;
	cursor: pointer;
	background: linear-gradient(135deg, #2fc76a 0%, #0e9f4d 100%);
	box-shadow: 0 6px 18px rgba(14, 159, 77, .34);
	-webkit-tap-highlight-color: transparent;
	transition: transform .15s ease, box-shadow .15s ease;
	animation: leadBreath 2.6s ease-in-out infinite;
}

.lead-btn:active {
	transform: scale(.97);
	box-shadow: 0 3px 10px rgba(14, 159, 77, .3);
}

.lead-btn .icon-wecom {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}

/* 底部栏内的小按钮 */
.lead-btn-sm {
	width: auto;
	max-width: none;
	padding: 9px 18px;
	font-size: 16px;
	line-height: 1.3;
	gap: 6px;
	white-space: nowrap;
	animation: none;
}

.lead-btn-sm .icon-wecom {
	width: 18px;
	height: 18px;
}

@keyframes leadBreath {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.035); }
}

/* 按钮下方说明 */
.article-body p.lead-tip,
.lead-tip {
	margin: 12px 0 0;
	font-size: 16px;
	color: #666;
	text-indent: 0;
}

/* 中部转化区 */
.lead-inline {
	margin: 26px 0 4px;
	padding: 22px 16px;
	background: linear-gradient(180deg, #fff9f8, #fff);
	border: 1px solid #f6d9d5;
	border-radius: 12px;
	text-align: center;
}

.article-body p.lead-inline-title,
.lead-inline-title {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	color: #d82821;
	text-indent: 0;
}

.article-body p.lead-inline-desc,
.lead-inline-desc {
	margin: 0 0 16px;
	font-size: 16px;
	color: #666;
	text-indent: 0;
}

/* 文末转化区 */
.lead-panel {
	margin: 28px 0 6px;
	padding: 24px 16px;
	background: linear-gradient(180deg, #fff8ef, #fff);
	border: 1px dashed #f0b27a;
	border-radius: 12px;
	text-align: center;
}

.article-body p.lead-panel-title,
.lead-panel-title {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 700;
	color: #d82821;
	line-height: 1.5;
	text-indent: 0;
}

.article-body p.lead-panel-desc,
.lead-panel-desc {
	margin: 0 0 18px;
	font-size: 16px;
	color: #666;
	text-indent: 0;
}

/* 底部固定咨询条 */
.lead-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	background: rgba(255, 255, 255, .97);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-top: 1px solid #eee;
	box-shadow: 0 -3px 14px rgba(0, 0, 0, .09);
}

.lead-bar-info {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.lead-bar-logo {
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	border-radius: 10px;
}

.lead-bar-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.lead-bar-text strong {
	font-size: 16px;
	font-weight: 700;
	color: #d82821;
	line-height: 1.35;
}

.lead-bar-text span {
	font-size: 13px;
	color: #8a8a8a;
	line-height: 1.4;
}
