/* Crypto news feed widget — blog page */

.news-feed-intro {
	margin-bottom: 36px;
}

.news-feed-intro h3 {
	font-size: 28px;
	margin-bottom: 12px;
}

.news-feed-intro p {
	margin-bottom: 0;
	max-width: 620px;
}

.news-feed-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8edf2;
}

.news-feed-live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #16d0c5;
}

.news-feed-live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #16d0c5;
	box-shadow: 0 0 0 4px rgba(22, 208, 197, 0.2);
	animation: news-feed-pulse 2s ease-in-out infinite;
}

@keyframes news-feed-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.45; }
}

.news-feed-refresh {
	border: none;
	background: transparent;
	color: #20509e;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px 0;
	transition: color 0.2s ease;
}

.news-feed-refresh:hover {
	color: #16d0c5;
}

.news-feed-refresh i {
	margin-right: 6px;
}

.crypto-news-feed {
	min-height: 320px;
}

.news-feed-card {
	overflow: hidden;
	border-radius: 4px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-feed-card:hover {
	transform: translateY(-4px);
}

.news-feed-card .blog-text {
	transition: box-shadow 0.25s ease;
}

.news-feed-card:hover .blog-text {
	box-shadow: 0px 28px 56px rgba(33, 54, 61, 0.14);
}

.news-feed-thumb {
	overflow: hidden;
	margin: 0;
}

.news-feed-thumb img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.news-feed-card--featured .news-feed-thumb img {
	height: 360px;
}

.news-feed-card:hover .news-feed-thumb img {
	transform: scale(1.04);
}

.news-feed-card .post-meta {
	font-size: 13px;
	color: #75849a;
}

.news-feed-card .post-meta span {
	color: #cbd3df;
	margin-right: 4px;
}

.news-feed-loading,
.news-feed-error,
.news-feed-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 320px;
	padding: 48px 24px;
	background: #fff;
	box-shadow: 0px 23px 49px rgba(33, 54, 61, 0.1);
}

.news-feed-loading p,
.news-feed-error p,
.news-feed-empty p {
	max-width: 360px;
	margin-bottom: 0;
}

.news-feed-spinner {
	width: 42px;
	height: 42px;
	border: 3px solid #e8edf2;
	border-top-color: #16d0c5;
	border-radius: 50%;
	animation: news-feed-spin 0.8s linear infinite;
	margin-bottom: 18px;
}

@keyframes news-feed-spin {
	to { transform: rotate(360deg); }
}

.news-feed-error i,
.news-feed-empty i {
	font-size: 36px;
	color: #16d0c5;
	margin-bottom: 16px;
}

.news-feed-error .site-btn {
	margin-top: 20px;
}

#news-load-more {
	margin-top: 10px;
	width: 100%;
	border-radius: 0;
}

#news-load-more.site-btn.sb-gradients.sbg-line:after {
	border-radius: 0;
}

.news-feed-categories a {
	display: block;
}

.news-feed-categories a.active {
	color: #16d0c5;
	font-weight: 600;
}

.news-feed-categories a.active::before {
	content: "\e64c";
	font-family: "themify";
	margin-right: 8px;
	font-size: 12px;
}

.news-feed-attribution {
	margin-top: 20px;
	font-size: 12px;
	color: #acb9cc;
}

.news-feed-attribution a {
	color: #20509e;
	text-decoration: underline;
}

.news-sidebar-empty span {
	color: #acb9cc;
	font-size: 13px;
}

/* Sidebar CTA (replaces newsletter block) */
.sidebar-cta .widget-title {
	margin-bottom: 16px;
}

.sidebar-cta p {
	margin-bottom: 20px;
}

.sidebar-cta-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.sidebar-cta-list li {
	position: relative;
	padding: 6px 0 6px 26px;
	font-size: 14px;
	color: #5a6b7d;
	line-height: 1.5;
}

.sidebar-cta-list li i {
	position: absolute;
	left: 0;
	top: 9px;
	color: #16d0c5;
	font-size: 13px;
}

.sidebar-cta .site-btn {
	margin-bottom: 14px;
}

.sidebar-cta-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #20509e;
}

.sidebar-cta-link:hover {
	color: #16d0c5;
}

.sidebar-cta-link i {
	margin-left: 4px;
	color: #16d0c5;
}

@media only screen and (max-width: 767px) {
	.news-feed-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.news-feed-card--featured .news-feed-thumb img,
	.news-feed-thumb img {
		height: 200px;
	}

	.bi-feature .blog-text .blog-title {
		font-size: 26px;
	}
}

.home-insights-loading,
.home-insights-error,
.home-insights-empty {
	min-height: 280px;
}

#home-insights-feed .news-feed-thumb img {
	height: 200px;
}
