/* =================================================================
   LISTMONK PUBLIC PAGES — Dark Theme
   Matches peoplesinfrastructure.org aesthetic
   Paste into Settings → Appearance → Public → Custom CSS
   ================================================================= */

:root {
  --bg:        #111111;
  --panel:     #1a1a2e;
  --border:    #333366;
  --border-hi: #6666cc;
  --green:     #a8d8ae;
  --green-dim: #6a9e72;
  --blue:      #7799ff;
  --muted:     #888899;
  --white:     #ccccdd;
  --mono:      'Courier New', Courier, monospace;
}

html, body {
  background-color: var(--bg) !important;
  color: var(--green) !important;
  font-family: var(--mono) !important;
}

/* ── Container / card ────────────────────────────────────────── */
.container.wrap {
  background-color: var(--panel) !important;
  border: 2px ridge var(--border-hi) !important;
  box-shadow:
    inset 1px 1px 0 var(--border-hi),
    inset -1px -1px 0 var(--border),
    4px 4px 16px rgba(0,0,60,0.6) !important;
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  border-bottom: 1px solid var(--border) !important;
}

/* Replace listmonk logo with site name text */
.header .logo img { display: none !important; }
.header .logo a::after {
  content: "PEOPLE'S INFRASTRUCTURE";
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  color: #aabbff;
  text-decoration: none;
}

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--white) !important;
  font-family: var(--mono) !important;
  letter-spacing: 0.06em;
}

label { color: var(--green-dim) !important; font-family: var(--mono) !important; }
p, li { color: var(--green) !important; }
.description { color: var(--muted) !important; }

a { color: var(--blue) !important; }
a:hover { color: #aabbff !important; }

/* ── Inputs ──────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="password"],
select {
  background-color: #0d0d1a !important;
  border: 1px solid var(--border) !important;
  color: var(--green) !important;
  font-family: var(--mono) !important;
  box-shadow: none !important;
}
input:focus {
  border-color: var(--border-hi) !important;
  box-shadow: 0 0 0 2px rgba(102,102,204,0.2) !important;
}
input::placeholder { color: var(--muted) !important; }

/* ── Checkbox ────────────────────────────────────────────────── */
input[type="checkbox"] { accent-color: var(--border-hi); }

/* ── Subscribe button ────────────────────────────────────────── */
.button {
  background: none !important;
  border: 1px solid var(--border-hi) !important;
  color: var(--blue) !important;
  font-family: var(--mono) !important;
  letter-spacing: 0.1em !important;
  font-size: 0.82rem !important;
  padding: 10px 28px !important;
  border-radius: 2px !important;
  transition: background 0.15s, color 0.15s !important;
}
.button:hover {
  background: rgba(100,100,220,0.15) !important;
  color: #aabbff !important;
}

/* ── Dividers ────────────────────────────────────────────────── */
hr { background-color: var(--border) !important; }
.header { border-bottom-color: var(--border) !important; }

/* ── Archive list ────────────────────────────────────────────── */
.archive li { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.archive .date { color: var(--muted) !important; }

/* ── Footer ──────────────────────────────────────────────────── */
footer.container {
  color: var(--muted) !important;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
footer a { color: var(--muted) !important; }
footer a:hover { color: var(--blue) !important; }

/* Scanline overlay for consistency with main site */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,0,0,0.05) 3px, rgba(0,0,0,0.05) 4px
  );
  pointer-events: none;
  z-index: 9999;
}