/* blog.hagebols.com — V7: one column, one accent (links only), nothing else */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #F7F6F3;
  color: #1A1A1A;
  font-family: "Source Serif 4", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
.column {
  max-width: 748px; /* 700px of content */
  margin: 0 auto;
  padding: 64px 24px 72px;
  display: flex;
  flex-direction: column;
}
a { color: #0E5A52; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-position: from-font; }
.sans, nav, footer, .date, .meta, .post-body table, figcaption {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
}

/* header: name + nav */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 56px;
}
.site-header .name {
  font-size: 21px;
  line-height: 28px;
  font-weight: 600;
  color: #1A1A1A;
}
.site-header .name:hover { text-decoration: none; }
nav { display: flex; gap: 26px; font-size: 14px; line-height: 20px; }
nav a { color: #6E6862; }
nav a.active { color: #1A1A1A; font-weight: 500; }

/* homepage */
.post-list { display: flex; flex-direction: column; gap: 48px; padding-bottom: 88px; }
.post-item { display: flex; flex-direction: column; gap: 8px; }
.date { font-size: 13px; line-height: 20px; color: #756F66; }
.post-title {
  padding-bottom: 6px;
  font-size: 27px;
  line-height: 35px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.excerpt { margin: 0; font-size: 18px; line-height: 29px; }

/* post */
main > article { padding-bottom: 88px; }
.post-header { display: flex; flex-direction: column; gap: 10px; padding-bottom: 44px; }
.post-header h1 {
  margin: 0;
  font-size: 40px;
  line-height: 47px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.meta { font-size: 13px; line-height: 20px; color: #756F66; }
.post-body { display: flex; flex-direction: column; gap: 24px; }
.post-body p, .post-body ul, .post-body ol { margin: 0; font-size: 19px; line-height: 31px; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li + li { margin-top: 4px; }
.post-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-position: from-font; }
.post-body h2 {
  margin: 16px 0 0;
  font-size: 26px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.post-body h3 { margin: 8px 0 0; font-size: 21px; line-height: 29px; font-weight: 600; }
.post-body h4 { margin: 0; font-size: 19px; line-height: 31px; font-weight: 600; }
.post-body blockquote {
  margin: 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid #D9D5CC;
  font-style: italic;
}
.post-body code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82em;
  background: #EFEDE8;
  padding: 1px 5px;
  border-radius: 4px;
}
.post-body pre {
  margin: 0;
  padding: 20px 24px;
  background: #EFEDE8;
  border-radius: 6px;
  overflow-x: auto;
}
.post-body pre code { background: none; padding: 0; font-size: 14px; line-height: 24px; }
.post-body figure { margin: 0; }
.post-body figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #E5E2DB;
}
.post-body .table { overflow-x: auto; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 22px; }
.post-body th, .post-body td {
  text-align: left;
  vertical-align: top;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid #E5E2DB;
}
.post-body th { font-weight: 500; color: #6E6862; }

/* footer: extremely quiet */
footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 26px;
  border-top: 1px solid #E5E2DB;
  font-size: 13px;
  line-height: 20px;
}
footer .links { display: flex; gap: 20px; }

/* mobile: from the V7 Post Mobile artboard (390px) */
@media (max-width: 480px) {
  .column { padding: 28px 22px 48px; }
  .site-header { padding-bottom: 40px; }
  .site-header .name { font-size: 18px; line-height: 24px; }
  nav { gap: 18px; }
  .post-header { gap: 8px; padding-bottom: 32px; }
  .post-header h1 { font-size: 30px; line-height: 36px; letter-spacing: -0.01em; }
  .post-body { gap: 22px; }
  .post-body p, .post-body ul, .post-body ol { font-size: 18px; line-height: 30px; }
  .post-body h2 { font-size: 23px; line-height: 30px; }
  .post-title { font-size: 23px; line-height: 30px; }
  .excerpt { font-size: 17px; line-height: 27px; }
  .post-list { gap: 40px; padding-bottom: 64px; }
  main > article { padding-bottom: 64px; }
}
