:root {
  --color-bg: #fdfaf4;
  --color-surface: #ffffff;
  --color-primary: #1a7a4a;
  --color-primary-dark: #125c37;
  --color-text: #2d2a26;
  --color-muted: #7a746c;
  --color-border: #e8e2d5;
  --font-body: Georgia, "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-title {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.site-nav a {
  font-family: var(--font-ui);
  color: var(--color-text);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--color-primary); }

.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
}

/* Main */
main.container { padding: 2.5rem 1.25rem 3rem; }

/* Home */
.home-intro { margin-bottom: 2rem; }
.home-intro p { color: var(--color-muted); }

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}

.post-list li:last-child { border-bottom: none; }

.post-list h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  line-height: 1.4;
}

.post-list h2 a {
  color: var(--color-text);
  text-decoration: none;
}

.post-list h2 a:hover { color: var(--color-primary); }

.post-date {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.post-excerpt { margin: 0.25rem 0 0; }

/* Post */
.post-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.25rem;
}

.post-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
  line-height: 1.35;
}

.post-meta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  color: var(--color-primary-dark);
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.post-content blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-surface);
  color: var(--color-muted);
}

.post-content a { color: var(--color-primary); }

/* Embed YouTube responsif */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* rasio 16:9 */
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-muted);
}

@media (max-width: 600px) {
  .post-header h1 { font-size: 1.55rem; }
  .post-list h2 { font-size: 1.2rem; }
}
