/* ==========================================================================
   Newsora — main stylesheet
   1. Tokens   2. Base   3. Layout   4. Top bar & ticker   5. Header & nav
   6. Overlays (search / off-canvas)   7. Cards   8. Homepage sections
   9. Archive   10. Single   11. Widgets & sidebar   12. Footer
   13. WordPress core classes   14. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--nw-accent: #e11d2e;
	--nw-accent-ink: #ffffff;
	--nw-container: 1280px;
	--nw-radius: 14px;
	--nw-radius-sm: calc(var(--nw-radius) * .6);
	--nw-font-heading: "Inter Tight", "Inter Display", "Inter", system-ui, sans-serif;
	--nw-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--nw-bg: #ffffff;
	--nw-surface: #f4f5f7;
	--nw-surface-2: #eceef2;
	--nw-ink: #0e1116;
	--nw-ink-2: #454c5a;
	--nw-muted: #7f8696;
	--nw-line: #e6e8ed;
	--nw-dark: #0c0e13;
	--nw-header-bg: rgba(255, 255, 255, .82);
	--nw-shadow: 0 1px 2px rgba(16, 20, 30, .04), 0 8px 24px -12px rgba(16, 20, 30, .14);
	--nw-shadow-lg: 0 30px 60px -20px rgba(16, 20, 30, .35);
	--nw-ease: cubic-bezier(.2, .7, .2, 1);
	--nw-gap: 28px;
	color-scheme: light;
}

[data-scheme="dark"] {
	--nw-bg: #0b0d12;
	--nw-surface: #13161e;
	--nw-surface-2: #1b1f2a;
	--nw-ink: #f1f3f7;
	--nw-ink-2: #b6bcc8;
	--nw-muted: #7c8394;
	--nw-line: #222734;
	--nw-dark: #07080c;
	--nw-header-bg: rgba(11, 13, 18, .8);
	--nw-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
	color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--nw-bg);
	color: var(--nw-ink);
	font-family: var(--nw-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	transition: background-color .3s, color .3s;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--nw-accent); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--nw-font-heading);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	color: var(--nw-ink);
}
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--nw-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--nw-accent); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--nw-ink); color: var(--nw-bg); border-radius: 8px;
}

.nw-btn, input[type="submit"], button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 20px;
	background: var(--nw-accent); color: var(--nw-accent-ink);
	border: 0; border-radius: 999px;
	font-weight: 600; font-size: 14px; line-height: 1.2;
	cursor: pointer;
	transition: transform .2s var(--nw-ease), box-shadow .2s, filter .2s;
}
.nw-btn:hover, input[type="submit"]:hover, button[type="submit"]:hover {
	color: var(--nw-accent-ink); filter: brightness(1.08); transform: translateY(-1px);
	box-shadow: 0 10px 20px -10px var(--nw-accent);
}
.nw-btn-block { width: 100%; }

.nw-icon-btn {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px; padding: 0;
	background: transparent; border: 0; border-radius: 50%;
	color: var(--nw-ink); cursor: pointer;
	transition: background .2s, color .2s;
}
.nw-icon-btn:hover { background: var(--nw-surface); color: var(--nw-accent); }

.nw-kicker {
	display: inline-block;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--nw-accent);
	margin-bottom: 8px;
}

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
	width: 100%;
	padding: 12px 14px;
	background: var(--nw-bg);
	border: 1px solid var(--nw-line);
	border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--nw-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nw-accent) 15%, transparent); }

/* 3. Layout ---------------------------------------------------------------- */
.nw-container { width: 100%; max-width: var(--nw-container); margin-inline: auto; padding-inline: 24px; }
.nw-main { padding-block: 36px 64px; }
.nw-home { padding-top: 8px; }
.nw-layout { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr) 336px; align-items: start; }
.nw-layout + .nw-layout { margin-top: 0; }
.nw-layout-left { grid-template-columns: 336px minmax(0, 1fr); }
.nw-layout-left .nw-content { order: 2; }
.nw-layout-none { grid-template-columns: minmax(0, 1fr); }
.nw-single .nw-layout-none .nw-content, .nw-sidebar-none .nw-main:not(.nw-home) .nw-layout-none .nw-content { max-width: 860px; margin-inline: auto; width: 100%; }
.nw-content { min-width: 0; }

