/* FTF&M cookie consent bar. Accept and Reject are deliberately identical. */
.ftfm-consent {
	--fc-ink: #101d2a;
	--fc-paper: #f8f5f1;
	--fc-line: #d9d4cf;
	--fc-muted: #697075;
	--ftfm-consent-lift: 0px;
	position: fixed;
	left: 24px;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--ftfm-consent-lift));
	z-index: 2147480001; /* above chat launchers while it is showing; hidden while a chat panel is open */
	box-sizing: border-box;
	width: 440px;
	max-width: calc(100vw - 48px);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 18px 20px;
	background: #fff;
	color: var(--fc-ink);
	border: 1px solid var(--fc-line);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(16, 29, 42, .08), 0 8px 24px rgba(16, 29, 42, .10);
	font: 400 14px/1.5 "Manrope", "proxima-nova", Arial, sans-serif;
	text-align: left;
	animation: ftfm-consent-in .2s ease-out;
}
.ftfm-consent[hidden],
.ftfm-consent.is-typing,
html:has(#edie-launch[aria-expanded="true"]) .ftfm-consent,
html:has(#Botsonic-wrapper[data-ftfm-botsonic-expanded="1"]) .ftfm-consent {
	display: none;
}
.ftfm-consent *,
.ftfm-consent *::before,
.ftfm-consent *::after {
	box-sizing: border-box;
}
.ftfm-consent__text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--fc-ink);
}
.ftfm-consent__link,
.ftfm-consent__link:visited {
	color: var(--fc-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}
.ftfm-consent__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ftfm-consent__btn {
	flex: 0 0 auto;
	min-width: 104px;
	min-height: 40px;
	margin: 0;
	padding: 8px 18px;
	border: 1px solid var(--fc-ink);
	border-radius: 4px;
	background: var(--fc-ink);
	color: #fff;
	font: 600 14px/1.2 "Manrope", "proxima-nova", Arial, sans-serif;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
.ftfm-consent__btn:hover {
	background: #24364a;
	border-color: #24364a;
}
.ftfm-consent__choose {
	margin: 0 0 0 auto;
	padding: 8px 2px;
	min-height: 40px;
	border: 0;
	background: none;
	color: var(--fc-ink);
	font: 500 14px/1.2 "Manrope", "proxima-nova", Arial, sans-serif;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.ftfm-consent :focus-visible {
	outline: 2px solid var(--fc-ink) !important; /* theme sets :focus{outline:none !important} */
	outline-offset: 2px;
}
.ftfm-consent__btn:focus-visible {
	outline-color: #506884 !important;
}

/* Choices panel */
.ftfm-consent__panel {
	margin-top: 16px;
	padding-top: 6px;
	border-top: 1px solid var(--fc-line);
}
.ftfm-consent__panel[hidden] {
	display: none;
}
.ftfm-consent__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(16, 29, 42, .08);
}
.ftfm-consent__label {
	display: block;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}
.ftfm-consent__name {
	display: block;
	font-weight: 600;
	color: var(--fc-ink);
}
.ftfm-consent__desc {
	display: block;
	color: var(--fc-muted);
	font-size: 13px;
	line-height: 1.45;
}
.ftfm-consent__always {
	flex: 0 0 auto;
	color: var(--fc-muted);
	font-size: 13px;
}
.ftfm-consent__switch {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	position: relative;
	width: 44px;
	height: 26px;
	margin: 0;
	border: 1px solid #b9b2aa;
	border-radius: 13px;
	background: #e9e4de;
	cursor: pointer;
	transition: background .15s ease;
}
.ftfm-consent__switch::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 29, 42, .25);
	transition: transform .15s ease;
}
.ftfm-consent__switch:checked {
	background: var(--fc-ink);
	border-color: var(--fc-ink);
}
.ftfm-consent__switch:checked::after {
	transform: translateX(18px);
}
.ftfm-consent__save {
	margin-top: 14px;
}

/* Phones and small tablets: a full-width bar along the bottom (above the Sample Hub dock when it shows). */
@media (max-width: 767px) {
	.ftfm-consent {
		left: 0;
		right: 0;
		bottom: var(--ftfm-consent-lift);
		width: auto;
		max-width: none;
		max-height: calc(100vh - var(--ftfm-consent-lift) - 24px);
		padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
		border-width: 1px 0 0;
		border-radius: 0;
		box-shadow: 0 -4px 16px rgba(16, 29, 42, .08);
	}
	.ftfm-consent__text {
		margin-bottom: 12px;
	}
	.ftfm-consent__btn {
		flex: 1 1 0;
		min-width: 0;
		min-height: 44px;
	}
	.ftfm-consent__choose {
		flex: 0 0 auto;
		min-height: 44px;
		padding: 8px 4px;
	}
	.ftfm-consent__save {
		width: 100%;
	}
}

/* Footer link and the Cookie Policy button */
.ftfm-consent-settings-btn {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

@keyframes ftfm-consent-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.ftfm-consent,
	.ftfm-consent__switch,
	.ftfm-consent__switch::after {
		animation: none;
		transition: none;
	}
}
@media print {
	.ftfm-consent {
		display: none !important;
	}
}

/* Footer legal line (theme footer.php) */
.ftfm-legal-links {
	margin: 0;
	font-size: 13px;
}
.ftfm-legal-links a,
.ftfm-legal-links a:visited {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Homepage footer (dark): match its own link style */
body.ftfm-home-page .ftfm-home-footer .ftfm-legal-links {
	font-size: inherit;
	color: #c8d0d8;
}
body.ftfm-home-page .ftfm-home-footer .ftfm-consent-settings-btn {
	color: #e8edf2;
	text-decoration: none;
}
body.ftfm-home-page .ftfm-home-footer .ftfm-consent-settings-btn:hover,
body.ftfm-home-page .ftfm-home-footer .ftfm-consent-settings-btn:focus-visible {
	color: #efb2ab;
}
.ftfm-legal-links span[aria-hidden] {
	margin: 0 4px;
}
