/* Apply this class to the three Posts modules, under Extra → Extra class name. */
.lemon-event-cards {
	--lemon-event-green: #073b3a;
	--lemon-event-cream: #ffffe9;
	--lemon-event-yellow: #e8f42c;
}

/* Clip the entire card: all four corners stay correct on desktop and mobile. */
.lemon-event-cards .tmb .t-inside {
	border-radius: 12px;
	overflow: hidden;
}

/* Typography comes from the theme: native H4 title setting and p.p1 content. */
.lemon-event-cards .tmb .lemon-event-meta {
	margin-top: 18px;
	color: var(--lemon-event-cream);
	text-align: left;
	overflow-wrap: anywhere;
}

.lemon-event-cards .tmb .lemon-event-meta p {
	margin: 0;
	color: inherit;
}

/* Badge typography, padding and mobile scaling come from the site's classes. */
.lemon-event-cards .tmb .lemon-event-location {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	margin-bottom: 18px;
	cursor: default;
}

.lemon-event-cards .tmb .lemon-event-date,
.lemon-event-cards .tmb .lemon-event-time {
	display: block;
}

.lemon-event-cards .tmb .lemon-event-date {
	font-weight: 600;
}

.lemon-event-cards .tmb .lemon-event-time {
	margin-top: 3px;
}

.lemon-event-cards .tmb p.lemon-event-details {
	margin-top: 14px;
}

.lemon-event-cards .tmb p.lemon-event-actions {
	margin-top: 24px;
}

.lemon-event-cards .tmb a.lemon-event-button {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 52px;
	max-width: 100%;
	padding: 12px 40px;
	border: 1px solid var(--lemon-event-yellow);
	border-radius: 999px;
	background: var(--lemon-event-yellow);
	color: var(--lemon-event-green) !important;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.lemon-event-cards.lemon-event-dark-dots .owl-carousel-container .owl-dots .owl-dot span {
	background-color: var(--lemon-event-green);
}

.lemon-event-cards .tmb a.lemon-event-button:hover {
	background: transparent;
	color: var(--lemon-event-yellow) !important;
}

.lemon-event-cards .tmb a.lemon-event-button:focus-visible {
	outline: 2px solid var(--lemon-event-cream);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.lemon-event-cards .tmb a.lemon-event-button {
		transition: none;
	}
}