/* 4. Top bar & ticker ------------------------------------------------------ */
.nw-topbar { background: var(--nw-dark); color: #c9ced8; font-size: 13px; }
.nw-topbar a { color: #e9ecf2; }
.nw-topbar a:hover { color: #fff; }
.nw-topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 42px; }
.nw-today { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #9aa1af; }
.nw-ticker { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
.nw-ticker-label {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 4px 10px; border-radius: 999px;
	background: var(--nw-accent); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.nw-pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: nw-pulse 1.6s infinite; }
@keyframes nw-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.nw-ticker-track {
	flex: 1; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}
.nw-ticker-list { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: nw-marquee var(--nw-ticker-speed, 40s) linear infinite; }
.nw-ticker-track:hover .nw-ticker-list, .nw-ticker-track:focus-within .nw-ticker-list { animation-play-state: paused; }
.nw-ticker-list li { white-space: nowrap; padding-right: 40px; position: relative; }
.nw-ticker-list li::after { content: ""; position: absolute; right: 17px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--nw-accent); transform: translateY(-50%); }
@keyframes nw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nw-topbar-end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nw-top-menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }

.nw-social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nw-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s, color .2s, transform .2s; }
.nw-social a:hover { background: var(--nw-accent); color: #fff; transform: translateY(-2px); }
.nw-social-lg a { width: 40px; height: 40px; background: var(--nw-surface); }

/* 5. Header & nav ---------------------------------------------------------- */
.nw-header { position: relative; z-index: 50; }
.nw-brandbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; }
.nw-branding { min-width: 0; }
.nw-site-title { margin: 0; font-family: var(--nw-font-heading); font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.nw-site-title a { color: var(--nw-ink); }
.nw-site-title a::after { content: "."; color: var(--nw-accent); }
.nw-site-desc { margin: 8px 0 0; color: var(--nw-muted); font-size: 14px; }
.custom-logo-link img { max-height: 64px; width: auto; }
.nw-header-ad img { border-radius: 8px; }
.nw-btn-pill { padding: 12px 22px; }

.nw-header-center .nw-brandbar { flex-direction: column; text-align: center; padding-block: 30px 22px; }
.nw-header-center .nw-brandbar-end { display: none; }

.nw-navbar {
	position: relative;
	background: var(--nw-header-bg);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-block: 1px solid var(--nw-line);
	z-index: 60;
}
.nw-sticky-header .nw-navbar { position: sticky; top: 0; }
.admin-bar.nw-sticky-header .nw-navbar { top: 32px; }
/* The header element must not trap the sticky child */
.nw-sticky-header .nw-header { display: contents; }
.nw-navbar-inner { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.nw-navbar-logo {
	font-family: var(--nw-font-heading); font-weight: 800; font-size: 20px; letter-spacing: -0.04em;
	max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
	transition: max-width .35s var(--nw-ease), opacity .25s, margin .35s;
}
.nw-navbar-logo::after { content: "."; color: var(--nw-accent); }
.is-stuck .nw-navbar-logo { max-width: 220px; opacity: 1; margin-right: 16px; }
.nw-primary-nav { flex: 1; min-width: 0; }
.nw-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nw-menu > li { position: relative; display: flex; align-items: center; }
.nw-menu > li > a {
	position: relative; display: block;
	padding: 19px 13px;
	font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
	color: var(--nw-ink);
}
.nw-menu > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 3px;
	background: var(--nw-accent); border-radius: 3px 3px 0 0;
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--nw-ease);
}
.nw-menu > li:hover > a::after, .nw-menu > .current-menu-item > a::after, .nw-menu > .current-menu-ancestor > a::after, .nw-menu > .current-cat > a::after { transform: scaleX(1); }
.nw-menu > .menu-item-has-children > a { padding-right: 4px; }
.nw-sub-toggle { display: grid; place-items: center; background: none; border: 0; padding: 4px; margin-right: 6px; cursor: pointer; color: var(--nw-muted); transition: transform .2s; }
.nw-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px;
	list-style: none; margin: 0; padding: 8px;
	background: var(--nw-bg); border: 1px solid var(--nw-line); border-radius: 12px; box-shadow: var(--nw-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .25s var(--nw-ease), visibility .2s;
}
.nw-menu .sub-menu .sub-menu { top: -9px; left: 100%; margin-left: 6px; }
.nw-menu li:hover > .sub-menu, .nw-menu li:focus-within > .sub-menu, .nw-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nw-menu .sub-menu li { position: relative; display: flex; align-items: center; justify-content: space-between; }
.nw-menu .sub-menu a { display: block; flex: 1; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.nw-menu .sub-menu a:hover { background: var(--nw-surface); }
.nw-menu .sub-menu .nw-sub-toggle { transform: rotate(-90deg); }
.nw-navbar-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nw-when-light { display: inline-flex; }
.nw-when-dark { display: none; }
[data-scheme="dark"] .nw-when-dark { display: inline-flex; }
[data-scheme="dark"] .nw-when-light { display: none; }

/* Reading progress */
.nw-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1000; pointer-events: none; }
.nw-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--nw-accent), color-mix(in srgb, var(--nw-accent) 60%, #ffb800)); transform-origin: left; transform: scaleX(var(--nw-progress, 0)); }
.admin-bar .nw-progress { top: 32px; }

/* 6. Search overlay & off-canvas ------------------------------------------ */
.nw-search-overlay {
	position: fixed; inset: 0; z-index: 2000;
	display: grid; align-items: start; justify-items: center;
	padding: 14vh 20px 20px;
	background: color-mix(in srgb, var(--nw-bg) 88%, transparent);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	animation: nw-fade .25s ease;
}
.nw-search-overlay[hidden], .nw-offcanvas[hidden] { display: none; }
.nw-search-panel { position: relative; width: min(760px, 100%); }
.nw-search-close { position: absolute; top: -64px; right: 0; background: var(--nw-surface); }
.nw-search-kicker { font-family: var(--nw-font-heading); font-size: clamp(24px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 20px; }
.nw-search-form { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; background: var(--nw-bg); border: 1px solid var(--nw-line); border-radius: 999px; box-shadow: var(--nw-shadow); }
.nw-search-form > .nw-icon { color: var(--nw-muted); flex: none; }
.nw-search-form .search-field { border: 0; background: transparent; padding: 10px 4px; box-shadow: none; }
.nw-search-form .search-field:focus { box-shadow: none; }
.nw-search-overlay .nw-search-form { padding: 10px 10px 10px 22px; }
.nw-search-overlay .search-field { font-size: 20px; }
.nw-search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; align-items: center; font-size: 14px; color: var(--nw-muted); }
.nw-search-tags a { padding: 6px 12px; background: var(--nw-surface); border-radius: 999px; color: var(--nw-ink-2); }
@keyframes nw-fade { from { opacity: 0; } to { opacity: 1; } }

.nw-offcanvas { position: fixed; inset: 0; z-index: 2000; }
.nw-offcanvas-backdrop { position: absolute; inset: 0; background: rgba(5, 7, 12, .55); animation: nw-fade .25s ease; }
.nw-offcanvas-panel {
	position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); overflow-y: auto;
	display: flex; flex-direction: column; gap: 22px;
	padding: 20px 22px 32px; background: var(--nw-bg);
	box-shadow: var(--nw-shadow-lg);
	animation: nw-slide .35s var(--nw-ease);
}
@keyframes nw-slide { from { transform: translateX(-100%); } to { transform: none; } }
.nw-offcanvas-head { display: flex; align-items: center; justify-content: space-between; }
.nw-offcanvas-title { font-family: var(--nw-font-heading); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.nw-mobile-menu, .nw-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.nw-mobile-menu li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--nw-line); }
.nw-mobile-menu a { flex: 1; padding: 13px 0; font-weight: 600; font-size: 16px; }
.nw-mobile-menu .sub-menu { display: none; width: 100%; padding-left: 14px; border-top: 1px solid var(--nw-line); }
.nw-mobile-menu .sub-menu li:last-child { border-bottom: 0; }
.nw-mobile-menu .sub-menu a { font-weight: 500; font-size: 15px; }
.nw-mobile-menu li.is-open > .sub-menu { display: block; }
.nw-mobile-menu li.is-open > .nw-sub-toggle { transform: rotate(180deg); }
body.nw-locked { overflow: hidden; }

/* 7. Cards ----------------------------------------------------------------- */
.nw-card { position: relative; min-width: 0; }
.nw-thumb {
	position: relative; display: block; overflow: hidden;
	border-radius: var(--nw-radius); background: var(--nw-surface-2);
	isolation: isolate;
}
.nw-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--nw-ease); }
.nw-card:hover .nw-thumb img { transform: scale(1.05); }
.nw-ratio-wide { aspect-ratio: 3 / 2; }
.nw-ratio-square { aspect-ratio: 1; }
.nw-ratio-tall { aspect-ratio: 4 / 5; }
.nw-thumb-fallback {
	position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center;
	background:
		radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--nw-cat, var(--nw-accent)) 55%, transparent), transparent 60%),
		radial-gradient(90% 90% at 100% 100%, color-mix(in srgb, var(--nw-cat, var(--nw-accent)) 35%, #000), transparent 70%),
		#1a1e29;
	color: rgba(255,255,255,.9); font-family: var(--nw-font-heading); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.nw-play { position: absolute; left: 12px; bottom: 12px; pointer-events: none; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0e1116; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.nw-play svg { margin-left: 2px; fill: currentColor; }

.nw-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.nw-cat { --nw-cat: var(--nw-accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.nw-cat.is-solid { padding: 6px 9px 5px; border-radius: 6px; background: var(--nw-cat); color: #fff; }
.nw-cat.is-solid:hover { color: #fff; filter: brightness(1.1); }
.nw-cat.is-text { color: var(--nw-cat); }
.nw-cat.is-text::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 2px; margin-right: 7px; background: var(--nw-cat); vertical-align: 1px; }
.nw-cat.is-text:hover { color: var(--nw-ink); }

.nw-title { font-size: 18px; line-height: 1.28; letter-spacing: -0.018em; margin: 0 0 8px; }
.nw-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--nw-ease), color .2s; }
.nw-title a:hover { color: inherit; background-size: 100% 1.5px; }
.nw-excerpt { color: var(--nw-ink-2); font-size: 15px; line-height: 1.6; margin: 0 0 12px; }

.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; color: var(--nw-muted); }
.nw-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.nw-meta a:hover { color: var(--nw-accent); }
.nw-meta-author a { color: var(--nw-ink); font-weight: 600; }
.nw-meta > * + *::before { content: ""; flex: none; width: 3px; height: 3px; margin: 0 3px 0 8px; border-radius: 50%; background: var(--nw-muted); opacity: .7; }
.nw-avatar { border-radius: 50%; margin-right: 4px; }

/* Overlay card */
.nw-card-overlay .nw-play { left: auto; bottom: auto; top: 16px; right: 16px; }
.nw-ratio-square .nw-play, .nw-card-mini .nw-play { width: 28px; height: 28px; left: 6px; bottom: 6px; }
.nw-ratio-square .nw-play svg, .nw-card-mini .nw-play svg { width: 12px; height: 12px; }
.nw-trending-item .nw-play { display: none; }
.nw-card-overlay { overflow: hidden; border-radius: var(--nw-radius); color: #fff; background: #111; }
.nw-card-overlay .nw-thumb { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.nw-card-overlay .nw-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,12,0) 30%, rgba(5,7,12,.55) 60%, rgba(5,7,12,.92) 100%); }
.nw-card-overlay .nw-card-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 22px; pointer-events: none; }
.nw-card-overlay .nw-card-body a { pointer-events: auto; }
.nw-card-overlay .nw-title, .nw-card-overlay .nw-title a { color: #fff; }
.nw-card-overlay .nw-excerpt { color: rgba(255,255,255,.82); }
.nw-card-overlay .nw-meta, .nw-card-overlay .nw-meta-author a { color: rgba(255,255,255,.78); }
.nw-card-overlay .nw-meta-author a:hover { color: #fff; }

/* Standard card */
.nw-card-standard .nw-thumb { margin-bottom: 14px; }
.nw-card-standard.is-feature .nw-title { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.18; letter-spacing: -0.025em; }

/* List card */
.nw-card-list { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: 24px; align-items: center; }
.nw-card-list .nw-title { font-size: 21px; line-height: 1.22; letter-spacing: -0.022em; }

/* Mini card */
.nw-card-mini { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.nw-card-mini .nw-thumb { border-radius: var(--nw-radius-sm); }
.nw-card-mini .nw-title { font-size: 15px; line-height: 1.32; margin-bottom: 6px; }
.nw-card-mini .nw-cats { margin-bottom: 6px; }

/* Section heading */
.nw-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.nw-section-title {
	display: flex; align-items: center; gap: 10px;
	margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap;
}
.nw-section-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--nw-accent); transform: rotate(45deg); flex: none; }
.nw-section-head::after { content: ""; flex: 1; height: 1px; background: var(--nw-line); order: 1; }
.nw-view-all { order: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--nw-ink-2); padding: 6px 12px; border: 1px solid var(--nw-line); border-radius: 999px; white-space: nowrap; transition: all .2s; }
.nw-view-all:hover { border-color: var(--nw-accent); background: var(--nw-accent); color: #fff; }

/* 8. Homepage sections ----------------------------------------------------- */
.nw-hero { padding-top: 28px; }
.nw-hero-grid { display: grid; gap: 14px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); }
.nw-hero-grid .is-lead { grid-row: span 2; min-height: 520px; }
.nw-hero-grid .is-lead .nw-card-body { padding: 34px; max-width: 760px; }
.nw-hero-grid .is-lead .nw-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 12px; }
.nw-hero-grid .is-lead .nw-excerpt { font-size: 16px; max-width: 600px; }
.nw-hero-grid .is-tile .nw-title { font-size: 18px; margin-bottom: 6px; }
.nw-hero-grid .is-tile .nw-card-body { padding: 18px; }

