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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #f8f9fa;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    color: #e0e0e0;
    background-color: #1a1a1a;
  }

  time {
    color: #a0a0a0;
  }
}

header {
  padding: 1.5rem 0;
  text-align: center;
}

h1.site-title {
  font-family: 'SF Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace !important;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.7;
  color: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  h1.site-title {
    color: #e0e0e0;
  }
}

h1.site-title a {
  text-decoration: none;
  color: inherit;
  border: none;
}

h1.site-title:hover {
  opacity: 1;
}

.accent-text {
  color: #f28c38;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  border-bottom: 2px solid #f28c38;
}

a:hover {
  color: #f28c38;
  text-decoration: none;
}

/* Dark mode link styles */
@media (prefers-color-scheme: dark) {
  a {
    color: #e0e0e0;
    border-bottom: 2px solid #f28c38;
  }

  a:hover {
    color: #f28c38;
  }
}

main {
  padding: 2rem 0;
}

article {
  margin: 0 auto;
}

h2.post-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h2.post-title a {
  color: inherit;
  border: none;
}

h2.post-title a:hover {
  color: #f28c38;
}

.post-meta {
  display: block;
  color: #606060;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

footer {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #606060;
  fill: 606060;
}

/* Dark mode footer */
@media (prefers-color-scheme: dark) {
  footer {
    color: #a0a0a0;
    fill: #e0e0e0;
  }
}

/* Responsiveness */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  header {
    padding: 1rem 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  main {
    padding: 1.5rem 0;
  }

  footer {
    padding: 1rem 0;
  }
}

.footer-social ul {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 0.5rem 0;
}

.footer-social a {
  border: none;
  opacity: 0.6;
}

.footer-social a svg {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  transition: color 0.2s;
  border: none;
}

.footer-social a:hover {
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 4rem;
  margin-bottom: 2.5rem;
  font-family: inherit;
  font-size: 1.1em;
}

.pagination .page {
  opacity: 0.7;
}

.archive-date {
  opacity: 0.7;
}

.no-posts {
  text-align: center;
  opacity: 0.4;
  margin-top: 10rem;
  margin-bottom: 20rem;
}

.no-posts p {
  font-size: 2rem;
}

#views {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
  opacity: 0.4;
}
