/* LHC Category Banner */
.lhc-cb {
	--lhc-cb-red: var(--wd-primary-color, #cf2030);
	--lhc-cb-overlay: .45;
	--lhc-cb-container: var(--wd-container-w, 1222px);
	--lhc-cb-gutter: 15px;
	position: relative;
	width: 100%;
	margin-bottom: 40px;
	overflow: hidden;
	color: #fff;
	background: #2a1d1a;
	isolation: isolate;
	box-sizing: border-box;
}

.lhc-cb--noimg {
	background: linear-gradient(135deg, var(--lhc-cb-red) 0%, #8e1420 100%);
}

/* Full-width image layer */
.lhc-cb__media,
.lhc-cb__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.lhc-cb__media img,
.lhc-cb .lhc-cb__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% var(--lhc-cb-pos, 50%);
	display: block;
	transform: scale(1.02);
}

.lhc-cb__shade {
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, .25) 100%),
		rgba(20, 12, 10, var(--lhc-cb-overlay));
}

.lhc-cb--noimg .lhc-cb__shade {
	display: none;
}

/* Content: same width as the site content */
.lhc-cb__wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: var(--lhc-cb-container);
	min-height: clamp(280px, 30vw, 440px);
	margin: 0 auto;
	padding: 64px var(--lhc-cb-gutter);
	box-sizing: border-box;
}

/* Breadcrumb */
.lhc-cb__top {
	position: absolute;
	top: 22px;
	left: var(--lhc-cb-gutter);
	right: var(--lhc-cb-gutter);
}

.lhc-cb__crumbs {
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .85);
}

.lhc-cb__crumbs a {
	color: #fff;
	text-decoration: none;
	transition: opacity .2s;
}

.lhc-cb__crumbs a:hover,
.lhc-cb__crumbs a:focus-visible {
	opacity: .75;
	text-decoration: underline;
}

.lhc-cb__sep {
	margin: 0 7px;
	opacity: .7;
}

/* Title + text */
.lhc-cb__inner {
	max-width: 760px;
	text-align: center;
}

.lhc-cb .lhc-cb__title {
	margin: 0;
	font-family: var(--wd-title-font, "Lexend", Arial, Helvetica, sans-serif);
	font-weight: 700;
	font-size: clamp(34px, 4.6vw, 64px);
	line-height: 1.05;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.lhc-cb__rule {
	display: block;
	width: 56px;
	height: 3px;
	margin: 18px auto 20px;
	border-radius: 2px;
	background: var(--lhc-cb-red);
}

.lhc-cb .lhc-cb__text {
	margin: 0 auto;
	max-width: 680px;
	font-size: clamp(15px, 1.15vw, 18px);
	line-height: 1.65;
	color: rgba(255, 255, 255, .94);
	text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

/* Sit directly under the header */
.main-page-wrapper:has(> .lhc-cb) {
	padding-top: 0;
}

/* Mobile */
@media (max-width: 767px) {
	.lhc-cb {
		margin-bottom: 24px;
		--lhc-cb-gutter: 10px;
	}
	.lhc-cb__wrap {
		min-height: 260px;
		padding: 56px 20px 40px;
	}
	.lhc-cb__top {
		top: 14px;
		left: 16px;
		right: 16px;
	}
	.lhc-cb__crumbs {
		font-size: 12px;
	}
	.lhc-cb__rule {
		width: 44px;
		margin: 12px auto 14px;
	}
	.lhc-cb .lhc-cb__text {
		font-size: 14px;
		line-height: 1.55;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

