
.njdoh-topic-hero--legionnaires {
  --njdoh-hero-image: url("/health/assets/images/legionnaires/157441972.webp");
}

.njdoh-topic-hero--cmv {
  --njdoh-hero-image: url("/health/assets/images/cmv/cmv-hero3.webp");
}


.njdoh-topic-hero__heading { text-wrap: balance; }

.njdoh-eyebrow--link,
.njdoh-eyebrow--link:visited {
  color: var(--njdoh-white);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 1rem;
}

.njdoh-eyebrow--link:hover,
.njdoh-eyebrow--link:focus-visible { color: var(--njdoh-blue-light); }

.njdoh-topic-footnote a { color: var(--njdoh-link); }


.njdoh-jump {
   position: relative;
  background: var(--njdoh-white);
  box-shadow: 0 0 0 100vmax var(--njdoh-white);
  clip-path: inset(0 -100vmax);
}

.njdoh-jump::after {
  content: "";
  position: absolute;
  left: -100vmax;
  right: -100vmax;
  bottom: 0;
  height: 1px;
  background: var(--njdoh-divider);
}

.njdoh-jump__inner {
  max-width: var(--njdoh-max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  max-width: 1555px;
}

.njdoh-jump__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--njdoh-text-slate);
}

.njdoh-jump__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.njdoh-jump__link {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid #8a9bb0;
  border-radius: 999px;
  background: var(--njdoh-white);
  color: var(--njdoh-navy);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.njdoh-jump__link:hover {
  background: var(--njdoh-navy);
  border-color: var(--njdoh-navy);
  color: var(--njdoh-white);
  text-decoration: none;
}

.njdoh-jump__link--primary {
  background: var(--njdoh-navy);
  border-color: var(--njdoh-navy);
  color: var(--njdoh-white);
}

.njdoh-jump__link--primary:hover { background: var(--njdoh-blue); border-color: var(--njdoh-blue); }


.njdoh-quick {
  background: var(--njdoh-surface-muted);
  box-shadow: 0 0 0 100vmax var(--njdoh-surface-muted);
  clip-path: inset(0 -100vmax);
}

.njdoh-quick__inner { max-width: 1555px; margin: 0 auto; padding: 2rem; }

.njdoh-quick__panel {
  padding: 1.75rem 2rem 2rem;
  background: var(--njdoh-white);
  border: 1px solid var(--njdoh-divider);
  border-radius: var(--njdoh-radius);
}

.njdoh-quick__alert {
  max-width: 62rem;
  margin: 0 0 1.75rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 4px solid var(--njdoh-danger);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--njdoh-ink);
}

.njdoh-quick__alert strong { color: var(--njdoh-danger); }

.njdoh-quick__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1.75rem;
  border-top: 1px solid var(--njdoh-divider);
}

.njdoh-quick__col { padding: 0 2rem; }
.njdoh-quick__col:first-child { padding-left: 0; }
.njdoh-quick__col:last-child { padding-right: 0; }
.njdoh-quick__col + .njdoh-quick__col { border-left: 1px solid var(--njdoh-divider); }

.njdoh-quick__title { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--njdoh-navy); }

.njdoh-quick__text,
.njdoh-quick__list { margin: 0 0 0.75rem; font-size: 1rem; line-height: 1.55; color: var(--njdoh-text); }

.njdoh-quick__list { padding-left: 1.15rem; }
.njdoh-quick__list li + li { margin-top: 0.2rem; }

.njdoh-quick__link { font-size: 1rem; font-weight: 600; color: var(--njdoh-link); text-decoration: underline; text-underline-offset: 3px; }


.njdoh-audience-tag {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--njdoh-surface-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--njdoh-navy);
}

.njdoh-resources-callout__more {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--njdoh-white);
}

.njdoh-resources-callout__more a { color: var(--njdoh-white); font-weight: 600; text-decoration: underline; }

.njdoh-topic-footnote {
  max-width: var(--njdoh-max-width);
  margin: 4.5rem auto 0;
  padding: 0 2rem;
}

.njdoh-topic-footnote p { margin: 0; font-size: 0.875rem; color: var(--njdoh-text-muted); }

.njdoh-jump__progress { 
  display: none; 
}

.njdoh-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 2.5rem;
  margin: 0.75rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.njdoh-stats__item { padding: 1.25rem 0 0; border-top: 1px solid var(--njdoh-divider); }

.njdoh-stats__figure {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--njdoh-navy);
}

.njdoh-stats__label { display: block; font-size: 1rem; line-height: 1.5; color: var(--njdoh-text); }

@media (max-width: 767.98px) {
  .njdoh-stats { grid-template-columns: 1fr; row-gap: 1rem; }
  .njdoh-stats__item { padding-top: 1rem; }
  .njdoh-stats__figure { font-size: 1.75rem; }
}

