
:root {
  --njdoh-green-dark:   #3d6b08;   /* white text passes AA (6.2:1) */
  --njdoh-green-darker: #2f5306;
  --njdoh-green-tint:   #f1f8ea;
  --njdoh-blue-tint:    #eaf5fb;
  --njdoh-rule:         #edf2f7;
}

/* --- Shared ------------------------------------------------------------- */

.njdoh-band {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 5rem 0;
  font-family: inherit;
  color: var(--njdoh-ink);
  border-bottom: 1px solid var(--njdoh-border);
  -webkit-font-smoothing: antialiased;
}

.njdoh-band--navy { background: var(--njdoh-surface-tint); color: #ffffff; border-bottom: 0; }
.njdoh-band--white { background: #ffffff; }
.njdoh-band--tint { background: #f8fbfd; }

.njdoh-band__head { margin-bottom: 2.25rem; }
.njdoh-band--center .njdoh-band__head { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }

.njdoh-band__title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.625rem, 2.2vw + 0.8rem, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--njdoh-navy);
  text-wrap: balance;
}

.njdoh-band--navy .njdoh-band__title { color: var(--njdoh-navy); }

.njdoh-band__intro { margin: 0.75rem 0 0; font-size: 1.125rem; line-height: 1.6; color: #333333; }
.njdoh-band--navy .njdoh-band__intro { color: #333333; }

.njdoh-band a { color: var(--njdoh-blue); }
.njdoh-band a:hover { color: var(--njdoh-navy); }
.njdoh-band a:focus-visible { outline: 3px solid var(--njdoh-teal); outline-offset: 2px; }

.njdoh-icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  flex-shrink: 0;
}

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


/* --- Get care now ------------------------------------------------------- */

.njdoh-doors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.njdoh-doors > * { display: flex; min-width: 0; }

.njdoh-band .njdoh-door {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.75rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 16, 30, 0.2);
  color: var(--njdoh-ink);
  text-decoration: none;
}

.njdoh-band .njdoh-door:hover { color: var(--njdoh-ink); text-decoration: none; }
.njdoh-band .njdoh-door:hover .njdoh-door__title { text-decoration: underline; }
.njdoh-band .njdoh-door:focus-visible { outline: 3px solid #8fd3ec; outline-offset: 4px; }

.njdoh-door__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.njdoh-door__icon .njdoh-icon { font-size: 1.9rem; }

.njdoh-door__title {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--njdoh-navy);
}

.njdoh-door__text {
  flex: 1;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
}

.njdoh-door__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--njdoh-rule);
  font-size: 0.9375rem;
  font-weight: 700;
}

.njdoh-door__cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.njdoh-door__cta-icon .njdoh-icon { font-size: 1.2rem; }
.njdoh-door:hover .njdoh-door__cta-icon { transform: translateX(3px); }

.njdoh-door--green .njdoh-door__icon,
.njdoh-door--green .njdoh-door__cta-icon { background: var(--njdoh-green-tint); color: var(--njdoh-green-dark); }
.njdoh-door--green .njdoh-door__cta { color: var(--njdoh-green-dark); }

.njdoh-door--blue .njdoh-door__icon,
.njdoh-door--blue .njdoh-door__cta-icon { background: var(--njdoh-blue-tint); color: var(--njdoh-blue); }
.njdoh-door--blue .njdoh-door__cta { color: var(--njdoh-blue); }


/* --- Do the new rules apply to you? ------------------------------------- */

/* Each change is ONE card: navy top (date, title, intro) and white bottom
   (list, note). Where subgrid is supported, the two cards share row lines so
   the lists start at the same height. */
.njdoh-changes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
}

.njdoh-change {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--njdoh-border);
  border-radius: 12px;
  background: #ffffff;
}

.njdoh-change__head {
  padding: 1.75rem;
  background: var(--njdoh-navy);
  color: #ffffff;
}

.njdoh-change__date {
  display: block;
  margin: 0 0 1.25rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}

.njdoh-change__title {
  margin: 0;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.njdoh-change__intro { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: #c9d6e3; }

.njdoh-change__body { flex: 1; padding: 1.5rem 1.75rem 1.75rem; }

.njdoh-change__note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--njdoh-rule);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .njdoh-changes { grid-template-rows: auto 1fr; row-gap: 0; }
    .njdoh-change { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  }
}

/* Check list. --dots is for lists of who is affected, so a check mark does
   not read as "you are fine". */
.njdoh-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.njdoh-checklist li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
}

.njdoh-checklist li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.3rem;
  width: 0.4rem;
  height: 0.75rem;
  border: solid #56930c;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.njdoh-checklist--dots li::before {
  left: 0.3rem;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--njdoh-blue);
  transform: none;
}

.njdoh-notice {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--njdoh-border);
  border-radius: 12px;
}

.njdoh-notice__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--njdoh-blue-tint);
  color: var(--njdoh-blue);
}

.njdoh-notice__text { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: #475569; }


/* --- Try to keep your coverage ------------------------------------------ */

/* One white panel, four rows. Number on the left, bold lead and detail on
   the right. Rows read top to bottom, so the order is obvious. */
.njdoh-action-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  background: #ffffff;
  border: 1px solid var(--njdoh-border);
  border-radius: 12px;
  overflow: hidden;
}

.njdoh-action {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: start;
  margin: 0;
  padding: 1.375rem 1.75rem;
  border-top: 1px solid var(--njdoh-rule);
}

.njdoh-action:first-child { border-top: 0; }

.njdoh-action__num {
  grid-row: 1 / span 2;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--njdoh-blue);
}

.njdoh-action__title {
  grid-column: 2;
  margin: 0 0 0.25rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--njdoh-navy);
}

