/* ==========================================================================
   NationalPress — Editorial Newspaper Stylesheet
   Inspired by classic broadsheet journalism (National Post reference)
   ========================================================================== */

:root {
	--np-black: #111111;
	--np-ink: #1e1e1e;
	--np-muted: #595959;
	--np-light: #767676;
	--np-border: #e2e2e2;
	--np-border-dark: #222222;
	--np-bg: #ffffff;
	--np-surface: #f7f7f7;
	--np-red: #c8102e;
	--np-red-dark: #a00d25;
	--np-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--np-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--np-container: 1260px;
	--np-radius: 3px;
	--np-transition: 0.2s ease;
}

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

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

body {
	margin: 0;
	padding: 0;
	background-color: var(--np-bg);
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 16px;
	line-height: 1.6;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--np-transition), opacity var(--np-transition);
}

a:hover {
	color: var(--np-red);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--np-serif);
	color: var(--np-black);
	margin: 0 0 0.5em;
	line-height: 1.2;
	font-weight: 700;
}

.np-container {
	width: 100%;
	max-width: var(--np-container);
	margin: 0 auto;
	padding: 0 20px;
}

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

/* ==========================================================================
   Top Utility Bar & Breaking News Marquee
   ========================================================================== */

.np-topbar {
	background: var(--np-black);
	color: #f0f0f0;
	font-size: 12px;
	border-bottom: 1px solid #2a2a2a;
}

.np-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 36px;
	padding: 4px 0;
}

.np-topbar__left {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.np-topbar__date {
	color: #cccccc;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	font-size: 11px;
}

.np-topbar__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 14px;
}

.np-topbar__menu a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Social List */
.np-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.np-social-list__item a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	opacity: 0.85;
	padding: 3px;
}

.np-social-list__item a:hover {
	opacity: 1;
	color: var(--np-red);
}

.np-topbar .np-social-list__item a:hover {
	color: #ffffff;
}

/* Breaking News Marquee */
.np-breaking {
	background: #f8f8f8;
	border-bottom: 1px solid var(--np-border);
	font-size: 13px;
}

.np-breaking__inner {
	display: flex;
	align-items: center;
	gap: 0;
	overflow: hidden;
	min-height: 38px;
}

.np-breaking__badge {
	background: var(--np-red);
	color: #ffffff;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 9px 14px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.np-breaking__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffffff;
	animation: np-pulse 1.5s infinite;
}

@keyframes np-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.np-breaking__track-wrap {
	flex: 1;
	overflow: hidden;
	position: relative;
	padding: 0 12px;
}

.np-breaking__track {
	display: flex;
	align-items: center;
	gap: 36px;
	width: max-content;
	animation: np-marquee var(--np-marquee-speed, 32s) linear infinite;
}

.np-breaking__track-wrap:hover .np-breaking__track {
	animation-play-state: paused;
}

.np-breaking__item {
	white-space: nowrap;
	font-weight: 600;
	color: var(--np-black);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.np-breaking__item::before {
	content: "■";
	color: var(--np-red);
	font-size: 8px;
}

@keyframes np-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Masthead & Sticky Navigation
   ========================================================================== */

.np-masthead {
	background: var(--np-bg);
	border-bottom: 1px solid var(--np-border);
	padding: 20px 0 16px;
}

.np-masthead__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
}

.np-masthead__left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.np-masthead__brand {
	text-align: center;
}

.np-masthead__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.np-masthead__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.np-masthead__logo img,
.np-masthead__logo .custom-logo {
	width: auto;
	height: auto;
	max-width: var(--np-logo-max-w, min(320px, 60vw));
	max-height: var(--np-logo-max-h, 76px);
	object-fit: contain;
	margin: 0 auto;
}

.np-masthead__title {
	font-family: var(--np-serif);
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0;
	color: var(--np-black);
}

.np-masthead__title a:hover {
	color: var(--np-black);
}

.np-masthead__tagline {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--np-muted);
	font-style: italic;
	font-family: var(--np-serif);
}

