/*
Theme Name: Next Stop Hell
Theme URI: https://nextstophell.com
Author: Next Stop Hell
Description: Film review theme for NEXT STOP HELL — "Mostly genre... mostly." Adds Film Reviews and Special Features (multi-film articles) with director, year, review date, reviewer, banner image and 1–10 star ratings.
Version: 1.6.2
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextstophell
*/

/* ------------------------------------------------------------------
   Palette & tokens
------------------------------------------------------------------- */
:root {
	--nsh-red: #e0140f;
	--nsh-red-dark: #8f0c08;
	--nsh-black: #000;
	--nsh-ink: #0b0b0b;
	--nsh-panel: #141212;
	--nsh-line: #2a2424;
	--nsh-yellow: #ffb612;
	--nsh-orange: #ff7a12;
	--nsh-white: #fff;
	--nsh-text: #ecebea;
	--nsh-muted: #a39e9b;
	--nsh-font-display: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--nsh-font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
	--nsh-wrap: 1240px;
	--nsh-read: 780px;
	--nsh-gutter: clamp(16px, 4vw, 56px);
}

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

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

body {
	margin: 0;
	background: var(--nsh-black);
	color: var(--nsh-text);
	font-family: var(--nsh-font-body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--nsh-yellow); text-decoration: none; }
a:hover, a:focus-visible { color: var(--nsh-orange); }
:focus-visible { outline: 2px solid var(--nsh-orange); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--nsh-yellow); color: #000; padding: 8px 14px; font-weight: 700;
}

.nsh-wrap { width: 100%; max-width: var(--nsh-wrap); margin: 0 auto; padding: 0 var(--nsh-gutter); }

/* ------------------------------------------------------------------
   Header: red band + overhanging logo, black tagline band
------------------------------------------------------------------- */
.nsh-header {
	position: relative; z-index: 5;
	/* Everything in the header scales from the logo width. */
	--nsh-logo-w: clamp(260px, 33.5vw, 540px);
}

.nsh-header__red {
	background: var(--nsh-red);
	height: calc(var(--nsh-logo-w) * .382);
}

.nsh-header__logo {
	position: absolute;
	left: 50%;
	top: calc(var(--nsh-logo-w) * .017);
	transform: translateX(-50%);
	width: var(--nsh-logo-w);
	line-height: 0;
}
.nsh-header__logo img { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.nsh-header__logo a:hover img { filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }

.nsh-header__black {
	background: var(--nsh-black);
	padding-top: calc(var(--nsh-logo-w) * .103 + 4px);
	padding-bottom: 14px;
	text-align: center;
}

.nsh-tagline {
	margin: 0;
	font-family: var(--nsh-font-body);
	font-weight: 500;
	font-size: clamp(16px, 2vw, 30px);
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--nsh-yellow);
}

.nsh-nav { margin-top: 10px; }
.nsh-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(14px, 2.4vw, 34px);
}
.nsh-nav a {
	font-family: var(--nsh-font-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--nsh-text);
	padding: 4px 0;
	border-bottom: 2px solid transparent;
}
.nsh-nav a:hover, .nsh-nav .current-menu-item > a, .nsh-nav a[aria-current] {
	color: var(--nsh-yellow); border-bottom-color: var(--nsh-red);
}
.nsh-nav .sub-menu { display: none; }

/* Desktops & laptops: compact header — logo, then straight into the menu (tagline hidden unless switched on). */
@media (min-width: 700px) {
	.nsh-tagline--mobile { display: none; }
	.nsh-header__black { padding-top: calc(var(--nsh-logo-w) * .103 - 2px); padding-bottom: 4px; }
	.nsh-nav { margin-top: 0; }
	.nsh-main > .nsh-section:first-child { padding-top: clamp(24px, 2.6vw, 38px); }
}
@media (max-width: 560px) {
	.nsh-nav ul { gap: 2px 14px; }
	.nsh-nav a { font-size: 13px; letter-spacing: .08em; }
}

