/* TheNewsPress — main stylesheet
 * Design tokens first, then layout, then components. Mobile-first, with
 * breakpoints at 720px (tablet) and 1024px (desktop).
 */

:root {
	--tnp-brand: #c8102e;
	--tnp-brand-dark: #9d0c24;
	--tnp-ink: #111318;
	--tnp-ink-2: #2b2f38;
	--tnp-slate: #5b6270;
	--tnp-mist: #f2f3f5;
	--tnp-line: #e3e5ea;
	--tnp-white: #ffffff;
	--tnp-radius: 4px;
	--tnp-radius-lg: 8px;
	--tnp-shadow: 0 1px 2px rgba(17, 19, 24, .06), 0 4px 14px rgba(17, 19, 24, .05);
	--tnp-font-serif: "Georgia", "Times New Roman", "Noto Serif", serif;
	--tnp-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tnp-max: 1240px;
	--tnp-gap: 24px;
	--tnp-header-h: 64px;
}

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

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

body {
	margin: 0;
	background: var(--tnp-white);
	color: var(--tnp-ink);
	font-family: var(--tnp-font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tnp-brand); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .4em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.tnp-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--tnp-brand);
	color: #fff;
	padding: 10px 16px;
	z-index: 9999;
}
.tnp-skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
	outline: 2px solid var(--tnp-brand);
	outline-offset: 2px;
}

/* ---------- Layout primitives ---------- */
.tnp-container {
	width: 100%;
	max-width: var(--tnp-max);
	margin: 0 auto;
	padding: 0 16px;
}

.tnp-main { display: block; }

.tnp-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--tnp-gap);
}

.tnp-content-col { min-width: 0; }

.tnp-btn {
	display: inline-block;
	background: var(--tnp-brand);
	color: #fff;
	border: 0;
	border-radius: var(--tnp-radius);
	padding: 10px 20px;
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
	transition: background .15s ease;
}
.tnp-btn:hover { background: var(--tnp-brand-dark); color: #fff; }
.tnp-btn-light { background: #fff; color: var(--tnp-ink); }
.tnp-btn-light:hover { background: #fff; color: var(--tnp-brand); }
.tnp-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.tnp-header { background: #fff; }

.tnp-social {
	display: flex;
	gap: 6px;
	list-style: none;
	align-items: center;
}
.tnp-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
}
.tnp-social-link:hover { background: var(--tnp-brand); color: #fff; }

.tnp-search-toggle {
	background: none;
	border: 1px solid var(--tnp-line);
	border-radius: var(--tnp-radius);
	color: var(--tnp-ink);
	cursor: pointer;
	padding: 8px;
	display: inline-flex;
	align-items: center;
}
.tnp-search-toggle:hover { color: var(--tnp-brand); border-color: var(--tnp-brand); }

/* ---------- Brand bar + nav ---------- */
.tnp-brandbar { border-bottom: 1px solid var(--tnp-line); background: #fff; position: relative; }
.tnp-brandbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: var(--tnp-header-h);
	flex-wrap: nowrap;
}

.tnp-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 0 1 auto;
	min-width: 0;
}
.tnp-logo-img { max-height: 52px; width: auto; max-width: 100%; display: block; }
.tnp-logo-text {
	font-family: var(--tnp-font-serif);
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--tnp-ink);
	line-height: 1;
}
.tnp-brand:hover .tnp-logo-text { color: var(--tnp-brand); }
.tnp-tagline {
	font-size: .72rem;
	color: var(--tnp-slate);
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-top: 4px;
}

/* Navigation column: keeps the burger and the search button on one line. */
.tnp-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	margin-left: auto;
}
.tnp-nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 1px solid var(--tnp-line);
	border-radius: var(--tnp-radius);
	padding: 8px 12px;
	cursor: pointer;
	font-size: .85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--tnp-ink);
}
.tnp-nav-burger {
	width: 16px; height: 2px;
	background: var(--tnp-ink);
	position: relative;
	display: block;
}
.tnp-nav-burger::before,
.tnp-nav-burger::after {
	content: "";
	position: absolute;
	left: 0;
	width: 16px; height: 2px;
	background: var(--tnp-ink);
}
.tnp-nav-burger::before { top: -5px; }
.tnp-nav-burger::after { top: 5px; }

