/* Research-driven reading layout */
.content-page{min-height:100vh;background:var(--bg)}
.content-header{
  min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:9px 0;border-bottom:1px solid var(--line-soft);
}
.content-brand{display:flex;align-items:center;gap:10px;min-width:0}
.content-brand img{width:38px;height:38px;border-radius:11px;object-fit:cover}
.content-brand strong{display:block;font-size:.96rem;letter-spacing:-.02em}
.content-brand small{display:none}
.content-search{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:transparent;border:0;font-size:19px;
}
.content-search:hover{background:var(--surface-2)}

.article-shell{padding:26px 0 52px}
.article-back{
  display:inline-flex;align-items:center;gap:7px;margin-bottom:22px;
  color:var(--muted);font-size:.82rem;font-weight:700;
}
.article-back:hover{color:var(--text)}

.article-card-full{
  width:100%;margin:0;background:transparent;border:0;overflow:visible;box-shadow:none;
}
.article-head{
  width:min(860px,100%);margin-inline:auto;padding:16px 0 24px;
}
.article-labels{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}
.article-labels a{
  padding:6px 8px;border-radius:8px;background:var(--accent-soft);color:var(--accent);
  font-size:.7rem;font-weight:760;
}
.article-title{
  max-width:18ch;margin:0;font-size:clamp(2.45rem,5.4vw,4.55rem);
  line-height:.98;letter-spacing:-.06em;font-weight:780;
}
.article-meta-row{
  display:flex;align-items:center;gap:9px 14px;flex-wrap:wrap;
  margin-top:18px;color:var(--muted);font-size:.82rem;
}
.article-meta-row span{display:inline-flex;align-items:center;gap:6px}

.article-hero{
  width:min(1040px,100%);margin:12px auto 0;aspect-ratio:16/9;
  background:var(--surface-2);border:0;border-radius:20px;overflow:hidden;
}
.article-hero img{width:100%;height:100%;object-fit:cover;display:block}

.article-body{
  width:min(68ch,100%);margin:38px auto 0;padding:0;
  font-size:18px;line-height:1.72;letter-spacing:0;
  overflow-wrap:anywhere;
}
.article-body>*:first-child{margin-top:0}
.article-body p{margin:0 0 1.35em}
.article-body h2,.article-body h3,.article-body h4{
  line-height:1.17;letter-spacing:-.03em;margin:2.15em 0 .72em;font-weight:760;
}
.article-body h2{font-size:1.75em}
.article-body h3{font-size:1.38em}
.article-body h4{font-size:1.13em}
.article-body ul,.article-body ol{padding-left:1.35em;margin:0 0 1.4em}
.article-body li{margin:.42em 0}
.article-body a{
  color:var(--accent);text-decoration:underline;text-decoration-thickness:.07em;text-underline-offset:.16em;
}
.article-body strong{font-weight:760}
.article-body img{
  max-width:100%;height:auto;display:block;margin:1.7em auto;border-radius:16px;
}
.article-body figure{margin:1.8em 0}
.article-body figcaption{
  max-width:62ch;margin:.65em auto 0;color:var(--muted);font-size:.76em;line-height:1.45;text-align:left;
}
.article-body blockquote{
  margin:1.7em 0;padding:.2em 0 .2em 1.15em;
  border-left:3px solid var(--accent);background:transparent;border-radius:0;
  color:color-mix(in srgb,var(--text) 88%,var(--muted));
}
.article-body blockquote p:last-child{margin-bottom:0}
.article-body pre,.article-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.article-body code{
  padding:.12em .3em;border-radius:5px;background:var(--surface-2);font-size:.9em;
}
.article-body pre{
  overflow:auto;margin:1.5em 0;padding:16px;border-radius:12px;background:var(--surface-2);
  font-size:.85em;line-height:1.55;
}
.article-body pre code{padding:0;background:transparent}
.article-body table{
  width:100%;border-collapse:collapse;display:block;overflow-x:auto;margin:1.6em 0;
}
.article-body th,.article-body td{padding:10px 12px;border:1px solid var(--line);text-align:left}
.article-body hr{border:0;border-top:1px solid var(--line);margin:2.2em 0}

