/* ==========================================================================
   50 — Sections

   The generator emits every band as `.jn-sec` with an optional modifier, and
   every inner as `.jn-shell`. Component rules name the section class, because
   a lone class loses to `.jn-sec p` / `.jn-sec a`.
   ========================================================================== */

.jn-sec,
.wp-site-blocks .jn-sec {
	margin-block: 0;
	padding-block: 5rem;
}

.jn-sec--alt {
	background-color: hsl( var( --jn-background-secondary ) );
}

.jn-sec--cta {
	background: linear-gradient( 135deg, hsl( var( --jn-primary ) / .1 ), hsl( var( --jn-primary ) / .05 ) );
}

.jn-sec--hero,
.wp-site-blocks .jn-sec--hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min( 100vh, 46rem );
	padding-block: 5rem;
	overflow: hidden;
}

/* The hero's first image is its backdrop, not an inline figure. */
.jn-sec--hero > .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: 0;
}

.jn-sec--hero > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jn-sec--hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		105deg,
		hsl( var( --jn-background ) / .94 ) 0%,
		hsl( var( --jn-background ) / .82 ) 45%,
		hsl( var( --jn-background ) / .55 ) 100%
	);
}

.jn-sec--hero > .jn-shell {
	position: relative;
	z-index: 2;
	width: 100%;
}

/* --------------------------------------------------------------------------
   Headings and copy
   -------------------------------------------------------------------------- */

.jn-sec h1 {
	margin: 0 0 1.25rem;
}

.jn-sec h2 {
	margin: 0 0 1rem;
}

.jn-sec h3 {
	margin: 0 0 .75rem;
}

.jn-sec h4 {
	margin: 0 0 .5rem;
	font-family: Inter, system-ui, sans-serif;
	font-size: 1.0625rem;
	font-weight: 600;
}

.jn-sec p {
	margin: 0 0 1rem;
}

.jn-sec p:last-child {
	margin-bottom: 0;
}

.jn-sec .jn-muted {
	color: hsl( var( --jn-muted-foreground ) );
}

.jn-sec .jn-center {
	text-align: center;
}

.jn-sec .jn-center .jn-btnrow {
	justify-content: center;
}

/* Live's .section-heading: gradient gold, serif, centred, 2.25rem — not the
   inherited h2 size. Named at section + class so `.jn-sec h2` cannot repaint
   it. */
