/* =====================================================================
 * Nexus Sections — front-end design system
 * All colors, fonts, radius and width come from CSS variables set inline
 * by the plugin (Settings → Nexus Design), so the whole look is global.
 * ===================================================================== */

.nsx-page {
	--nsx-space: clamp(48px, 8vw, 96px);
	background: var(--nsx-bg);
	color: var(--nsx-text);
	font-family: var(--nsx-font-body);
	font-size: var(--nsx-fs-base, 18px);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.nsx-page h1,
.nsx-page h2,
.nsx-page h3 {
	font-family: var(--nsx-font-heading);
	color: var(--nsx-heading);
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.4em;
	font-weight: 500;
}
/* Sizes derive from the base size × the heading scale (both tokens). */
.nsx-page h3 { font-size: clamp(1.15rem, 2vw, calc(var(--nsx-fs-base, 18px) * var(--nsx-h-scale, 1.25))); }
.nsx-page h2 { font-size: clamp(1.6rem, 3.4vw, calc(var(--nsx-fs-base, 18px) * var(--nsx-h-scale, 1.25) * var(--nsx-h-scale, 1.25))); }
.nsx-page h1 { font-size: clamp(1.95rem, 5vw, calc(var(--nsx-fs-base, 18px) * var(--nsx-h-scale, 1.25) * var(--nsx-h-scale, 1.25) * var(--nsx-h-scale, 1.25))); }
.nsx-page p { margin: 0 0 1em; }
.nsx-page a { color: var(--nsx-primary); }
.nsx-page img { max-width: 100%; height: auto; display: block; }

/* Layout ------------------------------------------------------------- */
.nsx-container {
	width: 100%;
	max-width: var(--nsx-maxw);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 40px);
}
.nsx-section-block { padding-block: var(--nsx-space); }
.nsx-section-block + .nsx-section-block { padding-top: 0; }

/* Breadcrumbs */
.nsx-page .nsx-breadcrumbs { font-size: 0.85rem; color: var(--nsx-muted); padding-block: 16px 0; }
.nsx-page .nsx-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.nsx-page .nsx-breadcrumbs li:not(:last-child)::after { content: "\203A"; margin-left: 6px; color: var(--nsx-border); }
.nsx-page .nsx-breadcrumbs a { color: var(--nsx-primary); text-decoration: none; }
.nsx-page .nsx-breadcrumbs [aria-current="page"] { color: var(--nsx-muted); }

.nsx-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nsx-accent);
	margin-bottom: 14px;
}
.nsx-lead { font-size: 1.2rem; color: var(--nsx-muted); max-width: 62ch; }

