/*
 * NTM Hero — loaded only on pages that use the widget.
 * All selectors are scoped to .ntm-hero. Buttons use their own "ntm-hero__btn"
 * classes (same features as the NTM Button widget, no shared class names).
 * Values match the widget's control defaults.
 */

/* ---------- Box, image and overlay ---------- */
.ntm-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	box-sizing: border-box;
	width: 100%;
	min-height: 560px;
	padding: 64px 102px 52px;
	border-radius: 24px;
	background-color: #00355E;
	font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
}

.ntm-hero__media,
.ntm-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.ntm-hero__media { z-index: -2; overflow: hidden; }
.ntm-hero .ntm-hero__media .ntm-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center center;
}
.ntm-hero__overlay {
	z-index: -1;
	background-color: transparent;
	background-image: linear-gradient(90deg, rgba(0, 53, 94, 0.92) 20%, rgba(0, 53, 94, 0.45) 100%);
}
/* Separate overlay for small screens: hidden until its breakpoint. */
.ntm-hero .ntm-hero__overlay--small {
	display: none;
	background-image: linear-gradient(180deg, rgba(0, 53, 94, 0.72) 0%, rgba(0, 53, 94, 0.92) 100%);
}
@media (max-width: 1024px) {
	.ntm-hero--small-overlay-tablet > .ntm-hero__overlay:not(.ntm-hero__overlay--small) { display: none; }
	.ntm-hero--small-overlay-tablet > .ntm-hero__overlay--small { display: block; }
}
@media (max-width: 767px) {
	.ntm-hero--small-overlay-mobile > .ntm-hero__overlay:not(.ntm-hero__overlay--small) { display: none; }
	.ntm-hero--small-overlay-mobile > .ntm-hero__overlay--small { display: block; }
}

/* ---------- Content width ----------
 * The background fills the hero; the content sits in an inner box as wide as
 * Elementor's global Content Width (Site Settings → Layout). Elementor exposes it
 * as --container-max-width on containers; 1140px is Elementor's default.
 * Same rule as a boxed container: min(100%, content width), centered.
 */
.ntm-hero__inner {
	position: relative;
	display: flex;
	justify-content: flex-start;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--container-max-width, 1140px);
	margin: 0 auto;
	container-type: inline-size; /* lets the button rows use the full content width (cqw) */
}
.ntm-hero--cw-full .ntm-hero__inner { max-width: none; }

/* ---------- Text ---------- */
.ntm-hero__content {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	min-width: 0;
	text-align: left;
}
.ntm-hero .ntm-hero__eyebrow {
	margin: 0 0 20px;
	padding: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #B6D9DC;
}
.ntm-hero .ntm-hero__heading {
	margin: 0 0 18px;
	padding: 0;
	font-family: inherit;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -1.2px;
	color: #FFFFFF;
	overflow-wrap: break-word;
}
.ntm-hero .ntm-hero__heading em {
	font-family: inherit;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.25px;
	color: inherit;
}
.ntm-hero .ntm-hero__intro {
	max-width: 560px;
	margin: var(--ntm-hero-auto, 0 auto 0 0);
	padding: 0;
	font-size: 18px;
	line-height: 1.67;
	color: rgba(255, 255, 255, 0.92);
}
.ntm-hero .ntm-hero__intro a { color: inherit; text-decoration: underline; }
.ntm-hero .ntm-hero__note {
	max-width: 560px;
	margin: var(--ntm-hero-auto, 0 auto 0 0);
	margin-top: 18px;
	padding: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.45px;
	color: rgba(255, 255, 255, 0.8);
}
.ntm-hero .ntm-hero__note a { color: inherit; text-decoration: underline; }

/* ---------- Buttons: max 5 per row, max 2 rows (columns set per device inline) ---------- */
.ntm-hero .ntm-hero__buttons {
	--ntm-hero-track: minmax(0, max-content);
	display: grid;
	grid-template-columns: repeat(var(--ntm-hero-cols-d, 2), var(--ntm-hero-track));
	justify-content: var(--ntm-hero-justify, start);
	gap: 15px;
	margin-top: 29px;
	max-width: 100%;
}
/* A row of buttons may be wider than the text box (up to the hero's inner width),
   anchored to the text alignment: left edge, center or right edge. */
