/**
 * Nature Scan Journal theme.
 * Desktop layout follows the 1280px design; below 768px it follows the 390px mobile design.
 */

@font-face {
	font-family: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 400 700;
	font-stretch: 100%;
	font-display: swap;
	src: url(../fonts/ibm-plex-sans-latin.woff2) format('woff2');
}
@font-face {
	font-family: 'Spectral';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/spectral-400-latin.woff2) format('woff2');
}
@font-face {
	font-family: 'Spectral';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/spectral-400-italic-latin.woff2) format('woff2');
}
@font-face {
	font-family: 'Spectral';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/spectral-500-latin.woff2) format('woff2');
}
@font-face {
	font-family: 'Spectral';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/spectral-600-latin.woff2) format('woff2');
}
@font-face {
	font-family: 'Spectral';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/spectral-700-latin.woff2) format('woff2');
}

:root {
	--nsj-ink: #2B3825;
	--nsj-text: #4A5244;
	--nsj-muted: #5E6459;
	--nsj-accent: #556D00;
	--nsj-lime: #9CC100;
	--nsj-bg: #F2F1EC;
	--nsj-card: #FFFFFF;
	--nsj-soft: #F8F8F3;
	--nsj-line: #E1DFD5;
	--nsj-line-strong: #C3C7B8;
	--nsj-field-line: #D6D4C8;
	--nsj-icon: #3C5230;
	--nsj-serif: 'Spectral', Georgia, serif;
	--nsj-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--nsj-gutter: 80px;
}

/* ---------- Base ---------- */

html,
body.nsj {
	font-family: var(--nsj-sans);
	background: var(--nsj-bg);
	color: var(--nsj-ink);
}

body.nsj a {
	color: var(--nsj-accent);
}

body.nsj a:hover,
body.nsj a:focus {
	color: var(--nsj-ink);
}

.nsj .pkp_structure_page {
	background: var(--nsj-bg);
}

.nsj-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-left: var(--nsj-gutter);
	padding-right: var(--nsj-gutter);
}

.nsj-mobile-only {
	display: none;
}

.nsj svg {
	flex-shrink: 0;
}

/* ---------- Utility bar ---------- */

.nsj-utility {
	background: var(--nsj-ink);
	color: #C2CBB8;
	font-size: 13px;
}

.nsj-utility__inner {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	letter-spacing: 0.02em;
}

.nsj-utility__links {
	display: flex;
	align-items: center;
	gap: 20px;
	letter-spacing: 0;
}

body.nsj .nsj-utility a {
	color: #C2CBB8;
	text-decoration: none;
}

body.nsj .nsj-utility a:hover,
body.nsj .nsj-utility a:focus {
	color: #FFFFFF;
}

.nsj-utility__sep {
	color: #4E5B45;
}

/* ---------- Masthead ---------- */

.nsj-masthead {
	background: #FFFFFF;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-masthead__inner {
	padding-top: 20px;
	padding-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

body.nsj a.nsj-brand {
	display: flex;
	align-items: center;
	gap: 18px;
	text-decoration: none;
	color: var(--nsj-ink);
}

.nsj-brand__mark {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.nsj .nsj-brand__name {
	display: block;
	margin: 0;
	font-family: var(--nsj-serif);
	font-size: 31px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: var(--nsj-ink);
}

.nsj-brand__meta {
	display: block;
	font-size: 13px;
	color: var(--nsj-muted);
	margin-top: 5px;
	letter-spacing: 0.02em;
}

.nsj-search {
	display: flex;
	align-items: center;
	margin: 0;
}

.nsj-search input {
	width: 268px;
	height: 44px;
	box-sizing: border-box;
	padding: 0 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--nsj-ink);
	background: var(--nsj-bg);
	border: 1px solid var(--nsj-field-line);
	border-right: none;
	border-radius: 4px 0 0 4px;
}

.nsj-search button {
	height: 44px;
	padding: 0 16px;
	border: none;
	border-radius: 0 4px 4px 0;
	background: var(--nsj-ink);
	color: #FFFFFF;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 7px;
}

.nsj-search-row,
.nsj-menu-toggle {
	display: none;
}

/* ---------- Primary navigation ---------- */

.nsj-nav {
	background: #FFFFFF;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-nav__inner {
	height: 52px;
	display: flex;
	align-items: center;
	gap: 30px;
	font-size: 15px;
	font-weight: 500;
}

body.nsj .nsj-nav a {
	color: var(--nsj-ink);
	text-decoration: none;
	padding: 15px 0 13px;
	white-space: nowrap;
}

body.nsj .nsj-nav a:hover,
body.nsj .nsj-nav a:focus {
	color: var(--nsj-accent);
}

body.nsj .nsj-nav a.is-active {
	color: var(--nsj-accent);
	border-bottom: 3px solid var(--nsj-lime);
	padding-bottom: 12px;
}

/* About dropdown */

.nsj-nav__group {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
}

.nsj-nav__parent {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 100%;
	padding: 3px 0 0;
	border: none;
	border-bottom: 3px solid transparent;
	background: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	color: var(--nsj-ink);
	cursor: pointer;
}

.nsj-nav__parent:hover,
.nsj-nav__parent:focus-visible,
.nsj-nav__group.is-open .nsj-nav__parent {
	color: var(--nsj-accent);
}

.nsj-nav__parent.is-active {
	color: var(--nsj-accent);
	border-bottom-color: var(--nsj-lime);
}

.nsj-nav__parent svg {
	transition: transform 0.15s ease;
}

.nsj-nav__group.is-open .nsj-nav__parent svg {
	transform: rotate(180deg);
}

.nsj-nav__menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -16px;
	z-index: 100;
	min-width: 220px;
	margin-top: 1px;
	padding: 6px 0;
	background: #FFFFFF;
	border: 1px solid var(--nsj-line);
	border-radius: 0 0 6px 6px;
	box-shadow: 0 8px 20px rgba(43, 56, 37, 0.10);
}

