/* =========================================================================
   Sidebar Nav: sticky table of contents + CTA buttons
   ========================================================================= */

.nhc-snav {
	position: -webkit-sticky;
	position: sticky;
	top: var(--nhc-snav-top, 150px);
}

/* Give position:sticky room: make the Salient column wrappers around the
   sidebar fill the (flex-stretched) column height, and keep overflow visible
   so sticky is not clipped. */
.wpb_column:has(.nhc-snav) > .vc_column-inner,
.wpb_column:has(.nhc-snav) > .vc_column-inner > .wpb_wrapper {
	height: 100%;
	overflow: visible;
}

.nhc-snav__title {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: #244047;
}

/* ---------- Link list with a track + active marker ---------- */
.nhc-snav .nhc-snav__list {
	position: relative;
	list-style: none !important;
	margin: 0 0 28px;
	padding: 0 0 0 18px;
}
.nhc-snav .nhc-snav__list > .nhc-snav__item {
	position: relative;
	list-style: none !important;
	margin: 0 0 14px;
	padding: 0;
	background: none;
}
.nhc-snav .nhc-snav__list > .nhc-snav__item::marker { content: ""; }
.nhc-snav .nhc-snav__list > .nhc-snav__item:last-child { margin-bottom: 0; }

.nhc-snav .nhc-snav__list::before {        /* faint full-height track */
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	bottom: 2px;
	width: 2px;
	background: #e3e6e6;
	border-radius: 2px;
}
.nhc-snav .nhc-snav__item::before {        /* active teal segment over the track */
	content: "";
	position: absolute;
	left: -18px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: transparent;
	border-radius: 2px;
	transition: background-color .2s ease;
}
.nhc-snav .nhc-snav__item.is-active::before { background: #137e83; }

.nhc-snav__link {
	display: inline-block;
	color: #9a9a9a;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.4;
	transition: color .2s ease;
}
.nhc-snav__link:hover { color: #5a5a5a; }
.nhc-snav__link.is-active {
	color: #137e83;
	font-weight: 500;
}

/* ---------- CTA buttons ---------- */
.nhc-snav__cta {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 186px;
}
.nhc-snav__btn {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 16px 18px;
	border-radius: 10px;
	font-size: 17px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, filter .2s ease;
}
.nhc-snav__btn--primary {
	background: linear-gradient(120deg, #0e6b70 0%, #1aa1a7 100%);
	color: #ffffff;
	font-weight: 400;
}
.nhc-snav__btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(19, 126, 131, 0.28);
	filter: brightness(1.05);
}
/* Keep the label white (the theme's a:hover colour must not leak through).
   Not scoped to .nhc-snav so the buttons survive being moved out on mobile. */
.nhc-snav__btn--primary,
.nhc-snav__btn--primary:hover,
.nhc-snav__btn--primary:focus,
.nhc-snav__btn--primary:active,
.nhc-snav__btn--outline:hover,
.nhc-snav__btn--outline:focus {
	color: #ffffff !important;
}
.nhc-snav__btn--outline {
	background: #ffffff;
	border: 1.5px solid #137e83;
	color: #333333;
	font-weight: 400;
}
.nhc-snav__btn--outline:hover {
	background: #137e83;
	border-color: #137e83;
	color: #ffffff;
}

/* ---------- Tablet: not sticky (column may stack above content) ---------- */
@media only screen and (max-width: 999px) {
	.nhc-snav { position: static; top: auto; }
}

/* ---------- Phone: hide the sidebar; its CTA buttons are relocated by JS
   to the end of the first Nav Section (class added there) ---------- */
@media only screen and (max-width: 768px) {
	.nhc-snav { display: none; }
}

/* CTA block once moved under the first Nav Section on phones */
.nhc-snav__cta--mobile {
	max-width: 360px;
	margin: 30px auto 0;
}

@media (prefers-reduced-motion: reduce) {
	.nhc-snav__btn:hover { transform: none; }
}
