/* The blog index shares the compact homepage canvas and site shell. */
html:has(.blog-workspace) { background: #f7f7f2; }
body:has(.blog-workspace) { --ink: #203d32; --muted: #647269; --green: #286950; --paper: #fffefa; --line: #dce2d8; }
html[data-theme=dark]:has(.blog-workspace) { background: #111e18; }
html[data-theme=dark] body:has(.blog-workspace) { background: transparent; --ink: #e5eee4; --muted: #a2b3a7; --green: #a6d6b5; --paper: #1b2e23; --line: #35493c; }
body:has(.blog-workspace) > :is(main,.site-header,.site-footer) { max-width: 1200px; padding-inline: 32px; }
body:has(.blog-workspace) > .site-header { border-bottom: 1px solid var(--line); padding-block: 20px; }
body:has(.blog-workspace) > main { padding-block: 0; }
body:has(.blog-workspace) .site-nav { gap: 8px; }
body:has(.blog-workspace) .site-nav a { font-size: 13px; font-weight: 500; padding: 10px; }
body:has(.blog-workspace) .brand-mark { position: relative; display: grid; place-items: center; width: 24px; height: 28px; font-size: 0; }
body:has(.blog-workspace) .brand-mark::before { content: ''; width: 15px; height: 15px; border: 1.5px solid var(--green); transform: rotate(45deg); }
body:has(.blog-workspace) .brand-mark::after { content: ''; position: absolute; width: 5px; height: 5px; background: var(--green); transform: rotate(45deg); }
body:has(.blog-workspace) .theme-control span:first-child { display: block; width: 14px; height: 14px; font-size: 0; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: inset -4px -2px 0 currentColor; }
html[data-theme=dark] body:has(.blog-workspace) .theme-control span:first-child { background: currentColor; box-shadow: none; }
body:has(.blog-workspace) > .site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line); }
body:has(.blog-workspace) .site-footer > p { font-size: 11px; color: var(--muted); margin: 0; }
body:has(.blog-workspace) .site-footer nav { justify-content: flex-start; gap: 8px 16px; }
body:has(.blog-workspace) .site-footer a { font-size: 11px; font-weight: 400; color: var(--muted); }
body:has(.blog-workspace) .site-footer a:hover { color: var(--green); }

.blog-workspace { color: var(--ink); }
.blog-workspace :is(section,article,aside,div) { min-width: 0; }
.blog-workspace :is(p,h1,h2,h3) { overflow-wrap: anywhere; }
.blog-workspace a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.blog-workspace .blog-source-links { max-width: none; justify-content: flex-end; margin: 0; padding: 18px 0 0; font-size: 12px; }
.blog-workspace .blog-hero,
.blog-workspace .blog-list { max-width: none; margin: 0; background: transparent; }
.blog-workspace .blog-hero { grid-template-columns: minmax(0,1.25fr) minmax(260px,.7fr); align-items: center; gap: 64px; padding: 34px 0 48px; border-bottom: 1px solid var(--line); }
.blog-workspace .blog-hero-copy { max-width: 670px; }
.blog-workspace .blog-hero .eyebrow,
.blog-workspace .blog-section-heading .eyebrow { margin: 0 0 16px; color: var(--green); font-size: 11px; letter-spacing: .15em; }
.blog-workspace .blog-hero h1 { margin-bottom: 20px; font-size: clamp(32px,3.2vw,44px); line-height: 1.35; font-weight: 700; letter-spacing: -.05em; }
.blog-workspace .blog-hero p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.blog-workspace .blog-hero aside { align-self: stretch; display: flex; align-items: center; min-width: 0; margin: 0; padding: 30px 36px; border: 1px solid #cbd5bd; border-radius: 16px; background: #e8eddc; color: #294a39; }
.blog-workspace .blog-hero aside strong { margin-bottom: 16px; color: inherit; font-size: 18px; }
.blog-workspace .blog-hero aside ul { gap: 10px; color: #506a50; font-size: 13px; }
.blog-workspace .blog-hero aside li::before { color: #698761; }
.blog-workspace .blog-list { padding: 28px 0 60px; }
.blog-workspace .blog-section-heading { align-items: center; margin-bottom: 20px; }
.blog-workspace .blog-section-heading .eyebrow { margin-bottom: 8px; }
.blog-workspace .blog-section-heading h2 { font-size: 23px; }
.blog-workspace .blog-section-heading > p { font-size: 12px; }
.blog-workspace .article-list { border-top: 1px solid var(--line); }
.blog-workspace .article-row { grid-template-columns: 44px minmax(0,1fr) 116px; gap: 18px; padding: 22px 0; border-bottom-color: var(--line); }
.blog-workspace .article-row:hover { padding-inline: 0; background: transparent; }
.blog-workspace .article-row article { background: transparent; }
.blog-workspace .article-row h3 { font-size: 20px; line-height: 1.45; }
.blog-workspace .article-row article > p { font-size: 13px; line-height: 1.8; }
.blog-workspace .blog-card-meta,
.blog-workspace .article-row footer { font-size: 11px; }
.blog-workspace .article-row footer a { color: var(--green); }
html[data-theme=dark] .blog-workspace .blog-hero aside { border-color: #4f6243; background: #2a3d28; color: #e0e9cd; }
html[data-theme=dark] .blog-workspace .blog-hero aside ul { color: #b4c3a6; }

@media (max-width:1180px) and (min-width:761px) {
  body:has(.blog-workspace) > .site-header { grid-template-columns: auto minmax(0,1fr) auto !important; gap: 16px; }
  body:has(.blog-workspace) .site-nav { grid-column: 2; grid-row: 1; justify-self: end; width: auto; }
}
@media (max-width:960px) {
  .blog-workspace .blog-hero { gap: 28px; }
  .blog-workspace .blog-hero aside { padding: 24px; }
  body:has(.blog-workspace) .site-header .theme-control span:last-child { display: none; }
  body:has(.blog-workspace) .site-nav { gap: 2px; }
  body:has(.blog-workspace) .site-nav a { padding-inline: 8px; }
}
@media (max-width:760px) {
  body:has(.blog-workspace) > :is(main,.site-header,.site-footer) { padding-inline: 22px; }
  body:has(.blog-workspace) > .site-header { padding-block: 16px 10px; gap: 12px; }
  body:has(.blog-workspace) .site-preferences :is(select,button) { min-height: 44px; }
  body:has(.blog-workspace) .site-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; padding: 0; overflow: visible; }
  body:has(.blog-workspace) .site-nav a { display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; min-height: 44px; padding: 6px 4px; font-size: 12px; }
  .blog-workspace .blog-source-links { padding-top: 14px; }
  .blog-workspace .blog-hero { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; padding: 24px 0 30px; }
  .blog-workspace .blog-hero h1 { font-size: clamp(28px,7.4vw,40px); }
  .blog-workspace .blog-hero p:not(.eyebrow) { font-size: 13px; }
  .blog-workspace .blog-hero aside { padding: 20px; border-radius: 12px; }
  .blog-workspace .blog-list { padding: 24px 0 40px; }
  .blog-workspace .blog-section-heading { display: block; }
  .blog-workspace .blog-section-heading > p { margin-top: 8px; }
  .blog-workspace .article-row { grid-template-columns: 32px minmax(0,1fr); gap: 10px; padding: 20px 0; }
  .blog-workspace .article-row footer { grid-column: 2; }
  body:has(.blog-workspace) > .site-footer { padding-block: 18px 24px; }
  body:has(.blog-workspace) .site-footer nav { flex-wrap: wrap; gap: 6px 16px; }
}
@media (max-width:420px) {
  .blog-workspace .article-row { grid-template-columns: 1fr; }
  .blog-workspace .article-number { display: none; }
  .blog-workspace .article-row footer { grid-column: 1; }
}
@media (max-width:380px) {
  body:has(.blog-workspace) > :is(main,.site-header,.site-footer) { padding-inline: 18px; }
}

.blog-workspace .blog-tag-directory{display:block;margin:0;padding:30px 0 26px;border-bottom:1px solid var(--line)}
.blog-workspace .blog-tag-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.blog-workspace .blog-tag-heading .eyebrow{margin:0 0 5px;color:var(--green);font-size:10px;letter-spacing:.15em}
.blog-workspace .blog-tag-heading h2{margin:0;font-size:22px}
.blog-workspace .blog-tag-all,.blog-workspace .blog-tag-group a{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:6px 11px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font-size:12px;font-weight:600;line-height:1.3;text-decoration:none;white-space:nowrap}
.blog-workspace .blog-tag-all:hover,.blog-workspace .blog-tag-group a:hover{border-color:var(--green);color:var(--green);text-decoration:none}
.blog-workspace .blog-tag-all.is-active,.blog-workspace .blog-tag-group a.is-active{border-color:var(--green);background:var(--green);color:var(--paper)}
.blog-workspace .blog-tag-all span,.blog-workspace .blog-tag-group a span{font-size:10px;opacity:.7}
.blog-workspace .blog-tag-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}
.blog-workspace .blog-tag-group{min-width:0}
.blog-workspace .blog-tag-group h3{margin:0 0 9px;color:var(--muted);font-size:12px;font-weight:650}
.blog-workspace .blog-tag-group>div{display:flex;flex-wrap:wrap;gap:7px}
.blog-workspace .blog-list{padding-top:28px}
.blog-workspace .article-row .blog-article-tags{margin-top:12px}
@media(max-width:760px){
  .blog-workspace .blog-tag-directory{padding:24px 0}
  .blog-workspace .blog-tag-groups{grid-template-columns:minmax(0,1fr);gap:18px}
  .blog-workspace .blog-tag-heading h2{font-size:20px}
  .blog-workspace .blog-tag-all,.blog-workspace .blog-tag-group a{min-height:40px}
}
