:root {
  --brand: #0b6ea8;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 14px;
}

/* ── Hero callout ─────────────────────────────────────────────────────────── */
.page-content .hero {
  background: linear-gradient(180deg, #e6f3fb, #f8fafc);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
}

/* main.css sets .page-content p { margin-bottom: 1.25rem; color: #444 }
   — restore the spatial intent inside .hero */
.page-content .hero p {
  margin: 0 0 0.75rem 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.page-content .hero p:last-of-type {
  margin-bottom: 0;
}

/* main.css sets .page-content a { color: #5cbbea; font-weight: 500 }
   — restore brand color for links inside hero and datatype-examples */
.page-content .hero a,
.page-content .datatype-examples a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.page-content .hero a:hover,
.page-content .datatype-examples a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* ── Datatype examples grid ───────────────────────────────────────────────── */
.page-content .datatype-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.page-content .datatype-examples figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
  justify-self: center;
}

.page-content .datatype-examples figcaption {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
  text-align: center;
  width: 100%;
}

.page-content .datatype-examples img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 749;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  display: block;
}

.page-content section.spatial-callout figure {
  padding: 0;
}

.page-content .spatial-callout-compact {
  padding: 10px 12px;
  border-radius: 10px;
}

/* ── Search panel ─────────────────────────────────────────────────────────── */
.page-content .search-panel {
  margin-top: 1.5rem;
}

/* main.css sets .page-content h2 { font-family: Crimson Pro; border-bottom;
   margin-top: 2.5rem } — reset for the search panel heading */
.page-content .search-panel h2 {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  font-variant: normal;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.page-content .search-panel p {
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.page-content .search-help {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.page-content .tool-col-request p {
  color: var(--ink);
  font-size: 0.95rem;
  margin: 0 0 10px 0;
}

/* ── Spatial tools layout ─────────────────────────────────────────────────── */
.page-content .search-panel-inner {
  padding: 0;
}

.spatial-tools-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 900px) {
  .spatial-tools-row {
    grid-template-columns: 1fr;
  }
}

.tool-col {
  min-width: 0;
}

.tool-col-request {
  background: #fff7e6;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 17px;
  max-width: 420px;
}

/* ── Search fields ────────────────────────────────────────────────────────── */
.search-field {
  display: flex;
  flex-wrap: nowrap;
}

.search-field input {
  flex: 1 1 auto;
  min-width: 0;
}

.search-field button {
  white-space: nowrap;
}
