.blog-index, .blog-article {
  --forest: #193e33;
  --leaf: #356953;
  --mist: #eef3ee;
  --rule: #d6dfd9;
  padding-block: clamp(108px, 10vw, 148px) clamp(64px, 7vw, 100px);
  overflow-wrap: anywhere;
}
.blog-masthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--forest);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.blog-masthead h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: 1.1;
}
.blog-masthead p { color: var(--secondary); line-height: 1.55; font-size: 16px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.blog-filters button {
  background: white; border: 1px solid var(--rule); border-radius: 24px;
  padding: 9px 17px; font-size: 15px;
}
.blog-filters button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: white; }
.blog-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  background: var(--forest);
  color: white;
  border-radius: 16px;
  overflow: hidden;
}
.blog-cover { overflow: hidden; background: var(--mist); }
.blog-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-lead .blog-cover { min-height: 320px; position: relative; }
.blog-lead .blog-cover img { position: absolute; inset: 0; }
.blog-lead .blog-card-copy { padding: clamp(28px, 3.6vw, 54px); }
.blog-card-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.blog-topic { font-size: 14px; font-weight: 680; line-height: 1.5; color: var(--leaf); }
.blog-lead .blog-topic {
  color: #d0e9d9; border: 1px solid #688b79; border-radius: 20px; padding: 3px 11px;
}
.blog-lead h2 { font-size: clamp(28px, 2.85vw, 42px); line-height: 1.27; letter-spacing: -.045em; color: white; }
.blog-lead .blog-topic + h2 { margin-top: 16px; }
.blog-lead .blog-card-copy > p { color: #d5e2d9; margin-top: 14px; line-height: 1.65; font-size: 16px; }
.blog-card-bottom {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: auto; padding-top: 30px; font-size: 14px;
}
.blog-lead .blog-card-bottom > span:first-child { color: #d5e2d9; }
.blog-read, .blog-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.blog-arrow { font: 500 20px/1 system-ui, sans-serif; }
.blog-empty .blog-card-copy { justify-content: center; }
.blog-empty .blog-read { align-self: flex-start; margin-top: 26px; }
.blog-lead[href]:hover h2, .blog-card:hover h3, .blog-back:hover .blog-back-label, .blog-empty a:hover {
  text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: .06em;
}
.blog-archive, .blog-features { margin-top: clamp(36px, 4.8vw, 68px); }
.blog-archive > h2, .blog-features h2, .blog-related h2 {
  margin-bottom: 18px; font-size: clamp(21px, 2vw, 27px); line-height: 1.4;
}
.blog-archive ul {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px;
}
.blog-card {
  height: 100%; display: flex; flex-direction: column;
  border-radius: 12px; border: 1px solid var(--rule); overflow: hidden;
}
.blog-card .blog-cover { aspect-ratio: 2 / 1; }
.blog-card .blog-card-copy { flex: 1; padding: 22px; }
.blog-card h3 { font-size: 24px; line-height: 1.35; margin: 8px 0; }
.blog-card p, .blog-card .blog-card-bottom { color: var(--secondary); line-height: 1.6; }
.blog-card .blog-card-copy > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.blog-features > div {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
}
.blog-features a {
  display: flex; align-items: center; gap: 12px; padding: 16px 14px;
  font-size: 16px; font-weight: 620; min-width: 0;
}
.blog-features a + a { border-inline-start: 1px solid var(--rule); }
.blog-feature-icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px;
  border-radius: 50%; background: var(--mist); color: var(--leaf); font-size: 20px;
}
.blog-features a:hover, .blog-related a:hover { background: var(--mist); }
.blog-feature-arrow { margin-left: auto; color: var(--leaf); }

.blog-article { max-width: 1040px; }
.blog-back { min-height: 44px; color: var(--leaf); font-size: 15px; }
.blog-article-header {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-block: 23px 36px; border-bottom: 1px solid var(--rule);
}
.blog-article-header > div { max-width: 760px; }
.blog-article-header h1 {
  margin-block: 10px 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1.23; letter-spacing: -.045em;
}
.blog-article-cover { flex: none; width: 29%; max-width: 270px; margin: 0; }
.blog-article-cover .blog-cover { aspect-ratio: 1.8; border-radius: 10px; }
.blog-article-cover figcaption {
  margin-top: 4px; text-align: end; color: var(--secondary); font-size: 11px; line-height: 1.4;
}
.blog-byline { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--secondary); font-size: 14px; }
.blog-reading { margin-top: 38px; }
.blog-reading:has(.blog-toc) { display: grid; grid-template-columns: minmax(0, 700px) minmax(180px, 1fr); gap: 6%; }
.blog-column { max-width: 700px; min-width: 0; }
.blog-toc {
  grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: calc(var(--site-chrome-height) + 24px);
  max-height: calc(100dvh - var(--site-chrome-height) - 44px); overflow-y: auto;
  padding: 8px 0 10px 20px; border-left: 2px solid var(--rule);
}
.blog-toc summary { font-weight: 700; font-size: 16px; cursor: pointer; }
.blog-toc ol { list-style: decimal; margin: 10px 0 0; padding-left: 1.3em; }
.blog-toc li { font-size: 15px; color: var(--secondary); }
.blog-toc a { display: block; padding: 5px 0; }
.blog-toc a:hover { color: var(--forest); text-decoration: underline; }
.blog-body { font-size: 18px; font-weight: 450; line-height: 1.85; color: #343d38; overflow-x: auto; }
.blog-body > * + * { margin-top: 1.1em; }
.blog-body:first-child > p:first-child { font-size: 1.13em; font-weight: 550; line-height: 1.65; color: var(--ink); }
.blog-column > .group-story {
  margin-block: 20px;
  padding: clamp(10px, 2.2vw, 20px);
}
.blog-body h2, .blog-body h3, .blog-body h4 { margin-top: 1.7em; line-height: 1.4; color: var(--ink); }
.blog-body h2 { font-size: 1.54em; }
.blog-body h3 { font-size: 1.24em; }
.blog-body ul, .blog-body ol { padding-left: 1.5em; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li + li { margin-top: .35em; }
.blog-body img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.blog-body blockquote {
  position: relative;
  margin-inline: 0;
  padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 28px);
  padding-inline-start: clamp(48px, 6vw, 66px);
  background: #f0f5f1;
  border-radius: 14px;
  color: var(--forest);
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.65;
}
.blog-body blockquote::before {
  content: "“" / "";
  position: absolute;
  inset-block-start: clamp(16px, 2.3vw, 23px);
  inset-inline-start: clamp(17px, 2.7vw, 28px);
  color: var(--leaf);
  font: 700 2.1em/1 Georgia, serif;
}
.blog-body blockquote > * + * { margin-top: .7em; }
.blog-body > blockquote:first-child strong {
  padding-inline: .08em;
  background: linear-gradient(transparent 52%, #f9e784 52% 94%, transparent 94%);
  border-radius: .15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-weight: inherit;
}
.blog-body table { border-collapse: collapse; word-break: keep-all; overflow-wrap: anywhere; }
.blog-body th, .blog-body td { border: 1px solid var(--rule); padding: .5em .8em; }
.blog-body th { background: var(--mist); }
.blog-body a { color: var(--leaf); text-decoration: underline; text-underline-offset: .2em; }
.blog-body a[href^="/downloads/"] {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 12px 18px; border: 1px solid var(--rule); border-radius: 8px;
  background: var(--mist); color: var(--forest); font-size: 16px; font-weight: 650;
  line-height: 1.55; text-decoration: none;
}
.blog-body a[href^="/downloads/"]:hover { border-color: var(--leaf); text-decoration: underline; }
.blog-body a[href^="/downloads/"]:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; }
.blog-related { margin: 48px 0 12px; border-top: 1px solid var(--rule); padding-top: 24px; }
.blog-related h2 { font-size: 18px; margin-bottom: 10px; }
.blog-related a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #f4f7f4; color: var(--forest); padding: 14px 18px; margin-top: 6px; border-radius: 8px;
}
.blog-end { margin-top: 24px; }
@media (max-width: 800px) {
  .blog-masthead { align-items: flex-start; flex-direction: column; gap: 12px; }
  .blog-masthead br { display: none; }
  .blog-features > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-features a:nth-child(odd) { border-inline-start: 0; }
  .blog-features a:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .blog-reading:has(.blog-toc) { display: block; }
  .blog-toc { position: static; max-height: none; border: 0; border-radius: 10px; background: var(--mist); padding: 14px 18px; margin-bottom: 24px; }
}
@media (max-width: 640px) {
  .blog-masthead { padding-bottom: 18px; margin-bottom: 20px; }
  .blog-masthead p { font-size: 15px; }
  .blog-lead { grid-template-columns: 1fr; border-radius: 12px; }
  .blog-lead .blog-cover { min-height: 0; aspect-ratio: 2 / 1; }
  .blog-lead .blog-card-copy { padding: 24px; }
  .blog-card-bottom { padding-top: 22px; }
  .blog-features a { padding: 12px 8px; gap: 7px; font-size: 15px; }
  .blog-feature-icon { width: 30px; height: 30px; }
  .blog-article-header { display: block; padding-block: 14px 24px; }
  .blog-article-cover { width: 100%; max-width: none; margin-top: 20px; }
  .blog-article-cover .blog-cover { aspect-ratio: 3 / 2; }
  .blog-reading { margin-top: 24px; }
  .blog-body { font-size: 17px; }
}
