/* Base */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  background: #fff;
  margin: 0;
  padding: 0;
}

/* Layout */
header, main, footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

a.site-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #222;
  font-size: 1rem;
}

.site-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav ul a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
}

nav ul a:hover { color: #222; }

/* Mobile nav */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav ul {
    gap: 1rem;
  }
}

/* Content */
h1 { font-size: 1.6rem; margin-top: 0; }
h2 { font-size: 1.3rem; }
a { color: #222; }
a:hover { color: #555; }

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 0.75rem;
}

/* Footer */
footer {
  border-top: 1px solid #eee;
  font-size: 0.75rem;
  color: #999;
}

footer a {
  color: #999;
}

footer a:hover {
  color: #555;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Page end line */
hr.page-end {
  border: none;
  border-top: 1px solid #eee;
  margin-top: 2rem;
}
