/* Digitizer single article system */
body.single-post .page-header,
body.single-post .page-header-background,
body.single-post .background-image-page-header,
body.single-post .wpex-page-header,
body.single-post #page-header,
body.single-post .single-post-media,
body.single-post .blog-entry-media,
body.single-post .post-media,
body.single-post .thumbnail {
  display: none !important;
}

body.single-post,
body.single-post #outer-wrap,
body.single-post #wrap,
body.single-post #main,
body.single-post #content-wrap,
body.single-post #primary,
body.single-post .content-area {
  color: #222;
}

.dz-single-post {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 100px) 0 90px;
  color: #222;
}

.dz-single-post__header {
  max-width: 900px;
  margin: 0 auto clamp(44px, 6vw, 76px);
  text-align: center;
}

.dz-single-post__eyebrow {
  margin: 0 0 16px;
  color: #ff6600 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dz-single-post__title {
  margin: 0;
  color: #222 !important;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.dz-single-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  color: #666 !important;
  font-size: 14px;
  font-weight: 600;
}

.dz-single-post__content {
  max-width: 1120px;
  margin: 0 auto;
  color: #222;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.8;
}

/* Neutralize old inline text colors, including historical white text. */
.dz-single-post__content,
.dz-single-post__content p,
.dz-single-post__content li,
.dz-single-post__content span,
.dz-single-post__content strong,
.dz-single-post__content em,
.dz-single-post__content blockquote,
.dz-single-post__content h2,
.dz-single-post__content h3,
.dz-single-post__content h4,
.dz-single-post__content h5,
.dz-single-post__content h6 {
  color: #222 !important;
}

.dz-single-post__content > :first-child,
.dz-single-post__content .wpb_wrapper > :first-child {
  margin-top: 0;
}

.dz-single-post__content p {
  margin: 0 0 1.35em;
}

.dz-single-post__content h2,
.dz-single-post__content h3,
.dz-single-post__content h4 {
  margin: 1.75em 0 .65em;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.18;
  text-align: left !important;
  text-wrap: balance;
}

.dz-single-post__content h2 { font-size: clamp(28px, 3.4vw, 42px); }
.dz-single-post__content h3 { font-size: clamp(22px, 2.5vw, 31px); }
.dz-single-post__content h4 { font-size: clamp(19px, 2vw, 24px); }

.dz-single-post__content a,
.dz-single-post__content a:visited,
.dz-single-post__content a span,
.dz-single-post__content a strong,
.dz-single-post__content a em {
  color: #f05a18 !important;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  transition: color .2s ease, opacity .2s ease;
}

.dz-single-post__content a:hover,
.dz-single-post__content a:focus-visible {
  color: #c84308 !important;
  text-decoration: none !important;
}

.dz-single-post__content ul,
.dz-single-post__content ol {
  margin: 0 0 1.5em;
  padding-left: 1.35em;
}

.dz-single-post__content li + li { margin-top: .5em; }

.dz-single-post__content blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border: 0;
  border-left: 4px solid #ff6600;
  border-radius: 0 16px 16px 0;
  background: #f5f5f5;
}

.dz-single-post__content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border-radius: 20px;
}

.dz-single-post__content iframe,
.dz-single-post__content video {
  max-width: 100%;
  border-radius: 18px;
}

/* Turn historical WPBakery article layouts into a clean one-column article. */
.dz-single-post__content .vc_row,
.dz-single-post__content .vc_row_inner,
.dz-single-post__content .vc_row-fluid,
.dz-single-post__content .vc_row[data-vc-full-width="true"] {
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
}

/* WPBakery writes viewport-wide inline coordinates on stretched rows.
   Keep every legacy article block inside the article container. */
