.ft-anchor-tabs {
	--ft-anchor-tabs-offset: 80px !important;

	position: sticky;
	top: var(--ft-anchor-tabs-offset);
	z-index: 50;

	width: 100%;
	max-width: 100vw;

	background: #fff;
	border-bottom: 1px solid #b7dcff;

	overflow: visible;
}

.ft-anchor-tabs__desktop {
	position: relative;
	display: block;
	margin-top: 0;
	padding-top: 40px;
	overflow: visible;
	z-index: 1;
}

.ft-anchor-tabs__desktop::before {
	content: none;
}

.ft-anchor-tabs__inner {
	position: relative;
	z-index: 2;

	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(24px, 3vw, 48px);

	min-height: 57px;
	width: min(1360px, 100%);
	margin: 0 auto;
}

.ft-anchor-tabs__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 57px;

	color: #071425;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.ft-anchor-tabs__link:hover,
.ft-anchor-tabs__link:focus {
	color: #005ea8;
	text-decoration: none;
}

.ft-anchor-tabs__mobile {
	display: none;
	position: relative;
	width: 100%;
}

.ft-anchor-tabs__mobile-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;

	width: 100%;
	min-height: 52px;
	padding: 0 14px;

	border: 0;
	background: #fff;

	color: #071425;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;

	cursor: pointer;
}

.ft-anchor-tabs__chevron {
	display: inline-block;

	width: 10px;
	height: 10px;

	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;

	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

.ft-anchor-tabs.is-open .ft-anchor-tabs__chevron {
	transform: rotate(225deg) translateY(-2px);
}

.ft-anchor-tabs__mobile-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;

	display: none;

	background: #fff;

	border-top: 1px solid #e5eef7;
	border-bottom: 1px solid #b7dcff;

	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.ft-anchor-tabs.is-open .ft-anchor-tabs__mobile-menu {
	display: block;
}

.ft-anchor-tabs__mobile-link {
	display: block;

	padding: 14px;

	color: #071425;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;

	border-bottom: 1px solid #e5eef7;
}

.ft-anchor-tabs__mobile-link:last-child {
	border-bottom: 0;
}

.ft-anchor-tabs__mobile-link:hover,
.ft-anchor-tabs__mobile-link:focus {
	background: #f4f9ff;
	color: #005ea8;
	text-decoration: none;
}

body:has(.ft-anchor-tabs) .wp-site-blocks,
body:has(.ft-anchor-tabs) .entry-content,
body:has(.ft-anchor-tabs) .wp-block-post-content {
	overflow-x: clip !important;
	overflow-y: visible !important;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--ft-anchor-tabs-scroll-padding, 218px);
}

@media (max-width: 1375px) {
	.ft-anchor-tabs__desktop {
		padding: 50px 0 0 24px;
	}
}


@media (max-width: 1024px) {
	.ft-anchor-tabs {
		--ft-anchor-tabs-offset: 60px !important;
	}

	.ft-anchor-tabs__desktop {
		padding: 40px 40px 0;
	}
}

@media (max-width: 767px) {
	.ft-anchor-tabs {
		--ft-anchor-tabs-offset: 80px !important;
	}

	.ft-anchor-tabs__desktop {
		display: none;
	}

	.ft-anchor-tabs__mobile {
		display: block;
	}

	.ft-anchor-tabs__mobile-toggle {
		padding: 0 16px;
	}

	html {
		scroll-padding-top: var(--ft-anchor-tabs-scroll-padding, 132px);
	}
}


@media (max-width: 430px) {
	.ft-anchor-tabs {
		--ft-anchor-tabs-offset: 72px !important;
	}

	.ft-anchor-tabs__desktop {
		padding: 40px 40px 0;
	}
}

/* ============================
 * Editor Styles
 ============================ */

.editor-styles-wrapper .ft-anchor-tabs {
	position: relative;
	top: auto;
	z-index: 1;

	width: 100%;

	background: #fff;
	border-bottom: 1px solid #b7dcff;
}

.editor-styles-wrapper .ft-anchor-tabs__desktop {
	display: block;
	margin-top: 0;
	padding-top: 0;
	background: #fff;
}

.editor-styles-wrapper .ft-anchor-tabs__desktop::before {
	content: none;
}

.editor-styles-wrapper .ft-anchor-tabs__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(24px, 3vw, 48px);

	min-height: 57px;
	width: min(1360px, 100%);
	margin: 0 auto;
	padding: 0 24px;
}

.editor-styles-wrapper .ft-anchor-tabs__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 57px;

	color: #071425;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;

	pointer-events: none;
}

.editor-styles-wrapper .ft-anchor-tabs__mobile {
	display: none;
	position: relative;
	width: 100%;
}

.editor-styles-wrapper .ft-anchor-tabs__mobile-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;

	width: 100%;
	min-height: 52px;
	padding: 0 14px;

	border: 0;
	background: #fff;

	color: #071425;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;

	cursor: default;
}

.editor-styles-wrapper .ft-anchor-tabs__chevron {
	display: inline-block;

	width: 10px;
	height: 10px;

	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;

	transform: rotate(45deg) translateY(-2px);
}

@media (max-width: 1024px) {
	.editor-styles-wrapper .ft-anchor-tabs {
		padding: 0 40px;
	}
}

@media (max-width: 767px) {
	.editor-styles-wrapper .ft-anchor-tabs__desktop {
		display: none;
	}

	.editor-styles-wrapper .ft-anchor-tabs__mobile {
		display: block;
	}

	.editor-styles-wrapper .ft-anchor-tabs {
		padding: 0;
	}
}