/* ==========================================================================
   News Junction — bold tabloid theme
   ========================================================================== */

:root {
	--nj-gold: #DAB403;
	--nj-gold-dark: #8A7100;
	--nj-ink: #111111;
	--nj-red: #C8102E;
	--nj-paper: #F4F1EC;
	--nj-muted: #555555;
	--nj-line: #e3e3e3;
	--nj-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
	--nj-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--nj-serif: 'Source Serif 4', Georgia, serif;
	--nj-wrap: 1280px;
	--nj-gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.nj {
	margin: 0;
	background: #fff;
	color: var(--nj-ink);
	font-family: var(--nj-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.nj a { color: inherit; text-decoration: none; }
.nj a:hover { color: var(--nj-gold-dark); }
.nj a:focus-visible, .nj button:focus-visible, .nj input:focus-visible, .nj select:focus-visible, .nj textarea:focus-visible {
	outline: 3px solid var(--nj-gold);
	outline-offset: 2px;
}
.nj img { max-width: 100%; height: auto; }
.nj h1, .nj h2, .nj h3 { margin: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.nj-skip { position: absolute; left: -9999px; top: 0; background: var(--nj-gold); color: var(--nj-ink); padding: 10px 16px; font-weight: 800; z-index: 100; }
.nj-skip:focus { left: 8px; top: 8px; }

.nj-wrap { max-width: calc(var(--nj-wrap) + 2 * var(--nj-gutter)); margin: 0 auto; padding: 0 var(--nj-gutter); }
.nj-center { text-align: center; }

/* ---------- Shared bits ---------- */
.nj-meta { font-size: 13px; color: var(--nj-muted); }

.nj-tag {
	display: inline-block; align-self: flex-start;
	background: var(--nj-gold); color: var(--nj-ink) !important;
	font: 800 11px/1 var(--nj-sans); letter-spacing: .1em; text-transform: uppercase;
	padding: 5px 8px;
}
a.nj-tag:hover { background: var(--nj-ink); color: #fff !important; }

.nj-label {
	display: inline-block; align-self: flex-start;
	font: 800 12px/1 var(--nj-sans); letter-spacing: .12em; text-transform: uppercase;
	padding: 6px 9px;
}
.nj-label--gold { background: var(--nj-gold); color: var(--nj-ink); }
.nj-label--red { background: var(--nj-red); color: #fff; }
.nj-label--ink { background: var(--nj-ink); color: #fff; }

.nj-sec {
	font: 400 30px/1 var(--nj-display); text-transform: uppercase; letter-spacing: .01em;
	padding-bottom: 10px; border-bottom: 4px solid var(--nj-ink); margin-bottom: 18px !important;
}

.nj-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 0 20px; border: 2px solid transparent;
	font: 800 14px/1 var(--nj-sans); letter-spacing: .06em; text-transform: uppercase;
	cursor: pointer; text-align: center;
}
.nj-btn--gold { background: var(--nj-gold); color: var(--nj-ink) !important; }
.nj-btn--gold:hover { background: var(--nj-ink); color: #fff !important; }
.nj-btn--dark { background: var(--nj-ink); color: #fff !important; }
.nj-btn--dark:hover { background: #333; }
.nj-btn--outline { background: #fff; border-color: var(--nj-ink); color: var(--nj-ink) !important; }
.nj-btn--outline:hover { background: var(--nj-ink); color: #fff !important; }
.nj-btn--block { display: flex; width: 100%; }
.nj-btn--tall { min-height: 52px; }

.nj-img { display: block; width: 100%; object-fit: cover; }
.nj-lead__media, .nj-row__media, .nj-card__media { position: relative; }
.nj .nj-lead__media > *, .nj .nj-row__media > *, .nj .nj-card__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nj-ph {
	background: repeating-linear-gradient(135deg, #1e1e1e 0 14px, #262626 14px 28px);
	display: flex; align-items: center; justify-content: center;
}
.nj .nj-ph img { width: 30%; max-width: 110px; height: auto; opacity: .9; }

/* ---------- Top bar ---------- */
.nj-topbar { background: var(--nj-ink); color: #e6e6e6; font-size: 13px; }
.nj-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.nj-topbar__links { display: flex; gap: 22px; flex-wrap: wrap; }
.nj-topbar a:hover { color: var(--nj-gold); }

/* ---------- Masthead ---------- */
.nj-masthead { background: #fff; }
.nj-masthead__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.nj-brand { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nj-brand__link { display: block; }
.nj .nj-logo { display: block; height: 40px; width: auto; max-width: 100%; }
.nj-brand__tagline { font-size: 13px; color: var(--nj-muted); }
.nj-masthead__tools { display: flex; align-items: center; gap: 12px; }

.nj-searchform { display: flex; }
.nj-searchform input {
	width: 300px; height: 46px; border: 2px solid var(--nj-ink); border-right: 0; border-radius: 0;
	padding: 0 14px; font: 500 15px var(--nj-sans); background: #fff; color: var(--nj-ink);
	-webkit-appearance: none; appearance: none;
}
.nj-searchform button {
	width: 48px; height: 46px; border: 0; background: var(--nj-ink); color: #fff;
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.nj-searchform button:hover { background: var(--nj-gold); color: var(--nj-ink); }

.nj-iconbtn {
	display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--nj-ink);
	align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Main menu ---------- */
.nj-nav { background: var(--nj-ink); position: sticky; top: 0; z-index: 50; }
.admin-bar .nj-nav { top: 32px; }
.nj-menu { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.nj-menu::-webkit-scrollbar { display: none; }
.nj-menu li { flex-shrink: 0; }
.nj-menu a {
	display: flex; align-items: center; height: 52px; padding: 0 20px; color: #fff !important;
	font: 800 15px/1 var(--nj-sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.nj-menu a:hover { background: #2a2a2a; }
.nj-menu .current-menu-item > a,
.nj-menu .current-menu-parent > a,
.nj-menu .current-post-ancestor > a,
.nj-menu .current-category-ancestor > a { background: var(--nj-gold); color: var(--nj-ink) !important; }

/* ---------- Breaking bar ---------- */
.nj-breaking { border-bottom: 1px solid #d9d9d9; }
.nj-breaking__inner { display: flex; align-items: center; gap: 16px; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.nj-breaking__link { font-weight: 700; font-size: 16px; flex: 1; min-width: 0; }
.nj-breaking__more { font-size: 14px; font-weight: 600; white-space: nowrap; }

.nj-main { display: block; }

/* ---------- Ads ---------- */
.nj-adrow { display: flex; justify-content: center; padding: 28px 0; }
.nj-ad { display: block; margin: 0 auto; text-align: center; max-width: 100%; }
.nj-ad--house {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	background: var(--nj-paper); border: 1px solid #d8d2c8; color: #333 !important; padding: 16px;
	font-size: 14px;
}
.nj-ad--house strong { font: 400 22px/1.1 var(--nj-display); text-transform: uppercase; color: var(--nj-ink); }
.nj-ad__label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #666; }
a.nj-ad--house:hover { border-color: var(--nj-gold); }
.nj-ad--leaderboard.nj-ad--house { width: 970px; min-height: 90px; }
.nj-ad--sidebar.nj-ad--house { width: 100%; min-height: 250px; }
.nj-ad--inarticle { margin: 28px auto; }
.nj-ad--inarticle.nj-ad--house { width: 100%; max-width: 728px; min-height: 90px; }

/* ---------- Homepage hero ---------- */
.nj-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; }
.nj-lead { display: flex; flex-direction: column; gap: 14px; }
.nj-lead__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #222; }
.nj .nj-lead__media > img { object-position: center 25%; }
.nj-lead__title { font: 400 58px/1.02 var(--nj-display); text-transform: uppercase; }
.nj-standfirst { margin: 0; font-family: var(--nj-serif); font-size: 19px; line-height: 1.5; color: #444; }

.nj-toplist { display: flex; flex-direction: column; }
.nj-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--nj-line); }
.nj-toplist .nj-sec + .nj-row { padding-top: 0; }
.nj-row:last-child { border-bottom: 0; }
.nj-row__media { display: block; width: 150px; height: 100px; flex-shrink: 0; overflow: hidden; background: #222; }
.nj-row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nj-row__title { font: 700 19px/1.25 var(--nj-sans); }

/* ---------- Category columns + sidebar ---------- */
.nj-sections { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; padding-top: 56px; }
.nj-catcol { display: flex; flex-direction: column; gap: 14px; }
.nj-card { display: flex; flex-direction: column; gap: 10px; }
.nj-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #222; }
.nj-card__title { font: 800 22px/1.2 var(--nj-sans); }
.nj-card--big .nj-card__title { font-size: 24px; }
.nj-card__title--sm { font-size: 18px; line-height: 1.28; }
.nj-card__excerpt { margin: 0; color: #444; font-size: 15px; }
.nj-textitem { padding-top: 14px; border-top: 1px solid var(--nj-line); display: flex; flex-direction: column; gap: 6px; }
.nj-textitem h3 { font: 700 18px/1.3 var(--nj-sans); }
.nj-more { font-weight: 700; font-size: 14px; text-decoration: underline !important; text-underline-offset: 3px; }

.nj-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.nj-mostread ol { list-style: none; margin: 0; padding: 0; counter-reset: nj; display: flex; flex-direction: column; gap: 16px; }
.nj-mostread li { counter-increment: nj; display: flex; gap: 14px; align-items: flex-start; font: 700 16px/1.3 var(--nj-sans); }
.nj-mostread li::before { content: counter(nj); font: 400 34px/1 var(--nj-display); min-width: 24px; color: var(--nj-ink); }
.nj-mostread li:nth-child(1)::before { color: var(--nj-gold-dark); }

.nj-promo { background: var(--nj-gold); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.nj-promo p { margin: 0; }
.nj-promo__title { font: 400 26px/1.05 var(--nj-display); text-transform: uppercase; }

.nj-jobswidget { background: var(--nj-ink); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.nj-jobswidget ul { list-style: none; margin: 0; padding: 0; }
.nj-jobswidget li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid #333; }
.nj-jobswidget li a { font-weight: 700; color: #fff !important; }
.nj-jobswidget li a:hover { color: var(--nj-gold) !important; }
.nj-jobswidget li span { font-size: 13px; color: #bdbdbd; }

/* ---------- Grids ---------- */
.nj-latest { padding-top: 56px; }
.nj-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nj-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.nj-latest .nj-center { margin: 32px 0 0; }

/* ---------- Jobs strip ---------- */
.nj-jobsband { background: var(--nj-ink); color: #fff; padding: 44px 0 52px; margin-top: 64px; }
.nj-jobsband__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.nj-jobsband__head > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.nj-jobsband__title { font: 400 44px/1 var(--nj-display); text-transform: uppercase; }
.nj-jobsband__actions { display: flex; gap: 16px; align-items: center; }
.nj-link-light { color: #fff !important; font-weight: 700; }
.nj-link-light:hover { color: var(--nj-gold) !important; }

.nj-job { background: #fff; color: var(--nj-ink); padding: 20px; display: flex; gap: 14px; }
.nj-job--grid { flex-direction: column; }
.nj .nj-job__logo { width: 48px; height: 48px; object-fit: cover; flex-shrink: 0; }
.nj-job__logo--initials { background: var(--nj-gold); color: var(--nj-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.nj-job:nth-child(even) .nj-job__logo--initials { background: var(--nj-ink); color: #fff; }
.nj-job__body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.nj-job__title { font: 800 19px/1.25 var(--nj-sans); }
.nj-job__excerpt { margin: 4px 0 0; font-size: 15px; color: #444; }
.nj-job--list { border: 1px solid #d6d6d6; padding: 22px; align-items: flex-start; }
.nj .nj-job--list .nj-job__logo { width: 56px; height: 56px; }
.nj-job--list .nj-btn { flex-shrink: 0; min-height: 44px; }

/* ---------- Page headers ---------- */
.nj-pagehead { background: var(--nj-ink); color: #fff; padding: 44px 0; margin-bottom: 40px; }
.nj-pagehead .nj-wrap { display: flex; flex-direction: column; gap: 12px; }
.nj-pagehead__title { font: 400 56px/1 var(--nj-display); text-transform: uppercase; }
.nj-pagehead__desc { color: #d6d6d6; font-size: 17px; max-width: 760px; }
.nj-pagehead__desc p { margin: 0; }
.nj-pagehead__search .nj-searchform input { border-color: #fff; width: 420px; max-width: 70vw; }

.nj-listing { padding-bottom: 20px; }
.nj-empty { padding: 40px 0; }
.nj-empty h2 { font: 400 32px/1.1 var(--nj-display); text-transform: uppercase; margin-bottom: 8px; }

.nj-pagination { display: flex; flex-wrap: wrap; gap: 8px; padding: 36px 0 8px; }
.nj-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; border: 2px solid var(--nj-ink);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.nj-pagination .page-numbers.current { background: var(--nj-ink); color: #fff; }
.nj-pagination .page-numbers.dots { border-color: transparent; }
.nj-pagination a.page-numbers:hover { background: var(--nj-gold); border-color: var(--nj-gold); color: var(--nj-ink); }

/* ---------- Article ---------- */
.nj-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: 36px; }
.nj-article { display: flex; flex-direction: column; gap: 20px; max-width: 840px; min-width: 0; }
.nj-crumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.nj-crumbs a:hover { text-decoration: underline; }
.nj-article__title { font: 400 60px/1.03 var(--nj-display); text-transform: uppercase; }
.nj-article .nj-standfirst { font-size: 22px; }

.nj-byline { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--nj-line); border-bottom: 1px solid var(--nj-line); }
.nj-byline__who { display: flex; gap: 12px; align-items: center; }
.nj-byline__who > div { display: flex; flex-direction: column; }
.nj-byline__name { font-weight: 700; font-size: 15px; }
.nj-avatar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d9d9d9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nj-avatar img { width: 28px; height: auto; }

.nj-share { display: flex; gap: 8px; flex-wrap: wrap; }
.nj-sharebtn {
	min-height: 44px; padding: 0 16px; border: 2px solid var(--nj-ink); background: #fff; color: var(--nj-ink) !important;
	font: 700 14px var(--nj-sans); display: inline-flex; align-items: center; cursor: pointer;
}
.nj-sharebtn:hover { background: var(--nj-gold); border-color: var(--nj-gold); }
.nj-sharebtn--dark { background: var(--nj-ink); color: #fff !important; }
.nj-sharebtn--dark:hover { color: var(--nj-ink) !important; }

.nj-article__hero { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.nj-article__hero img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }

.nj-body { font-family: var(--nj-serif); font-size: 20px; line-height: 1.65; color: #1a1a1a; overflow-wrap: break-word; }
.nj-body > * { margin: 0 0 22px; }
.nj-body a { color: var(--nj-ink); text-decoration: underline; text-decoration-color: var(--nj-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nj-body h2, .nj-body h3, .nj-body h4 { font-family: var(--nj-sans); font-weight: 800; line-height: 1.25; margin-top: 32px; }
.nj-body h2 { font-size: 28px; } .nj-body h3 { font-size: 23px; }
.nj-body blockquote, .nj-body .wp-block-quote, .nj-body .wp-block-pullquote {
	margin: 30px 0; padding: 22px 0; border: 0; border-top: 4px solid var(--nj-gold); border-bottom: 1px solid var(--nj-line);
	font: 400 32px/1.15 var(--nj-display); text-transform: uppercase; color: var(--nj-ink);
}
.nj-body blockquote p { margin: 0; }
.nj-body blockquote cite { display: block; margin-top: 10px; font: 400 14px var(--nj-sans); text-transform: none; color: var(--nj-muted); }
.nj-body img { height: auto; }
.nj-body figure { margin-left: 0; margin-right: 0; }
.nj-body figcaption, .nj-body .wp-element-caption { font: 13px var(--nj-sans); color: var(--nj-muted); margin-top: 6px; }
.nj-body ul, .nj-body ol { padding-left: 1.3em; }
.nj-body table { border-collapse: collapse; width: 100%; font: 15px var(--nj-sans); }
.nj-body th, .nj-body td { border: 1px solid var(--nj-line); padding: 8px 10px; text-align: left; }
.nj-body .alignleft { float: left; margin: 0 24px 16px 0; }
.nj-body .alignright { float: right; margin: 0 0 16px 24px; }
.nj-body .aligncenter { margin-left: auto; margin-right: auto; }

.nj-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.nj-tags a { border: 1px solid var(--nj-ink); padding: 6px 12px; font-size: 13px; font-weight: 600; }
.nj-tags a:hover { background: var(--nj-gold); border-color: var(--nj-gold); color: var(--nj-ink); }

.nj-tipbox { background: var(--nj-gold); padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.nj-tipbox__title { margin: 0; font: 400 26px/1.1 var(--nj-display); text-transform: uppercase; }

.nj-side--article { padding-top: 44px; }
.nj-related { padding-top: 56px; }

.nj-page { max-width: 840px; padding-bottom: 20px; }

/* Comments */
.nj-comments { margin-top: 20px; }
.nj-comments__list, .nj-comments__list .children { list-style: none; padding: 0; margin: 0 0 24px; }
.nj-comments__list .children { padding-left: 24px; }
.nj-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--nj-line); font-size: 16px; }
.nj-comments .comment-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--nj-muted); }
.nj-comments .avatar { border-radius: 50%; }
.nj-comments label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.nj-comments input[type="text"], .nj-comments input[type="email"], .nj-comments input[type="url"], .nj-comments textarea {
	width: 100%; border: 2px solid var(--nj-ink); padding: 10px 12px; font: 16px var(--nj-sans); border-radius: 0;
}
.nj-comments .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- Vacancies page ---------- */
.nj-jobhero { background: var(--nj-ink); color: #fff; padding: 48px 0; }
.nj-jobhero .nj-wrap { display: flex; flex-direction: column; gap: 12px; }
.nj-jobhero__title { font: 400 64px/1 var(--nj-display); text-transform: uppercase; }
.nj-jobhero__sub { margin: 0 0 12px; font-size: 18px; color: #d6d6d6; }
.nj-jobsearch { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) 200px; gap: 12px; align-items: end; }
.nj-field { display: flex; flex-direction: column; gap: 6px; }
.nj-field label { font-size: 13px; font-weight: 700; color: #d6d6d6; }
.nj-field input, .nj-field select {
	height: 52px; border: 0; border-radius: 0; padding: 0 16px; font: 500 16px var(--nj-sans); background: #fff; color: var(--nj-ink); width: 100%;
}
.nj-jobs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-top: 36px; }
.nj-jobs-count { margin: 0 0 16px; font-weight: 700; }
.nj-jobs-count a { text-decoration: underline; }
.nj-joblist { display: flex; flex-direction: column; gap: 14px; }
.nj-jobs-intro { font-size: 17px; }
.nj-postjob { background: var(--nj-gold); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.nj-postjob p { margin: 0; }
.nj-postjob__title { font: 400 32px/1.02 var(--nj-display); text-transform: uppercase; }
.nj-postjob__price { font-weight: 800; }

/* ---------- Footer ---------- */
.nj-footer { background: #1b1b1b; color: #cfcfcf; border-top: 6px solid var(--nj-gold); padding: 48px 0 28px; margin-top: 64px; }
.nj-jobsband + .nj-footer, .nj-main:has(> .nj-jobsband:last-child) + .nj-footer { margin-top: 0; }
.nj-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.nj-footer__about { display: flex; flex-direction: column; gap: 14px; }
.nj-footer__about p { margin: 0; font-size: 14px; line-height: 1.55; max-width: 380px; }
.nj .nj-logo--footer { height: 26px; }
.nj-footer h2 { font: 800 13px var(--nj-sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.nj-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.nj-footer__list .current-menu-item > a { color: var(--nj-gold); }
.nj-footer a:hover { color: var(--nj-gold); }
.nj-footer__copy { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid #333; font-size: 13px; color: #9a9a9a; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	:root { --nj-gutter: 28px; }
	.nj-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nj-sections .nj-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
	.nj-sections .nj-side .nj-mostread { grid-column: 1 / -1; }
	.nj-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nj-lead__title { font-size: 48px; }
	.nj-article-layout, .nj-jobs-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
	.nj-searchform input { width: 220px; }
}

@media (max-width: 860px) {
	:root { --nj-gutter: 16px; }
	.nj-topbar { display: none; }
	.nj-masthead__inner { padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px; }
	.nj .nj-logo { height: 24px; max-width: calc(100vw - 90px); }
	.nj-brand__tagline { display: none; }
	.nj-iconbtn { display: inline-flex; }
	.nj-masthead__tools { display: none; width: 100%; padding-bottom: 8px; }
	.nj-masthead__tools.is-open { display: flex; flex-wrap: wrap; }
	.nj-masthead__tools .nj-searchform { flex: 1; }
	.nj-masthead__tools .nj-searchform input { width: 100%; }
	.nj-nav { position: static; }
	.nj-menu a { height: 44px; padding: 0 14px; font-size: 13px; }
	.nj-breaking__more { display: none; }
	.nj-breaking__link { font-size: 15px; }

	.nj-adrow { padding: 16px 0; }
	.nj-ad--leaderboard.nj-ad--house { width: 100%; }

	.nj-hero { grid-template-columns: 1fr; gap: 28px; }
	.nj-lead { margin: 0 calc(-1 * var(--nj-gutter)); }
	.nj-lead > *:not(.nj-lead__media) { margin-left: var(--nj-gutter); margin-right: var(--nj-gutter); }
	.nj-lead__title { font-size: 34px; line-height: 1.04; }
	.nj-standfirst { font-size: 17px; }
	.nj-row__media { width: 104px; height: 78px; }
	.nj-row__title { font-size: 16px; }

	.nj-sections { grid-template-columns: 1fr; padding-top: 36px; }
	.nj-sections .nj-side { grid-template-columns: 1fr; }
	.nj-grid4, .nj-grid3 { grid-template-columns: 1fr; }
	.nj-grid4 .nj-card, .nj-grid3 .nj-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: start; }
	.nj-grid4 .nj-card__media, .nj-grid3 .nj-card__media { grid-row: 1 / span 3; aspect-ratio: 4 / 3; }
	.nj-grid4 .nj-card__title, .nj-grid3 .nj-card__title { font-size: 16px; }
	.nj-grid3 .nj-card__excerpt { display: none; }
	.nj-latest, .nj-related { padding-top: 36px; }
	.nj-sec { font-size: 24px; }

	.nj-jobsband { margin-top: 40px; padding: 28px 0 32px; }
	.nj-jobsband__title { font-size: 30px; }
	.nj-jobsband .nj-grid4 { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--nj-gutter)); padding-right: var(--nj-gutter); }
	.nj-jobsband .nj-job { flex: 0 0 72%; scroll-snap-align: start; }
	.nj-jobsband .nj-grid4 .nj-card { display: flex; }

	.nj-pagehead { padding: 28px 0; margin-bottom: 24px; }
	.nj-pagehead__title { font-size: 38px; }

	.nj-article-layout, .nj-jobs-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 20px; }
	.nj-article__title { font-size: 36px; }
	.nj-article .nj-standfirst { font-size: 18px; }
	.nj-body { font-size: 18px; }
	.nj-body blockquote { font-size: 24px; }
	.nj-body .alignleft, .nj-body .alignright { float: none; margin: 0 0 16px; }
	.nj-share { width: 100%; }
	.nj-sharebtn { flex: 1; justify-content: center; padding: 0 10px; }
	.nj-side--article { padding-top: 0; }
	.nj-tipbox__title { font-size: 22px; }

	.nj-jobhero { padding: 28px 0; }
	.nj-jobhero__title { font-size: 42px; }
	.nj-jobsearch { grid-template-columns: 1fr; }
	.nj-job--list { flex-wrap: wrap; padding: 16px; }
	.nj-job--list .nj-btn { width: 100%; }

	.nj-footer { padding: 32px 0 24px; margin-top: 40px; }
	.nj-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
	.nj-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .nj-nav { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
#ast-scroll-top { display: none !important; }
