* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #202124;
  background: #f7f7f4;
}

a {
  color: #0b5cad;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.site-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d9d9d2;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #65706a;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1;
}

.post-list {
  display: grid;
  gap: 1.5rem;
  padding-top: 1rem;
}

.post-list .post-card:first-child {
  padding-top: 0;
}

.post-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid #d9d9d2;
}

.post-card h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.3;
}

.post-meta {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.post-meta time {
  color: #65706a;
  font-size: 0.95rem;
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #666;
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.post-summary {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.article {
  max-width: 720px;
}

.back {
  margin-bottom: 1.75rem;
}

.site-nav,
.search-panel {
  margin-top: 1.125rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.125rem;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.125rem;
  border-top: 1px solid #d9d9d2;
  color: #65706a;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.feed-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-list + .site-footer {
  margin-top: 1.375rem;
  padding-top: 0;
  border-top: 0;
}

.search-field {
  display: grid;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
  color: #65706a;
  font-size: 0.95rem;
}

.search-field input {
  width: 100%;
  border: 1px solid #c9c9c1;
  border-radius: 4px;
  padding: 7px 9px;
  color: #202124;
  background: #fff;
  font: inherit;
}

.section-filter,
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-filter-button {
  border: 1px solid #c9c9c1;
  border-radius: 4px;
  padding: 0.3125rem 0.5rem;
  color: #202124;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.section-filter-button[aria-pressed="true"] {
  border-color: #0b5cad;
  color: #fff;
  background: #0b5cad;
}

.search-count,
.search-empty,
.post-meta,
.post-tags {
  color: #65706a;
  font-size: 0.95rem;
}

.article-separator {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #d9d9d2;
}

.search-empty {
  margin-top: 1.75rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.post-meta time {
  color: inherit;
  font-size: inherit;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header hr.article-separator {
  margin: 1.5rem 0;
}

.article-reply {
  margin-top: 2rem;
  padding-top: 1.125rem;
  border-top: 1px solid #d9d9d2;
  color: #65706a;
  font-size: 0.95rem;
}

.article .article-reply p {
  margin: 0;
}

.article p {
  margin: 0 0 1.1rem;
}