@supports (width: 1cqw) {
	.ntm-hero .ntm-hero__buttons {
		position: relative;
		width: max-content;
		max-width: 100cqw;
		left: var(--ntm-hero-bx, 0%);
		transform: translateX(calc(var(--ntm-hero-bx, 0%) * -1));
	}
}
.ntm-hero .ntm-hero__buttons .ntm-hero__btn { width: 100%; }

@media (max-width: 1024px) {
	.ntm-hero { min-height: 520px; padding: 56px 48px 48px; }
	.ntm-hero .ntm-hero__heading { font-size: 46px; }
	.ntm-hero .ntm-hero__buttons { grid-template-columns: repeat(var(--ntm-hero-cols-t, 2), var(--ntm-hero-track)); }
}
@media (max-width: 767px) {
	.ntm-hero { min-height: 480px; padding: 40px 22px 32px; border-radius: 18px; }
	.ntm-hero .ntm-hero__heading { font-size: 36px; }
	.ntm-hero .ntm-hero__intro { font-size: 16.5px; }
	.ntm-hero .ntm-hero__buttons { --ntm-hero-track: minmax(0, 1fr); grid-template-columns: repeat(var(--ntm-hero-cols-m, 1), var(--ntm-hero-track)); justify-content: stretch; width: 100%; max-width: 100%; left: 0; transform: none; }
}

/* ---------- Buttons (same engine as the NTM Button widget, own class names: ntm-hero__btn) ---------- */


.ntm-hero .ntm-hero__btn {
	--ntm-hb-dur: 300ms;
	--ntm-hb-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ntm-hb-hi: 1;

	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: var(--ntm-hb-width, auto);
	margin: 0;
	padding: 20px 32px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: none;
	color: #FFFFFF;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.3px;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	min-width: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		color var(--ntm-hb-dur) var(--ntm-hb-ease),
		border-color var(--ntm-hb-dur) var(--ntm-hb-ease),
		box-shadow var(--ntm-hb-dur) var(--ntm-hb-ease),
		transform var(--ntm-hb-dur) var(--ntm-hb-ease);
}

/* The hover background lives on its own layer so it can fade or sweep (gradients too). */
.ntm-hero .ntm-hero__btn-fill {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background-color: #FFFFFF;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity var(--ntm-hb-dur) var(--ntm-hb-ease),
		transform var(--ntm-hb-dur) var(--ntm-hb-ease);
}

.ntm-hero .ntm-hero__btn-label,
.ntm-hero .ntm-hero__btn-icon { position: relative; }

.ntm-hero .ntm-hero__btn-icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	transition: transform var(--ntm-hb-dur) var(--ntm-hb-ease), color var(--ntm-hb-dur) var(--ntm-hb-ease);
}
.ntm-hero .ntm-hero__btn-icon--arrow { font-weight: 400; font-size: 1.35em; margin: -0.15em 0 -0.15em -0.15em; } /* Large thin arrow without growing the button; trims the glyph's built-in left space. */
.ntm-hero .ntm-hero__btn-icon svg { width: 1em; height: 1em; fill: currentColor; }
.ntm-hero .ntm-hero__btn--icon-before .ntm-hero__btn-icon { order: -1; }
.ntm-hero .ntm-hero__btn--icon-before .ntm-hero__btn-icon--arrow { margin: -0.15em -0.15em -0.15em 0; }

/* ---------- Hover / focus ---------- */
.ntm-hero a.ntm-hero__btn:hover,
.ntm-hero a.ntm-hero__btn:focus-visible,
.ntm-hero a.ntm-hero__btn:active {
	color: #00355E;
	border-color: #FFFFFF;
	text-decoration: none;
}
.ntm-hero a.ntm-hero__btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

.ntm-hero a.ntm-hero__btn:hover .ntm-hero__btn-fill,
.ntm-hero a.ntm-hero__btn:focus-visible .ntm-hero__btn-fill,
.ntm-hero a.ntm-hero__btn:active .ntm-hero__btn-fill { opacity: 1; transform: none; }