.njdoh-action__text { grid-column: 2; margin: 0; font-size: 0.9375rem; line-height: 1.6; color: #475569; }

.njdoh-band__actions { display: flex; justify-content: center; margin-top: 2rem; }

.njdoh-band .njdoh-btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  background: var(--njdoh-green-dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.18s ease;
}

.njdoh-band .njdoh-btn-green:hover { background: var(--njdoh-green-darker); color: #ffffff; text-decoration: none; }



/* --- Get help ----------------------------------------------------------- */

.njdoh-help-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.njdoh-help-grid > * { display: flex; min-width: 0; }

.njdoh-band .njdoh-help-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--njdoh-border);
  border-radius: 12px;
  color: var(--njdoh-ink);
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.njdoh-band .njdoh-help-tile:hover { border-color: var(--njdoh-blue); color: var(--njdoh-ink); text-decoration: none; }
.njdoh-band .njdoh-help-tile:hover .njdoh-help-tile__value { text-decoration: underline; }

.njdoh-help-tile__chip {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.njdoh-help-tile__chip .njdoh-icon { font-size: 1.6rem; }
.njdoh-help-tile__chip--navy { background: var(--njdoh-navy); color: #ffffff; }
.njdoh-help-tile__chip--blue { background: var(--njdoh-blue-tint); color: var(--njdoh-blue); }
.njdoh-help-tile__chip--green { background: var(--njdoh-green-tint); color: var(--njdoh-green-dark); }

.njdoh-help-tile__body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.njdoh-help-tile__label { font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: #475569; }
.njdoh-help-tile__value { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--njdoh-navy); }


/* --- Tablet ------------------------------------------------------------- */

@media (max-width: 991.98px) {
  .njdoh-band { padding: 3.5rem 0; }
  .njdoh-doors { gap: 1rem; }
  .njdoh-band .njdoh-door { padding: 1.4rem; }
  .njdoh-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .njdoh-help-grid { grid-template-columns: 1fr 1fr; }
}


/* --- Phones: condensed -------------------------------------------------- */

@media (max-width: 767.98px) {
  /* Side padding matches .njdoh-landing-hero on phones, so the hero, callout,
     card bands and footnote all share one left edge. */
  .njdoh-band { padding: 2rem; }
  .njdoh-resources-section { padding-left: 2rem; padding-right: 2rem; }
  .njdoh-band__head { margin-bottom: 1.25rem; }
  .njdoh-band__intro { margin-top: 0.5rem; font-size: 1rem; line-height: 1.5; }

  /* Doors: icon beside the title, text and link underneath */
  .njdoh-doors { grid-template-columns: 1fr; gap: 0.75rem; }

  .njdoh-band .njdoh-door {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: center;
    padding: 1.5rem;
  }

  .njdoh-door__icon { grid-column: 1; grid-row: 1; width: 44px; height: 44px; margin: 0; border-radius: 10px; }
  .njdoh-door__icon .njdoh-icon { font-size: 1.5rem; }
  .njdoh-door__title { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.125rem; }
  .njdoh-door__text { grid-column: 1 / -1; grid-row: 2; margin: 0.6rem 0 0; font-size: 0.875rem; line-height: 1.45; }
  .njdoh-door__cta { grid-column: 1 / -1; grid-row: 3; margin-top: 0.6rem; padding-top: 0.6rem; font-size: 0.875rem; }
  .njdoh-door__cta-icon { width: 28px; height: 28px; }
  .njdoh-door__cta-icon .njdoh-icon { font-size: 1.05rem; }

  /* Change cards */
  .njdoh-changes { grid-template-columns: 1fr; row-gap: 1rem; }
  .njdoh-change__head { padding: 1.5rem; }
  .njdoh-change__date { margin-bottom: 0.6rem; padding-bottom: 0.6rem; font-size: 1.5rem; }
  .njdoh-change__title { margin-bottom: 0.4rem; font-size: 1.25rem; }
  .njdoh-change__intro { font-size: 0.875rem; line-height: 1.5; }
  .njdoh-change__body { padding: 1rem 1.1rem; }
  .njdoh-checklist { gap: 0.4rem; }
  .njdoh-checklist li { font-size: 0.875rem; line-height: 1.45; }
  .njdoh-change__note { margin-top: 0.85rem; padding-top: 0.75rem; font-size: 0.875rem; line-height: 1.5; }
  .njdoh-notice { margin-top: 1.25rem; padding: 0.85rem 1rem; gap: 0.75rem; }
  .njdoh-notice__icon { width: 32px; height: 32px; }
  .njdoh-notice__text { font-size: 0.875rem; }

  /* Steps: number on the left, text on the right */
  .njdoh-steps { grid-template-columns: 1fr; gap: 0.75rem; }

  .njdoh-step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 0.85rem;
    row-gap: 0.25rem;
    align-items: start;
    padding: 1rem 1.1rem;
  }

  .njdoh-step__num { grid-column: 1; grid-row: 1; width: 40px; height: 40px; margin: 0; font-size: 1rem; }
  .njdoh-step__title { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .njdoh-step__text { grid-column: 2; font-size: 0.875rem; line-height: 1.5; }
  .njdoh-band__actions { margin-top: 1.25rem; }
  .njdoh-band .njdoh-btn-green { width: 100%; }

  /* Help tiles */
  .njdoh-help-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .njdoh-band .njdoh-help-tile { gap: 0.85rem; padding: 0.8rem 1rem; }
  .njdoh-help-tile__chip { width: 36px; height: 36px; }
  .njdoh-help-tile__chip .njdoh-icon { font-size: 1.3rem; }
  .njdoh-help-tile__label { font-size: 0.8125rem; }
  .njdoh-help-tile__value { font-size: 1rem; }
}
