/* =====================================================================
   NEXUS — CONTENT PAGES REDESIGN (shared)
   Guides, blog articles, legal pages, fees, fund details, portfolio,
   404 and thank-you. Restyles the existing markup in the new design
   language without changing any text. Body carries "nxa-page nxg-page".
   Requires: homepage-redesign.css, homepage-refresh.css, nexus-inner.css
   ===================================================================== */

.nxg-page {
  --nxg-ink: #0f1b29;
  --nxg-body: #475569;
  --nxg-muted: #6b7c8f;
  --nxg-blue: #3682ae;
  --nxg-sky: #58c7f6;
  --nxg-ivory: #ffffff;
  --nxg-line: #e3edf4;
  --nxg-soft: #f2f8fc;
  background: #fff;
}

/* ---------------------------------------------------------------------
   HERO (replaces the old breadcrumb banner)
   --------------------------------------------------------------------- */
.nxg-hero {
  position: relative;
  padding: clamp(120px, 11vw, 160px) 0 clamp(60px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(54,130,174,.06) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--nxg-ivory);
  border-bottom: 1px solid var(--nxg-line);
  overflow: hidden;
}
.nxg-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(88,199,246,.16), transparent 70%);
  pointer-events: none;
}
.nxg-hero .auto-container { position: relative; z-index: 1; }
.nxg-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: #7d8ea0; }
.nxg-crumbs li + li::before { content: "/"; margin-right: 10px; color: #b5c4d1; }
.nxg-crumbs a { color: var(--nxg-blue); }
.nxg-crumbs a:hover { color: var(--nxg-ink); }
html body.nxg-page .nxg-hero-title {
  max-width: 900px; margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.035em;
  color: var(--nxg-ink);
}

/* ---------------------------------------------------------------------
   PAGE BODY WRAPPERS
   --------------------------------------------------------------------- */
html body.nxg-page .service-details,
html body.nxg-page .blog-details,
html body.nxg-page .project-details,
html body.nxg-page .page-format { padding: clamp(70px, 8vw, 120px) 0 clamp(50px, 6vw, 90px); margin: 0; background: #fff; }
html body.nxg-page .service-details-content > div + div,
html body.nxg-page .service-details-content > .row { margin-top: clamp(56px, 7vw, 96px); }
html body.nxg-page .service-details-content .mb-5 { margin-bottom: 0 !important; }

/* shared type */
html body.nxg-page .sec-title { margin-bottom: clamp(26px, 3vw, 40px) !important; padding: 0; }
html body.nxg-page .sec-title .sub-title {
  display: inline-block; margin: 0 0 12px; padding: 0;
  font-size: 13px !important; font-weight: 800 !important; letter-spacing: .18em !important; text-transform: uppercase;
  color: var(--nxg-blue) !important;
}
html body.nxg-page .sec-title .sub-title::before, html body.nxg-page .sec-title .sub-title::after { display: none; }
html body.nxg-page .sec-title h2 {
  margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.35rem) !important; font-weight: 800; line-height: 1.15 !important; letter-spacing: -.025em;
  color: var(--nxg-ink) !important;
}
html body.nxg-page .sec-title.text-center { max-width: 820px; margin-left: auto; margin-right: auto; }
html body.nxg-page .text-box p,
html body.nxg-page p.bold-text {
  font-size: 16.5px !important; line-height: 1.8 !important; color: var(--nxg-body) !important; font-weight: 400; text-align: left !important;
}
html body.nxg-page p.bold-text strong { color: var(--nxg-ink); }

/* intro block: image + text side by side */
html body.nxg-page .service-details-content > .content-one,
html body.nxg-page .service-details-content > .content-three:first-child {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center;
}
html body.nxg-page .service-details-content > .content-one .nexus-image-showcase,
html body.nxg-page .service-details-content > .content-three:first-child .nexus-image-showcase { margin: 0 !important; order: 2; }

/* image showcase + floating badge */
html body.nxg-page .nexus-image-showcase {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--nxg-line); background: var(--nxg-soft);
  box-shadow: 0 30px 70px rgba(15,27,41,.10);
}
html body.nxg-page .nexus-image-showcase img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
html body.nxg-page .nexus-floating-badge {
  position: absolute; left: 18px; bottom: 18px; right: auto; top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  max-width: calc(100% - 36px); padding: 10px 16px; border-radius: 999px;
  background: rgba(15,27,41,.88); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1.35;
  backdrop-filter: blur(6px); box-shadow: none; transform: none;
}
html body.nxg-page .nexus-floating-badge i { color: var(--nxg-sky); font-size: 14px; }
html body.nxg-page .nexus-floating-badge span { color: #fff; }

/* ---------------------------------------------------------------------
   CARDS
   --------------------------------------------------------------------- */
html body.nxg-page .row.align-items-stretch { --bs-gutter-x: 22px; --bs-gutter-y: 0; }
html body.nxg-page .nexus-visual-card {
  display: flex; flex-direction: column; align-items: flex-start;
  height: 100%; padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--nxg-line); border-radius: 22px; background: #fff;
  box-shadow: none; text-align: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s, border-color .4s;
}
html body.nxg-page .nexus-visual-card:hover { transform: translateY(-4px); border-color: rgba(54,130,174,.35); box-shadow: 0 26px 60px rgba(15,27,41,.08); }
html body.nxg-page .nexus-card-icon-wrap {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 20px;
  border-radius: 50%; background: var(--nxg-soft); border: 1px solid #d6e8f3;
  color: var(--nxg-blue); font-size: 19px; box-shadow: none;
}
html body.nxg-page .nexus-card-icon-wrap i { color: var(--nxg-blue); }
html body.nxg-page .nexus-card-tag {
  display: block; margin: 0 0 8px;
  font-size: 11.5px !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--nxg-blue) !important;
}
html body.nxg-page .nexus-card-title { margin: 0 0 10px; font-size: 19px !important; font-weight: 800; line-height: 1.3; color: var(--nxg-ink) !important; }
html body.nxg-page .nexus-card-desc { margin: 0; font-size: 15px !important; line-height: 1.7 !important; color: var(--nxg-body) !important; text-align: left !important; }
html body.nxg-page .nexus-visual-card .nexus-feature-pill-list { width: 100%; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--nxg-line); }
html body.nxg-page .nexus-feature-pill-list > div { gap: 10px !important; margin-bottom: 8px; }
html body.nxg-page .nexus-feature-pill-list i { flex: none; color: var(--nxg-blue) !important; font-size: 12px; }
html body.nxg-page .nexus-feature-pill-list span { font-size: 14px; line-height: 1.55; color: #334155; }
html body.nxg-page .nexus-feature-pill-list strong { color: var(--nxg-ink); }
html body.nxg-page .nexus-visual-card > .mt-auto { margin-top: auto !important; padding-top: 16px !important; border-top: 1px solid var(--nxg-line) !important; }
html body.nxg-page .nexus-visual-card > .mt-auto strong { font-size: 13px; font-weight: 800; color: var(--nxg-blue); }

/* feature pill (icon + label + text) */
html body.nxg-page .nexus-feature-pill-item {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  margin-top: 18px; padding: 16px 18px; border-radius: 16px;
  background: var(--nxg-soft); border: 1px solid #d6e8f3;
}
html body.nxg-page .nexus-feature-pill-item .pill-icon {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border-radius: 50%; background: #fff; color: var(--nxg-blue); font-size: 13px; border: 1px solid #d6e8f3;
}
html body.nxg-page .nexus-feature-pill-item .pill-content strong { display: block; margin-bottom: 2px; font-size: 14.5px; font-weight: 800; color: var(--nxg-ink); }
html body.nxg-page .nexus-feature-pill-item .pill-content p { margin: 0; font-size: 14.5px !important; line-height: 1.6 !important; color: var(--nxg-body) !important; }

/* mission-style feature panel */
html body.nxg-page .nexus-mission-card {
  height: 100%; padding: clamp(26px, 3vw, 40px) !important;
  border-radius: 26px; background: var(--nxg-ivory); border: 1px solid var(--nxg-line); box-shadow: none;
}
html body.nxg-page .nexus-mission-card.vision-gradient { background: linear-gradient(160deg, #142536, #0f1b29); border-color: transparent; }
html body.nxg-page .nexus-mission-card.vision-gradient .mission-title,
html body.nxg-page .nexus-mission-card.vision-gradient .mission-text,
html body.nxg-page .nexus-mission-card.vision-gradient .mission-text strong,
html body.nxg-page .nexus-mission-card.vision-gradient .nexus-feature-pill-list strong { color: #fff !important; }
html body.nxg-page .nexus-mission-card.vision-gradient .mission-text,
html body.nxg-page .nexus-mission-card.vision-gradient .nexus-feature-pill-list span { color: #b9c8d6 !important; }
html body.nxg-page .nexus-mission-card.vision-gradient .mission-badge { color: var(--nxg-sky) !important; }
html body.nxg-page .nexus-mission-card.vision-gradient .nexus-feature-pill-list i { color: var(--nxg-sky) !important; }
html body.nxg-page .mission-header { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
html body.nxg-page .mission-icon-box {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px;
  background: var(--nxg-ink); color: var(--nxg-sky); font-size: 20px;
}
html body.nxg-page .mission-icon-box i { color: var(--nxg-sky); }
html body.nxg-page .mission-badge {
  display: inline-block; margin: 0 0 6px; padding: 0; background: none;
  font-size: 11.5px !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--nxg-blue) !important;
}
html body.nxg-page .mission-title { margin: 0 0 12px; font-size: clamp(1.25rem, 1.8vw, 1.55rem) !important; font-weight: 800; line-height: 1.25; color: var(--nxg-ink) !important; }
html body.nxg-page .mission-header .mission-title { margin: 0; }
html body.nxg-page .mission-text { font-size: 15.5px !important; line-height: 1.75 !important; color: var(--nxg-body) !important; text-align: left !important; }
html body.nxg-page .mission-text strong { color: var(--nxg-ink); }
html body.nxg-page .nexus-mission-card > h3 { margin: 0 0 22px; font-size: clamp(1.3rem, 2vw, 1.7rem) !important; font-weight: 800; color: var(--nxg-ink); }
html body.nxg-page .nexus-mission-card .nexus-image-showcase { box-shadow: none; }

/* ---------------------------------------------------------------------
   TABLES
   --------------------------------------------------------------------- */
html body.nxg-page .table-responsive,
html body.nxg-page .blog-details-content .table { border-radius: 18px; }
html body.nxg-page .table-responsive { border: 1px solid #e0eaf1; background: #fff; }
html body.nxg-page table.table { margin: 0; border-collapse: separate !important; border-spacing: 0 !important; font-size: 15px; }
html body.nxg-page table.table > :not(caption) > * > * { padding: 16px 20px !important; background: transparent; border: 0 !important; border-bottom: 1px solid #eef3f7 !important; box-shadow: none !important; vertical-align: top; }
html body.nxg-page table.table thead th,
html body.nxg-page table.table thead td {
  background: #f6f9fb !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: #5e7084 !important;
}
html body.nxg-page table.table tbody tr:last-child > * { border-bottom: 0 !important; }
html body.nxg-page table.table tbody td:first-child,
html body.nxg-page table.table tbody th:first-child { font-weight: 800; color: var(--nxg-ink); }
html body.nxg-page table.table tbody td { color: #5b6b7d; }
html body.nxg-page table.table tbody tr:hover > * { background: #f5f9fc !important; }

/* ---------------------------------------------------------------------
   SCHEDULE A CALL FORM (shared component on guide pages)
   --------------------------------------------------------------------- */
html body.nxg-page .content-four,
html body.nxg-page .content-four .content-box,
html body.nxg-page .content-four .form-inner { margin: 0; padding: 0; background: none; box-shadow: none; border: 0; }
html body.nxg-page .service-details-content > .content-four { margin-top: clamp(60px, 7vw, 100px); }
html body.nxg-page .content-four .nx-form-section-wrapper { padding: 0; background: none; }
html body.nxg-page .content-four .nx-form-section-wrapper > .auto-container { padding: 0; max-width: none; }
html body.nxg-page .nx-reveal { opacity: 1 !important; transform: none !important; }

/* ---------------------------------------------------------------------
   BLOG ARTICLES
   --------------------------------------------------------------------- */
html body.nxg-page .blog-details .row { --bs-gutter-x: clamp(30px, 4vw, 60px); }
html body.nxg-page .blog-details-content { padding: 0; }
html body.nxg-page .blog-details-content h2 {
  margin: 0 0 24px; font-size: clamp(1.6rem, 2.6vw, 2.35rem) !important; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--nxg-ink);
}
html body.nxg-page .blog-details-content h3 {
  margin: clamp(36px, 4vw, 52px) 0 14px; padding-top: 0;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem) !important; font-weight: 800; line-height: 1.25; color: var(--nxg-ink);
}
html body.nxg-page .blog-details-content h4,
html body.nxg-page .blog-details-content h5 { margin: 28px 0 10px; font-size: 18px !important; font-weight: 800; line-height: 1.35; color: var(--nxg-ink); }
html body.nxg-page .blog-details-content p { margin: 0 0 18px; font-size: 16.5px !important; line-height: 1.85 !important; color: var(--nxg-body) !important; text-align: left !important; }
html body.nxg-page .blog-details-content p strong, html body.nxg-page .blog-details-content li strong { color: var(--nxg-ink); }
html body.nxg-page .blog-details-content .text-box p:first-child > span:first-child {
  float: left; margin: 6px 12px 0 0; padding: 0; width: auto; height: auto;
  font-family: var(--nx-font-serif); font-style: italic; font-size: 4.2rem; font-weight: 600; line-height: .8;
  color: var(--nxg-blue); background: none; position: static;
}
html body.nxg-page .blog-details-content .image-box { margin: 30px 0 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--nxg-line); }
html body.nxg-page .blog-details-content .image-box img { display: block; width: 100%; height: auto; border-radius: 0; }
html body.nxg-page .blog-details-content .content-two { margin-top: 10px; }
html body.nxg-page .blog-details-content ul,
html body.nxg-page .blog-details-content ol { margin: 6px 0 22px; padding-left: 0; }
html body.nxg-page .blog-details-content ul > li,
html body.nxg-page .blog-details-content ol > li {
  position: relative; margin: 0 0 10px; padding-left: 28px;
  font-size: 16.5px !important; line-height: 1.75; color: var(--nxg-body); list-style: none;
}
html body.nxg-page .blog-details-content ul > li::before {
  content: ""; position: absolute; left: 4px; top: .78em; width: 12px; height: 2px; background: var(--nxg-blue); border-radius: 2px;
}
html body.nxg-page .blog-details-content ol { counter-reset: nxgol; }
html body.nxg-page .blog-details-content ol > li { counter-increment: nxgol; }
html body.nxg-page .blog-details-content ol > li::before {
  content: counter(nxgol) "."; position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--nxg-blue);
}
html body.nxg-page .blog-details-content .list-inner { margin: 0; padding: 0; background: none; }
html body.nxg-page .blog-details-content table.table { border: 1px solid #e0eaf1; border-radius: 18px; overflow: hidden; margin: 10px 0 26px; }

/* sidebar */
html body.nxg-page .sidebar-side { position: relative; }
@media (min-width: 992px) {
  html body.nxg-page .sidebar-side > .sidebar-content-right:first-child { margin-top: 0; }
}
html body.nxg-page .sidebar-content-right {
  margin: 0 0 20px; padding: 26px; border-radius: 22px;
  background: var(--nxg-ivory); border: 1px solid var(--nxg-line); box-shadow: none;
}
html body.nxg-page .sidebar-content-right h5 {
  margin: 0 0 16px; padding: 0; border: 0;
  font-size: 12px !important; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--nxg-blue);
}
html body.nxg-page .sidebar-content-right h5 strong { font-weight: 800; color: inherit; }
html body.nxg-page .sidebar-content-right p { margin: 0; font-size: 14.5px !important; line-height: 1.7 !important; color: var(--nxg-body) !important; text-align: left !important; }
html body.nxg-page .sidebar-content-right .share-widget { justify-content: flex-start; gap: 10px; margin: 0; padding: 0; }
html body.nxg-page .sidebar-content-right .share-widget i { width: 44px; height: 44px; border-radius: 50%; font-size: 16px; background: var(--nxg-ink) !important; color: #fff; }
html body.nxg-page .sidebar-content-right .share-widget a:hover i { background: var(--nxg-blue) !important; }
html body.nxg-page .sidebar-content-right .list { margin: 0 !important; padding: 0; list-style: none; }
html body.nxg-page .sidebar-content-right .list li { position: relative; margin: 0; padding: 14px 0 14px 34px; border-top: 1px solid var(--nxg-line); }
html body.nxg-page .sidebar-content-right .list li:first-child { border-top: 0; padding-top: 0; }
html body.nxg-page .sidebar-content-right .list li:first-child i { top: 2px; }
html body.nxg-page .sidebar-content-right .list li i { position: absolute; left: 0; top: 16px; color: var(--nxg-blue); font-size: 15px; }
html body.nxg-page .sidebar-content-right .list li strong { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--nxg-ink) !important; }
html body.nxg-page .sidebar-content-right .list li a { color: var(--nxg-ink); font-weight: 600; }
html body.nxg-page .sidebar-content-right .list li a:hover { color: var(--nxg-blue); }

/* ---------------------------------------------------------------------
   LEGAL PAGES
   --------------------------------------------------------------------- */
html body.nxg-page .page-format .container { max-width: 940px; }
html body.nxg-page .page-format .page-wrap { padding: 0; background: none; border-radius: 0; box-shadow: none; }
html body.nxg-page .page-format .page-wrap > h1 {
  margin: 0 0 10px; font-size: clamp(1.6rem, 2.6vw, 2.35rem) !important; font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
  color: var(--nxg-ink); text-align: left !important;
}
html body.nxg-page .page-format .page-wrap .date {
  display: inline-block; margin: 0 0 6px; padding: 7px 14px; border-radius: 999px;
  background: var(--nxg-soft); color: var(--nxg-blue) !important; font-size: 13px !important; font-weight: 700; text-align: left !important;
}
html body.nxg-page .page-format .page-wrap > br { display: none; }
html body.nxg-page .page-format .page-wrap > p { margin: 22px 0 10px; }
html body.nxg-page .page-format p { margin-bottom: 8px; font-size: 16.5px !important; line-height: 1.8 !important; color: var(--nxg-body) !important; text-align: left !important; }
html body.nxg-page .page-format a { color: var(--nxg-blue); font-weight: 600; }
html body.nxg-page .page-format b, html body.nxg-page .page-format strong { color: var(--nxg-ink); }
html body.nxg-page .page-format .page-wrap-is {
  margin-top: 18px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--nxg-line); border-radius: 22px; background: #fff;
}
html body.nxg-page .page-format .page-wrap-is:last-child { border-bottom: 1px solid var(--nxg-line); }
html body.nxg-page .page-format .page-wrap-is h3 { margin: 0 0 14px; font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important; font-weight: 800; color: var(--nxg-ink); }
html body.nxg-page .page-format ol,
html body.nxg-page .page-format ul { margin: 6px 0 0; padding-left: 22px; }
html body.nxg-page .page-format li { margin: 0 0 10px; font-size: 16px; line-height: 1.75; color: var(--nxg-body); }
html body.nxg-page .page-format li::marker { color: var(--nxg-blue); font-weight: 800; }
html body.nxg-page .page-format ul ul, html body.nxg-page .page-format ol ul { margin-top: 10px; }

/* ---------------------------------------------------------------------
   FEES STRUCTURE
   --------------------------------------------------------------------- */
html body.nxg-page .project-details-content .content-one { display: block; max-width: 900px; }
html body.nxg-page .project-details-content .text-box p > span:first-child {
  float: left; margin: 6px 12px 0 0; padding: 0; width: auto; height: auto; background: none; position: static;
  font-family: var(--nx-font-serif); font-style: italic; font-size: 4.2rem; font-weight: 600; line-height: .8; color: var(--nxg-blue);
}
html body.nxg-page .project-details-content .content-two { margin-top: clamp(40px, 5vw, 70px); }
html body.nxg-page .project-details-content .single-item {
  position: relative; margin: 0 0 20px; padding: clamp(24px, 2.8vw, 34px) clamp(24px, 2.8vw, 34px) clamp(24px, 2.8vw, 34px) 96px;
  border: 1px solid var(--nxg-line); border-radius: 22px; background: #fff;
}
html body.nxg-page .project-details-content .single-item .icon-box {
  position: absolute; left: 28px; top: 28px; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--nxg-soft); border: 1px solid #d6e8f3; color: var(--nxg-blue); font-size: 18px;
}
html body.nxg-page .project-details-content .single-item .icon-box i { color: var(--nxg-blue); }
html body.nxg-page .project-details-content .single-item h3 { margin: 4px 0 10px; font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important; font-weight: 800; color: var(--nxg-ink); }
html body.nxg-page .project-details-content p { font-size: 16px !important; line-height: 1.8 !important; color: var(--nxg-body) !important; text-align: left !important; }
html body.nxg-page .project-details-content p a { color: var(--nxg-blue); font-weight: 700; }
html body.nxg-page .project-details-content .list-item { margin: 10px 0 14px !important; padding: 0 !important; }
html body.nxg-page .project-details-content .list-item li { position: relative; margin: 0 0 10px; padding-left: 26px; font-size: 16px; line-height: 1.7; color: var(--nxg-body); list-style: none; text-align: left !important; }
html body.nxg-page .project-details-content .list-item li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 12px; height: 2px; background: var(--nxg-blue); border-radius: 2px; }
html body.nxg-page .project-details-content .list-item li strong { color: var(--nxg-ink); }
html body.nxg-page .project-details-content .inner-column { margin: 0 0 20px !important; padding: 0; }
html body.nxg-page .pricing-block-one { height: 100%; margin-bottom: 20px; }
html body.nxg-page .pricing-block-one .pricing-table {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: clamp(26px, 2.8vw, 34px); border: 1px solid var(--nxg-line); border-radius: 24px; background: #fff; box-shadow: none; text-align: left;
}
html body.nxg-page .pricing-block-one.active-block .pricing-table { background: linear-gradient(160deg, #142536, #0f1b29); border-color: transparent; }
html body.nxg-page .pricing-block-one .discount-text {
  position: static; display: inline-block; align-self: flex-start; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--nxg-blue); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; transform: none;
}
html body.nxg-page .pricing-block-one .table-header { margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--nxg-line); text-align: left; background: none; }
html body.nxg-page .pricing-block-one .table-header .icon-box { display: none; }
html body.nxg-page .pricing-block-one .table-header h3 { margin: 0 0 4px; font-size: 22px !important; font-weight: 800; color: var(--nxg-ink); }
html body.nxg-page .pricing-block-one .table-header p { margin: 0; font-size: 14.5px !important; font-weight: 700; color: var(--nxg-blue) !important; }
html body.nxg-page .pricing-block-one .feature-list { margin: 0 0 22px; padding: 0; }
html body.nxg-page .pricing-block-one .feature-list li { margin: 0 0 14px; padding: 0; font-size: 15px; line-height: 1.6; color: var(--nxg-body); text-align: left; list-style: none; }
html body.nxg-page .pricing-block-one .feature-list li::before { display: none; }
html body.nxg-page .pricing-block-one .feature-list li strong { display: inline-block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--nxg-ink); }
html body.nxg-page .pricing-block-one.active-block .table-header { border-color: rgba(255,255,255,.14); }
html body.nxg-page .pricing-block-one.active-block .table-header h3,
html body.nxg-page .pricing-block-one.active-block .feature-list li strong { color: #fff; }
html body.nxg-page .pricing-block-one.active-block .table-header p { color: var(--nxg-sky) !important; }
html body.nxg-page .pricing-block-one.active-block .feature-list li { color: #b9c8d6; }

/* old theme buttons, restyled as the new primary button */
html body.nxg-page .theme-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: auto; align-self: flex-start;
  padding: 14px 24px; border-radius: 10px; border: 0;
  background: var(--nxg-blue); color: #fff !important; font-size: 14.5px; font-weight: 700; line-height: 1.2;
  box-shadow: 0 14px 30px rgba(54,130,174,.28); transition: background .3s, transform .35s cubic-bezier(.16,1,.3,1);
}
html body.nxg-page .theme-btn::before, html body.nxg-page .theme-btn::after { display: none; }
html body.nxg-page .theme-btn:hover { background: var(--nxg-ink); transform: translateY(-2px); }
html body.nxg-page .pricing-block-one.active-block .theme-btn { background: #fff; color: var(--nxg-ink) !important; }

/* ---------------------------------------------------------------------
   FUND DETAILS (link cards)
   --------------------------------------------------------------------- */
html body.nxg-page .fund-details-custom .items-container { --bs-gutter-x: 22px; justify-content: flex-start; margin: 0; }
html body.nxg-page .project-block-one .inner-box {
  position: relative; margin: 0 0 22px !important; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--nxg-line); background: #fff; transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s;
}
html body.nxg-page .project-block-one .inner-box:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(15,27,41,.10); }
html body.nxg-page .project-block-one .image-box { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nxg-soft); }
html body.nxg-page .project-block-one .image-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
html body.nxg-page .project-block-one .inner-box:hover .image-box img { transform: scale(1.05); }
html body.nxg-page .project-block-one .content-inner {
  position: static; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; background: #fff; transform: none; opacity: 1; visibility: visible;
}
html body.nxg-page .project-block-one .content-inner h5 { margin: 0; font-size: 18px !important; font-weight: 800; }
html body.nxg-page .project-block-one .content-inner h5 a { color: var(--nxg-ink); }
html body.nxg-page .project-block-one .link a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--nxg-ink); color: #fff; font-size: 13px; position: static; transform: none;
}
html body.nxg-page .project-block-one .inner-box:hover .link a { background: var(--nxg-blue); }

