/* Style 2 – Professional Card with Video Play Overlay */
.captfyt-card-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	max-width: 1250px;
	gap: 20px;
}

.captfyt-card-list .captfyt-card-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	min-width: 0;
	box-sizing: border-box;
	list-style: none;
	cursor: pointer;
	text-decoration: none;
	border: 1px solid #eaeaea;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
}

.captfyt-card-list .captfyt-card-item:hover {
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
	transform: translateY(-4px);
}

/* Thumbnail wrapper */
.captfyt-card-thumb-wrap {
	position: relative;
	overflow: hidden;
	line-height: 0;
	flex-shrink: 0;
}

.captfyt-card-list .captfyt-card-item img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.captfyt-card-list .captfyt-card-item:hover img {
	transform: scale(1.05);
}

/* Play overlay on hover */
.captfyt-card-play-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.captfyt-card-item:hover .captfyt-card-play-overlay {
	opacity: 1;
}

.captfyt-card-play-overlay svg {
	width: 56px;
	height: 56px;
	transition: transform 0.2s ease;
	filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.captfyt-card-item:hover .captfyt-card-play-overlay svg {
	transform: scale(1.1);
}

/* Card body */
.captfyt-card-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Channel badge */
.captfyt-card-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #fff0f0;
	color: #cc0000;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
	width: fit-content;
	letter-spacing: 0.2px;
}

.captfyt-card-badge svg {
	width: 12px;
	height: 12px;
	fill: #cc0000;
	flex-shrink: 0;
}

/* Title */
.captfyt-card-item h3 {
	color: #111;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Footer row */
.captfyt-card-footer {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.captfyt-card-channel {
	font-size: 12.5px;
	color: #777;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 160px;
}

/* Arrow button */
.captfyt-card-arrow {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	flex-shrink: 0;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.captfyt-card-item:hover .captfyt-card-arrow {
	background: #ff0000;
	border-color: #ff0000;
	color: #fff;
}

.captfyt-card-arrow svg {
	width: 15px;
	height: 15px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 980px) {
	.captfyt-card-list {
		margin: 0 auto;
	}
}
