.uckg-event-card {
	--uckg-card-radius: 24px;
	--uckg-meta-color: #3b6fe0;
	--uckg-title-color: #1c1c1c;
	--uckg-desc-color: #5a5a5a;
	--uckg-badge-bg: #eaf1fb;
	--uckg-badge-color: #1e3a8a;
	display: block;
	background: #fff;
	border-radius: var(--uckg-card-radius);
	overflow: hidden;
	box-shadow: none;
	text-decoration: none;
	color: inherit;
	max-width: 100%;
}

a.uckg-event-card:hover {
	text-decoration: none;
}

.uckg-event-card__media {
	margin: 0;
	line-height: 0;
}

.uckg-event-card__image {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.uckg-event-card__body {
	padding: 18px 20px 20px;
}

.uckg-event-card__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--uckg-meta-color);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.uckg-event-card__label-bullet {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

.uckg-event-card__category {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--uckg-badge-color);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.uckg-event-card__category-bullet {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 100%;
	background: currentColor;
	flex-shrink: 0;
}

.uckg-event-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 12px;
	margin-bottom: 10px;
}

.uckg-event-card--meta-inline .uckg-event-card__meta {
	gap: 8px;
}

.uckg-event-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--uckg-meta-color);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
}

.uckg-event-card__meta-item--location {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}

.uckg-event-card__meta-sep {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	color: var(--uckg-meta-color);
	flex-shrink: 0;
}

.uckg-event-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	font-size: 16px;
	line-height: 1;
}

.uckg-event-card__icon i,
.uckg-event-card__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: 1em;
}

/* Stroke-based uploaded SVGs (calendar/clock). Do not use fill:currentColor —
   it overrides path fill="none" and turns icons into solid blue blobs. */
.uckg-event-card__icon svg,
.uckg-event-card__icon svg path,
.uckg-event-card__icon svg circle,
.uckg-event-card__icon svg rect,
.uckg-event-card__icon svg line,
.uckg-event-card__icon svg polyline,
.uckg-event-card__icon svg polygon {
	fill: none;
	stroke: currentColor;
}

.uckg-event-card__title {
	margin: 0 0 8px;
	color: var(--uckg-title-color);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: capitalize;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.uckg-event-card__desc {
	margin: 0 0 16px;
	color: var(--uckg-desc-color);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	text-transform: capitalize;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.uckg-event-card__author {
	margin: -8px 0 14px;
	color: #5a5a5a;
	font-size: 13px;
	line-height: 1.3;
}

.uckg-event-card__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.uckg-event-card__location,
.uckg-event-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--uckg-badge-bg);
	color: var(--uckg-badge-color);
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

.uckg-event-card__badge--tag {
	font-weight: 500;
}

.uckg-event-card__location .uckg-event-card__icon {
	font-size: 14px;
}

.uckg-event-card__badges + .uckg-event-card__actions {
	margin-top: 16px;
}

.uckg-event-card__actions {
	margin-top: 0;
}

.uckg-event-card__button {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 10px 18px;
	border: 1px solid #D2D7DF;
	border-radius: 999px;
	background: #fff;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.uckg-event-card__button:hover {
	text-decoration: none;
	opacity: 0.92;
}

.uckg-event-card__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--uckg-btn-icon-size, 24px);
	height: var(--uckg-btn-icon-size, 24px);
	font-size: 14px;
	line-height: 1;
}

.uckg-event-card__button-icon i,
.uckg-event-card__button-icon svg {
	display: block;
	width: var(--uckg-btn-icon-size, 24px);
	height: var(--uckg-btn-icon-size, 24px);
}

.uckg-event-card__button-icon:not(.uckg-icon-arrow-right) svg,
.uckg-event-card__button-icon:not(.uckg-icon-arrow-right) svg path,
.uckg-event-card__button-icon:not(.uckg-icon-arrow-right) svg circle,
.uckg-event-card__button-icon:not(.uckg-icon-arrow-right) svg rect,
.uckg-event-card__button-icon:not(.uckg-icon-arrow-right) svg line,
.uckg-event-card__button-icon:not(.uckg-icon-arrow-right) svg polyline,
.uckg-event-card__button-icon:not(.uckg-icon-arrow-right) svg polygon {
	fill: none;
	stroke: currentColor;
}

.uckg-event-card__button-icon.uckg-icon-arrow-right svg,
.uckg-event-card__button-icon.uckg-icon-arrow-right svg path {
	fill: none;
	stroke: currentColor;
}

.uckg-event-card__desc:last-child,
.uckg-event-card__badges:last-child,
.uckg-event-card__actions:last-child,
.uckg-event-card__label:last-child {
	margin-bottom: 0;
}

/* Inset image (rounded photo inside card) */
.uckg-event-card--inset .uckg-event-card__media {
	margin: 12px 12px 0;
	border-radius: 14px;
	overflow: hidden;
}

.uckg-event-card--inset .uckg-event-card__image {
	border-radius: 18px;
}

/* Overlay: full-bleed image with floating content panel */
.uckg-event-card--overlay {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 460px;
	background-color: transparent;
}

.uckg-event-card--overlay .uckg-event-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.uckg-event-card--overlay .uckg-event-card__image {
	width: 100%;
	height: 100%;
	min-height: 460px;
	object-fit: cover;
}

.uckg-event-card--overlay .uckg-event-card__body {
	position: relative;
	z-index: 1;
	margin: 24px 14px 14px;
	padding: 18px 18px 16px;
	border-radius: 20px;
	background: #fff;
}

@media (max-width: 767px) {

.uckg-event-card__title {
	-webkit-line-clamp: unset;
	line-clamp: unset;
}

.uckg-event-card__desc {
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
}