/* ---------------------------------------------------------------------
   COMING SOON / 404 / THANK YOU
   --------------------------------------------------------------------- */
html body.nxg-page .comingsoon-section { padding: clamp(70px, 8vw, 120px) 0; background: #fff; }
html body.nxg-page .comingsoon-section .alert {
  max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) 30px;
  border: 1px dashed #bcd6e6; border-radius: 26px; background: var(--nxg-ivory); color: var(--nxg-ink); text-align: center;
}
html body.nxg-page .comingsoon-section .alert h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: .18em; color: var(--nxg-blue); }

html body.nxg-page .error-section {
  position: relative; padding: clamp(150px, 14vw, 200px) 0 clamp(90px, 10vw, 140px);
  background:
    linear-gradient(90deg, rgba(54,130,174,.06) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--nxg-ivory);
  text-align: center;
}
html body.nxg-page .error-section .content-box {
  max-width: 720px; margin: 0 auto; padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 50px);
  border-radius: 28px; background: #fff; border: 1px solid var(--nxg-line); box-shadow: 0 30px 70px rgba(15,27,41,.08);
}
html body.nxg-page .error-section .image-box { margin: 0 0 18px; }
html body.nxg-page .error-section .image-box h3 {
  margin: 0 0 14px; font-family: var(--nx-font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem) !important; line-height: 1; color: var(--nxg-blue);
}
html body.nxg-page .error-section .error-image { margin: 0 auto; max-width: 340px; }
html body.nxg-page .error-section .error-image img { width: 100%; height: auto; }
html body.nxg-page .error-section h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 2.4vw, 2.1rem) !important; font-weight: 800; line-height: 1.2; color: var(--nxg-ink); }
html body.nxg-page .error-section p { margin: 0 auto 26px; max-width: 520px; font-size: 16px !important; line-height: 1.75 !important; color: var(--nxg-body) !important; text-align: center !important; }
html body.nxg-page .error-section .btn-box { display: flex; justify-content: center; }
html body.nxg-page .error-section .theme-btn { align-self: center; }
html body.nxg-page .thanks-section-custom .image-box h1 {
  margin: 0 0 26px; font-size: clamp(2.3rem, 4vw, 3.4rem) !important; font-weight: 800; letter-spacing: -.035em; color: var(--nxg-ink);
}
html body.nxg-page .thanks-section-custom .image-box h1::before {
  content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--nxg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233682ae' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 30px no-repeat;
  border: 1px solid #d6e8f3;
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
  html body.nxg-page .service-details-content > .content-one,
  html body.nxg-page .service-details-content > .content-three:first-child { grid-template-columns: 1fr; }
  html body.nxg-page .service-details-content > .content-one .nexus-image-showcase,
  html body.nxg-page .service-details-content > .content-three:first-child .nexus-image-showcase { order: 0; }
  html body.nxg-page .nexus-visual-card { margin-bottom: 0; }
  html body.nxg-page .row.align-items-stretch > [class*="col-"] { margin-bottom: 22px !important; }
  html body.nxg-page .sidebar-side { margin-top: 40px; }
}
@media (max-width: 767px) {
  html body.nxg-page .nxg-hero { padding-top: 110px; }
  html body.nxg-page .project-details-content .single-item { padding-left: 24px; padding-top: 88px; }
  html body.nxg-page table.table > :not(caption) > * > * { padding: 12px 14px !important; }
  html body.nxg-page .nexus-floating-badge { font-size: 12px; padding: 8px 12px; left: 12px; bottom: 12px; }
}