/* Mobile menu: full-width panel that drops below the brand bar, not
   inline inside the flex row (which squeezed the logo and search button). */
.tnp-menu {
	list-style: none;
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	background: #fff;
	border-top: 1px solid var(--tnp-line);
	border-bottom: 1px solid var(--tnp-line);
	box-shadow: 0 10px 20px rgba(17, 19, 24, .08);
	padding: 6px 16px 12px;
	max-height: 70vh;
	overflow-y: auto;
}
.tnp-menu.is-open { display: block; }
.tnp-menu > li > a {
	display: block;
	padding: 12px 4px;
	font-weight: 700;
	font-size: .84rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	border-bottom: 1px solid var(--tnp-line);
}
.tnp-menu > li:last-child > a { border-bottom: 0; }
.tnp-menu .sub-menu {
	list-style: none;
	padding-left: 14px;
	display: none;
}
.tnp-menu li.is-open > .sub-menu { display: block; }
.tnp-menu .sub-menu a { display: block; padding: 8px 4px; font-size: .9rem; color: var(--tnp-slate); }

.tnp-header-search {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 59;
	border-top: 1px solid var(--tnp-line);
	border-bottom: 1px solid var(--tnp-line);
	background: var(--tnp-mist);
	padding: 14px 0;
	box-shadow: 0 10px 20px rgba(17, 19, 24, .08);
}

/* ---------- Search form ---------- */
.tnp-search-form {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.tnp-search-field {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--tnp-line);
	border-radius: var(--tnp-radius);
	padding: 10px 14px;
	font-size: .95rem;
	background: #fff;
	color: var(--tnp-ink);
}
.tnp-search-submit {
	border: 0;
	background: var(--tnp-brand);
	color: #fff;
	border-radius: var(--tnp-radius);
	padding: 0 16px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}
.tnp-search-submit:hover { background: var(--tnp-brand-dark); }

