/*
 * Exact-source correction layer.
 * This file intentionally follows the live Elementor reference geometry rather
 * than introducing a new visual direction.
 */

@media (min-width: 821px) {
  .npdc-header__bar {
    grid-template-columns: 305px minmax(0, 1fr) auto;
    gap: 38px;
  }

  .npdc-brand,
  .npdc-brand img {
    width: 305px;
  }

  .npdc-source-hero h1 {
    width: min(1280px, calc(100vw - 80px));
    max-width: none;
    white-space: nowrap;
  }
}

.npdc-phone__icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #334155;
  border-radius: 2px;
  background: #0ecae9;
  font-size: 14px;
  line-height: 1;
}

.npdc-source-quote__inner {
  text-align: left;
}

.npdc-source-first-visit__mark {
  visibility: hidden;
}

/* Shared interior hero used by service, contact, and blog pages. */
.npdc-page-hero {
  min-height: 610px;
  overflow: hidden;
  color: #fff;
  background-color: #334155;
  background-image: linear-gradient(rgba(39, 54, 74, 0.58), rgba(39, 54, 74, 0.6)), url("/wp-content/uploads/2025/11/shutterstock_2207894257-scaled.jpg");
  background-position: center;
  background-size: cover;
}

.npdc-page-hero__inner,
.npdc-page-hero__inner--text {
  display: flex;
  width: min(1280px, calc(100vw - 80px));
  min-height: 610px;
  padding: 205px 0 70px;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.npdc-page-hero__inner > div:first-child {
  display: contents;
}

.npdc-page-hero h1 {
  order: 1;
  max-width: 1280px;
  margin: 0;
  color: #fff;
  font-size: 90px;
  line-height: 1.1;
  text-align: center;
}

.npdc-page-hero .npdc-eyebrow {
  order: 2;
  margin: 8px 0 0;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  text-align: center;
}

.npdc-page-hero__lead,
.npdc-page-hero > .npdc-page-hero__inner .npdc-actions,
.npdc-page-hero__media {
  display: none;
}

.npdc-contact-page .npdc-page-hero {
  min-height: 510px;
  background-image: linear-gradient(rgba(39, 54, 74, 0.48), rgba(39, 54, 74, 0.52)), url("/wp-content/uploads/2025/11/HERO2.webp");
}

.npdc-contact-page .npdc-page-hero__inner {
  min-height: 510px;
}

/* Source service-page structure: white long-form body plus fixed-width sidebar. */
.npdc-service-page .npdc-section--mist:nth-of-type(2) {
  color: #7a7a7a;
  background: #fff;
}

.npdc-service-page .npdc-section--mist:nth-of-type(2) h2,
.npdc-service-page .npdc-section--mist:nth-of-type(2) h3 {
  color: #2f2f2f;
  text-align: left;
}

.npdc-service-page .npdc-section--mist:nth-of-type(3) {
  color: #fff;
  background-color: #334155;
  background-image: linear-gradient(rgba(51, 65, 85, 0.9), rgba(51, 65, 85, 0.9)), url("/wp-content/uploads/2025/11/bg_texture.webp");
  background-size: cover;
}

.npdc-service-page .npdc-section--mist:nth-of-type(3) h2,
.npdc-service-page .npdc-section--mist:nth-of-type(3) h3 {
  color: #fff;
  text-align: center;
}

.npdc-service-page .npdc-section--mist:nth-of-type(3) .npdc-faq details {
  margin-bottom: 9px;
  border: 0;
  border-radius: 999px;
  background: #fff;
}

.npdc-service-page .npdc-section--mist:nth-of-type(3) .npdc-faq summary {
  padding: 13px 52px 13px 24px;
  color: #334155;
  font-size: 14px;
}

.npdc-service-page .npdc-section--mist:nth-of-type(3) .npdc-faq summary::after {
  top: 9px;
  right: 12px;
}

.npdc-service-page .npdc-section--mist:nth-of-type(3) .npdc-faq__answer {
  padding: 5px 28px 20px;
  color: #334155;
}

.npdc-service-page .npdc-section:nth-of-type(2) {
  padding-top: 20px;
}

.npdc-service-intro {
  margin: 0 0 70px;
}

.npdc-service-intro h2 {
  margin: 0 0 18px;
  font-size: 48px;
}

.npdc-service-intro p {
  margin: 0 0 22px;
}

.npdc-service-page .npdc-flow > h2 {
  font-size: 48px;
}

.npdc-service-page .npdc-flow > h3 {
  font-size: 32px;
}

.npdc-service-page .npdc-flow > .npdc-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
}