/* Buttons ------------------------------------------------------------ */
.nsx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--nsx-btn-pad, 14px 28px);
	border-radius: var(--nsx-btn-radius, 10px);
	/* <button> does not inherit the page font from the browser, so set it here
	 * or link-buttons and button-elements render in two different faces. */
	font-family: var(--nsx-btn-font, var(--nsx-font-body));
	font-weight: var(--nsx-btn-weight, 600);
	text-transform: var(--nsx-btn-transform, none);
	letter-spacing: var(--nsx-btn-spacing, 0);
	font-size: 1rem;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
	border: var(--nsx-btn-border, 1px) solid transparent;
	line-height: 1;
}
.nsx-btn:hover { transform: translateY(-2px); }
/* Hover styles (chosen in Nexus Design → Buttons) */
.nsx-btns--none .nsx-btn:hover { transform: none; }
.nsx-btns--grow .nsx-btn:hover { transform: scale(1.04); }
.nsx-btns--fill .nsx-btn:hover { transform: none; filter: brightness(0.9); }
.nsx-btns--noshadow .nsx-btn,
.nsx-btns--noshadow .nsx-btn:hover { box-shadow: none !important; }
.nsx-btn--primary {
	background: var(--nsx-primary);
	color: var(--nsx-on-primary);
	box-shadow: 0 6px 18px -8px var(--nsx-primary);
}
.nsx-btn--ghost {
	background: transparent;
	color: var(--nsx-heading);
	border-color: var(--nsx-border);
}
.nsx-btn--ghost:hover { border-color: var(--nsx-primary); color: var(--nsx-primary); }
.nsx-btn--accent { background: var(--nsx-accent); color: #fff; }

/* Force button colors to win over theme / Elementor global link styles,
 * which otherwise recolor our <a> buttons. High specificity + !important. */
.nsx-page a.nsx-btn { text-decoration: none; }
.nsx-page a.nsx-btn--primary,
.nsx-page button.nsx-btn--primary { background-color: var(--nsx-primary) !important; color: var(--nsx-on-primary) !important; }
.nsx-page a.nsx-btn--accent,
.nsx-page button.nsx-btn--accent { background-color: var(--nsx-accent) !important; color: #fff !important; }
.nsx-page a.nsx-btn--ghost,
.nsx-page button.nsx-btn--ghost { background-color: transparent !important; color: var(--nsx-heading) !important; }
.nsx-page a.nsx-btn--ghost:hover,
.nsx-page button.nsx-btn--ghost:hover { color: var(--nsx-primary) !important; }
.nsx-page .nsx-hero--background a.nsx-btn--ghost,
.nsx-page .nsx-bg--light-text a.nsx-btn--ghost { color: #fff !important; }

/* Harden non-button link and card text colors the same way — Elementor's
 * global link/text colors otherwise override our token colors. */
.nsx-page a.nsx-card__link,
.nsx-page .nsx-member__links a,
.nsx-page .nsx-prose a,
.nsx-page .nsx-card__link { color: var(--nsx-primary) !important; }
.nsx-page a.nsx-card__link:hover,
.nsx-page .nsx-member__links a:hover { color: var(--nsx-accent) !important; }
.nsx-page .nsx-card h3 { color: var(--nsx-heading) !important; }
.nsx-page .nsx-card p { color: var(--nsx-muted) !important; }
.nsx-page .nsx-eyebrow { color: var(--nsx-accent) !important; }
/* Keep card text readable when the card sits on a dark/brand section */
.nsx-page .nsx-bg--light-text .nsx-card h3 { color: var(--nsx-heading) !important; }
.nsx-page .nsx-bg--light-text .nsx-card p { color: var(--nsx-muted) !important; }

.nsx-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Hero --------------------------------------------------------------- */
.nsx-hero {
	padding-block: clamp(60px, 10vw, 130px);
	min-height: var(--nsx-hero-h, 0px);
	display: flex;
	align-items: center;
	position: relative;
}
.nsx-hero > .nsx-container { width: 100%; }

/* Scroll-down indicator */
.nsx-page .nsx-hero__scroll,
.nsx-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	padding: 10px;
	z-index: 2;
	color: var(--nsx-muted);
}
.nsx-hero--background .nsx-hero__scroll,
.nsx-bg--light-text .nsx-hero__scroll { color: #fff; }
.nsx-hero__chevron {
	display: block;
	width: 15px;
	height: 15px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	animation: nsx-hero-bounce 1.8s ease-in-out infinite;
}
@keyframes nsx-hero-bounce {
	0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.7; }
	50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.nsx-hero__chevron { animation: none; }
}

/* Hero content alignment (page-specific; high specificity to beat layout defaults) */
.nsx-hero.nsx-hero--align-left { text-align: left; }
.nsx-hero.nsx-hero--align-left .nsx-hero__inner { margin-inline: 0 auto; }
.nsx-hero.nsx-hero--align-left .nsx-btn-row { justify-content: flex-start; }
.nsx-hero.nsx-hero--align-center { text-align: center; }
.nsx-hero.nsx-hero--align-center .nsx-hero__inner { margin-inline: auto; }
.nsx-hero.nsx-hero--align-center .nsx-btn-row { justify-content: center; }
.nsx-hero.nsx-hero--align-right { text-align: right; }
.nsx-hero.nsx-hero--align-right .nsx-hero__inner { margin-inline: auto 0; }
.nsx-hero.nsx-hero--align-right .nsx-btn-row { justify-content: flex-end; }

/* Center / right alignment collapses a split (two-column) hero to a single
 * centered/right column so the text block sits where the alignment says —
 * otherwise the text only centers inside the narrow left grid column. A side
 * image, if any, drops below the text. Left alignment keeps the split intact. */
.nsx-hero.nsx-hero--align-center .nsx-hero__grid,
.nsx-hero.nsx-hero--align-right .nsx-hero__grid { grid-template-columns: 1fr; }
.nsx-hero.nsx-hero--align-center .nsx-hero__inner { max-width: 780px; margin-inline: auto; }
.nsx-hero.nsx-hero--align-right .nsx-hero__inner { max-width: 780px; margin-inline: auto 0; }
.nsx-hero.nsx-hero--align-center .nsx-hero__image,
.nsx-hero.nsx-hero--align-right .nsx-hero__image { margin-top: 28px; }
.nsx-hero.nsx-hero--align-center .nsx-hero__image img { margin-inline: auto; }
.nsx-hero.nsx-hero--align-right .nsx-hero__image img { margin-inline: auto 0; }

/* The lead paragraph caps its width for readability (max-width: 62ch). In a
 * centered hero that capped box must also be centered, otherwise it stays
 * anchored left and the sub-text looks off-center under a centered heading. */
.nsx-hero--centered .nsx-lead,
.nsx-hero--background .nsx-lead,
.nsx-hero.nsx-hero--align-center .nsx-lead { margin-inline: auto; }
.nsx-hero.nsx-hero--align-right .nsx-lead { margin-inline: auto 0; }

/* Image focus / position. Both the background layout (background-position) and
 * the image layouts (object-position) read one custom property, so the preset
 * classes and the "Custom" vertical slider (inline --nsx-hero-obj) share a path. */
.nsx-hero__image img { object-position: var(--nsx-hero-obj, 50% 50%); }
.nsx-hero.nsx-pos--top { --nsx-hero-obj: 50% 0%; }
.nsx-hero.nsx-pos--bottom { --nsx-hero-obj: 50% 100%; }
.nsx-hero.nsx-pos--left { --nsx-hero-obj: 0% 50%; }
.nsx-hero.nsx-pos--right { --nsx-hero-obj: 100% 50%; }
.nsx-hero.nsx-pos--top-left { --nsx-hero-obj: 0% 0%; }
.nsx-hero.nsx-pos--top-right { --nsx-hero-obj: 100% 0%; }
.nsx-hero.nsx-pos--bottom-left { --nsx-hero-obj: 0% 100%; }
.nsx-hero.nsx-pos--bottom-right { --nsx-hero-obj: 100% 100%; }
.nsx-hero__image picture { display: block; }

/* Image ratio presets (hero images + Media/Text figures). "original" removes
 * the forced ratio so the picture shows at its natural proportions. !important
 * so the chosen ratio beats each layout's default aspect-ratio (equal specificity). */
.nsx-ar--original img { aspect-ratio: auto !important; object-fit: contain !important; }
.nsx-ar--1-1 img { aspect-ratio: 1 / 1 !important; }
.nsx-ar--4-3 img { aspect-ratio: 4 / 3 !important; }
.nsx-ar--3-2 img { aspect-ratio: 3 / 2 !important; }
.nsx-ar--16-9 img { aspect-ratio: 16 / 9 !important; }
.nsx-ar--21-9 img { aspect-ratio: 21 / 9 !important; }
.nsx-ar--3-4 img { aspect-ratio: 3 / 4 !important; }
.nsx-ar--2-3 img { aspect-ratio: 2 / 3 !important; }

/* Gallery + Cards: vertical focus (object-position) shared via a custom prop,
 * and when a ratio is chosen on Cards the image becomes a full-width banner. */
.nsx-gallery-grid img,
.nsx-cards__grid img { object-position: var(--nsx-obj, 50% 50%); }
.nsx-cards__grid[class*="nsx-ar--"] .nsx-card__icon {
	width: 100%;
	height: auto;
	max-width: none;
	border-radius: calc(var(--nsx-radius) * 0.6);
	object-fit: cover;
	margin-bottom: 6px;
}

.nsx-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}
.nsx-hero__image img {
	width: 100%;
	border-radius: var(--nsx-radius);
	object-fit: cover;
	aspect-ratio: 4 / 3;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}
.nsx-hero__note { margin-top: 16px; font-size: 0.9rem; color: var(--nsx-muted); }

/* Hero layout — Compact (text only, tighter spacing; used by subpages) */
.nsx-hero--compact { padding-block: clamp(36px, 6vw, 72px); }
.nsx-hero--compact .nsx-hero__grid { grid-template-columns: 1fr; }

/* Hero layout — Centered (image below text) */
.nsx-hero--centered { text-align: center; }
.nsx-hero--centered .nsx-hero__grid { grid-template-columns: 1fr; }
.nsx-hero--centered .nsx-hero__inner { max-width: 760px; margin-inline: auto; }
.nsx-hero--centered .nsx-btn-row { justify-content: center; }
.nsx-hero--centered .nsx-hero__image { margin-top: 24px; }
.nsx-hero--centered .nsx-hero__image img { max-width: 980px; margin-inline: auto; aspect-ratio: 16 / 9; }

/* Hero layout — Background (full-bleed image + overlay + light text) */
.nsx-hero--background {
	position: relative;
	background-size: cover;
	background-position: var(--nsx-hero-obj, center);
	text-align: center;
}
.nsx-hero--background .nsx-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(18, 20, 18, calc(var(--nsx-ov, 0.55) * 0.75)), rgba(18, 20, 18, var(--nsx-ov, 0.55)));
}
.nsx-hero--background .nsx-container { position: relative; z-index: 2; }

