
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* Brand */
  --njdoh-navy:           #163753;
  --njdoh-navy-mid:       #1f4a70;  /* middle stop of the hero gradient */
  --njdoh-blue:           #266091;
  --njdoh-teal:           #45a0c2;  /* decoration only: borders, rules, dots. Not text on white. */
  --njdoh-blue-light:     #88b8e0;
  --njdoh-sky:            #5dade2;  /* text and links on navy only */
  --njdoh-link:           #185fa5;

  /* Status */
  --njdoh-danger:         #720002;
  --njdoh-success:        #56930c;  /* borders and checks only, not text */
  --njdoh-warning:        #f59e0b;  /* rules only, not text */
  --njdoh-myth:           #b3261e;
  --njdoh-fact:           #146c2e;
  --njdoh-alert-surface:  #fff8e1;
  --njdoh-alert-accent:   #92400e;
  --njdoh-alert-text:     #78350f;

  /* Rating scale levels (AQI, UV index). Always paired with a text label. */
  --njdoh-level-1:         #56930c;
  --njdoh-level-1-surface: #f0faf0;
  --njdoh-level-2:         #f59e0b;
  --njdoh-level-2-surface: #fffbeb;
  --njdoh-level-3:         #e07b22;
  --njdoh-level-3-surface: #fff5eb;
  --njdoh-level-4:         #c94f1a;
  --njdoh-level-4-surface: #fff0eb;
  --njdoh-level-5:         #720002;
  --njdoh-level-5-surface: #fde8e8;

  /* Text */
  --njdoh-white:          #ffffff;
  --njdoh-ink:            #1a1c1e;
  --njdoh-text:           #333333;
  --njdoh-text-muted:     #555555;
  --njdoh-text-slate:     #495057;
  --njdoh-text-on-dark:   #f5f5f5;
  --njdoh-hotline-text:   #b5cef0;

  /* Surfaces */
  --njdoh-surface-muted:  #f4f6f9;
  --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-surface-alt:    #f8f9fa;
  --njdoh-surface-panel:  #f5f7f9;

  /* Lines */
  --njdoh-border:         #dde8f5;  /* card and container borders */
  --njdoh-border-strong:  #c5d8ea;  /* list cards that need more edge */
  --njdoh-divider:        #d5dde5;  /* rules between items, table borders */
  --njdoh-pill-border:    #8a9bb0;  /* outlined pills (jump links) */

  /* Landing palette */
  --njdoh-blue-tint:       #eaf5fb;  /* icon chips, split media panel */
  --njdoh-green-dark:      #3d6b08;  /* green text and buttons (white text passes AA) */
  --njdoh-green-darker:    #2f5306;
  --njdoh-green-tint:      #f1f8ea;
  --njdoh-surface-soft:    #f8fbfd;  /* tinted landing bands */
  --njdoh-surface-hover:   #f6f9fb;  /* row and tile hover */
  --njdoh-surface-warning: #fef3dd;  /* highlighted link list item */
  --njdoh-success-surface: #d4edda;
  --njdoh-success-text:    #155724;
  --njdoh-rule:            #edf2f7;  /* hairline inside white panels */
  --njdoh-border-neutral:  #ced4da;  /* neutral button border */
  --njdoh-border-field:    #6c7a89;  /* form field edges: 4.4:1 on white (needs 3:1) */

  /* Layout */
  --njdoh-max-width:      1555px;
  --njdoh-wrap:           1140px;   /* content width of landing bands */
  --njdoh-wrap-wide:      1500px;   /* hero and CTA row on directory pages */
  --njdoh-gutter:         15px;
  --njdoh-gutter-sm:      2rem;     /* phones */
  --njdoh-hero-pull:      2.5rem;   /* how far a hero tucks under the site header */
  --njdoh-hero-overlap:   3rem;     /* how far the CTA row overlaps the hero */
  --njdoh-radius-sm:      6px;
  --njdoh-radius:         8px;
  --njdoh-radius-lg:      10px;
  --njdoh-radius-xl:      10px;     /* deprecated: same as --njdoh-radius-lg. Old page CSS may still use it */
  --njdoh-sticky-offset:  0px;      /* site header height, if it stays pinned on phones */

  /* Elevation: the one shadow family, navy tinted */
  --njdoh-shadow-hover:   0 8px 24px rgba(22, 55, 83, 0.12);  /* linked cards on hover */
  --njdoh-shadow-raised:  0 4px 14px rgba(22, 55, 83, 0.18);  /* at rest, only where a card overlaps a hero or band */
}