.np-masthead__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.np-icon-btn {
	background: transparent;
	border: 1px solid var(--np-border);
	color: var(--np-black);
	width: 38px;
	height: 38px;
	border-radius: var(--np-radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background var(--np-transition), border-color var(--np-transition);
}

.np-icon-btn:hover {
	background: var(--np-surface);
	border-color: var(--np-black);
}

/* Navigation Bar */
.np-nav-wrap {
	background: var(--np-bg);
	border-bottom: 3px solid var(--np-black);
	position: sticky;
	top: 0;
	z-index: 90;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body.admin-bar .np-nav-wrap {
	top: 32px;
}

.np-nav__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.np-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
}

.np-nav__list > li > a {
	display: block;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--np-black);
	border-bottom: 2px solid transparent;
	margin-bottom: -3px;
}

.np-nav__list > li > a:hover,
.np-nav__list > li.current-menu-item > a,
.np-nav__list > li.current-category-ancestor > a {
	color: var(--np-red);
	border-bottom-color: var(--np-red);
}

/* Submenus */
.np-nav__list li {
	position: relative;
}

.np-nav__list ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: #ffffff;
	border: 1px solid var(--np-border);
	border-top: 2px solid var(--np-red);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	list-style: none;
	margin: 0;
	padding: 6px 0;
	z-index: 100;
}

.np-nav__list li:hover > ul.sub-menu {
	display: block;
}

.np-nav__list ul.sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
}

.np-nav__list ul.sub-menu a:hover {
	background: var(--np-surface);
	color: var(--np-red);
}

/* Search Drawer */
.np-search-drawer {
	display: none;
	background: var(--np-surface);
	border-bottom: 1px solid var(--np-border);
	padding: 14px 0;
}

.np-search-drawer.is-open {
	display: block;
}

.np-search-form {
	display: flex;
	gap: 10px;
	max-width: 680px;
	margin: 0 auto;
}

.np-search-form input[type="search"] {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #cccccc;
	border-radius: var(--np-radius);
	font-size: 15px;
	font-family: var(--np-sans);
}

.np-search-form button {
	background: var(--np-red);
	color: #ffffff;
	border: none;
	padding: 10px 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 12px;
	border-radius: var(--np-radius);
	cursor: pointer;
}

.np-search-form button:hover {
	background: var(--np-red-dark);
}

/* Slide-Out Navigation Drawer */
.np-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 9990;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.np-drawer-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.np-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(340px, 88vw);
	background: #ffffff;
	z-index: 9995;
	transform: translateX(-100%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
}

.np-drawer.is-open {
	transform: translateX(0);
}

body.admin-bar .np-drawer {
	top: 32px;
}

.np-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 2px solid var(--np-black);
}

.np-drawer__brand {
	font-family: var(--np-serif);
	font-size: 22px;
	font-weight: 900;
	color: var(--np-black);
}

.np-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 18px 20px 28px;
}

.np-drawer__search {
	margin-bottom: 18px;
}

.np-drawer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.np-drawer__menu li {
	border-bottom: 1px solid var(--np-border);
}

.np-drawer__menu a {
	display: block;
	padding: 12px 4px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--np-black);
}

.np-drawer__menu a:hover {
	color: var(--np-red);
}

.np-drawer__menu ul.sub-menu {
	list-style: none;
	margin: 0 0 8px;
	padding-left: 14px;
}

.np-drawer__menu ul.sub-menu li {
	border-bottom: none;
}

.np-drawer__menu ul.sub-menu a {
	padding: 7px 4px;
	font-size: 13px;
	font-weight: 600;
	text-transform: none;
	color: var(--np-muted);
}

.np-drawer__social {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--np-border);
}

/* ==========================================================================
   WhatsApp-Style Stories Bar & Modal Viewer
   ========================================================================== */

.np-stories-section {
	padding: 18px 0;
	border-bottom: 1px solid var(--np-border);
	background: #ffffff;
}

.np-stories-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.np-stories-title {
	font-family: var(--np-sans);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--np-black);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.np-stories-title::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--np-red);
}

.np-stories-rail {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
}

.np-story-trigger {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	width: 82px;
	flex-shrink: 0;
	text-align: center;
	font-family: var(--np-sans);
}

.np-story-ring {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	padding: 3px;
	background: linear-gradient(135deg, #c8102e 0%, #ff5a36 50%, #25d366 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--np-transition);
}

.np-story-trigger.is-viewed .np-story-ring {
	background: #cccccc;
}

.np-story-trigger:hover .np-story-ring {
	transform: scale(1.05);
}

.np-story-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 2px solid #ffffff;
	overflow: hidden;
	background: #222222;
}