/* ------------------------------------------------------------------
   Title bar (shared by hero, cards, single banner)
------------------------------------------------------------------- */
.nsh-titlebar {
	position: absolute; left: 0; right: 0; bottom: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.72) 100%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.nsh-display {
	font-family: var(--nsh-font-display);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: .005em;
	color: var(--nsh-white);
	margin: 0;
}

/* ------------------------------------------------------------------
   Home hero
------------------------------------------------------------------- */
.nsh-hero { position: relative; display: block; color: inherit; overflow: hidden; background: #111; }
.nsh-hero__img {
	width: 100%; height: clamp(300px, 34vw, 620px);
	object-fit: cover; transition: transform .8s ease;
}
.nsh-hero:hover .nsh-hero__img { transform: scale(1.02); }
.nsh-hero .nsh-titlebar { padding: clamp(10px, 1.4vw, 18px) var(--nsh-gutter); text-align: right; }
.nsh-hero .nsh-display { font-size: clamp(34px, 5vw, 80px); }
.nsh-hero__kicker {
	position: absolute; top: clamp(12px, 2vw, 24px); left: var(--nsh-gutter);
	font-family: var(--nsh-font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	font-size: 14px; background: var(--nsh-red); color: #fff; padding: 6px 12px;
}
.nsh-hero__meta {
	display: block; margin-top: 6px; font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase;
	letter-spacing: .06em; font-size: clamp(13px, 1.2vw, 17px); color: var(--nsh-yellow);
}
.nsh-hero__meta span + span::before { content: "•"; margin: 0 .6em; color: var(--nsh-red); }

/* ------------------------------------------------------------------
   Grid & cards
------------------------------------------------------------------- */
.nsh-section { padding: clamp(36px, 5vw, 60px) 0; }
.nsh-section__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-bottom: 2px solid var(--nsh-red); padding-bottom: 10px; margin-bottom: 28px;
}
.nsh-section__title { font-size: clamp(24px, 3vw, 38px); }
.nsh-section__title em { font-style: normal; color: var(--nsh-yellow); }

.nsh-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3.4vw, 64px);
}
@media (max-width: 900px) { .nsh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nsh-grid { grid-template-columns: 1fr; } }

