/* Notdienst index: a three-column dispatch board. Homepage colors, not the old stacked city lists. */

.nd-intro { padding: 28px 0 8px; }
.crumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}
.crumb a { color: var(--green-deep); text-decoration: none; font-weight: 700; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nd-intro h1 { max-width: 14em; }
.nd-intro .lead {
  max-width: 40em;
  margin-top: 14px;
  color: var(--muted);
}
.nd-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 22px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--ink);
  color: #F4FBF7;
}
.nd-alert-num {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nd-alert-num span {
  display: block;
  margin-top: 4px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  color: rgba(244, 251, 247, 0.8);
}
.nd-alert p { margin: 0; font-size: 16px; }
.nd-alert a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}
.nd-alert a:hover { background: var(--mint); }

header.site nav.desk a[aria-current="page"],
header.site nav.mob a[aria-current="page"] { color: var(--ink); }

.nd-note {
  max-width: 48em;
  margin: 18px 0 0;
  color: var(--muted);
}
.nd-board {
  margin-top: 18px;
  padding: 6px 22px;
  border-radius: 22px;
  background: var(--card);
}
.nd-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0 16px;
  border-top: 1px solid var(--line);
}
.nd-board .nd-row:first-child { border-top: 0; }
.nd-row header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.nd-row h2 { font-size: 26px; line-height: 1.15; }
.nd-row header span {
  flex: 0 0 auto;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nd-row > p { margin: 0; color: var(--muted); font-size: 15px; }
.nd-cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  margin-top: 6px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.nd-cities a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.nd-cities a + a { box-shadow: inset 1px 0 0 var(--line); }
.nd-cities a:hover { background: var(--mint); color: var(--green-deep); }

.nd-bounds { margin-top: 36px; }
.nd-bounds > h2 { margin-bottom: 14px; font-size: clamp(26px, 2.6vw, 34px); }
.nd-bound-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.nd-bound-grid article {
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: var(--mint);
}
.nd-bound-grid h3 { margin-bottom: 6px; font-size: 16px; }
.nd-bound-grid p { color: var(--muted); font-size: 14.5px; }
.nd-bound-grid a { color: var(--green-deep); }

.nd-also { margin-top: 28px; }
.nd-also > h2 { margin-bottom: 12px; font-size: clamp(26px, 2.6vw, 34px); }
.nd-also-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.nd-also-row a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card);
  text-decoration: none;
}
.nd-also-row a:hover { background: var(--mint); }
.nd-also-row strong { font-size: 16px; }
.nd-also-row span { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .nd-alert { flex-wrap: wrap; }
  .nd-bound-grid,
  .nd-also-row { grid-template-columns: 1fr 1fr; }
}
/* Single incident in one city. */
.ndc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.ndc-steps article {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.ndc-steps span {
  display: block;
  color: var(--green);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.ndc-steps h2 {
  margin: 8px 0 6px;
  font-size: 22px;
}
.ndc-steps p { color: var(--muted); }

.ndc-void {
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.ndc-void h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.ndc-void p { color: var(--muted); }
.ndc-void a.ndc-day {
  display: inline-flex;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}
.ndc-void a.ndc-day:hover { background: var(--green-deep); }

.ndc-switch { margin-top: 22px; }
.ndc-switch p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ndc-cities {
  display: grid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.ndc-cities.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ndc-cities.cols-auto { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.ndc-cities.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ndc-cities a,
.ndc-cities span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.ndc-cities a + a,
.ndc-cities span + a,
.ndc-cities a + span { box-shadow: inset 1px 0 0 var(--line); }
.ndc-cities a:hover { background: var(--mint); color: var(--green-deep); }
.ndc-cities span[aria-current="page"] { background: var(--ink); color: #fff; }

.ndc-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.ndc-firm {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px 18px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.ndc-firm .logo-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--mint);
  color: var(--green-deep);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
}
.ndc-firm .logo-mark picture,
.ndc-firm .logo-mark img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
}
.ndc-firm h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}
.ndc-firm h2 a { color: inherit; text-decoration: none; }
.ndc-firm h2 a:hover { color: var(--green-deep); }
.ndc-firm .addr { color: var(--muted); font-size: 14px; }
.ndc-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  vertical-align: 3px;
}
.ndc-call {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  white-space: normal;
}
.ndc-call:hover { background: var(--green-deep); }
.ndc-phones + .ndc-void { margin-top: 12px; }

.ndc-know {
  margin: 8px 0 36px;
  color: var(--muted);
}
.ndc-know a { color: var(--green-deep); font-weight: 750; }

@media (max-width: 800px) {
  .ndc-steps,
  .ndc-firm { grid-template-columns: 1fr; }
  .ndc-call { justify-content: center; }
  .ndc-cities.cols-5 a,
  .ndc-cities.cols-5 span { font-size: 12px; letter-spacing: -0.02em; }
}

@media (max-width: 640px) {
  .nd-board { padding: 4px 16px; }
  .nd-alert { padding: 16px; }
  .nd-row header { align-items: flex-start; }
  .nd-cities a {
    min-height: 38px;
    padding: 6px 0;
    font-size: 12px;
    letter-spacing: -0.02em;
  }
  .nd-bound-grid,
  .nd-also-row { grid-template-columns: 1fr; }
}
