/* Business archive — stock ticker + market overview strip */

.elementor-widget-html.cn-business-markets-ticker-widget,
.elementor-widget-html.cn-business-markets-ticker-widget .elementor-widget-container,
.elementor-widget-html.cn-business-markets-strip-widget,
.elementor-widget-html.cn-business-markets-strip-widget .elementor-widget-container {
	width: 100% !important;
	max-width: none !important;
	overflow: visible !important;
}

.cn-business-markets-ticker {
	width: 100%;
	overflow: hidden;
	background: #111;
	padding: 12px 0;
	font-family: 'DM Mono', monospace;
	font-size: 0.85rem;
	white-space: nowrap;
}

.cn-business-markets-ticker .ticker-inner {
	display: inline-block;
	animation: cn-business-markets-ticker-scroll 30s linear infinite;
}

.cn-business-markets-ticker .tick-label {
	color: #666;
	margin-right: 30px;
	text-transform: uppercase;
	font-weight: 500;
}

.cn-business-markets-ticker .tick-item {
	margin-right: 40px;
	display: inline-block;
}

.cn-business-markets-ticker .ticker-symbol {
	color: #7fa8cc;
	margin-right: 8px;
}

.cn-business-markets-ticker .tick-up {
	color: #4ade80;
}

.cn-business-markets-ticker .tick-dn {
	color: #f87171;
}

@keyframes cn-business-markets-ticker-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* Parent container is already e-con-full — avoid 100vw breakout (shifts strip off-screen). */
body.post-type-archive-business .elementor-11880 .elementor-element-583409d1,
body.post-type-archive-business .elementor-11880 .elementor-element-3f82ccae {
	--flex-direction: row !important;
	flex-direction: row !important;
	overflow: visible !important;
	width: 100% !important;
	max-width: none !important;
}

body.post-type-archive-business .elementor-11880 .elementor-element-288c9528,
body.post-type-archive-business .elementor-11880 .elementor-element-288c9528 > .elementor-widget-container,
body.post-type-archive-business .elementor-11880 .elementor-element-3b16b313,
body.post-type-archive-business .elementor-11880 .elementor-element-3b16b313 > .elementor-widget-container {
	width: 100% !important;
	max-width: none !important;
	overflow: visible !important;
}

.cn-business-markets-strip-wrapper {
	width: 100%;
	max-width: 100%;
	margin: 0;
	background: #fff;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	box-sizing: border-box;
}

.cn-business-markets-strip {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	width: 100%;
	font-family: 'DM Mono', monospace;
	background: #fff;
}

.cn-business-markets-strip .mkt-cell {
	min-width: 0;
	padding: 1px 20px;
	border-right: 1px solid #e0e0e0;
	box-sizing: border-box;
}

.cn-business-markets-strip .mkt-cell:last-child {
	border-right: none;
}

.cn-business-markets-strip .mkt-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	color: #888;
	margin-bottom: 4px;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.cn-business-markets-strip .mkt-val-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	min-width: 0;
}

.cn-business-markets-strip .mkt-val {
	font-size: 0.9rem;
	font-weight: 500;
	color: #333;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.cn-business-markets-strip .mkt-chg {
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.cn-business-markets-strip .mkt-chg.up {
	color: #00875a;
}

.cn-business-markets-strip .mkt-chg.dn {
	color: #de350b;
}

@media (max-width: 767px) {
	.cn-business-markets-strip-wrapper {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.cn-business-markets-strip-wrapper::-webkit-scrollbar {
		display: none;
	}

	body.post-type-archive-business .cn-business-markets-strip-wrapper,
	body.post-type-archive-business .cn-business-markets-strip {
		font-size: 12px;
		line-height: 1.2;
	}

	.cn-business-markets-strip {
		display: flex;
		flex-wrap: nowrap;
		width: max-content;
		min-width: 100%;
	}

	.cn-business-markets-strip .mkt-cell {
		flex: 0 0 auto;
		min-width: 118px;
		padding: 10px 12px;
		border-right: 1px solid #e0e0e0;
		border-bottom: none;
	}

	.cn-business-markets-strip .mkt-cell:last-child {
		border-right: none;
	}

	.cn-business-markets-strip .mkt-label {
		font-size: 9px;
		margin-bottom: 3px;
		letter-spacing: 0.04em;
	}

	.cn-business-markets-strip .mkt-val-row {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: baseline;
		gap: 6px;
		white-space: nowrap;
	}

	.cn-business-markets-strip .mkt-val {
		font-size: 12px;
		font-weight: 500;
	}

	.cn-business-markets-strip .mkt-chg {
		font-size: 10px;
	}
}

@media (max-width: 380px) {
	.cn-business-markets-strip .mkt-cell {
		min-width: 108px;
		padding: 8px 10px;
	}

	.cn-business-markets-strip .mkt-val {
		font-size: 11px;
	}

	.cn-business-markets-strip .mkt-chg {
		font-size: 9px;
	}
}
