/* JHF Promo Banner Carousel */

.jhf-pbc-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #000;
	user-select: none;
}

/* ── Track ────────────────────────────────────── */
.jhf-pbc-track-wrapper {
	overflow: hidden;
}

.jhf-pbc-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

/* ── Slide ────────────────────────────────────── */
.jhf-pbc-slide {
	position: relative;
	min-width: 100%;
	display: flex;
	align-items: center;
	min-height: 220px;
}

.jhf-pbc-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Dark overlay on the left half of the bg image so text area stands out */
.jhf-pbc-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 55%);
}

/* ── Content Panel (right-side amber box) ─────── */
.jhf-pbc-content-panel {
	position: relative;
	z-index: 2;
	margin-left: auto;
	width: 46%;
	max-width: 620px;
	background: rgba(253, 165, 15, 0.85);
	padding: 40px 60px;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	justify-content: center;
	border-bottom: 10px solid #000;
	margin-right: auto;
	left: 220px;
}

.jhf-pbc-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 35px;
	font-weight: 700;
	line-height: 130%;
	color: #ffffff;
	margin: 0 0 24px;
}

.jhf-pbc-text {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px
	line-height: 160%;
	color: #ffffff;
	margin: 0 0 24px;
}

/* WYSIWYG output inside the text area */
.jhf-pbc-text p { margin: 0 0 0.5em; }
.jhf-pbc-text p:last-child { margin-bottom: 0; }
.jhf-pbc-text ul,
.jhf-pbc-text ol { margin: 0 0 0.5em 1.2em; padding: 0; }
.jhf-pbc-text li { margin-bottom: 0.2em; }
.jhf-pbc-text strong { font-weight: 700; }
.jhf-pbc-text em { font-style: italic; }
.jhf-pbc-text a { color: #fff; text-decoration: underline; }

/* ── Button ───────────────────────────────────── */
.jhf-pbc-btn {
	display: inline-block;
	align-self: flex-start;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 100%;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
	/* Padding & colors injected via inline CSS from settings */
}

/* ── Arrows ───────────────────────────────────── */
.jhf-pbc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(0,0,0,0.45);
	border: none;
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	padding: 0;
}

.jhf-pbc-arrow svg {
	width: 20px;
	height: 20px;
}

.jhf-pbc-arrow:hover {
	background: rgba(0,0,0,0.7);
}

.jhf-pbc-prev { left: 14px; }
.jhf-pbc-next { right: 14px; }

/* ── Dots ─────────────────────────────────────── */
.jhf-pbc-dots {
	position: absolute;
	bottom: 14px;
	left: -1040px;
	display: flex;
	gap: 8px;
	z-index: 10;
	right: 0;
	margin: 0 auto;
	width: fit-content;
}

.jhf-pbc-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,1);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.25s, transform 0.25s;
}

.jhf-pbc-dot.active {
	background: #FFA22B;
}

/* ── Responsive ───────────────────────────────── */
@media screen and (max-width: 768px) {
	.jhf-pbc-slide {
		flex-direction: column;
		align-items: stretch;
		min-height: 320px;
	}

	.jhf-pbc-bg {
		position: absolute;
		inset: 0;
	}

	.jhf-pbc-content-panel {
		margin-left: 0;
		width: 100%;
		max-width: 100%;
		min-height: 160px;
		margin-top: auto;
		padding: 24px 20px;
		background-color: rgba(232, 160, 32, 0.92);
		left:0 ;
	}
}
