/*
Theme Name: NovaPress
Theme URI: https://novapress.theme
Author: NovaPress
Author URI: https://novapress.theme
Description: Premium luxury dark news & magazine WordPress theme with a Medium-style reading experience, floating reading timer, reading progress, guided Next Articles reading flow, AdSense locations, schema-ready SEO and a full theme options panel.
Version: 1.4.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novapress
Tags: news, magazine, blog, one-column, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, rtl-language-support
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
  --np-bg: #0b0b0d;
  --np-surface: #151515;
  --np-card: #1c1c1c;
  --np-text: #ffffff;
  --np-muted: #b8b8b8;
  --np-border: rgba(255, 255, 255, 0.08);
  --np-accent: #d4af37;
  --np-accent-hover: #f2c94c;
  --np-font-display: "Playfair Display", Georgia, serif;
  --np-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --np-font-serif: "Source Serif 4", Georgia, serif;
  --np-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --np-radius: 0.75rem;
  --np-radius-xl: 1.25rem;
  --np-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --np-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --np-shell: 1440px;
  --np-content: 740px;
  --np-base: 20px;
  --np-leading: 1.92;
}

body.np-light {
  --np-bg: #fbfaf7;
  --np-surface: #f2f1ed;
  --np-card: #ffffff;
  --np-text: #16161a;
  --np-muted: #5c5c66;
  --np-border: rgba(0, 0, 0, 0.1);
  --np-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   2. Base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--np-bg);
  color: var(--np-text);
  font-family: var(--np-font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s var(--np-ease);
}
a:hover {
  color: var(--np-accent-hover);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
::selection {
  background: rgba(212, 175, 55, 0.35);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--np-surface);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  clip: auto;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--np-card);
  border: 1px solid var(--np-border);
  border-radius: 999px;
}
:focus-visible {
  outline: 2px solid var(--np-accent);
  outline-offset: 3px;
}

/* =========================================================
   3. Layout primitives
   ========================================================= */
.np-shell {
  width: 100%;
  max-width: var(--np-shell);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .np-shell {
    padding: 0 40px;
  }
}
.np-main {
  padding: 40px 0 80px;
}
.np-with-sidebar {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) {
  .np-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .np-sidebar-left .np-with-sidebar {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  .np-sidebar-left .np-content-col {
    order: 2;
  }
}
.np-content-col {
  min-width: 0;
}
.np-card {
  background: var(--np-card);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius-xl);
}
.np-eyebrow {
  font-family: var(--np-font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--np-accent);
  margin: 0 0 14px;
}
.np-section {
  margin-top: 64px;
}
.np-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--np-border);
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.np-section-head h2 {
  font-family: var(--np-font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.np-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--np-border);
  background: var(--np-surface);
  color: var(--np-text);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s var(--np-ease);
}
.np-btn:hover {
  border-color: var(--np-accent);
  color: var(--np-accent-hover);
  transform: translateY(-2px);
}
.np-btn-accent {
  background: var(--np-accent);
  border-color: var(--np-accent);
  color: #0b0b0d;
}
.np-btn-accent:hover {
  background: var(--np-accent-hover);
  color: #0b0b0d;
}

/* =========================================================
   4. Header
   ========================================================= */
.np-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--np-ease),
    border-color 0.35s var(--np-ease),
    backdrop-filter 0.35s var(--np-ease);
}
.np-header.is-stuck {
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--np-border);
}
body.np-light .np-header.is-stuck {
  background: rgba(251, 250, 247, 0.85);
}
.np-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.np-logo {
  font-family: var(--np-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.np-logo img,
.custom-logo {
  max-height: 46px;
  width: auto;
}
.np-tagline {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--np-muted);
  margin-top: 2px;
}
.np-nav {
  display: none;
}
@media (min-width: 1024px) {
  .np-nav {
    display: block;
  }
}
.np-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.np-nav li {
  position: relative;
}
.np-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--np-muted);
  padding: 10px 0;
  display: inline-block;
}
.np-nav a:hover,
.np-nav .current-menu-item > a,
.np-nav .current-menu-parent > a {
  color: var(--np-text);
}
.np-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 230px;
  display: block;
  flex-direction: column;
  gap: 0;
  padding: 10px;
  background: var(--np-card);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  box-shadow: var(--np-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: all 0.28s var(--np-ease);
}
.np-nav li:hover > .sub-menu,
.np-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.np-nav .sub-menu li {
  width: 100%;
}
.np-nav .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.86rem;
}
.np-nav .sub-menu a:hover {
  background: var(--np-surface);
  color: var(--np-accent-hover);
}
.np-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}
.np-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.np-icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--np-border);
  background: transparent;
  transition: all 0.25s var(--np-ease);
}
.np-icon-btn:hover {
  background: var(--np-surface);
  color: var(--np-accent-hover);
  transform: translateY(-1px);
}
.np-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.np-burger {
  display: grid;
}
@media (min-width: 1024px) {
  .np-burger {
    display: none;
  }
}

