/*
 * "The Turnpike": Delancey Street lead forms on the njcriminalattorneys.com debt listicles
 * (mu-plugins/njcrim-forms.php). Built on the listicle's own system (Montserrat, copper #C26D28, ink #1a1a1a,
 * warm paper #f7f5f2, line #e5e0da) plus the New Jersey Turnpike: toll gate stripes, a road progress strip
 * with green exit signs, ticket punches and a mile marker slider. Every form sits in a card framed on all
 * four sides (Max: "add borders around the form").
 */

.njf-slot, .njf-closing, .njf-lanebar, .njf-dialog, .njf-page {
	--njf-ink: #1a1a1a;
	--njf-ink-70: rgba(26, 26, 26, .72);
	--njf-ink-50: rgba(26, 26, 26, .55);
	--njf-copper: #C26D28;
	--njf-copper-d: #a85a20;
	--njf-copper-l: #d47a35;
	--njf-copper-10: rgba(194, 109, 40, .10);
	--njf-paper: #f7f5f2;
	--njf-line: #e5e0da;
	--njf-asphalt: #2b2724;
	--njf-sign: #1d5b3a;
	--njf-stripe: #f2c14e;
	--njf-red: #b91c1c;
	--njf-font: 'Montserrat', Arial, sans-serif;
}

/* ---------- base: the framed card ---------- */
.njf-card, .njf-route-card {
	position: relative;
	background: #fff;
	color: var(--njf-ink);
	border: 2px solid var(--njf-ink);
	border-radius: 12px;
	overflow: hidden;
	font-family: var(--njf-font);
	text-align: left;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
	line-height: 1.5;
}
.njf-slot *, .njf-closing *, .njf-lanebar *, .njf-page * { box-sizing: border-box; }
.njf-slot [hidden], .njf-closing [hidden], .njf-lanebar [hidden], .njf-dialog [hidden] { display: none !important; }
.njf-gate {
	height: 7px;
	background: repeating-linear-gradient(135deg, var(--njf-copper) 0 14px, var(--njf-ink) 14px 28px);
}
.njf-in { padding: 20px 22px 18px; }
.njf-slot p, .njf-closing p { margin: 0; color: inherit; }
.njf-slot ol, .njf-slot ul, .njf-closing ol, .njf-closing ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.njf-slot li, .njf-closing li { margin: 0; font-size: inherit; color: inherit; line-height: inherit; }

/* ---------- head ---------- */
.njf-card .njf-bar, .njf-route-card .njf-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--njf-copper-d);
	margin: 0 0 10px;
}
.njf-sign {
	display: inline-block;
	width: 22px;
	height: 16px;
	border-radius: 3px;
	background: var(--njf-sign);
	border: 1.5px solid #fff;
	box-shadow: 0 0 0 1.5px var(--njf-sign);
	position: relative;
	flex: 0 0 auto;
}
.njf-sign::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 3px;
	width: 5px;
	height: 5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
.njf-card .njf-lead {
	font-family: var(--njf-font);
	font-size: 1.22rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.02em;
	text-transform: none;
	color: var(--njf-ink);
	margin: 0 0 6px;
	padding: 0;
	border: 0;
}
.njf-card .njf-lead:focus { outline: none; }
.njf-card .njf-sub { font-size: .88rem; color: var(--njf-ink-70); margin: 0 0 14px; }

/* ---------- toll ticket stub (hero) ---------- */
.njf-stub {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 -22px 14px;
	padding: 8px 22px 10px;
	border-bottom: 2px dashed var(--njf-line);
	background: var(--njf-paper);
}
.njf-stub-k { white-space: nowrap; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--njf-ink); }
.njf-slot .njf-punch { display: flex; gap: 6px; }
.njf-slot .njf-punch li {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid var(--njf-ink);
	background: #fff;
	transition: background .25s ease, box-shadow .25s ease;
}
.njf-slot .njf-punch li.is-punched { background: var(--njf-asphalt); box-shadow: inset 0 0 0 3px var(--njf-copper); }
.njf-punch-t { margin-left: auto; font-size: .7rem; font-weight: 700; color: var(--njf-ink-50); white-space: nowrap; }