.nw-hero--split .nw-hero-grid { grid-template-columns: 1.7fr 1fr; grid-template-rows: auto; }
.nw-hero--split .is-lead { grid-row: auto; min-height: 560px; }
.nw-hero-side { display: flex; flex-direction: column; padding: 26px 26px 10px; border-radius: var(--nw-radius); background: var(--nw-surface); }
.nw-hero-side-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--nw-accent); margin-bottom: 8px; }
.nw-headline-list { list-style: none; margin: 0; padding: 0; counter-reset: hl; }
.nw-headline { counter-increment: hl; position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--nw-line); }
.nw-headline:last-child { border-bottom: 0; }
.nw-headline::before { content: counter(hl, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-family: var(--nw-font-heading); font-weight: 800; font-size: 22px; color: var(--nw-line); -webkit-text-stroke: 1px var(--nw-muted); color: transparent; }
.nw-headline .nw-title { font-size: 17px; }
.nw-headline .nw-cats { margin-bottom: 6px; }

.nw-trending { padding-block: 26px 10px; }
.nw-trending-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 18px 22px; border: 1px solid var(--nw-line); border-radius: var(--nw-radius); background: var(--nw-bg); box-shadow: var(--nw-shadow); }
.nw-trending-label { display: flex; align-items: center; gap: 8px; margin: 0; padding-right: 24px; border-right: 1px solid var(--nw-line); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.nw-trending-label svg { color: var(--nw-accent); fill: color-mix(in srgb, var(--nw-accent) 25%, transparent); }
.nw-trending-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.nw-trending-item { display: grid; grid-template-columns: auto 58px 1fr; gap: 12px; align-items: center; }
.nw-trending-item .nw-num { font-family: var(--nw-font-heading); font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px var(--nw-accent); }
.nw-trending-item .nw-thumb { border-radius: 50%; }
.nw-trending-item .nw-title { font-size: 14px; line-height: 1.3; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-trending-item .nw-meta { font-size: 12px; }

.nw-block { margin-top: 44px; }
.nw-block-body { display: grid; gap: var(--nw-gap); }
.nw-block--grid .nw-block-body { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.nw-block--grid .nw-title { font-size: 16px; }
.nw-block--feature-list .nw-block-body { grid-template-columns: 1.15fr 1fr; align-items: start; }
.nw-block-stack { display: grid; gap: 18px; }
.nw-block-stack .nw-card-mini + .nw-card-mini { padding-top: 18px; border-top: 1px solid var(--nw-line); }
.nw-block--columns .nw-block-body { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
.nw-block--columns .nw-card:nth-child(n+4) .nw-thumb { display: none; }
.nw-block--columns .nw-card:nth-child(n+4) { padding-top: 18px; border-top: 1px solid var(--nw-line); }
.nw-block--columns .nw-title { font-size: 17px; }
.nw-block--list .nw-block-body, .nw-feed { display: grid; gap: 28px; }
.nw-feed .nw-card-list + .nw-card-list, .nw-block--list .nw-card-list + .nw-card-list { padding-top: 28px; border-top: 1px solid var(--nw-line); }
.nw-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.nw-sidebar-none .nw-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.nw-carousel-band { margin-block: 56px 12px; padding-block: 52px 56px; background: var(--nw-dark); color: #fff; position: relative; overflow: hidden; }
.nw-carousel-band::before { content: ""; position: absolute; inset: -40% auto auto -10%; width: 60%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--nw-accent) 30%, transparent), transparent); opacity: .5; pointer-events: none; }
.nw-carousel-band .nw-section-title { color: #fff; }
.nw-carousel-band .nw-section-head { flex: 1; margin: 0; }
.nw-carousel-band .nw-section-head::after { background: rgba(255,255,255,.14); }
.nw-carousel-band .nw-view-all { color: #fff; border-color: rgba(255,255,255,.2); }
.nw-carousel-head { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.nw-carousel-nav { display: flex; gap: 8px; }
.nw-carousel-nav button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; transition: all .2s; }
.nw-carousel-nav button:hover { background: #fff; color: #0e1116; }
.nw-carousel {
	position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.nw-carousel::-webkit-scrollbar { display: none; }
.nw-carousel .nw-card { scroll-snap-align: start; aspect-ratio: 4 / 5; }
.nw-carousel .nw-title { font-size: 19px; }

.nw-front-page-content { margin-top: 44px; }

/* 9. Archive --------------------------------------------------------------- */
.nw-archive-head { --nw-cat: var(--nw-accent); position: relative; padding-block: 38px 40px; background: var(--nw-surface); border-bottom: 1px solid var(--nw-line); overflow: hidden; }
.nw-archive-head::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--nw-cat) 22%, transparent), transparent); pointer-events: none; }
.nw-archive-head .nw-kicker { color: var(--nw-cat); }
.nw-archive-title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 0; }
.nw-archive-desc { margin-top: 12px; max-width: 680px; color: var(--nw-ink-2); font-size: 17px; }
.nw-archive-desc p:last-child { margin: 0; }
.nw-archive-author { display: flex; gap: 22px; align-items: center; }
.nw-archive-author img { border-radius: 50%; }
.nw-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 13px; color: var(--nw-muted); }
.nw-breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.nw-breadcrumbs [aria-current] { color: var(--nw-ink-2); display: inline-block; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.nw-pagination { margin-top: 48px; }
.nw-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nw-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--nw-line); font-weight: 600; font-size: 15px; transition: all .2s; }
.nw-pagination .page-numbers:hover { border-color: var(--nw-ink); color: var(--nw-ink); }
.nw-pagination .page-numbers.current { background: var(--nw-ink); color: var(--nw-bg); border-color: var(--nw-ink); }
.nw-pagination .dots { border: 0; }