/* Fill styles: the layer is fully opaque and revealed by scaling instead of fading. */
.ntm-hero .ntm-hero__btn--fill-sweep-right .ntm-hero__btn-fill { opacity: 1; transform: scaleX(0); transform-origin: left center; }
.ntm-hero .ntm-hero__btn--fill-sweep-left  .ntm-hero__btn-fill { opacity: 1; transform: scaleX(0); transform-origin: right center; }
.ntm-hero .ntm-hero__btn--fill-sweep-up    .ntm-hero__btn-fill { opacity: 1; transform: scaleY(0); transform-origin: center bottom; }
.ntm-hero .ntm-hero__btn--fill-sweep-down  .ntm-hero__btn-fill { opacity: 1; transform: scaleY(0); transform-origin: center top; }
.ntm-hero .ntm-hero__btn--fill-center      .ntm-hero__btn-fill { opacity: 1; transform: scale(0, 1); transform-origin: center; }
.ntm-hero .ntm-hero__btn--fill-instant,
.ntm-hero .ntm-hero__btn--fill-instant .ntm-hero__btn-fill { transition-duration: 0s; }

/* "Disable link": a plain label — no pointer, no hover change. */
.ntm-hero .ntm-hero__btn--static { cursor: default; }

/* ---------- Motion ---------- */
.ntm-hero .ntm-hero__btn {
	--ntm-hb-grow: calc(1 + 0.04 * var(--ntm-hb-hi));
	--ntm-hb-shrink: calc(1 - 0.04 * var(--ntm-hb-hi));
	--ntm-hb-move: calc(3px * var(--ntm-hb-hi));
	--ntm-hb-turn: calc(3deg * var(--ntm-hb-hi));
	--ntm-hb-slide: calc(4px * var(--ntm-hb-hi));
}
.ntm-hero .ntm-hero__btn--fx-bounce { transition-timing-function: cubic-bezier(0.34, 1.8, 0.64, 1); }

/* Keyboard focus always shows the motion. */
.ntm-hero a.ntm-hero__btn--fx-grow:focus-visible      { transform: scale(var(--ntm-hb-grow)); }
.ntm-hero a.ntm-hero__btn--fx-shrink:focus-visible    { transform: scale(var(--ntm-hb-shrink)); }
.ntm-hero a.ntm-hero__btn--fx-lift:focus-visible,
.ntm-hero a.ntm-hero__btn--fx-bounce:focus-visible    { transform: translateY(calc(var(--ntm-hb-move) * -1)); }
.ntm-hero a.ntm-hero__btn--fx-sink:focus-visible      { transform: translateY(var(--ntm-hb-move)); }
.ntm-hero a.ntm-hero__btn--fx-lift-grow:focus-visible { transform: translateY(calc(var(--ntm-hb-move) * -1)) scale(var(--ntm-hb-grow)); }
.ntm-hero a.ntm-hero__btn--fx-tilt:focus-visible      { transform: rotate(calc(var(--ntm-hb-turn) * -1)); }
.ntm-hero a.ntm-hero__btn--icon-slide:focus-visible .ntm-hero__btn-icon { transform: translateX(var(--ntm-hb-slide)); }
.ntm-hero a.ntm-hero__btn--icon-back:focus-visible  .ntm-hero__btn-icon { transform: translateX(calc(var(--ntm-hb-slide) * -1)); }
.ntm-hero a.ntm-hero__btn--icon-up:focus-visible    .ntm-hero__btn-icon { transform: translateY(calc(var(--ntm-hb-slide) * -1)); }
.ntm-hero a.ntm-hero__btn--icon-rotate:focus-visible .ntm-hero__btn-icon { transform: rotate(calc(var(--ntm-hb-turn) * 15)); }