.nsh-card { position: relative; display: block; overflow: hidden; background: #111; color: inherit; }
.nsh-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.nsh-card:hover .nsh-card__img, .nsh-card:focus-visible .nsh-card__img { transform: scale(1.05); filter: saturate(1.15); }
.nsh-card { container-type: inline-size; }
.nsh-card .nsh-titlebar { padding: 8px 12px 7px 12px; text-align: right; max-height: 100%; }
.nsh-card .nsh-display {
	display: block;
	font-size: clamp(18px, 2.1vw, 34px); /* fallback for older browsers */
	font-size: clamp(15px, calc(var(--nsh-fit, 12) * 1cqi), 36px); /* sized to the card and the title length */
	line-height: .98;
	text-wrap: balance;
	overflow-wrap: anywhere;
	hyphens: auto;
}
.nsh-card__badge {
	position: absolute; top: 10px; right: 10px;
	font-family: var(--nsh-font-display); font-weight: 700; font-size: 15px; line-height: 1;
	background: rgba(0,0,0,.78); color: var(--nsh-yellow); padding: 6px 8px; border-left: 3px solid var(--nsh-red);
}
.nsh-card__badge .star { color: var(--nsh-orange); margin-right: 3px; }
.nsh-card__type {
	position: absolute; top: 10px; left: 10px;
	font-family: var(--nsh-font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
	background: var(--nsh-red); color: #fff; padding: 5px 8px;
}
.nsh-card__sub {
	display: block; margin-top: 2px; font-family: var(--nsh-font-display); font-weight: 400;
	font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--nsh-yellow);
}

/* Filters (archive) */
.nsh-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.nsh-chip {
	font-family: var(--nsh-font-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
	padding: 6px 12px; border: 1px solid var(--nsh-line); color: var(--nsh-text); background: var(--nsh-ink);
}
.nsh-chip:hover { border-color: var(--nsh-orange); color: var(--nsh-orange); }
.nsh-chip.is-active { background: var(--nsh-red); border-color: var(--nsh-red); color: #fff; }

/* Pagination */
.nsh-pagination { margin-top: 48px; text-align: center; }
.nsh-pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.nsh-pagination .page-numbers {
	display: inline-block; min-width: 44px; padding: 8px 12px;
	font-family: var(--nsh-font-display); font-weight: 700; font-size: 17px;
	border: 1px solid var(--nsh-line); color: var(--nsh-text);
}
.nsh-pagination .page-numbers.dots { border-color: transparent; background: none; min-width: 0; padding-left: 4px; padding-right: 4px; color: var(--nsh-grey, #888); cursor: default; }
.nsh-pagination .page-numbers.current { background: var(--nsh-red); border-color: var(--nsh-red); color: #fff; }
.nsh-pagination a.page-numbers:hover { border-color: var(--nsh-yellow); color: var(--nsh-yellow); }

/* ------------------------------------------------------------------
   Single review / feature
------------------------------------------------------------------- */
.nsh-banner { position: relative; background: #111; }
.nsh-banner__img { width: 100%; height: clamp(260px, 31vw, 560px); object-fit: cover; }
.nsh-banner .nsh-titlebar {
	position: relative; margin-top: -1px;
	background: linear-gradient(90deg, #000 0%, #0a0806 12%, rgba(40,30,22,.92) 45%, #0a0806 82%, #000 100%);
	-webkit-backdrop-filter: none; backdrop-filter: none;
}
.nsh-banner--overlay .nsh-titlebar {
	position: absolute; margin-top: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.15) 100%);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.nsh-banner .nsh-titlebar .nsh-wrap { padding-top: 12px; padding-bottom: 12px; }
.nsh-single-title { font-size: clamp(36px, 5.2vw, 76px); }
.nsh-single-kicker {
	display: inline-block; margin-bottom: 8px;
	font-family: var(--nsh-font-display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
	background: var(--nsh-red); color: #fff; padding: 4px 10px;
}

.nsh-meta {
	padding: 12px 0 16px;
	border-bottom: 1px solid var(--nsh-red);
	font-family: var(--nsh-font-display);
	text-transform: uppercase;
	font-size: clamp(16px, 1.9vw, 27px);
	line-height: 1.3;
}
.nsh-meta__row { display: flex; flex-wrap: wrap; column-gap: 1.1em; row-gap: 2px; }
.nsh-meta__item { white-space: nowrap; }
.nsh-meta__label { font-weight: 700; color: var(--nsh-yellow); }
.nsh-meta__value { color: var(--nsh-white); }
.nsh-meta__value a { color: var(--nsh-white); border-bottom: 1px dotted var(--nsh-orange); }
.nsh-meta__value a:hover { color: var(--nsh-orange); }
@media (max-width: 560px) { .nsh-meta__item { white-space: normal; } }

.nsh-body { max-width: var(--nsh-read); margin: 0 auto; padding: clamp(28px, 4vw, 52px) 0 20px; }

/* Content typography (also used in the block editor) */
.nsh-content { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.62; color: var(--nsh-text); }
.nsh-content > * { margin-top: 0; margin-bottom: 1.15em; }
.nsh-content h2, .nsh-content h3, .nsh-content h4 {
	font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; line-height: 1.1; color: #fff;
	scroll-margin-top: 24px;
}
.nsh-content h2 {
	font-size: clamp(24px, 2.4vw, 32px); color: var(--nsh-yellow);
	margin-top: 1.8em; padding-bottom: .3em; border-bottom: 2px solid var(--nsh-red);
}
.nsh-content h3 { font-size: clamp(22px, 2vw, 28px); margin-top: 1.5em; margin-bottom: .45em; }
.nsh-content h3::before { content: ""; display: inline-block; width: .5em; height: .5em; background: var(--nsh-red); margin-right: .4em; vertical-align: .12em; }
.nsh-content a { color: var(--nsh-yellow); border-bottom: 1px solid rgba(255,182,18,.35); }
.nsh-content a:hover { color: var(--nsh-orange); border-bottom-color: var(--nsh-orange); }
.nsh-content blockquote {
	margin-left: 0; padding: .2em 0 .2em 1em; border-left: 4px solid var(--nsh-red);
	font-size: 1.12em; font-style: italic; color: #fff;
}
.nsh-content figure { margin-left: 0; margin-right: 0; }
.nsh-content figure img, .nsh-content .wp-block-image img { border: 1px solid var(--nsh-line); }
.nsh-content .wp-block-image:not(.alignwide):not(.alignfull) img { max-height: 80vh; width: auto; }
.nsh-content .wp-block-image.aligncenter img { margin-left: auto; margin-right: auto; }
.nsh-content figcaption, .nsh-content .wp-element-caption {
	margin-top: 8px; font-size: 14px; color: var(--nsh-muted); text-transform: uppercase; letter-spacing: .06em;
	font-family: var(--nsh-font-display);
}
.nsh-content .alignwide { margin-left: min(-120px, calc((var(--nsh-read) - 100vw) / 4)); margin-right: min(-120px, calc((var(--nsh-read) - 100vw) / 4)); max-width: none; }
.nsh-content .alignleft { float: left; margin: .35em 1.6em 1em 0; max-width: 42%; }
.nsh-content .alignright { float: right; margin: .35em 0 1em 1.6em; max-width: 42%; }
.nsh-content .aligncenter { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .nsh-content .alignwide { margin-left: 0; margin-right: 0; } }
@media (max-width: 560px) { .nsh-content .alignleft, .nsh-content .alignright { float: none; max-width: 100%; margin: 0 0 1em; } }
/* Inline images from the "Insert image" tool: width is set per image (in % of the text column). */
.nsh-content .nsh-inline { max-width: 100%; margin-top: .35em; }
.nsh-content .wp-block-image.nsh-inline:not(.alignwide):not(.alignfull) img { width: 100%; max-height: none; height: auto; }
.nsh-content .nsh-inline--center { margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .nsh-content .nsh-inline { width: 100% !important; float: none; margin: 0 0 1em; } }
.nsh-content ol, .nsh-content ul { padding-left: 1.4em; }
.nsh-content li::marker { color: var(--nsh-yellow); font-family: var(--nsh-font-display); font-weight: 700; }
.nsh-content .wp-block-embed iframe, .nsh-content iframe { max-width: 100%; }
.nsh-content::after { content: ""; display: table; clear: both; }

/* ------------------------------------------------------------------
   Rating / verdict
------------------------------------------------------------------- */
.nsh-stars { display: inline-flex; gap: 2px; line-height: 1; vertical-align: middle; }
.nsh-stars svg { width: 1em; height: 1em; display: block; }
.nsh-stars .on path { fill: var(--nsh-yellow); }
.nsh-stars .off path { fill: #2d2626; }

.nsh-verdict {
	max-width: var(--nsh-read); margin: 16px auto 0; padding: 26px 0 30px;
	border-top: 1px solid var(--nsh-red); border-bottom: 1px solid var(--nsh-red);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
}
.nsh-verdict__label { font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--nsh-yellow); font-size: 20px; }
.nsh-verdict .nsh-stars { font-size: clamp(26px, 3.6vw, 40px); gap: 4px; }
.nsh-verdict .nsh-stars .on path { fill: var(--nsh-yellow); }
.nsh-verdict .nsh-stars .on:nth-child(n+4) path { fill: #ffa512; }
.nsh-verdict .nsh-stars .on:nth-child(n+7) path { fill: var(--nsh-orange); }
.nsh-verdict__score { font-family: var(--nsh-font-display); font-weight: 700; font-size: clamp(38px, 5vw, 56px); line-height: 1; color: #fff; }
.nsh-verdict__score small { font-size: .45em; color: var(--nsh-muted); margin-left: 2px; }
.nsh-verdict--unrated .nsh-verdict__score { font-size: 22px; color: var(--nsh-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ------------------------------------------------------------------
   Special features: summary + scorecard
------------------------------------------------------------------- */
.nsh-lineup {
	max-width: var(--nsh-read); margin: clamp(28px, 4vw, 44px) auto 0;
	background: var(--nsh-panel); border-top: 4px solid var(--nsh-red);
	padding: 18px clamp(16px, 2.4vw, 28px) 10px;
}
.nsh-lineup__title { font-size: 24px; color: var(--nsh-yellow); margin-bottom: 10px; }
.nsh-lineup__title small { font-family: var(--nsh-font-body); font-weight: 400; font-size: 14px; color: var(--nsh-muted); text-transform: none; letter-spacing: 0; margin-left: 8px; }
.nsh-lineup table { width: 100%; border-collapse: collapse; font-size: 16px; }
.nsh-lineup th {
	text-align: left; font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
	font-size: 13px; color: var(--nsh-muted); padding: 6px 8px; border-bottom: 1px solid var(--nsh-line);
}
.nsh-lineup td { padding: 7px 8px; border-bottom: 1px solid #1f1a1a; vertical-align: top; }
.nsh-lineup tr:last-child td { border-bottom: 0; }
.nsh-lineup td.ttl { font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; color: #fff; }
.nsh-lineup td.ttl a { color: #fff; }
.nsh-lineup td.ttl a:hover { color: var(--nsh-orange); }
.nsh-lineup td.num { color: var(--nsh-red); font-family: var(--nsh-font-display); font-weight: 700; width: 2.2em; }
.nsh-lineup td.yr { white-space: nowrap; color: var(--nsh-yellow); font-family: var(--nsh-font-display); }
.nsh-lineup td.dir { color: var(--nsh-muted); }
@media (max-width: 600px) {
	.nsh-lineup thead { display: none; }
	.nsh-lineup tr { display: grid; grid-template-columns: 2em 1fr auto; padding: 6px 0; border-bottom: 1px solid #1f1a1a; }
	.nsh-lineup td { border: 0; padding: 2px 4px; }
	.nsh-lineup td.dir { grid-column: 2 / 4; padding-top: 0; font-size: 14px; }
}

.nsh-scorecard { max-width: var(--nsh-read); margin: 34px auto 0; }
.nsh-scorecard__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--nsh-red); padding-bottom: 8px; margin-bottom: 6px; }
.nsh-scorecard__head .nsh-display { font-size: clamp(26px, 3vw, 36px); }
.nsh-scorecard__head .nsh-display em { font-style: normal; color: var(--nsh-yellow); }
.nsh-sort { font-family: var(--nsh-font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--nsh-muted); }
.nsh-sort button {
	font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
	background: none; border: 1px solid var(--nsh-line); color: var(--nsh-text); padding: 4px 10px; margin-left: 4px;
}
.nsh-sort button[aria-pressed="true"] { background: var(--nsh-red); border-color: var(--nsh-red); color: #fff; }
.nsh-score-list { list-style: none; margin: 0; padding: 0; }
.nsh-score {
	display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 18px;
	padding: 12px 4px; border-bottom: 1px solid #1f1a1a;
}
.nsh-score__title { font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.15; color: #fff; }
.nsh-score__title a { color: #fff; }
.nsh-score__title a:hover { color: var(--nsh-orange); }
.nsh-score__sub { display: block; font-family: var(--nsh-font-body); font-weight: 400; text-transform: none; font-size: 14px; color: var(--nsh-muted); margin-top: 2px; }
.nsh-score .nsh-stars { font-size: 17px; }
.nsh-score__num { font-family: var(--nsh-font-display); font-weight: 700; font-size: 26px; color: var(--nsh-yellow); min-width: 2.6em; text-align: right; }
.nsh-score__num small { font-size: .55em; color: var(--nsh-muted); }
.nsh-score--unrated .nsh-score__num { font-size: 13px; color: var(--nsh-muted); letter-spacing: .08em; text-transform: uppercase; }
.nsh-score:nth-child(-n+3) .nsh-score__num { color: var(--nsh-orange); }
.nsh-score-list:not(.is-ranked) .nsh-score:nth-child(-n+3) .nsh-score__num { color: var(--nsh-yellow); }
@media (max-width: 600px) {
	.nsh-score { grid-template-columns: minmax(0, 1fr) auto; }
	.nsh-score .nsh-stars { grid-column: 1 / 2; grid-row: 2; font-size: 15px; }
	.nsh-score__num { grid-row: 1 / 3; grid-column: 2; }
}

/* ------------------------------------------------------------------
   Related / footer
------------------------------------------------------------------- */
.nsh-related { background: #080606; border-top: 1px solid var(--nsh-line); margin-top: clamp(40px, 6vw, 70px); }

.nsh-footer { background: var(--nsh-red); color: #000; margin-top: 0; }
.nsh-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.nsh-footer__logo img { width: 190px; }
.nsh-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nsh-footer nav a { color: #000; font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.nsh-footer nav a:hover { color: #fff; }
.nsh-footer__legal { background: #000; color: var(--nsh-muted); font-size: 13px; padding: 12px 0; text-align: center; }
.nsh-footer__legal a { color: var(--nsh-yellow); }

/* Search form */
.nsh-search { display: flex; max-width: 560px; margin: 0 auto; }
.nsh-search input[type="search"] {
	flex: 1; min-width: 0; font: inherit; font-size: 18px; padding: 12px 14px; background: #111; color: #fff;
	border: 1px solid var(--nsh-line); border-right: 0; border-radius: 0;
}
.nsh-search input[type="search"]:focus { outline: none; border-color: var(--nsh-yellow); }
.nsh-search button {
	font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 16px;
	background: var(--nsh-red); color: #fff; border: 0; padding: 0 20px; cursor: pointer;
}
.nsh-search button:hover { background: var(--nsh-orange); color: #000; }

.nsh-empty { text-align: center; padding: 60px 0; }
.nsh-empty .nsh-display { font-size: clamp(40px, 7vw, 90px); color: var(--nsh-red); }

/* Generic page */
.nsh-page-head { padding-top: clamp(30px, 4vw, 50px); }
.nsh-page-head .nsh-display { font-size: clamp(34px, 5vw, 64px); }
.nsh-page-head p { color: var(--nsh-muted); margin: 8px 0 0; }

/* ------------------------------------------------------------------
   Click-to-enlarge image viewer
------------------------------------------------------------------- */
.nsh-content img.nsh-zoomable { cursor: zoom-in; transition: filter .2s ease, box-shadow .2s ease; }
.nsh-content img.nsh-zoomable:hover, .nsh-content img.nsh-zoomable:focus-visible { filter: brightness(1.08); box-shadow: 0 0 0 2px var(--nsh-red); }
html.nsh-lb-lock, html.nsh-lb-lock body { overflow: hidden; }
.nsh-lb {
	position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center;
	background: rgba(0,0,0,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
	touch-action: pan-y pinch-zoom;
}
.nsh-lb.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.nsh-lb__stage { margin: 0; max-width: 94vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nsh-lb__img {
	max-width: 94vw; max-height: calc(92vh - 40px); width: auto; height: auto; object-fit: contain; display: block;
	box-shadow: 0 10px 40px rgba(0,0,0,.6); transform: scale(.97); transition: transform .25s ease, opacity .2s ease;
}
.nsh-lb.is-open .nsh-lb__img { transform: none; }
.nsh-lb.is-loading .nsh-lb__img { opacity: .35; }
.nsh-lb__cap { margin-top: 10px; font-family: var(--nsh-font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--nsh-muted); text-align: center; }
.nsh-lb__close, .nsh-lb__nav {
	position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(20,18,18,.7);
	font-family: var(--nsh-font-display); line-height: 1; display: flex; align-items: center; justify-content: center;
}
.nsh-lb__close { top: 14px; right: 14px; width: 46px; height: 46px; font-size: 34px; border-radius: 50%; }
.nsh-lb__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 84px; font-size: 54px; }
.nsh-lb__prev { left: 10px; }
.nsh-lb__next { right: 10px; }
.nsh-lb__close:hover, .nsh-lb__nav:hover, .nsh-lb__close:focus-visible, .nsh-lb__nav:focus-visible { background: var(--nsh-red); }
.nsh-lb__nav[hidden] { display: none; }
.nsh-lb__count { position: absolute; top: 24px; left: 20px; font-family: var(--nsh-font-display); font-weight: 700; letter-spacing: .1em; color: var(--nsh-yellow); font-size: 15px; }
@media (max-width: 600px) {
	.nsh-lb__nav { width: 40px; height: 64px; font-size: 40px; background: rgba(20,18,18,.45); }
	.nsh-lb__prev { left: 2px; } .nsh-lb__next { right: 2px; }
	.nsh-lb__img { max-width: 100vw; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------
   Verdict word (Ten vs Five scale)
------------------------------------------------------------------- */
.nsh-verdict__result { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.nsh-verdict__word {
	font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase;
	letter-spacing: .14em; font-size: 15px; color: var(--nsh-orange);
}
a.nsh-verdict__word:hover { color: var(--nsh-yellow); }

/* ------------------------------------------------------------------
   Ten vs Five: rating scale
------------------------------------------------------------------- */
@media (max-width: 600px) { .nsh-verdict__result { align-items: flex-start; } }
.page .nsh-page-head > * { max-width: var(--nsh-read); margin-left: auto; margin-right: auto; }
.nsh-lede { font-size: 1.25em; color: #fff; }
.nsh-content .nsh-scale, .nsh-scale { list-style: none; margin: 1.6em 0 2em; padding: 0; border-top: 1px solid var(--nsh-line); }
.nsh-scale__row {
	display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: 4px 18px;
	padding: 12px 0; border-bottom: 1px solid var(--nsh-line); margin: 0;
}
.nsh-scale__num { font-family: var(--nsh-font-display); font-weight: 700; font-size: 34px; line-height: 1; color: #fff; text-align: right; }
.nsh-scale__word { font-family: var(--nsh-font-display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .08em; color: var(--nsh-yellow); }
.nsh-scale .nsh-stars { font-size: 18px; }
.nsh-scale .nsh-stars .on:nth-child(n+4) path { fill: #ffa512; }
.nsh-scale .nsh-stars .on:nth-child(n+7) path { fill: var(--nsh-orange); }
.nsh-scale__row:first-child .nsh-scale__num, .nsh-scale__row:first-child .nsh-scale__word { color: var(--nsh-red); }
@media (max-width: 600px) {
	.nsh-scale__row { grid-template-columns: 2.6rem 1fr; }
	.nsh-scale__num { grid-row: span 2; font-size: 30px; }
	.nsh-scale .nsh-stars { font-size: 14px; }
}

/* ------------------------------------------------------------------
   Writers
------------------------------------------------------------------- */
.nsh-writers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 28px; }
.nsh-writer-card {
	display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: start;
	background: var(--nsh-panel); padding: 22px;
}
.nsh-writer-card__photo { display: block; line-height: 0; }
.nsh-writer__photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.nsh-writer__photo--none { background: var(--nsh-ink); padding: 18%; }
.nsh-writer-card__name { margin: 0 0 8px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; }
.nsh-writer-card__name a { color: #fff; }
.nsh-writer-card__name a:hover { color: var(--nsh-yellow); }
.nsh-writer-card__bio { margin: 0 0 16px; font-size: 16px; color: var(--nsh-text); }
.nsh-writer-card__more { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.nsh-writer-card__count { font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--nsh-orange); }
@media (max-width: 560px) {
	.nsh-writer-card { grid-template-columns: 1fr; }
	.nsh-writer-card__photo { max-width: 220px; }
}

.nsh-crumb { margin: 0 0 22px; font-family: var(--nsh-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.nsh-profile { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.nsh-profile__name { margin: 0 0 14px; font-size: clamp(38px, 5.5vw, 72px); line-height: 1; color: #fff; }
.nsh-profile__bio { font-size: 18px; }
.nsh-profile__bio > :first-child { margin-top: 0; }
.nsh-section--tight { padding-top: 0; }
@media (max-width: 760px) {
	.nsh-profile { grid-template-columns: 1fr; }
	.nsh-profile__photo { max-width: 280px; }
}