.npdc-service-page .npdc-flow > .npdc-card p {
  color: #7a7a7a;
  font-size: 18px;
  line-height: 1.6;
}

/* Contact page: preserve the source three-column layout and white map field. */
.npdc-contact-page .npdc-contact-source {
  min-height: 1582px;
  padding: 120px 0 0;
  background: #fff;
}

.npdc-contact-source__grid {
  display: grid;
  grid-template-columns: 358px 461px 358px;
  gap: 52px;
  width: min(1280px, calc(100vw - 80px));
  margin-inline: auto;
  align-items: start;
}

.npdc-contact-source h2,
.npdc-contact-source h3 {
  margin-top: 0;
}

.npdc-contact-source__intro .npdc-eyebrow {
  margin-bottom: 28px;
  font-size: 18px;
}

.npdc-contact-source__intro h2 {
  margin-bottom: 22px;
  font-size: 68px;
  line-height: 1.1;
}

.npdc-contact-source__form h2,
.npdc-contact-source__info h2 {
  font-family: Lato, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.npdc-contact-source__form > p {
  margin: 0 0 12px;
}

.npdc-contact-source__form .gform_wrapper {
  margin-top: 28px;
}

.npdc-contact-source__info {
  padding-top: 103px;
}

.npdc-contact-source__info dl {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 28px 14px;
  margin: 35px 0 0;
}

.npdc-contact-source__info dt,
.npdc-contact-source__info dd {
  margin: 0;
}

.npdc-contact-source__info dt {
  color: #0ecae9;
  font-size: 34px;
  line-height: 1;
}

.npdc-contact-source__info strong {
  display: block;
  margin-bottom: 8px;
  color: #2f2f2f;
  font-family: Lato, Arial, sans-serif;
  font-size: 20px;
}

.npdc-contact-source__social {
  margin-top: 50px;
}

.npdc-contact-source__social h3 {
  font-family: Lato, Arial, sans-serif;
  font-size: 25px;
}

.npdc-contact-source__social a {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0ecae9;
  text-decoration: none;
}

/* Blog archive page: production goes directly from the image hero to the cards. */
.npdc-blog-page .npdc-page-hero {
  min-height: 510px;
}

.npdc-blog-page .npdc-page-hero__inner {
  min-height: 510px;
}

.npdc-blog-page .npdc-section--mist {
  display: none;
}

.npdc-blog-page .npdc-section:not(.npdc-section--cta) {
  padding-top: 118px;
}

.npdc-blog-page .npdc-section:not(.npdc-section--cta) > .npdc-section__inner > .npdc-flow > h2,
.npdc-blog-page .npdc-section:not(.npdc-section--cta) > .npdc-section__inner > .npdc-flow > p:first-of-type {
  display: none;
}

/* Single posts: exact source image hero, two-column reading layout and CTA band. */
.single-post .npdc-article__hero {
  display: flex;
  width: 100%;
  max-width: none !important;
  min-height: 610px;
  padding: 205px 80px 70px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  background-image: linear-gradient(rgba(39, 54, 74, 0.58), rgba(39, 54, 74, 0.6)), url("/wp-content/uploads/2025/11/shutterstock_2207894257-scaled.jpg");
  background-position: center;
  background-size: cover;
  text-align: center;
}

.single-post .npdc-article__hero h1 {
  max-width: 1280px;
  margin: 0;
  color: #fff;
  font-size: 90px;
  line-height: 1.1;
}

.npdc-article__crumb {
  margin: 10px 0 0;
  color: #fff;
}

.npdc-article__crumb a {
  color: #0ecae9;
}

.single-post .npdc-article__body {
  width: 100%;
  max-width: none !important;
  padding: 80px 0 85px;
}

.npdc-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) 340px;
  gap: 80px;
  width: min(1280px, calc(100vw - 120px));
  margin-inline: auto;
  align-items: start;
}

.npdc-article__content {
  min-width: 0;
}

.npdc-article__meta {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  color: #7a7a7a;
  font-size: 14px;
}

.npdc-article__meta > * + *::before {
  margin-right: 12px;
  color: #0ecae9;
  content: "●";
}

.single-post .npdc-article__image {
  margin: 0 0 30px;
}

.single-post .npdc-article__image img,
.single-post .wp-block-post-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-post .wp-block-post-content h2 {
  margin: 8px 0 16px;
  font-size: 30.4px;
  line-height: 1.2;
}

.single-post .wp-block-post-content h3 {
  margin: 8px 0 16px;
  font-size: 21.6px;
  line-height: 1.3;
}

