/**
 * SaaSLt 转化CTA — 前台样式
 * 三种样式：card（左侧主色边条卡片）/ banner（单行横条）/ button（居中按钮）。
 * 用 CSS 变量 --slct-color 着色，圆角 6px，与 saaslt.com（JustNews 主题）文章页协调。
 */

.slct-cta {
	--slct-color: #1e73be;
	margin: 24px auto;
	border-radius: 6px;
	box-sizing: border-box;
	overflow: hidden;
	max-width: 100%;
	font-size: 15px;
	line-height: 1.7;
	clear: both;
}

.slct-cta .slct-cta-heading {
	display: block;
	font-size: 17px;
	font-weight: 600;
	color: #222;
	margin: 0 0 6px;
}

.slct-cta .slct-cta-desc {
	margin: 0 0 14px;
	color: #666;
	font-size: 14px;
	line-height: 1.7;
}

.slct-cta .slct-cta-btn {
	display: inline-block;
	background: var(--slct-color);
	color: #fff !important;
	padding: 9px 26px;
	border-radius: 6px;
	font-size: 15px;
	line-height: 1.6;
	text-decoration: none;
	border: none;
	box-shadow: none;
	transition: opacity 0.2s ease;
}

.slct-cta .slct-cta-btn:hover {
	opacity: 0.88;
	color: #fff !important;
	text-decoration: none;
}

/* card：左侧主色边条卡片 */
.slct-style-card {
	background: #f7f9fc;
	border: 1px solid #e8ecf1;
	border-left: 4px solid var(--slct-color);
	padding: 18px 22px;
}

/* banner：单行横条 */
.slct-style-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	background: #f7f9fc;
	border-top: 3px solid var(--slct-color);
	border-bottom: 1px solid #e8ecf1;
	padding: 12px 20px;
}

.slct-style-banner .slct-cta-body {
	flex: 1 1 auto;
	min-width: 0;
}

.slct-style-banner .slct-cta-heading {
	margin: 0;
	font-size: 16px;
}

.slct-style-banner .slct-cta-desc {
	margin: 0;
	font-size: 13px;
}

.slct-style-banner .slct-cta-btn {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* button：居中纯按钮 */
.slct-style-button {
	text-align: center;
	padding: 6px 0;
}

/* 移动端自适应 */
@media (max-width: 768px) {
	.slct-cta {
		margin: 16px auto;
	}

	.slct-style-card {
		padding: 14px 16px;
	}

	.slct-style-banner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.slct-style-banner .slct-cta-btn {
		align-self: center;
	}
}
