/* =============================================================================
   The screens outside the seven routes (#74): 404, legal pages, search.
   Design: docs/design/ntc-web.figcraft boards 12, 15 and 16.
   ========================================================================== */

/* 404 — reuses the landing's copy column and owned photo; the block behind the
   photo is purple here, as board 12 draws it. */
.ntc-notfound .ntc-lclub__copy .ntc-ltitle { margin-top: 20px; }
.ntc-notfound__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 40px 0 0; }
.ntc-owned--purple::before { background: var(--color-secondary); }

/* Vertical rhythm. The gutter is the routes' own (20px on the 1440 frame);
   moving routes onto the Terrace 1280 column is #58-#62. */
.ntc-sec--legal,
.ntc-sec--searchempty { padding-block: 64px 120px; }

/* Legal page — a 720px reading column. The body is the club's own Gutenberg
   content, so these rules style plain blocks rather than named classes. */
.ntc-legal { max-width: 720px; display: flex; flex-direction: column; gap: 32px; }
.ntc-legal__meta {
  margin: 0;
  color: var(--color-accent);
  font-family: 'Fira Sans Condensed', 'Fira Sans Condensed Fallback', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.ntc-legal__prose > * { margin-block: 0 24px; }
.ntc-legal__prose > *:last-child { margin-bottom: 0; }
html .ntc-legal__prose h2 {
  margin-top: 48px;
  color: var(--color-white);
  font-family: 'Anton', 'Anton Fallback', sans-serif;
  font-size: 44px;
  line-height: 95%;
  text-transform: uppercase;
}
.ntc-legal__prose p,
.ntc-legal__prose li {
  color: var(--color-text);
  font-size: 20px;
  line-height: 155%;
}
.ntc-legal__prose figure.wp-block-table { margin: 0 0 24px; }
.ntc-legal__prose table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-ink-raised);
}
.ntc-legal__prose th,
.ntc-legal__prose td {
  padding: 16px 24px;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
  font-size: 18px;
  line-height: 150%;
  color: var(--color-text);
}
.ntc-legal__prose tr:last-child th,
.ntc-legal__prose tr:last-child td { border-bottom: 0; }
.ntc-legal__prose td:first-child { width: 200px; color: var(--color-white); font-weight: 600; }

/* Search */
.ntc-search__more { margin: 48px 0 0; }
.ntc-searchempty {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 56px 64px;
  background: var(--color-ink-raised);
  border: 1px solid var(--color-line);
}
html .ntc-searchempty__title {
  margin: 0;
  color: var(--color-white);
  font-family: 'Anton', 'Anton Fallback', sans-serif;
  font-size: 64px;
  line-height: 92%;
  text-transform: uppercase;
}
.ntc-searchempty .ntc-lbody { margin: 0; }
.ntc-searchempty__link { font-weight: 600; }

@media (max-width: 767px) {
  .ntc-sec--legal,
  .ntc-sec--searchempty { padding-block: 40px 80px; }
  html .ntc-sitefooter__legal { justify-content: center; }
  .ntc-notfound__actions { justify-content: center; }
  html .ntc-legal__prose h2 { font-size: 32px; }
  .ntc-legal__prose p, .ntc-legal__prose li { font-size: 17px; }
  .ntc-legal__prose td { display: block; width: auto; padding: 4px 16px; border-bottom: 0; font-size: 16px; }
  .ntc-legal__prose td:first-child { width: auto; padding-top: 16px; }
  .ntc-legal__prose tr { display: block; border-bottom: 1px solid var(--color-line); padding-bottom: 12px; }
  .ntc-searchempty { padding: 32px 24px; }
  html .ntc-searchempty__title { font-size: 36px; }
}

/* "Privacy" sets narrower than the 44px tap minimum at the footer's text size. */
html .ntc-sitefooter__legal .ntc-sitefooter__link { min-width: var(--tap-min); justify-content: center; }