.nsj-nav__group.is-open .nsj-nav__menu {
	display: block;
}

body.nsj .nsj-nav .nsj-nav__menu a {
	display: block;
	padding: 10px 16px;
	font-size: 14.5px;
	border-bottom: none;
}

body.nsj .nsj-nav .nsj-nav__menu a:hover,
body.nsj .nsj-nav .nsj-nav__menu a:focus {
	background: var(--nsj-soft);
}

body.nsj .nsj-nav .nsj-nav__menu a[aria-current="page"] {
	color: var(--nsj-accent);
	box-shadow: inset 3px 0 0 var(--nsj-lime);
}

/* ---------- Shared homepage pieces ---------- */

.nsj-main {
	display: block;
}

.nsj-home-page h2,
.nsj-home-page h3 {
	font-family: var(--nsj-serif);
	font-weight: 600;
	color: var(--nsj-ink);
}

.nsj-home-page p {
	margin: 0;
}

.nsj-band {
	background: #FFFFFF;
	border-top: 1px solid var(--nsj-line);
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-section {
	padding-top: 64px;
	padding-bottom: 60px;
}

.nsj-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
}

.nsj-section__head--baseline {
	align-items: baseline;
	gap: 24px;
}

.nsj-section__intro {
	max-width: 800px;
}

.nsj-section__intro p,
.nsj-section__lede {
	margin-top: 16px !important;
	max-width: 800px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--nsj-text);
}

.nsj .nsj-h2 {
	margin: 0;
	font-size: 36px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.nsj .nsj-h2--sm {
	font-size: 32px;
}

.nsj .nsj-h3 {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
}

.nsj-kicker {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--nsj-accent);
}

body.nsj a.nsj-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	font-weight: 600;
	color: var(--nsj-accent);
	text-decoration: none;
	padding-bottom: 6px;
	flex-shrink: 0;
}

body.nsj a.nsj-link:hover {
	color: var(--nsj-ink);
}

body.nsj .nsj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 52px;
	padding: 0 26px;
	box-sizing: border-box;
	border-radius: 4px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

body.nsj .nsj-btn--primary {
	background: var(--nsj-lime);
	color: var(--nsj-ink);
	border: none;
}

body.nsj .nsj-btn--primary:hover,
body.nsj .nsj-btn--primary:focus {
	background: #8BAD00;
	color: var(--nsj-ink);
}

body.nsj .nsj-btn--ghost {
	padding: 0 24px;
	background: transparent;
	color: var(--nsj-ink);
	border: 1px solid var(--nsj-line-strong);
}

body.nsj .nsj-btn--ghost:hover,
body.nsj .nsj-btn--ghost:focus {
	border-color: var(--nsj-ink);
	color: var(--nsj-ink);
}

body.nsj .nsj-btn--md {
	height: 50px;
	padding: 0 24px;
	margin-top: 26px;
}

/* ---------- Hero ---------- */

.nsj-hero {
	padding-top: 56px;
	padding-bottom: 52px;
	display: flex;
	gap: 56px;
	align-items: flex-start;
}

.nsj-hero__text {
	flex-grow: 1;
	max-width: 640px;
}