/* ---------- Breaking ticker ---------- */
.tnp-breaking {
	background: var(--tnp-brand);
	color: #fff;
	overflow: hidden;
}
.tnp-breaking-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 40px;
}
.tnp-breaking-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	white-space: nowrap;
	padding-right: 12px;
	border-right: 1px solid rgba(255, 255, 255, .35);
}
.tnp-breaking-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: tnp-pulse 1.6s infinite;
}
@keyframes tnp-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .35; transform: scale(.8); }
}
.tnp-breaking-viewport { flex: 1; overflow: hidden; position: relative; }
.tnp-breaking-list { list-style: none; position: relative; margin: 0; padding: 0; }
.tnp-breaking-item { font-size: .88rem; line-height: 40px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tnp-breaking-item a { color: #fff; }
.tnp-breaking-item a:hover { text-decoration: underline; }
.tnp-breaking-nav { display: flex; gap: 4px; }
.tnp-breaking-nav button {
	background: rgba(255, 255, 255, .16);
	border: 0;
	color: #fff;
	width: 24px; height: 24px;
	border-radius: 3px;
	cursor: pointer;
	line-height: 1;
}
.tnp-breaking-nav button:hover { background: rgba(255, 255, 255, .3); }

/* ---------- Homepage hero ---------- */
.tnp-home { padding-bottom: 48px; }
.tnp-hero-section { padding: 22px 0; border-bottom: 1px solid var(--tnp-line); }
.tnp-hero-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tnp-hero-secondary { display: grid; grid-template-columns: 1fr; gap: 14px; }

.tnp-card-hero { position: relative; }
.tnp-hero-media { position: relative; }
.tnp-hero-thumb { display: block; position: relative; overflow: hidden; border-radius: var(--tnp-radius-lg); }
.tnp-hero-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.tnp-card-hero:hover .tnp-hero-thumb img { transform: scale(1.03); }
.tnp-hero-overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 20px 18px;
	background: linear-gradient(to top, rgba(10, 12, 16, .92) 0%, rgba(10, 12, 16, .55) 55%, rgba(10, 12, 16, 0) 100%);
	color: #fff;
	border-radius: 0 0 var(--tnp-radius-lg) var(--tnp-radius-lg);
}
.tnp-hero-title { font-size: 1.5rem; line-height: 1.2; margin: 6px 0 0; }
.tnp-hero-title a { color: #fff; }
.tnp-hero-title a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tnp-hero-overlay .tnp-excerpt { color: #d8dbe2; font-size: .9rem; margin: 8px 0 0; display: none; }
.tnp-hero-overlay .tnp-meta { color: #b9bec8; }
.tnp-hero-overlay .tnp-meta a { color: #fff; }

/* ---------- Cards ---------- */
.tnp-card { min-width: 0; }
.tnp-card-media { overflow: hidden; border-radius: var(--tnp-radius); margin-bottom: 10px; }
.tnp-card-thumb { display: block; }
.tnp-card-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s ease; }
.tnp-card:hover .tnp-card-thumb img { transform: scale(1.03); }

.tnp-thumb-placeholder,
.tnp-hero-thumb-placeholder,
.tnp-card-thumb-placeholder,
.tnp-compact-thumb-placeholder,
.tnp-hero-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #eceef2, #dfe3e9);
	color: #b6bcc7;
	font-family: var(--tnp-font-serif);
	font-size: 2.4rem;
	border-radius: var(--tnp-radius);
}
.tnp-hero-thumb-placeholder { aspect-ratio: 16 / 9; }

.tnp-card-title { font-family: var(--tnp-font-serif); font-size: 1.12rem; line-height: 1.28; margin: 6px 0 0; font-weight: 700; }
.tnp-card-title a:hover { color: var(--tnp-brand); }

.tnp-excerpt { color: var(--tnp-slate); font-size: .9rem; line-height: 1.55; margin: 8px 0 0; }

.tnp-card-horizontal {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px 0;
	border-top: 1px solid var(--tnp-line);
}
.tnp-card-horizontal .tnp-card-media { margin-bottom: 0; }
.tnp-card-horizontal .tnp-card-thumb img { aspect-ratio: 4 / 3; }
.tnp-card-horizontal .tnp-card-title { font-size: 1rem; margin-top: 2px; }
.tnp-card-horizontal .tnp-excerpt,
.tnp-card-horizontal .tnp-meta { display: none; }

.tnp-card-compact { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--tnp-line); }
.tnp-compact-thumb img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tnp-compact-thumb-placeholder { aspect-ratio: 4 / 3; font-size: 1.5rem; }
.tnp-card-compact .tnp-card-title { font-size: .92rem; margin: 0 0 2px; font-family: var(--tnp-font-sans); font-weight: 600; }
.tnp-card-compact .tnp-eyebrow { font-size: .62rem; }

/* ---------- Eyebrow + meta ---------- */
.tnp-eyebrow {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--tnp-brand);
}
.tnp-hero-overlay .tnp-eyebrow { color: #ffb3bd; }
.tnp-eyebrow-link:hover { color: var(--tnp-brand-dark); }

.tnp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: .74rem;
	color: var(--tnp-slate);
	margin-top: 8px;
}
.tnp-meta a { color: var(--tnp-slate); }
.tnp-meta a:hover { color: var(--tnp-brand); }
.tnp-meta-sep { opacity: .5; }
.tnp-meta-views { font-weight: 600; }

/* ---------- Section heads ---------- */
.tnp-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 2px solid var(--tnp-ink);
	padding-bottom: 8px;
	margin-bottom: 16px;
}
.tnp-section-title {
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}
.tnp-section-title a:hover { color: var(--tnp-brand); }
.tnp-section-accent { width: 4px; height: 18px; background: var(--tnp-brand); display: inline-block; }
.tnp-section-more { font-size: .78rem; font-weight: 700; color: var(--tnp-brand); white-space: nowrap; }