/* Hero background video */
.nsx-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
	/* Fall back to the poster image (the hero background-image). */
	.nsx-hero__video { display: none; }
}
.nsx-hero--background .nsx-hero__grid {
	grid-template-columns: 1fr;
	align-content: center;
}
/* Background heroes default to a tall band, but honor a set height (global/per-page). */
.nsx-hero--background { min-height: var(--nsx-hero-h, min(70vh, 640px)); }
.nsx-hero--background .nsx-hero__inner { max-width: 820px; margin-inline: auto; }
.nsx-hero--background .nsx-btn-row { justify-content: center; }
.nsx-hero--background h1,
.nsx-hero--background .nsx-hero__note { color: #fff; }
.nsx-hero--background .nsx-lead { color: rgba(255, 255, 255, 0.9); }
.nsx-hero--background .nsx-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.nsx-hero--background .nsx-btn--ghost:hover { border-color: #fff; color: #fff; }

/* Prose (WYSIWYG / intro) ------------------------------------------- */
.nsx-prose { max-width: 68ch; }
.nsx-prose > *:last-child { margin-bottom: 0; }

/* Section: Text ------------------------------------------------------ */
.nsx-text--center { text-align: center; }
.nsx-text--center .nsx-prose { margin-inline: auto; }

/* Section: Media + Text --------------------------------------------- */
.nsx-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}
.nsx-media--right .nsx-media__figure { order: 2; }
.nsx-media__figure img { width: 100%; border-radius: var(--nsx-radius); object-fit: cover; aspect-ratio: 4 / 3; }

/* Media style — Wide (60/40) */
.nsx-media--wide { grid-template-columns: 1.5fr 1fr; }

/* Media style — Stacked (image above, centered) */
.nsx-media--stacked { grid-template-columns: 1fr; text-align: center; }
.nsx-media--stacked .nsx-media__figure { max-width: 900px; margin-inline: auto; }
.nsx-media--stacked .nsx-btn-row { justify-content: center; }

/* Media style — Split (50/50 full-bleed image) */
.nsx-section-block--flush { padding-block: 0; }
.nsx-media--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
}
.nsx-media--split.nsx-media--right .nsx-media__media { order: 2; }
.nsx-media--split .nsx-media__media { position: relative; min-height: clamp(320px, 42vw, 620px); background: var(--nsx-border); }
.nsx-media--split .nsx-media__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nsx-media--split .nsx-media__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(40px, 6vw, 100px);
}
.nsx-media--split .nsx-media__text .nsx-media__body > * { max-width: 560px; }

