/* Structural styles for the course listing + booking form.
   Colors/typography are themed in the active theme's stylesheet so this
   plugin stays theme-agnostic; these rules only handle layout. */

.events-filter__main ul {
	list-style: none;
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding: 0;
	margin: 0.5rem 0 1.5rem;
}

.events-filter__main ul li a {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	text-decoration: none;
}

.events {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.event {
	border-radius: 8px;
	padding: 1.25rem;
}

.event h5 {
	margin-top: 0;
}

.event p {
	margin: 0.3rem 0;
}

.event .cta.book {
	margin-top: 0.75rem;
}

.event .cta.book a,
.event .cta.book.sold-out {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
}

.ehk-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ehk-form p {
	margin: 0.75rem 0;
}

.ehk-form label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.ehk-form fieldset label {
	display: inline-block;
	font-weight: normal;
	margin-right: 1rem;
}

.ehk-form input[type="text"],
.ehk-form input[type="email"],
.ehk-form input[type="tel"],
.ehk-form input[type="date"],
.ehk-form textarea {
	width: 100%;
	max-width: 420px;
	padding: 0.5rem;
	box-sizing: border-box;
}

.ehk-step-nav {
	margin-top: 1.5rem;
}

.error-container.form-wide-errors {
	border-radius: 4px;
	padding: 1rem;
	margin-bottom: 1rem;
}