/* Mouse hover — only on devices that truly hover (no stuck effects after a tap). */
@media (hover: hover) and (pointer: fine) {
	.ntm-hero a.ntm-hero__btn--fx-grow:hover      { transform: scale(var(--ntm-hb-grow)); }
	.ntm-hero a.ntm-hero__btn--fx-shrink:hover    { transform: scale(var(--ntm-hb-shrink)); }
	.ntm-hero a.ntm-hero__btn--fx-lift:hover,
	.ntm-hero a.ntm-hero__btn--fx-bounce:hover    { transform: translateY(calc(var(--ntm-hb-move) * -1)); }
	.ntm-hero a.ntm-hero__btn--fx-sink:hover      { transform: translateY(var(--ntm-hb-move)); }
	.ntm-hero a.ntm-hero__btn--fx-lift-grow:hover { transform: translateY(calc(var(--ntm-hb-move) * -1)) scale(var(--ntm-hb-grow)); }
	.ntm-hero a.ntm-hero__btn--fx-tilt:hover      { transform: rotate(calc(var(--ntm-hb-turn) * -1)); }
	.ntm-hero a.ntm-hero__btn--fx-pulse:hover     { animation: ntm-hb-pulse calc(var(--ntm-hb-dur) * 4) cubic-bezier(0.45, 0, 0.55, 1) infinite; }
	.ntm-hero a.ntm-hero__btn--fx-float:hover     { animation: ntm-hb-float calc(var(--ntm-hb-dur) * 6) cubic-bezier(0.45, 0, 0.55, 1) infinite; }
	.ntm-hero a.ntm-hero__btn--fx-wiggle:hover    { animation: ntm-hb-wiggle calc(var(--ntm-hb-dur) * 2.4) cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
	.ntm-hero a.ntm-hero__btn--fx-wobble:hover    { animation: ntm-hb-wobble calc(var(--ntm-hb-dur) * 3) cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
	.ntm-hero a.ntm-hero__btn--fx-jello:hover     { animation: ntm-hb-jello calc(var(--ntm-hb-dur) * 3) cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }

	.ntm-hero a.ntm-hero__btn--icon-slide:hover .ntm-hero__btn-icon  { transform: translateX(var(--ntm-hb-slide)); }
	.ntm-hero a.ntm-hero__btn--icon-back:hover .ntm-hero__btn-icon   { transform: translateX(calc(var(--ntm-hb-slide) * -1)); }
	.ntm-hero a.ntm-hero__btn--icon-up:hover .ntm-hero__btn-icon     { transform: translateY(calc(var(--ntm-hb-slide) * -1)); }
	.ntm-hero a.ntm-hero__btn--icon-rotate:hover .ntm-hero__btn-icon { transform: rotate(calc(var(--ntm-hb-turn) * 15)); }
	.ntm-hero a.ntm-hero__btn--icon-nudge:hover .ntm-hero__btn-icon  { animation: ntm-hb-nudge calc(var(--ntm-hb-dur) * 3) cubic-bezier(0.45, 0, 0.55, 1) infinite; }
}

@keyframes ntm-hb-pulse  { 0%, 100% { transform: scale(1); } 50% { transform: scale(var(--ntm-hb-grow)); } }
@keyframes ntm-hb-float  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(var(--ntm-hb-move) * -1)); } }
@keyframes ntm-hb-nudge  { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(var(--ntm-hb-slide)); } }
@keyframes ntm-hb-wiggle {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(calc(var(--ntm-hb-turn) * -1)); }
	40% { transform: rotate(var(--ntm-hb-turn)); }
	60% { transform: rotate(calc(var(--ntm-hb-turn) * -0.6)); }
	80% { transform: rotate(calc(var(--ntm-hb-turn) * 0.3)); }
}
@keyframes ntm-hb-wobble {
	0%, 100% { transform: none; }
	15% { transform: translateX(calc(var(--ntm-hb-move) * -2)) rotate(calc(var(--ntm-hb-turn) * -1)); }
	30% { transform: translateX(calc(var(--ntm-hb-move) * 1.5)) rotate(calc(var(--ntm-hb-turn) * 0.6)); }
	45% { transform: translateX(calc(var(--ntm-hb-move) * -1)) rotate(calc(var(--ntm-hb-turn) * -0.4)); }
	60% { transform: translateX(calc(var(--ntm-hb-move) * 0.6)) rotate(calc(var(--ntm-hb-turn) * 0.2)); }
	75% { transform: translateX(calc(var(--ntm-hb-move) * -0.3)); }
}
@keyframes ntm-hb-jello {
	0%, 100% { transform: none; }
	22% { transform: skewX(calc(var(--ntm-hb-turn) * -3)); }
	37% { transform: skewX(calc(var(--ntm-hb-turn) * 1.5)); }
	52% { transform: skewX(calc(var(--ntm-hb-turn) * -0.75)); }
	67% { transform: skewX(calc(var(--ntm-hb-turn) * 0.375)); }
	82% { transform: skewX(calc(var(--ntm-hb-turn) * -0.18)); }
}