.nsj .nsj-hero__title {
	margin: 16px 0 0;
	font-size: 54px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.nsj-hero__lede {
	margin-top: 20px !important;
	font-size: 18px;
	line-height: 1.6;
	color: var(--nsj-text);
}

.nsj-hero__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 30px;
}

.nsj-hero__fine {
	margin-top: 22px !important;
	font-size: 14px;
	color: var(--nsj-muted);
}

/* Call-for-papers card */

.nsj-cfp {
	width: 408px;
	flex-shrink: 0;
	box-sizing: border-box;
	background: #FFFFFF;
	border: 1px solid var(--nsj-line);
	border-radius: 6px;
	overflow: hidden;
}

.nsj-cfp__bar {
	height: 6px;
	background: var(--nsj-lime);
}

.nsj-cfp__body {
	padding: 26px 28px 26px;
}

.nsj-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 11px;
	border-radius: 3px;
	background: #EAF2CE;
	color: #3F5200;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nsj .nsj-cfp__title {
	margin: 16px 0 0;
	font-size: 25px;
	line-height: 1.25;
}

.nsj-cfp__body > p {
	margin-top: 12px !important;
	font-size: 15px;
	line-height: 1.6;
	color: var(--nsj-text);
}

.nsj-cfp dl {
	margin: 20px 0 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 9px 18px;
	font-size: 14px;
}

.nsj-cfp dt {
	color: var(--nsj-muted);
	font-weight: 400;
}

.nsj-cfp dd {
	margin: 0;
	font-weight: 600;
}

.nsj-cfp .nsj-link {
	margin-top: 20px;
	padding-bottom: 0;
}

/* ---------- Trust strip ---------- */

.nsj-trust__inner {
	padding-top: 20px;
	padding-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 30px;
	font-size: 14px;
	color: var(--nsj-text);
}

.nsj-trust__inner > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* ---------- Grids & cards ---------- */

.nsj-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
}

.nsj-card,
.nsj-type {
	background: #FFFFFF;
	border: 1px solid var(--nsj-line);
	border-radius: 6px;
	padding: 24px;
}

.nsj-type {
	background: var(--nsj-soft);
}

.nsj .nsj-card h3,
.nsj .nsj-type h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
}

.nsj-card p,
.nsj-type p {
	margin-top: 10px !important;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--nsj-muted);
}

.nsj-type__meta {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #E6E4DA;
	font-size: 13px;
	color: var(--nsj-muted);
}

/* ---------- Current issue ---------- */

.nsj-notice {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 24px;
	padding: 16px 20px;
	background: #EDF3DD;
	border: 1px solid #D7E2B6;
	border-radius: 6px;
	font-size: 15px;
	line-height: 1.55;
	color: #33421F;
}

.nsj-notice strong {
	font-weight: 600;
}

.nsj-issue-id {
	margin-top: 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--nsj-muted);
}

.nsj-articles {
	margin-top: 26px;
	border-top: 1px solid var(--nsj-line);
}

.nsj-article {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	padding: 22px 0;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-article__text {
	max-width: 760px;
}

.nsj-article__section {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nsj-accent);
}

.nsj .nsj-article h3 {
	margin: 9px 0 0;
	font-size: 22px;
	line-height: 1.3;
}

body.nsj .nsj-article h3 a {
	color: var(--nsj-ink);
	text-decoration: none;
}

body.nsj .nsj-article h3 a:hover {
	color: var(--nsj-accent);
}

.nsj-article__meta {
	margin-top: 8px;
	font-size: 14.5px;
	color: var(--nsj-muted);
	overflow-wrap: anywhere;
}

.nsj-article__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	padding-top: 26px;
}

body.nsj .nsj-chip {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	box-sizing: border-box;
	border: 1px solid var(--nsj-line-strong);
	border-radius: 4px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--nsj-ink);
	text-decoration: none;
}

body.nsj a.nsj-chip:hover {
	border-color: var(--nsj-ink);
}

/* ---------- Authors / editorial / announcements / indexing ---------- */

.nsj-split {
	padding-top: 60px;
	padding-bottom: 60px;
	display: flex;
	gap: 56px;
	align-items: flex-start;
}

.nsj-split__main {
	flex-grow: 1;
	min-width: 0;
}

.nsj-split__main .nsj-section__lede {
	margin-top: 14px !important;
	max-width: 620px;
	font-size: 16px;
}

.nsj-author-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin-top: 24px;
	max-width: 640px;
}

body.nsj .nsj-author-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border: 1px solid var(--nsj-line);
	border-radius: 4px;
	font-size: 15px;
	font-weight: 500;
	color: var(--nsj-ink);
	text-decoration: none;
}