/* --------------------------------------------------------------------------
   Template resets
   -------------------------------------------------------------------------- */

/* The template's page title is replaced by each page's own H1 */
.pageTitle { display: none; }

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

/* Anchor wrapper (<p class="njdoh-anchor"><a name="x"></a></p>) takes no space */
.njdoh-anchor { margin: 0; height: 0; line-height: 0; }

/* Safety net for stray sideways overflow. "clip" (unlike "hidden") does not
   turn body into a scroll container, so sticky and fixed bars keep working. */
body {
  overflow-x: hidden;
  overflow-x: clip;
}

.njdoh-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Focus
   -------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--njdoh-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Dark surfaces: white ring */
.njdoh-topic-hero a:focus-visible,
.njdoh-landing-hero a:focus-visible,
.njdoh-hotline a:focus-visible,
.njdoh-cta-band a:focus-visible,
.njdoh-cta-card a:focus-visible,
.njdoh-action-card a:focus-visible,
.njdoh-scale-aside a:focus-visible,
.njdoh-provider-card__header a:focus-visible {
  outline-color: var(--njdoh-white);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Labels
   -------------------------------------------------------------------------- */

/* Small uppercase label above a heading. On navy or blue by default;
   --on-light on white or tints; --danger for a get-care-now label.
   Components set its spacing (for example .njdoh-cta-card .njdoh-eyebrow). */
.njdoh-eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--njdoh-surface-pale);
}

/* Eyebrow row in a hero: label plus language toggle */
.njdoh-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin: 0 0 0.85rem;
}

.njdoh-hero-meta .njdoh-eyebrow { margin: 0; }

