.hvv-event-card {
	display: grid;
	grid-template-columns: 629px 1fr;
	gap: 60px;
	align-items: stretch;
}

.hvv-event-card__image {
	width: 629px;
	height: 394px;
	border-radius: 26px;
	overflow: hidden;
	background: #f0f0f0;
}

.hvv-event-card__image a {
	display: block;
	width: 100%;
	height: 100%;
}

.hvv-event-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.hvv-event-card__image a:hover img {
	transform: scale(1.03);
}

.hvv-event-card__body {
	display: flex;
	flex-direction: column;
	padding: 30px 0;
	min-width: 0;
}

.hvv-event-card__datetime {
	margin: 0 0 18px;
	color: #1A8DA1;
	font-family: Montserrat, sans-serif;
	font-size: 27px;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
}

.hvv-event-card__location {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 32px;
	color: #000;
	font-family: Montserrat, sans-serif;
	font-size: 27px;
	font-weight: 500;
	line-height: normal;
}

.hvv-event-card__pin {
	width: 30px;
	height: 30px;
	color: #1A8DA1;
	flex-shrink: 0;
}

.hvv-event-card__title {
	margin: 0 0 24px;
	color: #393737;
	font-family: Montserrat, sans-serif;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.hvv-event-card__title a,
.hvv-event-card__title a:link,
.hvv-event-card__title a:visited {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.hvv-event-card__title a:hover {
	color: #1A8DA1;
}

.hvv-event-card__excerpt {
	margin: 0 0 28px;
	color: #000;
	font-family: Montserrat, sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hvv-event-card__btn,
.hvv-event-card__btn:link,
.hvv-event-card__btn:visited {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 16px 22px;
	border-radius: 26px;
	background: #DC4141;
	color: #FFF;
	font-family: Montserrat, sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.96px;
	text-decoration: none;
	transition: background 0.3s ease;
}

.hvv-event-card__btn:hover,
.hvv-event-card__btn:focus,
.hvv-event-card__btn:active {
	background: #c43535;
	color: #FFF;
}

@media screen and (max-width: 1399px) {
	.hvv-event-card {
		grid-template-columns: 480px 1fr;
		gap: 40px;
	}
	.hvv-event-card__image {
		width: 480px;
		height: 304px;
	}
}

@media screen and (max-width: 991px) {
	.hvv-event-card {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.hvv-event-card__image {
		width: 100%;
		height: auto;
		aspect-ratio: 629 / 394;
	}
	.hvv-event-card__body {
		padding: 0;
	}
}

@media screen and (max-width: 768px) {
	.hvv-event-card__datetime,
	.hvv-event-card__location,
	.hvv-event-card__title {
		font-size: 20px;
	}
	.hvv-event-card__excerpt {
		font-size: 18px;
	}
	.hvv-event-card__btn {
		align-self: stretch;
		font-size: 20px;
	}
	.hvv-event-card__pin {
		width: 24px;
		height: 24px;
	}
}

/* ----- Figma "Діяльність анонси заходів моб" (390px) — event card ----- */
@media screen and (max-width: 767px) {
	.hvv-event-card {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		gap: 7px !important;
		background: #FFFFFF !important;
		box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25) !important;
		border-radius: 6px !important;
		padding: 5px 8px !important;
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		min-height: 82px !important;
		box-sizing: border-box !important;
		margin: 0 !important;
	}
	.hvv-event-card__image {
		width: 127px !important;
		height: 72px !important;
		flex-shrink: 0 !important;
		border-radius: 6px !important;
		overflow: hidden !important;
		margin: 0 !important;
		aspect-ratio: 127 / 72 !important;
	}
	.hvv-event-card__image a,
	.hvv-event-card__image img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		display: block !important;
		border-radius: 6px !important;
	}
	.hvv-event-card__body {
		display: flex !important;
		flex-direction: column !important;
		gap: 6px !important;
		flex: 1 1 auto !important;
		min-width: 0 !important;
		padding: 0 !important;
	}

	/* Title goes FIRST per Figma — use flex order */
	.hvv-event-card__title {
		order: 1 !important;
		font-size: 10px !important;
		font-weight: 600 !important;
		color: #1A8DA1 !important;
		text-transform: uppercase !important;
		line-height: 1.2 !important;
		letter-spacing: 0 !important;
		margin: 0 !important;
	}
	.hvv-event-card__title a,
	.hvv-event-card__title a:link,
	.hvv-event-card__title a:visited {
		color: #1A8DA1 !important;
		font-size: 10px !important;
		font-weight: 600 !important;
		text-decoration: none !important;
		text-transform: uppercase !important;
		line-height: 1.2 !important;
	}
	.hvv-event-card__datetime {
		order: 2 !important;
		font-size: 10px !important;
		font-weight: 600 !important;
		color: #2F2E2E !important;
		margin: 0 !important;
		letter-spacing: 0 !important;
	}
	.hvv-event-card__location {
		order: 3 !important;
		font-size: 10px !important;
		font-weight: 500 !important;
		color: #000 !important;
		margin: 0 !important;
		display: inline-flex !important;
		align-items: center !important;
		gap: 4px !important;
	}
	.hvv-event-card__pin {
		display: none !important;
	}

	/* Hide excerpt & button on mobile per Figma */
	.hvv-event-card__excerpt,
	.hvv-event-card__btn {
		display: none !important;
	}
}
