/* Hamesila Tracks: registration tracks table inside the event/course card. */

/* The shortcode widget in the template carries this class; hide it when the post has no tracks. */
.hm-tracks-widget:not(:has(.hm-tracks)) {
	display: none;
}

.hm-tracks {
	width: 100%;
}

.hm-tracks__group {
	padding: 12px 0;
	border-top: 1px solid #E2DEB9;
}

.hm-tracks__group:first-child {
	border-top: 0;
	padding-top: 0;
}

.hm-tracks__head {
	font-family: "Ezer Loft", sans-serif;
	font-size: 17px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
}

.hm-tracks__time {
	unicode-bidi: isolate;
	white-space: nowrap;
}

.hm-tracks__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hm-tracks__btn {
	flex: 1 1 0;
	min-width: 84px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 9px 6px;
	border: 2px solid #353535;
	border-radius: 3px;
	color: #353535;
	font-family: "Ezer Loft", sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}

a.hm-tracks__btn:hover,
a.hm-tracks__btn:focus-visible {
	background: #353535;
	color: #FCFAE3;
}

.hm-tracks__btn--soon {
	border-style: dashed;
	border-color: #b9b59a;
	color: #8a8672;
	font-weight: 400;
}

.hm-tracks__btn small {
	font-size: .8em;
}