/* Back link in a hero (topic and landing): the parent page */
.njdoh-eyebrow--link,
.njdoh-eyebrow--link:visited {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--njdoh-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Same label on white */
.njdoh-eyebrow--on-light { margin-bottom: 0.5rem; color: var(--njdoh-blue); }

/* Back link on a light surface */
.njdoh-eyebrow--on-light.njdoh-eyebrow--link,
.njdoh-eyebrow--on-light.njdoh-eyebrow--link:visited { color: var(--njdoh-link); }
.njdoh-eyebrow--on-light.njdoh-eyebrow--link:hover { color: var(--njdoh-navy); }
.njdoh-eyebrow--danger { margin-bottom: 0.5rem; color: var(--njdoh-danger); }

/* English / Spanish toggle (on navy) */
.njdoh-lang {
  display: inline-flex;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(22, 55, 83, 0.7);
  font-size: 0.875rem;
  font-weight: 700;
}

.njdoh-lang__item {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  line-height: 1.2;
  color: var(--njdoh-white);
  text-decoration: none;
}

a.njdoh-lang__item:hover { background: rgba(255, 255, 255, 0.2); color: var(--njdoh-white); }

.njdoh-lang__item:focus-visible { outline: 3px solid var(--njdoh-white); outline-offset: -3px; }

.njdoh-lang__item--current { background: var(--njdoh-white); color: var(--njdoh-navy); }

/* --------------------------------------------------------------------------
   Buttons (anchors only; TeamSite strips <button> classes)
   Uppercase comes from CSS. Source text stays sentence case.
   -------------------------------------------------------------------------- */


:root .njdoh-btn-navy,
:root .njdoh-btn-outline,
:root .njdoh-btn-neutral,
:root .njdoh-btn-blue,
:root .njdoh-btn-primary,
:root .njdoh-btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--njdoh-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

/* Main action on white */
:root a.njdoh-btn-navy,
:root a.njdoh-btn-navy:visited,
:root input.njdoh-btn-navy { background: var(--njdoh-navy); border-color: var(--njdoh-navy); color: var(--njdoh-white); }
:root a.njdoh-btn-navy:hover,
:root input.njdoh-btn-navy:hover { background: var(--njdoh-navy-mid); border-color: var(--njdoh-navy-mid); color: var(--njdoh-white); text-decoration: none; }

/* Second action on white (neutral and blue are old names for it) */
:root a.njdoh-btn-outline,
:root a.njdoh-btn-outline:visited,
:root input.njdoh-btn-outline,
:root a.njdoh-btn-neutral,
:root a.njdoh-btn-neutral:visited,
:root a.njdoh-btn-blue,
:root a.njdoh-btn-blue:visited { background: var(--njdoh-white); border-color: var(--njdoh-navy); color: var(--njdoh-navy); }
:root a.njdoh-btn-outline:hover,
:root input.njdoh-btn-outline:hover,
:root a.njdoh-btn-neutral:hover,
:root a.njdoh-btn-blue:hover { background: var(--njdoh-surface-blue); border-color: var(--njdoh-navy); color: var(--njdoh-navy); text-decoration: none; }

/* Main action on navy or blue: amber with ink text (8.0:1; hover 11.9:1) */
:root a.njdoh-btn-primary,
:root a.njdoh-btn-primary:visited { background: var(--njdoh-warning); border-color: var(--njdoh-warning); color: var(--njdoh-ink); }
:root a.njdoh-btn-primary:hover { background: #fcd34d; border-color: #fcd34d; color: var(--njdoh-ink); text-decoration: none; }

/* Apply or enroll: at most one per page */
:root a.njdoh-btn-green,
:root a.njdoh-btn-green:visited { background: var(--njdoh-green-darker); border-color: var(--njdoh-green-darker); color: var(--njdoh-white); }
:root a.njdoh-btn-green:hover { background: #234004; border-color: #234004; color: var(--njdoh-white); text-decoration: none; }

/* Text links with an arrow. The arrow takes the text color. */
:root a.njdoh-btn-link,
:root a.njdoh-btn-link-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

:root a.njdoh-btn-link,
:root a.njdoh-btn-link:visited { color: var(--njdoh-navy); }
:root a.njdoh-btn-link:hover { color: var(--njdoh-navy-mid); }
:root a.njdoh-btn-link-light,
:root a.njdoh-btn-link-light:visited { color: var(--njdoh-white); }
:root a.njdoh-btn-link-light:hover { color: var(--njdoh-white); }
:root a.njdoh-btn-link:hover,
:root a.njdoh-btn-link-light:hover { text-decoration-thickness: 3px; }

.njdoh-btn-link::after,
.njdoh-btn-link-light::after {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("/health/assets/img/icons/icon-arrow-right-navy.svg") center / contain no-repeat;
  mask: url("/health/assets/img/icons/icon-arrow-right-navy.svg") center / contain no-repeat;
  transition: transform 0.15s;
}

.njdoh-btn-link:hover::after,
.njdoh-btn-link-light:hover::after { transform: translateX(4px); }

/* Focus: blue ring on light, white ring on dark */
:root .njdoh-btn-navy:focus-visible,
:root .njdoh-btn-outline:focus-visible,
:root .njdoh-btn-green:focus-visible,
:root .njdoh-btn-link:focus-visible { outline: 3px solid var(--njdoh-blue); outline-offset: 2px; }
:root .njdoh-btn-primary:focus-visible,
:root .njdoh-btn-link-light:focus-visible { outline: 3px solid var(--njdoh-white); outline-offset: 2px; }

.njdoh-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
}


/* --------------------------------------------------------------------------
   Notice bar: full-width cyan strip under a hero
   -------------------------------------------------------------------------- */

.njdoh-notice-bar {
  padding: 0.65rem 0;
  background: var(--njdoh-surface-cyan);
  box-shadow: 0 0 0 100vmax var(--njdoh-surface-cyan), 0 1px 0 100vmax var(--njdoh-blue-light);
  clip-path: inset(0 -100vmax -1px);
}

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

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

.njdoh-notice-bar__inner a { font-weight: 600; color: var(--njdoh-navy); 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);
}

/* --------------------------------------------------------------------------
   Callout: "good to know" box
   -------------------------------------------------------------------------- */

.njdoh-callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--njdoh-surface-tint);
  border-left: 4px solid var(--njdoh-teal);
  border-radius: 0 var(--njdoh-radius-sm) var(--njdoh-radius-sm) 0;
}