/* Search overlay */
.np-search-overlay,
.np-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 11, 13, 0.94);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--np-ease);
  overflow-y: auto;
}
body.np-light .np-search-overlay,
body.np-light .np-mobile-menu {
  background: rgba(251, 250, 247, 0.96);
}
.np-search-overlay.is-open,
.np-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.np-overlay-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 20px 60px;
}
.np-overlay-close {
  position: absolute;
  top: 22px;
  right: 22px;
}
.np-mobile-menu ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.np-mobile-menu li {
  border-bottom: 1px solid var(--np-border);
}
.np-mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-family: var(--np-font-display);
  font-size: 1.35rem;
}
.np-mobile-menu .sub-menu a {
  font-family: var(--np-font-sans);
  font-size: 0.95rem;
  padding-left: 18px;
  color: var(--np-muted);
}

/* Search form */
.np-searchform {
  display: flex;
  gap: 10px;
}
.np-searchform input[type="search"] {
  flex: 1;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: 999px;
  padding: 15px 22px;
  color: var(--np-text);
  font-size: 1rem;
}
.np-searchform input[type="search"]:focus {
  outline: none;
  border-color: var(--np-accent);
}

/* =========================================================
   5. Cards & grids
   ========================================================= */
.np-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .np-grid-2,
  .np-grid-3,
  .np-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .np-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .np-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.np-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition:
    transform 0.4s var(--np-ease),
    border-color 0.4s var(--np-ease),
    box-shadow 0.4s var(--np-ease);
}
.np-post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--np-shadow);
}
.np-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--np-surface);
}
.np-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--np-ease);
}
.np-post-card:hover .np-thumb img {
  transform: scale(1.06);
}
.np-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 11, 13, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--np-border);
  color: var(--np-accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.np-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.np-card-title {
  font-family: var(--np-font-display);
  font-size: 1.3rem;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}
.np-card-title a:hover {
  color: var(--np-accent-hover);
}
.np-excerpt {
  color: var(--np-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.np-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--np-muted);
  margin-top: auto;
}
.np-meta .np-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--np-accent);
  display: inline-block;
}

/* Hero */
.np-hero {
  position: relative;
  border-radius: var(--np-radius-xl);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--np-border);
}
.np-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.np-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 11, 13, 0.95) 0%,
    rgba(11, 11, 13, 0.55) 45%,
    rgba(11, 11, 13, 0.15) 100%
  );
}
.np-hero-body {
  position: relative;
  z-index: 2;
  padding: 42px;
  max-width: 760px;
  color: #fff;
}
.np-hero-title {
  font-family: var(--np-font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 14px 0 16px;
}
.np-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.np-list li + li {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--np-border);
}
.np-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.np-rank {
  font-family: var(--np-font-display);
  font-size: 1.5rem;
  color: var(--np-accent);
  line-height: 1;
  min-width: 32px;
}
.np-list-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
}

/* =========================================================
   6. Sidebar & widgets
   ========================================================= */
.np-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
@media (min-width: 1024px) {
  .np-sidebar.is-sticky {
    position: sticky;
    top: 104px;
  }
}
.np-widget {
  padding: 24px;
}
.np-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.np-widget li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--np-border);
}
.np-widget a:hover {
  color: var(--np-accent-hover);
}
.np-widget .count {
  color: var(--np-muted);
  font-size: 0.78rem;
}
.np-newsletter input[type="email"] {
  width: 100%;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--np-text);
  margin-bottom: 12px;
}
.np-ad {
  display: block;
  margin: 32px auto;
  text-align: center;
  overflow: hidden;
}
.np-ad-label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--np-muted);
  margin-bottom: 8px;
}

