/*
Theme Name: ERP System Theme
Theme URI: https://nowebsite.com/
Author: telegram@dudesude
Description: Minimal dark blog theme with right sidebar, responsive layout, and AMP compatibility.
Version: 1.0
License: GPL v2 or later
Text Domain: erp-blog
*/

:root{
  --bg: #000000;
  --fg: #00ff00;
  --muted: #00cc00;
  --border: #00aa00;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a { color: var(--fg); text-decoration: none; }


/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}
.site-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}
.site-title a { color: var(--fg); }
.main-nav { margin-top: 8px; }
.menu-bar {
  list-style: none;
  padding: 0;
  margin: 0;
  
}
.menu-bar li {
  display: inline-block;
  padding: 4px 8px;
  margin: 0 6px;
}
.menu-bar a {
  color: var(--fg);
  font-weight: 700;
}

/* Layout */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.container {
  display: flex;
  gap: 24px;
}
.content {
  flex: 1 1 72%;
  min-width: 0;
}
.sidebar {
  flex: 0 0 20%;
}

/* Post list / article */
.post-card {
  margin-bottom: 22px;
  padding-bottom: 14px;
  
}
.post-card h2, .post-card h3 {
  margin: 0 0 6px 0;
  font-size: 22px;
}
.post-meta {
  font-size: 13px;
  color: #8a8f8a;
  margin-bottom: 8px;
}
.read-more { font-weight: bold; }

/* Sidebar */
.sidebar .widget {
  margin-bottom: 18px;
}
.sidebar h3 { margin: 0 0 10px 0; font-size: 18px; }
.sidebar ul { padding: 0; margin: 0; }
.sidebar li { margin: 6px 0; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  font-size: 14px;
}

/* Images/content */
.content img, .content figure img { max-width: 100%; height: auto; }

/* Responsive */
@media (max-width: 900px) {
  .container { flex-direction: column; }
  .content, .sidebar { flex: 1 1 auto; width: 100%; }
}