.njdoh-callout__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--njdoh-navy);
}

.njdoh-callout__text { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--njdoh-navy); }
.njdoh-callout__text + .njdoh-callout__text { margin-top: 0.75rem; }
.njdoh-callout__text a { color: var(--njdoh-link); text-decoration: none; }
.njdoh-callout__text a:hover { text-decoration: underline; }

/* The one thing to remember on a page */
.njdoh-callout--key {
  padding: 1.5rem 1.75rem 1rem;
  border: 2px solid var(--njdoh-navy);
  border-radius: var(--njdoh-radius-sm);
}

.njdoh-callout--key .njdoh-callout__title { font-size: 1.25rem; }
.njdoh-callout--key .njdoh-content-list { margin-bottom: 0; }
.njdoh-callout--key .njdoh-content-list a { color: var(--njdoh-link); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Alert: amber advisory box
   -------------------------------------------------------------------------- */

.njdoh-alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--njdoh-alert-surface);
  border-left: 5px solid var(--njdoh-warning);
  border-radius: 0 var(--njdoh-radius-sm) var(--njdoh-radius-sm) 0;
}

.njdoh-alert__icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 50%;
  background: var(--njdoh-alert-accent);
}

.njdoh-alert__icon img { filter: brightness(0) invert(1); }

.njdoh-alert__content { flex: 1; }

.njdoh-alert__heading { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 700; color: var(--njdoh-alert-accent); }

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

/* --------------------------------------------------------------------------
   Blue CTA band: the closing next step. Add --last when it is the final band,
   so it sits flush on the footer. (Was njdoh-resources-callout on topic pages.)
   -------------------------------------------------------------------------- */

.njdoh-cta-band {
  margin-top: 2rem;
  padding: 3rem 0;
  background: var(--njdoh-blue);
  box-shadow: 0 0 0 100vmax var(--njdoh-blue);
  clip-path: inset(0 -100vmax);
}

/* Sits flush on the footer when it is the last band */
.njdoh-cta-band--last { margin-bottom: -3rem; }
.njdoh-cta-band--last + .njdoh-hotline { margin-top: 3rem; }

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

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

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

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

.njdoh-cta-band__more { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--njdoh-white); }
.njdoh-cta-band__more a { font-weight: 600; color: var(--njdoh-white); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Navy hotline band: crisis and help numbers. (Was also njdoh-contact-band.)
   -------------------------------------------------------------------------- */

.njdoh-hotline {
  margin-bottom: -3rem;
  background: var(--njdoh-navy);
  box-shadow: 0 0 0 100vmax var(--njdoh-navy);
  clip-path: inset(0 -100vmax);
}

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

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

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

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

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

@media (max-width: 767.98px) {
  .njdoh-cta-band__inner { padding: 0 1rem; }

  .njdoh-hotline__inner { padding: 1.5rem 1rem; }
}

/* --------------------------------------------------------------------------
   Urgent line: when to get care now. Lead with <strong>.
   (njdoh-quick__alert in the at-a-glance panel uses the same look.)
   -------------------------------------------------------------------------- */

.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); }

/* --------------------------------------------------------------------------
   Tag: short label. --audience marks a section written for one audience.
   (Was njdoh-tag in landing and njdoh-audience-tag in topic.)
   -------------------------------------------------------------------------- */

.njdoh-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--njdoh-surface-pale);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--njdoh-navy);
}

/* Inside a title, after the text */
:is(h2, h3, h4, a, span) > .njdoh-tag { margin-left: 0.5rem; }

.njdoh-tag--warning { background: var(--njdoh-warning); color: var(--njdoh-ink); }
.njdoh-tag--success { background: var(--njdoh-success-surface); color: var(--njdoh-success-text); }

.njdoh-tag--audience {
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--njdoh-surface-blue);
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   Page meta: last reviewed date, sources and owner. Every public page.
   Last element of the main content (njdoh-topic-content or a band container).
   -------------------------------------------------------------------------- */

