/* ============================================================
   NorthPoint Plumbing - Theme Styles
   Modern, fast, responsive. Colors are injected via Customizer
   (:root --np-primary / --np-accent fall back to these values).
   ============================================================ */

:root {
  --np-primary: #12365c;
  --np-accent: #dc3438;
  --np-ink: #172033;
  --np-muted: #5b6676;
  --np-line: #e6eaf0;
  --np-bg: #f7f9fc;
  --np-radius: 14px;
  --np-shadow: 0 10px 30px rgba(18, 54, 92, 0.08);
  --np-shadow-lg: 0 24px 60px rgba(18, 54, 92, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--np-ink);
  background: #fbfbfd;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

.npp-container { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }

/* ---------------- Buttons ---------------- */
.npp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border: 0; border-radius: 10px;
  font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.npp-btn:hover { transform: translateY(-2px); }
.npp-btn-accent { background: linear-gradient(135deg, var(--np-accent), #b5252c); color: #fff; box-shadow: 0 10px 24px rgba(220, 52, 56, .35); }
.npp-btn-primary { background: linear-gradient(135deg, var(--np-primary), #0c2743); color: #fff; }
.npp-btn-outline { border: 1.5px solid var(--np-accent); color: var(--np-accent); background: transparent; }
.npp-btn-outline:hover { background: var(--np-accent); color: #fff; }
.npp-btn-lg { padding: 16px 32px; font-size: 15px; }
.npp-btn-block { width: 100%; justify-content: center; }
.npp-btn-icon svg { width: 17px; height: 17px; }

/* ---------------- Topbar ---------------- */
.npp-topbar {
  background: var(--np-primary); color: #fff; font-size: 12.5px;
  /* Canadian flag stripe - official 1:2:1 ratio (red-white-red) */
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, #D52B1E 0 25%, #ffffff 25% 75%, #D52B1E 75%) 1;
}
.npp-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 40px; }
.npp-topbar a { display: inline-flex; align-items: center; gap: 7px; opacity: .95; }
.npp-topbar a:hover { opacity: 1; }
.npp-topbar span svg { width: 14px; height: 14px; }
.npp-topbar-social { display: flex; gap: 12px; }
.npp-topbar-social a { opacity: .9; }
@media (max-width: 900px) { .npp-topbar { display: none; } }

/* ---------------- Header ---------------- */
.npp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.npp-header.is-scrolled { border-color: var(--np-line); box-shadow: 0 12px 34px rgba(18, 54, 92, .10); }
.npp-header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }

.npp-logo { display: inline-flex; align-items: center; gap: 10px; }
.npp-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.npp-logo-text span { font-size: 13px; font-weight: 600; color: var(--np-accent); }
.npp-logo-text b { font-size: 17px; font-weight: 900; letter-spacing: .07em; color: var(--np-primary); }
.npp-logo-text.light span, .npp-logo-text.light b { color: #fff; }
.custom-logo-link img { max-height: 52px; width: auto; }

.npp-menu { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.npp-menu a { position: relative; padding: 28px 0; display: block; font-size: 14px; font-weight: 600; color: #33405a; }
.npp-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 22px;
  height: 2px; background: var(--np-accent); transition: right .22s ease;
}
.npp-menu a:hover { color: var(--np-accent); }
.npp-menu a:hover::after { right: 0; }
.npp-menu .current-menu-item > a { color: var(--np-accent); }

.npp-header-actions { display: flex; align-items: center; gap: 10px; }
.npp-icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--np-line); border-radius: 10px;
  background: #fff; color: #253650; transition: .2s;
}
.npp-icon-btn:hover { color: var(--np-accent); border-color: var(--np-accent); }

.npp-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.npp-burger span { display: block; width: 24px; height: 2px; background: var(--np-primary); }

.npp-mobile { display: none; padding: 10px 20px 22px; border-top: 1px solid var(--np-line); background: #fff; }
.npp-mobile.open { display: block; }
.npp-mobile-menu { list-style: none; margin: 0; padding: 0; }
.npp-mobile-menu a { display: block; padding: 13px 4px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--np-line); }
.npp-mobile-cta { margin-top: 16px; width: 100%; justify-content: center; }

.npp-search-panel { display: none; padding: 14px 20px; background: #fff; border-top: 1px solid var(--np-line); }
.npp-search-panel.open { display: block; }
.npp-search-panel form { display: flex; max-width: 640px; margin-inline: auto; }
.npp-search-panel input[type="search"] { flex: 1; padding: 11px 14px; border: 1px solid var(--np-line); border-radius: 10px 0 0 10px; }
.npp-search-panel button { border: 0; background: var(--np-primary); color: #fff; border-radius: 0 10px 10px 0; padding: 0 22px; }

@media (max-width: 1080px) {
  .npp-nav { display: none; }
  .npp-header-actions .npp-btn { display: none; }
  .npp-burger { display: flex; }
}

/* ---------------- Section base ---------------- */
.npp-section { padding: 96px 0; }
.npp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.npp-section-head-main { display: flex; gap: 14px; }
.npp-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(220,52,56,.1); color: var(--np-accent); flex-shrink: 0; margin-top: 4px; }
.npp-mark svg { width: 24px; height: 24px; }
.npp-eyebrow { margin: 0 0 3px; font-size: 12.5px; font-weight: 600; color: var(--np-muted); }
.npp-eyebrow.light { color: rgba(255,255,255,.75); }
.npp-section-title { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--np-primary); }
.npp-section-title.light { color: #fff; }
.npp-section-desc { margin: 6px 0 0; max-width: 760px; color: var(--np-muted); font-size: 15px; line-height: 1.65; }
.npp-head-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--np-accent); flex-shrink: 0; }
.npp-head-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.npp-head-link:hover svg { transform: translateX(4px); }

/* ---------------- Hero ---------------- */
.npp-hero {
  position: relative; background-size: cover; background-position: center;
  padding: 96px 0 110px; overflow: hidden;
}
.npp-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 12% 20%, rgba(220,52,56,.22), transparent 55%),
    linear-gradient(100deg, rgba(7,33,58,.94) 0%, rgba(9,42,72,.82) 45%, rgba(10,46,78,.5) 100%);
}
.npp-hero-overlay::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(251,251,253,.9));
}
.npp-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.npp-maple { display: inline-block; width: 58px; height: 58px; margin-bottom: 10px; filter: drop-shadow(0 12px 24px rgba(213, 43, 30, .55)); }
.npp-maple svg { width: 100%; height: 100%; display: block; }

