/* Event registration form; builds on crm-lead-form.css. */
.ww-event-form {
	margin: 2rem 0;
}

/* TEC adds a separator above every block after the event meta in the DOM; the theme
 * reorders the meta below the form, so that line lands on the form title. Drop it. */
.single-tribe_events .tribe-events-event-meta ~ .ww-event-form {
	border-top: 0;
}

/* Bold heading like the rest of the event page, sized for a form (not a page title). */
body .ww-event-form .ww-event-form__title {
	margin: 0 0 0.75rem;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	color: var(--ww-lead-text);
}

@media (max-width: 767px) {
	body .ww-event-form .ww-event-form__title {
		font-size: 1.25rem;
	}
}

/*
 * Our form replaces the Event Tickets RSVP. This file only loads where our form
 * renders, so the RSVP block and its "You have N RSVP" notice stay hidden only there.
 */
.single-tribe_events .tribe-common.event-tickets,
.single-tribe_events .tribe-link-view-attendee {
	display: none !important;
}
