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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 2px solid #eee;
  margin-bottom: 40px;
}

.nav-home {
  font-weight: bold;
  font-size: 1.2em;
  text-decoration: none;
  color: #333;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #666;
}

.nav-links a:hover {
  color: #333;
}

.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.5em;
  color: #666;
  margin-bottom: 10px;
}

.archive-notice {
  font-size: 1.1em;
  color: #666;
  margin-top: 20px;
  padding: 15px 25px;
  background: #f8f9fa;
  border-left: 4px solid #0066cc;
  border-radius: 4px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.archive-notice a {
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
}

.archive-notice a:hover {
  text-decoration: underline;
}

.count {
  color: #999;
  font-size: 0.9em;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.recent h2, .pages h2, .list h1 {
  margin-bottom: 20px;
  font-size: 1.5em;
}

.post-list, .page-list, .item-list {
  list-style: none;
}

.post-list li, .item-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  gap: 20px;
}

.page-list li {
  padding: 8px 0;
}

.post-list a, .page-list a, .item-list a {
  text-decoration: none;
  color: #0066cc;
  flex: 1;
}

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

time {
  color: #999;
  font-size: 0.9em;
  white-space: nowrap;
}

.view-all {
  display: inline-block;
  margin-top: 20px;
  color: #0066cc;
  text-decoration: none;
}

.view-all:hover {
  text-decoration: underline;
}

.single {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.single header {
  margin-bottom: 40px;
}

.single h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.meta {
  color: #999;
  font-size: 0.9em;
}

.categories {
  margin-left: 20px;
}

.category {
  display: inline-block;
  background: #eee;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 5px;
  font-size: 0.85em;
}

.content {
  font-size: 1.1em;
  line-height: 1.8;
}

.content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.content p {
  margin-bottom: 20px;
}

.content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.content a {
  color: #0066cc;
}

footer {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 2px solid #eee;
  text-align: center;
  color: #999;
  font-size: 0.9em;
}

/* Archive page styling */
.content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.content hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 40px 0;
}

.content > p > strong:first-child {
  display: block;
  margin-top: 12px;
  color: #0066cc;
}

.content blockquote {
  border-left: 4px solid #0066cc;
  padding-left: 20px;
  margin: 20px 0;
  color: #666;
  font-style: italic;
}