.jn-sec h2.jn-sec__title,
.jn-sec h3.jn-sec__title,
.jn-sec .jn-sec__title {
	margin: 0 0 2rem;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
	background: var( --jn-gradient-gold );
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

@media ( min-width: 768px ) {
	.jn-sec h2.jn-sec__title,
	.jn-sec h3.jn-sec__title,
	.jn-sec .jn-sec__title {
		font-size: 2.25rem;
	}
}

/* `.wp-site-blocks .jn-card { margin-block: 0 }` matches at the same weight
   and loads later, so the stack gap has to be named one class deeper or the
   cards sit flush against each other. */
.jn-sec .jn-stack > * + *,
.wp-site-blocks .jn-sec .jn-stack > * + * {
	margin-top: 1rem;
}

/* Gap sizes, from live's own space-y-* scale. */
.wp-site-blocks .jn-sec .jn-stack--1 > * + *  { margin-top: .25rem; }
.wp-site-blocks .jn-sec .jn-stack--2 > * + *  { margin-top: .5rem; }
.wp-site-blocks .jn-sec .jn-stack--3 > * + *  { margin-top: .75rem; }
.wp-site-blocks .jn-sec .jn-stack--4 > * + *  { margin-top: 1rem; }
.wp-site-blocks .jn-sec .jn-stack--6 > * + *  { margin-top: 1.5rem; }
.wp-site-blocks .jn-sec .jn-stack--8 > * + *  { margin-top: 2rem; }
.wp-site-blocks .jn-sec .jn-stack--10 > * + * { margin-top: 2.5rem; }
.wp-site-blocks .jn-sec .jn-stack--12 > * + * { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   Pills — a class plus an element beats a lone class, so the section is named.
   -------------------------------------------------------------------------- */

.jn-sec .jn-pill,
.jn-sec p.jn-pill {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	margin: 0 0 1.5rem;
	padding: .375rem 1rem;
	border: 1px solid hsl( var( --jn-primary ) / .35 );
	border-radius: 999px;
	background-color: hsl( var( --jn-primary ) / .1 );
	color: hsl( var( --jn-primary-text ) );
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Buttons — `.jn-sec a` would otherwise win over `.jn-btn`.
   -------------------------------------------------------------------------- */

.jn-sec .jn-btnrow,
.jn-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin: 1.5rem 0 0;
}

.jn-sec .jn-btn,
.jn-sec a.jn-btn,
.jn-sec button.jn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding-inline: 1.5rem;
	border: 1px solid transparent;
	border-radius: .5rem;
	font-family: inherit;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: var( --jn-transition );
}

.jn-sec .jn-btn--fill,
.jn-sec a.jn-btn--fill,
.jn-sec button.jn-btn--fill {
	background-color: var( --jn-gold-500 );
	color: #111;
}

.jn-sec .jn-btn--fill:hover {
	background-color: var( --jn-gold-400 );
}

.jn-sec .jn-btn--outline,
.jn-sec a.jn-btn--outline,
.jn-sec button.jn-btn--outline {
	border-color: hsl( var( --jn-primary-text ) );
	background-color: transparent;
	color: hsl( var( --jn-primary-text ) );
}

.jn-sec .jn-btn--outline:hover {
	background-color: hsl( var( --jn-primary ) / .12 );
}

.jn-sec .jn-btn--soft,
.jn-sec a.jn-btn--soft,
.jn-sec button.jn-btn--soft {
	background-color: hsl( var( --jn-secondary ) );
	color: hsl( var( --jn-secondary-foreground ) );
}

/* --------------------------------------------------------------------------
   Grids
   -------------------------------------------------------------------------- */

.jn-grid,
.wp-site-blocks .jn-grid {
	display: grid;
	gap: 2rem;
	margin-block: 0;
}

/* Trap 4 — grid children each collect a block-gap margin. */
.jn-grid > *,
.wp-site-blocks .jn-grid > * {
	margin-block: 0;
}

.jn-grid--2 { grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); }
.jn-grid--3 { grid-template-columns: repeat( 3, minmax( 0, 1fr ) ); }
.jn-grid--4 { grid-template-columns: repeat( 4, minmax( 0, 1fr ) ); }
.jn-grid--5 { grid-template-columns: repeat( 5, minmax( 0, 1fr ) ); }
.jn-grid--6 { grid-template-columns: repeat( 6, minmax( 0, 1fr ) ); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.jn-card,
.wp-site-blocks .jn-card {
	box-sizing: border-box;
	margin-block: 0;
	padding: 1.5rem;
	border: 1px solid hsl( var( --jn-primary ) / .2 );
	border-radius: var( --jn-radius );
	background-color: hsl( var( --jn-card ) );
	box-shadow: var( --jn-shadow-card );
	transition: var( --jn-transition );
}

.jn-card--luxury,
.jn-card--product {
	background: linear-gradient( 135deg, hsl( var( --jn-card ) ), hsl( var( --jn-background-secondary ) ) );
}

.jn-card--product:hover,
.jn-card--luxury:hover {
	border-color: hsl( var( --jn-primary ) / .4 );
	box-shadow: var( --jn-shadow-luxury );
	transform: translateY( -2px );
}

.jn-card > *:first-child { margin-top: 0; }
.jn-card > *:last-child { margin-bottom: 0; }

.jn-card .wp-block-image {
	margin: 0 0 1rem;
}

.jn-card .wp-block-image img {
	width: 100%;
	border-radius: .75rem;
}

/* --------------------------------------------------------------------------
   Images and misc
   -------------------------------------------------------------------------- */

.jn-sec .wp-block-image {
	margin-block: 0 1.5rem;
}

.jn-sec .wp-block-image img {
	border-radius: var( --jn-radius );
}

.jn-sec .jn-row {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.jn-sec .jn-mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .8125rem;
	letter-spacing: .02em;
}

.jn-sec .wp-block-list {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.jn-sec .wp-block-list li {
	margin-top: 0;
	margin-bottom: .5rem;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.jn-404 {
	text-align: center;
}

.jn-404 .jn-404__code {
	margin: 0;
	font-size: clamp( 4rem, 12vw, 8rem );
	line-height: 1;
	background: var( --jn-gradient-gold );
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jn-404 .jn-404__title {
	margin-top: 1rem;
}

.jn-404 .jn-404__actions {
	display: flex;
	justify-content: center;
	gap: .75rem;
	margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Live holds four columns from its md tier (768px) up, so a 4-up row keeps
   all four until the nav collapses rather than dropping to three early. */
@media ( max-width: 1024px ) {
	.jn-grid--5,
	.wp-site-blocks .jn-grid--5,
	.jn-grid--6,
	.wp-site-blocks .jn-grid--6 {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 900px ) {
	.jn-sec,
	.wp-site-blocks .jn-sec {
		padding-block: 3.5rem;
	}

	.jn-grid--3,
	.wp-site-blocks .jn-grid--3,
	.jn-grid--4,
	.wp-site-blocks .jn-grid--4,
	.jn-grid--5,
	.wp-site-blocks .jn-grid--5,
	.jn-grid--6,
	.wp-site-blocks .jn-grid--6 {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 640px ) {
	.jn-sec,
	.wp-site-blocks .jn-sec {
		padding-block: 2.5rem;
	}

	.jn-grid,
	.wp-site-blocks .jn-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.jn-grid--2,
	.wp-site-blocks .jn-grid--2,
	.jn-grid--3,
	.wp-site-blocks .jn-grid--3,
	.jn-grid--4,
	.wp-site-blocks .jn-grid--4,
	.jn-grid--5,
	.wp-site-blocks .jn-grid--5,
	.jn-grid--6,
	.wp-site-blocks .jn-grid--6 {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Grid cells

   A grid child that carries no class of its own still has to stay one cell,
   or its image lands in one track and its caption in the next.
   -------------------------------------------------------------------------- */

.jn-cell,
.wp-site-blocks .jn-cell {
	min-width: 0;
	margin-block: 0;
}

.jn-cell > *:first-child { margin-top: 0; }
.jn-cell > *:last-child { margin-bottom: 0; }

.jn-cell .wp-block-image {
	margin: 0 0 .75rem;
}

/* Live caps these thumbnails; unconstrained they dominate the band. */
.jn-cell .wp-block-image img,
.jn-card .wp-block-image img {
	display: block;
	width: 100%;
	max-height: 12rem;
	object-fit: cover;
	border-radius: .5rem;
}

.jn-sec--hero .jn-cell .wp-block-image img,
.jn-sec--hero .jn-card .wp-block-image img {
	max-height: 6rem;
}

.jn-cell p {
	margin: 0 0 .25rem;
}

/* --------------------------------------------------------------------------
   Headline accents

   Live accents the second half of a headline two ways: `gold-text` clips a
   gradient through the glyphs, `text-gold-500` is a flat colour. Both are
   inside a heading, so the section and element are named — `.jn-sec h1` would
   otherwise repaint them.
   -------------------------------------------------------------------------- */

.jn-sec h1 .jn-gold-text,
.jn-sec h2 .jn-gold-text,
.jn-sec h3 .jn-gold-text,
.jn-sec .jn-gold-text {
	background: var( --jn-gradient-gold );
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.jn-sec h1 .jn-gold,
.jn-sec h2 .jn-gold,
.jn-sec h3 .jn-gold,
.jn-sec .jn-gold {
	color: hsl( var( --jn-primary-text ) );
}

/* --------------------------------------------------------------------------
   Page hero — the band carrying the page's h1.

   Live: `py-20 lg:py-32` over a background gradient, copy centred in a
   `max-w-4xl` column. That column is what breaks the headline onto two lines;
   without it the heading runs on one and the band reads far shorter.
   -------------------------------------------------------------------------- */

.jn-sec--pagehero,
.wp-site-blocks .jn-sec--pagehero,
.jn-sec--heroband,
.wp-site-blocks .jn-sec--heroband {
	position: relative;
	padding-block: 5rem;
	overflow: hidden;
	background: linear-gradient(
		135deg,
		hsl( var( --jn-background ) ) 0%,
		hsl( var( --jn-background-secondary ) ) 50%,
		hsl( var( --jn-background ) ) 100%
	);
}

@media ( min-width: 1024px ) {
	.jn-sec--pagehero,
	.wp-site-blocks .jn-sec--pagehero,
	.jn-sec--heroband,
	.wp-site-blocks .jn-sec--heroband {
		padding-block: 8rem;
	}
}

/* Centred below the wide tier, left-aligned above it — live's
   `text-center lg:text-left`. */
.jn-sec .jn-center-sm {
	text-align: center;
}

.jn-sec .jn-center-sm .jn-btnrow {
	justify-content: center;
}

@media ( min-width: 1024px ) {
	.jn-sec .jn-center-sm {
		text-align: left;
	}

	.jn-sec .jn-center-sm .jn-btnrow {
		justify-content: flex-start;
	}
}

/* Heading size now comes from the heading's own `jn-h--*` class, taken from
   live's own `text-Nxl` declaration, so heroes only set rhythm here. */
.jn-sec--pagehero h1,
.jn-sec--heroband h1 {
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.jn-sec--pagehero .jn-narrow > p:not( .jn-pill ):not( .jn-btnrow ) {
	max-width: 48rem;
	margin-inline: auto;
	margin-bottom: 2rem;
	color: hsl( var( --jn-muted-foreground ) );
	font-size: 1.25rem;
	line-height: 1.5;
}

@media ( min-width: 768px ) {
	.jn-sec--pagehero .jn-narrow > p:not( .jn-pill ):not( .jn-btnrow ) {
		font-size: 1.5rem;
	}
}

/* --------------------------------------------------------------------------
   Width-capped columns
   -------------------------------------------------------------------------- */

.jn-narrow,
.wp-site-blocks .jn-narrow {
	margin-inline: auto;
	margin-block: 0;
}

.jn-narrow--2xl { max-width: 42rem; }
.jn-narrow--3xl { max-width: 48rem; }
.jn-narrow--4xl { max-width: 56rem; }
.jn-narrow--5xl { max-width: 64rem; }
.jn-narrow--6xl { max-width: 72rem; }
.jn-narrow--7xl { max-width: 80rem; }

/* --------------------------------------------------------------------------
   Feature icon tile — live's .feature-icon
   -------------------------------------------------------------------------- */

.jn-feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1rem;
	border: 1px solid hsl( var( --jn-primary ) / .2 );
	border-radius: var( --jn-radius );
	background: linear-gradient( 135deg, hsl( var( --jn-primary ) / .1 ), hsl( var( --jn-primary ) / .05 ) );
	color: hsl( var( --jn-primary-text ) );
	transition: transform .3s cubic-bezier( .4, 0, .2, 1 );
}

.jn-feature-icon svg {
	width: 2rem;
	height: 2rem;
}

.jn-card:hover .jn-feature-icon {
	transform: scale( 1.1 );
}

/* --------------------------------------------------------------------------
   Check lists — live draws a gold tick before each item. The mark is identical
   every time, so CSS supplies it and the list stays a real core/list block.
   -------------------------------------------------------------------------- */

.jn-sec .jn-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.jn-sec .jn-checklist li {
	position: relative;
	margin: 0 0 .5rem;
	padding-left: 1.5rem;
	font-size: .875rem;
	line-height: 1.5;
}

.jn-sec .jn-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 1rem;
	height: 1rem;
	background-color: hsl( var( --jn-primary-text ) );
	-webkit-mask: var( --jn-tick ) center / contain no-repeat;
	mask: var( --jn-tick ) center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Band intro — the section heading plus its standfirst.

   Live wraps both in `text-center mb-16`; without that 4rem the cards below
   sat flush against the copy.
   -------------------------------------------------------------------------- */

.jn-sec__intro,
.wp-site-blocks .jn-sec__intro {
	margin-block: 0 4rem;
	text-align: center;
}

.jn-sec .jn-sec__intro > *:last-child {
	margin-bottom: 0;
}

.jn-sec .jn-sec__lede {
	max-width: 48rem;
	margin-inline: auto;
	color: hsl( var( --jn-muted-foreground ) );
	font-size: 1.25rem;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Numbered steps — "How It Works"

   The digit is a filled gold disc on live, not a stray number above the card.
   -------------------------------------------------------------------------- */

.jn-sec .jn-step__num,
.jn-sec p.jn-step__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
	margin: 0 auto 1.5rem;
	border-radius: 999px;
	background-color: hsl( var( --jn-primary ) );
	color: hsl( var( --jn-primary-foreground ) );
	font-family: Inter, system-ui, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

/* --------------------------------------------------------------------------
   FAQ

   Live's Radix accordion ships its answers empty, so these are core/details
   blocks built from the scraped copy — they open without any JavaScript.
   -------------------------------------------------------------------------- */

.jn-faq,
.wp-site-blocks .jn-faq {
	max-width: 52rem;
	margin-inline: auto;
	margin-block: 0;
}

.jn-sec .jn-faq__item {
	margin: 0 0 1rem;
	padding: .25rem 1.5rem;
	border: 1px solid hsl( var( --jn-primary ) / .2 );
	border-radius: var( --jn-radius );
	background-color: hsl( var( --jn-card ) );
	box-shadow: var( --jn-shadow-card );
}

.jn-sec .jn-faq__item:last-child {
	margin-bottom: 0;
}

.jn-sec .jn-faq__item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1rem;
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: hsl( var( --jn-foreground ) );
	cursor: pointer;
	list-style: none;
}

.jn-sec .jn-faq__item > summary::-webkit-details-marker {
	display: none;
}

/* Chevron, rotating on open — live's `[&[data-state=open]>svg]:rotate-180`. */
.jn-sec .jn-faq__item > summary::after {
	content: "";
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	background-color: currentColor;
	-webkit-mask: var( --jn-chevron ) center / contain no-repeat;
	mask: var( --jn-chevron ) center / contain no-repeat;
	transition: transform .2s ease;
}

.jn-sec .jn-faq__item[ open ] > summary {
	color: hsl( var( --jn-primary-text ) );
}

.jn-sec .jn-faq__item[ open ] > summary::after {
	transform: rotate( 180deg );
}

.jn-sec .jn-faq__item > summary:hover {
	color: hsl( var( --jn-primary-text ) );
}

.jn-sec .jn-faq__item p {
	margin: 0;
	padding-bottom: 1rem;
	color: hsl( var( --jn-muted-foreground ) );
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Spacing carried over from live's margin utilities

   Emitted only where a container maps to nothing else, so its spacing would
   otherwise be lost when the wrapper is flattened away.
   -------------------------------------------------------------------------- */

.jn-sec .jn-mb-4,
.wp-site-blocks .jn-sec .jn-mb-4 { margin-block: 0 1rem; }

.jn-sec .jn-mb-6,
.wp-site-blocks .jn-sec .jn-mb-6 { margin-block: 0 1.5rem; }

.jn-sec .jn-mb-8,
.wp-site-blocks .jn-sec .jn-mb-8 { margin-block: 0 2rem; }

.jn-sec .jn-mb-12,
.wp-site-blocks .jn-sec .jn-mb-12 { margin-block: 0 3rem; }

.jn-sec .jn-mb-16,
.wp-site-blocks .jn-sec .jn-mb-16 { margin-block: 0 4rem; }

/* A CTA row inside one of those wrappers already has the wrapper's gap. */
.jn-sec [ class*="jn-mb-" ] > .jn-btnrow:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Heading sizes, taken from live's own `text-Nxl` declarations

   Live sets a size per heading rather than per level, and it differs between
   pages — the Services hero runs to text-7xl, Trade Shows' to text-6xl. Each
   is fluid down to a sensible floor.
   -------------------------------------------------------------------------- */

.jn-sec .jn-h--xl   { font-size: 1.25rem; }
.jn-sec .jn-h--2xl  { font-size: clamp( 1.25rem, 2vw, 1.5rem ); }
.jn-sec .jn-h--3xl  { font-size: clamp( 1.5rem, 2.4vw, 1.875rem ); }
.jn-sec .jn-h--4xl  { font-size: clamp( 1.75rem, 3vw, 2.25rem ); }
.jn-sec .jn-h--5xl  { font-size: clamp( 2rem, 4vw, 3rem ); }
.jn-sec .jn-h--6xl  { font-size: clamp( 2.25rem, 4.6vw, 3.75rem ); }
.jn-sec .jn-h--7xl  { font-size: clamp( 2.25rem, 5.2vw, 4.5rem ); }

/* --------------------------------------------------------------------------
   Page shell for stacked blocks

   Trade Shows stacks its sections inside one `container mx-auto px-4 py-12`
   rather than making each a full-bleed band.
   -------------------------------------------------------------------------- */

.jn-page,
.wp-site-blocks .jn-page {
	margin-block: 0;
	padding-block: 3rem;
}

.jn-sec--block,
.wp-site-blocks .jn-sec--block {
	margin-block: 0 4rem;
	padding-block: 0;
}

.jn-sec--block:last-child,
.wp-site-blocks .jn-sec--block:last-child {
	margin-bottom: 0;
}

/* A block sits inside the page shell already, so its own inner must not
   re-apply the gutter and cap the width a second time. */
.jn-page .jn-sec--block > .jn-shell {
	max-width: none;
	padding-inline: 0;
}

/* --------------------------------------------------------------------------
   Viewport-height hero — live's `h-[70vh]`, over a 50% black wash.
   -------------------------------------------------------------------------- */

.jn-sec--vh70,
.wp-site-blocks .jn-sec--vh70 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
	padding-block: 3rem;
}

.jn-sec--vh70::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: rgba( 0, 0, 0, .5 );
}

.jn-sec--vh70 > * {
	position: relative;
	z-index: 2;
}

/* Live's hero copy is white over that wash regardless of theme. */
.jn-sec--vh70 h1,
.jn-sec--vh70 p {
	color: #fff;
}

/* A page with no bands of its own: the wrapper exists only to carry the
   component scope, so it contributes no band padding. */
.jn-sec--plain,
.wp-site-blocks .jn-sec--plain {
	padding-block: 0;
}

/* Live's reset clears the heading font, so only headings that ask for
   Playfair get it. Everything else — card titles, sidebar labels — is Inter. */
.jn-sec .jn-h--sans,
.jn-sec h1.jn-h--sans,
.jn-sec h2.jn-h--sans,
.jn-sec h3.jn-h--sans,
.jn-sec h4.jn-h--sans {
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   Gold call-to-action band

   Live paints this one with a gold gradient and white text, unlike the tinted
   `from-primary/10` bands which stay on the page background.
   -------------------------------------------------------------------------- */

.jn-band,
.wp-site-blocks .jn-band {
	margin-block: 0;
}

.jn-band--gold,
.wp-site-blocks .jn-band--gold {
	padding-block: 3rem;
	background: linear-gradient( to right, var( --jn-gold-500 ), var( --jn-gold-600 ) );
	color: #fff;
	text-align: center;
}

:root.dark .jn-band--gold {
	background: linear-gradient( to right, var( --jn-gold-600 ), var( --jn-gold-500 ) );
}

/* Everything on the band is white, whatever the theme — it sits on gold. */
.jn-band--gold h1,
.jn-band--gold h2,
.jn-band--gold h3,
.jn-band--gold p,
.jn-sec .jn-band--gold h2,
.jn-sec .jn-band--gold p {
	color: #fff;
}

.jn-sec .jn-band--gold h2 {
	margin: 0 0 1rem;
}

.jn-sec .jn-band--gold p {
	max-width: 42rem;
	margin-inline: auto;
	margin-bottom: 1.5rem;
	color: rgba( 255, 255, 255, .92 );
}

.jn-sec .jn-band--gold .jn-btnrow {
	justify-content: center;
	margin-top: 0;
}

/* The button inverts on the band: white plate, gold label. */
.jn-sec .jn-btn--invert,
.jn-sec a.jn-btn--invert,
.jn-sec button.jn-btn--invert {
	border-color: transparent;
	background-color: #fff;
	color: var( --jn-gold-600 );
	font-weight: 600;
}

.jn-sec .jn-btn--invert:hover {
	background-color: var( --jn-gold-50 );
	color: var( --jn-gold-700 );
}

:root.dark .jn-sec .jn-btn--invert {
	background-color: hsl( var( --jn-background ) );
	color: var( --jn-gold-500 );
}

:root.dark .jn-sec .jn-btn--invert:hover {
	background-color: hsl( var( --jn-muted ) );
}

/* --------------------------------------------------------------------------
   Vertical padding carried over from live's py-* utilities

   Kept on the width-capped containers, so a band removed above one of them
   does not leave its content flush against the header.
   -------------------------------------------------------------------------- */

.jn-py-4,  .wp-site-blocks .jn-py-4  { padding-block: 1rem; }
.jn-py-6,  .wp-site-blocks .jn-py-6  { padding-block: 1.5rem; }
.jn-py-8,  .wp-site-blocks .jn-py-8  { padding-block: 2rem; }
.jn-py-12, .wp-site-blocks .jn-py-12 { padding-block: 3rem; }
.jn-py-16, .wp-site-blocks .jn-py-16 { padding-block: 4rem; }

/* Live alternates band backgrounds down the page: `bg-background` then
   `bg-muted`. Without the alternation the page reads flat, and a dark button
   sitting on one of these bands disappears into it. */
.jn-sec--muted,
.wp-site-blocks .jn-sec--muted {
	background-color: hsl( var( --jn-muted ) );
}

/* Live's other two band treatments: a soft gold wash, and a dark band. */
.jn-sec--goldtint,
.wp-site-blocks .jn-sec--goldtint {
	background: linear-gradient( to bottom right, hsl( var( --jn-primary ) / .08 ), hsl( var( --jn-primary ) / .14 ) );
}

.jn-sec--dark,
.wp-site-blocks .jn-sec--dark {
	background: linear-gradient( to bottom right, var( --jn-luxury-dark ), var( --jn-luxury-darker ) );
}

.jn-sec--dark h1,
.jn-sec--dark h2,
.jn-sec--dark h3,
.jn-sec--dark p,
.jn-sec--dark li {
	color: #fff;
}

.jn-sec--dark .jn-muted,
.jn-sec--dark .jn-sec__lede {
	color: rgba( 255, 255, 255, .72 );
}

/* Top margins, matching the bottom set. */
.jn-mt-4,  .wp-site-blocks .jn-mt-4  { margin-block-start: 1rem; }
.jn-mt-6,  .wp-site-blocks .jn-mt-6  { margin-block-start: 1.5rem; }
.jn-mt-8,  .wp-site-blocks .jn-mt-8  { margin-block-start: 2rem; }
.jn-mt-12, .wp-site-blocks .jn-mt-12 { margin-block-start: 3rem; }
.jn-mt-16, .wp-site-blocks .jn-mt-16 { margin-block-start: 4rem; }

/* Requested divergence: live ends this band 64px below the category chips;
   you asked for more breathing room, so its foot is deepened. */
.jn-sec--goldtint,
.wp-site-blocks .jn-sec--goldtint {
	padding-bottom: 7rem;
}

/* --------------------------------------------------------------------------
   Banner hero — a fixed-height band over a photograph

   Live sets the image in a style attribute on a positioned div and lays a 60%
   black wash over it.
   -------------------------------------------------------------------------- */

.jn-sec--banner,
.wp-site-blocks .jn-sec--banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	padding-block: 3rem;
	overflow: hidden;
}

.jn-sec--banner > .jn-img--backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
}

.jn-sec--banner > .jn-img--backdrop img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	border-radius: 0;
}

.jn-sec--banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: rgba( 0, 0, 0, .6 );
}

.jn-sec--banner > *:not( .jn-img--backdrop ) {
	position: relative;
	z-index: 2;
	width: 100%;
}

/* Copy sits on the photograph, so it is white in either theme. */
.jn-sec--banner h1,
.jn-sec--banner p,
.jn-sec--banner .jn-muted {
	color: #fff;
}

.jn-sec--banner .jn-muted a {
	color: rgba( 255, 255, 255, .8 );
}

/* An accent span marked `block` starts its own line. */
.jn-block {
	display: block;
}
