.njnh-directory,
.njnh-archive,
.njnh-estimator,
.njnh-submission-form,
.njnh-facility-details,
.njnh-compare {
	--njnh-accent: #0b5d4b;
	--njnh-accent-text: #fff;
	--njnh-border: #c8d0d4;
	--njnh-muted: #f4f6f6;
	--njnh-error: #8a1f11;
	--njnh-success: #176b38;
	box-sizing: border-box;
}

.njnh-archive {
	margin-inline: auto;
	max-width: 76rem;
	padding: clamp(1rem, 3vw, 2rem);
}

.njnh-filters,
.njnh-form-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.njnh-filters {
	background: var(--njnh-muted);
	border: 1px solid var(--njnh-border);
	border-radius: .35rem;
	margin-block: 1rem;
	padding: 1rem;
}

.njnh-field,
.njnh-consent {
	display: flex;
	flex-direction: column;
	gap: .35rem;
}

.njnh-field-wide,
.njnh-filter-actions {
	grid-column: 1 / -1;
}

.njnh-field label,
.njnh-consent label {
	font-weight: 600;
}

.njnh-field input,
.njnh-field select,
.njnh-field textarea {
	box-sizing: border-box;
	font: inherit;
	max-width: 100%;
	min-height: 2.75rem;
	padding: .55rem .65rem;
	width: 100%;
}

.njnh-filter-actions,
.njnh-card-actions,
.njnh-compare-bar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
}

.njnh-button {
	background: var(--njnh-accent);
	border: 2px solid var(--njnh-accent);
	border-radius: .25rem;
	color: var(--njnh-accent-text) !important;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-weight: 700;
	line-height: 1.25;
	padding: .65rem 1rem;
	text-decoration: none;
}

.njnh-button:hover {
	filter: brightness(.9);
}

.njnh-button:focus-visible,
.njnh-link-button:focus-visible,
.njnh-directory a:focus-visible,
.njnh-submission-form :focus-visible,
.njnh-estimator :focus-visible,
.njnh-compare :focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.njnh-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

.njnh-card {
	border: 1px solid var(--njnh-border);
	border-radius: .35rem;
	display: flex;
	flex-direction: column;
	padding: 1rem;
}

.njnh-card-image {
	display: block;
	margin: -1rem -1rem 1rem;
}

.njnh-card-image img {
	display: block;
	height: auto;
	max-height: 14rem;
	object-fit: cover;
	width: 100%;
}

.njnh-card-title {
	font-size: 1.25rem;
	margin-block: 0 .5rem;
}

.njnh-card address {
	font-style: normal;
}

.njnh-card-actions {
	justify-content: space-between;
	margin-top: auto;
	padding-top: .75rem;
}

.njnh-compare-choice {
	align-items: center;
	display: inline-flex;
	font-weight: 600;
	gap: .4rem;
}

.njnh-compare-choice input {
	height: 1.15rem;
	width: 1.15rem;
}

.njnh-compare-bar {
	background: #fff;
	border: 1px solid var(--njnh-border);
	bottom: 1rem;
	box-shadow: 0 .25rem 1.25rem rgba(0, 0, 0, .16);
	justify-content: center;
	margin: 1rem auto;
	max-width: 42rem;
	padding: .75rem 1rem;
	position: sticky;
	z-index: 10;
}

.njnh-compare-bar[hidden] {
	display: none;
}

.njnh-link-button {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: .3rem;
	text-decoration: underline;
}

.njnh-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	list-style: none;
	padding: 0;
}

.njnh-pagination a,
.njnh-pagination .current {
	border: 1px solid var(--njnh-border);
	display: inline-block;
	min-width: 2.5rem;
	padding: .45rem .65rem;
	text-align: center;
}

.njnh-details-list > div {
	border-bottom: 1px solid var(--njnh-border);
	display: grid;
	gap: .5rem;
	grid-template-columns: minmax(9rem, 1fr) 2fr;
	padding-block: .65rem;
}

.njnh-details-list dt {
	font-weight: 700;
}

.njnh-details-list dd {
	margin: 0;
}

.njnh-table-scroll {
	overflow-x: auto;
}

.njnh-compare-table {
	border-collapse: collapse;
	min-width: 44rem;
	width: 100%;
}

.njnh-compare-table th,
.njnh-compare-table td {
	border: 1px solid var(--njnh-border);
	padding: .7rem;
	text-align: left;
	vertical-align: top;
}

.njnh-compare-table thead th,
.njnh-compare-table tbody th {
	background: var(--njnh-muted);
}

.njnh-not-indicated,
.njnh-data-note,
.njnh-help,
.njnh-privacy-note {
	color: #4b5357;
}

.njnh-estimator,
.njnh-submission-form,
.njnh-facility-details {
	border: 1px solid var(--njnh-border);
	border-radius: .35rem;
	margin-block: 1.5rem;
	padding: clamp(1rem, 3vw, 1.5rem);
}

.njnh-estimate-result {
	font-size: 1.35rem;
	font-weight: 700;
	min-height: 1.7em;
}

.njnh-assumptions {
	background: var(--njnh-muted);
	margin-block: 1rem;
	padding: 1rem;
}

.njnh-assumptions code {
	white-space: normal;
}

.njnh-disclaimer {
	border-left: .3rem solid var(--njnh-accent);
	padding-left: .75rem;
}

.njnh-country-hub {
	border: 1px solid var(--njnh-border);
	border-radius: .35rem;
	margin-block: 1.5rem;
	padding: clamp(1rem, 3vw, 1.5rem);
}

.njnh-region-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: .35rem 1rem;
	padding-left: 1.25rem;
}

.njnh-region-links a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.njnh-submission-form form > * + * {
	margin-top: 1rem;
}

.njnh-honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

.njnh-notice {
	border-left: .35rem solid;
	margin-block: 1rem;
	padding: .5rem 1rem;
}

.njnh-notice-success {
	background: #eef9f1;
	border-color: var(--njnh-success);
}

.njnh-notice-error {
	background: #fff1ef;
	border-color: var(--njnh-error);
}

.njnh-notice p {
	margin: .35rem 0;
}

.njnh-directory .screen-reader-text,
.njnh-compare .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 35rem) {
	.njnh-details-list > div {
		grid-template-columns: 1fr;
	}

	.njnh-compare-bar {
		bottom: 0;
		margin-inline: -.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.njnh-directory *,
	.njnh-estimator *,
	.njnh-submission-form * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
