/**
 * BayFirst cookie consent banner (Kentico port).
 */

#hs-eu-cookie-confirmation {
	display: none !important;
}

section#cookie-consent {
	--bf-consent-green: var(--wp--preset--color--ti-accent, #02461b);
	--bf-consent-green-hover: #013616;
	position: fixed;
	z-index: 99999;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	pointer-events: none;
	transform: translateY(110%);
	background-color: var(--nv-site-bg, #fff);
	box-shadow: 0 -4px 0.25rem rgba(0, 0, 0, 0.25);
	transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
	max-width: 100vw;
	display: none;
	opacity: 0;
	box-sizing: border-box;
}

section#cookie-consent a[class] {
	cursor: pointer;
}

section#cookie-consent.show {
	opacity: 1;
	display: block;
	pointer-events: auto;
	transform: translateY(0%);
}

.bf-cookie-consent__inner {
	box-sizing: border-box;
	max-width: 1640px;
	margin: 0 auto;
	padding: 1rem 1.25rem 1.25rem;
}

.bf-cookie-consent__close-row {
	display: flex;
	justify-content: flex-end;
	padding-bottom: 0.25rem;
}

.bf-cookie-consent__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.25rem;
	border: 0;
	background: transparent;
	color: #221f20;
	line-height: 1;
	text-decoration: none;
}

.bf-cookie-consent__close:hover,
.bf-cookie-consent__close:focus-visible {
	color: var(--bf-consent-green);
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bf-cookie-consent__close svg {
	display: block;
	width: 0.69em;
	height: 1em;
}

.bf-cookie-consent__text {
	display: block;
	margin: 0;
	color: #4a4f55;
	font-family: Metropolis, "Open Sans", sans-serif;
	font-size: 0.875rem;
	line-height: 1.5;
}

.bf-cookie-consent__text a {
	color: var(--bf-consent-green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bf-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 0.75rem;
	padding-top: 1rem;
}

.bf-cookie-consent__btn {
	display: inline-block;
	box-sizing: border-box;
	margin: 0;
	padding: 0.4rem 1.25rem;
	border: 0;
	border-radius: 4px;
	background-color: var(--bf-consent-green);
	color: #fff !important;
	font-family: Metropolis, "Open Sans", sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	appearance: none;
}

.bf-cookie-consent__btn:hover,
.bf-cookie-consent__btn:focus-visible {
	background-color: var(--bf-consent-green-hover);
	color: #fff !important;
	outline: 2px solid var(--bf-consent-green-hover);
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.bf-cookie-consent__actions {
		justify-content: flex-end;
	}
}

@media (prefers-reduced-motion: reduce) {
	section#cookie-consent {
		transition: none !important;
	}
}