/* Long labels wrap (instead of overflowing) when a row of buttons is wider than the text box, and on phones. */
.ntm-hero .ntm-hero__buttons .ntm-hero__btn { white-space: normal; max-width: 100%; }
.ntm-hero .ntm-hero__btn-label { min-width: 0; overflow-wrap: break-word; }

@media (prefers-reduced-motion: reduce) {
	.ntm-hero .ntm-hero__btn,
	.ntm-hero .ntm-hero__btn-icon { animation: none !important; transform: none !important; }
	.ntm-hero .ntm-hero__btn-fill { transition-property: opacity; }
}

/* Primary style defaults (solid white). Secondary = the glass look above. */
.ntm-hero .ntm-hero__btn--primary { color: #00355E; background: #FFFFFF; border-color: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ntm-hero a.ntm-hero__btn--primary:hover,
.ntm-hero a.ntm-hero__btn--primary:focus-visible,
.ntm-hero a.ntm-hero__btn--primary:active { color: #FFFFFF; border-color: #6EB8BB; }
.ntm-hero .ntm-hero__btn--primary .ntm-hero__btn-fill { background-color: #6EB8BB; }

/* ---------- Template: Hero + form (1.3.0) ----------
 * Text column + Gravity Form Steps card, inside the same content width.
 * The card's own styles come from the Gravity Form Steps stylesheet.
 */
.ntm-hero--form .ntm-hero__inner {
	--ntm-hero-form-w: 48%;
	--ntm-hero-form-gap: 48px;
	--ntm-hero-form-valign: center;
	--ntm-hero-form-stacked-w: 520px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--ntm-hero-form-w);
	column-gap: var(--ntm-hero-form-gap);
	row-gap: var(--ntm-hero-form-gap);
	align-items: var(--ntm-hero-form-valign);
	container-type: normal;
}
.ntm-hero--form.ntm-hero--form-left .ntm-hero__inner { grid-template-columns: var(--ntm-hero-form-w) minmax(0, 1fr); }
.ntm-hero--form.ntm-hero--form-left .ntm-hero__form { order: -1; }
/* Button rows measure the text column, never spill under the form. */
.ntm-hero--form .ntm-hero__content { container-type: inline-size; }
.ntm-hero--form .ntm-hero__form { position: relative; min-width: 0; }
.ntm-hero .ntm-hero__form .ntm-gfs { max-width: none; margin-left: 0; margin-right: 0; }

@media (max-width: 1024px) {
	.ntm-hero--form.ntm-hero--stack-tablet .ntm-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.ntm-hero--form.ntm-hero--stack-tablet .ntm-hero__form { order: 0; width: 100%; max-width: var(--ntm-hero-form-stacked-w); }
	.ntm-hero--form.ntm-hero--stack-tablet.ntm-hero--stack-form-first .ntm-hero__form { order: -1; }
}
@media (max-width: 767px) {
	.ntm-hero--form.ntm-hero--stack-mobile .ntm-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.ntm-hero--form.ntm-hero--stack-mobile .ntm-hero__form { order: 0; width: 100%; max-width: var(--ntm-hero-form-stacked-w); }
	.ntm-hero--form.ntm-hero--stack-mobile.ntm-hero--stack-form-first .ntm-hero__form { order: -1; }
	.ntm-hero--form.ntm-hero--stack-tablet .ntm-hero__form { max-width: none; }
}

/* ---------- Steps (how it works) + rating line (1.4.0) ----------
 * Defaults live here (the Style controls have none), so heroes without these parts get no extra CSS.
 */
.ntm-hero .ntm-hero__steps {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 31px 0 0;
	padding: 0;
	list-style: none;
}
.ntm-hero .ntm-hero__steps > li { margin: 0; list-style: none; }
.ntm-hero .ntm-hero__steps > li::before,
.ntm-hero .ntm-hero__steps > li::marker { content: none; }
.ntm-hero .ntm-hero__step {
	display: flex;
	align-items: flex-start;
	column-gap: 16px;
	box-sizing: border-box;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 14px;
	background-color: rgba(255, 255, 255, 0.1);
	text-align: left;
}
.ntm-hero .ntm-hero__step-num {
	--ntm-hero-step-num: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: var(--ntm-hero-step-num);
	height: var(--ntm-hero-step-num);
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.92);
	color: #00355E;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ntm-hero .ntm-hero__step-body { min-width: 0; }
.ntm-hero .ntm-hero__step-title {
	margin: 0 0 2px;
	padding: 0;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: -0.2px;
	color: #FFFFFF;
}
.ntm-hero .ntm-hero__step-text {
	margin: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}
.ntm-hero .ntm-hero__step-text a { color: inherit; text-decoration: underline; }

.ntm-hero .ntm-hero__rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 14px;
	row-gap: 6px;
	margin: 36px 0 0;
	padding: 0;
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}
.ntm-hero a.ntm-hero__rating:hover,
.ntm-hero a.ntm-hero__rating:focus-visible { text-decoration: none; opacity: .9; }
.ntm-hero .ntm-hero__stars {
	--ntm-hero-star: #F0C46A;
	--ntm-hero-star-empty: rgba(255, 255, 255, 0.55);
	display: inline-flex;
	gap: 2px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--ntm-hero-star);
}
.ntm-hero .ntm-hero__star--empty { color: var(--ntm-hero-star-empty); }
.ntm-hero .ntm-hero__rating-text {
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.6px;
	color: rgba(255, 255, 255, 0.92);
}
.ntm-hero .ntm-hero__rating-text strong { font-weight: 700; color: #FFFFFF; }

@media (max-width: 767px) {
	.ntm-hero .ntm-hero__step { padding: 16px; column-gap: 14px; }
	.ntm-hero .ntm-hero__step-text { font-size: 14.5px; }
}

/* Hero + form: smaller heading by default (its own typography control). */
.ntm-hero--form .ntm-hero__heading { font-size: 50px; }
@media (max-width: 1024px) { .ntm-hero--form .ntm-hero__heading { font-size: 44px; } }
@media (max-width: 767px) { .ntm-hero--form .ntm-hero__heading { font-size: 34px; } }

/* ---------- Template: Hero + advisor card (1.5.0): same side-column layout as Hero + form ---------- */
.ntm-hero--profile .ntm-hero__inner {
	--ntm-hero-form-w: 48%;
	--ntm-hero-form-gap: 48px;
	--ntm-hero-form-valign: center;
	--ntm-hero-form-stacked-w: 520px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--ntm-hero-form-w);
	column-gap: var(--ntm-hero-form-gap);
	row-gap: var(--ntm-hero-form-gap);
	align-items: var(--ntm-hero-form-valign);
	container-type: normal;
}
.ntm-hero--profile.ntm-hero--profile-left .ntm-hero__inner { grid-template-columns: var(--ntm-hero-form-w) minmax(0, 1fr); }
.ntm-hero--profile.ntm-hero--profile-left .ntm-hero__side { order: -1; }
/* Button rows measure the text column, never spill under the form. */
.ntm-hero--profile .ntm-hero__content { container-type: inline-size; }
.ntm-hero--profile .ntm-hero__side { position: relative; min-width: 0; }

