:root {
  --nbp-ink: #020617;
  --nbp-slate: #475569;
  --nbp-muted: #64748b;
  --nbp-line: #e2e8f0;
  --nbp-soft: #f8fafc;
  --nbp-green: #0f9f65;
  --nbp-green-dark: #087a4c;
  --nbp-mint: #dff6ec;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--nbp-ink);
}

.nbp-page-container { padding-top: 0 !important; }

.nbp-blog-home {
  background: #fff;
  line-height: 1.55;
}

.nbp-blog-home *,
.nbp-blog-home *::before,
.nbp-blog-home *::after { box-sizing: border-box; }
.nbp-blog-home a { color: inherit; text-decoration: none; }
.nbp-blog-home img { max-width: 100%; height: auto; }
.nbp-blog-home h1,
.nbp-blog-home h2,
.nbp-blog-home h3,
.nbp-blog-home p { padding: 0; }

.nbp-shell { width: min(1184px, calc(100% - 48px)); margin-inline: auto; }
.nbp-skip-link { position: fixed; left: 16px; top: -80px; z-index: 10000; padding: 10px 16px; border-radius: 8px; background: var(--nbp-ink); color: #fff !important; }
.nbp-skip-link:focus { top: 12px; }

.nbp-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid #e5e7eb; backdrop-filter: blur(12px); }
.nbp-site-header *,
.nbp-site-footer * { box-sizing: border-box; }
body.admin-bar .nbp-site-header { top: 32px; }
.nbp-nav-wrap { min-height: 66px; display: flex; align-items: center; gap: 28px; }
.nbp-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nbp-brand img { display: block; width: 177px; max-height: 52px; object-fit: contain; }
.nbp-header-search { width: 238px; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: 7px; background: #fff; }
.nbp-header-search svg,
.nbp-hero-search svg { width: 18px; fill: none; stroke: #94a3b8; stroke-width: 2; flex: 0 0 auto; }
.nbp-header-search input { width: 100%; border: 0; outline: 0; padding: 0; background: transparent; font: inherit; font-size: 14px; color: var(--nbp-ink); }
.nbp-primary-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.nbp-primary-nav a { color: var(--nbp-ink); transition: color .2s ease; }
.nbp-primary-nav a:hover,
.nbp-primary-nav a[aria-current="page"] { color: var(--nbp-green-dark); }
.nbp-primary-nav .nbp-nav-cta { padding: 10px 15px; border-radius: 7px; background: var(--nbp-green); color: #fff; box-shadow: 0 8px 18px rgba(15,159,101,.16); }
.nbp-primary-nav .nbp-nav-cta:hover { color: #fff; background: var(--nbp-green-dark); }

.nbp-hero { overflow: hidden; border-bottom: 1px solid #d9efe5; background: radial-gradient(circle at 89% 20%, rgba(167, 240, 208, .42), transparent 29%), linear-gradient(180deg, #fff 0%, #fbfefd 100%); }
.nbp-hero-inner { position: relative; padding: 76px 0 68px; }
.nbp-hero-inner::after { content: ""; position: absolute; width: 300px; height: 300px; right: -50px; top: 32px; border: 1px solid rgba(15,159,101,.12); border-radius: 50%; box-shadow: 0 0 0 48px rgba(15,159,101,.035), 0 0 0 96px rgba(15,159,101,.025); pointer-events: none; }
.nbp-eyebrow,
.nbp-kicker { color: var(--nbp-green-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nbp-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.nbp-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--nbp-green); box-shadow: 0 0 0 5px var(--nbp-mint); }
.nbp-hero h1 { position: relative; z-index: 1; max-width: 760px; margin: 0; color: var(--nbp-ink); font-size: clamp(44px, 6vw, 72px); font-weight: 800; line-height: .99; letter-spacing: -.055em; }
.nbp-hero h1 span { color: var(--nbp-green); }
.nbp-hero-inner > p { max-width: 660px; margin: 24px 0 28px; color: var(--nbp-slate); font-size: 18px; line-height: 1.65; }
.nbp-hero-search { position: relative; z-index: 2; width: min(590px, 100%); display: flex; align-items: center; gap: 11px; padding: 8px 8px 8px 16px; border: 1px solid #d7e2dd; border-radius: 12px; background: #fff; box-shadow: 0 14px 35px rgba(15,23,42,.08); }
.nbp-hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--nbp-ink); font: inherit; }
.nbp-hero-search button { border: 0; border-radius: 8px; padding: 12px 23px; background: var(--nbp-green); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.nbp-topic-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 22px; color: var(--nbp-muted); font-size: 12px; }
.nbp-topic-row > span { font-weight: 700; color: var(--nbp-slate); }
.nbp-topic-row a { padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--nbp-line); transition: border-color .2s, color .2s; }
.nbp-topic-row a:hover { color: var(--nbp-green-dark); border-color: #94d6ba; }

.nbp-section { padding: 74px 0; }
.nbp-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.nbp-section-heading h2 { margin: 5px 0 0; color: var(--nbp-ink); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.nbp-section-heading > a { color: var(--nbp-green-dark); font-size: 14px; font-weight: 700; }
.nbp-section-heading > a span { margin-left: 5px; }

.nbp-feature-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr); gap: 24px; }
.nbp-feature-card { overflow: hidden; min-width: 0; border: 1px solid var(--nbp-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(15,23,42,.055); }
.nbp-feature-media { display: block; aspect-ratio: 16 / 8.7; overflow: hidden; background: var(--nbp-soft); }
.nbp-feature-media img,
.nbp-card-media img,
.nbp-story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nbp-feature-card:hover .nbp-feature-media img,
.nbp-article-card:hover .nbp-card-media img { transform: scale(1.025); }
.nbp-feature-copy { padding: 27px 30px 30px; }
.nbp-category { display: inline-block; color: var(--nbp-green-dark) !important; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.nbp-feature-copy h3 { margin: 8px 0 10px; font-size: clamp(25px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.nbp-feature-copy h3 a:hover,
.nbp-card-copy h3 a:hover,
.nbp-story-row h3 a:hover { color: var(--nbp-green-dark); }
.nbp-feature-copy p { margin: 0 0 18px; color: var(--nbp-slate); font-size: 15px; }
.nbp-meta { display: flex; gap: 16px; color: var(--nbp-muted); font-size: 12px; }
.nbp-meta span + span::before { content: "•"; margin-right: 16px; }
.nbp-top-stories { padding: 9px 22px; border: 1px solid var(--nbp-line); border-radius: 16px; background: var(--nbp-soft); }
.nbp-top-stories-label { padding: 15px 0 8px; color: var(--nbp-ink); font-size: 13px; font-weight: 800; }
.nbp-story-row { display: grid; grid-template-columns: 92px 1fr; gap: 15px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--nbp-line); }
.nbp-story-row:last-child { border-bottom: 0; }
.nbp-story-image { height: 76px; overflow: hidden; border-radius: 10px; background: #e8f5ef; }
.nbp-story-row h3 { margin: 5px 0 7px; font-size: 15px; line-height: 1.3; font-weight: 750; letter-spacing: -.015em; }
.nbp-image-placeholder { width: 100%; height: 100%; min-height: 74px; display: grid; place-items: center; background: linear-gradient(135deg, #e6f8ef, #f8fffb); color: var(--nbp-green); }
.nbp-image-placeholder span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #a7ddc4; border-radius: 50%; font-size: 13px; font-weight: 800; }

.nbp-latest-section { background: var(--nbp-soft); }
.nbp-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nbp-article-card { overflow: hidden; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--nbp-line); border-radius: 16px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.nbp-article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,23,42,.08); }
.nbp-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ecf8f2; }
.nbp-card-copy { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.nbp-card-copy h3 { margin: 8px 0 9px; font-size: 20px; line-height: 1.3; letter-spacing: -.025em; font-weight: 750; }
.nbp-card-copy h2 { margin: 8px 0 9px; padding: 0; color: var(--nbp-ink); font-size: 20px; line-height: 1.3; letter-spacing: -.025em; font-weight: 750; }
.nbp-card-copy h2 a:hover { color: var(--nbp-green-dark); }
.nbp-card-copy > p { margin: 0 0 21px; color: var(--nbp-slate); font-size: 14px; line-height: 1.6; }
.nbp-card-footer { margin-top: auto; padding-top: 15px; border-top: 1px solid #edf1f5; display: flex; justify-content: space-between; align-items: center; color: var(--nbp-muted); font-size: 12px; }
.nbp-card-footer a { color: var(--nbp-green-dark); font-weight: 700; }

.nbp-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nbp-category-grid > a { position: relative; min-height: 110px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 15px; align-content: center; padding: 20px 48px 20px 20px; border: 1px solid var(--nbp-line); border-radius: 14px; transition: border-color .2s, background .2s, transform .2s; }
.nbp-category-grid > a:hover { border-color: #99d7bc; background: #f8fefb; transform: translateY(-2px); }
.nbp-topic-icon { grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--nbp-mint); color: var(--nbp-green-dark); font-size: 12px; font-weight: 800; }
.nbp-category-grid strong { font-size: 15px; line-height: 1.3; }
.nbp-category-grid small { margin-top: 3px; color: var(--nbp-muted); font-size: 11px; }
.nbp-topic-arrow { position: absolute; right: 18px; top: 18px; color: #94a3b8; }

.nbp-cta-section { padding: 18px 0 78px; }
.nbp-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 45px 48px; border-radius: 18px; background: var(--nbp-ink); color: #fff; }
.nbp-cta::after { content: ""; position: absolute; right: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(15,159,101,.18); }
.nbp-cta > div { position: relative; z-index: 1; }
.nbp-cta .nbp-kicker { color: #78d8ad; }
.nbp-cta h2 { margin: 6px 0 8px; color: #fff; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.04em; }
.nbp-cta p { margin: 0; color: #b8c1d0; }
.nbp-cta > a { position: relative; z-index: 1; flex: 0 0 auto; padding: 14px 22px; border-radius: 9px; background: var(--nbp-green); color: #fff; font-size: 14px; font-weight: 750; }

.nbp-site-footer { border-top: 1px solid var(--nbp-line); background: #fff; }
.nbp-footer-inner { min-height: 116px; display: flex; align-items: center; gap: 24px; color: var(--nbp-muted); font-size: 12px; }
.nbp-footer-brand img { width: 156px; }
.nbp-footer-inner > p { margin: 0; }
.nbp-footer-inner nav { margin-left: auto; display: flex; gap: 20px; color: var(--nbp-slate); font-weight: 600; }
.nbp-footer-inner nav a { color: var(--nbp-slate); }

/* Refine Divi's standard article, archive, category and search views too. */
body:not(.nbp-blog-home) #main-content { background: var(--nbp-soft); }
body:not(.nbp-blog-home) #main-content .container { width: min(1120px, 90%); padding-top: 68px; }
body:not(.nbp-blog-home) .et_pb_post { padding: 28px; border: 1px solid var(--nbp-line); border-radius: 16px; background: #fff; }
body:not(.nbp-blog-home) .et_pb_post .entry-featured-image-url img { border-radius: 12px; }
body:not(.nbp-blog-home) .entry-title { color: var(--nbp-ink); font-family: Inter, sans-serif !important; font-weight: 800 !important; letter-spacing: -.035em; }
body:not(.nbp-blog-home) .post-meta { color: var(--nbp-muted); }

/* Purpose-built search, category, tag and date archives. */
.nbp-listing-page { min-height: 70vh; background: var(--nbp-soft) !important; }
.nbp-listing-hero { padding: 66px 0 48px; border-bottom: 1px solid #dcebe4; background: radial-gradient(circle at 85% 10%, rgba(167,240,208,.35), transparent 30%), #fff; }
.nbp-listing-hero h1 { max-width: 850px; margin: 7px 0 0; padding: 0; color: var(--nbp-ink); font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.nbp-listing-description { max-width: 680px; margin-top: 13px; color: var(--nbp-slate); font-size: 16px; }
.nbp-listing-description p { padding: 0; }
.nbp-listing-content { padding: 52px 0 76px; }
.nbp-listing-content .nbp-article-card { margin: 0; padding: 0; }
.nbp-listing-content .nbp-card-copy > p { padding: 0; }
.nbp-results-search { width: min(560px, 100%); display: flex; margin-top: 24px; padding: 7px; border: 1px solid var(--nbp-line); border-radius: 11px; background: #fff; box-shadow: 0 12px 28px rgba(15,23,42,.06); }
.nbp-results-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 6px 10px; background: transparent; font: inherit; }
.nbp-results-search button { border: 0; border-radius: 7px; padding: 10px 20px; background: var(--nbp-green); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.nbp-pagination { margin-top: 38px; }
.nbp-pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 7px; }
.nbp-pagination .page-numbers { min-width: 39px; height: 39px; display: inline-grid; place-items: center; padding: 0 11px; border: 1px solid var(--nbp-line); border-radius: 8px; background: #fff; color: var(--nbp-slate); font-size: 13px; font-weight: 700; }
.nbp-pagination .page-numbers.current,
.nbp-pagination a.page-numbers:hover { border-color: var(--nbp-green); background: var(--nbp-green); color: #fff; }
.nbp-empty-state { padding: 70px 25px; border: 1px solid var(--nbp-line); border-radius: 16px; background: #fff; text-align: center; }
.nbp-empty-state h2 { color: var(--nbp-ink); font-size: 28px; }

/* Divi's default single template should be full width; the old sidebar is the
   source of the narrow vertical widget shown in the supplied screenshot. */
body.single-post #content-area { display: block; }
body.single-post #left-area { width: 100%; float: none; padding-right: 0; }
body.single-post #sidebar,
body.single-post #main-content .container::before { display: none !important; }
body.single-post #main-content > .container { width: min(1184px, calc(100% - 48px)); max-width: none; }
body.single-post #left-area > .et_pb_post { padding: 0; border: 0; background: transparent; }
body.single-post #left-area > .et_pb_post > .et_post_meta_wrapper { width: min(100%, 1040px); margin-inline: auto; padding: 18px 0 28px; }
body.single-post #left-area > .et_pb_post > .et_post_meta_wrapper .entry-title { margin: 0 0 12px; border: 0; color: var(--nbp-ink); font-family: Inter, sans-serif !important; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
body.single-post .et_post_meta_wrapper > img { width: 100%; margin-top: 24px; border-radius: 16px; }
body.single-post .entry-content > .et-l,
body.single-post .entry-content > .et-boc { width: 100%; }
body.single-post .entry-content .et_pb_section { width: 100%; }
body.single-post .entry-content .et_pb_row { width: min(100%, 1100px); margin-right: auto; margin-left: auto; }
body.single-post .entry-content .et_pb_row[style*="max-width: 1280px"],
body.single-post .entry-content .et_pb_row[style*="max-width:1280px"] { width: 100%; }

/* Normalize the imported author/date strip below the lead image. */
body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) { display: flex; align-items: center; margin-top: 12px !important; padding: 0 16px; }
body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) > .et_pb_column { width: 50%; margin: 0; }
body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) .et_pb_blurb { margin: 0 !important; }
body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) .et_pb_blurb_content { max-width: none; margin: 0; }
body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) > .et_pb_column:last-child .et_pb_blurb_content { margin-left: auto; }
body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) .et_pb_main_blurb_image { margin-bottom: 0; vertical-align: middle; }

/* Guard the CTA text against old Divi generated rules. */
.nbp-cta h2 { display: block !important; visibility: visible !important; opacity: 1 !important; color: #fff !important; -webkit-text-fill-color: #fff; }
.nbp-cta > a { display: inline-flex !important; align-items: center; gap: 6px; visibility: visible !important; opacity: 1 !important; color: #fff !important; -webkit-text-fill-color: #fff; }

@media (max-width: 1050px) {
  .nbp-header-search { display: none; }
  .nbp-feature-grid { grid-template-columns: 1fr; }
  .nbp-top-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px; }
  .nbp-top-stories-label { grid-column: 1 / -1; padding: 0; }
  .nbp-story-row { grid-template-columns: 78px 1fr; border: 0; padding: 0; }
  .nbp-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nbp-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nbp-shell { width: min(100% - 32px, 1184px); }
  .nbp-nav-wrap { min-height: 62px; }
  .nbp-brand img { width: 145px; }
  .nbp-primary-nav { gap: 14px; }
  .nbp-primary-nav a { display: none; }
  .nbp-primary-nav a[aria-current="page"],
  .nbp-primary-nav .nbp-nav-cta { display: inline-block; }
  .nbp-primary-nav .nbp-nav-cta { padding: 8px 10px; font-size: 12px; }
  .nbp-hero-inner { padding: 58px 0 52px; }
  .nbp-hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .nbp-hero-inner > p { font-size: 16px; }
  .nbp-hero-search { padding-left: 13px; }
  .nbp-hero-search button { padding: 11px 15px; }
  .nbp-section { padding: 55px 0; }
  .nbp-feature-copy { padding: 23px; }
  .nbp-feature-copy h3 { font-size: 25px; }
  .nbp-top-stories { grid-template-columns: 1fr; }
  .nbp-story-row { grid-template-columns: 90px 1fr; padding: 12px 0; border-bottom: 1px solid var(--nbp-line); }
  .nbp-article-grid,
  .nbp-category-grid { grid-template-columns: 1fr; }
  .nbp-cta { align-items: flex-start; flex-direction: column; padding: 34px 25px; }
  .nbp-footer-inner { align-items: flex-start; flex-direction: column; padding: 34px 0; gap: 13px; }
  .nbp-footer-inner nav { margin: 5px 0 0; flex-wrap: wrap; }
  body.admin-bar .nbp-site-header { top: 46px; }
  body.single-post #main-content > .container { width: min(100% - 32px, 1184px); }
  body.single-post .entry-content .et_pb_row { width: 100%; }
  body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) { display: block; padding: 0; }
  body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) > .et_pb_column { width: 100%; }
  body.single-post .entry-content .et_pb_section:first-child > .et_pb_row:nth-of-type(2) > .et_pb_column:last-child .et_pb_blurb_content { margin: 8px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nbp-blog-home * { scroll-behavior: auto !important; transition: none !important; }
}
