.ml-grid {
	display: grid;
	grid-template-columns: repeat(var(--ml-columns, 4), 1fr);
	gap: 24px;
	margin: 24px 0;
}

@media (max-width: 900px) {
	.ml-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.ml-grid {
		grid-template-columns: 1fr;
	}
}

.ml-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ml-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.ml-poster-link {
	display: block;
}

.ml-poster {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	display: block;
}

.ml-poster-placeholder {
	background: #222;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px;
	font-weight: 600;
}

.ml-card-body {
	padding: 12px 14px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ml-title {
	font-size: 15px;
	margin: 0;
	line-height: 1.3;
}

.ml-title a {
	color: inherit;
	text-decoration: none;
}

.ml-meta {
	margin: 0;
	font-size: 13px;
	color: #666;
}

.ml-watch-btn {
	margin-top: auto;
	display: inline-block;
	text-align: center;
	padding: 8px 10px;
	border-radius: 5px;
	background: #1a1a1a;
	color: #fff !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.ml-watch-btn:hover {
	background: #333;
}

.ml-empty {
	opacity: 0.7;
	font-style: italic;
}