.nw-empty, .nw-404-box { text-align: center; padding: 48px 24px; border: 1px dashed var(--nw-line); border-radius: var(--nw-radius); }
.nw-empty .nw-search-form, .nw-404-box .nw-search-form { max-width: 520px; margin: 20px auto; }
.nw-404-box { border: 0; padding-top: 30px; }
.nw-404-code { display: block; font-family: var(--nw-font-heading); font-weight: 800; font-size: clamp(110px, 18vw, 200px); line-height: .9; letter-spacing: -0.06em; background: linear-gradient(135deg, var(--nw-accent), color-mix(in srgb, var(--nw-accent) 40%, #ffb800)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.nw-404-box .nw-archive-desc { margin-inline: auto; }

/* 10. Single --------------------------------------------------------------- */
.nw-single { padding-top: 0; }
.nw-single-head { padding-block: 40px 30px; }
.nw-single-head-inner { max-width: 940px; text-align: center; }
.nw-single-head .nw-breadcrumbs ol, .nw-single-head .nw-cats { justify-content: center; }
.nw-single-title { font-size: clamp(32px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 800; margin: 6px 0 18px; text-wrap: balance; }
.nw-standfirst { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--nw-ink-2); max-width: 760px; margin: 0 auto 22px; text-wrap: pretty; }
.nw-single-byline .nw-meta { justify-content: center; font-size: 14px; }
.nw-single-media { margin-block: 0 44px; }
.nw-single-media img { width: 100%; max-height: 640px; object-fit: cover; border-radius: calc(var(--nw-radius) * 1.3); }
.nw-single-media figcaption { margin-top: 10px; font-size: 13px; color: var(--nw-muted); text-align: center; }

.nw-article { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 28px; }
.nw-article > .entry-content, .nw-article > .nw-article-foot { grid-column: 2; }
.nw-share-rail { grid-row: span 2; }
.nw-share-rail .nw-share { position: sticky; top: 100px; flex-direction: column; }
.nw-share-rail .nw-share-label { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 auto 6px; }
.page .nw-article { display: block; }

.nw-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nw-share-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--nw-muted); margin-right: 4px; }
.nw-share-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--nw-line); background: var(--nw-bg); color: var(--nw-ink-2); cursor: pointer; transition: all .2s; }
.nw-share-btn:hover { color: #fff; border-color: transparent; transform: translateY(-2px); }
.nw-share-facebook:hover { background: #1877f2; }
.nw-share-x:hover { background: #000; }
.nw-share-linkedin:hover { background: #0a66c2; }
.nw-share-whatsapp:hover { background: #25d366; }
.nw-share-mail:hover, .nw-copy-link:hover { background: var(--nw-accent); }
.nw-copied { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 4px 8px; border-radius: 6px; background: var(--nw-ink); color: var(--nw-bg); font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .2s; }
.nw-copy-link.is-copied .nw-copied { opacity: 1; transform: translate(-50%, 0); }

.nw-prose { font-size: 18.5px; line-height: 1.78; color: var(--nw-ink); max-width: 720px; overflow-wrap: break-word; }
.nw-prose > * { margin-block: 0 1.35em; }
.nw-prose > p:first-of-type::first-letter { float: left; font-family: var(--nw-font-heading); font-size: 4.1em; line-height: .82; font-weight: 800; margin: .08em .12em 0 0; color: var(--nw-accent); }
.nw-prose h2 { font-size: 30px; letter-spacing: -0.03em; margin-top: 1.8em; }
.nw-prose h3 { font-size: 24px; letter-spacing: -0.02em; margin-top: 1.6em; }
.nw-prose h4 { font-size: 20px; margin-top: 1.4em; }
.nw-prose a { color: var(--nw-accent); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.nw-prose a:hover { text-decoration-thickness: 3px; }
.nw-prose ul, .nw-prose ol { padding-left: 1.3em; }
.nw-prose li { margin-bottom: .45em; }
.nw-prose li::marker { color: var(--nw-accent); font-weight: 700; }
.nw-prose img, .nw-prose figure img { border-radius: var(--nw-radius-sm); }
.nw-prose figcaption, .wp-caption-text { font-size: 14px; color: var(--nw-muted); text-align: center; margin-top: 8px; }
.nw-prose blockquote, .wp-block-quote {
	position: relative; margin-inline: 0; padding: 8px 0 8px 32px;
	border-left: 4px solid var(--nw-accent);
	font-family: var(--nw-font-heading); font-size: 1.35em; line-height: 1.45; font-weight: 600; letter-spacing: -0.015em;
}
.nw-prose blockquote cite, .wp-block-quote cite { display: block; margin-top: 12px; font-family: var(--nw-font-body); font-size: 14px; font-style: normal; font-weight: 600; color: var(--nw-muted); }
.wp-block-pullquote { border-block: 3px solid var(--nw-ink); padding: 28px 0; text-align: center; }
.wp-block-pullquote blockquote { border: 0; padding: 0; font-size: 1.5em; }
.nw-prose pre, .nw-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.nw-prose code { padding: 2px 6px; background: var(--nw-surface); border-radius: 5px; }
.nw-prose pre { padding: 20px; background: var(--nw-dark); color: #e6e9ef; border-radius: var(--nw-radius-sm); overflow-x: auto; }
.nw-prose pre code { padding: 0; background: none; }
.nw-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.nw-prose th, .nw-prose td { padding: 10px 12px; border-bottom: 1px solid var(--nw-line); text-align: left; }
.nw-prose hr { border: 0; height: 1px; background: var(--nw-line); margin-block: 2.4em; }
.page-links { clear: both; display: flex; gap: 8px; align-items: center; font-weight: 600; }

.nw-article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--nw-line); }
.nw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-tags a, .tagcloud a { display: inline-block; padding: 7px 13px; font-size: 13px !important; font-weight: 600; background: var(--nw-surface); border-radius: 999px; color: var(--nw-ink-2); transition: all .2s; }
.nw-tags a::before { content: "#"; opacity: .5; }
.nw-tags a:hover, .tagcloud a:hover { background: var(--nw-ink); color: var(--nw-bg); }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }

.nw-author-box { display: grid; grid-template-columns: auto 1fr; gap: 22px; margin-top: 44px; padding: 28px; background: var(--nw-surface); border-radius: var(--nw-radius); }
.nw-author-box img { border-radius: 50%; }
.nw-author-box .nw-kicker { margin-bottom: 2px; }
.nw-author-name { font-size: 22px; margin-bottom: 6px; }
.nw-author-box p { color: var(--nw-ink-2); margin-bottom: 10px; }
.nw-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--nw-accent); }

.nw-post-nav { margin-top: 44px; }
.nw-post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nw-post-nav a { display: flex; flex-direction: column; height: 100%; padding: 20px 22px; border: 1px solid var(--nw-line); border-radius: var(--nw-radius); transition: border-color .2s, transform .2s; }
.nw-post-nav a:hover { border-color: var(--nw-ink); color: inherit; transform: translateY(-2px); }
.nw-post-nav .nav-next { text-align: right; grid-column: 2; }
.nw-post-nav-title { font-family: var(--nw-font-heading); font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: -0.015em; }

.nw-related { margin-top: 56px; }
.nw-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nw-related .nw-title { font-size: 16px; }

/* Comments */
.nw-comments { margin-top: 56px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 32px; border-left: 2px solid var(--nw-line); margin-left: 22px; }
.comment-body { position: relative; padding: 22px 0 22px 62px; border-bottom: 1px solid var(--nw-line); }
.comment-author { font-weight: 700; font-family: var(--nw-font-heading); }
.comment-author .avatar { position: absolute; left: 0; top: 22px; border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 0 0 8px; font-size: 13px; color: var(--nw-muted); }
.comment-content { color: var(--nw-ink-2); }
.comment-content p { margin-bottom: .6em; }
.reply { font-size: 13px; font-weight: 700; }
.reply a { color: var(--nw-accent); }
.bypostauthor > .comment-body .fn::after { content: "Author"; margin-left: 8px; padding: 2px 7px; border-radius: 5px; background: var(--nw-accent); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.comment-respond { margin-top: 36px; padding: 28px; border-radius: var(--nw-radius); background: var(--nw-surface); }
.comment-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.comment-form > p { margin: 0; grid-column: 1 / -1; }
.comment-form .comment-form-author, .comment-form .comment-form-email, .comment-form .comment-form-url { grid-column: auto; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent input { width: auto; margin-top: 5px; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-reply-title { margin-bottom: 10px; }
.comment-reply-title small { margin-left: 10px; font-size: 13px; }

/* 11. Widgets & sidebar --------------------------------------------------- */
.nw-sidebar-inner { display: grid; gap: 28px; }
.nw-sidebar { position: sticky; top: 84px; }
.admin-bar .nw-sidebar { top: 116px; }
.widget { min-width: 0; padding: 24px; border: 1px solid var(--nw-line); border-radius: var(--nw-radius); background: var(--nw-bg); }
.widget-title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.widget-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--nw-accent); transform: rotate(45deg); flex: none; }
.widget-title::after { content: ""; flex: 1; height: 1px; background: var(--nw-line); }
.widget ul:not(.nw-social):not(.nw-wposts) { list-style: none; margin: 0; padding: 0; }
.widget ul:not(.nw-social) li { padding: 9px 0; border-bottom: 1px solid var(--nw-line); font-size: 15px; }
.widget ul:not(.nw-social) li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget select { margin-top: 4px; }
.widget_categories li, .widget_archive li { display: flex; justify-content: space-between; color: var(--nw-muted); }
.widget_categories li a, .widget_archive li a { color: var(--nw-ink); font-weight: 500; }

.nw-wposts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.nw-wpost { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; }
.nw-wpost + .nw-wpost { padding-top: 16px; border-top: 1px solid var(--nw-line); }
.nw-wpost .nw-thumb { border-radius: var(--nw-radius-sm); }
.nw-wpost .nw-title { font-size: 15px; line-height: 1.32; margin-bottom: 4px; }
.nw-wpost .nw-meta { font-size: 12px; }
.nw-wposts-numbered .nw-wpost { grid-template-columns: 36px 1fr; align-items: start; }
.nw-wposts-numbered .nw-num { font-family: var(--nw-font-heading); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.2px var(--nw-accent); }
.nw-wposts-featured .nw-wpost:first-child { grid-template-columns: 1fr; gap: 12px; }
.nw-wposts-featured .nw-wpost:first-child .nw-title { font-size: 18px; }
.nw-wposts-featured .nw-wpost:first-child .nw-cats { margin-bottom: 6px; }

.nw-tab-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 20px; background: var(--nw-surface); border-radius: 999px; }
.nw-tab-buttons button { padding: 9px 8px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 700; color: var(--nw-muted); cursor: pointer; transition: all .2s; }
.nw-tab-buttons button[aria-selected="true"] { background: var(--nw-bg); color: var(--nw-ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.nw-tab-panel[hidden] { display: none; }
.nw-tab-panel { animation: nw-fade .3s ease; }

.nw-social-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nw-social-tiles a { width: 100%; height: 50px; border-radius: 12px; background: var(--nw-surface); }

.widget_newsora_newsletter { border: 0; background: var(--nw-dark); color: #d6dae3; position: relative; overflow: hidden; }
.widget_newsora_newsletter::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--nw-accent) 55%, transparent), transparent); }
.nw-newsletter { position: relative; }
.nw-newsletter-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: var(--nw-accent); color: #fff; }
.nw-newsletter-title { color: #fff; font-size: 22px; letter-spacing: -0.025em; margin-bottom: 6px; }
.nw-newsletter p { font-size: 14px; color: #a6adbb; }
.nw-newsletter input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; margin-bottom: 10px; }

.widget_search .nw-search-form { box-shadow: none; }
.widget_block h2, .widget_block .wp-block-heading, .wp-block-search__label { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--nw-font-heading); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.widget_block h2::before, .widget_block .wp-block-heading::before, .wp-block-search__label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--nw-accent); transform: rotate(45deg); flex: none; }
.widget_block h2::after, .widget_block .wp-block-heading::after, .wp-block-search__label::after { content: ""; flex: 1; height: 1px; background: var(--nw-line); }
.wp-block-search__inside-wrapper { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--nw-line); border-radius: 999px; }
.wp-block-search__input { border: 0; padding: 8px 12px; background: transparent; }
.wp-block-search__input:focus { box-shadow: none; }
.wp-block-search__button { margin: 0; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--nw-accent); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.widget .wp-block-latest-posts li a, .widget .wp-block-latest-comments__comment-link { font-family: var(--nw-font-heading); font-weight: 600; letter-spacing: -0.01em; }
.widget .wp-block-latest-comments { margin: 0; padding: 0; }
.widget .wp-block-latest-comments__comment { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--nw-line); font-size: 14px; line-height: 1.45; color: var(--nw-muted); }
.widget .wp-block-latest-comments__comment:last-child { border-bottom: 0; }
.widget .wp-block-latest-comments__comment-author { color: var(--nw-ink); font-weight: 600; }

