/* News Cards Component */
.news-card {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.news-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* News Card Header */
.news-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px 16px;
	border-bottom: 1px solid #f0f0f0;
}

.news-card-platform {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #666;
}

.news-card-platform i {
	font-size: 18px;
}

.news-card-platform i.fa-instagram {
	color: #e4405f;
}

.news-card-platform i.fa-youtube {
	color: #ff0000;
}

.news-card-platform i.fa-facebook {
	color: #1877f2;
}

.news-card-date {
	font-size: 12px;
	color: #999;
}

/* News Card Content */
.news-card-content {
	padding: 20px 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-card-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
	line-height: 1.4;
}

.news-card-text {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 16px;
	flex-grow: 1;
}

/* Video Thumbnail */
.news-card-video {
	position: relative;
	margin-bottom: 16px;
	border-radius: 12px;
	overflow: hidden;
}

.news-card-video-thumb {
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.news-card-video-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(16, 165, 142, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.news-card-video-overlay i {
	color: white;
	font-size: 24px;
}

.news-card:hover .news-card-video-overlay {
	background: rgba(16, 165, 142, 1);
	transform: translate(-50%, -50%) scale(1.1);
}

/* News Card Meta */
.news-card-meta {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
	font-size: 12px;
	color: #999;
}

.news-card-meta span {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* News Card Footer */
.news-card-footer {
	padding: 0 24px 24px;
	margin-top: auto;
}

.news-card-footer .btn {
	width: 100%;
	justify-content: center;
}

/* Platform-specific styles */
.news-card-social {
	border-left: 4px solid #e4405f;
}

.news-card-youtube {
	border-left: 4px solid #ff0000;
}

.news-card-facebook {
	border-left: 4px solid #1877f2;
}

/* Load More Button */
#loadMoreNews {
	background: linear-gradient(135deg, #10A58E 0%, #0d8a75 100%);
	border: none;
	padding: 16px 32px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
}

#loadMoreNews:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(16, 165, 142, 0.3);
}

#loadMoreNews i {
	margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.news-card-header {
		padding: 16px 20px 12px;
	}
	
	.news-card-content {
		padding: 16px 20px;
	}
	
	.news-card-footer {
		padding: 0 20px 20px;
	}
	
	.news-card-title {
		font-size: 16px;
	}
	
	.news-card-text {
		font-size: 13px;
	}
	
	.news-card-video-thumb {
		height: 140px;
	}
	
	.news-card-video-overlay {
		width: 50px;
		height: 50px;
	}
	
	.news-card-video-overlay i {
		font-size: 20px;
	}
}

@media (max-width: 576px) {
	.news-card {
		margin-bottom: 20px;
	}
	
	.news-card-header {
		padding: 14px 16px 10px;
	}
	
	.news-card-content {
		padding: 14px 16px;
	}
	
	.news-card-footer {
		padding: 0 16px 16px;
	}
	
	.news-card-title {
		font-size: 15px;
	}
	
	.news-card-text {
		font-size: 12px;
	}
	
	.news-card-meta {
		flex-direction: column;
		gap: 8px;
	}
}

/* Animation for new cards */
.news-card.fade-in {
	animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Loading state */
.news-card.loading {
	opacity: 0.6;
	pointer-events: none;
}

.news-card.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid #10A58E;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	transform: translate(-50%, -50%);
}

@keyframes spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
} 