/* The State: a small reading route, not another wall of interchangeable cards. */
.state-page { --state-muted: #66685e; }
[data-lang="en"] .state-page .lang-hant,
[data-lang="zh"] .state-page .lang-hant { display: none !important; }
.state-page .lang-zh { font-family: var(--cjk); }
.state-page .lang-hant { font-family: var(--tc); }
.state-wrap { max-width: 1140px; margin: 64px auto 0; padding: 2.5rem 2.5rem 6rem; }
.state-breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-family: var(--sans); font-size: .85rem; color: var(--state-muted); }
.state-breadcrumbs a { color: inherit; text-decoration: none; }
.state-hero { padding: 3rem 0 1.8rem; max-width: 950px; }
.state-kicker { font-family: var(--sans); font-size: .78rem; color: var(--green); letter-spacing: .06em; margin-bottom: 1.2rem; }
.state-hero h1 { font-size: clamp(2.5rem, 5.3vw, 4.6rem); font-weight: 400; line-height: 1.3; margin-bottom: 1.3rem; }
.state-deck { font-size: 1.2rem; line-height: 1.9; color: var(--ink-light); max-width: 850px; }
.state-meta { font-family: var(--sans); font-size: .8rem; color: var(--state-muted); margin: 1.4rem 0 1rem; }
.state-notice { font-size: .88rem; line-height: 1.85; color: var(--state-muted); max-width: 830px; }
.state-orientation { padding: 1.2rem 1.5rem; border-left: 2px solid var(--gold); background: var(--cream-dark); line-height: 1.9; font-size: 1rem; }
.state-topics { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.7rem 0 2.5rem; }
.state-topics a { color: var(--green); border: 1px solid var(--cream-border); padding: .6rem .8rem; text-decoration: none; font-size: .88rem; line-height: 1.5; }
.state-topics a:hover { background: var(--cream-dark); border-color: var(--green); }
.state-group { margin-top: 2.5rem; scroll-margin-top: 6rem; }
.state-group > h2 { font-weight: 400; font-size: 1.55rem; line-height: 1.6; padding-bottom: .7rem; border-bottom: 2px solid var(--green); }
.state-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 2.5rem; }
.state-card { display: grid; grid-template-columns: 1.8rem minmax(0,1fr); gap: .75rem; padding: 1.7rem 0; border-bottom: 1px solid var(--cream-border); text-decoration: none; color: var(--ink); }
.state-number { color: var(--gold); font-family: var(--sans); font-size: .85rem; padding-top: .3rem; }
.state-card h3 { font-size: 1.25rem; line-height: 1.6; font-weight: 500; margin-bottom: .7rem; }
.state-card p { font-size: 1rem; line-height: 1.85; color: var(--ink-light); margin-bottom: 1rem; }
.state-card:hover h3 { color: var(--green); }
.state-read { font-size: .85rem; color: var(--green); }
.state-context, .state-sources { font-size: .94rem; line-height: 1.9; border-top: 1px solid var(--cream-border); padding-top: 1.25rem; margin-top: 2.5rem; }
.state-context p, .state-sources p { margin: 1rem 0; }
.state-page summary { cursor: pointer; color: var(--green); }
.state-sources h2, .state-related h2 { font-size: 1.1rem; line-height: 1.6; font-weight: 500; margin-bottom: .7rem; }
.state-related { border-top: 1px solid var(--cream-border); padding-top: 1.4rem; margin-top: 2.8rem; line-height: 1.8; }
.state-related a { display: inline-block; margin: .3rem 1.3rem .3rem 0; }
.state-related a, .state-return a, .state-sources a { color: var(--green); text-underline-offset: .2em; }
.state-article { max-width: 820px; margin: 0 auto; }
.state-head { padding: 2.8rem 0 2.2rem; border-bottom: 1px solid var(--cream-border); }
.state-head h1 { font-size: clamp(2.1rem, 4.1vw, 3.5rem); font-weight: 400; line-height: 1.35; margin-bottom: 1.2rem; overflow-wrap: break-word; }
.essay-body.state-prose { max-width: 740px; padding: 2.7rem 0 0; }
.essay-body.state-prose p { font-size: 1.12rem; line-height: 2; }
.essay-body.state-prose.lang-en p { font-size: 1.24rem; line-height: 1.9; }
.essay-body.state-prose h2 { line-height: 1.65; }
.state-series-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 2.8rem; }
.state-series-nav a { padding: 1.1rem; border: 1px solid var(--cream-border); color: var(--green); text-decoration: none; line-height: 1.7; font-size: 1rem; }
.state-series-nav small { display: block; color: var(--state-muted); font-size: .8rem; margin-bottom: .5rem; }
.state-return { margin-top: 1.4rem; font-size: .94rem; }
.state-page :is(a,button,summary):focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (max-width: 760px) {
  .state-wrap { margin-top: 58px; padding: 1.6rem 1.2rem 4rem; }
  .state-hero, .state-head { padding-top: 2.3rem; }
  .state-grid, .state-series-nav { grid-template-columns: 1fr; }
  .state-orientation { padding: 1rem; }
  .state-hero h1 { font-size: clamp(2.2rem, 8vw, 3.3rem); }
  .essay-body.state-prose p { font-size: 1.07rem; }
  .essay-body.state-prose.lang-en p { font-size: 1.16rem; }
}
