/* Footer: the band at the end of the scroll area: brand, then contact, site links and MNPD's profiles in columns, then
   the copyright and legal links. On every screen size (phones stack the brand and contact, and pair the two short lists). */

.site-footer { display: none; }
.ncc-footer { margin: 0 0 0 calc(-1 * var(--ncc-sbw, 0px)); /* bleed across the scroll area's left gutter; the right one holds the scrollbar, and reaching into it scrolled the page sideways */ padding: 0 var(--ncc-gutter) 0 calc(var(--ncc-gutter) + var(--ncc-sbw, 0px)); color: var(--ncc-ink); background: var(--ncc-band); box-shadow:none; }
.ncc-footer-cols, .ncc-footer-bottom { max-width: var(--ncc-max); margin: 0 auto; }
.ncc-footer-cols { display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 40px 0 0; }
.ncc-footer-brand { flex: none; display: flex; align-self: flex-start; margin-right: 32px; } /* the seal alone (2026-11-17): its own narrow column, so the four link columns share the rest of the row evenly; 32px more than the column gap sets it apart from them */
.ncc-footer-brand img { flex: none; width: 120px; height: 120px; object-fit: contain; /* the 300px seal: sharp at 2x (the 192px one blurred at this size) */ border-radius: 50%; outline: 1px solid var(--ncc-edge); outline-offset: -1px; }
.ncc-footer-col { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; font-size: var(--ncc-step-small); line-height: 1.45; }
@media (min-width: 768px) and (max-width: 1279px) { /* tablets: the seal heads the footer on its own row (beside the links it wrapped Cases by type and Follow MNPD to an uneven second row) */
  .ncc-footer-brand { flex-basis: 100%; margin-right: 0; }
  .ncc-footer-brand img { width: 72px; height: 72px; }
}
@media (min-width: 768px) and (max-width: 959px) { /* four columns don't fit: two by two under the seal */
  .ncc-footer-cols { display: grid; grid-template-columns: 1fr 1fr; }
  .ncc-footer-brand { grid-column: 1 / -1; }
}
.ncc-footer-col--contact { flex-basis: 300px; } /* the email address needs the width; on phones it takes a row of its own and the two short lists pair up under it */
.ncc-footer-col h2 { margin: 0 0 4px; color: var(--ncc-ink); font: 500 var(--ncc-step-small)/1.45 var(--ncc-font) !important; letter-spacing: 0; }
.ncc-footer-col :is(a, p) { display: flex; align-items: center; min-height: 28px; }
html[data-theme] .ncc-footer :is(.ncc-footer-col p, .ncc-footer-brand p:not(.ncc-wordmark)) { color: var(--ncc-secondary) !important; } /* the plain lines read as the links beside them do, not as ink */
.ncc-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; margin-top: 32px; padding: 0 0 32px; /* near the band's 40px top padding: 20px left the copyright line crowding the bottom edge */ color: var(--ncc-secondary); font-size: var(--ncc-step-small); line-height: 1.45; }
.ncc-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.ncc-footer .ncc-footer-legal > a { display: flex; align-items: center; min-height: 28px; color: inherit !important; text-decoration: none !important; } /* as the column links above: plain at rest, underlined on hover (they were the footer's only underlined links) */
@media (hover: hover) {
  .ncc-footer .ncc-footer-legal > a:hover { color: var(--ncc-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; }
}
@media (max-width: 767px) {
  .ncc-footer-cols { gap: 20px 24px; padding-top: 32px; } /* Site and Cases by type fit side by side down to a 320px screen's 280px of content: two 128px columns. Rows 20px apart (was 32): the footer was 545pt on a 874pt phone, and the cases page's Load more scrolled up under the header (2026-11-17) */
  .ncc-footer-col { flex-basis: 128px; }
  .ncc-footer-col--contact { flex-basis: 100%; }
  .ncc-footer-brand { flex-basis: 100%; margin-right: 0; }
  .ncc-footer-brand img { width: 72px; height: 72px; } /* phones: the seal heads the stack at the header's scale, not as a 120px block over the links */
  /* Site and Cases by type pair up; Follow MNPD takes the next row whole, its four names in a line as the legal links are (alone in a half row it left the other half empty) */
  .ncc-footer-col--social { flex-basis: 100%; flex-flow: row wrap; column-gap: 24px; }
  .ncc-footer-col--social h2 { flex-basis: 100%; }
  .ncc-footer-col :is(a, p) { min-height: 28px; } /* 44px rows read as scattered lines (2026-11-16); 28px keeps each link over the 24px minimum target */
  .ncc-footer .ncc-footer-legal > a { min-height: 44px; } /* touch rows */
  .ncc-footer-bottom { margin-top: 20px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
/* Phones, tidied (2026-11-17, "kind of a mess"): every group had the same 20px gap as its own 28px rows, so the stack read as one
   long list; the 72px seal outweighed everything under it; and the copyright sat mid-list at link size. Now: a 48px seal, 32px
   between groups, and the legal links then a smaller copyright under a hairline. */
@media (max-width: 767px) {
  .ncc-footer-cols { row-gap: 32px; }
  .ncc-footer-brand img { width: 48px; height: 48px; }
  .ncc-footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--ncc-divider); }
  .ncc-footer-legal { order: -1; column-gap: 20px; }
  .ncc-footer .ncc-footer-legal > a { margin-block: -8px; } /* 44px touch rows that sit on the 28px rhythm */
  .ncc-footer-bottom > span { margin-top: 8px; font-size: var(--ncc-text-sm); line-height: 1.45; } /* 13px: the fine print under the links */
}
@media (max-width: 359px) { /* 320px: the paired lists wrapped "Unsolved homicides" and "Unidentified people" to two lines each; one list a row instead */
  .ncc-footer-col { flex-basis: 100%; }
}
