.lfpb-banner {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
	background: #ffffff;
	color: #4E4E5A;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
	padding: 24px 24px 28px;
	max-height: 85vh;
	overflow-y: auto;
	z-index: 999999;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
	text-align: center;
}

.lfpb-banner.lfpb-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.lfpb-banner[data-position="bottom-left"] {
	right: auto;
	left: 24px;
}

.lfpb-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: 0;
	font-size: 24px;
	line-height: 1;
	color: #4E4E5A;
	cursor: pointer;
	padding: 6px;
	border-radius: 4px;
}

.lfpb-close:hover,
.lfpb-close:focus {
	color: #FFF;
	border:none;
	position:absolute;
}

.lfpb-close:focus-visible {
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
}

.lfpb-eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4E4E5A;
}

.lfpb-headline {
	margin: 0 0 6px;
	padding-right: 20px;
	color:#4A6C7E;
	font-size: var(--lfpb-headline-size, 24px);
	font-weight: var(--lfpb-headline-weight, 700);
	line-height: 1.25;
}

.lfpb-event {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: #4E4E5A;
}

.lfpb-copy {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #4E4E5A;
}

.lfpb-cta {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	padding: 8px 16px;
	border-radius: 99px;
	box-sizing: border-box;
}

.lfpb-cta-primary {
	background: #ADA273;
	color: #ffffff!important;
	border: none;
	margin-bottom: 8px;
}

.lfpb-cta-primary:hover {
	background: #4A6C7E;
}

.lfpb-cta-secondary {
	background: transparent;
	color: #4E4E5A;
	border: 1px solid #4E4E5A;
}

.lfpb-cta-secondary:hover {
	background: #4A6C7E;
	color: #fff!important;
	border: 1px solid #4A6C7E;
}

.lfpb-cta:focus-visible {
	outline: 2px solid #4A6C7E;
	outline-offset: 2px;
}

.lfpb-divider {
	border: none;
	border-top: 1px solid #e5e5e5;
	margin: 16px 0;
}

@media (max-width: 600px) {
	.lfpb-banner {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
		max-width: none;
	}

	.lfpb-banner[data-position="bottom-left"] {
		left: 16px;
		right: 16px;
	}

	.lfpb-cta {
		width: 100%;
	}
}


/* ------------------------------------------------------------------
 * Top notification bar view
 * ---------------------------------------------------------------- */

.lfpb-bar {
	display: none;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	background: var(--lfpb-bar-bg, #4A6C7E);
	color: var(--lfpb-bar-text, #ffffff);
	font-size: 14px;
	line-height: 1.4;
	z-index: 99990;
}

.lfpb-bar.lfpb-visible {
	display: block;
	animation: lfpb-bar-in 0.3s ease both;
}

@keyframes lfpb-bar-in {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lfpb-bar.lfpb-visible {
		animation: none;
	}
}

.lfpb-bar[data-bar-mode="fixed"] {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

/* Sit below the WordPress admin bar for logged-in users. */
body.admin-bar .lfpb-bar[data-bar-mode="fixed"] {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .lfpb-bar[data-bar-mode="fixed"] {
		top: 46px;
	}
}

/*
 * Push the whole page down by the bar's height. Padding goes on <html>
 * rather than <body> because some themes (e.g. Beaver Themer) read the
 * body's padding when sizing the gap left behind by a sticky header.
 */
html.lfpb-has-fixed-bar {
	padding-top: var(--lfpb-bar-height, 0px);
}

/*
 * Fixed and sticky site headers are positioned against the viewport, so the
 * page padding doesn't move them. Shift them so they sit directly under the
 * bar and stay pinned together with it. frontend.js adds these classes only
 * while the header is actually fixed/sticky.
 */
html.lfpb-has-fixed-bar .lfpb-offset-fixed {
	margin-top: var(--lfpb-bar-height, 0px) !important;
}

html.lfpb-has-fixed-bar .lfpb-offset-sticky {
	top: var(--lfpb-bar-height, 0px) !important;
}

html.lfpb-has-fixed-bar body.admin-bar .lfpb-offset-sticky {
	top: calc(var(--lfpb-bar-height, 0px) + var(--wp-admin--admin-bar--height, 32px)) !important;
}

/* Keep in-page anchor links from landing under the bar and header. */
html.lfpb-has-fixed-bar {
	scroll-padding-top: var(--lfpb-bar-height, 0px);
}

.lfpb-bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 56px 10px 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	text-align: center;
}

.lfpb-bar-text {
	margin: 0;
	color: inherit;
}

.lfpb-bar-eyebrow {
	display: inline-block;
	margin-right: 8px;
	padding: 2px 8px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.18);
	background: color-mix(in srgb, currentColor 18%, transparent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	vertical-align: middle;
}

.lfpb-bar-headline {
	font-size: var(--lfpb-headline-size, 1em);
	font-weight: var(--lfpb-headline-weight, 700);
}

/*
 * Linked bar (primary CTA URL set, no button text): the text is a link whose
 * click area is stretched over the whole bar. The secondary link and close
 * button sit above it so they still work on their own.
 */
.lfpb-bar .lfpb-bar-stretched-link {
	color: inherit !important;
	text-decoration: none;
}

.lfpb-bar .lfpb-bar-stretched-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.lfpb-bar-linked:hover .lfpb-bar-stretched-link,
.lfpb-bar .lfpb-bar-stretched-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lfpb-bar .lfpb-bar-stretched-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.lfpb-bar-linked .lfpb-bar-actions,
.lfpb-bar-linked .lfpb-close {
	z-index: 2;
}

.lfpb-bar-linked .lfpb-bar-actions {
	position: relative;
}

.lfpb-bar-headline + .lfpb-bar-event::before {
	content: "\2022";
	margin: 0 8px;
	opacity: 0.7;
}

.lfpb-bar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 14px;
}

.lfpb-bar .lfpb-cta {
	width: auto;
}

.lfpb-bar .lfpb-cta-primary {
	margin-bottom: 0;
	padding: 6px 16px;
	background: var(--lfpb-bar-btn-bg, #ADA273);
	color: var(--lfpb-bar-btn-text, #ffffff) !important;
}

.lfpb-bar .lfpb-cta-primary:hover {
	background: var(--lfpb-bar-btn-hover-bg, var(--lfpb-bar-text, #ffffff));
	color: var(--lfpb-bar-btn-hover-text, var(--lfpb-bar-bg, #4A6C7E)) !important;
}

.lfpb-bar .lfpb-bar-link {
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lfpb-bar .lfpb-bar-link:hover {
	text-decoration: none;
}

.lfpb-bar .lfpb-cta:focus-visible,
.lfpb-bar .lfpb-close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.lfpb-bar .lfpb-close {
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	color: inherit;
}

.lfpb-bar .lfpb-close:hover,
.lfpb-bar .lfpb-close:focus {
	color: inherit;
	opacity: 0.75;
}

@media (max-width: 600px) {
	.lfpb-bar {
		font-size: 13px;
	}

	.lfpb-bar-inner {
		padding: 10px 44px 10px 12px;
	}

	.lfpb-bar-event {
		display: block;
		margin-top: 2px;
	}

	.lfpb-bar-headline + .lfpb-bar-event::before {
		content: none;
	}
}
