/* State presentation reuses the shared navigation, hero, theme, actions and footer. */
.state-snapshot{display:flex;flex-direction:column;gap:14px}
.state-snapshot .snapshot-fields{margin:0}
.state-sync-note{font-size:12px;line-height:1.5;color:var(--muted)}
.state-snapshot .hero-status{align-self:flex-start;white-space:normal}
.state-total-unverified{background:var(--wash);color:var(--muted)}
.state-hero-ad{padding-block:28px}
.layout-frame{display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--muted);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:16px;text-align:center;font-size:13px}
.state-top-ad{width:min(970px,100%);height:280px;margin-inline:auto}
.state-related-ad{min-height:120px}
.state-sections{display:flex;flex-direction:column;gap:56px;padding-bottom:32px}
.state-section{display:flex;flex-direction:column;gap:20px;min-width:0;scroll-margin-top:calc(var(--nav-height) + 16px)}
.state-section-head{display:flex;flex-direction:column;gap:8px}
.state-section-head h2{font-size:34px;line-height:1.08;letter-spacing:-.035em;font-weight:500}
.state-section-head>p:not(.eyebrow){font-size:15px;line-height:1.55;color:var(--muted)}
.state-finder{overflow:hidden}
.state-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid var(--line)}
.state-filter-field{flex:1;min-width:0;max-width:520px;display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border-radius:12px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}
.state-filter-field input{flex:1;min-width:0;width:100%;border:0;outline:none;background:transparent;font-size:16px;color:var(--ink);padding:10px 0}
.state-filter-field svg{width:18px;height:18px}
#state-filter-count{font-size:14px;color:var(--muted);white-space:nowrap}
.state-table{width:100%;border-collapse:collapse;table-layout:fixed}
.state-table tr{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1.2fr) 270px;gap:16px;align-items:center;padding:12px 20px}
.state-table th{text-align:left;font-size:14px;font-weight:600;color:var(--muted)}
.state-table thead{background:var(--paper)}
.state-table td{min-width:0;font-size:15px;overflow-wrap:anywhere}
.state-table tbody tr{border-top:1px solid var(--line)}
.state-table tbody tr:first-child{border-top:0}
.state-county-name>a{font-size:15px;font-weight:600}
.state-county-name>a:hover,.state-phone a:hover{color:var(--accent-text,var(--accent))}
.state-cell-label{display:none}
.state-phone>a{display:inline-flex;align-items:center;gap:6px;color:var(--ink)}
.state-phone svg{width:15px;height:15px;color:var(--interactive-ink)}
.state-phone small{display:block;font-size:13px;line-height:1.5;color:var(--muted);margin-top:4px}
.state-row-actions{display:flex;gap:8px;justify-content:flex-end}
.state-row-actions .button{font-size:var(--action-font-size);padding-inline:10px;min-height:44px}
.state-empty{padding:24px 20px;font-size:15px;color:var(--muted)}
.state-judicial{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
.state-judicial.state-no-resources{grid-template-columns:1fr}
.state-judicial-text{padding:24px;display:flex;flex-direction:column;gap:14px}
.state-judicial-text p{font-size:16px;line-height:1.65;color:var(--record-copy)}
.state-resources{padding:22px;display:flex;flex-direction:column;gap:16px;min-width:0}
.state-resources h3{font-size:20px;font-weight:500;line-height:1.2}
.state-resources>div{display:flex;flex-direction:column;gap:8px}
.state-resources>div>span{font-size:14px;color:var(--muted);text-transform:capitalize}
.state-page .state-fcra{margin-block:0 16px}
.state-page .quick-links a{white-space:normal}
@media(min-width:701px) and (max-width:1100px){
 .state-page .hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding:28px}
 .state-table tr{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,.65fr) minmax(0,1fr) 145px;gap:12px;padding-inline:16px}
 .state-row-actions{flex-direction:column}
 .state-judicial{grid-template-columns:minmax(0,1fr) 300px}
 .state-section-head h2{font-size:28px}
}
@media(max-width:700px){
 .state-page .hero-inner{display:flex;flex-direction:column;align-items:stretch;padding:20px 20px 24px;gap:20px}
 .state-hero-ad{padding-block:24px}
 .state-top-ad{width:min(336px,100%)}
 .state-sections{gap:40px;padding-bottom:24px}
 .state-section-head h2{font-size:26px;line-height:1.1}
 .state-filter-bar{flex-direction:column;align-items:stretch;gap:8px;padding:14px}
 .state-filter-field{max-width:none;flex:auto}
 .state-table thead{display:none}
 .state-table,.state-table tbody{display:block}
 .state-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;padding:16px}
 .state-county-name,.state-phone,.state-row-actions{grid-column:1/-1}
 .state-cell-label{display:inline;color:var(--muted);margin-right:6px;font-size:13px}
 .state-table td.is-empty{display:none}
 .state-row-actions{padding-top:6px;justify-content:stretch}
 .state-row-actions .button{flex:1}
 .state-judicial{grid-template-columns:1fr}
 .state-judicial-text{padding:20px}
 .state-page .quick-links{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Mobile top-ad visibility: keep one SSR snapshot, below the existing ad. */
@media(max-width:700px){
 .state-page main{display:flex;flex-direction:column}
 .state-page main>.hero,.state-page .hero-inner{display:contents}
 .state-page .hero-copy{order:0;padding:20px 20px 24px;background:var(--navy);color:#fff;gap:14px}
 .state-page .state-hero-ad{order:1;padding-block:24px}
 .state-page .state-top-ad{height:250px}
 .state-page .state-snapshot{order:2;width:calc(100% - 40px);margin:0 auto 24px}
 .state-page .state-sections{order:3}
 .state-page .state-fcra{order:4}
}
