:root {
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #22201d;
  --muted: #6b6a67;
  --accent: #b5652f;
  --border: #e6e3dd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

header.site-header {
  border-bottom: 2px solid var(--text);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

header.site-header a {
  color: var(--text);
  text-decoration: none;
}

header.site-header h1 {
  font-size: 28px;
  margin: 0;
}

header.site-header .tagline {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}

.article-list-item h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.article-list-item a {
  color: var(--text);
  text-decoration: none;
}

.article-list-item a:hover {
  color: var(--accent);
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.empty {
  color: var(--muted);
  font-style: italic;
}

article.full h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

article.full h2 {
  font-size: 22px;
  margin-top: 32px;
}

article.full p {
  margin: 16px 0;
}

article.full a {
  color: var(--accent);
}

.admin-form label {
  display: block;
  margin: 14px 0 6px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.admin-form button {
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.admin-form button:hover { opacity: 0.9; }

.alert {
  font-family: Arial, sans-serif;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}
.alert.error { background: #fdecea; color: #a12f27; border: 1px solid #f3c1bb; }
.alert.notice { background: #e9f6ec; color: #276b3d; border: 1px solid #bfe3c7; }

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
table.admin-table th, table.admin-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
table.admin-table form { display: inline; }
table.admin-table button.link-btn {
  background: none;
  border: none;
  color: #a12f27;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  margin-bottom: 24px;
}
.topbar a, .topbar button {
  font-size: 13px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}