@media (max-width: 991.98px) {
.njdoh-topic-sidebar { display: none; }

  .njdoh-jump {
    position: sticky;
    top: var(--njdoh-sticky-offset, 0px);
    z-index: 20;
  }

  .njdoh-jump.is-stuck {
    box-shadow: 0 0 0 100vmax var(--njdoh-white), 0 2px 8px 100vmax rgba(22, 55, 83, 0.1);
    clip-path: inset(0 -100vmax -12px);
  }

  .njdoh-jump__inner { flex-wrap: nowrap; padding: 0.6rem 0 0.6rem 1rem; }
  .njdoh-jump__label { display: none; }

  .njdoh-jump__links {
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-right: 2.5rem;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
    mask-image: linear-gradient(to right, #000 82%, transparent);
  }

  .njdoh-jump__links::-webkit-scrollbar { display: none; }
  .njdoh-jump.is-row-end .njdoh-jump__links { -webkit-mask-image: none; mask-image: none; }
  .njdoh-jump__link { flex: 0 0 auto; white-space: nowrap; }

  .njdoh-jump.is-stuck .njdoh-jump__link--primary:not(.is-active) {
    background: var(--njdoh-white);
    border-color: #8a9bb0;
    color: var(--njdoh-navy);
  }

  .njdoh-jump__link.is-active {
    background: var(--njdoh-navy);
    border-color: var(--njdoh-navy);
    color: var(--njdoh-white);
  }

  .njdoh-jump__progress {
    display: block;
    position: absolute;
    left: -100vmax;
    right: -100vmax;
    bottom: -1px;
    height: 3px;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .njdoh-jump.is-stuck .njdoh-jump__progress { opacity: 1; }

  .njdoh-jump__progress-fill {
    display: block;
    height: 100%;
    background: var(--njdoh-blue);
    transform: scaleX(0);
    transform-origin: 0 50%;
  }

  .njdoh-topic-content a[name] { scroll-margin-top: calc(var(--njdoh-sticky-offset, 0px) + 4.5rem); }
  .njdoh-quick__cols { grid-template-columns: 1fr; }
  .njdoh-quick__col,
  .njdoh-quick__col:first-child,
  .njdoh-quick__col:last-child { padding: 0; }
  .njdoh-quick__col + .njdoh-quick__col {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-left: 0;
    border-top: 1px solid var(--njdoh-divider);
  }
}

@media (max-width: 767.98px) {
  .njdoh-jump__link { font-size: 0.875rem; padding: 0.4rem 0.75rem; }
  .njdoh-quick__inner { padding: 1.25rem 1rem; }
  .njdoh-quick__panel { padding: 1.25rem; }
  .njdoh-quick__alert { margin-bottom: 1.25rem; font-size: 1.0625rem; }
  .njdoh-quick__cols { padding-top: 1.25rem; }

  .njdoh-step__image,
  .njdoh-system-card__image { display: none; }

  .njdoh-topic-footnote { padding: 0 1rem; }
}

.njdoh-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  margin: 1.5rem 0 0.5rem;
  padding: 0;
  list-style: none;
}

.njdoh-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--njdoh-divider);
}

.njdoh-checklist__icon { flex: 0 0 40px; width: 40px; height: 40px; }
.njdoh-checklist__body { min-width: 0; }

.njdoh-checklist__title {
  margin: 0.35rem 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--njdoh-navy);
}

.njdoh-checklist__text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--njdoh-text); }

.njdoh-checklist__text a {
  color: var(--njdoh-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.njdoh-compare {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--njdoh-text);
}

.njdoh-compare th,
.njdoh-compare td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--njdoh-divider);
  text-align: left;
  vertical-align: top;
}

.njdoh-compare thead th {
  border-bottom: 2px solid var(--njdoh-navy);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--njdoh-navy);
}

.njdoh-compare tbody th {
  width: 22%;
  font-weight: 700;
  color: var(--njdoh-ink);
}

.njdoh-compare th:first-child { padding-left: 0; }


.njdoh-urgent {
  margin: 1.5rem 0 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 4px solid var(--njdoh-danger);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--njdoh-ink);
}

.njdoh-urgent strong { color: var(--njdoh-danger); }

.njdoh-sequence {
  max-width: 46rem;
  margin: 0.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: njdoh-seq;
}

.njdoh-sequence__item {
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
  counter-increment: njdoh-seq;
}

.njdoh-sequence__item::before {
  content: counter(njdoh-seq);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.125rem;
  height: 2.125rem;
  border: 2px solid var(--njdoh-navy);
  border-radius: 50%;
  background: var(--njdoh-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: calc(2.125rem - 4px);
  text-align: center;
  color: var(--njdoh-navy);
}

/* Thin line joining the numbers */
.njdoh-sequence__item::after {
  content: "";
  position: absolute;
  left: calc(1.0625rem - 1px);
  top: 2.5rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--njdoh-divider);
}

.njdoh-sequence__item:last-child { padding-bottom: 0; }
.njdoh-sequence__item:last-child::after { display: none; }

.njdoh-sequence__title {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--njdoh-navy);
}

.njdoh-sequence__text { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--njdoh-text); }

/* Building owners: four systems, no cards */
.njdoh-systems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  margin: 1.5rem 0 0.5rem;
}

.njdoh-systems__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--njdoh-divider);
}

.njdoh-systems__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--njdoh-navy);
}

.njdoh-systems__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--njdoh-text);
}

.njdoh-systems__list li + li { margin-top: 0.15rem; }

/* Link to a related page */
.njdoh-next-link,
.njdoh-next-link:visited {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--njdoh-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.njdoh-next-link::after { content: " \2192"; }
.njdoh-next-link:hover { color: var(--njdoh-blue); }

@media (max-width: 767.98px) {
  .njdoh-checklist,
  .njdoh-systems { grid-template-columns: 1fr; }

  .njdoh-checklist__item,
  .njdoh-systems__item { padding: 1rem 0; }

  .njdoh-checklist__icon { flex-basis: 32px; width: 32px; height: 32px; }
  .njdoh-checklist__title { margin-top: 0.15rem; }

  /* Table becomes stacked rows: label on top, two illnesses side by side */
  .njdoh-compare thead tr,
  .njdoh-compare tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .njdoh-compare .njdoh-compare__corner { display: none; }

  .njdoh-compare th,
  .njdoh-compare td { padding: 0.6rem 0; }

  .njdoh-compare thead th { font-size: 1rem; }

  .njdoh-compare tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    color: var(--njdoh-text-slate);
  }

  .njdoh-compare tbody td { font-size: 0.9375rem; }
}
