:root {
  /* --- Shared palette (identical across all templates) --- */
  --njdoh-navy:           #163753;
  --njdoh-blue:           #266091;
  --njdoh-teal:           #45a0c2;
  --njdoh-blue-light:     #88b8e0;
  --njdoh-sky:            #5dade2;
  --njdoh-link:           #185fa5;

  --njdoh-danger:         #720002;
  --njdoh-success:        #56930c;
  --njdoh-warning:        #f59e0b;

  --njdoh-white:          #ffffff;
  --njdoh-text:           #333333;
  --njdoh-text-muted:     #555555;
  --njdoh-text-slate:     #495057;
  --njdoh-border:         #dde8f5;

  --njdoh-surface-tint:   #f3f8fd;
  --njdoh-surface-cyan:   #dff0f7;
  --njdoh-surface-pale:   #ddeaf7;
  --njdoh-surface-blue:   #e8eef5;
  --njdoh-surface-danger: #fde8e8;
  --njdoh-surface-gray:   #f9f9f9;

  --njdoh-max-width:      1555px;
  --njdoh-radius:         8px;
  --njdoh-radius-sm:      6px;

  /* --- Introduced by the landing template --- */
  --njdoh-ink:            #1a1c1e;
  --njdoh-surface-muted:  #f4f6f9;
  --njdoh-radius-lg:      10px;

  --njdoh-hero-image:     none;
}

.pageTitle {
  display: none;
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0;
}

.clearA { margin: 0; padding: 0; height: 0; }

html { opacity: 0; transition: opacity 0.3s ease; }

body { overflow-x: hidden; }

.njdoh-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--njdoh-surface-pale);
  margin-bottom: 0.4rem;
  display: block;
}

.njdoh-eyebrow-accent {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--njdoh-teal);
  margin-bottom: 0.5rem;
  display: block;
}

.njdoh-btn-primary {
  background: var(--njdoh-white);
  border: 2px solid var(--njdoh-teal);
  border-radius: var(--njdoh-radius-sm);
  color: var(--njdoh-navy);
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
}

.njdoh-btn-primary:hover {
  background: var(--njdoh-surface-pale);
  color: var(--njdoh-navy);
  text-decoration: none;
}

.njdoh-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--njdoh-navy);
  background: var(--njdoh-white);
  border: 2px solid var(--njdoh-navy);
  border-radius: var(--njdoh-radius-sm);
  padding: 0.65rem 1.25rem;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}

.njdoh-btn-outline:hover {
  background: var(--njdoh-navy);
  color: var(--njdoh-white) !important;
  text-decoration: none !important;
}

.njdoh-triage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.njdoh-triage__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1px solid var(--njdoh-card-border, #dde8f5);
  border-radius: var(--njdoh-radius-lg, 10px);
  padding: 1.25rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.njdoh-triage__card:hover,
.njdoh-triage__card:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(22, 55, 83, 0.1);
  border-color: var(--njdoh-teal, #45a0c2);
  text-decoration: none;
}
.njdoh-triage__icon { width: 2rem; height: 2rem; margin-bottom: 0.75rem; }
.njdoh-triage__label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--njdoh-navy, #163753);
  margin-bottom: 0.25rem;
}
.njdoh-triage__desc {
  font-size: 0.85rem;
  color: var(--njdoh-ink-soft, #495057);
  line-height: 1.4;
}

.njdoh-notice-bar {
  background: var(--njdoh-surface-cyan);
  border-bottom: 1px solid var(--njdoh-blue-light);
  padding: 0.65rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.njdoh-notice-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--njdoh-navy);
  line-height: 1.5;
}

.njdoh-notice-bar__inner p { margin: 0; }

.njdoh-notice-bar__inner a {
  color: var(--njdoh-navy);
  font-weight: 600;
  text-decoration: underline;
}

.njdoh-notice-bar__inner img {
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(15%) sepia(50%) saturate(800%) hue-rotate(185deg);
}

.njdoh-cta-band {
  background: var(--njdoh-blue);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 3rem 0;
  margin-top: 2rem;
}

