.dscm-team-cards {
	display: block;
	width: 100%;
	max-width: 14.25rem;
	margin: 0 auto;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-align: center;
}

.dscm-team-cards .dscm-team-card {
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid #e6ecee;
	border-radius: 0.65rem;
	background: #fff;
	box-shadow: 0 2px 5px rgb(25 67 86 / 15%);
}

.dscm-team-cards > .dscm-team-card-slot:not(:last-of-type) {
	padding-bottom: 10px;
}

.dscm-team-cards.dscm-team-cards--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.25rem), 1fr));
	gap: 10px;
	max-width: calc(42.75rem + 20px);
}

.dscm-team-cards--grid > .dscm-team-card-slot:not(:last-of-type) {
	padding-bottom: 0;
}

.dscm-team-card .dscm-team-card__header {
	padding: 0.625rem 0.75rem;
	background: #194356;
	color: #fff;
}

.dscm-team-card .dscm-team-card__ribbon {
	position: absolute;
	z-index: 1;
	top: 27px;
	right: -29px;
	width: 134px;
	transform: rotate(45deg);
	background: #ff0000;
	color: #fff;
	font: 500 13px/22px Roboto, Helvetica, Arial, sans-serif;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
}

.dscm-team-card .dscm-team-card__date {
	display: block;
	color: inherit;
	font: 400 22.4px/1.4 "Work Sans", Helvetica, Arial, sans-serif;
}

.dscm-team-card .dscm-team-card__date--custom {
	overflow-wrap: anywhere;
}

.dscm-team-card__month {
	text-transform: capitalize;
}

.dscm-team-card .dscm-team-card__weekday {
	margin-top: 0.2rem;
	font: 400 16px/1.4 Roboto, Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}

.dscm-team-card .dscm-team-card__weekday--custom {
	text-transform: none;
	overflow-wrap: anywhere;
}

.dscm-team-card .dscm-team-card__body {
	box-sizing: border-box;
	display: grid;
	place-items: center;
	row-gap: 0.375rem;
	min-height: 4.375rem;
	padding: 0.75rem;
	background: #fff;
}

.dscm-team-card .dscm-team-card__capacity {
	font: italic 400 16px/1.4 Roboto, Helvetica, Arial, sans-serif;
}

.dscm-team-cards .dscm-team-card a.dscm-team-card__signup {
	display: inline-block;
	margin: 0;
	padding: 12px 0.75rem;
	border-radius: 0.3rem;
	background: #194356;
	color: #fff;
	font: 600 11px/1 "Open Sans", Helvetica, Arial, sans-serif;
	letter-spacing: 1px;
	overflow-wrap: anywhere;
	text-decoration: none;
	text-transform: uppercase;
}

.dscm-team-cards .dscm-team-card a.dscm-team-card__signup:hover,
.dscm-team-cards .dscm-team-card a.dscm-team-card__signup:focus-visible {
	background: #51a0af;
	color: #fff;
	text-decoration: none;
}

.dscm-team-cards .dscm-team-card a.dscm-team-card__signup:focus-visible {
	outline: 2px solid #194356;
	outline-offset: 2px;
}

.dscm-team-cards.dscm-team-cards--wide {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(17rem, (100% - 60px) / 3)), 1fr));
	gap: 30px;
	max-width: 1140px;
}

.dscm-team-cards--wide .dscm-team-card {
	border: 0;
	border-radius: 0 0 5px 5px;
}

.dscm-team-cards--wide .dscm-team-card__header {
	padding: 15px 12px;
}

.dscm-team-cards--wide .dscm-team-card__weekday {
	margin-top: 10px;
}

.dscm-team-cards--wide .dscm-team-card__body {
	align-content: center;
	min-height: calc(63px + 1.875rem);
}

.dscm-team-cards.dscm-team-cards--wide .dscm-team-card a.dscm-team-card__signup {
	box-sizing: border-box;
	min-width: 109px;
	padding: 14.5px 12px;
}

@media (max-width: 767px) {
	.dscm-team-cards.dscm-team-cards--front-page {
		max-width: none;
		grid-template-columns: minmax(0, 1fr);
	}
}