@media (max-width: 1024px) {
	.ntm-hero--profile.ntm-hero--stack-tablet .ntm-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.ntm-hero--profile.ntm-hero--stack-tablet .ntm-hero__side { order: 0; width: 100%; max-width: var(--ntm-hero-form-stacked-w); }
	.ntm-hero--profile.ntm-hero--stack-tablet.ntm-hero--stack-form-first .ntm-hero__side { order: -1; }
}
@media (max-width: 767px) {
	.ntm-hero--profile.ntm-hero--stack-mobile .ntm-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.ntm-hero--profile.ntm-hero--stack-mobile .ntm-hero__side { order: 0; width: 100%; max-width: var(--ntm-hero-form-stacked-w); }
	.ntm-hero--profile.ntm-hero--stack-mobile.ntm-hero--stack-form-first .ntm-hero__side { order: -1; }
	.ntm-hero--profile.ntm-hero--stack-tablet .ntm-hero__side { max-width: none; }
}


/* Eyebrow icon (✓ / ★ / •) — any template. */
.ntm-hero .ntm-hero__eyebrow-icon { display: inline-block; margin-right: 6px; font-weight: 700; letter-spacing: 0; }

/* Hero + advisor card: eyebrow is a glass pill; heading 48px (both are also Style controls). */
.ntm-hero--profile .ntm-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 11.5px 19px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	letter-spacing: 1.6px;
	background-color: rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}