/* Article controls live outside the reading column visually */
.article-actions{
  width:min(68ch,100%);margin:34px auto 0;padding:22px 0 0;border-top:1px solid var(--line);
  display:flex;gap:8px;flex-wrap:wrap;
}
.article-actions button{
  min-height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--line);
  background:var(--surface);color:var(--text);display:inline-flex;align-items:center;gap:7px;
  cursor:pointer;font-weight:700;font-size:.82rem;
}
.article-actions button:hover{background:var(--surface-2)}

.related-section,.article-newsletter{width:min(1040px,100%);margin:38px auto 0}
.content-section-heading{padding:0 0 14px}
.content-section-heading h2{
  margin:6px 0 0;font-size:1.7rem;line-height:1.1;letter-spacing:-.04em;
}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.related-card{
  border-radius:16px;background:var(--surface);border:1px solid var(--line);overflow:hidden;
}
.related-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.related-card div{padding:13px}
.related-card small{color:var(--accent);font-weight:740;font-size:.72rem}
.related-card h3{font-size:.96rem;line-height:1.32;margin:5px 0 0}
.related-card:hover h3{color:var(--accent)}

.article-newsletter{
  padding:24px;border-radius:18px;background:var(--surface);border:1px solid var(--line);
  display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;
}
.article-newsletter h2{margin:7px 0 5px;font-size:1.55rem;letter-spacing:-.035em}
.article-newsletter p{margin:0;color:var(--muted);line-height:1.45}
.article-newsletter form{display:flex;gap:7px}
.article-newsletter input{
  min-width:240px;min-height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--line);
  background:var(--bg);color:var(--text);outline:none;
}
.article-newsletter input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.article-newsletter button{
  min-height:44px;padding:0 13px;border:0;border-radius:10px;
  color:#fff;background:var(--accent);font-weight:740;cursor:pointer;
}

.content-footer{
  padding:26px 0 36px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;color:var(--muted);font-size:.78rem;
}
.loading-copy,.search-status{color:var(--muted)}

/* Static/search routes */
.static-page-card .article-head{padding-bottom:12px}
.search-page{padding:32px 0 52px}
.search-page-heading{width:min(900px,100%);margin:0 auto 22px}
.search-page-heading h1{font-size:clamp(2.15rem,5vw,3.5rem);letter-spacing:-.05em;margin:10px 0 18px}
.site-search-form{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;
  padding:6px;border-radius:13px;background:var(--surface);border:1px solid var(--line);
}
.site-search-form>i{margin-left:8px;color:var(--muted)}
.site-search-form input{min-width:0;min-height:43px;border:0;outline:0;background:transparent;color:var(--text);font-size:1rem}
.site-search-form button{min-height:41px;border:0;border-radius:9px;padding:0 14px;background:var(--accent);color:#fff;font-weight:740}
.search-status{width:min(900px,100%);margin:0 auto 12px}
.search-results{width:min(900px,100%);margin:auto;display:grid}
.search-result{
  display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:14px 0;
  border-top:1px solid var(--line);background:transparent;
}
.search-result:first-child{border-top:0}
.search-result img{width:150px;height:104px;object-fit:cover;border-radius:12px;background:var(--surface-2)}
.search-result-copy{padding:0}
.search-result-copy small{color:var(--accent);font-weight:740;font-size:.72rem}
.search-result-copy h2{font-size:1.08rem;line-height:1.3;margin:5px 0}
.search-result-copy p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.45}

