/* NextGen Wizards v1.4.0 - final live-ready chrome and contact alignment. */
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #080712;
  overflow-x: hidden;
}

body > #ngw-home {
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  margin: 0 !important;
  padding: 0 !important;
}

#ngw-home,
#ngw-home button,
#ngw-home input,
#ngw-home select,
#ngw-home textarea {
  font-family: "Manrope", Arial, sans-serif !important;
}

/* Header structure copied from the supplied homepage chrome. */
#ngw-home .ngw-site-header {
  width: 100%;
  margin: 0 !important;
}

#ngw-home .ngw-site-nav {
  position: relative;
  overflow: visible;
}

#ngw-home .ngw-site-menu-btn {
  padding: 0;
  line-height: 0;
  align-items: center;
  justify-content: center;
}

#ngw-home .ngw-site-menu-btn svg {
  display: block;
  margin: auto;
}

/* Standard desktops and laptops: Services is hover-only and never click-sticky. */
@media (min-width: 1001px) {
  #ngw-home .ngw-site-services > .ngw-site-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, -8px) !important;
  }

  #ngw-home .ngw-site-services:hover > .ngw-site-dropdown,
  #ngw-home .ngw-site-services:focus-within > .ngw-site-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}

/* Tablet/mobile header follows the supplied homepage order: logo, menu, CTA. */
@media (max-width: 1000px) {
  #ngw-home .ngw-site-header {
    padding: 6px 0 !important;
  }

  #ngw-home .ngw-site-header.ngw-site-scrolled {
    padding: 6px 0 !important;
  }

  #ngw-home .ngw-site-menu-btn {
    order: 2;
    display: grid !important;
    margin-left: auto !important;
    place-items: center;
  }

  #ngw-home .ngw-site-header-cta {
    order: 3;
    display: inline-flex !important;
    margin-left: 0 !important;
  }

  #ngw-home .ngw-site-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 92px) !important;
    margin: 0 !important;
    padding: 6px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 15px !important;
    transform: translateY(-8px) !important;
    transform-origin: top center !important;
  }

  #ngw-home .ngw-site-menu.ngw-site-menu-open {
    transform: translateY(0) !important;
  }

  /* Services opens its dedicated page on touch devices; no nested sticky panel. */
  #ngw-home .ngw-site-services > .ngw-site-dropdown {
    display: none !important;
    max-height: 0 !important;
    padding: 0 !important;
  }

  #ngw-home .ngw-site-services-toggle .ngw-site-chevron {
    display: none !important;
  }
}