.ntm-hero--profile .ntm-hero__heading { font-size: 48px; }
.ntm-hero--profile .ntm-hero__intro strong { font-weight: 700; color: #FFFFFF; }
.ntm-hero--profile .ntm-hero__btn { padding: 18px 30px; }
@media (max-width: 1024px) { .ntm-hero--profile .ntm-hero__heading { font-size: 42px; } }
@media (max-width: 767px) { .ntm-hero--profile .ntm-hero__heading { font-size: 34px; } }

/* Advisor card */
.ntm-hero .ntm-hero__card {
	display: flex;
	align-items: flex-start;
	column-gap: 18px;
	box-sizing: border-box;
	padding: 28px 30px 30px 26px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	text-align: left;
}
.ntm-hero .ntm-hero__avatar {
	--ntm-hero-avatar: 68px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: var(--ntm-hero-avatar);
	height: var(--ntm-hero-avatar);
	overflow: hidden;
	border: 1px dashed rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.78);
	font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.5px;
}
.ntm-hero .ntm-hero__avatar--photo { border-style: none; }
.ntm-hero .ntm-hero__avatar-img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; border-radius: 0; }
.ntm-hero .ntm-hero__card-body { min-width: 0; }
.ntm-hero .ntm-hero__card-eyebrow {
	margin: 0 0 10px;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.66);
}
.ntm-hero .ntm-hero__card-name {
	margin: 0 0 4px;
	padding: 0;
	font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.2px;
	color: #FFFFFF;
}
.ntm-hero .ntm-hero__card-role {
	margin: 0 0 14px;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.2px;
	color: #B6D9DC;
}
.ntm-hero .ntm-hero__card-text {
	margin: 0;
	font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif;
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.1px;
	color: rgba(255, 255, 255, 0.86);
}
.ntm-hero .ntm-hero__card-text a { color: inherit; text-decoration: underline; }
@media (max-width: 767px) {
	.ntm-hero .ntm-hero__card { padding: 22px 20px 24px; column-gap: 14px; }
	.ntm-hero .ntm-hero__avatar { --ntm-hero-avatar: 56px; }
	.ntm-hero .ntm-hero__card-text { font-size: 15px; }
}

/* Heading line breaks for wide screens only ("Ignore them" on phones). */
@media (max-width: 767px) {
	.ntm-hero .ntm-hero__heading--br-desktop br { display: none; }
	/* Advisor card: picture above the text so the message keeps its width. */
	.ntm-hero .ntm-hero__card { flex-direction: column; row-gap: 14px; }
}

/* ---------- 1.6.0: Standard template, phone layout of the design ----------
 * Buttons as wide as their text, wrapping onto rows; roomier padding and an 18px intro.
 * The repeated classes outrank the per-widget Style settings (Elementor writes those with
 * ~4 classes), so this layout wins on phones unless "Use my Style settings" is chosen.
 * Sizes come from the "Phone layout" controls (CSS variables) or these design values.
 */
@media (max-width: 767px) {
	.ntm-hero.ntm-hero--m-design.ntm-hero--m-design.ntm-hero--m-design.ntm-hero--m-design { padding: var(--ntm-hero-m-pad, 60px 26px 40px 26px); }
	.ntm-hero.ntm-hero--m-design .ntm-hero__content .ntm-hero__intro.ntm-hero__intro { font-size: var(--ntm-hero-m-intro, 18px); line-height: 1.65; }
	.ntm-hero.ntm-hero--m-design .ntm-hero__content .ntm-hero__buttons.ntm-hero__buttons {
		display: flex;
		flex-wrap: wrap;
		justify-content: var(--ntm-hero-justify, flex-start);
		row-gap: var(--ntm-hero-m-gap-y, 9px);
		column-gap: var(--ntm-hero-m-gap-x, 10px);
		width: auto;
		max-width: 100%;
		left: 0;
		transform: none;
	}
	.ntm-hero.ntm-hero--m-design .ntm-hero__buttons .ntm-hero__btn.ntm-hero__btn {
		width: auto;
		max-width: 100%;
		padding: var(--ntm-hero-m-btn-pad, 12px 16px);
		font-size: var(--ntm-hero-m-btn-fs, 13px);
		white-space: normal;
		text-align: center;
	}
}
/* ---------- 1.7.0: "Hero + highlights" template ----------
 * Badges above the heading, a glass highlights bar, buttons and a small link.
 * Values match the design; the Style controls (no defaults) override them.
 */