/* =========================================================
   7. Article
   ========================================================= */
.np-breadcrumbs {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--np-muted);
  margin-bottom: 26px;
}
.np-breadcrumbs a:hover {
  color: var(--np-accent-hover);
}
.np-breadcrumbs span[aria-hidden] {
  margin: 0 8px;
  color: var(--np-accent);
}
.np-article-header {
  max-width: var(--np-content);
  margin: 0 auto 36px;
  text-align: left;
}
.np-article-title {
  font-family: var(--np-font-display);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 700;
  margin: 16px 0 18px;
}
.np-article-standfirst {
  font-family: var(--np-font-serif);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--np-muted);
  margin: 0 0 28px;
}
.np-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--np-border);
  border-bottom: 1px solid var(--np-border);
}
.np-byline img {
  border-radius: 999px;
}
.np-byline-name {
  font-weight: 600;
}
.np-byline-meta {
  font-size: 0.78rem;
  color: var(--np-muted);
  letter-spacing: 0.06em;
}
.np-share {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.np-featured {
  margin: 0 0 44px;
  border-radius: var(--np-radius-xl);
  overflow: hidden;
  border: 1px solid var(--np-border);
}
.np-featured img {
  width: 100%;
}
.np-article {
  max-width: var(--np-content);
  margin: 0 auto;
  font-family: var(--np-font-serif);
  font-size: calc(var(--np-base) * 0.064rem);
  line-height: var(--np-leading);
  letter-spacing: 0.003em;
  color: var(--np-muted);
}
.np-article > * + * {
  margin-top: 2rem;
}
.np-article p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  text-wrap: pretty;
}
body.np-light .np-article p {
  color: rgba(22, 22, 26, 0.88);
}
.np-article > p:first-of-type {
  font-size: 1.1em;
  line-height: 1.75;
}
.np-article a {
  color: var(--np-text);
  text-decoration: underline;
  text-decoration-color: var(--np-accent);
  text-underline-offset: 4px;
}
.np-article a:hover {
  color: var(--np-accent-hover);
}
.np-article h2 {
  font-family: var(--np-font-display);
  color: var(--np-text);
  font-size: 2.125rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 4.25rem 0 -0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--np-border);
}
.np-article h3 {
  font-family: var(--np-font-display);
  color: var(--np-text);
  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 3rem 0 -0.5rem;
}
.np-article strong {
  color: var(--np-text);
  font-weight: 600;
}
.np-article blockquote {
  font-family: var(--np-font-display);
  font-size: 1.7rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--np-text);
  border-left: 2px solid var(--np-accent);
  padding: 0.35rem 0 0.35rem 2rem;
  margin: 3.75rem 0;
}
.np-article ul,
.np-article ol {
  padding-left: 1.35rem;
}
.np-article li::marker {
  color: var(--np-accent);
}
.np-article li + li {
  margin-top: 0.6rem;
}
.np-article figure {
  margin: 3rem 0;
}
.np-article figure img {
  width: 100%;
  border-radius: var(--np-radius);
  border: 1px solid var(--np-border);
}
.np-article figcaption,
.np-article .wp-caption-text {
  margin-top: 0.85rem;
  font-family: var(--np-font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--np-muted);
  text-align: center;
}
.np-article pre {
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  padding: 1.25rem 1.4rem;
  overflow-x: auto;
  font-family: var(--np-font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
}
.np-article :not(pre) > code {
  font-family: var(--np-font-mono);
  font-size: 0.86em;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: 0.375rem;
  padding: 0.15em 0.4em;
  color: var(--np-accent);
}
.np-article table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--np-font-sans);
  font-size: 0.95rem;
}
.np-article thead th {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-accent);
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--np-border);
}
.np-article tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--np-border);
}
.np-article tbody tr:hover td {
  background: var(--np-surface);
}
.np-article hr {
  border: 0;
  margin: 3.5rem auto;
  width: 90px;
  border-top: 1px solid var(--np-border);
}
.np-tags {
  max-width: var(--np-content);
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.np-tag {
  border: 1px solid var(--np-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-muted);
}
.np-tag:hover {
  border-color: var(--np-accent);
  color: var(--np-accent-hover);
}
.np-authorbox {
  max-width: var(--np-content);
  margin: 56px auto 0;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.np-authorbox img {
  border-radius: 999px;
}
.np-postnav {
  max-width: var(--np-content);
  margin: 48px auto 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .np-postnav {
    grid-template-columns: 1fr 1fr;
  }
}
.np-postnav a {
  display: block;
  padding: 22px;
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius-xl);
  background: var(--np-card);
  transition: all 0.3s var(--np-ease);
}
.np-postnav a:hover {
  border-color: var(--np-accent);
  transform: translateY(-3px);
}
.np-postnav .np-eyebrow {
  margin-bottom: 8px;
}
.np-postnav .np-next {
  text-align: right;
}

/* =========================================================
   8. Reading system
   ========================================================= */
.np-reading-timer {
  position: fixed;
  top: 96px;
  right: 12px;
  z-index: 55;
}
@media (min-width: 1024px) {
  .np-reading-timer {
    right: 32px;
  }
}
.np-timer-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--np-border);
  background: rgba(28, 28, 28, 0.8);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  box-shadow: var(--np-shadow);
}
body.np-light .np-timer-pill,
body.np-light .np-progress-shell {
  background: rgba(255, 255, 255, 0.85);
}
.np-timer-value {
  font-family: var(--np-font-mono);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}