/* ---------- Card grids ---------- */
.tnp-card-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.tnp-card-grid-2 > .tnp-card { padding-bottom: 18px; border-bottom: 1px solid var(--tnp-line); }
.tnp-card-grid-2 > .tnp-card:last-child { border-bottom: 0; }

/* ---------- Trending ---------- */
.tnp-trending { padding: 34px 0; border-top: 1px solid var(--tnp-line); }
.tnp-trending-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tnp-trending-item { display: flex; gap: 12px; align-items: flex-start; }
.tnp-trending-rank {
	font-family: var(--tnp-font-serif);
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1;
	color: var(--tnp-brand);
	min-width: 34px;
}
.tnp-trending-title { font-size: .98rem; font-family: var(--tnp-font-serif); line-height: 1.3; margin: 4px 0 0; }

/* ---------- Category sections on home ---------- */
.tnp-cat-section { padding: 30px 0; border-top: 1px solid var(--tnp-line); }
.tnp-cat-section-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tnp-cat-section-list { display: block; }

/* ---------- Newsletter ---------- */
.tnp-newsletter { background: var(--tnp-ink); color: #fff; border-radius: var(--tnp-radius-lg); padding: 26px 20px; margin-top: 34px; }
.tnp-newsletter-inner { display: grid; gap: 18px; }
.tnp-newsletter-title { font-family: var(--tnp-font-serif); font-size: 1.4rem; margin: 0 0 6px; }
.tnp-newsletter-text { color: #c3c8d2; margin: 0; font-size: .92rem; }
.tnp-newsletter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tnp-newsletter-row input {
	flex: 1 1 200px;
	min-width: 0;
	border: 0;
	border-radius: var(--tnp-radius);
	padding: 11px 14px;
	font-size: .95rem;
}
.tnp-newsletter-privacy { font-size: .72rem; color: #9aa1ad; margin: 10px 0 0; }
.tnp-newsletter-notice { font-size: .8rem; color: #ffc9d1; margin: 0 0 10px; }

/* ---------- Sidebar ---------- */
.tnp-sidebar { min-width: 0; }
.tnp-sidebar .widget,
.tnp-footer .widget { margin-bottom: 26px; }
.tnp-sidebar .widget-title,
.tnp-footer .widget-title {
	font-size: .9rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	border-bottom: 2px solid var(--tnp-ink);
	padding-bottom: 8px;
	margin-bottom: 14px;
}

.tnp-ranked-list { list-style: none; counter-reset: none; }
.tnp-ranked-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--tnp-line); align-items: baseline; }
.tnp-ranked-item:last-child { border-bottom: 0; }
.tnp-rank { font-family: var(--tnp-font-serif); font-size: 1.35rem; font-weight: 800; color: var(--tnp-line); line-height: 1; min-width: 22px; }
.tnp-ranked-item:first-child .tnp-rank { color: var(--tnp-brand); }
.tnp-ranked-link { font-size: .88rem; font-weight: 600; line-height: 1.4; }

/* ---------- Single post ---------- */
.tnp-single-layout { padding-top: 16px; padding-bottom: 48px; }
.tnp-single-head { margin-bottom: 20px; }
.tnp-single-title {
	font-family: var(--tnp-font-serif);
	font-size: 1.75rem;
	line-height: 1.18;
	letter-spacing: -.01em;
	margin: 8px 0 12px;
}
.tnp-single-standfirst { font-size: 1.02rem; color: var(--tnp-slate); line-height: 1.55; margin: 0 0 16px; }
.tnp-badge-breaking {
	display: inline-block;
	background: var(--tnp-brand);
	color: #fff;
	font-size: .68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .1em;
	padding: 3px 8px;
	border-radius: 2px;
	margin: 6px 0;
}

.tnp-single-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--tnp-line); border-bottom: 1px solid var(--tnp-line); padding: 12px 0; }
.tnp-byline-avatar img { border-radius: 50%; display: block; }
.tnp-single-meta-text { flex: 1; min-width: 160px; }
.tnp-byline { font-size: .88rem; font-weight: 700; }
.tnp-byline a { color: var(--tnp-ink); }
.tnp-single-meta .tnp-meta { margin-top: 2px; }


