/**
 * Stock valuation tab: fair value snippet + FAQ (see seo_enhanced_master.php shortcodes).
 */

.stock-valuation-faq {
	margin-top: 4em;
	margin-bottom: 1.5em;
	padding: 0;
}

.stock-valuation-faq > .header2 {
	margin-bottom: 1rem;
}

/* Fair value estimate card */
.stock-fair-value-snippet {
	margin-bottom: 1.5em;
	padding: 1.35rem 1.4rem 1.45rem 1.5rem;
	border-radius: 10px;
	background: linear-gradient(145deg, #1e252c 0%, #151a1f 100%);
	border: 1px solid rgba(245, 158, 11, 0.22);
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	position: relative;
	overflow: hidden;
}

.stock-fair-value-snippet::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	border-radius: 10px 0 0 10px;
	background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.stock-fair-value-snippet__inner {
	position: relative;
	padding-left: 0.65rem;
}

.stock-fair-value-snippet__lead {
	margin: 0 0 0;
	color: #e2e8f0;
	font-size: 1.02rem;
	line-height: 1.72;
	letter-spacing: 0.01em;
}

.stock-fair-value-snippet__lead strong {
	color: #fff;
	font-weight: 600;
}

/* Highlighted fair-value dollar range */
.stock-fair-value-snippet__range {
	display: inline-block;
	margin: 0.15em 0.1em;
	padding: 0.2em 0.55em 0.25em;
	font-size: 1.2em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	line-height: 1.35;
	color: #0c0a09;
	background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 45%, #d97706 100%);
	border-radius: 6px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.35) inset,
		0 2px 12px rgba(245, 158, 11, 0.35);
	vertical-align: baseline;
}

.stock-fair-value-snippet__note {
	margin: 0;
	margin-top: 1.25rem;
	color: #94a3b8;
	font-size: 0.92rem;
	line-height: 1.65;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.stock-fair-value-snippet--no-range .stock-fair-value-snippet__note {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}