/* Proudly Canadian badge inside the hero */
.npp-hero-flag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.09);
  backdrop-filter: blur(6px); color: rgba(255,255,255,.92);
  font-size: 12.5px; font-weight: 600;
}
.npp-flag-mini {
  display: inline-block; width: 32px; height: 20px; border-radius: 3px; overflow: hidden;
  flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,.35); background: #fff;
}
.npp-flag-mini svg,
.npp-flag-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.npp-cta-flag svg,
.npp-cta-flag img { width: 100%; height: auto; display: block; }
.npp-hero-pre { color: #fff; font-weight: 700; font-size: 15px; margin: 4px 0 10px; }
.npp-hero-copy h1 {
  color: #fff; margin: 0; font-weight: 900; letter-spacing: -0.025em;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08;
}
.npp-hero-text { color: rgba(255,255,255,.92); font-size: clamp(16px, 1.8vw, 21px); line-height: 1.55; max-width: 600px; margin: 20px 0 28px; }
.npp-hero-trust {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  color: rgba(255,255,255,.85); font-size: 13.5px; font-weight: 600;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 9px 16px; border-radius: 999px; backdrop-filter: blur(6px);
}
.npp-stars { color: #f5b50a; letter-spacing: 2px; }
.npp-stars.big { font-size: 19px; margin: 6px 0 18px; }

.npp-hero-form {
  background: #fff; border-radius: 20px; padding: 30px;
  box-shadow: var(--np-shadow-lg); position: relative; z-index: 2;
}
.npp-hero-form h3 { margin: 0 0 20px; text-align: center; font-size: 20px; font-weight: 700; color: var(--np-ink); }
.npp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.npp-form-grid input, .npp-form-grid select, .npp-form-grid textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #dfe4ea; border-radius: 10px;
  font-size: 13.5px; color: var(--np-ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.npp-form-grid input:focus, .npp-form-grid select:focus, .npp-form-grid textarea:focus {
  outline: none; border-color: var(--np-primary); box-shadow: 0 0 0 4px rgba(18,54,92,.09);
}
.npp-form-grid select, .npp-form-grid textarea { grid-column: 1 / -1; }
.npp-hero-form .npp-btn-block { margin-top: 14px; }
.npp-form-ok { background: #ecfdf3; color: #047857; border: 1px solid #a7f3d0; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin: 0 0 14px; }

@media (max-width: 980px) {
  .npp-hero-grid { grid-template-columns: 1fr; }
  .npp-hero { padding: 64px 0; }
}

/* ---------------- Cards shared ---------------- */
.npp-card {
  background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
  padding: 12px; box-shadow: var(--np-shadow); transition: transform .28s ease, box-shadow .28s ease;
  position: relative;
}
.npp-card:hover { transform: translateY(-6px); box-shadow: var(--np-shadow-lg); }
.npp-card-media { border-radius: 10px; overflow: hidden; }
.npp-card-media img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s ease; }
.npp-card:hover .npp-card-media img { transform: scale(1.06); }

/* ---------------- Services ---------------- */
.npp-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.npp-card-body { padding: 18px 6px 10px; }
.npp-service-card h3 { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.npp-service-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(220,52,56,.1); color: var(--np-accent); flex-shrink: 0; }
.npp-service-icon svg { width: 21px; height: 21px; }
.npp-service-card p { margin: 0; color: var(--np-muted); font-size: 14px; line-height: 1.7; min-height: 66px; }
.npp-learn-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--np-primary); }
.npp-learn-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.npp-learn-more:hover { color: var(--np-accent); }
.npp-learn-more:hover svg { transform: translateX(4px); }
@media (max-width: 1000px) { .npp-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .npp-services-grid { grid-template-columns: 1fr; } }

/* ---------------- Why Choose Us ---------------- */
.npp-whyus { position: relative; padding: 90px 0 0; background-size: cover; background-position: center; }
.npp-whyus-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,45,75,.93), rgba(14,45,75,.88)); }
.npp-whyus-inner { position: relative; text-align: center; padding-bottom: 56px; }
.npp-whyus-text { max-width: 860px; margin: 18px auto 0; color: rgba(255,255,255,.9); font-size: 15.5px; line-height: 1.75; }
.npp-features {
  position: relative; z-index: 1;
  background: #fff; border-radius: 18px 18px 0 0; box-shadow: var(--np-shadow-lg);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; padding: 44px 40px;
}
.npp-feature { text-align: center; }
.npp-feature-icon {
  width: 84px; height: 84px; margin-inline: auto; display: grid; place-items: center;
  border-radius: 50%; color: var(--np-accent);
  border: 5px solid #eef1f5; position: relative; transition: .25s ease;
}
.npp-feature-icon::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed #d8dee6; }
.npp-feature:hover .npp-feature-icon { border-color: rgba(220,52,56,.35); transform: translateY(-4px); }
.npp-feature-icon svg { width: 32px; height: 32px; }
.npp-feature p { margin: 14px 0 0; font-size: 12.5px; font-weight: 700; color: var(--np-primary); }
@media (max-width: 1000px) { .npp-features { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } }
@media (max-width: 560px) { .npp-features { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Projects ---------------- */
.npp-project-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-block: 1px solid var(--np-line); padding: 14px 0; margin-bottom: 28px; }
.npp-tab {
  border: 1px solid transparent; background: transparent; color: var(--np-primary);
  font-weight: 700; font-size: 13.5px; padding: 9px 18px; border-radius: 999px; transition: .2s;
}
.npp-tab:hover { color: var(--np-accent); }
.npp-tab.active { background: var(--np-primary); color: #fff; }
.npp-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.npp-project-card h3 { margin: 14px 0 6px; font-size: 15.5px; font-weight: 700; line-height: 1.5; min-height: 46px; }
.npp-project-meta { margin: 0; color: var(--np-muted); font-size: 13.5px; }
.npp-project-meta i { font-style: normal; color: #c9d2dd; margin: 0 8px; }
.npp-project-go {
  position: absolute; left: 50%; transform: translateX(-50%); margin-top: -22px;
  width: 60px; height: 40px; display: grid; place-items: center;
  background: var(--np-primary); color: #fff; border-radius: 8px; border: 3px solid #fff;
  box-shadow: var(--np-shadow); transition: background .2s ease;
}
.npp-project-go:hover { background: var(--np-accent); }
.npp-project-card.is-hidden { display: none; }
@media (max-width: 1000px) { .npp-projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .npp-projects-grid { grid-template-columns: 1fr; } }

/* ---------------- Canada strip (True North Quality) ---------------- */
.npp-canada-strip { position: relative; overflow: hidden; background: #ffffff; border-block: 1px solid #eef1f5; padding: 72px 0; }
.npp-maple-bg { position: absolute; pointer-events: none; opacity: .05; color: var(--np-accent); }
.npp-maple-bg svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.npp-maple-bg-1 { width: 340px; height: 340px; top: 50%; right: -60px; transform: translateY(-50%); }
.npp-maple-bg-2 { width: 260px; height: 260px; bottom: -80px; left: -60px; color: var(--np-primary); opacity: .04; }
.npp-canada-inner { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; }
.npp-canada-flag { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.npp-canada-flag svg,
.npp-canada-flag img {
  width: 240px; height: auto; display: block;
  border-radius: 14px; box-shadow: 0 24px 46px rgba(213, 43, 30, .25);
  background: #fff; overflow: hidden;
}
.npp-canada-flag img { object-fit: contain; }
.npp-canada-flag svg { aspect-ratio: 2 / 1; }
.npp-canada-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .24em; color: #D52B1E; text-transform: uppercase; }
.npp-canada-body h2 { margin: 8px 0 12px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; color: var(--np-primary); letter-spacing: -0.02em; }
.npp-canada-desc { margin: 0; color: var(--np-muted); font-size: 14.5px; line-height: 1.75; max-width: 640px; }
.npp-canada-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #D52B1E;
}
.npp-canada-maple { display: inline-flex; width: 16px; height: 16px; color: #D52B1E; }
.npp-canada-maple svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.npp-canada-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.npp-canada-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(213, 43, 30, .06); border: 1px solid rgba(213, 43, 30, .22);
  font-size: 12px; font-weight: 800; color: #D52B1E;
}
.npp-canada-chip .npp-canada-maple { width: 13px; height: 13px; }
@media (max-width: 760px) {
  .npp-canada-inner { grid-template-columns: 1fr; text-align: center; }
  .npp-canada-chips { justify-content: center; }
  .npp-canada-eyebrow { justify-content: center; }
}

/* ---------------- Testimonials ---------------- */
.npp-testimonials { background: #eef2f6; padding: 84px 0; }
.npp-testimonials-inner { display: flex; gap: 18px; }
.npp-testimonial-note { margin: 18px 0 8px; font-size: 14px; color: #48556a; }
.npp-google-row { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.npp-g { font-size: 22px; color: #4285f4; font-weight: 800; }

/* ---------------- Articles ---------------- */
.npp-articles-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 44px; }
.npp-article-featured .npp-card-media img, .npp-article-featured .npp-card-media { height: 320px; border-radius: 14px; }
.npp-article-featured .npp-card-media img { width: 100%; object-fit: cover; }
.npp-article-featured h3 { margin: 20px 0 6px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.npp-article-featured h3 a:hover { color: var(--np-accent); }
.npp-article-featured p { color: var(--np-muted); font-size: 14.5px; line-height: 1.7; }
.npp-article-side { display: flex; flex-direction: column; gap: 22px; }
.npp-article-mini { display: grid; grid-template-columns: 190px 1fr; gap: 18px; }
.npp-article-thumb img { width: 100%; height: 118px; object-fit: cover; border-radius: 10px; }
.npp-article-mini h4 { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.npp-article-mini h4 a:hover { color: var(--np-accent); }
.npp-article-mini p { margin: 0; color: var(--np-muted); font-size: 13px; line-height: 1.6; }
.npp-post-date { color: var(--np-muted); font-size: 12px !important; margin: 4px 0 !important; }
@media (max-width: 900px) { .npp-articles-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .npp-article-mini { grid-template-columns: 120px 1fr; } }

/* ---------------- FAQ ---------------- */
.npp-faq-list { border-top: 1px dashed #d6dde6; }
.npp-faq-item { border-bottom: 1px dashed #d6dde6; }
.npp-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 20px 4px; text-align: start;
  font-size: 16px; font-weight: 700; color: #2c394e;
}
.npp-faq-q svg { flex-shrink: 0; transition: transform .25s ease; }
.npp-faq-item.open .npp-faq-q { color: var(--np-accent); }
.npp-faq-item.open .npp-faq-q svg { transform: rotate(45deg); }
.npp-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.npp-faq-a p { margin: 0; padding: 0 4px 20px; color: var(--np-muted); font-size: 14.5px; line-height: 1.7; }
.npp-faq-item.open .npp-faq-a { max-height: 300px; }

/* ---------------- CTA banner ---------------- */
.npp-cta-section { padding: 0 0 96px; }
.npp-cta {
  position: relative; overflow: hidden; border-radius: 20px;
  background: linear-gradient(135deg, #1a3a63 0%, #0e2a4a 50%, #0a2036 100%);
  color: #fff; min-height: 240px;
}
/* Concentric horizontal ring pattern from the right side */
.npp-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .18;
  background-image: repeating-radial-gradient(ellipse 140% 100% at 100% 50%, transparent 0 22px, rgba(255,255,255,.35) 22px 23px);
  pointer-events: none;
}

/* Flag pinned to the left, filling the full height.
   Width & opacity are overridden inline from Customizer settings. */
.npp-cta-flag {
  position: absolute; inset: 0 auto 0 0; width: 34%;
  overflow: hidden; z-index: 1; pointer-events: none;
}
.npp-cta-flag::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 62%, #0e2a4a 100%);
}
.npp-cta-flag svg,
.npp-cta-flag img {
  width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 0;
}

/* Centered content - horizontally centered inside the whole banner,
   regardless of the flag on the left. */
.npp-cta-content {
  position: relative; z-index: 2;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.npp-cta-title {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0; font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: #fff; letter-spacing: -0.01em;
}
.npp-cta-maple { display: inline-flex; width: 22px; height: 22px; color: #ff6169; flex-shrink: 0; }
.npp-cta-maple svg { width: 100%; height: 100%; }
.npp-cta-sub {
  margin: 12px 0 22px; font-size: clamp(15px, 1.6vw, 18px); font-weight: 500;
  color: rgba(255, 255, 255, .9);
}
.npp-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, #e83a3f, #c9282d);
  color: #fff; font-size: 14.5px; font-weight: 700;
  box-shadow: 0 12px 24px rgba(220, 52, 56, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.npp-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(220, 52, 56, .45); }

@media (max-width: 900px) {
  .npp-cta { min-height: auto; }
  /* Force full width on mobile regardless of the desktop % setting */
  .npp-cta-flag { position: relative !important; inset: auto !important; width: 100% !important; height: 180px; }
  .npp-cta-flag::after { background: linear-gradient(180deg, transparent 60%, #0e2a4a 100%); }
  .npp-cta-content { padding: 30px 24px 40px; }
}
.npp-cta-content { position: relative; z-index: 1; }
.npp-cta h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.npp-cta p { margin: 8px 0 22px; font-size: 19px; color: rgba(255,255,255,.85); }

/* ---------------- Contact info widget ---------------- */
.npp-contact-info { background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius); padding: 30px; box-shadow: var(--np-shadow); }
.npp-contact-info h3 { margin: 0 0 18px; font-size: 20px; color: var(--np-primary); }
.npp-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.npp-contact-list a { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--np-muted); }
.npp-contact-list a:hover { color: var(--np-accent); }
.npp-contact-list span svg { width: 17px; height: 17px; color: var(--np-accent); }
.npp-contact-list.boxed { padding: 4px 0; }

/* ---------------- Footer ---------------- */
.npp-footer {
  background: #e9edf1; padding-top: 64px; color: #4a5568;
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, #D52B1E 0 25%, #ffffff 25% 75%, #D52B1E 75%) 1;
}
.npp-footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .9fr 1.05fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #cfd7df; }
.npp-footer h4 { margin: 0 0 20px; font-size: 16px; font-weight: 800; color: var(--np-ink); }
.npp-footer p { font-size: 14px; line-height: 1.85; }
.npp-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; font-size: 14px; }
.npp-footer-menu a:hover { color: var(--np-accent); }
.npp-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.npp-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--np-line); border-radius: 10px; padding: 9px 14px; font-size: 12px; font-weight: 600; }
.npp-badge-google b { color: #4285f4; font-weight: 800; }
.npp-badge-google i { font-style: normal; color: #e7a600; }
.npp-badge-verified { color: #168cc5; font-weight: 700; }
.npp-footer-bottom { padding: 20px 0; }
.npp-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.npp-footer-bottom p { margin: 0; }
.npp-socials { display: flex; gap: 14px; color: var(--np-primary); }
.npp-socials a:hover { color: var(--np-accent); }
@media (max-width: 980px) { .npp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .npp-footer-grid { grid-template-columns: 1fr; } }

/* ---------------- Pages / blog ---------------- */
.npp-page-hero { background: linear-gradient(135deg, var(--np-primary), #0c2743); color: #fff; padding: 64px 0; }
.npp-page-hero h1 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.npp-page-hero p { margin: 8px 0 0; color: rgba(255,255,255,.8); }
.npp-page-content { padding-block: 64px; font-size: 15.5px; line-height: 1.8; max-width: 940px; }
.npp-blog { padding: 70px 0 90px; }
.npp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.npp-post-card { background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius); overflow: hidden; box-shadow: var(--np-shadow); transition: transform .25s ease; }
.npp-post-card:hover { transform: translateY(-5px); }
.npp-post-thumb img { width: 100%; height: 210px; object-fit: cover; }
.npp-post-thumb-empty { display: block; height: 210px; background: linear-gradient(135deg, var(--np-primary), #1a4a7c); }
.npp-post-body { padding: 20px; }
.npp-post-body h2 { margin: 6px 0 10px; font-size: 18px; line-height: 1.45; }
.npp-post-body h2 a:hover { color: var(--np-accent); }
.npp-post-body p { color: var(--np-muted); font-size: 14px; line-height: 1.7; margin: 0; }
.npp-pagination { margin-top: 40px; text-align: center; }
.npp-pagination .page-numbers { display: inline-block; padding: 9px 15px; margin: 0 3px; border-radius: 8px; border: 1px solid var(--np-line); background: #fff; font-size: 14px; }
.npp-pagination .current { background: var(--np-primary); color: #fff; border-color: var(--np-primary); }
.npp-single-thumb img { border-radius: var(--np-radius); margin-bottom: 28px; }
.npp-single-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--np-line); font-weight: 700; }
.npp-empty { color: var(--np-muted); }
@media (max-width: 900px) { .npp-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .npp-blog-grid { grid-template-columns: 1fr; } }

/* ---------------- Live Google Reviews ---------------- */
.npp-testimonials-main { width: 100%; }
.npp-live-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 10px;
  padding: 4px 11px; border-radius: 999px; background: #ecfdf3; color: #047857;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.npp-live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.npp-rating-number { margin-inline-start: 8px; color: var(--np-primary); font-size: 16px; }
.npp-stars .on { color: #f5b50a; }
.npp-stars .off { color: #d3dae2; }
.npp-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.npp-review-card { text-align: start; background: #fff; border: 1px solid var(--np-line); border-radius: 16px; padding: 24px; box-shadow: var(--np-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.npp-review-card:hover { transform: translateY(-4px); box-shadow: var(--np-shadow-lg); }
.npp-review-head { display: flex; align-items: center; gap: 12px; }
.npp-review-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--np-primary), #1d4e80); color: #fff; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.npp-review-head > div { display: flex; flex-direction: column; }
.npp-review-head small { color: var(--np-muted); font-size: 11.5px; }
.npp-review-score { margin-inline-start: auto; font-size: 13px; }
.npp-review-text { margin: 14px 0 0; color: var(--np-muted); font-size: 14px; line-height: 1.75; }
@media (max-width: 900px) { .npp-review-grid { grid-template-columns: 1fr; } }

/* ---------------- Custom HTML / shortcode slots ---------------- */
.npp-header-custom { display: flex; align-items: center; gap: 8px; margin-inline-end: 6px; font-size: 13.5px; font-weight: 600; color: var(--np-primary); }
.npp-footer-custom { padding: 26px 0; }

/* ---------------- CPT single / archive bits ---------------- */
.npp-cpt-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.npp-cpt-term { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.npp-cpt-meta a { color: #ffb3b6; font-weight: 700; }
.npp-cpt-thumb { margin: 0 0 30px; border-radius: var(--np-radius); overflow: hidden; box-shadow: var(--np-shadow-lg); }
.npp-cpt-thumb img { width: 100%; }

/* ============================================================
   Modern Archive & Single templates
   ============================================================ */

/* ---------- Breadcrumbs ---------- */
.npp-breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: rgba(255, 255, 255, .78); margin-bottom: 22px;
}
.npp-breadcrumbs a { color: rgba(255, 255, 255, .78); transition: color .2s; }
.npp-breadcrumbs a:hover { color: #fff; }
.npp-breadcrumbs i { font-style: normal; opacity: .5; }
.npp-breadcrumbs [aria-current] { color: #fff; }

/* ---------- Archive hero ---------- */
.npp-archive-hero {
  position: relative; overflow: hidden;
  padding: 78px 0 90px;
  background:
    radial-gradient(1000px 500px at 12% 10%, rgba(220, 52, 56, .28), transparent 55%),
    linear-gradient(135deg, #0a2745 0%, var(--np-primary) 50%, #0a2036 100%);
  color: #fff;
}
.npp-archive-hero-glow {
  position: absolute; inset: 0; opacity: .12;
  background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,.5) 60px 61px);
  pointer-events: none; mix-blend-mode: overlay;
}
.npp-archive-hero-maple {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; opacity: .07; color: #fff;
}
.npp-archive-hero-maple svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.npp-archive-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.npp-archive-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(220, 52, 56, .18); border: 1px solid rgba(255, 255, 255, .12);
  color: #ffcbcd; font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.npp-archive-eyebrow .npp-canada-maple { color: #ff6b6f; }
.npp-archive-hero h1 {
  margin: 0; font-weight: 900; letter-spacing: -0.025em;
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08;
}
.npp-archive-desc {
  margin: 16px 0 0; max-width: 700px;
  color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.7;
}
.npp-archive-count {
  display: inline-block; margin: 22px 0 0;
  padding: 6px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; font-size: 12.5px; font-weight: 700;
}

/* ---------- Archive body layout ---------- */
.npp-archive-body { padding: 60px 0 90px; background: #fbfbfd; }
.npp-archive-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 24px; }
.npp-archive-main { min-width: 0; }
@media (max-width: 1024px) { .npp-archive-layout { grid-template-columns: 1fr; } }

/* ---------- Category chips ---------- */
.npp-chip-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 0; margin-bottom: 6px;
  border-bottom: 1px dashed #d8dee6;
}
.npp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--np-line); color: var(--np-primary);
  font-size: 13px; font-weight: 700; transition: .2s;
}
.npp-chip em { font-style: normal; padding: 1px 8px; border-radius: 999px; background: rgba(18, 54, 92, .08); font-size: 11px; }
.npp-chip:hover { color: var(--np-accent); border-color: rgba(220, 52, 56, .3); transform: translateY(-1px); }
.npp-chip.active { background: linear-gradient(135deg, var(--np-primary), #0d2947); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(18, 54, 92, .18); }
.npp-chip.active em { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- Sidebar cards ---------- */
.npp-archive-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; align-self: flex-start; }
.npp-side-card {
  background: #fff; border: 1px solid var(--np-line); border-radius: 16px;
  padding: 22px; box-shadow: var(--np-shadow);
}
.npp-side-card h3 {
  margin: 0 0 14px; padding-bottom: 12px; font-size: 16px; font-weight: 800; color: var(--np-primary);
  border-bottom: 1px solid var(--np-line); display: flex; align-items: center; gap: 10px;
}
.npp-side-search form { display: flex; }
.npp-side-search input[type=search] { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--np-line); border-radius: 10px 0 0 10px; font-size: 13.5px; }
.npp-side-search button { border: 0; background: var(--np-primary); color: #fff; padding: 0 18px; border-radius: 0 10px 10px 0; font-weight: 700; font-size: 13px; }
.npp-side-search button:hover { background: var(--np-accent); }

.npp-side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.npp-side-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 6px; border-radius: 10px; transition: background .2s; }
.npp-side-list li:hover { background: rgba(220, 52, 56, .05); }
.npp-side-list li a { font-size: 13.5px; font-weight: 600; color: var(--np-primary); }
.npp-side-list li a:hover { color: var(--np-accent); }
.npp-side-list li span { font-size: 11.5px; color: var(--np-muted); background: #f2f4f7; padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.npp-side-list li.empty { color: var(--np-muted); font-size: 13px; }

.npp-side-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.npp-side-posts li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
.npp-side-posts img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.npp-side-posts div { min-width: 0; }
.npp-side-posts a { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--np-primary); display: block; }
.npp-side-posts a:hover { color: var(--np-accent); }
.npp-side-posts small { display: block; margin-top: 4px; color: var(--np-muted); font-size: 11.5px; }

.npp-side-cta {
  text-align: center;
  background: linear-gradient(135deg, #0f2d4f, var(--np-primary));
  color: #fff; border-color: transparent;
  position: relative; overflow: hidden;
}
.npp-side-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .15;
  background-image: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 30px, rgba(255,255,255,.35) 32px 33px);
}
.npp-side-cta .npp-canada-maple {
  position: relative; display: inline-block; width: 36px; height: 36px; margin: 4px 0 8px; color: var(--np-accent);
}
.npp-side-cta .npp-canada-maple svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.npp-side-cta h3 { position: relative; border: 0; padding: 0; margin: 0 0 8px; color: #fff; justify-content: center; }
.npp-side-cta p { position: relative; margin: 0 0 18px; color: rgba(255, 255, 255, .85); font-size: 13.5px; line-height: 1.6; }
.npp-side-cta .npp-btn { position: relative; width: 100%; justify-content: center; }

/* ---------- Empty state ---------- */
.npp-empty-state {
  padding: 70px 30px; text-align: center;
  background: #fff; border: 2px dashed var(--np-line); border-radius: 20px;
}
.npp-empty-icon { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: rgba(220, 52, 56, .08); color: var(--np-accent); margin-bottom: 18px; }
.npp-empty-icon svg { width: 34px; height: 34px; }
.npp-empty-state h2 { margin: 0 0 8px; font-size: 22px; color: var(--np-primary); }
.npp-empty-state p { margin: 0; color: var(--np-muted); font-size: 14.5px; }

/* ---------- Post grid card additions ---------- */
.npp-post-card { position: relative; }
.npp-post-thumb { position: relative; display: block; overflow: hidden; }
.npp-post-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--np-primary);
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; backdrop-filter: blur(6px);
  box-shadow: 0 6px 14px rgba(18, 54, 92, .18);
}
.npp-post-mini-meta {
  display: flex; gap: 14px; margin-bottom: 10px;
  font-size: 12px; color: var(--np-muted); font-weight: 600;
}
.npp-post-mini-meta span { display: inline-flex; align-items: center; gap: 6px; }
.npp-post-mini-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--np-accent); display: inline-block; }
.npp-post-mini-meta span:first-child::before { display: none; }

/* ---------- Single: hero ---------- */
.npp-single-hero {
  position: relative; overflow: hidden;
  min-height: 460px; padding: 60px 0 80px; color: #fff;
  display: flex; align-items: flex-end;
}
.npp-single-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.04); filter: brightness(.65);
}
.npp-single-hero-bg-default {
  background: linear-gradient(135deg, #0a2745 0%, var(--np-primary) 50%, #0a2036 100%);
  filter: none;
}
.npp-single-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 460px at 15% 0%, rgba(220,52,56,.25), transparent 60%),
    linear-gradient(180deg, rgba(7,28,52,.55) 0%, rgba(7,28,52,.9) 88%);
}
.npp-single-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.npp-single-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 14px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(220, 52, 56, .16); border: 1px solid rgba(255, 255, 255, .12);
  color: #ffcbcd; font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
}
.npp-single-eyebrow .npp-canada-maple { color: #ff6b6f; width: 14px; height: 14px; display: inline-flex; }
.npp-single-eyebrow .npp-canada-maple svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.npp-single-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.npp-single-term {
  padding: 5px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-size: 12px; font-weight: 700; transition: .2s;
}
.npp-single-term:hover { background: var(--np-accent); border-color: var(--np-accent); }
.npp-single-hero h1 { margin: 0; font-weight: 900; letter-spacing: -0.028em; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.08; color: #fff; }
.npp-single-lede { margin: 20px 0 0; font-size: clamp(15px, 1.7vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 700px; }
.npp-single-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.npp-btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px);
}
.npp-btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.npp-btn-ghost svg { width: 17px; height: 17px; }

/* ---------- Single: meta bar ---------- */
.npp-single-wrap { padding: 0 0 70px; background: #fbfbfd; }
.npp-meta-bar {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  margin: -32px auto 34px; padding: 20px 26px;
  background: #fff; border: 1px solid var(--np-line); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 54, 92, .10); position: relative; z-index: 3;
}
.npp-meta-item { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; }
.npp-meta-item small { display: block; color: var(--np-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.npp-meta-item b { display: block; color: var(--np-primary); font-size: 13.5px; font-weight: 700; margin-top: 2px; }
.npp-meta-item b a { color: inherit; }
.npp-meta-item b a:hover { color: var(--np-accent); }
.npp-meta-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(220, 52, 56, .1); color: var(--np-accent); flex-shrink: 0; }
.npp-meta-ic svg { width: 18px; height: 18px; }
.npp-meta-avatar { border-radius: 50%; width: 34px; height: 34px; }

/* ---------- Single: layout & article ---------- */
.npp-single-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
@media (max-width: 1024px) { .npp-single-layout { grid-template-columns: 1fr; } }

.npp-single-article {
  background: #fff; border: 1px solid var(--np-line); border-radius: 22px;
  padding: 44px 48px; box-shadow: var(--np-shadow);
}
.npp-single-content { color: #2c3546; font-size: 16.5px; line-height: 1.85; }
.npp-single-content > * { margin-top: 0; }
.npp-single-content > * + * { margin-top: 20px; }
.npp-single-content h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--np-primary); margin-top: 40px; letter-spacing: -0.02em; }
.npp-single-content h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 800; color: var(--np-primary); margin-top: 30px; }
.npp-single-content h4 { font-size: 18px; font-weight: 700; color: var(--np-primary); margin-top: 26px; }
.npp-single-content a { color: var(--np-accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.npp-single-content a:hover { color: var(--np-primary); }
.npp-single-content blockquote {
  margin: 28px 0; padding: 22px 26px; border-inline-start: 4px solid var(--np-accent);
  background: linear-gradient(90deg, rgba(220, 52, 56, .06), transparent);
  border-radius: 0 14px 14px 0; font-style: italic; color: var(--np-primary); font-size: 17px;
}
.npp-single-content ul, .npp-single-content ol { padding-inline-start: 24px; }
.npp-single-content li { margin-bottom: 8px; }
.npp-single-content img, .npp-single-content figure { border-radius: 14px; overflow: hidden; margin: 26px 0; box-shadow: 0 20px 40px rgba(18, 54, 92, .10); }
.npp-single-content figure img { border-radius: 0; margin: 0; box-shadow: none; }
.npp-single-content code { background: #f3f5f8; padding: 2px 8px; border-radius: 6px; font-size: 14px; color: var(--np-primary); }
.npp-single-content pre { background: #0d2947; color: #d7e7ff; padding: 20px 22px; border-radius: 14px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; }

@media (max-width: 640px) { .npp-single-article { padding: 30px 22px; } }

/* ---------- Share bar ---------- */
.npp-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 42px; padding-top: 28px; border-top: 1px dashed #d8dee6;
}
.npp-share-label { font-size: 13px; font-weight: 700; color: var(--np-primary); margin-inline-end: 6px; }
.npp-share-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--np-line);
  background: #fff; color: var(--np-primary); border-radius: 12px; transition: .2s;
}
.npp-share-btn:hover { color: #fff; transform: translateY(-2px); border-color: transparent; }
.npp-share-facebook:hover { background: #1877f2; }
.npp-share-x:hover { background: #000; }
.npp-share-linkedin:hover { background: #0a66c2; }
.npp-share-whatsapp:hover { background: #25d366; }
.npp-share-copy:hover { background: var(--np-primary); }

/* ---------- Tags ---------- */
.npp-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 26px; }
.npp-tags span { font-size: 13px; font-weight: 700; color: var(--np-primary); }
.npp-tags a { padding: 5px 12px; background: #f2f4f7; color: var(--np-primary); border-radius: 999px; font-size: 12.5px; font-weight: 600; transition: .2s; }
.npp-tags a:hover { background: var(--np-accent); color: #fff; }

/* ---------- Prev/Next nav ---------- */
.npp-post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 34px; padding-top: 28px; border-top: 1px dashed #d8dee6;
}
.npp-post-nav-item { background: #fbfbfd; border: 1px solid var(--np-line); border-radius: 14px; padding: 16px 18px; transition: .2s; }
.npp-post-nav-item:hover { border-color: rgba(220, 52, 56, .3); background: #fff; box-shadow: var(--np-shadow); }
.npp-post-nav-next { text-align: end; }
.npp-post-nav-item span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--np-accent); margin-bottom: 6px; }
.npp-post-nav-item a { font-size: 14.5px; font-weight: 700; color: var(--np-primary); line-height: 1.4; display: block; }
.npp-post-nav-item a:hover { color: var(--np-accent); }
@media (max-width: 640px) { .npp-post-nav { grid-template-columns: 1fr; } .npp-post-nav-next { text-align: start; } }

/* ---------- Inline CTA in article ---------- */
.npp-single-inline-cta {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  margin-top: 36px; padding: 28px 30px;
  background: linear-gradient(135deg, var(--np-primary), #0b2744); color: #fff;
  border-radius: 18px; position: relative; overflow: hidden;
}
.npp-single-inline-cta::after {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background-image: repeating-radial-gradient(ellipse at 100% 100%, transparent 0 36px, rgba(255,255,255,.35) 38px 39px);
  pointer-events: none;
}
.npp-single-inline-cta > * { position: relative; z-index: 1; }
.npp-single-inline-cta h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }
.npp-single-inline-cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 14px; max-width: 480px; }

/* ---------- Author card ---------- */
.npp-author-card {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 40px; padding: 26px; background: #fbfbfd; border: 1px solid var(--np-line); border-radius: 18px;
}
.npp-author-avatar { border-radius: 50%; width: 88px; height: 88px; flex-shrink: 0; }
.npp-author-card small { display: block; color: var(--np-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.npp-author-card h4 { margin: 4px 0 6px; font-size: 18px; color: var(--np-primary); }
.npp-author-card p { margin: 0; color: var(--np-muted); font-size: 14px; line-height: 1.7; }

/* ---------- Related content ---------- */
.npp-related { background: #f2f5f8; padding: 80px 0; }
.npp-related-head { display: flex; gap: 14px; margin-bottom: 32px; align-items: center; }
.npp-related-head .npp-mark { margin-top: 0; }
.npp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.npp-related-card { padding: 12px; }
.npp-related-card .npp-card-media img { height: 200px; }
.npp-related-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.npp-related-card h3 a { color: var(--np-primary); }
.npp-related-card h3 a:hover { color: var(--np-accent); }
.npp-related-excerpt { margin: 0; color: var(--np-muted); font-size: 13px; line-height: 1.6; }
@media (max-width: 1000px) { .npp-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .npp-related-grid { grid-template-columns: 1fr; } }

/* ---------- Comments ---------- */
.npp-comments { margin-top: 46px; padding-top: 34px; border-top: 1px dashed #d8dee6; }
.npp-comments-title { margin: 0 0 22px; font-size: 22px; font-weight: 800; color: var(--np-primary); display: flex; align-items: center; gap: 10px; }
.npp-comments-title::before { content: ""; width: 6px; height: 22px; background: var(--np-accent); border-radius: 3px; }
.npp-comments-closed { color: var(--np-muted); font-size: 13.5px; margin-top: 16px; }

.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list li { padding: 22px; background: #fbfbfd; border: 1px solid var(--np-line); border-radius: 16px; margin-bottom: 14px; }
.comment-list .children { list-style: none; margin: 16px 0 0; padding: 0 0 0 30px; border-inline-start: 2px solid var(--np-line); }
.comment-list .children li { background: #fff; }
.comment-list .comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-list .comment-author img { border-radius: 50%; }
.comment-list .comment-author .fn { font-weight: 700; color: var(--np-primary); font-style: normal; }
.comment-list .comment-author cite { font-style: normal; }
.comment-list .comment-metadata { font-size: 12px; color: var(--np-muted); margin-bottom: 12px; }
.comment-list .comment-metadata a { color: var(--np-muted); }
.comment-list .comment-metadata a:hover { color: var(--np-accent); }
.comment-list .comment-content { font-size: 14.5px; line-height: 1.75; color: #2c3546; }
.comment-list .comment-content p { margin: 0 0 10px; }
.comment-list .reply { margin-top: 12px; }
.comment-list .comment-reply-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--np-accent); text-decoration: none; padding: 6px 12px; border: 1px solid rgba(220, 52, 56, .2); border-radius: 999px; transition: .2s; }
.comment-list .comment-reply-link:hover { background: var(--np-accent); color: #fff; border-color: var(--np-accent); }
.comment-list .bypostauthor { border-color: rgba(220, 52, 56, .35); background: rgba(220, 52, 56, .04); }

.comment-form { margin-top: 30px; padding: 28px; background: #fff; border: 1px solid var(--np-line); border-radius: 18px; box-shadow: var(--np-shadow); }
.comment-reply-title { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: var(--np-primary); }
.comment-form .logged-in-as, .comment-form .comment-notes { font-size: 12.5px; color: var(--np-muted); margin-bottom: 16px; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--np-primary); }
.comment-form textarea,
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--np-line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--np-ink); background: #fbfbfd;
  transition: border-color .2s, box-shadow .2s;
}
.comment-form textarea:focus,
.comment-form input:focus {
  outline: none; border-color: var(--np-primary);
  box-shadow: 0 0 0 4px rgba(18, 54, 92, .08); background: #fff;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .form-submit { margin: 8px 0 0; }
.comment-form .submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border: 0; border-radius: 10px;
  background: linear-gradient(135deg, var(--np-primary), #0c2743);
  color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.comment-form .submit:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(18, 54, 92, .2); }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--np-muted); }
.comment-form .comment-form-cookies-consent input { width: auto; }
.comment-form .comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 500; color: var(--np-muted); }

.comment-navigation { margin: 20px 0; }

/* ---------- Motion / a11y ---------- */
@keyframes nppFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.npp-card, .npp-section-head, .npp-hero-copy, .npp-hero-form { animation: nppFadeUp .6s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
