.ai-videos-list-wrapper {
	margin: 0 auto;
}

.ai-videos-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.ai-video-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(4, 63, 32, 0.06);
}

.ai-video-thumb-link {
	display: block;
	background: #f5f5f5;
}

.ai-video-thumb {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.ai-video-thumb-placeholder {
	min-height: 220px;
	background: linear-gradient(135deg, #e8efe9, #f5f1d5);
}

.ai-video-card-content {
	padding: 18px;
}

.ai-video-date {
	display: block;
	margin-bottom: 8px;
	color: #6f6f6f;
	font-size: 13px;
	font-weight: 600;
}

.ai-video-title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.25;
}

.ai-video-title a {
	color: #043f20;
	text-decoration: none;
}

.ai-video-title a:hover {
	text-decoration: underline;
}

.ai-video-text {
	color: #222;
	line-height: 1.7;
}

.ai-video-text > :first-child {
	margin-top: 0;
}

.ai-video-text > :last-child {
	margin-bottom: 0;
}

.ai-videos-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.ai-videos-pagination-item a,
.ai-videos-pagination-item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid #d2ddcf;
	border-radius: 999px;
	background: #fff;
	color: #043f20;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.ai-videos-pagination-item .current {
	background: #043f20;
	border-color: #043f20;
	color: #fff;
}

.ai-videos-pagination-item a:hover {
	background: #043f20;
	border-color: #043f20;
	color: #fff;
}

.ai-videos-empty {
	padding: 24px;
	text-align: center;
	color: #6f6f6f;
}

@media (max-width: 640px) {
	.ai-video-thumb {
		height: 190px;
	}

	.ai-video-card-content {
		padding: 16px;
	}
}
