/* Live Footer Widgets — styles */

.lfw-ticker {
	position: relative;
	z-index: 9999; /* sit above sticky/fixed theme headers that follow it in the DOM */
	width: 100%;
	background: #0f1b2d;
	color: #e8edf3;
	font-size: 13px;
	line-height: 1.4;
	padding: 10px 16px;
	box-sizing: border-box;
	overflow-x: auto;
	white-space: nowrap;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lfw-ticker-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 1200px;
	margin: 0 auto;
	flex-wrap: wrap;
	justify-content: center;
}

.lfw-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.lfw-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4ade80;
	display: inline-block;
	flex-shrink: 0;
}

.lfw-market.is-closed .lfw-dot {
	background: #f87171;
}

.lfw-sep {
	opacity: 0.35;
}

.lfw-fx a,
.lfw-weather a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(255,255,255,0.3);
}

/* Blog footer block */

.lfw-blog-footer {
	max-width: 1200px;
	margin: 40px auto 0;
	padding: 24px 16px 8px;
	border-top: 1px solid rgba(0,0,0,0.08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lfw-blog-heading {
	font-size: 20px;
	margin: 0 0 16px;
}

.lfw-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.lfw-blog-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.lfw-blog-card:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

.lfw-blog-thumb img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
}

.lfw-blog-body {
	padding: 12px 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lfw-blog-title {
	font-weight: 600;
	font-size: 15px;
}

.lfw-blog-excerpt {
	font-size: 13px;
	opacity: 0.75;
}

.lfw-blog-date {
	font-size: 11px;
	opacity: 0.5;
	margin-top: 4px;
}