.np-ring {
  display: grid;
  place-items: center;
  position: relative;
}
.np-ring svg {
  transform: rotate(-90deg);
}
.np-ring circle {
  fill: none;
  stroke-linecap: round;
}
.np-ring .np-ring-track {
  stroke: var(--np-border);
}
.np-ring .np-ring-value {
  stroke: var(--np-accent);
  transition: stroke-dashoffset 0.35s var(--np-ease);
}
.np-ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--np-font-mono);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}
.np-timer-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  border-radius: 999px;
}
.np-timer-toggle:hover {
  background: var(--np-surface);
}
.np-reading-progress {
  position: fixed;
  right: 12px;
  bottom: 16px;
  z-index: 55;
  max-width: calc(100vw - 24px);
}
@media (min-width: 1024px) {
  .np-reading-progress {
    right: 32px;
    bottom: 40px;
  }
}
.np-progress-shell {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  border: 1px solid transparent;
  border-radius: 28px;
  transition: all 0.7s var(--np-ease);
}
.np-progress-shell.is-complete {
  border-color: var(--np-border);
  background: rgba(28, 28, 28, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--np-shadow);
}
.np-next-panel {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.7s var(--np-ease);
}
.np-progress-shell.is-complete .np-next-panel {
  max-width: min(280px, calc(100vw - 120px));
  opacity: 1;
}
.np-next-inner {
  min-width: 200px;
  padding: 16px 8px 16px 20px;
}
.np-next-inner h2 {
  font-size: 0.88rem;
  margin: 0 0 12px;
}
.np-next-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.np-next-inner li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.np-next-inner li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--np-accent);
  flex: none;
}
.np-next-inner a {
  font-size: 0.85rem;
  color: var(--np-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.np-next-inner li { min-width: 0; }
.np-next-inner a { display: -webkit-box; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.35; }
.np-progress-ring-wrap {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--np-border);
  background: rgba(28, 28, 28, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: var(--np-shadow);
  width: 64px;
  height: 64px;
  transition: all 0.5s var(--np-ease);
}
.np-progress-shell.is-complete .np-progress-ring-wrap {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  margin: 8px;
}

/* =========================================================
   9. Comments / pagination / archive header
   ========================================================= */
.np-page-header {
  padding: 24px 0 8px;
}
.np-page-title {
  font-family: var(--np-font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 8px 0 12px;
}
.np-page-desc {
  color: var(--np-muted);
  max-width: 640px;
  margin: 0 0 8px;
}
.np-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.np-pagination .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.np-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--np-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--np-muted);
  transition: all 0.25s var(--np-ease);
}
.np-pagination .page-numbers:hover,
.np-pagination .page-numbers.current {
  border-color: var(--np-accent);
  color: var(--np-accent-hover);
  background: var(--np-surface);
}
.np-comments {
  max-width: var(--np-content);
  margin: 64px auto 0;
}
.np-comments h2,
.np-comments h3 {
  font-family: var(--np-font-display);
  font-weight: 600;
}
.np-comments .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.np-comments .comment-list ul.children {
  list-style: none;
  padding-left: 26px;
}
.np-comments .comment-body {
  padding: 22px;
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius-xl);
  background: var(--np-card);
  margin-bottom: 18px;
}
.np-comments .comment-meta {
  font-size: 0.78rem;
  color: var(--np-muted);
  margin-bottom: 10px;
}
.np-comments input[type="text"],
.np-comments input[type="email"],
.np-comments input[type="url"],
.np-comments textarea {
  width: 100%;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius);
  padding: 13px 16px;
  color: var(--np-text);
  margin-bottom: 14px;
  font-family: inherit;
}
.np-comments .submit {
  background: var(--np-accent);
  color: #0b0b0d;
  border: 0;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.np-comments .submit:hover {
  background: var(--np-accent-hover);
}

/* =========================================================
   10. Footer
   ========================================================= */
.np-footer {
  border-top: 1px solid var(--np-border);
  background: var(--np-surface);
  margin-top: 90px;
  padding: 64px 0 30px;
}
.np-footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .np-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .np-footer-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .np-footer-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.np-footer .np-widget {
  background: transparent;
  border: 0;
  padding: 0;
}
.np-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.np-footer li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--np-border);
}
.np-footer a {
  color: var(--np-muted);
}
.np-footer a:hover {
  color: var(--np-accent-hover);
}
.np-footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--np-border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--np-muted);
}
.np-social {
  display: flex;
  gap: 10px;
}
.np-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--np-border);
}
.np-social a:hover {
  border-color: var(--np-accent);
  transform: translateY(-1px);
}
.np-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* =========================================================
   11. 404 / misc
   ========================================================= */