/* ---------- the road (progress) ---------- */
.njf-road { margin: 0 0 16px; }
.njf-road-t { font-size: .78rem; color: var(--njf-ink-70); margin: 0 0 8px !important; }
.njf-road-t b { color: var(--njf-ink); }
.njf-lane {
	position: relative;
	height: 12px;
	border-radius: 6px;
	background: var(--njf-asphalt);
	overflow: hidden;
}
.njf-lane::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 5px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--njf-stripe) 0 12px, transparent 12px 22px);
	opacity: .9;
}
.njf-lane span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: calc(8% + var(--njf-run, 0) * 92%);
	background: linear-gradient(90deg, var(--njf-copper-d), var(--njf-copper-l));
	border-radius: 6px;
	transition: width .35s ease;
	opacity: .92;
}
.njf-slot .njf-exits { display: flex; justify-content: space-between; gap: 6px; margin: 8px 0 0; }
.njf-slot .njf-exits li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; text-align: center; }
.njf-slot .njf-exits li:first-child { align-items: flex-start; text-align: left; }
.njf-slot .njf-exits li:last-child { align-items: flex-end; text-align: right; }
.njf-exits b {
	display: inline-block;
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--njf-sign);
	border: 1.5px solid #fff;
	box-shadow: 0 0 0 1.5px var(--njf-sign);
	border-radius: 3px;
	padding: 2px 6px;
	white-space: nowrap;
}
.njf-exits span { font-size: .7rem; color: var(--njf-ink-50); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.njf-exits li.is-here b { background: var(--njf-copper); box-shadow: 0 0 0 1.5px var(--njf-copper); }
.njf-exits li.is-here span { color: var(--njf-ink); }
.njf-exits li.is-done b { background: var(--njf-ink); box-shadow: 0 0 0 1.5px var(--njf-ink); }
.njf-exits li.is-done b::after { content: ' \2713'; }

/* without JS every step shows with its own label; with JS the road says it */
.njf-step-k { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--njf-copper-d); margin: 14px 0 8px !important; }
.njf-step:first-of-type .njf-step-k { margin-top: 0 !important; }
.njf-js .njf-step-k { display: none; }