.tnp-entry-content { font-family: var(--tnp-font-serif); font-size: 1.06rem; line-height: 1.75; color: var(--tnp-ink-2); }
.tnp-entry-content > p:first-of-type::first-letter { initial-letter: normal; }
.tnp-entry-content h2 { font-size: 1.35rem; margin-top: 1.4em; }
.tnp-entry-content h3 { font-size: 1.15rem; margin-top: 1.3em; }
.tnp-entry-content a { color: var(--tnp-brand); text-decoration: underline; text-underline-offset: 2px; }
.tnp-entry-content img { border-radius: var(--tnp-radius); }
.tnp-entry-content blockquote {
	border-left: 4px solid var(--tnp-brand);
	margin: 1.4em 0;
	padding: 4px 0 4px 18px;
	font-size: 1.1rem;
	color: var(--tnp-ink);
}
.tnp-entry-content figcaption { font-size: .78rem; color: var(--tnp-slate); font-family: var(--tnp-font-sans); }
.tnp-entry-content ul,
.tnp-entry-content ol { padding-left: 1.4em; margin-bottom: 1em; }

/* ---------- Share ---------- */
.tnp-share { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tnp-share-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--tnp-slate); margin-right: 4px; }
.tnp-share-link {
	width: 32px; height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--tnp-mist);
	color: var(--tnp-ink);
	font-size: .74rem;
	font-weight: 800;
	border: 0;
	cursor: pointer;
}
.tnp-share-link:hover { background: var(--tnp-ink); color: #fff; }
.tnp-share-facebook:hover { background: #1877f2; }
.tnp-share-x:hover { background: #000; }
.tnp-share-linkedin:hover { background: #0a66c2; }
.tnp-share-telegram:hover { background: #229ed9; }
.tnp-share-email:hover { background: var(--tnp-slate); }

.tnp-single-foot { margin: 26px 0; padding: 18px 0; border-top: 1px solid var(--tnp-line); border-bottom: 1px solid var(--tnp-line); display: flex; flex-direction: column; gap: 14px; }
.tnp-taglist { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tnp-taglist-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--tnp-slate); }
.tnp-tag { background: var(--tnp-mist); border-radius: 2px; padding: 4px 10px; font-size: .78rem; font-weight: 600; }
.tnp-tag:hover { background: var(--tnp-brand); color: #fff; }

/* ---------- Author box ---------- */
.tnp-author-box { display: flex; gap: 16px; background: var(--tnp-mist); border-radius: var(--tnp-radius-lg); padding: 20px; margin: 26px 0; }
.tnp-author-box-avatar img { border-radius: 50%; }
.tnp-author-box-name { font-size: 1.05rem; margin: 0 0 4px; }
.tnp-author-box-bio { font-size: .88rem; color: var(--tnp-slate); margin: 0 0 6px; }
.tnp-author-box-link { font-size: .82rem; font-weight: 700; color: var(--tnp-brand); }

/* ---------- Related ---------- */
.tnp-related { margin: 30px 0; }

/* ---------- Post navigation ---------- */
.tnp-post-nav { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 26px 0; }
.tnp-post-nav-item { display: block; padding: 14px 16px; border: 1px solid var(--tnp-line); border-radius: var(--tnp-radius); }
.tnp-post-nav-item:hover { border-color: var(--tnp-brand); }
.tnp-post-nav-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--tnp-brand); margin-bottom: 4px; }
.tnp-post-nav-title { font-family: var(--tnp-font-serif); font-weight: 700; line-height: 1.3; }
.tnp-post-nav-next { text-align: right; }

/* ---------- Comments ---------- */
.tnp-comments-wrap { margin-top: 30px; }
.tnp-comments-title { font-size: 1.15rem; margin-bottom: 16px; }
.tnp-comment-list, .tnp-comment-list .children { list-style: none; margin: 0; padding: 0; }
.tnp-comment-list .children { padding-left: 18px; border-left: 2px solid var(--tnp-line); margin-top: 14px; }
.tnp-comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--tnp-line); }
.tnp-comment-avatar img { border-radius: 50%; }
.tnp-comment-content { flex: 1; min-width: 0; }
.tnp-comment-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.tnp-comment-author { font-weight: 700; font-size: .9rem; }
.tnp-comment-date { font-size: .74rem; color: var(--tnp-slate); }
.tnp-comment-text { font-size: .92rem; margin-top: 4px; }
.tnp-comment-foot { font-size: .78rem; margin-top: 6px; }
.tnp-comment-reply a { font-weight: 700; color: var(--tnp-brand); }
.tnp-comment-edit { margin-left: 12px; }
.tnp-comment-moderation { font-size: .78rem; color: var(--tnp-brand); }

.tnp-comment-form,
.comment-respond { margin-top: 26px; }
.comment-respond label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 4px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	border: 1px solid var(--tnp-line);
	border-radius: var(--tnp-radius);
	padding: 10px 12px;
	font-size: .95rem;
	font-family: var(--tnp-font-sans);
}
.comment-form-author, .comment-form-email, .comment-form-url { margin-bottom: 14px; }
.tnp-comment-notes { font-size: .78rem; color: var(--tnp-slate); }

