/*
Theme Name: Nexus Theme Shell
Theme URI: https://example.com
Author: Kingdom Nexus
Description: Minimal WordPress theme shell for Kingdom Nexus. Safe defaults that render WP pages/posts normally.
Version: 1.1.0
Text Domain: nexus-shell
*/

/*
  IMPORTANT:
  - Keep this theme visually neutral.
  - The Kingdom Nexus plugin provides most UI; avoid layout rules that break app screens.
*/

:root {
  --nxs-bg: #f5f7fa;
  --nxs-card: #ffffff;
  --nxs-text: #1f2933;
  --nxs-muted: #6b7280;
  --nxs-border: #d1d5db;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--nxs-text);
  background: var(--nxs-bg);
}

/* -------------------------------------------------
   Standard WP content (safe / neutral)
------------------------------------------------- */

.site-main {
  padding: 20px;
}

.entry-title {
  margin: 0 0 10px;
  font-size: 22px;
}

.entry-title a {
  color: inherit;
  text-decoration: none;
}

.entry-title a:hover {
  text-decoration: underline;
}

.entry-content {
  line-height: 1.6;
}

.pagination {
  max-width: 920px;
  margin: 22px auto;
}

/* -------------------------------------------------
   404 / Empty State — FINAL (matches old design)
------------------------------------------------- */

.nexus-wrap {
  min-height: 80vh;
  width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexus-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border: none;
}

.nexus-card img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 32px;
}

.nexus-card h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px;
}

.nexus-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 16px;
}

.nexus-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 auto 24px;
  text-align: left;
  max-width: 420px;
  color: #4b5563;
}

/* -------------------------------------------------
   Actions
------------------------------------------------- */

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.actions a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.15s ease;
}

.actions .home {
  background: #1f2933;
  color: #ffffff;
}

.actions .home:hover {
  background: #111827;
}

.actions .back {
  border: 1px solid #d1d5db;
  color: #1f2933;
}

.actions .back:hover {
  background: #f3f4f6;
}