/* Section: Gallery --------------------------------------------------- */
.nsx-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 28px;
}
.nsx-gallery-grid figure { margin: 0; }
.nsx-gallery-grid img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: calc(var(--nsx-radius) * 0.8);
	transition: transform 0.3s ease;
}
.nsx-gallery-grid a:hover img { transform: scale(1.03); }

/* Gallery style — Masonry (natural heights via CSS columns) */
.nsx-gallery-grid--masonry {
	display: block;
	column-count: 3;
	column-gap: 14px;
}
.nsx-gallery-grid--masonry figure { break-inside: avoid; margin: 0 0 14px; }
.nsx-gallery-grid--masonry img { aspect-ratio: auto; }
@media (max-width: 900px) { .nsx-gallery-grid--masonry { column-count: 2; } }
@media (max-width: 560px) { .nsx-gallery-grid--masonry { column-count: 1; } }

/* Section: Cards ----------------------------------------------------- */
.nsx-cards__head { max-width: 62ch; margin-bottom: 40px; }
.nsx-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
}
.nsx-card {
	background: var(--nsx-surface);
	border: 1px solid var(--nsx-border);
	border-radius: var(--nsx-radius);
	padding: 28px;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nsx-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.3); }
.nsx-card__icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 18px; border-radius: 12px; }
.nsx-card h3 { margin-bottom: 8px; }
.nsx-card p { color: var(--nsx-muted); margin-bottom: 16px; }
.nsx-card__link { margin-top: auto; font-weight: 600; text-decoration: none; }
.nsx-card__link::after { content: " →"; }

/* Cards style — Plain (no card background/border) */
.nsx-cards--plain .nsx-card { background: transparent; border: 0; padding: 0; }
.nsx-cards--plain .nsx-card:hover { transform: none; box-shadow: none; }

/* Cards style — List (image beside text, one per row) */
.nsx-cards--list .nsx-cards__grid { grid-template-columns: 1fr; gap: 16px; }
.nsx-cards--list .nsx-card {
	flex-direction: row;
	align-items: flex-start;
	gap: 22px;
}
.nsx-cards--list .nsx-card__icon { width: 96px; height: 96px; flex: 0 0 96px; object-fit: cover; margin-bottom: 0; }
.nsx-cards--list .nsx-card__link { margin-top: 8px; }
@media (max-width: 560px) { .nsx-cards--list .nsx-card { flex-direction: column; } }

/* Section: Team ------------------------------------------------------ */
.nsx-team__head { max-width: 62ch; margin-bottom: 40px; }
.nsx-team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 28px;
}
.nsx-member { text-align: center; }
.nsx-member__photo { margin: 0 0 16px; }
.nsx-member__photo img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--nsx-radius);
}
.nsx-member__name { margin: 0 0 2px; }
.nsx-member__role { color: var(--nsx-accent); font-weight: 600; margin: 0 0 10px; }
.nsx-member__links { display: flex; gap: 14px; justify-content: center; }
.nsx-member__links a { font-weight: 600; text-decoration: none; font-size: 0.9rem; }

/* Section: Testimonials (slider) ------------------------------------- */
.nsx-testimonials__heading { text-align: center; margin-bottom: 36px; }
.nsx-slider { position: relative; }
.nsx-slider__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.nsx-slider__track::-webkit-scrollbar { display: none; }
.nsx-slide {
	flex: 0 0 100%;
	scroll-snap-align: center;
	margin: 0;
}
.nsx-testimonial {
	text-align: center;
	max-width: 760px;
	margin-inline: auto;
	padding: 8px 8px 16px;
}
.nsx-testimonial blockquote {
	font-family: var(--nsx-font-heading);
	font-size: clamp(1.3rem, 2.6vw, 1.9rem);
	line-height: 1.4;
	color: var(--nsx-heading);
	margin: 0 0 22px;
}
.nsx-testimonial blockquote::before { content: "\201C"; color: var(--nsx-accent); }
.nsx-testimonial blockquote::after { content: "\201D"; color: var(--nsx-accent); }
.nsx-testimonial__by { display: inline-flex; align-items: center; gap: 12px; }
.nsx-testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.nsx-testimonial__by span { display: flex; flex-direction: column; text-align: left; }
.nsx-testimonial__by strong { color: var(--nsx-heading); }
.nsx-testimonial__by em { color: var(--nsx-muted); font-style: normal; font-size: 0.9rem; }
.nsx-slider__nav {
	position: absolute;
	top: 40%;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--nsx-border);
	background: var(--nsx-surface);
	color: var(--nsx-heading);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.nsx-slider__nav:hover { background: var(--nsx-primary); color: var(--nsx-on-primary); border-color: transparent; }
.nsx-slider__prev { left: -8px; }
.nsx-slider__next { right: -8px; }
.nsx-slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.nsx-slider__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: var(--nsx-border);
	cursor: pointer;
}
.nsx-slider__dot.is-active { background: var(--nsx-primary); }
@media (max-width: 700px) {
	.nsx-slider__nav { display: none; }
}

/* Section: CTA ------------------------------------------------------- */
.nsx-cta__inner {
	border-radius: var(--nsx-radius);
	padding: clamp(36px, 6vw, 68px);
	text-align: center;
}
.nsx-cta--solid .nsx-cta__inner { background: var(--nsx-primary); }
.nsx-cta--solid .nsx-cta__inner h2 { color: var(--nsx-on-primary); }
.nsx-cta--solid .nsx-cta__inner p { color: var(--nsx-on-primary); opacity: 0.85; }
.nsx-cta--soft .nsx-cta__inner { background: var(--nsx-surface); border: 1px solid var(--nsx-border); }
.nsx-cta__inner p { max-width: 54ch; margin-inline: auto; }

