.blog-page {
  --ink: #17231c;
  --green: #23623f;
  --muted: #5f6e64;
  --line: #dee6e0;
  color: var(--ink);
}

.blog-page .wrap { width: min(1160px, calc(100% - 96px)); }
.blog-page .nav { height: 72px; }
.blog-page .site-header { border-color: var(--line); }
.blog-page .site-footer { margin-top: 0; }
.blog-page a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.journal-intro { padding-block: 68px 44px; }
.journal-intro h1,
.article-heading h1 {
  font-weight: 550;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.journal-intro h1 { font-size: clamp(3.1rem, 6vw, 5.2rem); line-height: 1.04; }
.journal-description,
.article-deck { margin-top: 20px; font-size: 1.125rem; line-height: 1.65; color: var(--muted); }
.journal-collection { border-top: 1px solid var(--line); padding-block: 30px 78px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.post-card { min-width: 0; }
.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  transition: border-color .2s, box-shadow .2s;
}
.post-card-link:hover { border-color: #92ac9b; box-shadow: 0 10px 30px #21462d0c; }
.post-card-art { position: relative; overflow: hidden; background: #f2f6f2; aspect-ratio: 16 / 9; }
.post-card-art img { height: 100%; width: 100%; object-fit: cover; }
.post-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 23px 23px 26px; }
.post-category { color: var(--green); font-size: .8125rem; letter-spacing: .075em; font-weight: 600; text-transform: uppercase; }
.post-card h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; font-weight: 550; letter-spacing: -.035em; }
.post-card .post-category + h2 { margin-top: 12px; }
.card-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.post-card .post-meta { margin-top: auto; }
.byline-separator { color: #77867d; }
.post-card-featured { grid-column: 1 / -1; }
.post-card-featured .post-card-link { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.post-card-featured .post-card-art { aspect-ratio: auto; min-height: 300px; }
.post-card-featured .post-card-art img { position: absolute; inset: 0; }
.post-card-featured .post-card-copy { padding: clamp(28px, 4vw, 55px); justify-content: center; }
.post-card-featured h2 { margin-top: 16px; font-size: clamp(2rem, 3.2vw, 2.95rem); line-height: 1.1; }
.post-card-featured .card-description { display: block; margin-top: 22px; }
.post-card-featured .post-meta { margin-top: 8px; }
.article-heading { padding-block: 40px 42px; }
.all-stories,
.article-end a { display: inline-block; color: var(--green); font-size: .9375rem; text-decoration: underline; text-underline-offset: 4px; }
.all-stories { margin-bottom: 35px; }
.article-heading h1 { font-size: clamp(2.7rem, 5.2vw, 4.6rem); line-height: 1.06; max-width: 1000px; margin-top: 14px; }
.article-deck { margin-top: 23px; max-width: 780px; font-size: 1.1875rem; }
.article-meta { margin-top: 23px; }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; background: #e4eee6; color: var(--green); font-weight: 650; font-size: .8125rem; }
.article-cover,
.article-image-cover { margin-block: 0; overflow: hidden; border-radius: 16px; }
.article-image-cover { background: #f5f6f5; }
.article-image-cover img { width: 100%; max-height: min(68vh, 620px); object-fit: contain; margin: 0 auto; }
.article-cover { display: grid; height: clamp(250px, 32vw, 380px); grid-template-columns: 1.1fr 1fr; align-items: stretch; background: #d1eedf; }
.article-cover > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.article-cover > div { display: grid; align-content: center; padding: 24px; }
.article-cover p { font-size: clamp(1.7rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 550; }
.article-cover em { color: #427150; font-style: normal; }
.article-layout { display: grid; grid-template-columns: minmax(170px, 225px) minmax(0, 730px); justify-content: space-between; align-items: start; gap: clamp(30px, 5.5vw, 76px); padding-block: 56px 70px; }
.article-layout-solo { display: block; }
.article-layout-solo .article-body { max-width: 730px; margin-inline: auto; }
.article-sidebar { position: sticky; top: 98px; max-height: calc(100vh - 125px); overflow-y: auto; }
.article-sidebar nav { display: flex; flex-direction: column; gap: 13px; border-left: 1px solid var(--line); padding: 0 8px 0 19px; }
.article-sidebar nav > span { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.article-sidebar a { color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.article-sidebar a:hover { color: var(--green); }
.article-body { min-width: 0; overflow-wrap: anywhere; color: #37483c; font-size: 1.125rem; line-height: 1.8; }
.article-body p { margin: 0 0 1.25em; }
.article-body > :first-child { margin-top: 0; }
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 { color: var(--ink); font-weight: 580; line-height: 1.24; letter-spacing: -.025em; margin: 1.6em 0 .7em; scroll-margin-top: 96px; }
.article-body h2 { font-size: 1.95rem; }
.article-body h3 { font-size: 1.5rem; }
.article-body h4,
.article-body h5,
.article-body h6 { font-size: 1.125rem; }
.article-body a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.article-body img { display: block; width: auto; height: auto; max-width: 100%; margin: 1.1em auto; }
.article-body :is(ul, ol) { padding-inline-start: 1.5em; margin: 0 0 1.5em; }
.article-body li + li { margin-top: .4em; }
.article-body li :is(ul, ol) { margin-block: .35em; }
.article-body blockquote { margin: 28px 0; padding-left: 21px; border-left: 3px solid #75a985; color: var(--green); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin-block: 28px; }
.article-body .table-scroll { overflow-x: auto; margin-block: 1.6em; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.article-body :is(td, th) { padding: 9px 12px; text-align: start; border: 1px solid var(--line); min-width: 80px; }
.article-body th { background: #f2f6f2; font-weight: 600; }
.article-body :not(pre) > code { background: #f2f6f2; font-size: .9em; color: #235a37; padding: .08em .28em; border-radius: 3px; }
.article-body pre { max-width: 100%; overflow: auto; background: #19221d; color: #f3f6f3; padding: 18px; border-radius: 8px; font-size: .9rem; line-height: 1.65; margin: 1.5em 0; }
.article-end { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-page .wrap { width: calc(100% - 56px); }
}
@media (max-width: 700px) {
  .blog-page .wrap { width: calc(100% - 40px); }
  .blog-page .nav { height: 64px; gap: 14px; }
  .blog-page .nav .brand img { width: 100px; }
  .blog-page .nav .button-small { font-size: .8125rem; padding: 10px 12px; }
  .journal-intro { padding-block: 42px 30px; }
  .journal-intro h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .journal-description { font-size: 1rem; margin-top: 14px; }
  .journal-collection { padding-block: 22px 44px; }
  .post-grid { grid-template-columns: 1fr; gap: 24px; }
  .post-card-featured .post-card-link { display: flex; }
  .post-card-featured .post-card-art { min-height: auto; aspect-ratio: 16 / 9; }
  .post-card .post-card-copy { padding: 24px; }
  .post-card-featured h2 { font-size: 1.8rem; }
  .post-card h2 { line-height: 1.2; }
  .article-heading { padding-block: 26px 28px; }
  .all-stories { margin-bottom: 26px; }
  .article-heading h1 { font-size: clamp(2.1rem, 8.5vw, 3.1rem); }
  .article-deck { font-size: 1.0625rem; margin-top: 17px; }
  .article-meta { margin-top: 19px; }
  .article-cover { height: 230px; grid-template-columns: 1fr 1fr; }
  .article-cover > div { padding: 14px 9px; }
  .article-layout { display: block; padding-block: 30px 44px; }
  .article-sidebar { display: none; }
  .article-body { font-size: 1.0625rem; }
  .article-body h2 { font-size: 1.65rem; }
  .article-body h3 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card-link { transition: none; }
}

.journal-intro .post-category { margin-bottom: 18px; }
.journal-intro h1 span { color: #67776c; }
.article-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 40px;
  border-top: 1px solid var(--line);
}
.article-contact h2 { font-weight: 550; font-size: 1.5rem; letter-spacing: -.03em; }
@media (max-width: 700px) {
  .article-contact { flex-direction: column; align-items: flex-start; }
}
