.hvv-project-card {
	position: relative;
	width: 100%;
	max-width: 453px;
	min-height: 443px;
	border-radius: 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 80px 30px 36px;
	box-sizing: border-box;
	overflow: visible;
}

.hvv-project-card--current {
	background: linear-gradient(to bottom, #ECFCFF 0%, #1A8DA1 100%);
}

.hvv-project-card--finished {
	background: linear-gradient(to bottom, #FFFFFF 0%, #FFAF6D 100%);
}

.hvv-project-card__badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 246px;
	height: 59px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	font-family: Montserrat, sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.96px;
	line-height: normal;
	border-bottom-left-radius: 26px;
	border-bottom-right-radius: 26px;
	box-sizing: border-box;
}

.hvv-project-card--current .hvv-project-card__badge {
	background: #1A8DA1;
}

.hvv-project-card--finished .hvv-project-card__badge {
	background: #ADAAAA;
}

.hvv-project-card__title {
	margin: 56px 0 32px;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #393737;
	font-family: Montserrat, sans-serif;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	max-width: 393px;
}

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

.hvv-project-card__title a:hover {
	opacity: 0.75;
}

.hvv-project-card__btn,
.hvv-project-card__btn:link,
.hvv-project-card__btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 22px;
	border-radius: 26px;
	background: #DC4141;
	color: #FFFFFF;
	font-family: Montserrat, sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.96px;
	text-decoration: none;
	line-height: normal;
	transition: background 0.3s ease;
	white-space: nowrap;
}

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

@media screen and (max-width: 768px) {
	.hvv-project-card {
		min-height: 380px;
		padding: 70px 24px 28px;
	}
	.hvv-project-card__badge {
		width: 200px;
		height: 48px;
		font-size: 18px;
	}
	.hvv-project-card__title {
		font-size: 20px;
		margin: 40px 0 24px;
	}
	.hvv-project-card__btn {
		font-size: 18px;
		padding: 12px 18px;
	}
}

/* ----- Figma "Діяльність проєкти моб" (390px) — project card ----- */
@media screen and (max-width: 767px) {
	.hvv-project-card {
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		min-height: 175px !important;
		border-radius: 26px !important;
		padding: 40px 22px 22px !important;
		margin: 0 !important;
		box-sizing: border-box !important;
		position: relative !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 14px !important;
		overflow: hidden !important;
	}
	/* Current: teal gradient top→bottom */
	.hvv-project-card--current {
		background: linear-gradient(180deg, #ECFCFF 0%, #1A8DA1 100%) !important;
	}
	/* Finished: white→orange gradient */
	.hvv-project-card--finished {
		background: linear-gradient(180deg, #FFFEFE 0%, #FFAF6D 100%) !important;
	}

	/* Status badge — centered at TOP, bottom-rounded only */
	.hvv-project-card__badge {
		position: absolute !important;
		top: 0 !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		width: 188px !important;
		max-width: calc(100% - 44px) !important;
		height: 24px !important;
		min-height: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-radius: 0 0 15px 15px !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		letter-spacing: 0.56px !important;
		color: #FFFFFF !important;
		text-transform: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	.hvv-project-card--current .hvv-project-card__badge {
		background: #1A8DA1 !important;
		color: #FFFFFF !important;
	}
	.hvv-project-card--finished .hvv-project-card__badge {
		background: #ADAAAA !important;
		color: #FFFFFF !important;
	}

	/* Title — centered, multi-line */
	.hvv-project-card__title {
		text-align: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.hvv-project-card__title a,
	.hvv-project-card__title a:link,
	.hvv-project-card__title a:visited {
		font-size: 13px !important;
		font-weight: 700 !important;
		color: #393737 !important;
		text-transform: uppercase !important;
		line-height: 1.3 !important;
		letter-spacing: 0 !important;
		text-decoration: none !important;
	}

	/* "Дізнатися більше" button — small red capsule centered */
	.hvv-project-card__btn,
	.hvv-project-card__btn:link,
	.hvv-project-card__btn:visited {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 7px 14px !important;
		min-height: 0 !important;
		height: auto !important;
		width: auto !important;
		max-width: max-content !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		letter-spacing: 0.48px !important;
		text-transform: lowercase !important;
		text-decoration: none !important;
		background: #E03639 !important;
		color: #FFFFFF !important;
		border-radius: 26px !important;
		margin: 0 !important;
		align-self: center !important;
	}
}