body.nsj .nsj-author-links a:hover {
	border-color: var(--nsj-line-strong);
	background: var(--nsj-soft);
}

.nsj-editorial {
	width: 372px;
	flex-shrink: 0;
	box-sizing: border-box;
	background: var(--nsj-bg);
	border: 1px solid var(--nsj-line);
	border-radius: 6px;
	padding: 26px;
}

.nsj-editor {
	margin-top: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-editorial .nsj-h3 + .nsj-editor {
	margin-top: 20px;
}

.nsj-editor--last {
	border-bottom: none;
	padding-bottom: 0;
}

.nsj-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nsj-muted);
}

.nsj-editor__name {
	margin-top: 7px;
	font-size: 16.5px;
	font-weight: 600;
}

.nsj-editor__aff {
	margin-top: 3px;
	font-size: 14px;
	color: var(--nsj-muted);
}

.nsj-editor__list {
	margin-top: 9px;
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--nsj-text);
}

.nsj-editorial .nsj-link {
	margin-top: 20px;
	padding-bottom: 0;
}

.nsj-announcements {
	margin-top: 22px;
	border-top: 1px solid var(--nsj-line);
}

.nsj-announcement {
	padding: 18px 0;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-announcement__date {
	font-size: 13px;
	color: var(--nsj-muted);
}

.nsj .nsj-announcement h3 {
	margin: 6px 0 0;
	font-size: 19px;
	line-height: 1.3;
}

body.nsj .nsj-announcement h3 a {
	color: var(--nsj-ink);
	text-decoration: none;
}

.nsj-announcement__summary,
.nsj-announcement__summary p {
	margin: 6px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--nsj-muted);
}

.nsj-indexing {
	width: 372px;
	flex-shrink: 0;
}

.nsj-indexing > p {
	margin-top: 12px !important;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--nsj-muted);
}

.nsj-indexing__list {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.nsj-indexing__list > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 15px;
	background: #FFFFFF;
	border: 1px solid var(--nsj-line);
	border-radius: 4px;
	font-size: 15px;
	font-weight: 500;
}

.nsj-status {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--nsj-muted);
	text-align: right;
}

.nsj-status--ok {
	color: #4A6200;
}

/* ---------- Alerts band ---------- */

.nsj-alerts {
	background: #3A4A30;
	color: #EDF3DD;
}

.nsj-alerts__inner {
	padding-top: 48px;
	padding-bottom: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 56px;
}

.nsj-alerts__text {
	max-width: 560px;
}

.nsj .nsj-alerts h2 {
	margin: 0;
	font-size: 30px;
	color: #FFFFFF;
}

.nsj-alerts__text p {
	margin-top: 12px !important;
	font-size: 16px;
	line-height: 1.6;
	color: #CBD6BE;
}

.nsj-alerts__form {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex-shrink: 0;
	margin: 0;
}

.nsj-alerts__field label {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	color: #CBD6BE;
	margin-bottom: 8px;
}

.nsj-alerts__field input {
	width: 316px;
	height: 50px;
	box-sizing: border-box;
	padding: 0 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--nsj-ink);
	background: #FFFFFF;
	border: 1px solid #FFFFFF;
	border-radius: 4px;
}

body.nsj .nsj-alerts__form .nsj-btn {
	height: 50px;
	padding: 0 24px;
	font-size: 15.5px;
}

/* ---------- Footer ---------- */

.nsj-footer {
	background: var(--nsj-ink);
	color: #C2CBB8;
	padding: 52px 0 32px;
}

.nsj-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
}

.nsj-footer__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 116px;
	height: 116px;
	background: var(--nsj-bg);
	border-radius: 6px;
	overflow: hidden;
}

.nsj-footer__logo img {
	width: 116px;
	height: 116px;
	object-fit: cover;
}

.nsj-footer__name {
	margin-top: 16px;
	font-family: var(--nsj-serif);
	font-size: 21px;
	font-weight: 600;
	color: #FFFFFF;
}

.nsj-footer p {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.7;
}

.nsj-footer p + p {
	margin-top: 12px;
}

.nsj-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 14.5px;
}

.nsj-footer__heading {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8D9B81;
}

body.nsj .nsj-footer a {
	color: #C2CBB8;
	text-decoration: none;
}

body.nsj .nsj-footer a:hover,
body.nsj .nsj-footer a:focus {
	color: #FFFFFF;
}

.nsj-footer__mobile-links {
	display: none;
}

.nsj-footer__custom {
	margin-top: 32px;
	font-size: 14px;
}