@media(max-width:680px){
  .content-header{min-height:58px}
  .content-brand img{width:34px;height:34px;border-radius:10px}
  .article-shell{padding:16px 0 40px}
  .article-back{margin-bottom:14px}
  .article-head{padding:12px 0 18px}
  .article-title{max-width:none;font-size:clamp(2.15rem,11vw,3.25rem);line-height:1.01}
  .article-meta-row{margin-top:14px}
  .article-hero{margin-top:6px;border-radius:14px}
  .article-body{
    width:min(100%,68ch);margin-top:28px;font-size:17px;line-height:1.68;
  }
  .article-body h2{font-size:1.55em}
  .article-body h3{font-size:1.3em}
  .article-body img{border-radius:12px}
  .article-actions{width:100%;margin-top:28px}
  .related-section,.article-newsletter{margin-top:30px}
  .related-grid{grid-template-columns:1fr}
  .related-card{display:grid;grid-template-columns:116px minmax(0,1fr)}
  .related-card img{width:116px;height:100%;aspect-ratio:auto}
  .article-newsletter{grid-template-columns:1fr;padding:19px}
  .article-newsletter form{display:grid}
  .article-newsletter input{min-width:0;width:100%}
  .search-result{grid-template-columns:106px minmax(0,1fr);gap:12px}
  .search-result img{width:106px;height:82px}
  .search-result-copy p{display:none}
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
}

/* Must tolerate WCAG text-spacing overrides without clipping. */
.article-body,.article-body *{
  max-height:none;
}


/* Apple article polish — 2026-10-02 */
.article-shell{padding-bottom:28px}
.article-body{line-height:1.68}
.article-body>p:empty,.article-body>div:empty,.article-body>span:empty{display:none!important}
.article-body p,.article-body>div{margin-bottom:1em}
.article-body .separator{margin-top:1.1em!important;margin-bottom:1.1em!important}
.article-body img{border-radius:20px}

.related-section{margin-top:28px}
.related-grid{gap:14px}
.related-card{
  border-radius:22px;
  border:1px solid color-mix(in srgb,var(--text) 10%,transparent);
  background:color-mix(in srgb,var(--surface) 96%,var(--accent) 4%);
  box-shadow:0 12px 30px color-mix(in srgb,#000 14%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 5%,transparent);
  transition:transform .22s ease,background .22s ease,border-color .22s ease;
}
.related-card:hover{
  transform:translateY(-2px);
  background:color-mix(in srgb,var(--surface) 92%,var(--accent) 8%);
  border-color:color-mix(in srgb,var(--accent) 28%,transparent);
}
.related-card img{border-radius:0}

.article-newsletter{
  margin-top:26px;
  padding:clamp(22px,4vw,30px);
  border-radius:28px;
  border:1px solid color-mix(in srgb,var(--text) 10%,transparent);
  background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 97%,var(--accent) 3%),color-mix(in srgb,var(--surface) 99%,var(--bg) 1%));
  box-shadow:0 18px 46px color-mix(in srgb,#000 18%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 6%,transparent);
  backdrop-filter:blur(20px) saturate(130%);
  -webkit-backdrop-filter:blur(20px) saturate(130%);
  gap:22px;
}
.article-newsletter .eyebrow{color:var(--accent);font-weight:650;letter-spacing:-.01em}
.article-newsletter h2{
  margin:9px 0 7px;
  font-size:clamp(1.65rem,3vw,2rem);
  line-height:1.05;
  letter-spacing:-.045em;
}
.article-newsletter p{max-width:46ch;color:var(--muted);line-height:1.52}
.article-newsletter form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px}
.article-newsletter input{
  min-width:0;
  min-height:52px;
  padding:0 16px;
  border-radius:15px;
  border:1px solid color-mix(in srgb,var(--text) 12%,transparent);
  background:color-mix(in srgb,var(--bg) 82%,var(--surface) 18%);
  color:var(--text);
  font-size:1rem;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.article-newsletter input::placeholder{color:color-mix(in srgb,var(--muted) 88%,transparent)}
.article-newsletter input:focus{
  border-color:color-mix(in srgb,var(--accent) 62%,transparent);
  box-shadow:0 0 0 4px var(--accent-soft);
  background:var(--bg);
}
.article-newsletter button{
  min-height:52px;
  padding:0 18px;
  border-radius:15px;
  background:var(--accent);
  color:#fff;
  font-size:.98rem;
  font-weight:650;
  letter-spacing:-.01em;
  box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 26%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 22%,transparent);
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}
.article-newsletter button:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:0 14px 30px color-mix(in srgb,var(--accent) 32%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 24%,transparent);
}
.article-newsletter button:active{transform:scale(.985)}