.single-post .wp-block-post-content p {
  margin: 0 0 20.7px;
  font-size: 18px;
  line-height: 1.6;
}

.npdc-article-sidebar {
  position: sticky;
  top: 30px;
}

.npdc-article-sidebar h2 {
  margin: 0 0 20px;
  font-family: Lato, Arial, sans-serif;
  font-size: 24px;
}

.npdc-article-sidebar nav {
  display: grid;
  gap: 8px;
}

.npdc-article-sidebar nav a {
  position: relative;
  padding: 12px 48px 12px 18px;
  border: 1px solid #dfe8ec;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
}

.npdc-article-sidebar nav a::after {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0ecae9;
  content: "+";
}

.npdc-article-sidebar__cta {
  display: flex;
  min-height: 300px;
  margin-top: 22px;
  padding: 32px;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(rgba(51, 65, 85, 0.55), rgba(51, 65, 85, 0.72)), url("/wp-content/uploads/2025/11/shutterstock_2207894257-scaled.jpg") center/cover;
}

.npdc-article-sidebar__cta p {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.1;
}

.npdc-article-sidebar__cta a {
  color: #fff;
}

.npdc-article-sidebar__note,
.npdc-article-sidebar__proof {
  margin-top: 22px;
  padding: 28px;
  border-radius: 6px;
  color: #334155;
  background: #effaff;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
}

.npdc-article-sidebar__proof {
  color: #fff;
  background: #334155;
  text-align: center;
}

.npdc-article-cta {
  min-height: 530px;
  padding: 145px 40px 70px;
  color: #fff;
  background: linear-gradient(rgba(51, 65, 85, 0.72), rgba(51, 65, 85, 0.72)), url("/wp-content/uploads/2025/11/bg_texture.webp") center/cover;
  text-align: center;
}

.npdc-article-cta h2 {
  max-width: 1000px;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 68px;
}

.npdc-article-cta p {
  max-width: 900px;
  margin: 0 auto 28px;
  color: #fff;
}

@media (max-width: 820px) {
  .npdc-brand,
  .npdc-brand img {
    width: 140px;
  }

  .npdc-phone__icon {
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
  }

  .npdc-page-hero,
  .npdc-contact-page .npdc-page-hero,
  .npdc-blog-page .npdc-page-hero,
  .single-post .npdc-article__hero {
    min-height: 510px;
  }

  .npdc-page-hero__inner,
  .npdc-page-hero__inner--text {
    width: calc(100vw - 60px);
    min-height: 510px;
    padding: 140px 0 55px;
  }

  .npdc-page-hero h1,
  .single-post .npdc-article__hero h1 {
    font-size: 60px;
  }

  .single-post .npdc-article__hero {
    padding: 140px 30px 55px;
  }

  .npdc-service-page .npdc-section:nth-of-type(2) {
    padding-top: 28px;
  }

  .npdc-service-intro {
    margin-bottom: 55px;
  }

  .npdc-service-intro h2,
  .npdc-service-page .npdc-flow > h2 {
    font-size: 42px;
  }

  .npdc-contact-page .npdc-contact-source {
    min-height: 0;
    padding: 75px 30px 110px;
  }

  .npdc-contact-source__grid {
    grid-template-columns: 1fr;
    gap: 65px;
    width: 100%;
  }

  .npdc-contact-source__intro h2 {
    font-size: 54px;
  }

  .npdc-contact-source__info {
    padding-top: 0;
  }

  .npdc-blog-page .npdc-section:not(.npdc-section--cta) {
    padding-top: 80px;
  }

  .single-post .npdc-article__body {
    padding: 60px 30px 75px;
  }

  .npdc-article__layout {
    grid-template-columns: 1fr;
    gap: 60px;
    width: 100%;
  }

  .npdc-article-sidebar {
    position: static;
  }

  .npdc-article-cta {
    min-height: 430px;
    padding: 95px 30px 60px;
  }

  .npdc-article-cta h2 {
    font-size: 42px;
  }
}

@media (max-width: 560px) {
  .npdc-page-hero h1,
  .single-post .npdc-article__hero h1 {
    font-size: 42px;
  }

  .npdc-page-hero .npdc-eyebrow,
  .npdc-article__crumb {
    font-size: 13px;
  }

  .npdc-service-page .npdc-section--mist:nth-of-type(3) .npdc-faq summary {
    font-size: 12px;
  }

  .single-post .wp-block-post-content p {
    font-size: 14px;
  }
}
