/* Size the Shortcode widget */
.elementor-widget-shortcode:has(> .elementor-widget-container > .elementor-shortcode > .ad-seminar-event-card) {
	width: calc((100% - 20px) / 2);
	flex: 0 0 calc((100% - 20px) / 2);
}

/* Build the card */
.ad-seminar-event-card {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 360px;
	overflow: hidden;
	isolation: isolate;
	border-radius: 4px;
	background-color: black;
}

/* Fill the card with the event photograph */
.ad-seminar-event-card>.ad-seminar-event-card__background {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 40%;
}

/* Match the mockup's dark image overlay */
.ad-seminar-event-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(97deg, rgba(18, 13, 11, 0.96) 0%, rgba(18, 13, 11, 0.92) 34%, rgba(18, 13, 11, 0.62) 62%, rgba(18, 13, 11, 0.34) 100%);
	pointer-events: none;
}

/* Set the internal card spacing */
.ad-seminar-event-card__content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 32px 30px 26px;
}

/* Style the availability badge */
.ad-seminar-event-card__tag {
	position: absolute;
	top: 0;
	right: 0;
	padding: 11px 16px 10px;
	background-color: var(--e-global-color-accent);
	color: var(--e-global-color-primary);
	font-size: 9.5px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* Style the event title */
.ad-seminar-event-card .ad-seminar-event-card__content h3 {
	max-width: 15ch;
	margin: 0 0 18px;
	color: white;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

/* Style the introductory copy */
.ad-seminar-event-card__description {
	max-width: 34ch;
	margin: -8px 0 18px;
	color: var(--e-global-color-text);
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.5;
}

/* Stack the event details */
.ad-seminar-event-card__details {
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin-bottom: auto;
}

/* Style each event-detail row */
.ad-seminar-event-card__details p {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 0;
	color: var(--e-global-color-text);
	font-size: 14.5px;
	line-height: 1.45;
}

/* Style the detail icons */
.ad-seminar-event-card__details svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	fill: none;
	stroke: var(--e-global-color-text);
	stroke-width: 1.7;
}

/* Emphasize the event date */
.ad-seminar-event-card__details strong {
	color: white;
	font-weight: 600;
}

/* Build the footer */
.ad-seminar-event-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgb(from var(--e-global-color-243f42d) r g b / 0.16);
}

/* Style the tuition block */
.ad-seminar-event-card__price {
	margin: 0;
	text-align: right;
	line-height: 1.25;
}

/* Style the tuition label */
.ad-seminar-event-card__price span {
	display: block;
	color: var(--e-global-color-text);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Style the tuition amount */
.ad-seminar-event-card__price strong {
	display: block;
	color: white;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Style the footer note */
.ad-seminar-event-card__note {
	width: 100%;
	margin: 0;
	color: var(--e-global-color-text);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.62;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

@media (max-width: 920px) {
	.elementor-widget-shortcode:has(> .elementor-widget-container > .elementor-shortcode > .ad-seminar-event-card) {
		width: 100%;
		flex-basis: 100%;
	}

	.ad-seminar-event-card {
		min-height: 0;
	}

	.ad-seminar-event-card__content {
		padding: 28px 24px 24px;
	}

	.ad-seminar-event-card__background {
		object-position: 78% 40%;
	}
}