/* WB Design System — Cards */

.wb-card {
	display: block;
	background: var(--wb-ctx-bg);
	border-radius: var(--wb-ctx-radius, 0.9375rem);
	overflow: hidden;
	text-decoration: none;
	color: var(--wb-ctx-text, #fff);
	transition: transform 0.2s, box-shadow 0.2s;
}

.wb-card:hover {
	transform: translateY(-0.1875rem);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.wb-card-image {
	position: relative;
	height: 12.5rem;
	overflow: hidden;
	background: #fff;
}

.wb-card-img,
.wb-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;

	border-radius: 0 !important;
}

.wb-card-img-placeholder {
	width: 100%;
	height: 100%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wb-card-placeholder-logo {
	max-width: 60%;
	max-height: 60%;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	border-radius: 0 !important;
}

.wb-card .wb-card-price {
	position: absolute;
	bottom: 0.5rem;
	left: 0.5rem;
	background: var(--wb-ctx-primary);
	color: #fff;
	padding: 0.25rem 0.75rem;
	border-radius: 1.25rem;
	font-weight: 700;
	font-size: 0.875rem;
}

.wb-card-body {
	padding: 0.875rem 1rem;
}

.wb-card-title {
	margin: 0 0 0.375rem;
	font-size: 1rem;
	font-weight: 700;
}

.wb-card-location {
	font-size: 0.8125rem;
	opacity: 0.8;
	margin: 0 0 0.5rem;
}

.wb-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	font-size: 0.75rem;
}

.wb-card-guests {
	background: rgba(255, 255, 255, 0.15);
	padding: 0.125rem 0.5rem;
	border-radius: 0.625rem;
}

.wb-card-date {
	font-size: 0.8125rem;
	opacity: 0.8;
	margin: 0 0 0.375rem;
}

.wb-card .wb-card-price-free {
	background: rgba(255, 255, 255, 1);
	color: var(--wb-ctx-primary);
}

.wb-card-colored {
	border-left: 0.25rem solid var(--wb-cat-color);
}

.wb-card .wb-card-badge-tickets {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	background: var(--wb-ctx-primary);
	color: #fff;
	padding: 0.25rem 0.625rem;
	border-radius: 1.25rem;
	font-size: 0.75rem;
	font-weight: 600;
}

/* ===== Horizontal Card Layout ===== */
.wb-card--horizontal {
	display: flex;
	flex-direction: row;
	background: #fff;
	color: #1a1a1a;
	--wb-ctx-text: #1a1a1a;
	--wb-ctx-bg: #fff;
	cursor: pointer;
}

.wb-card--horizontal:hover {
	transform: scale(1.05);
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12);
}

.wb-card--horizontal .wb-card-body {
	flex: 0 0 66.666%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1rem 1.25rem;
	order: 1;
}

.wb-card--horizontal .wb-card-title {
	font-size: 1.2rem;
	margin-bottom: 0.25rem;
	color: #1a1a1a;
}

.wb-card--horizontal .wb-card-date,
.wb-card--horizontal .wb-card-location {
	color: var(--wb-ctx-primary);
	opacity: 1;
	margin-bottom: 0.125rem;
	font-size: 0.75rem;
}

.wb-card--horizontal .wb-card-meta {
	margin-top: 0.375rem;
}

.wb-card--horizontal .wb-badge {
	background: rgba(0, 0, 0, 0.07);
	color: #444 !important;
}

.wb-card--horizontal .wb-card-image {
	flex: 0 0 33.333%;
	height: auto;
	order: 2;
}

.wb-card--horizontal .wb-card-image img {
	border-radius: 0 !important;
	height: 100%;
}

.wb-card--horizontal .wb-card-img-placeholder {
	height: 100%;
	background: #fff;
}

.wb-card-excerpt {
	font-size: 0.8125rem;
	color: #666;
	margin: 0.5rem 0 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wb-card--horizontal .wb-card-excerpt {
	margin-top: auto;
	padding-top: 0.375rem;
}