.njdoh-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--njdoh-divider);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--njdoh-text-muted);
}

.njdoh-page-meta__item { margin: 0; }
.njdoh-page-meta__label { font-weight: 700; color: var(--njdoh-text-slate); }
.njdoh-page-meta a { color: var(--njdoh-link); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Form fields
   TeamSite removes ids, so each label wraps its control. The label text,
   hint and error are then all read with the field.

   <div class="njdoh-field">
     <label class="njdoh-field__wrap">
       <span class="njdoh-field__label">ZIP code <span class="njdoh-field__req">(required)</span></span>
       <span class="njdoh-field__hint">5 digits, such as 08625</span>
       <input class="njdoh-input njdoh-input--short" type="text" name="zip"
              inputmode="numeric" autocomplete="postal-code" required>
     </label>
   </div>

   Error: add njdoh-field--error, put <span class="njdoh-field__error">Error:
   what to fix</span> after the hint, and aria-invalid="true" on the control.
   Choices: a <fieldset class="njdoh-fieldset"> with a <legend
   class="njdoh-fieldset__legend"> and one <label class="njdoh-choice"> each.
   Submit: <input type="submit" class="njdoh-btn-navy"> inside njdoh-form__actions.
   -------------------------------------------------------------------------- */

.njdoh-field { max-width: 36rem; margin: 0 0 1.5rem; }

.njdoh-field__wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.njdoh-field__label { font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--njdoh-ink); }
.njdoh-field__req { font-weight: 400; color: var(--njdoh-text-slate); }
.njdoh-field__hint { font-size: 0.9375rem; line-height: 1.45; color: var(--njdoh-text-slate); }
.njdoh-field__es { margin-top: -0.3rem; font-size: 0.9375rem; line-height: 1.4; color: var(--njdoh-text-slate); }  /* Spanish label under the English one */
.njdoh-field__error { font-size: 0.9375rem; font-weight: 700; line-height: 1.45; color: var(--njdoh-danger); }

.njdoh-field--error { padding-left: 1rem; border-left: 4px solid var(--njdoh-danger); }

.njdoh-input,
.njdoh-select,
.njdoh-textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0.15rem 0 0;
  padding: 0.6rem 0.85rem;
  background: var(--njdoh-white);
  border: 1px solid var(--njdoh-border-field);
  border-radius: var(--njdoh-radius-sm);
  font-family: inherit;
  font-size: 1rem;           /* 16px or more stops phones zooming in */
  line-height: 1.5;
  color: var(--njdoh-ink);
}

.njdoh-textarea { min-height: 8rem; resize: vertical; }

/* Width hints: size the box to the answer */
.njdoh-input--short { max-width: 10rem; }
.njdoh-input--medium { max-width: 20rem; }

.njdoh-input:focus-visible,
.njdoh-select:focus-visible,
.njdoh-textarea:focus-visible {
  border-color: var(--njdoh-navy);
  outline: 2px solid var(--njdoh-blue);
  outline-offset: 2px;
}

.njdoh-field--error .njdoh-input,
.njdoh-field--error .njdoh-select,
.njdoh-field--error .njdoh-textarea { border: 2px solid var(--njdoh-danger); }

.njdoh-input:disabled,
.njdoh-select:disabled,
.njdoh-textarea:disabled { background: var(--njdoh-surface-tint); color: var(--njdoh-text-muted); cursor: not-allowed; }

/* Checkboxes and radio buttons */
.njdoh-fieldset { min-width: 0; max-width: 36rem; margin: 0 0 1.5rem; padding: 0; border: 0; }

.njdoh-fieldset__legend {
  width: auto;
  margin: 0 0 0.35rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--njdoh-ink);
}

.njdoh-fieldset > .njdoh-field__hint,
.njdoh-fieldset > .njdoh-field__error { display: block; margin: 0 0 0.35rem; }

.njdoh-fieldset.njdoh-field--error { padding-left: 1rem; }

.njdoh-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.6rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--njdoh-ink);
  cursor: pointer;
}

.njdoh-choice__input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.125rem 0 0;
  accent-color: var(--njdoh-navy);
  cursor: pointer;
}

