/* Pure Black & White Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Sans-Serif Headings & Navigation */
h1, h2, h3, nav, time, aside {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

header {
  border-bottom: 2px solid #000000;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #000000;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav a:hover {
  text-decoration: underline;
}

/* Two-column layout: Main Posts + Yearly Archive */
.layout {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 50px;
}

article {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #000000;
}

article:last-child {
  border-bottom: none;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 6px;
}

h2 a {
  color: #000000;
  text-decoration: none;
}

h2 a:hover {
  text-decoration: underline;
}

.filter-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #000000;
}

time {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.post-body p {
  margin-bottom: 16px;
}

a {
  color: #000000;
}

/* Sidebar Archive */
aside h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

aside ul {
  list-style: none;
}

aside li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

aside a {
  text-decoration: none;
}

aside a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 650px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  aside {
    border-top: 2px solid #000000;
    padding-top: 20px;
  }
}
