* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #1a1a1a;
  color: #b0b0b0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 580px;
  margin: 120px auto;
  padding: 0 24px;
}

.container.post {
  max-width: 680px;
}

h1 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #b0b0b0;
  margin-bottom: 32px;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #282828, #333, #282828);
  margin: 32px 0;
}

.intro {
  color: #6a6a6a;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
}

.intro:last-of-type {
  margin-bottom: 0;
}

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

.posts li {
  margin-bottom: 14px;
  padding-left: 16px;
  position: relative;
}

.posts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #383838;
  transition: background 0.3s;
}

.posts li:hover::before {
  background: #aaa;
}

.posts a {
  color: #8a8a8a;
  text-decoration: none;
  transition: color 0.3s;
}

.posts a:hover {
  color: #ccc;
}

/* Post pages */
.post-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #c0c0c0;
  margin-bottom: 6px;
  line-height: 1.4;
}

.post-date {
  color: #4a4a4a;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.post-body {
  color: #8a8a8a;
}

.post-body p {
  margin-bottom: 24px;
}

.post-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.post-body li {
  color: #8a8a8a;
  margin-bottom: 16px;
  line-height: 1.8;
}

.post-image {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid #2a2a2a;
}

.post-body a {
  color: #999;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: #ccc;
}

.back {
  display: inline-block;
  margin-top: 48px;
  color: #3a3a3a;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.back:hover {
  color: #777;
}

::selection {
  background: #333;
  color: #ddd;
}

@media (max-width: 600px) {
  .container {
    margin: 60px auto;
    padding: 0 20px;
  }

  h1 {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }

  hr {
    margin: 24px 0;
  }

  .intro {
    margin-bottom: 16px;
  }

  .post-title {
    font-size: 1.2rem;
  }

  .post-date {
    margin-bottom: 28px;
  }

  .post-body p {
    margin-bottom: 20px;
  }

  .back {
    margin-top: 36px;
  }
}