.dz-single-post__content [data-vc-full-width-init="true"],
.dz-single-post__content .vc_row-o-full-height,
.dz-single-post__content .vc_row-has-fill {
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.dz-single-post__content .vc_column_container,
.dz-single-post__content .wpb_column,
.dz-single-post__content .vc_column-inner {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.dz-single-post__content .wpb_content_element {
  margin-bottom: 0;
}

.dz-single-post__content .vc_separator,
.dz-single-post__content .vc_empty_space,
.dz-single-post__content .vc_btn3-container:has(a[href*="news-stories"]) {
  display: none !important;
}

.dz-single-post__footer {
  max-width: 920px;
  margin: clamp(64px, 8vw, 100px) auto 0;
  padding-top: 42px;
  border-top: 1px solid #dedede;
}

.dz-single-post__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 24px;
  background: #555;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.dz-single-post__cta p {
  margin: 0;
  color: #fff !important;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.dz-single-post__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #222 !important;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.dz-single-post__button:hover,
.dz-single-post__button:focus-visible {
  background: transparent;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}

.dz-single-post__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.dz-single-post__nav-link {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid #dedede;
  border-radius: 20px;
  background: #fff;
  color: #222 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.035);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dz-single-post__nav-link:hover,
.dz-single-post__nav-link:focus-visible {
  border-color: #ff6600;
  color: #222 !important;
  text-decoration: none !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0,0,0,.07);
}

.dz-single-post__nav-link > span:not(.dz-single-post__nav-arrow) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.dz-single-post__nav-link small {
  color: #777 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dz-single-post__nav-link strong {
  color: #222 !important;
  font-size: 16px;
  line-height: 1.35;
}

.dz-single-post__nav-link--next {
  justify-content: flex-end;
  text-align: right;
}

.dz-single-post__nav-arrow {
  flex: 0 0 auto;
  color: #ff6600 !important;
  font-size: 24px;
  font-weight: 400;
  transition: transform .2s ease;
}

.dz-single-post__nav-link:hover .dz-single-post__nav-arrow:first-child { transform: translateX(-4px); }
.dz-single-post__nav-link:hover .dz-single-post__nav-arrow:last-child { transform: translateX(4px); }

.dz-single-post__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 18px;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: #fff;
  color: #222 !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.dz-single-post__back:hover,
.dz-single-post__back:focus-visible {
  border-color: #ff6600;
  background: #ff6600;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateX(-3px);
}

@media (max-width: 760px) {
  .dz-single-post {
    width: min(100% - 28px, 1120px);
    padding-top: 38px;
    padding-bottom: 64px;
  }

  .dz-single-post__header {
    margin-bottom: 42px;
    text-align: left;
  }

  .dz-single-post__meta { justify-content: flex-start; }

  .dz-single-post__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .dz-single-post__button { width: 100%; }

  .dz-single-post__nav { grid-template-columns: 1fr; }
  .dz-single-post__nav-placeholder { display: none; }

  .dz-single-post__nav-link--next {
    justify-content: flex-start;
    text-align: left;
  }

  .dz-single-post__nav-link--next > span:not(.dz-single-post__nav-arrow) { order: 2; }
  .dz-single-post__nav-link--next .dz-single-post__nav-arrow { order: 1; }
}

/* 2026-07-20: hard reset for legacy WPBakery stretched rows inside posts. */
body.single-post .dz-single-post {
  max-width: 1180px !important;
  width: calc(100% - 40px) !important;
}
body.single-post .dz-single-post__content {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.single-post .dz-single-post__content > .vc_row,
body.single-post .dz-single-post__content .vc_row,
body.single-post .dz-single-post__content .vc_row-fluid,
body.single-post .dz-single-post__content [data-vc-full-width="true"],
body.single-post .dz-single-post__content [data-vc-full-width-init="true"] {
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
}
body.single-post .dz-single-post__content .vc_column_container,
body.single-post .dz-single-post__content .vc_column-inner,
body.single-post .dz-single-post__content .wpb_wrapper,
body.single-post .dz-single-post__content .wpb_text_column,
body.single-post .dz-single-post__content .wpb_text_column .wpb_wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
/* Keep author/byline paragraphs aligned with the article, even when they sit in an old stretched row. */
body.single-post .dz-single-post__content p:last-child,
body.single-post .dz-single-post__content .wpb_text_column:last-child,
body.single-post .dz-single-post__content .vc_row:last-child {
  left: 0 !important;
  right: auto !important;
  margin-left: 0 !important;
  transform: none !important;
}
@media (max-width: 767px) {
  body.single-post .dz-single-post {
    width: calc(100% - 28px) !important;
  }
}
