.state-hub-page .state-heading { min-height: 220px; padding: 2rem 0 1.5rem; }
.state-hub-page .state-heading-copy { max-width: 840px; }
.state-hub-page .state-backdrop { width: 250px; height: 210px; opacity: .16; }
.state-hub-page .state-masthead { border-bottom: 0; }
.state-hub-page h1 { font-size: 2.6rem; }
.state-hub-page h2, .topic-page h2, .search-page h2 { font-size: 1.6rem; }
.legal-search-form { margin: 1rem 0 0; max-width: 820px; padding: 0; border: 0; }
.legal-search-form label { display: block; font-weight: 650; margin-bottom: .4rem; color: #24352f; }
.search-row { display: flex; background: #fff; border: 1px solid #a8b9b1; border-radius: 6px; overflow: hidden; box-shadow: 0 3px 12px #24352f0b; }
.legal-search-form .search-row input { width: 100%; min-width: 0; flex: 1; border: 0; padding: .75rem 1rem; margin: 0; font: inherit; background: #fff; color: #1f2937; border-radius: 0; }
.search-row button { width: 64px; flex: none; border: 0; border-radius: 0; padding: 0; margin: 0; background: #21634c; cursor: pointer; display: grid; place-items: center; }
.search-row button:hover { background: #164b38; }
.search-row button img { width: 25px; height: 25px; filter: invert(1); }
.search-row:focus-within { outline: 3px solid #b5d4c8; outline-offset: 3px; }
.search-privacy { font-size: .8rem; color: #5b677a; margin: .5rem 0 0; }
.state-hub-page .state-heading-copy > p:not(.breadcrumb):not(.eyebrow) { max-width: 790px; }
.state-hub-page .state-heading-copy > .eyebrow { margin-bottom: .55rem; }
.urgent-strip { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid #c9ddd6; border-bottom: 1px solid #c9ddd6; margin: 0 0 2rem; }
.urgent-strip strong { color: #21634c; font-size: .95rem; }
.urgent-strip a { display: flex; gap: .55rem; align-items: center; font-size: .9rem; line-height: 1.35; min-height: 44px; }
.urgent-strip img { width: 23px; height: 23px; flex: none; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1.2rem 0 2rem; }
.topic-card { display: flex; gap: 14px; align-items: center; padding: 1rem; min-height: 114px; border: 1px solid #dce4e0; border-radius: 6px; color: #24352f; text-decoration: none; background: #fff; transition: border-color .15s, background .15s; }
.topic-card:hover { border-color: #21634c; background: #f7faf8; }
.topic-card h3 { font-family: inherit; font-size: 1.02rem; line-height: 1.35; margin: 0 0 .3rem; }
.topic-card p { font-size: .87rem; color: #5b677a; margin: 0; line-height: 1.4; }
.topic-symbol { width: 46px; height: 46px; padding: 10px; flex: none; background: #edf4f0; border-radius: 50%; }
.topic-card:nth-child(3n+2) .topic-symbol { background: #eef2fa; }
.topic-card:nth-child(3n) .topic-symbol { background: #f8efeb; }
.hub-support { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; padding: 1.5rem 0; border-top: 1px solid #dce4e0; }
.hub-support p { font-size: .94rem; }
.hub-support h2 { font-size: 1.3rem; }
.state-legacy { margin: 1rem 0 2rem; padding: 1rem 0; border-top: 1px solid #dce4e0; }
.state-legacy > summary { cursor: pointer; font-weight: 650; color: #21634c; padding: .6rem 0; }
.state-legacy[open] > summary { margin-bottom: 1rem; }
.topic-page { padding: 1.5rem 0 2.5rem; }
.topic-page .breadcrumb, .search-page .breadcrumb { font-size: .9rem; }
.topic-page h1, .search-page h1 { font-size: 2.3rem; margin-top: 1rem; }
.topic-intro { max-width: 760px; }
.topic-title-row { display: flex; gap: 1rem; align-items: center; margin: 1rem 0; }
.topic-title-row h1 { margin: 0 0 .3rem; }
.topic-title-row p { margin: 0; color: #5b677a; }
.topic-title-row .topic-symbol { width: 58px; height: 58px; padding: 14px; }
.situation-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 1.5rem; margin: 1.5rem 0 2rem; border-top: 1px solid #dce4e0; }
.situation-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid #dce4e0; font-weight: 600; text-decoration: none; min-height: 68px; }
.situation-list a:hover { background: #f0f6f3; }
.situation-list img { width: 20px; height: 20px; flex: none; }
.focused-guide { margin: 1.5rem 0 2.5rem; scroll-margin-top: 125px; }
.focused-guide > header { margin: 1rem 0; }
.focused-guide > header h2 { font-size: 2rem; max-width: 800px; }
.guide-scope { display: inline-block; font-size: .8rem; font-weight: 600; color: #5b677a; margin: .4rem 0; }
.guide-essential { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; padding: 1.2rem 0; border-top: 2px solid #21634c; border-bottom: 1px solid #dce4e0; }
.guide-essential h3 { font-family: inherit; font-size: 1rem; }
.guide-risk h3 { color: #963d2a; }
.guide-body { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 2.5rem; padding: 1.5rem 0; }
.guide-body section { margin-bottom: 1.5rem; }
.guide-body h3, .plan-fit h3, .hub-resources h3 { font-size: 1.2rem; }
.guide-body p { max-width: 76ch; }
.plan-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-top: 1px solid #dce4e0; padding: 1.25rem 0; }
.plan-fit > div:first-child { border-left: 3px solid #21634c; padding-left: 1rem; }
.plan-fit > div:last-child { border-left: 3px solid #a34b35; padding-left: 1rem; }
.fact-block { margin: 1.2rem 0; padding: 1rem 0; border-top: 1px solid #dce4e0; }
.fact-block .state-family-detail, .fact-block article { border: 0; padding: 0; background: transparent; }
.fact-block h3 { font-size: 1.25rem; }
.fact-block .law-facts { grid-template-columns: 1fr; }
.fact-block .law-fact { background: transparent; padding: .8rem 0; border: 0; border-bottom: 1px solid #dce4e0; }
.fact-block .law-fact h3 { font-size: 1rem; }
.fact-block .law-fact strong { font-size: 1rem; }
.fact-block .state-divorce-columns { display: block; }
.fact-block .state-divorce-columns > div + div { display: none; }
.fact-block .state-law-glance h2 { font-size: 1.3rem; }
.hub-resources { padding: 1.5rem 0; border-top: 1px solid #dce4e0; }
.hub-resources .source-list { padding-left: 1.2rem; }
.guide-questions details { border-bottom: 1px solid #dce4e0; padding: .65rem 0; }
.guide-questions summary { cursor: pointer; font-weight: 600; }
.guide-questions details p { margin-top: .7rem; }
.search-page { padding: 2rem 0; }
.search-page select { padding: .6rem; font: inherit; max-width: 100%; background: #fff; border: 1px solid #a8b9b1; border-radius: 4px; }
.search-filter { display: flex; align-items: center; gap: .7rem; margin-top: .8rem; }
.search-results { max-width: 880px; padding: 0; list-style: none; }
.search-results li { padding: 1.2rem 0; border-bottom: 1px solid #dce4e0; }
.search-results h2 { font-family: inherit; font-size: 1.1rem; }
.search-results p { margin-bottom: .3rem; }
.search-results .result-place { color: #5b677a; font-size: .8rem; }
.search-status { margin: 1.5rem 0 .5rem; font-weight: 600; }
.search-browse { border-top: 1px solid #dce4e0; padding: 1.5rem 0; margin-top: 2rem; }
.search-browse a { display: inline-block; margin: .35rem 1rem .35rem 0; }
/* Native fragment navigation works without JavaScript; old browsers show all guides. */
@supports selector(:has(*)) {
  .topic-page .focused-guide { display: none; }
  .topic-page .focused-guide:target { display: block; }
  .topic-page:has(.focused-guide:target) .topic-overview { display: none; }
  .topic-page:has(.focused-guide:target) .topic-title-row { margin: .5rem 0; }
  .topic-page:has(.focused-guide:target) .topic-title-row h1 { font-size: 1.3rem; }
  .topic-page:has(.focused-guide:target) .topic-title-row p { display: none; }
  .topic-page:has(.focused-guide:target) .topic-title-row .topic-symbol { width: 36px; height: 36px; padding: 7px; }
  .topic-page:has(.focused-guide:target) .focused-guide { margin-top: 1rem; }
}
@media(max-width: 900px) {
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .urgent-strip { grid-template-columns: 1fr 1fr; }
  .guide-body { gap: 1.5rem; }
}
@media(max-width: 600px) {
  body:has(.state-hub-page, .topic-page) .research-nav { display: none; }
  .state-hub-page h1 { font-size: 2rem; }
  .state-hub-page .state-heading { min-height: 190px; padding-top: 1.5rem; }
  .state-hub-page .state-backdrop { width: 170px; right: 0; }
  .topic-grid, .guide-essential, .guide-body, .plan-fit, .hub-support, .situation-list { grid-template-columns: 1fr; gap: 1rem; }
  .topic-grid { gap: 9px; }
  .topic-card { min-height: 88px; padding: .8rem; }
  .urgent-strip { grid-template-columns: 1fr; gap: .2rem; padding: .8rem 0; }
  .urgent-strip strong { margin-bottom: .3rem; }
  .topic-page h1, .search-page h1, .focused-guide > header h2 { font-size: 1.8rem; }
  .topic-title-row { align-items: flex-start; }
  .topic-title-row .topic-symbol { width: 44px; height: 44px; padding: 10px; }
  .guide-body { padding-top: 1rem; }
  .legal-search-form .search-row input { padding: .8rem; font-size: 1rem; }
  .search-filter { flex-wrap: wrap; }
}
@media print {
  .legal-search-form, .topic-overview, .state-legacy > summary { display: none; }
  .topic-page .focused-guide:target { display: block; }
  .guide-body, .guide-essential, .plan-fit { display: block; }
}
@media(prefers-reduced-motion: reduce) { .topic-card { transition: none; } }