/* Form panel: a white box around the fields, on any page */
.njdoh-form {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  padding: 2rem 2rem 2.25rem;
  background: var(--njdoh-white);
  border: 1px solid var(--njdoh-border-strong);
  border-top: 4px solid var(--njdoh-navy);
  border-radius: var(--njdoh-radius);
}

.njdoh-form__note { margin: 0 0 1.75rem; font-size: 0.9375rem; color: var(--njdoh-text-slate); }
.njdoh-form .njdoh-field:last-of-type { margin-bottom: 0; }

@media (max-width: 575.98px) {
  .njdoh-form { padding: 1.25rem 1rem 1.5rem; }
  .njdoh-form__actions > input { flex: 1 1 auto; }
}

/* Form page layout: a "For reporters" style box on the left, the form on the right.
   The box comes first in the code and moves under the form on phones. */
.njdoh-form-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 17rem) minmax(0, 42rem);
  gap: 3rem;
  align-items: start;
}

.njdoh-form-layout__main > .njdoh-body-text:first-child { margin-top: 0; }
.njdoh-form-layout .njdoh-form { margin-top: 1.5rem; }

.njdoh-form-aside {
  position: sticky;
  top: calc(var(--njdoh-sticky-offset, 0px) + 2rem);
  padding: 1.5rem;
  background: var(--njdoh-surface-tint);
  border-left: 4px solid var(--njdoh-blue-light);
  border-radius: 0 var(--njdoh-radius-sm) var(--njdoh-radius-sm) 0;
}

.njdoh-form-aside__title { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--njdoh-navy); }
.njdoh-form-aside__label { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--njdoh-text-slate); }
.njdoh-form-aside__phone { margin: 0.1rem 0 0; font-size: 1.375rem; font-weight: 700; line-height: 1.3; }
.njdoh-form-aside__phone a { color: var(--njdoh-navy); text-decoration: none; }
.njdoh-form-aside__phone a:hover { text-decoration: underline; }
.njdoh-form-aside__text { margin: 0.1rem 0 0; font-size: 0.9375rem; color: var(--njdoh-text-slate); }

.njdoh-form-aside__links { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--njdoh-border-strong); }
.njdoh-form-aside__links > * + * { margin-top: 0.5rem; }
.njdoh-form-aside__links a { font-size: 1rem; font-weight: 600; color: var(--njdoh-link); text-decoration: underline; text-underline-offset: 2px; }
.njdoh-form-aside__links a:hover { color: var(--njdoh-navy); }

@media (max-width: 991.98px) {
  .njdoh-form-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .njdoh-form-aside { position: static; order: 2; }
}

/* Confirmation after a form is sent */
.njdoh-confirm {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: var(--njdoh-white);
  border: 1px solid var(--njdoh-border-strong);
  border-top: 4px solid var(--njdoh-success);
  border-radius: var(--njdoh-radius);
}

.njdoh-confirm__icon { flex: 0 0 40px; width: 40px; height: 40px; }
.njdoh-confirm__body { min-width: 0; }
.njdoh-confirm__title { margin: 0.35rem 0 0.75rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--njdoh-navy); }
.njdoh-confirm__text { margin: 0 0 0.75rem; font-size: 1rem; line-height: 1.65; color: var(--njdoh-text); }
.njdoh-confirm__text:last-child { margin-bottom: 0; }
.njdoh-confirm__text a { color: var(--njdoh-link); text-decoration: underline; text-underline-offset: 2px; }
.njdoh-confirm__text[lang] { padding-top: 0.75rem; border-top: 1px solid var(--njdoh-rule); color: var(--njdoh-text-slate); }
.njdoh-confirm__actions { margin-top: 1.5rem; }

@media (max-width: 575.98px) {
  .njdoh-confirm { flex-direction: column; gap: 0.5rem; padding: 1.25rem 1rem; }
  .njdoh-confirm__icon { flex-basis: auto; width: 32px; height: 32px; }
}

/* Buttons under the fields. Inputs need the font the links get. */
.njdoh-form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }

input[type="submit"].njdoh-btn-navy,
input[type="reset"].njdoh-btn-outline { font-family: inherit; line-height: 1.5; cursor: pointer; }
