:root {
  --post-ink: #203d30;
  --post-accent: #764034;
  --editorial-paper: #f7f1df;
  --editorial-line: #b2aa90;
  --heading: Georgia, "Times New Roman", serif;
  --blog-bg: #fcfaf4;
  --reading-width: 46rem;
}
* { box-sizing: border-box; }
body.editorial-site {
  margin: 0;
  color: var(--post-ink);
  background: var(--blog-bg);
  font: 16px/1.58 system-ui, sans-serif;
}
.blog-wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible, .editorial-table:focus-visible { outline: 3px solid var(--post-accent); outline-offset: 4px; }
.skip-blog { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; padding: .5rem .85rem; background: white; transform: translateY(-160%); }
.skip-blog:focus { transform: none; }
.crumb { margin-block: 1.15rem; }
.crumb ol { display: flex; flex-wrap: wrap; gap: .28rem .6rem; padding: 0; margin: 0; list-style: none; }
.crumb li + li::before { content: "/"; margin-inline-end: .6rem; opacity: .7; }
#blog-content { padding-bottom: clamp(2.5rem, 7vw, 6rem); }
.editorial-post { min-width: 0; }
.editorial-site h1, .editorial-site h2, .editorial-site h3 {
  font-family: var(--heading);
  color: inherit;
  line-height: 1.09;
  letter-spacing: -.038em;
  font-weight: 700;
}
.editorial-site h1 { margin: 0; font-size: clamp(2.4rem, 5.3vw, 5.55rem); text-wrap: balance; overflow-wrap: anywhere; }
.editorial-site h2 { font-size: clamp(1.63rem, 3.1vw, 2.64rem); text-wrap: balance; margin: 0; }
.editorial-site h3 { font-size: clamp(1.25rem, 2.1vw, 1.72rem); margin: .55rem 0; }
.cf-post-head { margin: 0 0 clamp(1.3rem, 4vw, 2.7rem); min-width: 0; }
.cf-post-head .lede { max-width: 48ch; font-size: clamp(1rem, 2vw, 1.24rem); line-height: 1.55; margin: 1rem 0; }
.cf-photo { margin: 1.5rem auto; min-width: 0; }
.cf-photo img { width: 100%; height: auto; display: block; }
.cf-photo figcaption { margin-top: .55rem; line-height: 1.45; color: #4a5449; }
.cf-scene { max-width: var(--reading-width); }
.cf-scene img { border: 1px solid var(--editorial-line); }
.editorial-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .65rem 1rem;
  font-weight: 750;
  color: #fffaf0;
  background: var(--post-ink);
  text-decoration: none;
  border: 1px solid var(--post-ink);
  text-align: center;
}
.editorial-button:hover { color: var(--post-ink); background: white; }
.cf-forward { font-weight: 750; color: var(--post-accent); }
.post-content { min-width: 0; overflow-wrap: break-word; }
.post-content > p, .post-content .post-intro p, .post-section > p { line-height: 1.73; margin: .8em 0; }
.post-intro p:first-of-type { margin-top: 0; font-size: clamp(1.12rem, 2.3vw, 1.36rem); line-height: 1.55; }
.post-section { margin: clamp(1.7rem, 4.2vw, 3.2rem) 0; scroll-margin-block: 1.35rem; min-width: 0; }
.post-section h2 { margin: 0 0 .55rem; }
.post-section h3 { margin-top: 1em; }
.post-section ul, .post-section ol { padding-inline-start: 1.4rem; }
.post-section li { margin-block: .28em; }
.post-content a:not(.editorial-button), .post-sources a { color: var(--post-accent); }
.editorial-table { overflow: auto; border: 1px solid var(--editorial-line); margin: 1.2rem 0; }
.editorial-table table { width: 100%; border-collapse: collapse; line-height: 1.5; }
.editorial-table th, .editorial-table td { min-width: 7rem; padding: .65rem .77rem; text-align: left; border-bottom: 1px solid var(--editorial-line); }
.editorial-table th { background: var(--editorial-paper); font-family: var(--heading); font-weight: 770; }
.editorial-table tr:last-child td { border-bottom: 0; }
.post-content blockquote {
  border-inline-start: 4px solid var(--post-accent);
  padding: .5rem 1rem;
  margin-inline: 0;
  background: var(--editorial-paper);
}
.post-content pre { overflow: auto; background: var(--editorial-paper); padding: 1rem; }
.post-content code { font-size: max(1em, var(--copy-min)); }