.ntm-hero .ntm-hero__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 19px;
	margin: 0 0 23px;
	padding: 0;
}
.ntm-hero .ntm-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #C3D3DD;
}
.ntm-hero .ntm-hero__badge-dot {
	display: block;
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	border-radius: 50%;
	background-color: #6EB8BB;
}

.ntm-hero .ntm-hero__highlights {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 12px;
	box-sizing: border-box;
	width: fit-content;
	max-width: 100%;
	margin: 27px 0 0;
	padding: 15px 22px;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.ntm-hero .ntm-hero__highlight {
	--ntm-hero-sep: rgba(255, 255, 255, 0.5);
	--ntm-hero-sep-gap: 16px;
	margin: 0;
	padding: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.3px;
	color: #FFFFFF;
}
.ntm-hero .ntm-hero__highlight::before { content: none; }
.ntm-hero .ntm-hero__highlight:not(:last-child)::after {
	content: "·";
	margin: 0 var(--ntm-hero-sep-gap);
	font-weight: 700;
	color: var(--ntm-hero-sep);
}
.ntm-hero .ntm-hero__highlight a { color: inherit; text-decoration: none; }
.ntm-hero .ntm-hero__highlight a:hover { text-decoration: underline; }

.ntm-hero .ntm-hero__link-wrap { margin: 16px 0 0; padding: 0; }
.ntm-hero .ntm-hero__link {
	display: inline-block;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.2px;
	color: #D6E4EC;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	transition: color .2s ease;
}
.ntm-hero a.ntm-hero__link:hover,
.ntm-hero a.ntm-hero__link:focus-visible { color: #FFFFFF; }

/* Accent (teal) button style — any template, Style = Accent. */
.ntm-hero .ntm-hero__btn--accent {
	color: #FFFFFF;
	background: #6EB8BB;
	border-color: #6EB8BB;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.ntm-hero .ntm-hero__btn--accent .ntm-hero__btn-fill { background-color: #5AA7AA; }
/* Built-in phone icon (✆): drawn a little larger than the text, as in the design. */
.ntm-hero--hl .ntm-hero__btn-icon svg { width: 1.15em; height: 1.15em; }
.ntm-hero a.ntm-hero__btn--accent:hover,
.ntm-hero a.ntm-hero__btn--accent:focus-visible { color: #FFFFFF; border-color: #5AA7AA; }

@media (max-width: 767px) {
	.ntm-hero .ntm-hero__badges { margin-bottom: 21px; }
	.ntm-hero .ntm-hero__link-wrap { margin-top: 13px; }
	/* Balanced lines on phones ("Your Loved One’s / Next Chapter / Begins at Bellaview"). */
	.ntm-hero--hl .ntm-hero__heading,
	.ntm-hero--hl .ntm-hero__intro { text-wrap: balance; }
	.ntm-hero .ntm-hero__highlights { width: 100%; margin-top: 25px; padding: 17px 22px; }
	/* Phones: the last button (the call button) first. */
	.ntm-hero.ntm-hero--hl-reverse-m .ntm-hero__buttons { display: flex; flex-direction: column-reverse; align-items: stretch; }
}
/* ---------- 1.7.1: no extra height on phones ----------
 * Elementor containers wrap their items on phones by default. In a wrapping column the
 * browser first measures each item at its natural width, and "container-type: inline-size"
 * makes that width almost zero — so the hero was measured one word per line (thousands of
 * pixels tall) and the widget kept that height as empty space below the card.
 * Phones don't need the container units (buttons are full width there), so switch them off.
 */
@media (max-width: 767px) {
	.ntm-hero .ntm-hero__inner,
	.ntm-hero .ntm-hero__content { container-type: normal; }
}
/* ---------- 1.7.2: phone number in a button ----------
 * The number has its own <span> ("Call <span>(801) 980-8100</span>"). On phones it stays on one
 * line — never "(801) 980-" / "8100". Desktop and tablet are unchanged.
 */
@media (max-width: 767px) {
	.ntm-hero .ntm-hero__btn-label > span { white-space: nowrap; }
}