@media (max-width: 700px) {
  #ngw-home .ngw-site-shell {
    width: calc(100% - 12px) !important;
  }

  #ngw-home .ngw-site-nav {
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px !important;
    border-radius: 14px !important;
  }

  #ngw-home .ngw-site-logo {
    order: 1;
    width: clamp(108px, 31vw, 132px) !important;
    min-height: 39px !important;
    flex: 0 1 auto !important;
  }

  #ngw-home .ngw-site-logo img {
    max-height: 39px !important;
  }

  #ngw-home .ngw-site-menu-btn {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 11px !important;
  }

  #ngw-home .ngw-site-header-cta {
    min-width: 0 !important;
    min-height: 42px !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 0 11px !important;
    border-radius: 11px !important;
    font-size: clamp(9.8px, 2.7vw, 11.5px) !important;
    white-space: nowrap !important;
  }

  #ngw-home .ngw-site-header-cta svg,
  #ngw-home .ngw-site-cta-desktop {
    display: none !important;
  }

  #ngw-home .ngw-site-header-cta .ngw-site-cta-mobile {
    display: inline !important;
  }

  #ngw-home .ngw-site-menu {
    top: calc(100% + 7px) !important;
    max-height: calc(100dvh - 82px) !important;
    padding: 5px !important;
    border-radius: 14px !important;
  }

  #ngw-home .ngw-site-link,
  #ngw-home .ngw-site-services-toggle {
    width: 100% !important;
    min-height: 47px !important;
    justify-content: flex-start !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  /* Exact supplied mobile footer: 2 x 2 card layout. */
  #ngw-home .ngw-site-footer {
    position: relative;
    padding: 38px 0 24px !important;
    background:
      radial-gradient(circle at 12% 4%, rgba(157,53,255,.12), transparent 30%),
      radial-gradient(circle at 90% 14%, rgba(72,217,255,.08), transparent 30%),
      linear-gradient(180deg, #080712 0%, #05040c 100%) !important;
  }

  #ngw-home .ngw-site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ngw-purple), var(--ngw-cyan), var(--ngw-pink));
  }

  #ngw-home .ngw-site-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "brand quick"
      "services contact" !important;
    gap: 11px !important;
    align-items: stretch !important;
  }

  #ngw-home .ngw-footer-mobile-column {
    display: contents !important;
  }

  #ngw-home .ngw-footer-brand-block { grid-area: brand !important; }
  #ngw-home .ngw-footer-quick-block { grid-area: quick !important; }
  #ngw-home .ngw-footer-services-block { grid-area: services !important; }
  #ngw-home .ngw-footer-contact-block { grid-area: contact !important; }

  #ngw-home .ngw-footer-block,
  #ngw-home .ngw-footer-brand-block,
  #ngw-home .ngw-footer-quick-block,
  #ngw-home .ngw-footer-services-block,
  #ngw-home .ngw-footer-contact-block {
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 14px 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.085) !important;
    border-radius: 15px !important;
    background: linear-gradient(155deg, rgba(255,255,255,.052), rgba(255,255,255,.022)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 12px 32px rgba(0,0,0,.16) !important;
  }

  #ngw-home .ngw-site-footer-logo {
    width: min(132px, 100%) !important;
    min-height: 0 !important;
  }

  #ngw-home .ngw-site-footer-logo img {
    max-height: 48px !important;
  }

  #ngw-home .ngw-site-footer-about {
    max-width: none !important;
    margin: 12px 0 0 !important;
    color: #bcb6ca !important;
    font-size: 10.8px !important;
    line-height: 1.58 !important;
  }

  #ngw-home .ngw-site-footer h4 {
    position: relative;
    margin: 0 0 13px !important;
    padding-bottom: 9px !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  #ngw-home .ngw-site-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ngw-purple), var(--ngw-cyan));
  }

  #ngw-home .ngw-site-footer-links {
    display: grid !important;
    gap: 8px !important;
  }

  #ngw-home .ngw-site-footer-links a,
  #ngw-home .ngw-site-footer-links span {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #bcb6ca !important;
    font-size: 10.8px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
  }

  #ngw-home .ngw-site-footer-links a {
    position: relative;
    padding-left: 10px;
  }

  #ngw-home .ngw-site-footer-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ngw-cyan);
    opacity: .72;
  }

  #ngw-home .ngw-footer-contact-block .ngw-site-footer-links {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #ngw-home .ngw-footer-contact-cta {
    margin-top: auto !important;
    padding: 8px 9px !important;
    border: 1px solid rgba(157,53,255,.25) !important;
    border-radius: 9px !important;
    color: #fff !important;
    background: linear-gradient(135deg, rgba(157,53,255,.18), rgba(72,217,255,.07)) !important;
    text-align: center !important;
  }

  #ngw-home .ngw-footer-contact-cta::before {
    display: none !important;
  }

  #ngw-home .ngw-site-footer-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 18px auto 0 !important;
    padding: 18px 0 0 !important;
    gap: 6px !important;
    text-align: center !important;
    font-size: 9.5px !important;
    line-height: 1.45 !important;
  }

  #ngw-home .ngw-site-footer-meta > span {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  #ngw-home .ngw-site-nav { gap: 5px !important; }
  #ngw-home .ngw-site-logo { width: clamp(102px, 30vw, 116px) !important; }
  #ngw-home .ngw-site-menu-btn { width: 40px !important; height: 40px !important; flex-basis: 40px !important; }
  #ngw-home .ngw-site-header-cta { min-height: 40px !important; padding-inline: 8px !important; font-size: 9.7px !important; }
  #ngw-home .ngw-site-footer-grid { gap: 8px !important; }
  #ngw-home .ngw-footer-block { padding: 12px 10px !important; border-radius: 13px !important; }
  #ngw-home .ngw-site-footer-logo { width: min(118px, 100%) !important; }
  #ngw-home .ngw-site-footer h4 { font-size: 13px !important; }
  #ngw-home .ngw-site-footer-about,
  #ngw-home .ngw-site-footer-links a,
  #ngw-home .ngw-site-footer-links span { font-size: 10px !important; }
}