/* ---------------------------------------------------------------------
   FIXES after review (old-theme rules that needed stronger overrides)
   --------------------------------------------------------------------- */
html body.nxg-page .sec-title h2 { padding: 0 !important; border: 0 !important; }
html body.nxg-page .sec-title h2::before, html body.nxg-page .sec-title h2::after { display: none !important; }

/* charts inside trend panels: show the whole image */
html body.nxg-page .nexus-mission-card .nexus-image-showcase img { max-height: none; object-fit: contain; background: #fff; }

/* list markers: replace the old theme's icon bullets */
html body.nxg-page .blog-details-content ul > li::before,
html body.nxg-page .project-details-content .list-item li::before {
  content: "" !important; position: absolute !important; left: 4px !important; top: .78em !important;
  width: 12px !important; height: 2px !important; margin: 0 !important;
  background: var(--nxg-blue) !important; background-image: none !important; border-radius: 2px !important;
}
html body.nxg-page .project-details-content .list-item li::before { left: 2px !important; }
html body.nxg-page .blog-details-content ol > li::before {
  background: none !important; width: auto !important; height: auto !important; top: 0 !important; left: 0 !important;
}

/* pricing cards: remove the old theme's inner boxes */
html body.nxg-page .pricing-block-one .pricing-table .table-header,
html body.nxg-page .pricing-block-one .pricing-table .table-content {
  background: none !important; box-shadow: none !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important;
}
html body.nxg-page .pricing-block-one .pricing-table .table-content { display: flex; flex-direction: column; flex: 1; padding: 0 !important; }
html body.nxg-page .pricing-block-one .pricing-table::before,
html body.nxg-page .pricing-block-one .pricing-table::after,
html body.nxg-page .pricing-block-one .table-content::before,
html body.nxg-page .pricing-block-one .table-content::after { display: none !important; }

/* buttons: new primary blue */
html body.nxg-page .theme-btn { background: var(--nxg-blue) !important; }
html body.nxg-page .theme-btn:hover { background: var(--nxg-ink) !important; }
html body.nxg-page .pricing-block-one.active-block .theme-btn { background: #fff !important; }
html body.nxg-page .pricing-block-one.active-block .theme-btn:hover { background: var(--nxg-sky) !important; }

/* 404 + thank you */
html body.nxg-page .error-section .image-box { position: static; display: block; }
html body.nxg-page .error-section .image-box h3 { position: static !important; transform: none !important; left: auto !important; top: auto !important; }
html body.nxg-page .thanks-section-custom .image-box h1 { font-family: inherit !important; }

/* fund details: arrow sits in the card footer */
html body.nxg-page .project-block-one .link { position: static !important; transform: none !important; opacity: 1 !important; }
html body.nxg-page .project-block-one .content-inner .text-box { padding: 0; }

/* legal pages: hero lines up with the narrower text column */
html body.nxg-page:has(.page-format) .nxg-hero .auto-container { max-width: 940px; }

/* old buttons: beat the site palette's dark override so they match the new blue buttons */
html.nx-inner-palette body.nxg-page .theme-btn.btn-two,
html body.nxg-page .theme-btn.btn-two { background: var(--nxg-blue) !important; background-color: var(--nxg-blue) !important; color: #fff !important; }
html.nx-inner-palette body.nxg-page .theme-btn.btn-two:hover,
html body.nxg-page .theme-btn.btn-two:hover { background: var(--nxg-ink) !important; background-color: var(--nxg-ink) !important; }
html.nx-inner-palette body.nxg-page .pricing-block-one.active-block .theme-btn.btn-two { background: #fff !important; background-color: #fff !important; color: var(--nxg-ink) !important; }
html.nx-inner-palette body.nxg-page .pricing-block-one.active-block .theme-btn.btn-two:hover { background: var(--nxg-sky) !important; background-color: var(--nxg-sky) !important; }
html body.nxg-page .pricing-block-one .feature-list li { background: none !important; box-shadow: none !important; border: 0 !important; }
html body.nxg-page .pricing-block-one .feature-list li::after,
html body.nxg-page .pricing-block-one .table-header::before,
html body.nxg-page .pricing-block-one .table-header::after { display: none !important; }
@media (min-width: 992px) {
  html body.nxg-page .fund-details-custom .items-container > [class*="col-"] { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* Fund Details: arrow drawn dead centre in the circle */
html body.nxg-page .project-block-one .link a { display: flex !important; align-items: center; justify-content: center; padding: 0; line-height: 1; }
html body.nxg-page .project-block-one .link a i { display: block; margin: 0; font-size: 14px; line-height: 1; transform: rotate(-45deg); }
html body.nxg-page .project-block-one .link a i::before { display: block; }

/* Page titles show immediately (no wait for the page-load fade) */
html body.nxg-page .nxg-hero .nxa-load { opacity: 1 !important; transform: none !important; }
html body.nxg-page .project-block-one .content-inner .link { padding: 0 !important; margin: 0 !important; align-self: center; flex: none; }
html body.nxg-page .project-block-one .content-inner .text-box { margin: 0 !important; padding: 0 !important; }
