/* Card dự án — reusable template-part */

.aka-card-du-an {
	--aka-card-tag: #00b4a6;
	--aka-card-status: #e31c23;
	--aka-card-radius: 10px;
	display: block;
	height: 100%;
	margin: 0;
	border-radius: var(--aka-card-radius);
	overflow: hidden;
	background: #1a1a1a;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.aka-card-du-an__link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.aka-card-du-an__media {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 280px;
	aspect-ratio: 9 / 16;
	background-color: #2a2a2a;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.aka-card-du-an__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top,
			rgba(0, 0, 0, 0.78) 0%,
			rgba(0, 0, 0, 0.35) 42%,
			rgba(0, 0, 0, 0.08) 70%,
			transparent 100%);
	pointer-events: none;
}

.aka-card-du-an__tag,
.aka-card-du-an__status {
	position: absolute;
	top: 12px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	max-width: calc(50% - 16px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aka-card-du-an__tag {
	left: 12px;
	background: var(--aka-card-tag);
}

.aka-card-du-an__status {
	right: 12px;
	background: var(--aka-card-status);
}

.aka-card-du-an__body {
	position: relative;
	z-index: 2;
	padding: 16px 14px 18px;
}

.aka-card-du-an__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.aka-card-du-an__excerpt {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.88);
}

.aka-card-du-an__price {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.aka-button-show-more {
	position: absolute;
	top: auto;
	left: auto;
	right: 14px;
	bottom: 16px;
	transform: none;
	z-index: 2;
}

.aka-button-show-more__button {
	display: inline-block;
	width: 100%;
	padding: 10px 14px;
	border-radius: 4px;
	font-weight: 700;
	outline: unset;
	cursor: pointer;
	background: #C02038;
	color: #fff;
	border: unset;
}

/* .aka-card-du-an--homepage .aka-card-du-an__body {
	padding-bottom: 64px;
} */

@media (max-width: 767px) {
	.aka-card-du-an__media {
		min-height: 240px;
	}

	.aka-card-du-an__title,
	.aka-card-du-an__price {
		font-size: 16px;
	}
}