/* Contact page: aligned label and text columns with reliable mobile stacking. */
#ngw-home .ngw-expect-card {
  overflow: hidden;
}

#ngw-home .ngw-expect-list li {
  display: grid !important;
  grid-template-columns: 21px minmax(138px, 160px) minmax(0, 1fr) !important;
  gap: 10px 14px !important;
  align-items: start !important;
}

#ngw-home .ngw-expect-list li::before {
  grid-column: 1;
  grid-row: 1;
}

#ngw-home .ngw-expect-list li > strong {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  line-height: 1.55;
}

#ngw-home .ngw-expect-list li > span {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  color: #e6e0eb;
  line-height: 1.65;
}

@media (max-width: 760px) {
  #ngw-home .ngw-expect-list li {
    grid-template-columns: 21px minmax(0, 1fr) !important;
    row-gap: 3px !important;
  }

  #ngw-home .ngw-expect-list li > strong {
    grid-column: 2;
    grid-row: 1;
  }

  #ngw-home .ngw-expect-list li > span {
    grid-column: 2;
    grid-row: 2;
  }
}

/* v1.4.1 — Header-to-hero clearance only.
   Adds a small safe gap below the navigation so every page hero starts cleanly. */
#ngw-home .ngw-site-header {
  padding-bottom: 14px !important;
}

#ngw-home .ngw-site-header.ngw-site-scrolled {
  padding-bottom: 10px !important;
}

@media (max-width: 1000px) {
  #ngw-home .ngw-site-header,
  #ngw-home .ngw-site-header.ngw-site-scrolled {
    padding-bottom: 14px !important;
  }
}

/* v1.6.0 — requested polish: reliable sticky header, centered service-card rows,
   full blog imagery, readable inner articles, and more breathing room. */
html,
body {
  overflow-x: clip !important;
}