.content-footer{
  margin-top:0;
  padding:18px 0 max(26px,env(safe-area-inset-bottom));
  border-top:1px solid color-mix(in srgb,var(--text) 9%,transparent);
  color:var(--muted);
  font-size:.78rem;
}
.content-footer a{color:inherit;text-decoration:none;transition:color .2s ease}
.content-footer a:hover{color:var(--accent)}

@media(max-width:680px){
  .article-shell{padding-bottom:22px}
  .article-body{line-height:1.64}
  .article-body p,.article-body>div{margin-bottom:.9em}
  .article-body .separator{margin-top:.9em!important;margin-bottom:.9em!important}
  .related-section{margin-top:24px}
  .related-card{border-radius:20px}
  .article-newsletter{margin-top:24px;padding:22px;border-radius:26px;gap:18px}
  .article-newsletter form{grid-template-columns:1fr}
  .article-newsletter input,.article-newsletter button{width:100%;min-height:54px;border-radius:16px}
  .content-footer{padding-top:16px}
}

@media(prefers-reduced-motion:reduce){
  .related-card,.article-newsletter input,.article-newsletter button,.content-footer a{transition:none!important}
}


/* 2026-10-02 — Collapse Blogger spacer markup deterministically */
.article-body>p:empty,
.article-body>div:empty,
.article-body>span:empty,
.article-body p:has(>br:only-child),
.article-body div:has(>br:only-child),
.article-body p:has(>span:only-child>br:only-child),
.article-body div:has(>span:only-child>br:only-child),
.article-body p:has(>b:only-child>br:only-child),
.article-body div:has(>b:only-child>br:only-child),
.article-body p:has(>b:only-child>span:only-child>br:only-child),
.article-body div:has(>b:only-child>span:only-child>br:only-child){
  display:none!important;
  margin:0!important;
  padding:0!important;
  min-height:0!important;
}
.article-body>p,
.article-body>div{margin-top:0!important;margin-bottom:.82em!important}
.article-body>p:last-child,
.article-body>div:last-child{margin-bottom:0!important}
@media(max-width:680px){
  .article-body>p,
  .article-body>div{margin-bottom:.72em!important}
}

.bookmarks-intro{margin:0;color:var(--muted);font-size:.96rem;line-height:1.55}
.bookmarks-list{width:min(900px,100%);margin:0 auto;display:grid;gap:12px}
.bookmark-card{
  display:flex;align-items:center;gap:10px;
  padding:6px;border-radius:20px;
  background:var(--surface);border:1px solid var(--line);
}
.bookmark-open{
  flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:14px 12px;border-radius:15px;
}
.bookmark-open small{color:var(--accent);font-weight:700;font-size:.72rem}
.bookmark-open h2{margin:4px 0 0;font-size:1rem;line-height:1.32;letter-spacing:-.02em}
.bookmark-open>i{flex:0 0 auto;color:var(--muted)}
.bookmark-card button{
  min-height:40px;padding:0 12px;border:0;border-radius:12px;
  background:var(--surface-2);color:var(--muted);font-weight:650;cursor:pointer;
}
.bookmark-card button:hover{color:var(--text)}
.bookmarks-empty{
  width:min(900px,100%);margin:20px auto 0;padding:42px 24px;text-align:center;
  border-radius:24px;background:var(--surface);border:1px solid var(--line);
}
.bookmarks-empty>i{font-size:30px;color:var(--accent)}
.bookmarks-empty h2{margin:12px 0 6px;font-size:1.25rem}
.bookmarks-empty p{margin:0;color:var(--muted)}
@media(max-width:680px){
  .bookmark-card{align-items:stretch;flex-direction:column}
  .bookmark-card button{width:100%}
}