/* ---------- Archive ---------- */
.tnp-archive { padding-top: 16px; padding-bottom: 48px; }
.tnp-archive-head { margin-bottom: 22px; border-bottom: 1px solid var(--tnp-line); padding-bottom: 18px; }
.tnp-archive-kicker { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--tnp-brand); margin: 0 0 6px; }
.tnp-archive-title { font-family: var(--tnp-font-serif); font-size: 1.8rem; line-height: 1.15; margin: 0 0 8px; }
.tnp-archive-desc { color: var(--tnp-slate); font-size: .92rem; max-width: 70ch; }
.tnp-archive-count { font-size: .78rem; color: var(--tnp-slate); margin: 8px 0 0; }

.tnp-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tnp-subcat { border: 1px solid var(--tnp-line); border-radius: 999px; padding: 5px 12px; font-size: .8rem; font-weight: 600; }
.tnp-subcat:hover { border-color: var(--tnp-brand); color: var(--tnp-brand); }
.tnp-subcat-count { color: var(--tnp-slate); font-size: .72rem; margin-left: 4px; }

.tnp-cat-lead { margin-bottom: 26px; }

/* ---------- Author archive ---------- */
.tnp-author-archive { padding-top: 16px; padding-bottom: 48px; }
.tnp-author-head { display: flex; gap: 18px; align-items: flex-start; background: var(--tnp-mist); border-radius: var(--tnp-radius-lg); padding: 22px; margin-bottom: 26px; }
.tnp-author-head-avatar img { border-radius: 50%; }
.tnp-author-bio { color: var(--tnp-slate); font-size: .92rem; max-width: 60ch; }

/* ---------- Search ---------- */
.tnp-search { padding-top: 16px; padding-bottom: 48px; }
.tnp-search-again { margin-top: 16px; max-width: 560px; }
.tnp-search-list { display: flex; flex-direction: column; }
.tnp-search-result { padding: 18px 0; border-bottom: 1px solid var(--tnp-line); }
.tnp-result-type { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--tnp-brand); }
.tnp-result-title { font-family: var(--tnp-font-serif); font-size: 1.15rem; margin: 4px 0 6px; }