/* Section: Quote ----------------------------------------------------- */
.nsx-quote { text-align: center; max-width: 820px; margin-inline: auto; }
.nsx-quote blockquote {
	font-family: var(--nsx-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.35;
	color: var(--nsx-heading);
	margin: 0 0 18px;
}
.nsx-quote blockquote::before { content: "\201C"; color: var(--nsx-accent); }
.nsx-quote blockquote::after { content: "\201D"; color: var(--nsx-accent); }
.nsx-quote cite { color: var(--nsx-muted); font-style: normal; font-weight: 600; }

/* Contact ------------------------------------------------------------ */
.nsx-contact__grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(28px, 5vw, 56px);
	align-items: start;
}
.nsx-contact__details {
	background: var(--nsx-surface);
	border: 1px solid var(--nsx-border);
	border-radius: var(--nsx-radius);
	padding: 32px;
}
.nsx-contact__item { margin-bottom: 20px; }
.nsx-contact__item:last-child { margin-bottom: 0; }
.nsx-contact__label {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nsx-accent);
	font-weight: 600;
	margin-bottom: 4px;
}
.nsx-contact__value { font-size: 1.05rem; color: var(--nsx-heading); }
.nsx-contact__value a { text-decoration: none; }
.nsx-contact__map { margin-top: 28px; border-radius: var(--nsx-radius); overflow: hidden; }
.nsx-contact__map iframe { width: 100%; min-height: 320px; border: 0; display: block; }

/* Section: FAQ ------------------------------------------------------- */
.nsx-faq__inner { max-width: 840px; }
.nsx-faq__head { margin-bottom: 32px; }
.nsx-faq__list { display: flex; flex-direction: column; gap: 12px; }
.nsx-faq__item {
	background: var(--nsx-surface);
	border: 1px solid var(--nsx-border);
	border-radius: calc(var(--nsx-radius) * 0.8);
	overflow: hidden;
}
.nsx-faq__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	padding: 18px 22px;
	font-family: var(--nsx-font-heading);
	font-size: 1.1rem;
	color: var(--nsx-heading);
	list-style: none;
}
.nsx-faq__q::-webkit-details-marker { display: none; }
.nsx-faq__icon { position: relative; flex: 0 0 18px; height: 18px; }
.nsx-faq__icon::before,
.nsx-faq__icon::after { content: ""; position: absolute; background: var(--nsx-primary); transition: transform 0.25s ease; }
.nsx-faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.nsx-faq__icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.nsx-faq__item[open] .nsx-faq__icon::after { transform: scaleY(0); }
.nsx-faq__a { padding: 0 22px 20px; color: var(--nsx-muted); }
.nsx-faq__a > *:last-child { margin-bottom: 0; }

/* Section: Stats ----------------------------------------------------- */
.nsx-stats__heading { text-align: center; margin-bottom: 40px; }
.nsx-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 24px;
	text-align: center;
}
.nsx-stat { padding: 16px; }
.nsx-stat__value {
	display: block;
	font-family: var(--nsx-font-heading);
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	color: var(--nsx-primary);
	line-height: 1;
}
.nsx-stat__label { display: block; margin-top: 10px; color: var(--nsx-muted); font-size: 0.95rem; }

/* Section: Steps ----------------------------------------------------- */
.nsx-steps__head { max-width: 62ch; margin-bottom: 40px; }
.nsx-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}
.nsx-step { display: flex; gap: 16px; }
.nsx-step__num {
	flex: 0 0 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nsx-primary);
	color: var(--nsx-on-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--nsx-font-heading);
	font-size: 1.1rem;
}
.nsx-step__body h3 { margin-bottom: 6px; }
.nsx-step__body p { color: var(--nsx-muted); margin: 0; }

/* Section: Logos ----------------------------------------------------- */
.nsx-logos__heading {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	color: var(--nsx-muted);
	margin-bottom: 28px;
}
.nsx-logos__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 5vw, 56px);
}
/* Marquee variant */
.nsx-logos__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nsx-logos__track { display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); width: max-content; animation: nsx-marquee 32s linear infinite; }
.nsx-logos--marquee .nsx-logos__item { flex: 0 0 auto; }
.nsx-logos__marquee:hover .nsx-logos__track { animation-play-state: paused; }
@keyframes nsx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.nsx-logos__track { animation: none; flex-wrap: wrap; justify-content: center; }
}
.nsx-logos__img {
	max-height: 46px;
	width: auto;
	height: auto;
	opacity: 0.65;
	filter: grayscale(1);
	transition: opacity 0.2s ease, filter 0.2s ease;
}
.nsx-logos__item:hover .nsx-logos__img { opacity: 1; filter: none; }

/* Scroll-in reveal (active only once JS adds .nsx-animate) ------------ */
.nsx-animate .nsx-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}
.nsx-animate .nsx-reveal.nsx-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.nsx-animate .nsx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Per-section animation variants (override the default fade-up) */
.nsx-animate .nsx-anim--fade .nsx-reveal { transform: none; }
.nsx-animate .nsx-anim--zoom .nsx-reveal { transform: scale(0.92); }
.nsx-animate .nsx-anim--left .nsx-reveal { transform: translateX(-42px); }
.nsx-animate .nsx-anim--right .nsx-reveal { transform: translateX(42px); }
.nsx-animate :is(.nsx-anim--zoom, .nsx-anim--left, .nsx-anim--right) .nsx-reveal.nsx-in { transform: none; }
.nsx-animate .nsx-anim--none .nsx-reveal { opacity: 1; transform: none; transition: none; }