#ngw-home .ngw-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99990 !important;
}
.admin-bar #ngw-home .ngw-site-header { top: 32px !important; }
@media (max-width: 782px) { .admin-bar #ngw-home .ngw-site-header { top: 46px !important; } }

/* Service pages: maximum three cards per row. Incomplete final rows are centered. */
@media (min-width: 961px) {
  #ngw-home.ngw-services-area .ngw-cap-grid,
  #ngw-home.ngw-services-area .ngw-process-grid,
  #ngw-home.ngw-services-area .ngw-industry-grid,
  #ngw-home.ngw-services-area .ngw-card-grid,
  #ngw-home.ngw-services-area .ngw-page-section .ngw-process {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch;
  }

  #ngw-home.ngw-services-area .ngw-cap-grid > *,
  #ngw-home.ngw-services-area .ngw-process-grid > *,
  #ngw-home.ngw-services-area .ngw-industry-grid > *,
  #ngw-home.ngw-services-area .ngw-card-grid > *,
  #ngw-home.ngw-services-area .ngw-page-section .ngw-process > * {
    grid-column: span 2;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  /* One remaining card: place it in the middle third. */
  #ngw-home.ngw-services-area .ngw-cap-grid > :last-child:nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-process-grid > :last-child:nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-industry-grid > :last-child:nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-card-grid > :last-child:nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-page-section .ngw-process > :last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }

  /* Two remaining cards: balance them symmetrically around the page center. */
  #ngw-home.ngw-services-area .ngw-cap-grid > :nth-last-child(2):nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-process-grid > :nth-last-child(2):nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-industry-grid > :nth-last-child(2):nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-card-grid > :nth-last-child(2):nth-child(3n + 1),
  #ngw-home.ngw-services-area .ngw-page-section .ngw-process > :nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }
  #ngw-home.ngw-services-area .ngw-cap-grid > :last-child:nth-child(3n + 2),
  #ngw-home.ngw-services-area .ngw-process-grid > :last-child:nth-child(3n + 2),
  #ngw-home.ngw-services-area .ngw-industry-grid > :last-child:nth-child(3n + 2),
  #ngw-home.ngw-services-area .ngw-card-grid > :last-child:nth-child(3n + 2),
  #ngw-home.ngw-services-area .ngw-page-section .ngw-process > :last-child:nth-child(3n + 2) {
    grid-column: 4 / span 2;
  }
}

/* Preserve comfortable spacing without changing the existing design language. */
#ngw-home.ngw-services-area .ngw-cap-grid,
#ngw-home.ngw-services-area .ngw-process-grid,
#ngw-home.ngw-services-area .ngw-industry-grid,
#ngw-home.ngw-services-area .ngw-card-grid {
  row-gap: 20px !important;
}

/* Blog pagination sits clearly below the last card; requested Next control spacing. */
#ngw-home .ngw-blog-pagination { margin-top: 52px; }
#ngw-home .ngw-blog-pagination .page-numbers { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
#ngw-home .ngw-blog-pagination .page-numbers li { margin: 0; padding: 0; }
#ngw-home .ngw-blog-pagination a.page-numbers,
#ngw-home .ngw-blog-pagination span.page-numbers { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #d8d2e2; background: rgba(255,255,255,.045); font-size: 12px; font-weight: 800; transition: transform .2s ease,border-color .2s ease,background .2s ease; }
#ngw-home .ngw-blog-pagination a.page-numbers:hover { transform: translateY(-2px); border-color: rgba(157,53,255,.42); background: rgba(157,53,255,.12); color: #fff; }
#ngw-home .ngw-blog-pagination span.page-numbers.current { color: #fff; border-color: rgba(157,53,255,.55); background: linear-gradient(145deg,rgba(157,53,255,.34),rgba(72,217,255,.12)); }
#ngw-home .ngw-blog-pagination .prev.page-numbers,
#ngw-home .ngw-blog-pagination .next.page-numbers { min-width: 86px; }

/* Full-fit blog artwork on archive and related cards: never crop the supplied image. */
#ngw-home .ngw-blog-featured-media img,
#ngw-home .ngw-blog-card-media img,
#ngw-home .ngw-single-related-media img {
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: #0b0918;
}

/* Imported WordPress article markup sometimes carries inline black text; keep every inner blog readable. */
#ngw-home .ngw-single-content,
#ngw-home .ngw-single-content p,
#ngw-home .ngw-single-content li,
#ngw-home .ngw-single-content dt,
#ngw-home .ngw-single-content dd,
#ngw-home .ngw-single-content figcaption,
#ngw-home .ngw-single-content blockquote,
#ngw-home .ngw-single-content td,
#ngw-home .ngw-single-content span:not(.wp-block-button__link) {
  color: #d6d0df !important;
}
#ngw-home .ngw-single-content h1,
#ngw-home .ngw-single-content h2,
#ngw-home .ngw-single-content h3,
#ngw-home .ngw-single-content h4,
#ngw-home .ngw-single-content h5,
#ngw-home .ngw-single-content h6,
#ngw-home .ngw-single-content strong,
#ngw-home .ngw-single-content b,
#ngw-home .ngw-single-content th {
  color: #fff !important;
}
#ngw-home .ngw-single-content a:not(.wp-block-button__link) { color: #94e8ff !important; }
#ngw-home .ngw-single-content .has-black-color,
#ngw-home .ngw-single-content [style*="color: black"],
#ngw-home .ngw-single-content [style*="color:#000"],
#ngw-home .ngw-single-content [style*="color: #000"] { color: #d6d0df !important; }