.cf-index { padding-block: .9rem; border-block: 1px solid var(--editorial-line); }
.cf-index h2 { margin-bottom: .65rem; font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.cf-index ul { display: flex; align-items: start; flex-wrap: wrap; list-style: none; margin: 0; gap: .55rem 1.3rem; padding: 0; }
.cf-index a { display: block; padding-block: .08rem; line-height: 1.35; color: var(--post-accent); font-weight: 690; }
.cf-index a:hover { color: var(--post-ink); }
.cf-index details summary { cursor: pointer; font-weight: 730; }
.cf-index details[open] summary { margin-bottom: .6rem; }
.cf-index details ul { margin-left: .55rem; }
.cf-figure-data {
  margin: clamp(1.2rem, 4vw, 2.3rem) 0;
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--editorial-paper);
  border: 1px solid var(--editorial-line);
}
.cf-figure-data figcaption { font: 700 clamp(1.45rem, 2.6vw, 2.06rem)/1.1 var(--heading); }
.cf-figure-data p { margin: .65rem 0 0; line-height: 1.5; }
.cf-map { counter-reset: cf-instruction; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.1rem; margin: 1rem 0 0; padding: 0; }
.cf-map li {
  counter-increment: cf-instruction;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  column-gap: .6rem;
  align-content: start;
  border-top: 1px solid var(--editorial-line);
  padding: .75rem 0;
  margin: 0;
}
.cf-map li::before {
  content: counter(cf-instruction);
  grid-row: span 2;
  color: var(--post-accent);
  font: 700 1.25rem/1.45 var(--heading);
}
.cf-map strong { display: block; font-size: 1.03em; }
.cf-map p { margin: .22rem 0 0; }
.cf-example-data dl { padding: 0; margin: .75rem 0 0; }
.cf-example-data dl div {
  display: grid;
  grid-template-columns: minmax(7rem, .95fr) minmax(0, 1.3fr);
  gap: .4rem 1rem;
  padding-block: .65rem;
  border-top: 1px solid var(--editorial-line);
}
.cf-example-data dt { font-weight: 760; }
.cf-example-data dd { margin: 0; }
.cf-check-data ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.cf-check-data li { padding: .65rem 0; border-top: 1px solid var(--editorial-line); }
.cf-check-data li strong { display: block; }
.cf-check-data li p { margin: .2rem 0 0; }

.cf-site-note {
  padding: clamp(1rem, 4vw, 1.9rem);
  margin: clamp(1.8rem, 5vw, 3.3rem) 0;
  background: #e8eee1;
  border-inline-start: 5px solid var(--post-ink);
}
.cf-site-note p { margin: .5rem 0 .9rem; max-width: 58ch; }
.post-related { padding: 1.25rem 0; margin-top: 2.25rem; border-top: 4px double var(--editorial-line); }
.post-sources { padding: 1.15rem 0 0; margin-top: 2.1rem; border-top: 1px solid var(--editorial-line); }
.post-sources ul, .post-related ul { margin: .8rem 0 0; padding-left: 1.3rem; }
.post-related li, .post-sources li { margin: .33rem 0; }
.post-related a { display: inline-flex; gap: .5rem; }
.post-related a span { color: var(--post-accent); }
.editorial-faq { display: grid; gap: .65rem; margin-top: 1em; }
.editorial-faq p { margin: 0 0 .45rem; line-height: 1.55; }

.cf-archive-head {
  text-align: center;
  padding: clamp(1.4rem, 3vw, 2.6rem) 0 clamp(1.7rem, 4vw, 3.2rem);
  border-bottom: 4px double var(--editorial-line);
}
.cf-archive-head p { max-width: 62ch; font-size: clamp(1.05rem, 2vw, 1.28rem); margin: .85rem auto 0; }
.cf-archive-list { margin: 0; padding: 0; list-style: none; }
.cf-archive-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6.6rem, 25vw, 16rem);
  align-items: center;
  gap: clamp(.85rem, 5vw, 4rem);
  padding: clamp(.9rem, 3.6vw, 1.8rem) 0;
  border-bottom: 1px solid var(--editorial-line);
}
.cf-archive-row img { display: block; width: 100%; height: auto; border: 1px solid var(--editorial-line); }
.cf-archive-row p { margin: .5rem 0 .65rem; max-width: 60ch; }
.cf-archive-row h2 a { text-decoration: none; }
.cf-archive-row h2 a:hover { color: var(--post-accent); text-decoration: underline; }
.cf-archive-bottom { margin-top: 1.6rem; text-align: center; }

@media (max-width: 700px) {
  body.editorial-site { font-size: 14px; }
  .blog-wrap { width: calc(100% - 1.8rem); }
  .cf-map { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cf-example-data dl div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 375px) {
  .cf-archive-row { grid-template-columns: minmax(0, 1fr) 5rem; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .editorial-button, .cf-archive-row img { transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
  .cf-archive-row:hover img { box-shadow: .24rem .24rem var(--editorial-line); }
}

