/**
 * CV Pack Card Styles
 * Shared card layout for WPBakery elements (secteur, subcategory, type, produit-by-marche)
 */

/* Cards wrapper - flex grid */
.cvpack-cards-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* Card container */
.cvpack-card {
	flex: 0 0 calc(33.333% - 14px);
	min-width: 250px;
	background: #f0f0f0;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 10px;
}

.cvpack-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card link (when card is an <a> or contains one) */
.cvpack-card,
.cvpack-card a.cvpack-card__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* Image container */
.cvpack-card__image {
	width: 100%;
	height: 300px;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.cvpack-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Content area */
.cvpack-card__content {
	padding: 5px 20px;
}
.cvpack-card__content h3 {
	margin-bottom: 0px!important;
}

/* Card title */
.cvpack-card__title {
	margin: 0 0 10px 0;
	font-size: 1.25rem;
	font-weight: 600;
}

/* Empty state */
.cvpack-empty {
	padding: 20px;
	text-align: center;
	background: #f9f9f9;
}

.cvpack-empty p {
	margin: 0;
	color: #666;
}