/* ---------- Page ---------- */
.tnp-page-head { background: var(--tnp-mist); padding: 28px 0; margin-bottom: 26px; }
.tnp-page-title { font-family: var(--tnp-font-serif); font-size: 2rem; line-height: 1.15; margin: 8px 0 0; }
.tnp-page-body { max-width: 820px; padding-bottom: 48px; }
.tnp-page-full .tnp-page-body { max-width: var(--tnp-max); }
.tnp-page-media { margin: 0 0 24px; }

/* ---------- 404 ---------- */
.tnp-404 { padding: 60px 0 70px; text-align: center; }
.tnp-404-code { font-family: var(--tnp-font-serif); font-size: 5rem; font-weight: 800; color: var(--tnp-brand); line-height: 1; margin: 0; }
.tnp-404-title { font-size: 1.5rem; margin: 10px 0; }
.tnp-404-text { color: var(--tnp-slate); max-width: 52ch; margin: 0 auto 20px; }
.tnp-404-search { max-width: 460px; margin: 0 auto 20px; }
.tnp-404-suggest { margin-top: 50px; text-align: left; }

/* ---------- Pagination ---------- */
.tnp-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 30px 0; }
.tnp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px; height: 36px;
	padding: 0 10px;
	border: 1px solid var(--tnp-line);
	border-radius: var(--tnp-radius);
	font-size: .85rem;
	font-weight: 600;
}
.tnp-pagination .page-numbers:hover { border-color: var(--tnp-brand); color: var(--tnp-brand); }
.tnp-pagination .current { background: var(--tnp-brand); border-color: var(--tnp-brand); color: #fff; }
.tnp-pagination .dots { border: 0; }

/* ---------- Breadcrumb ---------- */
.tnp-breadcrumb { font-size: .76rem; color: var(--tnp-slate); padding: 12px 0; }
.tnp-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; align-items: center; }
.tnp-breadcrumb li + li::before { content: "/"; color: #b9bec8; margin-right: 6px; }
.tnp-breadcrumb a:hover { color: var(--tnp-brand); }

/* ---------- Footer ---------- */
.tnp-footer { background: var(--tnp-ink); color: #b9bec8; margin-top: 40px; }
.tnp-footer a { color: #d6dae1; }
.tnp-footer a:hover { color: #fff; }
.tnp-footer-widgets { display: grid; gap: 28px; padding: 40px 16px 20px; grid-template-columns: 1fr; }
.tnp-footer .widget-title { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
.tnp-footer-col .tnp-ranked-item { border-bottom-color: rgba(255, 255, 255, .1); }
.tnp-footer-col .tnp-rank { color: rgba(255, 255, 255, .3); }
.tnp-footer-main { border-top: 1px solid rgba(255, 255, 255, .1); padding: 30px 0; }
.tnp-footer-main-inner { display: grid; gap: 24px; }
.tnp-footer-logo { font-family: var(--tnp-font-serif); font-size: 1.5rem; font-weight: 800; color: #fff; display: inline-block; }
.tnp-footer-logo-img { max-height: 44px; width: auto; filter: brightness(0) invert(1); }
.tnp-footer-tagline { font-size: .88rem; color: #9aa1ad; margin: 8px 0 0; }
.tnp-footer-brand .tnp-social { margin-top: 14px; }
.tnp-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .85rem; }
.tnp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
.tnp-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tnp-copyright { font-size: .78rem; margin: 0; color: #9aa1ad; }
.tnp-to-top {
	background: rgba(255, 255, 255, .12);
	border: 0;
	color: #fff;
	width: 34px; height: 34px;
	border-radius: 50%;
	cursor: pointer;
	font-size: .95rem;
}
.tnp-to-top:hover { background: var(--tnp-brand); }

/* ---------- No results ---------- */
.tnp-no-results { padding: 30px 0 40px; text-align: center; }
.tnp-no-results-title { font-size: 1.3rem; }

/* ---------- Responsive: tablet ---------- */
@media (min-width: 720px) {
	body { font-size: 16.5px; }
	.tnp-container { padding: 0 24px; }
	.tnp-footer-widgets { grid-template-columns: repeat(2, 1fr); padding: 44px 24px 20px; }

	.tnp-hero-grid { grid-template-columns: 1.55fr 1fr; align-items: stretch; }
	.tnp-hero-secondary { grid-template-columns: 1fr; gap: 0; }
	.tnp-card-horizontal { border-top: 0; border-bottom: 1px solid var(--tnp-line); padding: 0 0 12px; margin-bottom: 12px; }
	.tnp-card-horizontal:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
	.tnp-hero-title { font-size: 1.7rem; }
	.tnp-hero-overlay .tnp-excerpt { display: block; }

	.tnp-card-grid-2 { grid-template-columns: 1fr; }
	.tnp-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.tnp-trending-grid { grid-template-columns: repeat(2, 1fr); }
	.tnp-cat-section-grid { grid-template-columns: 1.15fr 1fr; gap: 24px; }
	.tnp-newsletter-inner { grid-template-columns: 1fr 1fr; align-items: center; }
	.tnp-newsletter { padding: 32px 28px; }

	.tnp-post-nav { grid-template-columns: 1fr 1fr; }
	.tnp-single-title { font-size: 2.1rem; }
	.tnp-archive-title { font-size: 2.1rem; }
}

/* ---------- Responsive: desktop ---------- */
@media (min-width: 1024px) {
	.tnp-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
	.tnp-grid-single { grid-template-columns: minmax(0, 1fr) 320px; }
	.tnp-footer-widgets { grid-template-columns: repeat(4, 1fr); }
	.tnp-card-grid-2 { grid-template-columns: 1fr 1fr; }
	.tnp-card-grid-2 > .tnp-card { border-bottom: 0; padding-bottom: 0; }
	.tnp-trending-grid { grid-template-columns: repeat(3, 1fr); }
	.tnp-footer-main-inner { grid-template-columns: 1fr auto; align-items: center; }

	/* Desktop navigation: horizontal menu, no burger. */
	.tnp-brandbar-inner { flex-wrap: nowrap; min-height: 76px; }
	.tnp-nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
	.tnp-nav-toggle { display: none; }
	.tnp-menu {
		display: flex;
		align-items: center;
		gap: 22px;
		position: static;
		border-top: 0;
		border-bottom: 0;
		box-shadow: none;
		padding: 0;
		background: transparent;
		max-height: none;
		overflow: visible;
		width: auto;
	}
	.tnp-menu > li { position: relative; }
	.tnp-menu > li > a { border-bottom: 0; padding: 10px 0; }
	.tnp-menu > li > a:hover,
	.tnp-menu > li.current-menu-item > a { color: var(--tnp-brand); }
	.tnp-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 210px;
		background: #fff;
		border: 1px solid var(--tnp-line);
		border-radius: var(--tnp-radius);
		box-shadow: var(--tnp-shadow);
		padding: 8px 0;
		z-index: 50;
		display: none;
	}
	.tnp-menu li:hover > .sub-menu,
	.tnp-menu li:focus-within > .sub-menu { display: block; }
	.tnp-menu .sub-menu a { padding: 8px 16px; }
	.tnp-menu .sub-menu a:hover { background: var(--tnp-mist); color: var(--tnp-brand); }
	.tnp-single-title { font-size: 2.4rem; }
	.tnp-hero-title { font-size: 2rem; }
	.tnp-single-foot { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Printing ---------- */
@media print {
	.tnp-breaking, .tnp-nav, .tnp-sidebar, .tnp-share,
	.tnp-newsletter, .tnp-footer, .tnp-pagination, .tnp-related,
	.tnp-404-suggest { display: none !important; }
	.tnp-single-title { font-size: 22pt; }
	a { color: #000; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.tnp-breaking-dot { animation: none; }
}