/**
 * ProCoach Events — public event pages (index + single event).
 *
 * Low-specificity and namespaced with the procoach-ev prefix so the designers
 * can restyle from the theme without fighting !important.
 */

.procoach-ev {
	max-width: 900px;
	margin: 0 auto;
}

/* The theme treats an event like a blog post: hide the author/date byline and
   the previous/next post links, which make no sense on an event page. */
.single-procoach_event .entry-meta,
.single-procoach_event .post-navigation {
	display: none;
}

.procoach-ev-wrap {
	padding: 2.5em 1.25em;
}

.procoach-ev__title {
	margin: 0 0 1em;
}

.procoach-ev__h {
	margin: 0 0 0.6em;
}

/* Single event ----------------------------------------------------------- */

.procoach-ev__summary {
	margin: 0 0 1.75em;
	font-size: 1.05em;
	opacity: 0.85;
}

.procoach-ev__schedule {
	margin: 0 0 2.25em;
}

.procoach-ev__day {
	border: 1px solid rgba( 0, 0, 0, 0.12 );
	border-radius: 6px;
	padding: 1em 1.15em;
	margin: 0 0 0.85em;
}

.procoach-ev__day-title {
	margin: 0 0 0.5em;
	font-size: 1.02em;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.6em;
}

.procoach-ev__day-date {
	font-size: 0.85em;
	font-weight: 400;
	opacity: 0.7;
}

.procoach-ev__checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.procoach-ev__checks li {
	display: flex;
	gap: 0.9em;
	padding: 0.25em 0;
	border-bottom: 1px dashed rgba( 0, 0, 0, 0.08 );
}

.procoach-ev__checks li:last-child {
	border-bottom: 0;
}

.procoach-ev__check-time {
	flex: 0 0 5.5em;
	font-variant-numeric: tabular-nums;
	opacity: 0.75;
}

.procoach-ev__register {
	margin-top: 2em;
}

.procoach-ev__closed {
	padding: 1.25em 1.4em;
	border-radius: 8px;
	background: rgba( 0, 0, 0, 0.04 );
	border: 1px solid rgba( 0, 0, 0, 0.1 );
}

.procoach-ev__back {
	text-decoration: underline;
}

/* Index tabs ------------------------------------------------------------- */

.procoach-ev__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.14 );
	margin: 0 0 1.5em;
}

.procoach-ev__tab {
	cursor: pointer;
	font: inherit;
	color: #1f2933;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	padding: 0.6em 0.9em;
	margin-bottom: -1px;
	text-shadow: none;
	border-radius: 0;
}

.procoach-ev__tab:hover {
	background: rgba( 0, 0, 0, 0.04 );
	color: #1f2933;
}

.procoach-ev__tab.is-active {
	border-bottom-color: #2a5bd7;
	font-weight: 600;
	background: transparent;
}

.procoach-ev__count {
	display: inline-block;
	margin-left: 0.45em;
	padding: 0.05em 0.5em;
	border-radius: 999px;
	font-size: 0.78em;
	background: rgba( 0, 0, 0, 0.08 );
}

/* Index list ------------------------------------------------------------- */

.procoach-ev__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.procoach-ev__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
	padding: 1.1em 1.25em;
	border: 1px solid rgba( 0, 0, 0, 0.12 );
	border-radius: 8px;
	margin: 0 0 0.85em;
}

.procoach-ev__card-main {
	flex: 1 1 320px;
	min-width: 0;
}

.procoach-ev__card-title {
	margin: 0 0 0.3em;
	font-size: 1.15em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
}

.procoach-ev__card-title a {
	text-decoration: none;
}

.procoach-ev__card-title a:hover {
	text-decoration: underline;
}

.procoach-ev__badge {
	display: inline-block;
	padding: 0.1em 0.6em;
	border-radius: 999px;
	font-size: 0.7em;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: #d8f0df;
	color: #1c5c33;
}

.procoach-ev__card-meta {
	margin: 0;
	font-size: 0.9em;
	opacity: 0.75;
}

.procoach-ev__card-cta {
	flex: 0 0 auto;
	padding: 0.6em 1.3em;
	border-radius: 5px;
	background: #2a5bd7;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.procoach-ev__card-cta:hover,
.procoach-ev__card-cta:focus {
	background: #1f47ab;
	color: #fff;
	text-decoration: none;
}

.procoach-ev__empty {
	padding: 1.5em;
	border-radius: 8px;
	background: rgba( 0, 0, 0, 0.03 );
	opacity: 0.85;
}

@media ( max-width: 600px ) {
	.procoach-ev__card-cta {
		width: 100%;
		text-align: center;
	}

	.procoach-ev__check-time {
		flex-basis: 4.5em;
	}
}
