.lep-event-list-page .entry.loop-entry {
	overflow: hidden;
	background: transparent;
	box-shadow: none;
}

.lep-event-list-page .loop-entry .entry-content-wrap {
	display: flex;
	flex-direction: column;
	padding-top: 0;
	padding-left: .5rem;
}

.lep-event-list-page .loop-entry .entry-header {
	display: none;
}

.lep-event-list-page .loop-entry .entry-footer {
	text-align: right;
}

.lep-events,
.lep-event-info,
.lep-event-booking {
	margin: 2rem 0;
}

.lep-events-list {
	display: grid;
	gap: 1.5rem;
}

.lep-event-card,
.lep-event-info,
.lep-event-booking {
	background: #fff3;
	border-radius: 12px;
	padding: 1rem;
}

.lep-event-booking .lep-event-info {
	margin-left: -1rem;
	margin-right: -1rem;
	margin-bottom: -1rem;
}

@media (max-width: 700px) {
	.lep-event-booking-summary .lep-event-details {
		width: 100%;
	}
}

.lep-event-card {
	display: grid;
	gap: 1rem;
}

.lep-event-card-main,
.lep-event-info {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.lep-event-thumb img,
.lep-event-list-page .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top;
	border-radius: 8px;
}

.lep-event-date {
	display: block;
	flex: 0 0 100px;
	width: 100px;
	min-width: 100px;
	text-align: center;
	border-radius: 10px;
	padding: .6rem .5rem;
	background: var(--lep-accent-color, #d81159);
	color: #fff;
	line-height: 1.1;
	box-sizing: border-box;
}

.lep-event-day,
.lep-event-month,
.lep-event-year {
	display: block;
}

.lep-event-day {
	font-size: 1.7rem;
	font-weight: 700;
}

.lep-event-month {
	font-size: .8rem;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.lep-event-year {
	font-size: .85rem;
	opacity: .9;
}

.lep-event-title {
	margin: 0 0 .35rem;
}

.lep-event-title a {
	text-decoration: none;
}

.lep-event-info-compact .lep-event-details {
	display: flex;
	justify-content: space-between;
}

.lep-event-details,
.lep-event-card-content,
.lep-event-archive-content-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.lep-event-archive-content-wrap {
	position: relative;
	padding-right: 9rem;
}

.lep-event-details p,
.lep-event-card-content p,
.lep-event-booking-summary p {
	margin: 0 0 .5rem;
}

.lep-event-venue,
.lep-event-address,
.lep-event-location,
.lep-event-map-link a {
	color: var(--lep-accent-color, #d81159);
	text-decoration: none;
}

.lep-event-location {
	font-weight: 700;
}

.lep-event-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.lep-event-card-actions {
	flex: 0 0 auto;
	align-self: stretch;
	margin-left: auto;
}

.lep-event-card-actions .lep-event-actions {
	height: 100%;
	flex-direction: column-reverse;
	justify-content: space-between;
	align-items: flex-end;
}

.lep-event-archive-action {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
}

.lep-button {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .55rem .85rem;
	border: 1px solid var(--lep-accent-color, currentColor);
	background: var(--lep-accent-color, currentColor);
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	line-height: 1.2;
}

.lep-button:hover,
.lep-button:focus {
	text-decoration: none;
	opacity: .8;
	background: transparent;
	color: var(--lep-accent-color, currentColor);
}

.lep-button-ticket,
.lep-button-book {
	font-weight: 700;
}

.lep-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	line-height: 1;
	flex: 0 0 1em;
}

.lep-button-icon-ticket::before {
	content: "🎟";
	display: inline-block;
	font-size: 1em;
	font-style: normal;
	line-height: 1;
	text-align: center;
}

.lep-button-icon svg {
	display: none;
}

.lep-event-card .lep-button-secondary {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	color: inherit;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.lep-event-card .lep-button-secondary::after {
	content: "→";
}

.lep-event-card .lep-button-secondary:hover,
.lep-event-card .lep-button-secondary:focus {
	background: transparent;
	color: var(--lep-accent-color, currentColor);
	opacity: 1;
	text-decoration: none;
}

.lep-event-past .lep-event-date {
	background: #9a9a9a;
	opacity: .9;
}

.lep-event-map {
	margin-top: 1rem;
}

.lep-event-map iframe {
	display: block;
	border-radius: 10px;
}

.lep-event-booking-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.lep-event-booking-heading h2 {
	margin: 0;
}

.lep-event-booking-heading-action {
	flex: 0 0 auto;
}

.lep-event-archive-heading {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	margin: 0 0 1rem;
}

.lep-event-archive-date-column,
.lep-event-card-date-column {
	padding-top: 8px;
}

.lep-event-archive-date-column,
.lep-event-card-date-column,
.lep-event-archive-date-wrap a {
	flex: 0 0 100px;
	width: 100px;
	min-width: 100px;
}

.lep-event-archive-date-wrap a,
.single .lep-event-archive-date-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .45rem;
	margin: auto;
	line-height: 1.2;
	box-sizing: border-box;
	text-decoration: none;
}

.lep-event-archive-date-wrap .lep-event-date,
.lep-event-date-archive {
	flex: 0 0 auto;
	max-width: 100px;
	text-decoration: none;
}

.lep-event-date-archive .lep-event-day,
.lep-event-date-archive .lep-event-month,
.lep-event-date-archive .lep-event-year {
	color: #fff;
}

.lep-event-archive-time {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	font-weight: 400;
	line-height: 1.2;
	color: inherit;
	text-decoration: none;
}

.lep-event-archive-meta {
	display: block;
	margin: 0 0 2rem;
	line-height: 1.2;
	text-decoration: none;
}

.lep-event-archive-location,
.lep-event-card-location {
	display: inline-flex;
	align-items: baseline;
	gap: .35em;
	text-decoration: none;
}

.lep-event-archive-location:hover,
.lep-event-archive-location:focus,
.lep-event-card-location:hover,
.lep-event-card-location:focus {
	text-decoration: underline;
}

.lep-event-archive-meta .lep-icon,
.lep-event-archive-time .lep-icon {
	color: var(--lep-accent-color, #d81159);
	font-weight: 700;
	line-height: 1;
}

@media (min-width: 700px) {
	.lep-event-card {
		grid-template-columns: minmax(120px, 180px) 1fr;
		align-items: stretch;
	}

	.lep-event-card-main {
		align-items: stretch;
	}
}

@media (max-width: 700px) {
	.lep-event-list-page .loop-entry .entry-content-wrap {
		padding-right: 0;
	}
	
	.lep-event-card-main,
	.lep-event-info,
	.lep-event-archive-heading,
	.lep-event-booking-heading {
		flex-direction: column;
	}

	.lep-event-date,
	.lep-event-archive-date-wrap,
	.lep-event-date-archive {
		width: 100%;
		max-width: none;
	}

	.lep-event-archive-date-column,
	.lep-event-card-date-column {
		margin: auto;
		background: var(--global-palette9);
		width: 100%;
	}

	.lep-event-card-actions,
	.lep-event-archive-action,
	.lep-event-booking-heading-action {
		position: static;
		margin-left: 0;
		margin-bottom: 1rem;
	}

	.lep-event-card-actions .lep-event-actions {
		height: auto;
		min-height: 4.5rem;
		flex-direction: column-reverse;
		justify-content: space-between;
		align-items: stretch;
		gap: 2rem;
	}

	.lep-event-card-actions .lep-button-ticket,
	.lep-event-card-actions .lep-button-book {
		align-self: center;
	}

	.lep-event-card-actions .post-more-link {
		align-self: flex-end;
	}

	.lep-event-archive-content-wrap {
		padding-right: 0;
	}
	
	.lep-event-info-compact .lep-event-details {
		display: flex;
		flex-direction: column;
		align-content: center;
		align-items: center;
		width: 100%;
	}
}