.njdoh-cta-band__inner {
  max-width: var(--njdoh-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.njdoh-cta-band__content { max-width: 700px; text-align: center; }

.njdoh-cta-band__heading {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  color: var(--njdoh-white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.njdoh-cta-band__body {
  font-size: 1rem;
  color: var(--njdoh-white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.njdoh-contact-band {
  background: var(--njdoh-navy);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: -3rem;
}

.njdoh-contact-band__inner {
  max-width: var(--njdoh-max-width);
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.njdoh-contact-band__inner p {
  font-size: clamp(0.9rem, 1vw + 0.25rem, 1.1rem);
  color: #b5cef0;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.njdoh-contact-band__inner a {
  color: var(--njdoh-sky);
  font-weight: 600;
  text-decoration: none;
}

.njdoh-contact-band__inner a:hover { text-decoration: underline; }

.njdoh-contact-band__inner strong { color: var(--njdoh-white); }

.njdoh-landing-hero {
  background-image:
    linear-gradient(135deg, rgba(22,55,83,0.92) 40%, rgba(22,55,83,0.75) 60%, transparent 100%),
    var(--njdoh-hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 0 3.5rem;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -2.5rem;
}

.njdoh-landing-hero__heading {
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4rem);
  font-weight: 800;
  color: var(--njdoh-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.njdoh-landing-hero__subtext {
  font-size: clamp(1rem, 1.2vw + 0.25rem, 1.25rem);
  color: #f5f5f5;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 0.5rem;
}

.njdoh-landing-hero__note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.njdoh-landing-directory { padding: 3.5rem 0 2.5rem; }

.njdoh-landing-directory__heading {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  color: var(--njdoh-ink);
  margin-bottom: 1.5rem;
}

.njdoh-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.njdoh-nav-card {
  background: var(--njdoh-white);
  border: 1px solid var(--njdoh-border);
  border-radius: var(--njdoh-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.njdoh-nav-card:hover {
  box-shadow: 0 8px 24px rgba(22,55,83,0.12);
  transform: translateY(-3px);
  border-color: var(--njdoh-blue-light);
  text-decoration: none !important;
  color: inherit !important;
}

.njdoh-nav-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.njdoh-nav-card--wide .njdoh-nav-card__desc { flex: 1; }

.njdoh-nav-card--wide .njdoh-nav-card__cta {
  margin-top: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.njdoh-nav-card__body { flex: 1; }

.njdoh-nav-card__body .njdoh-nav-card__desc { margin-bottom: 0; }

.njdoh-nav-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.25rem;
  display: block;
}

.njdoh-nav-card__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--njdoh-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.njdoh-nav-card__desc {
  font-size: 1rem;
  color: var(--njdoh-text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.25rem;
}

.njdoh-nav-card__cta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--njdoh-navy);
  margin-top: auto;
  transition: gap 0.15s;
}

.njdoh-nav-card:hover .njdoh-nav-card__cta { color: var(--njdoh-teal); }

.njdoh-feature { padding: 4rem 0; }

.njdoh-feature--surface {
  background: var(--njdoh-surface-muted);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-top: none;
}

.njdoh-feature--surface .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.njdoh-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.njdoh-feature__grid--reverse { direction: rtl; }

.njdoh-feature__grid--reverse > * { direction: ltr; }

.njdoh-feature__heading {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  color: var(--njdoh-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.njdoh-feature__body {
  font-size: 1rem;
  color: var(--njdoh-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.njdoh-feature__alert {
  background: var(--njdoh-surface-danger);
  border-left: 4px solid var(--njdoh-danger);
  border-radius: 0 var(--njdoh-radius-sm) var(--njdoh-radius-sm) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.njdoh-feature__alert-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--njdoh-danger);
  margin-bottom: 0.4rem;
}

.njdoh-feature__alert-body {
  font-size: 0.9rem;
  color: var(--njdoh-text);
  line-height: 1.55;
  margin: 0;
}

.njdoh-feature__subheading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--njdoh-blue);
  margin-bottom: 0.75rem;
}

.njdoh-feature__list { padding-left: 1.5rem; margin-bottom: 1.5rem; }

.njdoh-feature__list li {
  font-size: 0.95rem;
  color: var(--njdoh-text);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.njdoh-feature__image-wrap {
  border-radius: var(--njdoh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--njdoh-border);
  box-shadow: 0 8px 24px rgba(22,55,83,0.1);
}

.njdoh-feature__image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.njdoh-downloads { padding: 3.5rem 0; border-top: 1px solid var(--njdoh-surface-blue); }

.njdoh-downloads__heading {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  color: var(--njdoh-navy);
  margin-bottom: 2rem;
}

.njdoh-downloads__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.njdoh-downloads__group-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--njdoh-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--njdoh-border);
}

.njdoh-downloads__list { list-style: none !important; padding: 0 !important; margin: 0; }

.njdoh-downloads__list li { list-style: none !important; border-bottom: 1px solid var(--njdoh-surface-blue); }

.njdoh-downloads__list li:last-child { border-bottom: none; }

.njdoh-downloads__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--njdoh-navy);
  text-decoration: none;
  transition: color 0.15s;
}

.njdoh-downloads__list a:hover { color: var(--njdoh-teal); text-decoration: underline; }

.njdoh-tips { padding: 3.5rem 0; border-top: 1px solid var(--njdoh-surface-blue); }

.njdoh-tips__heading {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  color: var(--njdoh-navy);
  margin-bottom: 0.75rem;
}

.njdoh-tips__subtext {
  font-size: 1rem;
  color: var(--njdoh-text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2rem;
}

.njdoh-tips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--njdoh-border);
  border: 1px solid var(--njdoh-border);
  border-radius: var(--njdoh-radius-lg);
  overflow: hidden;
}

.njdoh-tips__card { background: var(--njdoh-white); padding: 1.5rem; }

.njdoh-tips__number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--njdoh-navy);
  opacity: 0.5;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.njdoh-tips__card-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--njdoh-navy);
  margin-bottom: 0.5rem;
}

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

.njdoh-tips__image-cell { overflow: hidden; min-height: 200px; }

.njdoh-tips__image { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 991.98px) {
  .njdoh-nav-grid { grid-template-columns: 1fr 1fr; }
  .njdoh-nav-card--wide { grid-column: 1 / -1; }
  .njdoh-triage { grid-template-columns: 1fr 1fr; }
  .njdoh-feature__grid { grid-template-columns: 1fr; gap: 2rem; }
  .njdoh-feature__grid--reverse { direction: ltr; }
  .njdoh-feature__image { height: 260px; }
  .njdoh-downloads__grid { grid-template-columns: 1fr; gap: 2rem; }
  .njdoh-tips__grid { grid-template-columns: repeat(2, 1fr); }
  .njdoh-tips__image-cell { grid-column: 1 / -1; min-height: 220px; }
}

@media (max-width: 767.98px) {
  .njdoh-landing-hero { padding: 2rem; }
  .njdoh-nav-grid { grid-template-columns: 1fr; }
  .njdoh-nav-card--wide { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .njdoh-nav-card--wide .njdoh-nav-card__cta { margin-top: 0.75rem; }
  .njdoh-tips__grid { grid-template-columns: 1fr; }
  .njdoh-tips__image-cell { grid-column: 1; }
}

@media (max-width: 575.98px) {
  .njdoh-triage { grid-template-columns: 1fr; }
}
