/**
 * oid-hubspot events: additions to documents.css, which styles the event page, the event
 * cards and the OI - Event Listing block through the same oid-doc classes.
 *
 * Only the Upcoming badge is new. Every selector is prefixed oid-event, and the file
 * loads only on event pages and pages carrying the event listing block.
 */

.oid-event-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--oidd-accent, #b8ec00);
	color: var(--oidd-brand, #020b71);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
}

/* On a card: over the thumbnail's top-left corner. */
.oid-doc-card__media .oid-event-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
}

/* On the event page: after the "Event · {type}" label. */
.oid-doc__label .oid-event-badge {
	margin-left: 10px;
	vertical-align: 1px;
}
