body {
  background: #000;
  color: #fff;

  font-family: "Inter", system-ui, sans-serif;

  line-height: 1.7;

  margin: 0;
}

.container {
  max-width: 720px;

  margin: 0 auto;

  padding: 8px 16px;
}

header {
  max-width: 720px;

  margin: 0 auto;

  border-bottom: 1px solid #222;

  padding: 16px;
}

.site-title {
  text-align: center;

  margin-bottom: 16px;

  font-size: 1.25rem;
}

.site-title a {
  color: white;

  text-decoration: none;
}

.nav {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;
}

.nav a {
  color: white;

  text-decoration: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

/* brand (trigger) */
.nav .brand {
  cursor: pointer;
  font-weight: 600;
  color: #60a5fa !important;
  text-decoration: none;

  padding: 6px 0; /* IMPORTANT: expands hover area */
}

/* dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  margin-top: 6px;

  background: #0b0b0b;
  border: 1px solid #2a2a2a;
  border-radius: 10px;

  min-width: 180px;
  padding: 6px 0;

  z-index: 9999;

  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: 0.15s ease;
}

/* KEEP OPEN when hovering either trigger OR menu */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* items */
.dropdown-menu a {
  display: block;
  padding: 8px 10px;

  color: #e5e5e5;
  text-decoration: none;
  font-size: 0.8rem;
}

.dropdown-menu a:hover {
  background: #1a1a1a;
  color: #fff;
}
.post-card {
  padding: 12px 0;

  border-bottom: 1px solid #222;
}

.post-card a {
  color: white;

  text-decoration: none;

  font-size: 1rem;
}

.meta {
  color: #888;

  margin-bottom: 16px;
  font-size: 0.8rem;
}

.tags {
  margin-bottom: 24px;
}

.tag {
  display: inline-block;

  border: 1px solid #333;

  padding: 2px 8px;

  margin-right: 6px;

  margin-bottom: 6px;

  color: #aaa;

  font-size: 0.85rem;
}

img {
  max-width: 100%;

  height: auto;
}

pre {
  overflow-x: auto;

  padding: 16px;

  border: 1px solid #222;
}

code {
  font-family: monospace;
}

.footer {
  text-align: center;

  padding: 32px;

  color: #666;
}