/* =====================================================================
 * Per-section options: background, width, alignment, parallax
 * ===================================================================== */
.nsx-sec { position: relative; }

/* Per-section padding sizes (top & bottom stay symmetric so content is
 * always vertically centred within the section). Medium is the default. */
.nsx-pad--sm > .nsx-section-block { padding-block: clamp(28px, 4vw, 48px); }
.nsx-pad--lg > .nsx-section-block { padding-block: clamp(80px, 12vw, 160px); }
.nsx-pad--none > .nsx-section-block { padding-block: 0; }

/* Background fills */
.nsx-bg--surface { background: var(--nsx-surface); }
.nsx-bg--tint { background: color-mix(in srgb, var(--nsx-primary) 8%, var(--nsx-bg)); }
.nsx-bg--primary { background: var(--nsx-primary); }
.nsx-bg--dark { background: #17181a; }
.nsx-bg--image { background-size: cover; background-position: center; }
.nsx-bg--image::before { content: ""; position: absolute; inset: 0; background: rgba(18, 20, 18, var(--nsx-ov, 0.5)); }
.nsx-bg--image > * { position: relative; z-index: 1; }

/* Video background */
.nsx-bg--video { background: #17181a; overflow: hidden; }
.nsx-sec__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}
.nsx-sec__vshade { position: absolute; inset: 0; background: rgba(18, 20, 18, 0.5); z-index: 0; }
.nsx-bg--video > .nsx-section-block { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
	/* Respect reduced-motion: hide the moving video, keep the poster/fallback. */
	.nsx-sec__video { display: none; }
}

/* Contact section (reuses the .nsx-contact styles) */
.nsx-contact__head { max-width: 62ch; margin-bottom: 32px; }
.nsx-contact__single { max-width: 520px; }

/* Parallax (viewport-fixed background); disabled on touch / reduced motion */
.nsx-parallax { background-attachment: fixed; }
@media (max-width: 782px) {
	.nsx-parallax { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
	.nsx-parallax { background-attachment: scroll; }
}

/* Light text on dark / brand / image backgrounds */
.nsx-bg--light-text :is(h1, h2, h3) { color: #fff; }
.nsx-bg--light-text :is(p, li, cite, .nsx-stat__label) { color: rgba(255, 255, 255, 0.88); }
.nsx-bg--light-text .nsx-lead { color: rgba(255, 255, 255, 0.9); }
.nsx-bg--light-text .nsx-stat__value { color: #fff; }
/* Reset text back to normal inside surface elements that stay light */
.nsx-bg--light-text :is(.nsx-card, .nsx-faq__item, .nsx-contact__details) :is(h1, h2, h3) { color: var(--nsx-heading); }
.nsx-bg--light-text :is(.nsx-card, .nsx-faq__item, .nsx-contact__details) :is(p, li) { color: var(--nsx-muted); }

/* Alignment */
.nsx-sec--center { text-align: center; }
.nsx-sec--center :is(.nsx-prose, .nsx-cards__head, .nsx-steps__head, .nsx-faq__head) { margin-inline: auto; }
.nsx-sec--center .nsx-btn-row { justify-content: center; }
.nsx-sec--left { text-align: left; }

/* Full-width content */
.nsx-sec--full .nsx-container { max-width: none; }

/* Overlay strength (image/video backgrounds + background hero) */
.nsx-ov--none { --nsx-ov: 0; }
.nsx-ov--light { --nsx-ov: 0.28; }
.nsx-ov--dark { --nsx-ov: 0.72; }

/* Shape dividers — filled with the section's own background color */
.nsx-sec { --nsx-divfill: var(--nsx-bg); }
.nsx-bg--surface { --nsx-divfill: var(--nsx-surface); }
.nsx-bg--tint { --nsx-divfill: color-mix(in srgb, var(--nsx-primary) 8%, var(--nsx-bg)); }
.nsx-bg--primary { --nsx-divfill: var(--nsx-primary); }
.nsx-bg--dark { --nsx-divfill: #17181a; }
.nsx-sec__div {
	position: absolute;
	left: 0;
	width: 100%;
	line-height: 0;
	z-index: 2;
	pointer-events: none;
}
.nsx-sec__div svg { display: block; width: 100%; height: clamp(32px, 6vw, 70px); }
.nsx-sec__div svg path { fill: var(--nsx-divfill); }
.nsx-sec__div--bottom { top: 100%; }
.nsx-sec__div--top { bottom: 100%; transform: scaleY(-1); }

/* Anchor scroll offset (works with smooth scrolling) */
.nsx-sec[id],
.nsx-hero[id] { scroll-margin-top: 24px; }

/* Contact / newsletter form */
.nsx-form__wrap { max-width: 640px; }
.nsx-form-section .nsx-form__wrap { margin-inline: auto; }
.nsx-form__head { margin-bottom: 24px; }
.nsx-form__row { display: flex; gap: 14px; margin-bottom: 14px; }
.nsx-form__row--inline { flex-wrap: nowrap; }
.nsx-form input[type="text"],
.nsx-form input[type="email"],
.nsx-form textarea {
	width: 100%;
	border: 1px solid var(--nsx-border);
	border-radius: calc(var(--nsx-radius) * 0.5);
	padding: 12px 14px;
	background: var(--nsx-surface);
	color: var(--nsx-text);
	font: inherit;
}
.nsx-form textarea { margin-bottom: 16px; resize: vertical; }
.nsx-form input:focus,
.nsx-form textarea:focus { outline: 2px solid var(--nsx-primary); outline-offset: 1px; }
.nsx-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nsx-form__success,
.nsx-form__error {
	border-radius: var(--nsx-radius);
	padding: 18px 20px;
	border: 1px solid var(--nsx-border);
}
.nsx-form__success { background: color-mix(in srgb, var(--nsx-primary) 10%, var(--nsx-surface)); color: var(--nsx-heading); }
.nsx-form__error { background: color-mix(in srgb, #d63638 8%, var(--nsx-surface)); color: #7a1c1d; margin-bottom: 16px; }
@media (max-width: 560px) {
	.nsx-form__row { flex-direction: column; }
	.nsx-form__row--inline { flex-direction: column; }
}

/* Custom HTML / shortcode block */
.nsx-html-section h2 { margin-bottom: 24px; }
.nsx-html > *:last-child { margin-bottom: 0; }
.nsx-html :is(iframe, video, embed) { max-width: 100%; }

/* Accessibility: visible focus ring on interactive elements */
.nsx-page a:focus-visible,
.nsx-page button:focus-visible,
.nsx-page input:focus-visible,
.nsx-page textarea:focus-visible,
.nsx-page select:focus-visible,
.nsx-tabs__tab:focus-visible,
.nsx-slider__nav:focus-visible { outline: 2px solid var(--nsx-primary); outline-offset: 2px; }

/* Section: Blog posts + icon list share a --nsx-cols grid */
.nsx-posts__head, .nsx-iconlist__head, .nsx-pricing__head { max-width: 62ch; margin-bottom: 36px; }
.nsx-posts__grid {
	display: grid;
	grid-template-columns: repeat(var(--nsx-cols, 3), minmax(0, 1fr));
	gap: 24px;
}
.nsx-post-card { background: var(--nsx-surface); border: 1px solid var(--nsx-border); border-radius: var(--nsx-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.nsx-post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.3); }
.nsx-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nsx-post-card__body { padding: 20px 22px; display: flex; flex-direction: column; }
.nsx-post-card__date { font-size: 0.8rem; color: var(--nsx-muted); }
.nsx-post-card h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.nsx-post-card h3 a { text-decoration: none; color: var(--nsx-heading); }
.nsx-post-card p { color: var(--nsx-muted); }

/* Section: Icon / feature list */
.nsx-iconlist__grid { display: grid; grid-template-columns: repeat(var(--nsx-cols, 2), minmax(0, 1fr)); gap: 28px; }
.nsx-feature { display: flex; gap: 16px; }
.nsx-feature__icon img { width: 48px; height: 48px; object-fit: contain; }
.nsx-feature__body h3 { margin: 0 0 6px; }
.nsx-feature__body p { color: var(--nsx-muted); margin: 0; }

/* Section: Pricing */
.nsx-pricing__switch { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 32px; }
.nsx-pricing__switch-label { font-weight: 600; color: var(--nsx-muted); transition: color .2s ease; }
.nsx-pricing__switch-label.is-active { color: var(--nsx-heading); }
.nsx-pricing__switch-btn { position: relative; width: 52px; height: 28px; border-radius: 999px; border: 1px solid var(--nsx-border); background: var(--nsx-surface-2, var(--nsx-surface)); cursor: pointer; padding: 0; flex: 0 0 auto; transition: background .2s ease, border-color .2s ease; }
.nsx-pricing__switch-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--nsx-primary); transition: transform .2s ease; }
.nsx-pricing__switch-btn[aria-pressed="true"] { border-color: var(--nsx-primary); }
.nsx-pricing__switch-btn[aria-pressed="true"] .nsx-pricing__switch-knob { transform: translateX(24px); }
.nsx-pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; }
.nsx-plan { background: var(--nsx-surface); border: 1px solid var(--nsx-border); border-radius: var(--nsx-radius); padding: 30px 26px; display: flex; flex-direction: column; text-align: center; }
.nsx-plan--featured { border-color: var(--nsx-primary); box-shadow: 0 24px 46px -30px var(--nsx-primary); transform: translateY(-6px); }
.nsx-plan__name { margin: 0 0 12px; }
.nsx-plan__price { margin-bottom: 18px; }
.nsx-plan__amount { font-family: var(--nsx-font-heading); font-size: 2.4rem; color: var(--nsx-heading); }
.nsx-plan__period { color: var(--nsx-muted); }
.nsx-plan__features { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nsx-plan__features li { color: var(--nsx-text); }
.nsx-plan__cta { margin-top: auto; }

/* Section: Tabs */
.nsx-tabs__heading { margin-bottom: 24px; }
.nsx-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--nsx-border); margin-bottom: 24px; }
.nsx-tabs__tab { border: 0; background: none; padding: 12px 18px; cursor: pointer; color: var(--nsx-muted); font: inherit; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nsx-tabs__tab.is-active { color: var(--nsx-heading); border-bottom-color: var(--nsx-primary); }
.nsx-tabs__panel[hidden] { display: none; }

/* Section: Video embed */
.nsx-video__head { max-width: 62ch; margin-bottom: 28px; }
.nsx-video-embed { position: relative; border-radius: var(--nsx-radius); overflow: hidden; background: #000; }
.nsx-video-embed.nsx-ratio--16-9 { aspect-ratio: 16 / 9; }
.nsx-video-embed.nsx-ratio--4-3 { aspect-ratio: 4 / 3; }
.nsx-video-embed.nsx-ratio--1-1 { aspect-ratio: 1 / 1; }
.nsx-video-embed iframe, .nsx-video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Section: Before / After */
.nsx-ba__heading { margin-bottom: 24px; }
.nsx-ba { position: relative; border-radius: var(--nsx-radius); overflow: hidden; user-select: none; }
.nsx-ba__img { position: relative; }
.nsx-ba__img img { display: block; width: 100%; }
.nsx-ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 2px solid #fff; }
.nsx-ba__before img { position: absolute; inset: 0; height: 100%; width: auto; max-width: none; }
.nsx-ba__label { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 0.75rem; }
.nsx-ba__label--before { left: 12px; }
.nsx-ba__label--after { right: 12px; }
.nsx-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.nsx-ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.nsx-ba__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }

/* Built-in SVG icons (inherit text color) */
.nsx-card__svg { color: var(--nsx-primary); margin-bottom: 16px; display: inline-flex; }
.nsx-card__svg svg { width: 42px; height: 42px; }
.nsx-cards--list .nsx-card__svg { flex: 0 0 auto; margin-bottom: 0; }
.nsx-feature__svg { color: var(--nsx-primary); }
.nsx-feature__svg svg { width: 40px; height: 40px; }
.nsx-step__num--icon svg { width: 22px; height: 22px; }

/* Section visibility (responsive) */
@media (max-width: 860px) { .nsx-hide-mobile { display: none !important; } }
@media (min-width: 861px) { .nsx-hide-desktop { display: none !important; } }

/* Lightbox */
[data-nsx-lightbox] { cursor: zoom-in; }
.nsx-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, 0.9); display: grid; place-items: center; }
.nsx-lb[hidden] { display: none; }
.nsx-lb__img { max-width: 90vw; max-height: 86vh; border-radius: 6px; }
.nsx-lb__close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }
.nsx-lb__prev, .nsx-lb__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.12); border: 0; color: #fff; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.nsx-lb__prev { left: 20px; }
.nsx-lb__next { right: 20px; }
@media (max-width: 600px) { .nsx-lb__prev, .nsx-lb__next { width: 40px; height: 40px; font-size: 1.4rem; } }

