:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  color: #213e35;
  background: #f7f8f3;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #24684f;
  text-underline-offset: 4px;
}
header,
main,
footer {
  max-width: 1020px;
  margin: auto;
  padding: 26px 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce4d9;
  gap: 18px;
}
.brand {
  font-weight: 800;
  font-size: 24px;
  text-decoration: none;
  letter-spacing: -1px;
}
nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
main {
  padding-top: 64px;
  padding-bottom: 80px;
  min-height: 70vh;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #667c65;
}
h1 {
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.2;
  margin: 20px 0;
}
h2 {
  line-height: 1.35;
}
.intro {
  max-width: 660px;
  color: #617266;
  font-size: 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.card {
  background: #fff;
  border: 1px solid #e0e6dc;
  border-radius: 16px;
  padding: 28px;
}
.card h2 {
  font-size: 23px;
  margin-top: 12px;
}
.card h2 a {
  text-decoration: none;
}
.tag {
  font-size: 12px;
  background: #eaf0e4;
  padding: 4px 10px;
  border-radius: 20px;
}
.button {
  display: inline-block;
  background: #255b46;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin: 12px 12px 0 0;
}
article.reading {
  max-width: 720px;
  margin: auto;
}
.prose {
  font-family: Georgia, "Songti SC", serif;
  font-size: 19px;
  line-height: 1.95;
  margin-top: 36px;
  overflow-wrap: anywhere;
}
.prose pre {
  overflow: auto;
  padding: 18px;
  background: #eef1e9;
}
.prose blockquote {
  border-left: 3px solid #a3b596;
  padding-left: 22px;
  margin-left: 0;
  color: #53674f;
}
.prose h2 {
  margin-top: 38px;
}
footer {
  border-top: 1px solid #dce4d9;
  color: #6f7f72;
  font-size: 13px;
}
.filters {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.filters select,
.filters button {
  padding: 9px 13px;
  font: inherit;
  border: 1px solid #b7c7b4;
  border-radius: 6px;
  background: #fff;
}
.pagination {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.empty {
  padding: 36px;
  border: 1px dashed #bfceb9;
  margin-top: 32px;
  border-radius: 12px;
}
@media (max-width: 640px) {
  header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  main {
    padding-top: 38px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  header {
    align-items: flex-start;
  }
  nav {
    gap: 12px;
    font-size: 14px;
  }
}