.nsj-footer__bottom {
	margin-top: 32px;
	padding-top: 22px;
	border-top: 1px solid #3E4C35;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	font-size: 13.5px;
	color: #99A68D;
}

/* ---------- About, Editorial Team and Policies pages ---------- */

.nsj-doc-head {
	background: #FFFFFF;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-doc-head .nsj-wrap {
	padding-top: 40px;
	padding-bottom: 36px;
}

.nsj-crumbs {
	display: flex;
	gap: 8px;
	font-size: 13px;
	color: var(--nsj-muted);
}

body.nsj .nsj-crumbs a {
	color: var(--nsj-muted);
	text-decoration: none;
}

body.nsj .nsj-crumbs a:hover {
	color: var(--nsj-accent);
}

.nsj .nsj-doc-head h1 {
	margin: 12px 0 0;
	font-family: var(--nsj-serif);
	font-size: 46px;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--nsj-ink);
}

.nsj-doc-head__lede {
	margin: 14px 0 0;
	max-width: 70ch;
	font-size: 17px;
	line-height: 1.6;
	color: var(--nsj-text);
}

.nsj-doc-body {
	padding-top: 44px;
	padding-bottom: 72px;
}

/* Prose (also used for the author guidelines on the default Submissions page) */

.nsj-doc,
.nsj .page_submissions {
	max-width: 760px;
	font-size: 16px;
	line-height: 1.65;
	color: #3F4838;
}

.nsj-doc > :first-child,
.nsj-doc > section:first-of-type > :first-child {
	margin-top: 0;
}

.nsj .nsj-doc h2 {
	margin: 0 0 18px;
	font-family: var(--nsj-serif);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--nsj-ink);
}

.nsj .nsj-doc h3,
.nsj .page_submissions h3 {
	margin: 34px 0 10px;
	font-family: var(--nsj-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--nsj-ink);
}

.nsj .nsj-doc h4,
.nsj .page_submissions h4 {
	margin: 26px 0 8px;
	font-family: var(--nsj-sans);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--nsj-ink);
}

.nsj-doc p,
.nsj .page_submissions p {
	margin: 0 0 14px;
}

.nsj-doc ul,
.nsj-doc ol,
.nsj .page_submissions ul {
	margin: 0 0 18px;
	padding-left: 22px;
}

.nsj-doc li,
.nsj .page_submissions li {
	margin: 0 0 7px;
	padding-left: 2px;
}

.nsj-doc li::marker {
	color: var(--nsj-muted);
}

.nsj-doc strong,
.nsj .page_submissions strong {
	color: var(--nsj-ink);
	font-weight: 600;
}

.nsj-doc section {
	padding-top: 44px;
	margin-top: 36px;
	border-top: 1px solid var(--nsj-line);
	scroll-margin-top: 16px;
}

.nsj-doc section:first-of-type {
	padding-top: 0;
	margin-top: 0;
	border-top: none;
}

.nsj-doc dl.facts {
	display: grid;
	grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
	margin: 0 0 18px;
	border-top: 1px solid var(--nsj-line);
}

.nsj-doc dl.facts dt,
.nsj-doc dl.facts dd {
	margin: 0;
	padding: 11px 0;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-doc dl.facts dt {
	padding-right: 16px;
	font-size: 14.5px;
	font-weight: 400;
	color: var(--nsj-muted);
}

.nsj-doc dl.facts dd {
	color: var(--nsj-ink);
}

.nsj-doc .scroll {
	overflow-x: auto;
	margin: 0 0 18px;
	background: #FFFFFF;
	border: 1px solid var(--nsj-line);
	border-radius: 6px;
}

.nsj-doc table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.5;
}

.nsj-doc th,
.nsj-doc td {
	padding: 11px 14px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-doc th {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--nsj-muted);
	background: #ECEBE4;
}

.nsj-doc tbody tr:last-child td {
	border-bottom: none;
}

.nsj-doc td:first-child {
	font-weight: 600;
	color: var(--nsj-ink);
}

.nsj-doc .note {
	margin: 0 0 22px;
	padding: 14px 16px;
	border-radius: 6px;
	font-size: 14.5px;
	line-height: 1.55;
}

.nsj-doc .note.warn {
	background: #FBF1DC;
	border: 1px solid #EBD49E;
	color: #6B4A00;
}

.nsj-doc .note strong {
	color: inherit;
}

.nsj-doc ul.people {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	border-top: 1px solid var(--nsj-line);
}

.nsj-doc ul.people li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--nsj-line);
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--nsj-muted);
}

.nsj-doc ul.people strong {
	font-size: 16px;
}

