/* Trang công khai BoHUB — cùng token với ui-kit mẫu 2 (Lucent), màu nhấn lục ngọc */
:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #737373;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --accent: #075e54;
  --brand-ink: #21375b;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --fg: #fafafa;
    --muted: #a1a1a1;
    --line: rgba(255, 255, 255, 0.1);
    --soft: #171717;
    --accent: #3fbfa6;
    --brand-ink: #dbe4f2;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { overscroll-behavior-y: contain; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding-inline: 16px; }

.site-head {
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.head-row { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand-ink); font-weight: 700; font-size: 17px; }
.brand b { color: var(--accent); font-weight: 700; }
.brand img { border-radius: 7px; display: block; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 10px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); background: var(--soft); }
.site-nav .nav-home { color: var(--accent); }

main.wrap { padding-block: 40px 64px; min-height: 60vh; }
.page-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 24px; }
.empty { color: var(--muted); }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-list a { color: var(--fg); text-decoration: none; font-weight: 600; }
.post-list a:hover { color: var(--accent); }
.post-list time { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.site-foot { color: var(--muted); font-size: 13px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