.np-story-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.np-story-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--np-ink);
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Story Viewer Modal */
.np-story-modal {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 10, 0.94);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.np-story-modal.is-open {
	display: flex;
}

.np-story-player {
	position: relative;
	width: 100%;
	max-width: 420px;
	height: min(86vh, 720px);
	background: #111111;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	display: flex;
	flex-direction: column;
	color: #ffffff;
}

.np-story-progress {
	position: absolute;
	top: 10px;
	left: 12px;
	right: 12px;
	display: flex;
	gap: 5px;
	z-index: 5;
}

.np-story-progress__bar {
	flex: 1;
	height: 3px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	overflow: hidden;
}

.np-story-progress__fill {
	height: 100%;
	width: 0%;
	background: #ffffff;
	transition: width 0.05s linear;
}

.np-story-player__top {
	position: absolute;
	top: 22px;
	left: 14px;
	right: 14px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.np-story-player__cat {
	background: var(--np-red);
	color: #ffffff;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 8px;
	border-radius: 2px;
}

.np-story-player__close {
	background: rgba(0, 0, 0, 0.5);
	border: none;
	color: #ffffff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.np-story-player__media {
	position: absolute;
	inset: 0;
}

.np-story-player__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.np-story-player__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.9) 100%);
}

.np-story-player__content {
	position: relative;
	z-index: 4;
	margin-top: auto;
	padding: 24px 20px;
}

.np-story-player__headline {
	font-family: var(--np-serif);
	font-size: 22px;
	line-height: 1.25;
	color: #ffffff;
	margin: 0 0 10px;
}

.np-story-player__excerpt {
	font-size: 14px;
	color: #e0e0e0;
	margin: 0 0 16px;
	line-height: 1.45;
}

.np-story-player__cta {
	display: inline-block;
	background: var(--np-red);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 10px 18px;
	border-radius: var(--np-radius);
}

.np-story-player__cta:hover {
	background: var(--np-red-dark);
	color: #ffffff;
}

.np-story-nav {
	position: absolute;
	top: 60px;
	bottom: 180px;
	width: 36%;
	z-index: 3;
	cursor: pointer;
	background: transparent;
	border: none;
}

.np-story-nav--prev { left: 0; }
.np-story-nav--next { right: 0; }

/* ==========================================================================
   Shared Editorial Elements (Kickers, Bylines, Section Headers, Cards)
   ========================================================================== */

.np-section {
	padding: 34px 0;
	border-bottom: 1px solid var(--np-border);
}

.np-section--alt {
	background: var(--np-surface);
}

.np-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-top: 3px solid var(--np-black);
	padding-top: 10px;
	margin-bottom: 22px;
	gap: 12px;
}

.np-section-head__title {
	font-family: var(--np-sans);
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--np-black);
	margin: 0;
}

.np-section-head__more {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--np-red);
	white-space: nowrap;
}

.np-kicker {
	display: inline-block;
	font-family: var(--np-sans);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--np-red);
	margin-bottom: 6px;
}

.np-byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12px;
	color: var(--np-muted);
	margin-top: 8px;
}

.np-byline__avatar img {
	border-radius: 50%;
	width: 30px;
	height: 30px;
	object-fit: cover;
}

.np-byline__author a {
	font-weight: 700;
	color: var(--np-black);
}

.np-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	background: #eeeeee;
	aspect-ratio: 16 / 10;
	border-radius: 2px;
}

.np-thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.np-card:hover .np-thumb__img {
	transform: scale(1.03);
}

.np-thumb__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1b1b1b, #3a3a3a);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--np-serif);
	font-weight: 900;
	font-size: 28px;
	letter-spacing: 0.05em;
}

.np-card__title {
	font-family: var(--np-serif);
	font-size: 19px;
	line-height: 1.25;
	margin: 0 0 8px;
}

.np-card__excerpt {
	font-size: 14px;
	color: var(--np-muted);
	margin: 0;
	line-height: 1.5;
}

/* ==========================================================================
   Front Page: Hero Grid + Latest News + Multi-Block Categories
   ========================================================================== */

.np-hero-grid {
	display: grid;
	grid-template-columns: 1.65fr 1fr;
	gap: 28px;
	align-items: start;
}

.np-hero-lead .np-thumb {
	aspect-ratio: 16 / 9;
	margin-bottom: 14px;
}