/* 2026-10-02 — Final article rhythm, actions and footer */
.article-shell{padding-bottom:10px}
.article-body{
  line-height:1.64;
}
.article-body>p,
.article-body>div{
  margin-top:0!important;
  margin-bottom:.78em!important;
}
.article-body>p:last-child,
.article-body>div:last-child{
  margin-bottom:0!important;
}
.article-body h2,
.article-body h3,
.article-body h4{
  margin-top:1.7em;
}
.article-body blockquote{
  margin:1.25em 0;
}
.article-body img,
.article-body figure{
  margin-top:1.35em;
  margin-bottom:1.35em;
}

.article-actions{
  width:min(68ch,100%);
  margin:26px auto 0;
  padding:18px 0 0;
  border-top:1px solid color-mix(in srgb,var(--text) 9%,transparent);
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.article-actions button{
  min-width:0;
  min-height:46px;
  padding:0 12px;
  justify-content:center;
  border-radius:14px;
  border:1px solid color-mix(in srgb,var(--text) 10%,transparent);
  background:var(--surface);
  color:var(--text);
  font-size:.82rem;
  font-weight:650;
  box-shadow:inset 0 1px 0 color-mix(in srgb,#fff 4%,transparent);
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.article-actions button:hover{
  background:var(--surface-2);
}
.article-actions button:active{
  transform:scale(.985);
}
#bookmarkButton[aria-pressed="true"]{
  color:var(--accent);
  border-color:color-mix(in srgb,var(--accent) 34%,transparent);
  background:var(--accent-soft);
}

.related-section{margin-top:24px}
.article-newsletter{margin-top:22px}

.content-footer-modern{
  width:min(1040px,calc(100% - 40px));
  max-width:1040px;
  margin:14px auto max(20px,env(safe-area-inset-bottom));
  padding:18px 20px;
  border:1px solid color-mix(in srgb,var(--text) 9%,transparent);
  border-radius:24px;
  background:color-mix(in srgb,var(--surface) 97%,var(--accent) 3%);
  box-shadow:0 14px 36px color-mix(in srgb,#000 12%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 5%,transparent);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  color:var(--muted);
  font-size:.78rem;
}
.content-footer-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.content-footer-brand img{
  width:36px;
  height:36px;
  flex:none;
  object-fit:cover;
  border-radius:11px;
}
.content-footer-brand strong{
  display:block;
  color:var(--text);
  font-size:.9rem;
  line-height:1.15;
  letter-spacing:-.02em;
}
.content-footer-brand span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:.7rem;
  white-space:nowrap;
}
.content-footer-links{
  min-width:0;
  display:flex;
  justify-content:center;
  gap:4px;
  flex-wrap:wrap;
}
.content-footer-links a{
  padding:8px 10px;
  border-radius:10px;
  color:var(--muted);
  font-weight:600;
  transition:background .18s ease,color .18s ease;
}
.content-footer-links a:hover{
  color:var(--text);
  background:var(--surface-2);
}
.content-footer-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  white-space:nowrap;
}
.content-footer-meta a{
  color:var(--muted);
}
.content-footer-meta a:hover{
  color:var(--accent);
}

@media(max-width:680px){
  .article-shell{padding-bottom:8px}
  .article-body{
    line-height:1.62;
  }
  .article-body>p,
  .article-body>div{
    margin-bottom:.7em!important;
  }
  .article-actions{
    width:100%;
    margin-top:22px;
    gap:7px;
  }
  .article-actions button{
    min-height:48px;
    padding:0 8px;
    border-radius:13px;
    font-size:.78rem;
  }
  .related-section{margin-top:22px}
  .article-newsletter{margin-top:20px}

  .content-footer-modern{
    width:calc(100% - 40px);
    margin-top:12px;
    padding:18px;
    border-radius:22px;
    grid-template-columns:1fr;
    gap:15px;
  }
  .content-footer-brand span{
    white-space:normal;
  }
  .content-footer-links{
    justify-content:flex-start;
    margin-left:-8px;
  }
  .content-footer-meta{
    justify-content:space-between;
    padding-top:12px;
    border-top:1px solid color-mix(in srgb,var(--text) 8%,transparent);
  }
}


/* 2026-10-02 — Research-based long-form reading comfort */
.article-newsletter button i{
  display:none!important;
}

.article-body{
  width:min(64ch,100%);
  font-size:18px;
  line-height:1.72;
  text-align:left;
  color:color-mix(in srgb,var(--text) 94%,var(--muted) 6%);
}

.article-body>p,
.article-body>div{
  margin-top:0!important;
  margin-bottom:1.05em!important;
}

.article-body>p:first-of-type{
  font-size:1.035em;
  line-height:1.74;
}

.article-body h2,
.article-body h3,
.article-body h4{
  max-width:30ch;
  text-wrap:pretty;
  color:var(--text);
  scroll-margin-top:88px;
}

.article-body h2{
  margin:2.15em 0 .62em;
  font-size:1.58em;
  line-height:1.14;
  letter-spacing:-.035em;
}

.article-body h3{
  margin:1.8em 0 .58em;
  font-size:1.28em;
  line-height:1.2;
  letter-spacing:-.025em;
}

.article-body h4{
  margin:1.55em 0 .52em;
  font-size:1.12em;
  line-height:1.25;
}

.article-body h2+p,
.article-body h3+p,
.article-body h4+p{
  margin-top:0!important;
}

.article-body ul,
.article-body ol{
  margin:0 0 1.15em;
  padding-left:1.35em;
}

.article-body li{
  margin:.48em 0;
  line-height:1.62;
}

.article-body blockquote{
  margin:1.45em 0;
  padding:.15em 0 .15em 1.05em;
}

.article-body figure,
.article-body img{
  margin-top:1.45em;
  margin-bottom:1.45em;
}

/* Fallback styling for legacy Blogger pseudo-headings before JS promotion. */
.article-body>p:has(b>span[style*="font-size: x-large"]),
.article-body>div:has(b>span[style*="font-size: x-large"]),
.article-body>p:has(strong>span[style*="font-size: x-large"]),
.article-body>div:has(strong>span[style*="font-size: x-large"]){
  margin-top:2.15em!important;
  margin-bottom:.62em!important;
  color:var(--text);
  line-height:1.14;
}

.article-body>p:has(b>span[style*="font-size: large"]),
.article-body>div:has(b>span[style*="font-size: large"]),
.article-body>p:has(strong>span[style*="font-size: large"]),
.article-body>div:has(strong>span[style*="font-size: large"]){
  margin-top:1.8em!important;
  margin-bottom:.58em!important;
  color:var(--text);
  line-height:1.2;
}

@media(max-width:680px){
  .article-body{
    width:100%;
    font-size:17px;
    line-height:1.70;
  }

  .article-body>p,
  .article-body>div{
    margin-bottom:.98em!important;
  }

  .article-body>p:first-of-type{
    font-size:1.02em;
    line-height:1.72;
  }

  .article-body h2{
    margin-top:1.95em;
    font-size:1.48em;
  }

  .article-body h3{
    margin-top:1.7em;
    font-size:1.24em;
  }

  .article-body li{
    line-height:1.62;
  }
}


/* 2026-10-02 — Editorial reading type system */
:root{
  --font-editorial:
    "Literata",
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Georgia,
    Cambria,
    serif;
}

/* Keep navigation, metadata and controls in the clean UI sans-serif.
   Use a dedicated book/editorial face only where sustained reading happens. */
.article-title,
.article-body,
.content-section-heading h2{
  font-family:var(--font-editorial);
  font-kerning:normal;
  font-feature-settings:"kern" 1,"liga" 1,"clig" 1;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
}

.article-title{
  max-width:19ch;
  font-weight:700;
  letter-spacing:-.035em;
  line-height:1.03;
}

.article-body{
  width:min(63ch,100%);
  font-size:18.5px;
  line-height:1.76;
  letter-spacing:.002em;
  font-weight:400;
}

.article-body p,
.article-body li,
.article-body blockquote{
  hanging-punctuation:first last;
}

.article-body strong,
.article-body b{
  font-weight:700;
}

.article-body h2,
.article-body h3,
.article-body h4{
  font-family:var(--font-editorial);
  font-weight:700;
  letter-spacing:-.02em;
}

.article-body h2{line-height:1.16}
.article-body h3{line-height:1.2}
.article-body h4{line-height:1.24}

.content-section-heading h2{
  font-weight:700;
  letter-spacing:-.028em;
}

@media(max-width:680px){
  .article-title{
    max-width:none;
    letter-spacing:-.03em;
    line-height:1.04;
  }

  .article-body{
    width:100%;
    font-size:18px;
    line-height:1.74;
    letter-spacing:.001em;
  }
}


/* 2026-10-02 — Literata cache-safe override */
.article-title,
.article-body,
.content-section-heading h2,
.article-body h2,
.article-body h3,
.article-body h4{
  font-family:"Literata",Georgia,Cambria,serif!important;
  font-optical-sizing:auto;
}
.article-body{
  font-variation-settings:"opsz" 18;
}
.article-title,
.content-section-heading h2,
.article-body h2,
.article-body h3,
.article-body h4{
  font-variation-settings:"opsz" 36;
}


/* 2026-10-02 — Readability system: shorter blocks, softer contrast */
.content-page{
  background:var(--bg);
}

.article-title,
.article-body,
.content-section-heading h2,
.article-body h2,
.article-body h3,
.article-body h4{
  font-family:var(--font-ui)!important;
}

.article-body{
  width:min(60ch,100%)!important;
  font-size:18px!important;
  line-height:1.72!important;
  letter-spacing:0!important;
  color:var(--text);
  text-wrap:pretty;
}

.article-body>p,
.article-body>div{
  margin-top:0!important;
  margin-bottom:1.12em!important;
}

.article-body>p:first-of-type{
  font-size:1em!important;
  line-height:1.72!important;
}

.article-body h2{
  margin:2em 0 .62em!important;
  font-size:1.55em!important;
  line-height:1.18!important;
}

.article-body h3{
  margin:1.75em 0 .58em!important;
  font-size:1.27em!important;
  line-height:1.22!important;
}

.article-body h4{
  margin:1.55em 0 .52em!important;
  font-size:1.12em!important;
  line-height:1.26!important;
}

html[data-theme="dark"] .article-body{
  color:#e1e2e6;
}

html[data-theme="dark"] .content-page{
  background:#1b1c20;
}

@media(max-width:680px){
  .article-body{
    width:100%!important;
    font-size:17.5px!important;
    line-height:1.70!important;
  }

  .article-body>p,
  .article-body>div{
    margin-bottom:1.08em!important;
  }
}


/* 2026-10-02 — Final sans typography guard */
.article-title,
.article-body,
.content-section-heading h2,
.article-body h2,
.article-body h3,
.article-body h4,
.article-newsletter h2,
.related-card h3{
  font-family:var(--font-ui)!important;
  font-optical-sizing:auto;
  font-variation-settings:normal!important;
}
