.pbc-card {
	--pbc-overlay: rgba(0, 0, 0, 0.62);
	--pbc-ease: cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	display: block;
	width: 100%;
	height: 372px;
	min-height: 180px;
	overflow: hidden;
	text-decoration: none;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	isolation: isolate;
	transform: translateZ(0);
}

.pbc-image {
	position: absolute;
	inset: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	border: 0;
	outline: 0;
	transform: scale(1.01);
	transition: transform 1.05s var(--pbc-ease), filter 1.05s ease;
	display: block;
	backface-visibility: hidden;
	z-index: 0;
}

.pbc-card::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 58%;
	background: linear-gradient(180deg, transparent 0%, var(--pbc-overlay) 78%, rgba(0, 0, 0, 0.88) 100%);
	z-index: 1;
	transition: height 0.72s var(--pbc-ease), background 0.72s ease;
}

.pbc-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.18);
	opacity: 0;
	z-index: 1;
	border: 0;
	outline: 0;
	transition: opacity 0.72s ease;
}

.pbc-shine {
	position: absolute;
	top: -35%;
	left: -90%;
	width: 54%;
	height: 170%;
	background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.2) 45%, transparent 70%);
	transform: rotate(12deg);
	z-index: 2;
	pointer-events: none;
	transition: left 1.05s var(--pbc-ease);
}

.pbc-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 28px 24px 24px;
	transform: translateY(0);
	transition: transform 0.82s var(--pbc-ease);
}

.pbc-title {
	margin: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.18;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
	transition: transform 0.82s var(--pbc-ease);
}

.pbc-hover-content {
	max-height: 0;
	opacity: 0;
	transform: translateY(18px);
	overflow: hidden;
	transition: max-height 0.82s var(--pbc-ease), opacity 0.62s ease 0.08s, transform 0.82s var(--pbc-ease), margin-top 0.82s var(--pbc-ease);
}

.pbc-desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.55;
}

.pbc-button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	color: #1d6cff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.7px;
	line-height: 1;
	text-transform: uppercase;
}

.pbc-button span {
	font-size: 15px;
	line-height: 1;
	transform: translateX(0);
	transition: transform 0.45s var(--pbc-ease);
}

.pbc-card:hover .pbc-image,
.pbc-card:focus-visible .pbc-image {
	transform: scale(1.08);
	filter: saturate(1.08) contrast(1.04);
}

.pbc-card:hover,
.pbc-card:focus-visible {
	box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.45);
}

.pbc-card:hover::before,
.pbc-card:focus-visible::before {
	height: 64%;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0.82) 100%);
}

.pbc-card:hover::after,
.pbc-card:focus-visible::after {
	opacity: 0.45;
}

.pbc-card:hover .pbc-shine,
.pbc-card:focus-visible .pbc-shine {
	left: 135%;
}

.pbc-card:hover .pbc-content,
.pbc-card:focus-visible .pbc-content {
	transform: translateY(-18px);
}

.pbc-card:hover .pbc-title,
.pbc-card:focus-visible .pbc-title {
	transform: translateY(-4px);
}

.pbc-card:hover .pbc-hover-content,
.pbc-card:focus-visible .pbc-hover-content {
	max-height: 160px;
	opacity: 1;
	transform: translateY(0);
	margin-top: 8px;
}

.pbc-card:hover .pbc-button span,
.pbc-card:focus-visible .pbc-button span {
	transform: translateX(4px);
}

.pbc-card:focus-visible {
	outline: 2px solid #1d6cff;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.pbc-card {
		height: 320px;
	}

	.pbc-hover-content {
		max-height: 160px;
		opacity: 1;
		transform: none;
		margin-top: 8px;
	}
}