.np-hero-lead .np-card__title {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
}

.np-hero-lead .np-card__excerpt {
	font-size: 15px;
}

.np-hero-stack {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.np-hero-stack .np-card {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--np-border);
}

.np-hero-stack .np-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.np-hero-stack .np-card__title {
	font-size: 16px;
	margin-bottom: 4px;
}

/* Main Content + Sidebar Grid */
.np-layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 36px;
	align-items: start;
}

.np-sidebar {
	position: sticky;
	top: 72px;
}

/* Latest News List (Horizontal Editorial Cards) */
.np-latest-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.np-card--horizontal {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 20px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--np-border);
	align-items: start;
}

.np-card--horizontal:last-child {
	border-bottom: none;
}

.np-card--horizontal .np-card__title {
	font-size: 21px;
}

/* Multi-Block Category Layouts */
.np-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.np-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.np-cat-highlight {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 26px;
	align-items: start;
}

.np-cat-highlight__main .np-card__title {
	font-size: 26px;
	margin-top: 12px;
}

.np-cat-highlight__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.np-cat-highlight__side .np-card {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--np-border);
}

.np-cat-highlight__side .np-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.np-cat-highlight__side .np-card__title {
	font-size: 16px;
}

/* Pagination */
.np-pagination {
	margin-top: 28px;
}

.np-pagination ul.page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.np-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--np-border);
	font-size: 13px;
	font-weight: 700;
	background: #ffffff;
	color: var(--np-black);
	border-radius: var(--np-radius);
}

.np-pagination .page-numbers:hover {
	border-color: var(--np-black);
	color: var(--np-red);
}

.np-pagination .page-numbers.current {
	background: var(--np-black);
	border-color: var(--np-black);
	color: #ffffff;
}

/* ==========================================================================
   Sidebar & 7 Custom News Widgets
   ========================================================================== */

.np-widget {
	margin-bottom: 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--np-border);
}

.np-widget:last-child {
	border-bottom: none;
}

.np-widget__title {
	font-family: var(--np-sans);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	border-top: 3px solid var(--np-black);
	padding-top: 10px;
	margin: 0 0 16px;
	color: var(--np-black);
}

.np-widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Featured Widget Items (With Thumbnail) */
.np-widget-item--featured {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 12px;
	align-items: start;
}

.np-widget-item__thumb {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 2px;
	background: #eeeeee;
}

.np-widget-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.np-widget-item__title {
	font-family: var(--np-serif);
	font-size: 15px;
	line-height: 1.3;
	margin: 0 0 4px;
	font-weight: 700;
}

.np-widget-item__meta {
	font-size: 11px;
	color: var(--np-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Stylish Text-Only Widget (No Featured Image) */
.np-widget-list--stylish {
	counter-reset: np-news-counter;
	gap: 0;
}

.np-widget-item--stylish {
	counter-increment: np-news-counter;
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px dashed var(--np-border);
	align-items: start;
}

.np-widget-item--stylish:last-child {
	border-bottom: none;
}

.np-widget-item--stylish::before {
	content: counter(np-news-counter, decimal-leading-zero);
	font-family: var(--np-serif);
	font-size: 20px;
	font-weight: 900;
	color: var(--np-red);
	line-height: 1;
	padding-top: 2px;
}

.np-widget-item--stylish .np-widget-item__title {
	font-size: 15px;
	transition: color var(--np-transition);
}

.np-widget-item--stylish:hover .np-widget-item__title {
	color: var(--np-red);
}

/* Plain Text-Only Widget (Popular / Random / Related without Featured) */
.np-widget-item--plain {
	padding-left: 12px;
	border-left: 2px solid var(--np-border);
	transition: border-color var(--np-transition);
}

.np-widget-item--plain:hover {
	border-left-color: var(--np-red);
}

/* ==========================================================================
   Single Article, Category & Author Pages
   ========================================================================== */

.np-archive-header {
	padding: 28px 0 22px;
	border-bottom: 2px solid var(--np-black);
	margin-bottom: 28px;
}

.np-archive-header__title {
	font-size: clamp(28px, 4vw, 42px);
	margin: 0 0 8px;
}

.np-archive-header__desc {
	font-size: 16px;
	color: var(--np-muted);
	max-width: 720px;
	margin: 0;
}

/* Single Article */
.np-breadcrumb {
	font-size: 12px;
	color: var(--np-muted);
	margin-bottom: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.np-single-header {
	margin-bottom: 24px;
}

.np-single-header__title {
	font-size: clamp(28px, 4.2vw, 46px);
	line-height: 1.12;
	margin: 8px 0 14px;
}

.np-single-header__excerpt {
	font-size: 19px;
	line-height: 1.45;
	color: var(--np-muted);
	margin: 0 0 16px;
}

.np-single-meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--np-border);
	border-bottom: 1px solid var(--np-border);
}

.np-single-figure {
	margin: 0 0 26px;
}

.np-single-figure img {
	width: 100%;
	border-radius: 2px;
}

.np-single-figure figcaption {
	font-size: 12px;
	color: var(--np-muted);
	padding-top: 8px;
}

.np-entry-content {
	font-family: var(--np-sans);
	font-size: 17px;
	line-height: 1.75;
	color: var(--np-ink);
}

.np-entry-content p {
	margin: 0 0 1.3em;
}

.np-entry-content h2,
.np-entry-content h3 {
	margin-top: 1.6em;
}

.np-entry-content blockquote {
	margin: 1.6em 0;
	padding: 16px 22px;
	border-left: 4px solid var(--np-red);
	background: var(--np-surface);
	font-family: var(--np-serif);
	font-size: 20px;
	font-style: italic;
}

.np-tags-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 28px 0;
	padding-top: 18px;
	border-top: 1px solid var(--np-border);
}

