/*
Theme Name: CryptoSpaceX
Theme URI: https://cryptospacex.com/
Author: CryptoSpaceX
Description: Lightweight editorial theme for CryptoSpaceX.
Version: 1.0.4
Text Domain: cryptospacex
*/

:root {
  --ink: #17211b;
  --muted: #4d5c54;
  --line: #d7e0da;
  --paper: #f6f7f4;
  --card: #ffffff;
  --green: #1f7a4d;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; background: #f6f7f4; color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}
a { color: var(--green); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.site-header, .site-footer { background: #10241b; color: #f4f7f5; }
.site-header a, .site-footer a { color: #f4f7f5; }
.bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; font-family: Arial, sans-serif; color: #f4f7f5; }
.logo-mark { width: 36px; height: 36px; display: block; }
.logo-word { white-space: nowrap; }
@media (max-width: 390px) {
  .logo-mark { width: 28px; height: 28px; }
}
.nav { display: flex; gap: 14px; flex-wrap: wrap; font-family: Arial, sans-serif; font-size: 14px; }
.hero, .card, .page, .post { background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.hero { padding: 28px; margin: 24px 0; }
.hero h1 { margin: 0 0 12px; font-size: 34px; line-height: 1.25; }
.lede { font-size: 18px; color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-block; background: var(--green); color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 6px; font-family: Arial, sans-serif; }
.button.alt { background: transparent; color: var(--green); border: 1px solid var(--green); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 28px; }
.card { padding: 16px; }
.card h2, .page h1, .post h1 { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }
th { background: #f0f4f1; }
.example { background: #f3f6f4; border-left: 4px solid var(--green); padding: 12px 14px; margin: 16px 0; }
.meta { color: var(--muted); font-family: Arial, sans-serif; font-size: 13px; }
.empty { padding: 8px 0 24px; color: var(--muted); }
.site-footer { margin-top: 32px; padding: 20px 0; font-family: Arial, sans-serif; font-size: 14px; }
.cxs-wa { font-family: Arial, sans-serif; font-size: 15px; }

@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
}
