/* Bar Event Pricing — frontend event cards, grid & carousel */

.bpe-events {
	--bpe-gap: 20px;
	margin: 0 0 2em;
}

.bpe-events__empty {
	opacity: 0.7;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Card: the poster IS the card ---------- */

.bpe-event-card {
	display: block;
	text-align: center;
	background: none;
}

.bpe-event-card__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 500px;
	margin: 0 auto;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Fallback card for events without a poster yet */
.bpe-event-card--fallback {
	aspect-ratio: 1.77 / 1;
	max-height: 500px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	background: linear-gradient(135deg, #2a2a2a, #444);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px;
}

.bpe-event-card--fallback .bpe-event-card__title {
	margin: 0 0 6px;
	font-size: 1.2em;
}

.bpe-event-card--fallback .bpe-event-card__date {
	margin: 0;
	opacity: 0.8;
	font-size: 0.9em;
}

/* ---------- Grid layout ---------- */

.bpe-events--grid .bpe-events__grid {
	display: grid;
	grid-template-columns: repeat(var(--bpe-cols, 3), 1fr);
	gap: var(--bpe-gap);
}

@media (max-width: 640px) {
	.bpe-events--grid .bpe-events__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Carousel layout (powered by the theme's OwlCarousel) ---------- */

.bpe-owl-slide {
	padding: 2px; /* keeps card box-shadow from being clipped by owl-stage overflow */
}

.bpe-events--carousel .owl-nav .disabled {
	display: none;
}

.bpe-product-menge {
	display: inline-block;
	font-size: 0.85em;
	font-weight: 600;
	color: #666;
	background: #f2f2f2;
	border-radius: 4px;
	padding: 1px 8px;
	margin: 2px 0 6px;
}