.np-404 {
  text-align: center;
  padding: 90px 0;
}
.np-404 h1 {
  font-family: var(--np-font-display);
  font-size: clamp(4rem, 16vw, 9rem);
  margin: 0;
  color: var(--np-accent);
  line-height: 1;
}
.alignwide {
  max-width: 1100px;
  margin-inline: auto;
}
.alignfull {
  max-width: none;
}
.sticky .np-card-title::after {
  content: " ★";
  color: var(--np-accent);
}
.np-animate {
  animation: np-rise 0.6s var(--np-ease) both;
}
@keyframes np-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   13. Parity additions (homepage sections, category, footer)
   ========================================================= */
/* Section eyebrow above section titles */
.np-section-eyebrow {
  margin: 0 0 6px;
  font-family: var(--np-font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--np-accent);
}
/* Header: tagline collapses once the header becomes sticky */
.np-tagline {
  max-height: 1.5em;
  overflow: hidden;
  transition: max-height 0.5s var(--np-ease), opacity 0.5s var(--np-ease), margin 0.5s var(--np-ease);
}
.np-header.is-stuck .np-tagline {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}
/* Bookmark icon button */
.np-icon-btn svg {
  fill: none;
  stroke: currentColor;
}
.np-bookmark.is-active svg {
  fill: currentColor;
}
.np-bookmark.is-active {
  color: var(--np-accent);
}
/* Trending posts strip */
.np-trend-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--np-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.np-trend-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--np-border);
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius-xl);
  overflow: hidden;
}
@media (min-width: 640px) {
  .np-trend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .np-trend-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.np-trend-item {
  background: var(--np-card);
}
.np-trend-item a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 24px;
  transition: background 0.5s var(--np-ease);
}
.np-trend-item a:hover {
  background: var(--np-surface);
}
.np-trend-rank {
  font-family: var(--np-font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--np-accent);
  opacity: 0.4;
  transition: opacity 0.5s var(--np-ease);
}
.np-trend-item a:hover .np-trend-rank {
  opacity: 1;
}
.np-trend-title {
  font-family: var(--np-font-serif);
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
}
.np-trend-item a:hover .np-trend-title {
  color: var(--np-accent-hover);
}
.np-trend-cat {
  margin: auto 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-muted);
}
/* Homepage newsletter card */
.np-newsletter-card {
  border: 1px solid var(--np-border);
  background: var(--np-surface);
  border-radius: var(--np-radius-xl);
  padding: 56px 24px;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 640px) {
  .np-newsletter-card {
    padding: 64px 48px;
  }
}
.np-news-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--np-accent);
  border-color: color-mix(in srgb, var(--np-accent) 30%, transparent);
  background: color-mix(in srgb, var(--np-accent) 10%, transparent);
}
.np-news-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--np-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.np-news-title {
  font-family: var(--np-font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 24px auto 0;
  max-width: 42rem;
}
.np-news-text {
  font-family: var(--np-font-serif);
  color: var(--np-muted);
  max-width: 36rem;
  margin: 16px auto 0;
  line-height: 1.6;
}
.np-news-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 28rem;
  margin: 32px auto 0;
}
@media (min-width: 640px) {
  .np-news-form {
    flex-direction: row;
  }
}
.np-news-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--np-bg);
  border: 1px solid var(--np-border);
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--np-text);
}
.np-news-form input[type="email"]:focus {
  outline: none;
  border-color: var(--np-accent);
}
.np-news-note {
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: var(--np-muted);
}
/* Category header count row */
.np-cat-count {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--np-muted);
}
.np-cat-count-line {
  height: 1px;
  flex: 1;
  background: var(--np-border);
}
/* Category featured lead story */
.np-cat-featured {
  position: relative;
  margin-top: 40px;
  border: 1px solid var(--np-border);
  border-radius: var(--np-radius-xl);
  background: var(--np-surface);
  overflow: hidden;
  transition: border-color 0.5s var(--np-ease);
}
.np-cat-featured:hover {
  border-color: color-mix(in srgb, var(--np-accent) 30%, transparent);
}
.np-cat-featured img {
  width: 100%;
  height: min(520px, 46vh);
  min-height: 340px;
  object-fit: cover;
  display: block;
}
.np-cat-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--np-bg) 0%, color-mix(in srgb, var(--np-bg) 70%, transparent) 45%, transparent 100%);
  pointer-events: none;
}
.np-cat-featured-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 24px;
  z-index: 1;
  max-width: 42rem;
}
@media (min-width: 640px) {
  .np-cat-featured-body {
    padding: 40px;
  }
}
.np-cat-featured-title {
  font-family: var(--np-font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.np-cat-featured-excerpt {
  font-family: var(--np-font-serif);
  color: var(--np-muted);
  line-height: 1.6;
  margin: 12px 0 0;
}
.np-cat-featured-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
/* Sidebar demo widgets */
.np-side-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.np-side-item .np-rank {
  font-family: var(--np-font-display);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--np-accent);
  opacity: 0.6;
  flex-shrink: 0;
}
.np-side-item:hover .np-rank {
  opacity: 1;
}
.np-side-title {
  font-family: var(--np-font-serif);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}
.np-side-item a:hover .np-side-title,
.np-side-title a:hover {
  color: var(--np-accent-hover);
}
.np-side-cat {
  margin: 6px 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-muted);
}
.np-side-cats li + li {
  margin-top: 6px;
  padding-top: 6px;
}
.np-side-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.875rem;
  color: var(--np-muted);
  transition: all 0.3s var(--np-ease);
}
.np-side-cat-link:hover {
  background: var(--np-surface);
  color: var(--np-text);
  transform: translateX(2px);
}
.np-side-newsletter .np-side-news-title {
  font-family: var(--np-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.np-side-newsletter .np-newsletter {
  margin-top: 20px;
}
.np-side-newsletter .np-newsletter button {
  width: 100%;
  justify-content: center;
}
.np-social-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.np-social-grid a {
  display: grid;
  place-items: center;
  height: 56px;
  border: 1px solid var(--np-border);
  border-radius: 14px;
  background: var(--np-surface);
  color: var(--np-muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.3s var(--np-ease);
}
.np-social-grid a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--np-accent) 40%, transparent);
  color: var(--np-accent);
}
.np-side-ad-box {
  margin-top: 16px;
  border: 1px dashed var(--np-border);
  border-radius: 14px;
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}
.np-side-ad-title {
  font-family: var(--np-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.np-side-ad-box .np-btn {
  margin-top: 16px;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  border-color: color-mix(in srgb, var(--np-accent) 40%, transparent);
  color: var(--np-accent);
}
.np-side-ad-box .np-btn:hover {
  background: var(--np-accent);
  color: var(--np-bg);
}
/* Footer promises strip */
.np-promises {
  list-style: none;
  margin: 0;
  padding: 32px 0;
  border-bottom: 1px solid var(--np-border);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .np-promises {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 0;
  }
}
@media (min-width: 1024px) {
  .np-promises {
    grid-template-columns: repeat(4, 1fr);
  }
}
.np-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.np-promise svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--np-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.np-promise-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.np-promise-sub {
  margin: 0;
  font-size: 0.75rem;
  color: var(--np-muted);
}
/* Footer main columns */
.np-footer-main {
  display: grid;
  gap: 40px;
  padding: 48px 0;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .np-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .np-footer-main {
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  }
}
.np-footer-logo {
  font-family: var(--np-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--np-text);
}
.np-footer-logo:hover {
  color: var(--np-accent-hover);
}
.np-footer-about {
  margin: 16px 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--np-muted);
  max-width: 28rem;
}
.np-footer-brand .np-social {
  margin-top: 24px;
}
.np-fp-title {
  display: block;
  font-size: 0.875rem;
  line-height: 1.4;
}
.np-fp-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--np-muted);
  opacity: 0.7;
}
.np-footer-col a:hover .np-fp-title {
  color: var(--np-accent-hover);
}
.np-footer-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.np-footer-cat-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--np-ease), transform 0.3s var(--np-ease);
}
.np-footer-cat-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}
/* Footer newsletter */
.np-footer-news {
  border-top: 1px solid var(--np-border);
  padding: 40px 0;
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .np-footer-news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}
.np-footer-news-title {
  font-family: var(--np-font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: 12px 0 0;
}
.np-footer-news-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .np-footer-news-form {
    flex-direction: row;
  }
}
.np-footer-news-form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  background: var(--np-card);
  border: 1px solid var(--np-border);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--np-text);
}
.np-footer-news-form input[type="email"]:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--np-accent) 50%, transparent);
}
.np-footer-news-form .np-btn {
  border-color: color-mix(in srgb, var(--np-accent) 40%, transparent);
  background: color-mix(in srgb, var(--np-accent) 10%, transparent);
  color: var(--np-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 48px;
}
.np-footer-news-form .np-btn:hover {
  background: color-mix(in srgb, var(--np-accent) 20%, transparent);
}
/* Footer menu list */
.np-footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.np-footer-menu li,
.np-footer-menu li + li {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Category featured lead without a thumbnail: keep the card visible. */
.np-cat-featured-noimg {
  padding: 40px 24px;
}
.np-cat-featured-noimg .np-cat-featured-body {
  position: static;
  padding: 0;
  max-width: 42rem;
}

.np-social-grid li { margin: 0; padding: 0; border: 0; }

/* Keep reader text inside the mobile column instead of letting wide blocks
   force the whole page into a horizontally zoomed layout. */
@media (max-width: 639px) {
  .np-shell { padding-inline: 16px; }
  .np-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .np-brand { min-width: 0; max-width: 100%; overflow: hidden; }
  .np-logo {
    display: block;
    max-width: 100%;
    font-size: 1rem;
    letter-spacing: 0;
    overflow-wrap: break-word;
    line-height: 1.15;
  }
  .np-tagline { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .np-header-actions { flex: none; gap: 3px; }
  .np-header-actions .np-icon-btn { width: 34px; height: 34px; flex: 0 0 34px; }
  .np-with-sidebar,
  .np-content-col,
  .np-article,
  .np-article-header {
    min-width: 0;
    max-width: 100%;
  }
  .np-article-header { margin-bottom: 24px; }
  .np-featured { max-width: 100%; margin-bottom: 30px; }
  .np-article {
    width: 100%;
    font-family: var(--np-font-sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
  .np-article > * { max-width: 100%; }
  .np-article > * + * { margin-top: 1.5rem; }
  .np-article p { text-wrap: wrap; }
  .np-article > p:first-of-type {
    font-size: 1em;
    line-height: inherit;
  }
  .np-article h2 { font-size: 1.65rem; }
  .np-article h3 { font-size: 1.35rem; }
  .np-article blockquote { font-size: 1.35rem; }
  .np-article img,
  .np-article video,
  .np-article figure,
  .np-article .wp-block-image,
  .np-article .wp-block-gallery { max-width: 100%; height: auto; }
  .np-article table,
  .np-article pre {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
  .np-article .wp-block-table { max-width: 100%; overflow-x: auto; }
  .np-article iframe,
  .np-article .wp-block-embed,
  .np-article .alignwide,
  .np-article .alignfull {
    max-width: 100%;
  }
  .np-article-title { font-size: 2rem; overflow-wrap: anywhere; }
  .np-article-standfirst { font-size: 1.05rem; }
}
