/* layout dasar */
body {
  max-width: 720px;
  margin: auto;
  padding: 16px;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  background: #fafafa;
  color: #222;
}

/* header */
.site-header {
  margin-bottom: 24px;
}

.site-header h1 {
  margin: 0;
}

.tagline {
  color: #666;
  font-size: 0.95em;
}

/* search */
.search {
  width: 100%;
  padding: 10px;
  margin-bottom: 24px;
  font-size: 1em;
}

/* post list */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-item {
  padding-bottom: 16px;
  border-bottom: 1px solid #ddd;
}

.post-item h2 {
  margin: 0 0 4px 0;
  font-size: 1.3em;
}

.post-item a {
  color: #222;
  text-decoration: none;
}

.post-item a:hover {
  text-decoration: underline;
}

.post-meta {
  font-size: 0.85em;
  color: #777;
  margin-bottom: 8px;
}

.post-excerpt {
  margin: 0;
  color: #444;
}

/* footer */
.site-footer {
  margin-top: 48px;
  text-align: center;
  color: #888;
}

/* mobile */
@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  .post-item h2 {
    font-size: 1.15em;
  }
}

pre {
  background: #f4f4f4;
  padding: 12px;
  overflow-x: auto;
  border-radius: 6px;
  font-size: 0.9em;
}

code {
  background: #eee;
  padding: 2px 4px;
  border-radius: 4px;
}