.np-tags-bar a {
	font-size: 12px;
	font-weight: 700;
	padding: 5px 12px;
	background: var(--np-surface);
	border: 1px solid var(--np-border);
	border-radius: 2px;
}

.np-tags-bar a:hover {
	background: var(--np-black);
	color: #ffffff;
	border-color: var(--np-black);
}

/* Author Bio Box & Author Archive Left Sidebar */
.np-author-box {
	display: flex;
	gap: 18px;
	padding: 22px;
	background: var(--np-surface);
	border: 1px solid var(--np-border);
	border-top: 3px solid var(--np-black);
	margin: 28px 0;
}

.np-author-box__avatar img {
	border-radius: 50%;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.np-author-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 36px;
	padding: 32px 0;
	align-items: start;
}

.np-author-sidebar {
	position: sticky;
	top: 72px;
	padding: 24px;
	background: var(--np-surface);
	border-top: 3px solid var(--np-black);
}

.np-author-sidebar__avatar img {
	border-radius: 50%;
	width: 96px;
	height: 96px;
	margin-bottom: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.np-footer {
	background: #111111;
	color: #d4d4d4;
	padding: 48px 0 28px;
	margin-top: 40px;
	font-size: 14px;
}

.np-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 28px;
	border-bottom: 1px solid #2c2c2c;
	margin-bottom: 32px;
}

.np-footer__brand {
	font-family: var(--np-serif);
	font-size: 28px;
	font-weight: 900;
	color: #ffffff;
}

.np-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin-bottom: 36px;
}

.np-footer__heading {
	font-family: var(--np-sans);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #ffffff;
	margin: 0 0 14px;
}

.np-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.np-footer__menu a {
	color: #b5b5b5;
	font-size: 13px;
}

.np-footer__menu a:hover {
	color: #ffffff;
}

.np-footer__bottom {
	border-top: 1px solid #2c2c2c;
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12px;
	color: #8c8c8c;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
	.np-hero-grid,
	.np-layout-grid,
	.np-cat-highlight,
	.np-author-layout {
		grid-template-columns: 1fr;
	}
	.np-sidebar,
	.np-author-sidebar {
		position: static;
	}
	.np-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.np-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.np-masthead__inner {
		grid-template-columns: auto 1fr auto;
	}
	.np-masthead__left .np-social-list {
		display: none;
	}
	.np-nav-wrap {
		display: none;
	}
	.np-nav-wrap.is-mobile-open {
		display: block;
	}
	.np-nav__list {
		flex-direction: column;
		align-items: stretch;
	}
	.np-card--horizontal {
		grid-template-columns: 1fr;
	}
	.np-grid-4,
	.np-grid-3,
	.np-footer__cols {
		grid-template-columns: 1fr;
	}
	.np-author-box {
		flex-direction: column;
	}
}