/* ---------- fields ---------- */
.njf-f { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.njf-f > label, .njf-f > legend {
	display: block;
	font-size: .8rem;
	font-weight: 700;
	color: var(--njf-ink);
	margin: 0 0 6px;
	padding: 0;
	text-transform: none;
	letter-spacing: 0;
}
.njf-f input[type=text], .njf-f input[type=tel], .njf-f input[type=email], .njf-f select, .njf-f textarea {
	display: block;
	width: 100%;
	font: 500 16px/1.3 var(--njf-font);
	color: var(--njf-ink);
	background: #fff;
	border: 2px solid var(--njf-line);
	border-radius: 8px;
	padding: 11px 12px;
	margin: 0;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}
.njf-f select {
	background-image: linear-gradient(45deg, transparent 50%, var(--njf-ink) 50%), linear-gradient(135deg, var(--njf-ink) 50%, transparent 50%);
	background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 34px;
}
.njf-f input:focus, .njf-f select:focus, .njf-f textarea:focus { outline: none; border-color: var(--njf-copper); box-shadow: 0 0 0 3px var(--njf-copper-10); }
.njf-f [aria-invalid=true], .njf-f[aria-invalid=true] .njf-opt span { border-color: var(--njf-red); }
.njf-err { color: var(--njf-red) !important; font-size: .78rem; font-weight: 600; margin: 5px 0 0 !important; }
.njf-err--top { margin: 0 0 10px !important; }
.njf-note {
	font-size: .78rem;
	color: #7c4a10 !important;
	background: #fff7e8;
	border-left: 3px solid var(--njf-stripe);
	padding: 8px 10px;
	margin: -4px 0 12px !important;
	border-radius: 0 6px 6px 0;
}

/* choices: chips, tiles, rows (radio inputs stay in the DOM for keyboard + no JS) */
.njf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.njf-opt { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.njf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.njf-opt span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .84rem;
	font-weight: 600;
	color: var(--njf-ink);
	background: #fff;
	border: 2px solid var(--njf-line);
	border-radius: 999px;
	padding: 8px 14px;
	transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
	line-height: 1.25;
}
.njf-opt:hover span { border-color: var(--njf-copper-l); }
.njf-opt input:focus-visible + span { outline: 2px solid var(--njf-copper); outline-offset: 2px; }
.njf-opt input:checked + span { background: var(--njf-ink); border-color: var(--njf-ink); color: #fff; }
.njf-opt input:checked + span::before { content: '\2713'; color: var(--njf-copper-l); font-weight: 800; }

.njf-tiles .njf-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.njf-tiles .njf-opt { display: block; }
.njf-tiles .njf-opt span {
	display: flex;
	border-radius: 10px;
	padding: 12px 12px;
	min-height: 48px;
	background: var(--njf-paper);
}
.njf-tiles .njf-opt input:checked + span { background: #fff; color: var(--njf-ink); border-color: var(--njf-copper); box-shadow: inset 0 -4px 0 var(--njf-copper); }
.njf-tiles--sm .njf-opt span { min-height: 42px; padding: 9px 10px; font-size: .8rem; }

.njf-rows .njf-opts { display: flex; flex-direction: column; gap: 6px; }
.njf-rows .njf-opt { display: block; }
.njf-rows .njf-opt span { display: flex; border-radius: 8px; padding: 11px 14px; justify-content: space-between; }
.njf-rows .njf-opt span::after { content: '\2192'; color: var(--njf-copper); font-weight: 800; }
.njf-rows .njf-opt input:checked + span { background: var(--njf-ink); color: #fff; }

/* state chips (JS) */
.njf-statechips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.njf-statechip {
	font: 700 .78rem/1 var(--njf-font);
	color: var(--njf-ink);
	background: var(--njf-paper);
	border: 2px solid var(--njf-line);
	border-radius: 999px;
	padding: 8px 12px;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
}
.njf-statechip[aria-pressed=true] { background: var(--njf-sign); border-color: var(--njf-sign); color: #fff; }

/* ---------- mile marker (slider over the band radios) ---------- */
.njf-mile { margin: 2px 0 10px; }
.njf-js .njf-slide .njf-opts { margin-top: 10px; }
.njf-js .njf-slide .njf-opts::before { content: 'Or tap a band'; flex-basis: 100%; font-size: .7rem; font-weight: 700; color: var(--njf-ink-50); }
.njf-js .njf-slide .njf-opt span { font-size: .72rem; padding: 5px 10px; border-width: 1.5px; }
.njf-mile-out {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	background: var(--njf-sign);
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px var(--njf-sign);
	border-radius: 6px;
	padding: 6px 12px;
	margin: 2px 0 14px 2px;
}
.njf-mile-out.is-idle { background: var(--njf-paper); color: var(--njf-ink-70); box-shadow: 0 0 0 2px var(--njf-line); font-size: .9rem; }
.njf-scale { position: relative; padding: 4px 0; }
.njf-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 16px;
	margin: 0;
	border-radius: 8px;
	background:
		repeating-linear-gradient(90deg, var(--njf-stripe) 0 12px, transparent 12px 22px) center / 100% 2px no-repeat,
		var(--njf-asphalt);
	cursor: pointer;
}
.njf-range:focus { outline: none; }
.njf-range:focus-visible { box-shadow: 0 0 0 3px var(--njf-copper-10), 0 0 0 5px var(--njf-copper); }
.njf-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--njf-copper);
	border: 4px solid #fff;
	box-shadow: 0 0 0 2px var(--njf-ink), 0 3px 8px rgba(0, 0, 0, .25);
}
.njf-range::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--njf-copper);
	border: 4px solid #fff;
	box-shadow: 0 0 0 2px var(--njf-ink);
}
.njf-ticks { position: relative; height: 18px; margin: 6px 0 0; }
.njf-slot .njf-ticks li { position: absolute; top: 0; transform: translateX(-50%); font-size: .66rem; font-weight: 700; color: var(--njf-ink-50); }
.njf-slot .njf-ticks li:last-child { transform: translateX(-100%); }
.njf-est { margin: 12px 0 0; padding: 12px 14px; background: var(--njf-paper); border: 2px solid var(--njf-line); border-radius: 10px; }
.njf-est-k { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px !important; }
.njf-est-k span { color: var(--njf-copper-d); }
.njf-slot .njf-zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin: 0 0 8px; padding: 0; }
.njf-slot .njf-zones li { font-size: .6rem; font-weight: 700; text-align: center; padding: 6px 2px; background: #fff; border: 1.5px solid var(--njf-line); color: var(--njf-ink-50); border-radius: 4px; }
.njf-slot .njf-zones li.is-on { background: var(--njf-copper); border-color: var(--njf-copper); color: #fff; }
.njf-est-t { font-size: .82rem; color: var(--njf-ink-70) !important; }
.njf-est-t b { color: var(--njf-ink); }
.njf-est-em { font-size: .7rem; font-weight: 700; color: var(--njf-ink-50) !important; margin-top: 6px !important; }

/* ---------- reward, nav, consent, submit ---------- */
.njf-reward {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	font-size: .8rem;
	color: var(--njf-ink-70) !important;
	background: var(--njf-paper);
	border-left: 4px solid var(--njf-copper);
	border-radius: 0 8px 8px 0;
	padding: 9px 12px;
	margin: 2px 0 12px !important;
	animation: njf-pop .35s ease;
}
.njf-reward b { color: var(--njf-ink); }
.njf-reward em { display: block; flex-basis: 100%; font-style: normal; font-size: .7rem; font-weight: 700; color: var(--njf-ink-50); margin-top: 3px; }
.njf-shield {
	display: inline-block;
	width: 14px;
	height: 16px;
	background: var(--njf-copper);
	border-radius: 2px 2px 7px 7px;
	position: relative;
	top: 2px;
	flex: 0 0 auto;
}
.njf-shield::after { content: '\2713'; position: absolute; left: 0; right: 0; top: -1px; text-align: center; color: #fff; font-size: 10px; font-weight: 800; }
@keyframes njf-pop { from { transform: translateY(4px); opacity: 0; } to { transform: none; opacity: 1; } }

.njf-nav, .njf-submit-row { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; }
.njf-slot button, .njf-closing button { font-family: var(--njf-font); text-transform: none; letter-spacing: 0; }
.njf-next, .njf-submit {
	flex: 1 1 auto;
	font: 800 .95rem/1.2 var(--njf-font);
	color: #fff;
	background: var(--njf-ink);
	border: 2px solid var(--njf-ink);
	border-radius: 999px;
	padding: 14px 20px;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.njf-submit { background: var(--njf-copper); border-color: var(--njf-copper); }
.njf-next:hover { background: #333; }
.njf-submit:hover { background: var(--njf-copper-d); border-color: var(--njf-copper-d); transform: scale(1.01); }
.njf-submit:disabled { opacity: .6; cursor: wait; }
.njf-back { font: 700 .85rem/1 var(--njf-font); color: var(--njf-ink-70); background: none; border: 0; padding: 12px 6px; cursor: pointer; text-decoration: underline; }
.njf-consent-wrap { margin: 4px 0 10px; }
.njf-consent { font-size: .68rem !important; line-height: 1.5 !important; color: var(--njf-ink-50) !important; }
.njf-consent a, .njf-card .njf-consent a { color: var(--njf-ink-70); text-decoration: underline; }
.njf-status { font-size: .8rem; font-weight: 600; color: var(--njf-red) !important; margin-top: 8px !important; }
.njf-status:empty { display: none; }
.njf-card .njf-alt { margin: 12px 0 0; font-size: .85rem; font-weight: 700; }
.njf-card .njf-alt a, .njf-route-card .njf-alt a { color: var(--njf-copper-d); text-decoration: none; }
.njf-card .njf-alt a:hover { text-decoration: underline; }
.njf-fine { font-size: .7rem !important; color: var(--njf-ink-50) !important; margin-top: 8px !important; }
.njf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* confirmation */
.njf-done { padding: 6px 0 4px; }
.njf-done:focus { outline: none; }
.njf-done-k { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--njf-sign) !important; margin: 0 0 8px !important; }
.njf-thanks { font-size: .95rem; color: var(--njf-ink) !important; }
.njf-thanks a { color: var(--njf-copper-d); font-weight: 700; }

/* ---------- 1. hero: the toll ticket ---------- */
.l-hero.njf-hero-on .njf-slot--ticket { position: relative; z-index: 2; max-width: 560px; margin: 36px auto 0; }
.njf-card--hero { border-color: #fff; box-shadow: 0 0 0 2px var(--njf-ink), 0 18px 40px rgba(0, 0, 0, .35); }
@media (min-width: 1200px) {
	.l-hero.njf-hero-on { padding: 64px 0 64px; }
	.l-hero.njf-hero-on > .l-container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 420px;
		column-gap: 56px;
		align-items: center;
		max-width: 1240px;
	}
	.l-hero.njf-hero-on > .l-container > * { grid-column: 1; }
	.l-hero.njf-hero-on > .l-container > .njf-slot--ticket { grid-column: 2; grid-row: 1 / span 6; margin: 0; max-width: none; align-self: center; }
}

/* The listicle stylesheets force every paragraph and link inside .listicle-wrap (and the hero) to one color with
   !important (".listicle-page .listicle-wrap p", ".listicle-page .l-hero p", "... a"). Our cards sit inside that
   wrapper, so their own colors are restated here with a stronger selector. */
.listicle-page .listicle-wrap .njf-card p, .listicle-page .listicle-wrap .njf-route-card p { color: var(--njf-ink-70) !important; text-align: left !important; }
.listicle-page .listicle-wrap .njf-card p.njf-lead, .listicle-page .listicle-wrap .njf-card p.njf-thanks, .listicle-page .listicle-wrap .njf-route-card p.njf-thanks { color: var(--njf-ink) !important; }
.listicle-page .listicle-wrap .njf-card p.njf-bar, .listicle-page .listicle-wrap .njf-route-card p.njf-bar, .listicle-page .listicle-wrap .njf-card p.njf-step-k, .listicle-page .listicle-wrap .njf-route-card p.njf-step-k { color: var(--njf-copper-d) !important; }
.listicle-page .listicle-wrap .njf-card p.njf-err, .listicle-page .listicle-wrap .njf-route-card p.njf-err, .listicle-page .listicle-wrap .njf-card p.njf-status, .listicle-page .listicle-wrap .njf-route-card p.njf-status { color: var(--njf-red) !important; }
.listicle-page .listicle-wrap .njf-card p.njf-note, .listicle-page .listicle-wrap .njf-route-card p.njf-note { color: #7c4a10 !important; }
.listicle-page .listicle-wrap .njf-card p.njf-consent, .listicle-page .listicle-wrap .njf-route-card p.njf-consent, .listicle-page .listicle-wrap .njf-card p.njf-fine, .listicle-page .listicle-wrap .njf-route-card p.njf-fine, .listicle-page .listicle-wrap .njf-card p.njf-est-em { color: var(--njf-ink-50) !important; }
.listicle-page .listicle-wrap .njf-card p.njf-done-k, .listicle-page .listicle-wrap .njf-route-card p.njf-done-k { color: var(--njf-sign) !important; }
.listicle-page .listicle-wrap .njf-card .njf-consent a, .listicle-page .listicle-wrap .njf-route-card .njf-consent a { color: var(--njf-ink-70) !important; }
.listicle-page .listicle-wrap .njf-card .njf-alt a { color: var(--njf-copper-d) !important; }
.listicle-page .listicle-wrap .njf-closing p.njf-close-k { color: var(--njf-copper-l) !important; }
.listicle-page .listicle-wrap .njf-closing p.njf-close-p { color: rgba(255, 255, 255, .78) !important; text-align: left !important; }
.listicle-page .listicle-wrap .njf-closing a.njf-close-call { color: #fff !important; }
.listicle-page .listicle-wrap .njf-closing a.njf-close-call:hover { color: var(--njf-ink) !important; }
.listicle-page .listicle-wrap .njf-slot ol, .listicle-page .listicle-wrap .njf-slot ul, .listicle-page .listicle-wrap .njf-closing ol, .listicle-page .listicle-wrap .njf-closing ul { list-style: none; padding: 0; }
.listicle-page .listicle-wrap .njf-slot li { margin: 0; line-height: inherit; }
.listicle-page .listicle-wrap .njf-slot .njf-exits li, .listicle-page .listicle-wrap .njf-slot .njf-punch li { font-size: inherit; }
@media (min-width: 1200px) {
	.l-hero.njf-hero-on > .l-container > .l-hero__label { justify-self: center; }
}

/* ---------- 2. after the #1 card: first exit ---------- */
.njf-card--wide { margin: -8px 0 32px; }
@media (min-width: 900px) {
	.njf-card--wide .njf-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); column-gap: 32px; padding: 24px 28px 20px; }
	.njf-card--wide .njf-head { grid-column: 1; grid-row: 1 / span 3; border-right: 2px dashed var(--njf-line); padding-right: 28px; }
	.njf-card--wide .njf-body, .njf-card--wide .njf-alt, .njf-card--wide .njf-fine { grid-column: 2; }
	.njf-card--wide .njf-lead { font-size: 1.4rem; }
}

/* ---------- 3. mid article: mile marker ---------- */
.njf-card--mile { margin: 36px 0; border-width: 3px; }
.l-article .njf-card--mile h2.njf-lead { margin: 0 0 6px; padding: 0; border: 0; font-size: 1.25rem; }

/* ---------- 4. closing band: full route ---------- */
.njf-closing {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2319 50%, #1a1a1a 100%);
	color: #fff;
	padding: 64px 0;
	font-family: var(--njf-font);
	border-top: 7px solid transparent;
	border-image: repeating-linear-gradient(135deg, var(--njf-copper) 0 14px, var(--njf-ink) 14px 28px) 7;
}
.njf-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.njf-close-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .njf-close-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.njf-close-k { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--njf-copper-l) !important; margin: 0 0 12px !important; }
.listicle-page .listicle-wrap .njf-closing h2.njf-close-h, .njf-closing h2.njf-close-h {
	color: #fff !important;
	font-family: var(--njf-font);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.03em !important;
	text-transform: none !important;
	margin: 0 0 14px;
}
.njf-close-p { color: rgba(255, 255, 255, .78) !important; font-size: 1rem; margin: 0 0 22px !important; }
.njf-closing .njf-close-map { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; }
.njf-closing .njf-close-map li { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.njf-close-map b { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--njf-sign); border: 1.5px solid #fff; border-radius: 3px; padding: 3px 8px; }
.njf-closing .njf-close-list { margin: 0 0 26px; display: grid; gap: 10px; }
.njf-closing .njf-close-list li { position: relative; padding-left: 28px; font-size: .92rem; color: #fff; margin: 0; }
.njf-closing .njf-close-list li::before { content: '\2713'; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; background: var(--njf-copper); color: #fff; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.njf-close-call { display: inline-flex; align-items: center; font-weight: 800; font-size: .95rem; color: #fff !important; border: 2px solid #fff; border-radius: 999px; padding: 12px 22px; text-decoration: none; }
.njf-close-call:hover { background: #fff; color: var(--njf-ink) !important; }
.njf-route-card { border: 3px solid var(--njf-copper); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }

/* ---------- 5. express lane (sticky bar + panel) ---------- */
.njf-lanebar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	font-family: var(--njf-font);
	transform: translateY(110%);
	transition: transform .3s ease;
}
.njf-lanebar:not(.njf-js), .njf-lanebar.is-shown { transform: none; }
.njf-lanebar.is-retired { display: none; }
.njf-lanebar-in {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 12px 16px;
	background: var(--njf-ink);
	color: #fff;
	border-top: 3px solid var(--njf-copper);
	box-shadow: 0 -8px 24px rgba(0, 0, 0, .3);
}
@media (min-width: 1081px) { .njf-lanebar-in { border-radius: 12px 12px 0 0; border: 2px solid var(--njf-copper); border-bottom: 0; } }
.njf-lanebar-sign { flex: 0 0 auto; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--njf-sign); border: 1.5px solid #fff; border-radius: 3px; padding: 4px 8px; }
.njf-lanebar-t { flex: 1 1 auto; font-size: .9rem; line-height: 1.3; min-width: 0; }
.njf-lanebar-t b { color: var(--njf-copper-l); }
.njf-lanebar-open, .njf-lanebar-call { flex: 0 0 auto; font-weight: 800; font-size: .88rem; border-radius: 999px; padding: 10px 18px; text-decoration: none; white-space: nowrap; }
.njf-lanebar-open { background: var(--njf-copper); color: #fff !important; }
.njf-lanebar-open:hover { background: var(--njf-copper-d); }
.njf-lanebar-call { color: #fff !important; border: 2px solid rgba(255, 255, 255, .7); padding: 8px 14px; }
@media (max-width: 640px) {
	.njf-lanebar-in { gap: 10px; padding: 10px 12px; }
	.njf-lanebar-sign { display: none; }
	.njf-lanebar-t span { display: none; }
	.njf-lanebar-t { font-size: .85rem; }
}
.njf-lane-panel {
	position: fixed;
	right: 24px;
	bottom: 80px;
	width: 400px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 110px);
	overflow-y: auto;
	z-index: 9991;
}
@media (max-width: 640px) { .njf-lane-panel { left: 8px; right: 8px; width: auto; max-width: none; bottom: 70px; max-height: calc(100vh - 90px); } }
.njf-close {
	position: absolute;
	top: 14px;
	right: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid var(--njf-line);
	background: #fff;
	color: var(--njf-ink);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}
.njf-close:hover { border-color: var(--njf-ink); }
.njf-lane-panel .njf-head, .njf-dialog .njf-head { padding-right: 36px; }

/* the theme's own CTAs give way while ours are on (placement off = they come back) */
body.njf-has-bar { padding-bottom: 72px; }
body.njf-has-bar #dsBanner { display: none !important; }
@media (max-width: 1023px) {
	body.njf-has-bar .l-sticky-bar, body.njf-has-bar .mobile-sticky-cta { display: none !important; }
}
body.njf-has-exit #dsPop { display: none !important; }

/* ---------- 6. last exit dialog ---------- */
.njf-dialog { border: 0; padding: 0; margin: auto; background: transparent; width: calc(100% - 32px); max-width: 480px; max-height: calc(100vh - 32px); overflow: visible; }
.njf-dialog::backdrop { background: rgba(10, 10, 10, .62); }
.njf-dialog .njf-card { border-width: 3px; max-height: calc(100vh - 32px); overflow-y: auto; }

/* ---------- no-JS error page ---------- */
.njf-page { margin: 0; background: var(--njf-paper); font-family: var(--njf-font); color: #1a1a1a; }
.njf-page-main { max-width: 560px; margin: 0 auto; padding: 32px 16px 48px; }
.njf-page-msg { font-weight: 700; color: #b91c1c; margin: 0 0 16px; }
.njf-page-back { margin-top: 18px; }
.njf-page-back a { color: #a85a20; font-weight: 700; }

@media (max-width: 480px) {
	.njf-in { padding: 18px 16px 16px; }
	.njf-stub { margin: 0 -16px 14px; padding: 8px 16px 10px; }
	.njf-tiles .njf-opts { grid-template-columns: 1fr; }
	.njf-closing { padding: 48px 0; }
	.njf-wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.njf-lane span, .njf-lanebar, .njf-reward, .njf-opt span { transition: none; animation: none; }
}

/* Layout guard (Nov 22 2026): on phones the listicle's chart grid (.l-charts__grid, one 1fr column) grew to the
   chart boxes' min-content width (429px at a 390px screen), which widened the whole page and pushed our fixed bar,
   panel and dialog off screen. Letting the grid items shrink fixes it; only loaded while the forms are on. */
.listicle-wrap .l-charts__grid > .l-chart-box { min-width: 0; overflow-x: auto; }
/* Same guard for the comparison table (a few px too wide on phones): it scrolls inside its own box. */
.listicle-wrap .l-compare .l-container > div:has(> .l-compare-table) { overflow-x: auto; }

/* Astra 1123 UX (CLS), Nov 23. forms.js runs after first paint; until it marks the slot (.njf-js) the page showed the
   no-JS layout (every step), then collapsed it. When the browser runs scripts, start in the JS layout instead: only
   step 1, and the step-1 Next row and progress strip hold their space (invisible) on multi-step forms. JS off: every
   step shows as before. If forms.js never runs, the other steps come back after 6 s (no-JS layout with the submit). */
@media (scripting: enabled) {
	.njf-slot:not(.njf-js) .njf-step ~ .njf-step { max-height: 0; overflow: hidden; visibility: hidden; animation: njf-nojs-reveal 0s 6s forwards; }
	.njf-slot:not(.njf-js) .njf-step-k { display: none; }
	.njf-slot:not(.njf-js) .njf-step:not(.njf-step ~ .njf-step) .njf-nav[hidden] { display: flex !important; visibility: hidden; }
	.njf-slot:not(.njf-js) form:has(.njf-step ~ .njf-step) .njf-road[hidden] { display: block !important; visibility: hidden; }
}
@keyframes njf-nojs-reveal { to { max-height: none; overflow: visible; visibility: visible; } }

/* Astra 1123 UX, Nov 23: 44px minimum hit areas. Chips, band chips, state chips, small tiles, the lane bar buttons and the
   dialog close grow to 44px; the mile marker slider is a 44px tall input with the visible 16px road painted in its
   content box only; the call line gets an invisible 44px tall ::after (no layout change). */
.njf-opt span, .njf-js .njf-slide .njf-opt span, .njf-tiles--sm .njf-opt span, .njf-rows .njf-opt span { min-height: 44px; box-sizing: border-box; }
.njf-statechip { min-height: 44px; }
.njf-lanebar-open, .njf-lanebar-call { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
.njf-close { width: 44px; height: 44px; top: 9px; right: 7px; }
.njf-range { height: 44px; padding: 14px 0; box-sizing: border-box; background-clip: content-box, content-box; }
.njf-alt a { position: relative; }
.njf-alt a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 48px); transform: translateY(-50%); }