.nsj-doc .example {
	margin: 0 0 8px;
	padding: 9px 14px;
	background: #ECEBE4;
	border-radius: 4px;
	font-size: 14px;
	overflow-wrap: anywhere;
}

.nsj-doc ul.checks,
.nsj .page_submissions ul.checks {
	list-style: none;
	padding: 0;
	border-top: 1px solid var(--nsj-line);
}

.nsj-doc ul.checks li,
.nsj .page_submissions ul.checks li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 34px;
	border-bottom: 1px solid var(--nsj-line);
}

.nsj-doc ul.checks li::before,
.nsj .page_submissions ul.checks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 16px;
	width: 16px;
	height: 16px;
	border: 1.5px solid var(--nsj-accent);
	border-radius: 3px;
}

.nsj-doc ol.steps {
	list-style: none;
	padding: 0;
	counter-reset: step;
}

.nsj-doc ol.steps li {
	counter-increment: step;
	position: relative;
	margin: 0;
	padding: 3px 0 20px 50px;
}

.nsj-doc ol.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--nsj-lime);
	color: var(--nsj-ink);
	font: 600 14px/32px var(--nsj-sans);
	text-align: center;
}

.nsj-doc ol.steps li::after {
	content: "";
	position: absolute;
	left: 15.5px;
	top: 38px;
	bottom: 4px;
	width: 1px;
	background: var(--nsj-line-strong);
}

.nsj-doc ol.steps li:last-child::after {
	display: none;
}

/* Contents list: a sticky column when the page has one (Policies) */

.nsj-doc:has(> .nsj-doc-toc) {
	max-width: none;
	display: grid;
	grid-template-columns: 212px minmax(0, 760px);
	column-gap: 56px;
	align-items: start;
}

.nsj-doc:has(> .nsj-doc-toc) > :not(.nsj-doc-toc) {
	grid-column: 2;
}

.nsj-doc-toc {
	grid-column: 1;
	grid-row: 1 / span 20;
	position: sticky;
	top: 20px;
}

.nsj-doc-toc p {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nsj-muted);
}

.nsj-doc .nsj-doc-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--nsj-line);
}

.nsj-doc .nsj-doc-toc li {
	margin: 0;
	padding: 0;
}

body.nsj .nsj-doc-toc a {
	display: block;
	margin-left: -1px;
	padding: 6px 0 6px 14px;
	border-left: 2px solid transparent;
	font-size: 14.5px;
	line-height: 1.4;
	color: #3F4838;
	text-decoration: none;
}

body.nsj .nsj-doc-toc a:hover {
	color: var(--nsj-ink);
}

body.nsj .nsj-doc-toc a.is-current {
	border-left-color: var(--nsj-lime);
	color: var(--nsj-ink);
	font-weight: 600;
}

/* ---------- Inner pages keep the default theme layout on the new palette ---------- */

.nsj .pkp_structure_content {
	background: #FFFFFF;
	margin-top: 32px;
	margin-bottom: 48px;
	border: 1px solid var(--nsj-line);
	border-radius: 6px;
}

.nsj .pkp_structure_main:before,
.nsj .pkp_structure_main:after {
	display: none;
}

.nsj .pkp_structure_main h1,
.nsj .pkp_structure_main h2,
.nsj .pkp_structure_main h3 {
	font-family: var(--nsj-serif);
	color: var(--nsj-ink);
}

/* ---------- Narrower desktops ---------- */

@media (max-width: 1199px) {
	:root {
		--nsj-gutter: 40px;
	}

	.nsj-nav__inner {
		gap: 22px;
	}
}

/* ---------- Tablet ---------- */

@media (max-width: 1023px) {
	.nsj-hero,
	.nsj-split,
	.nsj-alerts__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.nsj-hero__text {
		max-width: none;
	}

	.nsj-cfp,
	.nsj-editorial,
	.nsj-indexing {
		width: 100%;
		max-width: 560px;
	}

	.nsj-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nsj-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Contents list becomes a row of chips above the text */
	.nsj-doc:has(> .nsj-doc-toc) {
		display: block;
		max-width: 760px;
	}

	.nsj-doc-toc {
		position: static;
		margin-bottom: 32px;
	}

	.nsj-doc .nsj-doc-toc ol {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		border-left: none;
	}

	body.nsj .nsj-doc-toc a,
	body.nsj .nsj-doc-toc a.is-current {
		margin: 0;
		padding: 7px 12px;
		border: 1px solid var(--nsj-line);
		border-radius: 999px;
		background: #FFFFFF;
		font-size: 14px;
	}

	body.nsj .nsj-doc-toc a.is-current {
		border-color: var(--nsj-lime);
	}
}