/* 12. Footer --------------------------------------------------------------- */
.nw-footer { margin-top: 40px; padding-top: 64px; background: var(--nw-dark); color: #a3aab8; font-size: 15px; }
.nw-footer a { color: #dfe3ea; }
.nw-footer a:hover { color: #fff; }
.nw-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.nw-footer-logo { display: inline-block; font-family: var(--nw-font-heading); font-size: 30px; font-weight: 800; letter-spacing: -0.045em; color: #fff !important; margin-bottom: 14px; }
.nw-footer-logo::after { content: "."; color: var(--nw-accent); }
.nw-footer-about p { max-width: 340px; }
.nw-footer .nw-social-lg a { background: rgba(255,255,255,.07); }
.nw-footer .widget { padding: 0; border: 0; background: transparent; color: inherit; }
.nw-footer .widget::before { display: none; }
.nw-footer .widget-title { color: #fff; font-size: 15px; }
.nw-footer .widget-title::after { background: rgba(255,255,255,.1); }
.nw-footer .widget ul li { border-color: rgba(255,255,255,.08) !important; }
.nw-footer .nw-wpost + .nw-wpost { border-color: rgba(255,255,255,.08); }
.nw-footer .nw-title, .nw-footer .nw-title a { color: #e8ebf1; }
.nw-footer .nw-meta { color: #7d8494; }
.nw-footer .nw-newsletter-icon { display: none; }
.nw-footer .nw-newsletter-title { font-size: 18px; }
.nw-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.nw-copyright { margin: 0; }
.nw-footer-menu { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }

.nw-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 900;
	display: grid; place-items: center; width: 48px; height: 48px;
	border: 0; border-radius: 50%; background: var(--nw-accent); color: #fff; cursor: pointer;
	box-shadow: 0 12px 24px -8px var(--nw-accent);
	opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
	transition: opacity .3s, transform .3s var(--nw-ease);
}
.nw-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* 13. WordPress core classes ---------------------------------------------- */
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { margin-inline: -60px; max-width: calc(100% + 120px); }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.nw-layout-right .alignfull, .nw-layout-left .alignfull { margin-inline: 0; width: 100%; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 10px; }
.gallery-columns-2 { --cols: 2; } .gallery-columns-4 { --cols: 4; }
.gallery-caption { font-size: 13px; }
.sticky .nw-title::before { content: "★ "; color: var(--nw-accent); }
.wp-block-button__link { border-radius: 999px; background: var(--nw-accent); }
.wp-block-image img { border-radius: var(--nw-radius-sm); }
.wp-block-separator { border: 0; border-top: 1px solid var(--nw-line); }
.wp-block-embed { margin-inline: 0; }
.has-accent-color { color: var(--nw-accent); }
.has-accent-background-color { background-color: var(--nw-accent); }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.nw-ticker-list { animation: none; }
	.nw-ticker-track { overflow-x: auto; }
}

/* 14. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
	.nw-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
	.nw-layout-left { grid-template-columns: 300px minmax(0, 1fr); }
	.nw-trending-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw-block--grid .nw-block-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw-carousel { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
	.alignwide { margin-inline: 0; max-width: 100%; }
	.nw-menu > li > a { padding-inline: 10px; font-size: 14px; }
}

@media (max-width: 1024px) {
	.nw-primary-nav { display: none; }
	.nw-navbar-logo { max-width: 220px; opacity: 1; margin-right: 16px; }
	.nw-brandbar-end .nw-header-ad { display: none; }
	.nw-layout, .nw-layout-left { grid-template-columns: minmax(0, 1fr); }
	.nw-layout-left .nw-content { order: 0; }
	.nw-sidebar { position: static; }
	.nw-sidebar-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.nw-hero-grid .is-lead { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
	.nw-hero-grid .is-tile { min-height: 240px; }
	.nw-hero--split .nw-hero-grid { grid-template-columns: 1fr; }
	.nw-trending-inner { grid-template-columns: 1fr; gap: 16px; }
	.nw-trending-label { border-right: 0; padding-right: 0; }
	.nw-footer-grid { grid-template-columns: 1fr 1fr; }
	.nw-article { grid-template-columns: minmax(0, 1fr); }
	.nw-article > .entry-content, .nw-article > .nw-article-foot { grid-column: 1; }
	.nw-share-rail { display: none; }
	.nw-prose { margin-inline: auto; }
}

@media (max-width: 782px) {
	.admin-bar.nw-sticky-header .nw-navbar { top: 0; }
	.nw-container { padding-inline: 16px; }
	.nw-topbar-inner { gap: 12px; }
	.nw-today, .nw-topbar-end { display: none; }
	.nw-brandbar { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.nw-navbar-inner { min-height: 58px; }
	.nw-navbar-logo { flex: 1; max-width: none; margin: 0; opacity: 1; text-align: center; font-size: 22px; }
	.is-stuck .nw-navbar-logo { max-width: none; margin: 0; }
	.nw-hero { padding-top: 16px; }
	.nw-hero-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.nw-hero-grid .is-lead { min-height: 420px; }
	.nw-hero-grid .is-tile { min-height: 210px; }
	.nw-hero-grid .is-tile .nw-card-body { padding: 12px; }
	.nw-hero-grid .is-tile .nw-title { font-size: 15px; line-height: 1.25; }
	.nw-hero-grid .is-tile .nw-meta, .nw-hero-grid .is-tile .nw-cats { display: none; }
	.nw-hero--split .nw-hero-grid { grid-template-columns: 1fr; }
	.nw-hero-grid .is-lead .nw-card-body { padding: 22px; }
	.nw-hero-grid .is-lead .nw-excerpt { display: none; }
	.nw-hero-side { padding: 20px; }
	.nw-trending-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.nw-block { margin-top: 36px; }
	.nw-block--grid .nw-block-body, .nw-block--feature-list .nw-block-body, .nw-block--columns .nw-block-body, .nw-feed-grid, .nw-sidebar-none .nw-feed-grid, .nw-related-grid { grid-template-columns: minmax(0, 1fr); }
	.nw-block--columns .nw-card:nth-child(n+4) { padding-top: 0; border-top: 0; }
	.nw-card-list { grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
	.nw-card-list .nw-thumb { aspect-ratio: 1; border-radius: var(--nw-radius-sm); }
	.nw-card-list .nw-title { font-size: 17px; }
	.nw-card-list .nw-excerpt, .nw-card-list .nw-meta-read, .nw-card-list .nw-meta-comments { display: none; }
	.nw-section-title { font-size: 20px; }
	.nw-carousel-band { padding-block: 40px; }
	.nw-carousel { grid-auto-columns: 78%; }
	.nw-carousel-nav { display: none; }
	.nw-sidebar-inner { grid-template-columns: minmax(0, 1fr); }
	.nw-footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.nw-single-head { padding-top: 24px; }
	.nw-single-head-inner { text-align: left; }
	.nw-single-head .nw-breadcrumbs ol, .nw-single-head .nw-cats, .nw-single-byline .nw-meta { justify-content: flex-start; }
	.nw-single-media { padding-inline: 0; margin-bottom: 28px; }
	.nw-single-media img { border-radius: 0; }
	.nw-prose { font-size: 17.5px; }
	.nw-post-nav .nav-links { grid-template-columns: 1fr; }
	.nw-post-nav .nav-next { grid-column: auto; }
	.nw-author-box { grid-template-columns: 1fr; text-align: left; }
	.comment-form { grid-template-columns: 1fr; }
	.alignleft, .alignright { float: none; margin-inline: 0; }
	.nw-search-overlay .search-submit { display: none; }
}


/* 15. Single post: title + featured image inside the main column (2-col page) */
.nw-single > .nw-layout { padding-top: 32px; }
.nw-content > .nw-single-head { padding-block: 0 22px; }
.nw-content > .nw-single-head .nw-single-head-inner { max-width: none; text-align: left; }
.nw-content > .nw-single-head .nw-breadcrumbs ol,
.nw-content > .nw-single-head .nw-cats,
.nw-content > .nw-single-head .nw-single-byline .nw-meta { justify-content: flex-start; }
.nw-content > .nw-single-head .nw-single-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; margin: 6px 0 14px; }
.nw-content > .nw-single-media { margin: 0 0 32px; padding: 0; width: 100%; }
.nw-content > .nw-single-media img { display: block; width: 100%; height: auto; max-height: none; }
/* Photos inside the article never wider than the column */
.nw-single .nw-prose img, .nw-single .nw-prose figure, .nw-single .nw-prose iframe, .nw-single .nw-prose video { max-width: 100%; height: auto; }
.nw-single .nw-prose .alignwide, .nw-single .nw-prose .alignfull { margin-inline: 0; width: 100%; max-width: 100%; }
.nw-single .nw-prose { max-width: none; }
@media (max-width: 782px) {
	.nw-single > .nw-layout { padding-top: 20px; }
	.nw-content > .nw-single-media img { border-radius: var(--nw-radius); }
}

/* 16. Article spacing (Customizer → Single Post) ---------------------------- */
.nw-prose { line-height: var(--nw-prose-lh, 1.75); }
.nw-prose > * { margin-block: 0 var(--nw-p-space, 24px); }
.nw-prose > *:last-child { margin-bottom: 0; }
.nw-prose h2, .nw-prose h3, .nw-prose h4, .nw-prose h5, .nw-prose h6,
.nw-prose .wp-block-heading { margin-top: var(--nw-h-top, 36px); margin-bottom: var(--nw-h-bottom, 14px); line-height: 1.25; }
.nw-prose > h2:first-child, .nw-prose > h3:first-child, .nw-prose > h4:first-child { margin-top: 0; }
.nw-prose li { margin-bottom: calc(var(--nw-p-space, 24px) / 4); }
.nw-prose p:empty { display: none; }
.nw-prose .wp-block-spacer { max-height: var(--nw-p-space, 24px); }

/* 17. Font sizes (Customizer → Single Post) -------------------------------- */
.nw-single .nw-prose { font-size: var(--nw-prose-fs, 18px); }
.nw-single .nw-prose h2 { font-size: var(--nw-h2-fs, 28px); }
.nw-single .nw-prose h3 { font-size: var(--nw-h3-fs, 23px); }
.nw-single .nw-prose h4 { font-size: var(--nw-h4-fs, 20px); }
.nw-single .nw-single-head .nw-single-title,
.nw-content > .nw-single-head .nw-single-title { font-size: var(--nw-title-fs, 42px); }
@media (max-width: 782px) {
	.nw-single .nw-prose { font-size: var(--nw-prose-fs-m, 17px); }
	.nw-single .nw-prose h2 { font-size: calc(var(--nw-h2-fs, 28px) * .85); }
	.nw-single .nw-prose h3 { font-size: calc(var(--nw-h3-fs, 23px) * .9); }
	.nw-single .nw-single-head .nw-single-title,
	.nw-content > .nw-single-head .nw-single-title { font-size: var(--nw-title-fs-m, 28px); }
}

/* 18. Category badge & tag colors (Customizer → Category & Tag Colors) ------ */
.nw-cat.is-solid, .nw-cat.is-solid:hover { color: var(--nw-cat-text, #fff); border-radius: var(--nw-cat-radius, 6px); }
.nw-tags a, .tagcloud a { background: var(--nw-tag-bg, var(--nw-surface)); color: var(--nw-tag-text, var(--nw-ink-2)); }
.nw-tags a:hover, .tagcloud a:hover { background: var(--nw-tag-hover-bg, var(--nw-ink)); color: var(--nw-tag-hover-text, var(--nw-bg)); }

/* 19. Premium membership (Silver / Gold / Platinum) ------------------------ */
:root { --nw-silver: #64748b; --nw-gold: #c98a00; --nw-platinum: #6d28d9; }
.nw-premium-teaser { position: relative; }
.nw-premium-teaser > *:last-child { -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent); mask-image: linear-gradient(to bottom, #000 20%, transparent); margin-bottom: 0; }
.nw-premium-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 4px; border-radius: var(--nw-cat-radius, 6px); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1; color: #fff; background: var(--nw-plan, var(--nw-gold)); }
.nw-plan-silver { --nw-plan: var(--nw-silver); }
.nw-plan-gold { --nw-plan: var(--nw-gold); }
.nw-plan-platinum { --nw-plan: var(--nw-platinum); }

.nw-paywall { margin-block: 8px 0; font-size: 16px; line-height: 1.5; }
.nw-paywall.is-in-post { padding: 34px 28px 28px; border: 1px solid var(--nw-line); border-radius: calc(var(--nw-radius) * 1.3); background: linear-gradient(180deg, var(--nw-surface), var(--nw-bg) 70%); }
.nw-paywall-head { text-align: center; max-width: 560px; margin: 0 auto 26px; }
.nw-paywall-lock { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--nw-ink); color: var(--nw-bg); margin-bottom: 12px; }
.nw-paywall-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--nw-plan, var(--nw-accent)); margin-bottom: 6px; }
.nw-paywall .nw-paywall-title { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
.nw-paywall-text { margin: 0; color: var(--nw-ink-2, var(--nw-ink)); }
.nw-paywall-current { margin: 12px 0 0; padding: 8px 12px; border-radius: var(--nw-radius-sm); background: var(--nw-surface-2); font-size: 14px; font-weight: 600; }

.nw-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; margin: 0; }
.nw-plan { position: relative; display: flex; flex-direction: column; padding: 22px 18px 18px; border: 1px solid var(--nw-line); border-top: 4px solid var(--nw-plan); border-radius: var(--nw-radius); background: var(--nw-bg); }
.nw-plan.is-featured { border-color: var(--nw-plan); border-top-width: 4px; box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--nw-plan) 70%, transparent); }
.nw-plan.is-excluded { opacity: .55; }
.nw-plan-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 10px 4px; border-radius: 999px; background: var(--nw-plan); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nw-paywall .nw-plan-name { margin: 0 0 6px; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--nw-plan); }
.nw-plan-price { margin: 0 0 14px; }
.nw-plan-price strong { font-family: var(--nw-font-heading); font-size: 25px; letter-spacing: -0.02em; color: var(--nw-ink); }
.nw-plan-price span { font-size: 13px; color: var(--nw-muted); }
.nw-paywall .nw-plan-features { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.nw-paywall .nw-plan-features li { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.nw-plan-features svg { flex: none; margin-top: 2px; color: var(--nw-plan); }
.nw-paywall .nw-plan-btn { display: block; padding: 11px 14px; border-radius: 999px; background: var(--nw-plan); color: #fff; text-align: center; font-size: 14px; font-weight: 700; text-decoration: none; transition: filter .2s, transform .2s; }
.nw-paywall .nw-plan-btn:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff; }
.nw-paywall .nw-plan-btn.is-disabled { background: var(--nw-surface-2); color: var(--nw-muted); cursor: default; transform: none; filter: none; font-weight: 600; }

.nw-paywall-foot { margin-top: 20px; text-align: center; }
.nw-paywall-note { margin: 0 0 12px; font-size: 13.5px; color: var(--nw-muted); }
.nw-paywall-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.nw-paywall .nw-paywall-link { font-size: 14px; font-weight: 700; color: var(--nw-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.nw-paywall .nw-paywall-link.is-strong { color: var(--nw-accent); }

@media (max-width: 720px) {
	.nw-plans { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.nw-paywall.is-in-post { padding: 26px 16px 20px; }
}
.nw-premium-teaser > * { margin-block: 0 var(--nw-p-space, 24px); }
.nw-premium-teaser > p:first-of-type::first-letter { float: left; font-family: var(--nw-font-heading); font-size: 4.1em; line-height: .82; font-weight: 800; margin: .08em .12em 0 0; color: var(--nw-accent); }
.nw-single .nw-prose .nw-paywall .nw-paywall-title { font-size: 26px; margin: 0 0 8px; }
.nw-single .nw-prose .nw-paywall .nw-plan-name { font-size: 15px; margin: 0 0 6px; }
.nw-prose .nw-paywall li::marker { content: none; }
@media (max-width: 782px) { .nw-single .nw-prose .nw-paywall .nw-paywall-title { font-size: 22px; } }
.nw-paywall:not(.is-in-post) { margin-top: 28px; }
.nw-paywall-current.is-page { text-align: center; margin: 0 auto 26px; max-width: 560px; }
.nw-prose .nw-paywall:not(.is-in-post) .nw-plans { margin-top: 18px; }
.nw-prose > p.has-text-align-center:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; line-height: inherit; }

/* Sign up form + welcome step (Membership page) */
.nw-signup, .nw-welcome { margin-top: 34px; padding: 30px 28px; border: 1px solid var(--nw-line); border-radius: calc(var(--nw-radius) * 1.3); background: var(--nw-surface); font-size: 16px; line-height: 1.5; scroll-margin-top: 110px; }
.nw-welcome { margin: 0 0 26px; text-align: center; border-top: 4px solid var(--nw-plan, var(--nw-accent)); background: var(--nw-bg); }
.nw-signup-head { text-align: center; max-width: 520px; margin: 0 auto 22px; }
.nw-signup-head p, .nw-welcome p { margin: 0; color: var(--nw-ink-2, var(--nw-ink)); }
.nw-signup-step { display: inline-block; margin-bottom: 8px; padding: 4px 10px 3px; border-radius: 999px; background: var(--nw-ink); color: var(--nw-bg); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nw-prose .nw-signup-title, .nw-single .nw-prose .nw-signup-title { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
.nw-signup-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; max-width: 620px; margin: 0 auto; }
.nw-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--nw-ink); }
.nw-field input, .nw-field select { width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; font-weight: 400; color: var(--nw-ink); background: var(--nw-bg); border: 1px solid var(--nw-line); border-radius: var(--nw-radius-sm); }
.nw-field input:focus, .nw-field select:focus { outline: 2px solid var(--nw-accent); outline-offset: 1px; border-color: transparent; }
.nw-signup-btn { grid-column: 1 / -1; padding: 14px; border: 0; border-radius: 999px; background: var(--nw-accent); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: filter .2s, transform .2s; }
.nw-signup-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nw-signup-login { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 14px; color: var(--nw-muted); }
.nw-signup-errors { max-width: 620px; margin: 0 auto 16px; padding: 12px 14px; border-radius: var(--nw-radius-sm); background: color-mix(in srgb, #d63638 12%, var(--nw-bg)); color: #b32d2e; font-size: 14px; font-weight: 600; }
.nw-signup-errors p { margin: 0; }
.nw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nw-prose .nw-welcome-btn { display: inline-block; margin-top: 16px; padding: 13px 30px; background: var(--nw-plan, var(--nw-accent)); color: #fff; border-radius: 999px; font-weight: 800; text-decoration: none; }
@media (max-width: 720px) {
	.nw-signup-form { grid-template-columns: minmax(0, 1fr); }
	.nw-signup, .nw-welcome { padding: 24px 16px; }
}

/* Members-only comments box */
.nw-comment-gate { display: flex; gap: 18px; align-items: flex-start; margin-top: 24px; padding: 24px; border: 1px solid var(--nw-line); border-left: 4px solid var(--nw-plan, var(--nw-accent)); border-radius: var(--nw-radius); background: var(--nw-bg); }
.nw-comment-gate .nw-paywall-lock { flex: none; width: 44px; height: 44px; margin: 0; background: var(--nw-plan, var(--nw-ink)); color: #fff; }
.nw-comment-gate-title { margin: 0 0 6px; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.nw-comment-gate p { margin: 0 0 14px; color: var(--nw-ink-2, var(--nw-ink)); font-size: 15px; }
.nw-comment-gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.nw-comment-gate .nw-plan-btn { display: inline-block; padding: 10px 22px; border-radius: 999px; background: var(--nw-plan, var(--nw-accent)); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.nw-comment-gate .nw-plan-btn:hover { color: #fff; filter: brightness(1.08); }
.nw-comment-gate .nw-paywall-link { font-size: 14px; font-weight: 700; color: var(--nw-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .nw-comment-gate { flex-direction: column; padding: 20px 16px; } }

/* Author box: uploaded photos stay round and uncropped-looking */
img.avatar { object-fit: cover; }
.nw-author-box .avatar { width: 84px; height: 84px; border-radius: 50%; flex: none; }
.nw-author-box .nw-author-bio { margin: 6px 0 10px; max-width: 60ch; color: var(--nw-ink-2); font-size: 15px; line-height: 1.6; }

/* 20. Premium Articles page ------------------------------------------------- */
.nw-premium-head .nw-kicker { display: inline-block; margin-bottom: 4px; color: var(--nw-gold, #c98a00); }
.nw-premium-intro p { margin: 0; }
.nw-tier-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.nw-tier-tab { --nw-plan: var(--nw-ink); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--nw-line); border-radius: 999px; background: var(--nw-bg); color: var(--nw-ink); font-size: 14.5px; font-weight: 700; line-height: 1; text-decoration: none; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.nw-tier-tab svg { color: var(--nw-plan); }
.nw-tier-tab:hover { border-color: var(--nw-plan); color: var(--nw-ink); transform: translateY(-1px); }
.nw-tier-tab.is-active { background: var(--nw-plan); border-color: var(--nw-plan); color: #fff; }
.nw-tier-tab.is-active svg { color: #fff; }
.nw-tier-tab.is-all.is-active { background: var(--nw-ink); color: var(--nw-bg); }
.nw-tier-count { min-width: 22px; padding: 3px 7px; border-radius: 999px; background: var(--nw-surface-2); color: var(--nw-ink-2); font-size: 12px; text-align: center; }
.nw-tier-tab.is-active .nw-tier-count { background: rgba(255, 255, 255, .22); color: inherit; }
.nw-tier-note { margin: 0 0 26px; padding: 10px 14px; border-radius: var(--nw-radius-sm); background: var(--nw-surface); font-size: 14px; font-weight: 600; color: var(--nw-ink-2); }
.nw-premium-grid { margin-top: 8px; }
.nw-premium-item { position: relative; min-width: 0; }
.nw-premium-state { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px 5px; border-radius: 999px; background: rgba(12, 14, 19, .78); backdrop-filter: blur(6px); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; pointer-events: none; }
.nw-premium-item.is-unlocked .nw-premium-state { background: #12a150; }
.nw-tier-empty { padding: 48px 20px; border: 1px dashed var(--nw-line); border-radius: var(--nw-radius); text-align: center; color: var(--nw-muted); }
.nw-tier-empty p { margin: 0; }
.nw-tier-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding: 22px 24px; border-radius: var(--nw-radius); background: var(--nw-ink); color: var(--nw-bg); }
.nw-tier-cta strong { display: block; font-family: var(--nw-font-heading); font-size: 20px; letter-spacing: -0.02em; margin-bottom: 4px; }
.nw-tier-cta span { font-size: 14.5px; opacity: .8; }
.nw-tier-cta .nw-plan-btn { flex: none; padding: 12px 24px; border-radius: 999px; background: var(--nw-accent); color: #fff; font-weight: 800; font-size: 14.5px; text-decoration: none; }
.nw-tier-cta .nw-plan-btn:hover { color: #fff; filter: brightness(1.08); }
@media (max-width: 560px) {
	.nw-tier-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
	.nw-tier-tab { flex: none; }
}
.nw-premium-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.nw-sidebar-none .nw-premium-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 782px) { .nw-premium-grid { grid-template-columns: minmax(0, 1fr); } }
.nw-tier-tab.nw-plan-silver { --nw-plan: var(--nw-silver); }
.nw-tier-tab.nw-plan-gold { --nw-plan: var(--nw-gold); }
.nw-tier-tab.nw-plan-platinum { --nw-plan: var(--nw-platinum); }

/* Member "Write for us" box (Membership page) */
.nw-write-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 0 0 26px; padding: 20px 22px; border: 1px solid var(--nw-line); border-left: 4px solid var(--nw-accent); border-radius: var(--nw-radius); background: var(--nw-bg); font-size: 15px; line-height: 1.5; }
.nw-write-box strong { display: block; font-family: var(--nw-font-heading); font-size: 19px; letter-spacing: -0.02em; margin-bottom: 2px; }
.nw-write-box span { color: var(--nw-ink-2); font-size: 14.5px; }
.nw-prose .nw-write-box .nw-plan-btn { flex: none; padding: 11px 22px; border-radius: 999px; background: var(--nw-accent); color: #fff; font-weight: 800; font-size: 14.5px; text-decoration: none; }
.nw-prose .nw-write-box .nw-plan-btn.is-disabled { background: var(--nw-surface-2); color: var(--nw-muted); }

/* Member plan badge next to names */
.nw-member-badge { --nw-plan: var(--nw-gold); display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 5px 10px 4px 8px; border-radius: 999px; background: linear-gradient(135deg, color-mix(in srgb, var(--nw-plan) 82%, #fff), var(--nw-plan)); box-shadow: 0 4px 12px -6px var(--nw-plan), inset 0 1px 0 rgba(255, 255, 255, .35); color: #fff; font-family: var(--nw-font-body); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; line-height: 1; text-transform: uppercase; vertical-align: middle; white-space: nowrap; position: relative; top: -2px; }
.nw-member-badge svg { width: 12px; height: 12px; flex: none; }
.nw-member-badge.nw-plan-silver { --nw-plan: var(--nw-silver); }
.nw-member-badge.nw-plan-gold { --nw-plan: var(--nw-gold); }
.nw-member-badge.nw-plan-platinum { --nw-plan: var(--nw-platinum); }
.nw-member-badge.is-sm { margin-left: 8px; padding: 4px 8px 3px 6px; font-size: 10px; top: -1px; }
.nw-member-badge.is-sm svg { width: 10px; height: 10px; }
.nw-archive-title .nw-member-badge { font-size: 13px; padding: 7px 12px 6px 10px; top: -8px; }
.nw-archive-title .nw-member-badge svg { width: 14px; height: 14px; }
.comment-author .fn .nw-member-badge { font-style: normal; }

/* Sign-up: show / hide password */
.nw-field > label { font-size: 13px; font-weight: 700; color: var(--nw-ink); }
.nw-pass-wrap { position: relative; }
.nw-pass-wrap input { padding-right: 52px !important; }
.nw-pass-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: calc(var(--nw-radius-sm) - 2px); background: transparent; color: var(--nw-muted); cursor: pointer; transition: color .15s, background .15s; }
.nw-pass-toggle:hover { color: var(--nw-ink); background: var(--nw-surface-2); }
.nw-pass-toggle:focus-visible { outline: 2px solid var(--nw-accent); outline-offset: 0; color: var(--nw-ink); }
.nw-pass-toggle .nw-eye-off, .nw-pass-toggle.is-visible .nw-eye { display: none; }
.nw-pass-toggle.is-visible .nw-eye-off { display: block; }
.nw-pass-toggle.is-visible { color: var(--nw-accent); }
.nw-pass-hint { min-height: 16px; font-size: 12.5px; font-weight: 600; color: var(--nw-muted); }
.nw-pass-hint.is-ok { color: #12a150; }
.nw-signup-form .nw-field { align-content: start; }
.nw-signup-form .nw-recaptcha { grid-column: 1 / -1; display: flex; justify-content: center; min-height: 78px; }
@media (max-width: 360px) { .nw-signup-form .nw-recaptcha .g-recaptcha { transform: scale(.9); transform-origin: center top; } }