@media (max-width: 700px) {
  #ngw-home .ngw-blog-pagination { margin-top: 38px; }
  #ngw-home .ngw-blog-pagination .page-numbers { gap: 7px; }
  #ngw-home .ngw-blog-pagination a.page-numbers,
  #ngw-home .ngw-blog-pagination span.page-numbers { min-width: 38px; min-height: 38px; padding-inline: 10px; }
}

/* v1.6.1 — Blog pagination alignment/spacing refinement. */
#ngw-home nav.ngw-blog-pagination {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  clear: both;
  margin: 72px auto 0 !important;
  padding: 0 16px;
  text-align: center !important;
}
#ngw-home nav.ngw-blog-pagination > ul.page-numbers {
  width: auto !important;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 0 !important;
  display: inline-flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px;
  list-style: none !important;
}
#ngw-home nav.ngw-blog-pagination > ul.page-numbers > li {
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
}
#ngw-home nav.ngw-blog-pagination > ul.page-numbers > li > a.page-numbers,
#ngw-home nav.ngw-blog-pagination > ul.page-numbers > li > span.page-numbers {
  box-sizing: border-box;
  min-width: 42px;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 13px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: #d8d2e2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
@media (max-width: 700px) {
  #ngw-home nav.ngw-blog-pagination {
    margin-top: 52px !important;
    padding-inline: 8px;
  }
  #ngw-home nav.ngw-blog-pagination > ul.page-numbers {
    gap: 7px;
  }
  #ngw-home nav.ngw-blog-pagination > ul.page-numbers > li > a.page-numbers,
  #ngw-home nav.ngw-blog-pagination > ul.page-numbers > li > span.page-numbers {
    min-width: 38px;
    min-height: 38px;
    padding-inline: 10px !important;
  }
}


/* v1.6.2 — final service-card cleanup and hard-centered blog pagination. */
/* If an existing install still has a four-card managed grid before the content refresh runs,
   hide only that fourth/last card. 3-, 5-, and 6-card grids are untouched. */
#ngw-home.ngw-services-area .ngw-cap-grid > :nth-child(4):last-child,
#ngw-home.ngw-services-area .ngw-process-grid > :nth-child(4):last-child,
#ngw-home.ngw-services-area .ngw-industry-grid > :nth-child(4):last-child,
#ngw-home.ngw-services-area .ngw-card-grid > :nth-child(4):last-child,
#ngw-home.ngw-services-area .ngw-process > :nth-child(4):last-child {
  display: none !important;
}

/* The archive template now outputs direct pagination links; force the complete group to the horizontal center. */
#ngw-home nav.ngw-blog-pagination {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  clear: both !important;
  float: none !important;
  margin: 76px auto 0 !important;
  padding: 0 16px !important;
  text-align: center !important;
}
#ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links {
  width: auto !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
}
#ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > a.page-numbers,
#ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > span.page-numbers {
  box-sizing: border-box;
  min-width: 42px;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: #d8d2e2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
#ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > a.page-numbers:hover {
  transform: translateY(-2px);
  border-color: rgba(157,53,255,.42);
  background: rgba(157,53,255,.12);
  color: #fff;
}
#ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > span.page-numbers.current {
  color: #fff;
  border-color: rgba(157,53,255,.55);
  background: linear-gradient(145deg,rgba(157,53,255,.34),rgba(72,217,255,.12));
}
#ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > .prev.page-numbers,
#ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > .next.page-numbers {
  min-width: 86px;
}
@media (max-width: 700px) {
  #ngw-home nav.ngw-blog-pagination {
    margin-top: 56px !important;
    padding-inline: 8px !important;
  }
  #ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links { gap: 7px !important; }
  #ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > a.page-numbers,
  #ngw-home nav.ngw-blog-pagination .ngw-blog-pagination-links > span.page-numbers {
    min-width: 38px;
    min-height: 38px;
    padding-inline: 10px !important;
  }
}

/* v1.6.2 — the main Services page also keeps every desktop process row at three columns. */
@media (min-width: 961px) {
  #ngw-home.ngw-services-area .ngw-process {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* v1.6.3 — premium blog/archive pagination: directional cards + page progress, no plain number strip. */
#ngw-home .ngw-smart-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  clear: both;
  margin: 78px auto 8px;
  padding: 0 16px;
}
#ngw-home .ngw-smart-pagination__inner {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(170px, .82fr) minmax(180px, 1fr);
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% -30%, rgba(157,53,255,.18), transparent 52%),
    linear-gradient(145deg, rgba(255,255,255,.067), rgba(255,255,255,.022));
  box-shadow: 0 24px 70px rgba(0,0,0,.29), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
}
#ngw-home .ngw-smart-pagination__control {
  min-width: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  color: #fff;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
#ngw-home a.ngw-smart-pagination__control:hover {
  transform: translateY(-3px);
  border-color: rgba(181,104,255,.42);
  background: linear-gradient(145deg, rgba(157,53,255,.17), rgba(72,217,255,.055));
  box-shadow: 0 13px 30px rgba(0,0,0,.2);
}
#ngw-home .ngw-smart-pagination__control--next {
  justify-content: flex-end;
  text-align: right;
}
#ngw-home .ngw-smart-pagination__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #f5e8ff;
  background: linear-gradient(145deg, rgba(157,53,255,.3), rgba(88,77,255,.14));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
#ngw-home .ngw-smart-pagination__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#ngw-home .ngw-smart-pagination__copy small {
  color: #9f98ad;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}
#ngw-home .ngw-smart-pagination__copy strong {
  color: #f7f3fb;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}
#ngw-home .ngw-smart-pagination__control.is-disabled {
  opacity: .30;
  filter: saturate(.45);
  cursor: default;
}
#ngw-home .ngw-smart-pagination__status {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  text-align: center;
}
#ngw-home .ngw-smart-pagination__eyebrow {
  color: #9f98ad;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#ngw-home .ngw-smart-pagination__status strong {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -.01em;
}
#ngw-home .ngw-smart-pagination__status strong em {
  margin: 0 4px;
  color: #81798e;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  text-transform: uppercase;
}
#ngw-home .ngw-smart-pagination__track {
  width: min(118px, 100%);
  height: 4px;
  margin-top: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.075);
}
#ngw-home .ngw-smart-pagination__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9d35ff, #c86cff);
  box-shadow: 0 0 14px rgba(157,53,255,.45);
}
@media (max-width: 700px) {
  #ngw-home .ngw-smart-pagination {
    margin-top: 58px;
    padding-inline: 8px;
  }
  #ngw-home .ngw-smart-pagination__inner {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }
  #ngw-home .ngw-smart-pagination__status {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  #ngw-home .ngw-smart-pagination__control {
    min-height: 62px;
    gap: 8px;
    padding: 10px;
    border-radius: 15px;
  }
  #ngw-home .ngw-smart-pagination__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }
  #ngw-home .ngw-smart-pagination__copy strong { font-size: 11px; }
  #ngw-home .ngw-smart-pagination__copy small { font-size: 8px; }
}
@media (max-width: 390px) {
  #ngw-home .ngw-smart-pagination__copy strong { white-space: normal; }
  #ngw-home .ngw-smart-pagination__control { align-items: center; }
}