/* ---------- Phone (matches the 390px design) ---------- */

@media (max-width: 767px) {
	:root {
		--nsj-gutter: 20px;
	}

	.nsj-desktop-only {
		display: none !important;
	}

	.nsj-mobile-only {
		display: inline;
	}

	p.nsj-mobile-only,
	div.nsj-mobile-only,
	a.nsj-mobile-only {
		display: block;
	}

	a.nsj-link.nsj-mobile-only {
		display: inline-flex;
	}

	/* Utility bar */
	.nsj-utility {
		font-size: 12px;
	}

	.nsj-utility__inner {
		height: 36px;
	}

	/* Masthead */
	.nsj-masthead__inner {
		padding-top: 14px;
		padding-bottom: 14px;
		gap: 14px;
	}

	body.nsj a.nsj-brand {
		gap: 12px;
	}

	.nsj-brand__mark {
		width: 48px;
		height: 48px;
	}

	.nsj .nsj-brand__name {
		font-size: 20px;
		line-height: 1.15;
		letter-spacing: 0;
	}

	.nsj-brand__meta {
		font-size: 11.5px;
		margin-top: 3px;
		letter-spacing: 0;
	}

	.nsj-search--desktop {
		display: none;
	}

	.nsj-menu-toggle {
		width: 44px;
		height: 44px;
		flex-shrink: 0;
		border: 1px solid var(--nsj-field-line);
		border-radius: 4px;
		background: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		padding: 0;
	}

	.nsj-search-row {
		display: block;
		padding-bottom: 14px;
	}

	.nsj-search--mobile input {
		flex-grow: 1;
		width: auto;
		min-width: 0;
		height: 46px;
		padding: 0 13px;
	}

	.nsj-search--mobile button {
		width: 52px;
		height: 46px;
		padding: 0;
		justify-content: center;
	}

	/* Collapsible nav */
	.nsj-nav {
		display: none;
	}

	.nsj-nav.is-open {
		display: block;
	}

	.nsj-nav__inner {
		height: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-top: 6px;
		padding-bottom: 6px;
		overflow: visible;
	}

	body.nsj .nsj-nav a {
		padding: 12px 0;
		border-bottom: 1px solid #EBE9DF;
	}

	body.nsj .nsj-nav a:last-child {
		border-bottom: none;
	}

	body.nsj .nsj-nav a.is-active {
		border-bottom: 1px solid #EBE9DF;
		padding: 12px 0 12px 12px;
		box-shadow: inset 3px 0 0 var(--nsj-lime);
	}

	/* About opens inline in the mobile menu */
	.nsj-nav__group {
		display: block;
		border-bottom: 1px solid #EBE9DF;
	}

	.nsj-nav__parent {
		width: 100%;
		justify-content: space-between;
		padding: 12px 0;
		border-bottom: none;
	}

	.nsj-nav__parent.is-active {
		border-bottom: none;
	}

	.nsj-nav__menu {
		position: static;
		min-width: 0;
		margin: 0 0 8px;
		padding: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
	}

	body.nsj .nsj-nav .nsj-nav__menu a {
		padding: 10px 0 10px 16px;
	}

	body.nsj .nsj-nav .nsj-nav__menu a:last-child {
		border-bottom: none;
	}

	/* Hero */
	.nsj-hero {
		padding-top: 30px;
		padding-bottom: 0;
		gap: 0;
	}

	.nsj-kicker {
		font-size: 12px;
		letter-spacing: 0.09em;
	}

	.nsj .nsj-hero__title {
		margin-top: 12px;
		font-size: 36px;
		line-height: 1.13;
		letter-spacing: -0.015em;
	}

	.nsj-hero__lede {
		margin-top: 16px !important;
		font-size: 16px;
	}

	.nsj-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-top: 22px;
	}

	.nsj-hero__fine {
		margin-top: 16px !important;
		font-size: 13.5px;
		line-height: 1.6;
	}

	.nsj-cfp {
		max-width: none;
		margin-top: 32px;
	}

	.nsj-cfp__body {
		padding: 20px 22px 22px;
	}

	.nsj-badge {
		gap: 7px;
		padding: 5px 10px;
		font-size: 11px;
	}

	.nsj .nsj-cfp__title {
		margin-top: 13px;
		font-size: 21px;
	}

	.nsj-cfp__body > p {
		margin-top: 10px !important;
		font-size: 14.5px;
	}

	.nsj-cfp dl {
		margin-top: 16px;
		gap: 8px 16px;
		font-size: 13.5px;
	}

	.nsj-cfp .nsj-link {
		margin-top: 16px;
		font-size: 14.5px;
	}

	/* Trust list */
	.nsj-trust {
		margin-top: 30px;
	}

	.nsj-trust__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 13px;
		font-size: 14.5px;
	}

	.nsj-trust__inner > span {
		gap: 10px;
	}

	/* Sections */
	.nsj-section {
		padding-top: 32px;
		padding-bottom: 30px;
	}

	.nsj .nsj-h2 {
		font-size: 28px;
	}

	.nsj-section__intro p,
	.nsj-section__lede {
		margin-top: 12px !important;
		font-size: 15.5px;
		line-height: 1.6;
	}

	.nsj-grid {
		gap: 12px;
		margin-top: 20px;
	}

	.nsj-card {
		padding: 16px;
	}

	.nsj .nsj-card h3 {
		font-size: 17px;
	}

	.nsj-card p {
		margin-top: 8px !important;
		font-size: 13px;
		line-height: 1.55;
	}

	/* What we publish becomes a list */
	.nsj-types {
		display: block;
		border-top: 1px solid #EBE9DF;
	}

	.nsj-type {
		background: none;
		border: none;
		border-bottom: 1px solid #EBE9DF;
		border-radius: 0;
		padding: 14px 0;
	}

	.nsj .nsj-type h3 {
		font-family: var(--nsj-sans);
		font-size: 16px;
	}

	.nsj-type p {
		display: none;
	}

	.nsj-type__meta {
		margin-top: 4px;
		padding-top: 0;
		border-top: none;
	}

	/* Current issue */
	.nsj-notice {
		align-items: flex-start;
		gap: 11px;
		margin-top: 16px;
		padding: 14px 16px;
		font-size: 14px;
	}

	.nsj-articles {
		margin-top: 20px;
	}

	.nsj-article {
		flex-direction: column;
		gap: 0;
		padding: 18px 0;
	}

	.nsj-article__section {
		font-size: 11.5px;
	}

	.nsj .nsj-article h3 {
		margin-top: 8px;
		font-size: 19px;
	}

	.nsj-article__meta {
		margin-top: 7px;
		font-size: 13.5px;
	}

	.nsj-article__actions {
		padding-top: 12px;
	}

	body.nsj .nsj-chip {
		height: 38px;
	}

	.nsj-archive-link {
		margin-top: 18px;
	}

	/* Alerts */
	.nsj-alerts__inner {
		padding-top: 34px;
		padding-bottom: 34px;
		gap: 18px;
	}

	.nsj .nsj-alerts h2 {
		font-size: 25px;
	}

	.nsj-alerts__text p {
		margin-top: 10px !important;
		font-size: 15px;
	}

	.nsj-alerts__form {
		flex-direction: column;
		align-items: stretch;
	}

	.nsj-alerts__field label {
		font-size: 13px;
		margin-bottom: 7px;
	}

	.nsj-alerts__field input {
		width: 100%;
		padding: 0 13px;
	}

	body.nsj .nsj-alerts__form .nsj-btn {
		width: 100%;
	}

	/* Footer */
	.nsj-footer {
		padding: 30px 0 26px;
	}

	.nsj-footer__grid {
		display: block;
	}

	.nsj-footer__col {
		display: none;
	}

	.nsj-footer__logo,
	.nsj-footer__logo img {
		width: 96px;
		height: 96px;
	}

	.nsj-footer__name {
		margin-top: 14px;
		font-size: 19px;
	}

	.nsj-footer p {
		margin-top: 9px;
		font-size: 13.5px;
	}

	.nsj-footer__mobile-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 11px 20px;
		margin-top: 20px;
		font-size: 14px;
	}

	.nsj-footer__bottom {
		display: block;
		margin-top: 22px;
		padding-top: 18px;
		font-size: 12.5px;
		line-height: 1.7;
	}

	.nsj-footer__bottom span {
		display: block;
	}

	/* About, Editorial Team, Policies */
	.nsj-doc-head .nsj-wrap {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.nsj .nsj-doc-head h1 {
		font-size: 32px;
	}

	.nsj-doc-head__lede {
		font-size: 15.5px;
	}

	.nsj-doc-body {
		padding-top: 28px;
		padding-bottom: 48px;
	}

	.nsj .nsj-doc h2 {
		font-size: 26px;
	}

	.nsj-doc dl.facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.nsj-doc dl.facts dt {
		padding-bottom: 0;
		border-bottom: none;
	}

	.nsj-doc ul.people {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Inner pages */
	.nsj .pkp_structure_content {
		margin: 16px 12px 32px;
		width: auto;
	}
}
