/*
 * The course card's own additions to gdv-public-ui's teaser: the date tile and
 * the sign-up chip on the picture. Badges are not the library's, so they live
 * here. Both sit on a photo, never on the page ground, so their colours are
 * fixed in both schemes.
 *
 * Measured: the tile's day, the palette's --green #427a7b, is 4.88:1 on the
 * tile's #ffffff, and its month, #444444, 9.74:1. The chip's white lettering
 * is 5.59:1 on #3d7071, gdv-public-ui's light --gdv-ui-success-strong, written
 * as a literal because that token turns #6fb0b1 in the dark scheme, where white
 * on it would fail.
 */

.gdv-course-card__date-tile {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 4rem;
	padding: 0.375rem 0.625rem;
	border-radius: 0.625rem;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	line-height: 1.1;
	text-align: center;
}

.gdv-course-card__date-day {
	font-family: var(--headingsfontfamily, inherit);
	font-size: 1.75rem;
	color: var(--green, #427a7b);
}

.gdv-course-card__date-month {
	font-size: 0.9375rem;
	color: #444444;
}

.gdv-course-card__chip {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 1;
	max-width: calc(100% - 6.5rem);
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	background: #3d7071;
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: right;
}