/* Section: Timeline -------------------------------------------------- */
.nsx-timeline__head { max-width: 62ch; margin-bottom: 40px; }
.nsx-timeline__list { list-style: none; margin: 0; padding: 0; position: relative; }
.nsx-timeline__list::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--nsx-border); }
.nsx-timeline__item { position: relative; padding: 0 0 30px 44px; }
.nsx-timeline__item:last-child { padding-bottom: 0; }
.nsx-timeline__dot { position: absolute; left: 3px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--nsx-primary); border: 3px solid var(--nsx-bg); }
.nsx-timeline__date { display: block; color: var(--nsx-accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.nsx-timeline__body h3 { margin: 0 0 4px; }
.nsx-timeline__body p { color: var(--nsx-muted); margin: 0; }

/* Section: Image carousel -------------------------------------------- */
.nsx-carousel__heading { text-align: center; margin-bottom: 30px; }
.nsx-carousel__slide { margin: 0; }
.nsx-carousel__slide img { width: 100%; border-radius: var(--nsx-radius); aspect-ratio: 16 / 9; object-fit: cover; }

/* Section: Countdown ------------------------------------------------- */
.nsx-countdown__timer { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.nsx-countdown__unit { background: var(--nsx-surface); border: 1px solid var(--nsx-border); border-radius: var(--nsx-radius); padding: 16px 20px; min-width: 86px; }
.nsx-countdown__num { display: block; font-family: var(--nsx-font-heading); font-size: clamp(2rem, 5vw, 3rem); color: var(--nsx-heading); line-height: 1; }
.nsx-countdown__lbl { display: block; margin-top: 6px; color: var(--nsx-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.nsx-countdown__done { font-size: 1.4rem; color: var(--nsx-heading); margin-top: 24px; }

/* Section: Map ------------------------------------------------------- */
.nsx-map__heading { margin-bottom: 24px; }
.nsx-map { border-radius: var(--nsx-radius); overflow: hidden; border: 1px solid var(--nsx-border); }
.nsx-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Section: Embed ----------------------------------------------------- */
.nsx-embed__heading { margin-bottom: 24px; }
.nsx-embed { max-width: 820px; margin-inline: auto; }
.nsx-embed :is(iframe, .wp-embedded-content) { max-width: 100%; }

/* Section: Spacer / divider ------------------------------------------ */
.nsx-spacer { width: 100%; display: flex; align-items: center; }
.nsx-spacer .nsx-container { width: 100%; }
.nsx-spacer__line { display: block; height: 1px; width: 100%; background: var(--nsx-border); }

/* Responsive --------------------------------------------------------- */
@media (max-width: 860px) {
	.nsx-posts__grid,
	.nsx-iconlist__grid { grid-template-columns: 1fr; }
	.nsx-hero--split .nsx-hero__grid,
	.nsx-media,
	.nsx-media--split,
	.nsx-contact__grid { grid-template-columns: 1fr; }
	.nsx-hero--split .nsx-hero__image { order: -1; }
	.nsx-media--right .nsx-media__figure,
	.nsx-media--split.nsx-media--right .nsx-media__media { order: -1; }
}
