/* State directories and county guides share the homepage's type and blue palette. */
.state-guide-page, .county-guide-page { background: #fff; color: #34445a; }
.guide-eyebrow {
    display: block; margin: 0 0 .85rem; color: #365baa;
    font: 700 .72rem/1.5 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase;
}
.guide-breadcrumbs, .county-guide-page .county-guide-breadcrumbs {
    color: #6a788c; font: 400 .8rem/1.6 'Inter', sans-serif;
}
.guide-breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.guide-breadcrumbs a { color: inherit; text-decoration: none; }
.guide-breadcrumbs a:hover { color: #244290; text-decoration: underline; }
.state-guide-page .container,
.county-guide-page .article-hero .container,
.county-guide-page .article-body-section .container.article-read-layout,
.county-guide-page .article-closing .container { width: 100%; max-width: 960px; padding-inline: 32px; margin-inline: auto; }
.county-guide-page .article-hero .container,
.county-guide-page .article-body-section .container.article-read-layout,
.county-guide-page .article-closing .container { max-width: 900px; }
.county-guide-page .article-body-section .container.article-read-layout { display: block; }

/* A quiet editorial header, with the guide itself as the focus. */
.state-guide-page .state-header-section,
.state-guide-page .state-directory-hero,
.county-guide-page .article-hero {
    position: relative; background: #f3f8fc; padding: 110px 0 36px;
    color: #172e63; border-bottom: 1px solid #e7edf4;
}
.county-guide-page .article-hero-bg { display: none; }
.state-guide-page h1,
.county-guide-page .article-hero h1 {
    margin: 0 0 1rem; color: #172e63; font: 750 clamp(2rem, 4vw, 2.75rem)/1.16 'Inter', sans-serif;
    letter-spacing: -.045em; text-wrap: balance;
}
.state-guide-page .state-subtitle,
.state-guide-page .state-directory-hero > .container > p {
    max-width: 710px; margin: 0; font-size: 1.03rem; line-height: 1.7; color: #52657a;
}
.state-guide-page .state-header-content { display: block; }
.state-guide-page .state-header-text { text-align: left; }
.county-guide-page .county-guide-breadcrumbs ol { margin-bottom: 2rem; }
.county-guide-page .county-guide-breadcrumbs a { text-decoration: none; }
.county-guide-page .county-guide-breadcrumbs a:hover { text-decoration: underline; }
/* Reviewed state and county articles use the same header component. */
:is(.state-guide-page, .county-guide-page) .guide-header {
    background: #fff; border: 0; padding: 110px 0 24px;
}
:is(.state-guide-page, .county-guide-page) .guide-header > .container { max-width: 900px; }
:is(.state-guide-page, .county-guide-page) .guide-header h1 {
    margin: 0 0 .85rem; font: 750 clamp(1.9rem, 3.6vw, 2.4rem)/1.16 'Inter', sans-serif;
    color: #172e63; letter-spacing: -.045em; text-wrap: balance;
}
.guide-header .guide-breadcrumbs {
    margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid #e7edf4;
}
.guide-header .guide-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.guide-header .guide-breadcrumbs li { display: flex; align-items: baseline; gap: .6rem; }
.guide-header .guide-breadcrumbs li + li::before { content: '/'; color: #93a2b7; }
:is(.state-guide-page, .county-guide-page) .guide-header-subtitle {
    margin: 0; color: #52657a; font: 400 1rem/1.7 'Inter', sans-serif;
}
.guide-header .guide-estimate-cta { margin-top: .65rem; }
:is(.state-guide-page, .county-guide-page) .guide-review-date {
    margin: .85rem 0 0; color: #728094; font: 400 .76rem/1.6 'Inter', sans-serif;
}
.guide-estimate-cta {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem;
    color: #244290; font: 600 .85rem/1.5 'Inter', sans-serif; text-decoration: none;
}
.guide-estimate-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-estimate-cta > .fa-search-location { display: none; }
.guide-estimate-cta > i:last-child { font-size: .72rem; }

/* Shortcuts stay compact and wrap naturally on a phone. */
.guide-quick-links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-quick-links a {
    display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .9rem;
    border: 1px solid #d8e3f1; border-radius: 8px; background: #f6f9fd;
    color: #244290; font-size: .9rem; font-weight: 600; text-decoration: none;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-quick-links a:hover {
    background: #eaf1fb; border-color: #a8bfdf;
}
.guide-quick-links a:focus-visible { outline: 3px solid #b4c6e9; outline-offset: 3px; }
#official-forms, #county-search-section { scroll-margin-top: 110px; }
.guide-evidence-example { padding: 1.2rem 1.4rem; margin: 1.5rem 0; border: 1px solid #dfe9f7; border-radius: 12px; background: #f6f9fd; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-evidence-example h3 { margin: 0 0 .6rem; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-evidence-example p:last-child { margin-bottom: 0; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-editorial-credit {
    margin: 2rem 0 .75rem; color: #64748b; font-size: .85rem; line-height: 1.65;
}

/* Open reading column, rather than nesting an article inside another card. */
.county-guide-page .article-body-section { background: #fff; padding: 32px 0 48px; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) {
    padding: 0; border: 0; border-radius: 0; background: transparent;
    color: #34445a; font: 400 1rem/1.8 'Inter', sans-serif;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) p { margin-bottom: 1.1rem; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .article-lead {
    font-size: 1.08rem; line-height: 1.8; font-weight: 400; color: #34445a;
    margin-bottom: 2rem; padding-bottom: 0; border: 0;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) h2 {
    border-top: 1px solid #e7edf4; padding-top: 1.65rem; margin: 2rem 0 .85rem;
    color: #172e63; font: 700 1.5rem/1.35 'Inter', sans-serif; letter-spacing: -.03em;
    scroll-margin-top: 110px;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) #deadline { border: 0; padding-top: 0; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-search-heading h2 {
    border: 0; padding: 0; margin: 0 0 .35rem; font-size: 1.2rem; line-height: 1.4;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-search-heading p {
    margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; color: #52657a;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) h3 { color: #172e63; font-size: 1.12rem; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) strong { color: #213753; font-weight: 650; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) a { color: #3156a5; text-decoration-color: #b4c6e9; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) a:hover { color: #1e3a8a; text-decoration-color: currentColor; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-deadline-note {
    background: #f1f6fc; border: 1px solid #dfe9f7; border-left: 3px solid #365baa;
    border-radius: 0 12px 12px 0; padding: 1.2rem 1.4rem; line-height: 1.75;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .article-callout {
    background: #f8fafc; border-color: #e2e8f0; color: #52657a;
    font-size: inherit; line-height: inherit; margin: 1.25rem 0;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .article-callout i { color: #61758e; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-source-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem;
    list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: .85rem;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-source-list li {
    margin: 0; padding-left: .9rem; position: relative; line-height: 1.65;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-source-list li::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%; background: #7d94b5;
    position: absolute; left: 0; top: .65rem;
}
.county-guide-page .article-share {
    position: static; display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: .8rem;
    border-radius: 0; background: none; box-shadow: none; border: 0; border-top: 1px solid #e7edf4;
    margin-top: 2rem; padding: 1.25rem 0 0; width: 100%;
}
.county-guide-page .article-share-buttons { display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.county-guide-page .article-share-label { writing-mode: horizontal-tb; transform: none; font-size: .75rem; }
.county-guide-page .article-footer-meta { margin-top: 1rem; }
.county-guide-page .article-back-bottom { color: #3156a5; }
.county-guide-page .article-closing { background: #f3f8fc; padding: 2.5rem 0; color: #172e63; }
.county-guide-page .article-closing-bg, .county-guide-page .article-closing-kicker { display: none; }
.county-guide-page .article-closing-copy h2 { font-size: 1.5rem; color: #172e63; letter-spacing: -.03em; }
.county-guide-page .article-closing-copy p { color: #52657a; font-size: .95rem; }
.county-guide-page .article-closing-cta { color: #fff; background: #244290; font-size: .9rem; }
.county-guide-page .article-closing-cta:hover { background: #1e3a8a; transform: none; }
.county-guide-page .article-closing-phone { color: #3156a5; background: transparent; border-color: #cbd8e9; font-size: .9rem; }

/* State page: benchmarks, county directory, inline property search, programs. */
.state-guide-page .state-overview { padding: 28px 0 0; background: #fff; }
.state-guide-page .state-overview .overview-card { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.state-guide-page .content-section { padding: 0; margin-bottom: 0; background: transparent; border: 0; border-radius: 0; }
.state-guide-page .content-section h2 { border: 0; padding-bottom: 0; }
.state-guide-page .exemptions-grid, .state-guide-page .programs-grid { display: block; }
.state-guide-page .exemption-item { padding: 0; border: 0; border-radius: 0; background: transparent; }
.state-guide-page .exemption-item:hover { box-shadow: none; transform: none; }
.state-guide-page .overview-heading { font-size: .78rem; font-weight: 600; margin: 0 0 .85rem; color: #64748b; }
.state-guide-page .state-overview .overview-stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #e2e8f0;
    border-radius: 14px; overflow: hidden; background: #fff; gap: 0;
}
.state-guide-page .state-overview .stat-item { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem; align-items: flex-start; text-align: left; border: 0; border-radius: 0; background: transparent; }
.state-guide-page .state-overview .stat-item + .stat-item { border-left: 1px solid #e7edf4; }
.state-guide-page .state-overview .stat-item .label { color: #64748b; font-size: .73rem; line-height: 1.4; text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; }
.state-guide-page .state-overview .stat-item .value { color: #172e63; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.state-guide-page .state-overview-copy { display: none; }
.state-guide-page .state-details-section { padding: 32px 0 48px; background: #fff; }
.state-guide-page .state-content-grid { display: block; }
.state-guide-page .main-content { min-width: 0; }
.state-guide-page h2 { color: #172e63; font-size: 1.45rem; line-height: 1.4; letter-spacing: -.03em; margin: 0 0 .65rem; }
.state-guide-page .county-search-intro { color: #64748b; font-size: .95rem; line-height: 1.65; margin: 0 0 1.1rem; }
.state-guide-page .county-search-container { display: flex; gap: .6rem; position: relative; margin: 0; }
.state-guide-page .search-input-wrapper { position: relative; flex: 1; min-width: 0; }
.state-guide-page .search-input-wrapper > i { position: absolute; top: 50%; left: 1rem; transform: translateY(-50%); color: #6b7e99; }
.state-guide-page .county-search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.state-guide-page #county-search-input {
    width: 100%; height: 52px; padding: .8rem 1rem .8rem 2.65rem;
    border: 1px solid #b8c6d9; border-radius: 10px; background: #fff; color: #213753;
    font: 400 .95rem/1.4 'Inter', sans-serif;
}
.state-guide-page #county-search-input:focus { outline: 3px solid #dbeafe; border-color: #365baa; }
.state-guide-page #county-search-input:disabled { background: #f8fafc; color: #7d899a; }
.state-guide-page #county-search-btn { flex: 0 0 auto; width: auto; max-width: none; height: 52px; border-radius: 10px; padding: .7rem 1.2rem; background: #244290; font-size: .9rem; gap: .6rem; }
.state-guide-page #county-search-btn:disabled { opacity: .55; cursor: default; }
.state-guide-page .autocomplete-dropdown {
    display: none; position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 100;
    padding: .4rem; border: 1px solid #d8e1ed; border-radius: 10px; background: #fff;
    box-shadow: 0 12px 28px rgba(23, 46, 99, .12);
}
.state-guide-page .autocomplete-dropdown.show { display: block; }
.state-guide-page .autocomplete-item { display: block; padding: .8rem; color: #244290; border-radius: 6px; text-decoration: none; }
.state-guide-page .autocomplete-item:hover, .state-guide-page .autocomplete-item.highlighted { background: #eef6fc; }
.state-guide-page .county-quick-select { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.state-guide-page .county-quick-select p { font-size: .8rem; margin: 0; color: #64748b; }
.state-guide-page .county-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
.state-guide-page .county-btn { display: inline-block; color: #3156a5; background: #eef4fc; border: 1px solid #dfe9f7; border-radius: 7px; padding: .35rem .7rem; font-size: .8rem; text-decoration: none; }
.state-guide-page .county-btn:hover { background: #e2ecfb; }
.state-guide-page .county-guide-directory { margin-top: 2rem; }
.state-guide-page .county-directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.state-guide-page .county-directory-heading h2 { font-size: 1rem; margin: 0; letter-spacing: -.015em; }
.state-guide-page .county-directory-count { color: #6b7e99; font-size: .8rem; white-space: nowrap; }
.state-guide-page .county-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.state-guide-page .county-guide-card {
    display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .8rem; padding: 1.25rem;
    border: 1px solid #dce5f0; border-radius: 14px; color: inherit; text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.state-guide-page .county-guide-card[hidden] { display: none; }
.state-guide-page .county-guide-card:hover { border-color: #a7bbdf; box-shadow: 0 8px 24px -16px rgba(23, 46, 99, .28); }
.state-guide-page .county-guide-icon { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 42px; border-radius: 8px; background: #eef4fc; color: #365baa; }
.state-guide-page .county-guide-copy { min-width: 0; grid-column: 1 / -1; }
.state-guide-page .county-guide-card h3 { font-size: 1.05rem; color: #172e63; margin: 0 0 .2rem; line-height: 1.4; }
.state-guide-page .county-guide-topic { font-size: .75rem; color: #365baa; }
.state-guide-page .county-guide-card p { font-size: .84rem; line-height: 1.65; color: #64748b; margin: .7rem 0; }
.state-guide-page .county-guide-verified { display: block; font-size: .7rem; color: #6b7e99; }
.state-guide-page .county-guide-arrow { grid-column: 2; grid-row: 1; color: #365baa; font-size: .8rem; margin-top: .3rem; }
.state-guide-page .county-directory-empty { padding: 1.5rem; background: #f8fafc; border: 1px dashed #dce5f0; border-radius: 12px; color: #64748b; font-size: .9rem; line-height: 1.7; }
.state-guide-page .county-directory-empty[hidden] { display: none; }
.state-guide-page .county-directory-empty > i { display: none; }
.state-guide-page .county-directory-empty h3 { font-size: 1rem; color: #172e63; margin: 0 0 .5rem; }
.state-guide-page .county-directory-empty p { margin: 0; }
.state-guide-page .county-directory-empty a { color: #3156a5; }
.state-guide-page .state-program-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; border-top: 1px solid #e7edf4; padding-top: 2rem; }
.state-guide-page .state-program-sections h2 { font-size: 1.2rem; }
.state-guide-page .exemption-item { display: flex; gap: .65rem; align-items: baseline; margin: .7rem 0; font-size: .9rem; line-height: 1.6; }
.state-guide-page .exemption-item i { color: #478175; font-size: .75rem; }
.state-guide-page .program-card { padding: .7rem 0; border-bottom: 1px solid #eef2f7; }
.state-guide-page .program-card h4 { color: #34445a; font-size: .9rem; line-height: 1.6; margin: 0; font-weight: 600; }
.state-guide-page .program-card p { color: #64748b; font-size: .8rem; margin: .3rem 0 0; line-height: 1.6; }

/* Compact state directory cards. */
.state-guide-page .state-directory-hero { background: #fff; border-bottom: 0; }
.state-guide-page .state-directory-section { padding: 2rem 0; }
.state-guide-page .state-directory-header { margin-bottom: 1.5rem; }
.state-guide-page .state-directory-header p { color: #64748b; font-size: .9rem; line-height: 1.6; }
.state-guide-page .state-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.state-guide-page .state-directory-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: start; column-gap: .5rem; padding: 20px; border: 1px solid #e7e5e4; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.state-guide-page .state-directory-card:hover { border-color: #aac0e2; box-shadow: 0 4px 8px rgb(23 46 99 / 8%); }
.state-guide-page .state-directory-code { padding: 2px 8px; border-radius: 4px; background: #f5f5f4; font: 400 .75rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; color: #78716c; }
.state-guide-page .state-directory-name { margin: 0 0 8px; color: #1c1917; font: 700 1.125rem/1.55 'DM Serif Display', Georgia, serif; letter-spacing: 0; }
.state-guide-page .state-directory-details { grid-column: 1 / -1; display: grid; gap: 4px; }
.state-guide-page .state-directory-meta { margin: 0; color: #57534e; font-size: .875rem; line-height: 1.5; }
.state-guide-page .state-directory-meta strong { color: #292524; font-weight: 600; }
.state-guide-page .state-directory-meta > span { color: #78716c; }
.state-guide-page .state-directory-action { grid-column: 1 / -1; margin-top: 6px; color: #78716c; font-size: .75rem; line-height: 1.5; }
.state-guide-page .state-directory-card:hover .state-directory-name { color: #244290; }
.state-guide-page a:focus-visible, .county-guide-page a:focus-visible { outline: 3px solid #93b3ec; outline-offset: 4px; }
@media (max-width: 1023px) {
    .state-guide-page .state-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .state-guide-page .container, .county-guide-page .article-hero .container,
    .county-guide-page .article-body-section .container.article-read-layout,
    .county-guide-page .article-closing .container { padding-inline: 20px; }
    .state-guide-page .state-header-section, .state-guide-page .state-directory-hero,
    .county-guide-page .article-hero { padding: 105px 0 28px; }
    :is(.state-guide-page, .county-guide-page) .guide-header { padding: 105px 0 24px; }
    .guide-breadcrumbs, .county-guide-page .county-guide-breadcrumbs ol { margin-bottom: 1.5rem; font-size: .72rem; }
    .state-guide-page h1, .county-guide-page .article-hero h1 { font-size: 2rem; text-wrap: initial; }
    :is(.state-guide-page, .county-guide-page) .guide-header h1 { font-size: 1.9rem; text-wrap: balance; }
    .state-guide-page .state-subtitle { font-size: .95rem; }
    .county-guide-page .article-body-section { padding-top: 24px; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) { font-size: .95rem; line-height: 1.8; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) .article-lead { font-size: 1rem; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) h2 { font-size: 1.3rem; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-deadline-note { padding: 1rem 1.1rem; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-source-list { grid-template-columns: 1fr; }
    .county-guide-page .article-share-buttons { width: auto; }
    .county-guide-page .article-closing-shell { grid-template-columns: 1fr; gap: 1.25rem; }
    .state-guide-page .state-overview .overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .state-guide-page .state-overview .stat-item { padding: 1rem; }
    .state-guide-page .state-overview .stat-item:nth-child(3) { border-left: 0; }
    .state-guide-page .state-overview .stat-item:nth-child(n+3) { border-top: 1px solid #e7edf4; }
    .state-guide-page .state-overview .stat-item .value { font-size: 1.1rem; }
    .state-guide-page #county-search-btn { padding-inline: .85rem; font-size: .8rem; }
    .state-guide-page #county-search-btn i { display: none; }
    .state-guide-page .county-guide-grid, .state-guide-page .state-program-sections { grid-template-columns: 1fr; }
    .state-guide-page .county-guide-card { padding: 1rem; }
    .state-guide-page .state-program-sections { gap: 1.5rem; }
}
@media (max-width: 639px) {
    .state-guide-page .state-directory-grid { grid-template-columns: 1fr; }
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-takeaways {
    margin: 1.5rem 0 1.8rem; padding: 1.1rem 1.4rem;
    border-left: 3px solid #365baa; background: #f8fafc;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-takeaways h2 {
    margin: 0 0 .7rem; padding: 0; border: 0; font-size: 1.1rem;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-takeaways ul {
    margin: 0; padding-left: 1.1rem;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-takeaways li {
    padding-left: .15rem; margin: .5rem 0; font-size: .92rem; line-height: 1.7;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-takeaways li:last-child { margin-bottom: 0; }

/* Reviewed state articles: a compact introduction and one calm reading column. */
.state-guide-page--reviewed .container { max-width: 900px; }
.state-reader-section { padding: 0 0 64px; }
:is(.state-guide-page, .county-guide-page) .guide-state-summary { margin: 0 0 1.25rem; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts > div { min-width: 0; padding: 1.1rem 1.2rem; border: 1px solid #dce5f0; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(23, 46, 99, .035); }
:is(.state-guide-page, .county-guide-page) .guide-state-facts dt { color: #536980; font-size: .8rem; font-weight: 500; line-height: 1.5; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts dd { margin: .6rem 0 0; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts strong { display: block; color: #173565; font-size: 1.55rem; font-weight: 750; line-height: 1.3; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts small { display: block; margin-top: .6rem; color: #65758d; font-size: .75rem; line-height: 1.6; }
:is(.state-guide-page, .county-guide-page) .guide-fact-period { display: block; white-space: nowrap; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners > div { padding: 1.1rem; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners dt { min-height: 3em; }
:is(.state-guide-page, .county-guide-page) .guide-state-facts .guide-fact-unit { font-size: .65em; font-weight: 600; letter-spacing: 0; }
.county-guide-page .article-body .guide-state-summary > h2 { margin: 0 0 1rem; padding: 0; border: 0; font-size: 1.25rem; }
.state-guide-page .guide-reader .guide-state-data-note { margin: .8rem 0 0; color: #738198; font-size: .72rem; line-height: 1.7; }
.state-guide-page .guide-reader .guide-steps--compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1.3rem 0 2rem; }
.state-guide-page .guide-reader .guide-steps.guide-steps--compact > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-content: start; align-items: start; gap: .4rem .65rem; padding: 0; }
.state-guide-page .guide-reader .guide-steps.guide-steps--compact > li::before { position: static; grid-column: 1; grid-row: 1; }
.state-guide-page .guide-reader .guide-steps.guide-steps--compact h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; font-size: .95rem; line-height: 1.5; }
.state-guide-page .guide-reader .guide-steps.guide-steps--compact p { grid-column: 2; grid-row: 2; font-size: .86rem; }
.state-guide-page .guide-resource-list--compact { display: flex; flex-wrap: wrap; gap: .65rem; }
.state-guide-page .guide-reader .guide-resource-list--compact .guide-resource-card { padding: .7rem 1rem; border-radius: 8px; }
.state-guide-page .guide-resource-list--compact .guide-resource-title { margin: 0; font-size: .85rem; }
.state-guide-page .guide-neighbor-links { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: 2rem; padding: 1.2rem 0; border-block: 1px solid #e7edf4; font-size: .83rem; }
.state-guide-page .guide-neighbor-links > span { color: #738198; }
.state-guide-page .guide-neighbor-links a { text-decoration: none; }
.state-guide-page .guide-reader { padding-inline: 32px; }
.state-guide-page .guide-reader > .county-search-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #e7edf4; }
.state-guide-page .guide-reader .county-search-section h2 { margin: 0 0 .6rem; padding: 0; border: 0; }
.state-guide-page .guide-reader .county-directory-heading h2 { margin: 0; padding: 0; border: 0; font-size: 1rem; }
.state-guide-page .guide-reader .county-guide-copy h3 { margin: 0 0 .2rem; }
.state-guide-page .guide-reader .county-guide-copy p { margin: .7rem 0; }
.state-guide-page .guide-reader .county-guide-card { text-decoration: none; }
.state-guide-page .guide-reader .county-quick-select p { margin: 0; }
.state-guide-page .guide-reader .county-directory-empty p { margin: 0; }

/* Guide components use native HTML and shared styles, with no extra UI scripts. */
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-label {
    display: block; color: #587198; font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-deadline-box {
    padding: 1.4rem 1.5rem; background: #f1f6fc; border: 1px solid #dce7f6; border-left: 3px solid #365baa; border-radius: 0 12px 12px 0;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-deadline-box h2 {
    border: 0; padding: 0; margin: .4rem 0 .6rem; font-size: 1.2rem; letter-spacing: -.025em;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-deadline-box p { margin: 0; font-size: .95rem; line-height: 1.75; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-deadline-box .guide-box-footnote { margin-top: .85rem; padding-top: .8rem; border-top: 1px solid #dce7f6; font-size: .82rem; color: #58708d; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .article-callout {
    display: block; padding: 1rem 1.2rem; border: 1px solid #e2e8f0; border-left: 3px solid #9aaec8; border-radius: 0 10px 10px 0;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .article-callout strong { display: block; margin-bottom: .2rem; }
.guide-data-panel { margin: 1.8rem 0 1.4rem; padding: 1.5rem; border: 1px solid #dce5f0; border-radius: 14px; background: #f8faff; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-data-panel h2 { margin: .45rem 0 1.3rem; padding: 0; border: 0; font-size: 1.25rem; }
.guide-data-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem; margin: 0; }
.guide-data-grid > div { min-width: 0; }
.guide-data-grid dt { color: #536980; font-size: .77rem; line-height: 1.5; min-height: 3em; }
.guide-data-grid dd { margin: .3rem 0 0; color: #203d73; font-size: 1.85rem; font-weight: 700; line-height: 1.3; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.guide-data-grid dd strong { display: block; min-height: 3.6rem; font: inherit; }
.guide-data-grid dd span { display: block; font-size: .85rem; font-weight: 500; letter-spacing: 0; }
.guide-data-grid small { display: block; margin-top: .5rem; color: #65758d; font-size: .72rem; font-weight: 400; letter-spacing: 0; line-height: 1.6; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-data-source { border-top: 1px solid #dce5f0; margin: 1.3rem 0 0; padding-top: .85rem; color: #65758d; font-size: .75rem; line-height: 1.7; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-steps { list-style: none; counter-reset: guide-step; padding: 0; margin: 1.5rem 0; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-steps > li { counter-increment: guide-step; position: relative; padding: 0 0 1.3rem 3.1rem; margin: 0; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-steps > li:last-child { padding-bottom: 0; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-steps > li::before {
    content: counter(guide-step); position: absolute; top: 0; left: 0; width: 32px; height: 32px; display: grid; place-items: center;
    color: #365baa; background: #edf3fc; border: 1px solid #dce7f6; border-radius: 50%; font-size: .8rem; font-weight: 700;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-steps h3 { margin: 0 0 .3rem; font-size: 1rem; line-height: 1.7; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-steps p { font-size: .94rem; line-height: 1.75; margin: 0; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-evidence-list { padding-left: 1.25rem; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-evidence-list li { margin-bottom: .65rem; padding-left: .2rem; }
.guide-resource-list { display: grid; gap: .75rem; margin: 1.2rem 0; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-resource-card {
    display: flex; flex-direction: column; padding: 1.15rem 1.3rem; border: 1px solid #dce5f0; border-radius: 12px; text-decoration: none;
    color: #617188; background: #fff; font-size: .86rem; line-height: 1.65; transition: border-color .15s, background .15s;
}
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-resource-card:hover { border-color: #a5bce2; background: #f8fbff; }
.guide-resource-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: #3156a5; font-size: .99rem; font-weight: 650; margin-bottom: .3rem; line-height: 1.5; }
.guide-resource-title > span { flex-shrink: 0; font-weight: 400; }
.guide-resource-card small { margin-top: .6rem; font-size: .67rem; color: #8390a3; text-transform: uppercase; letter-spacing: .04em; }
.guide-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.guide-contact-card { padding: 1.25rem; border: 1px solid #e1e8f1; border-radius: 12px; min-width: 0; }
.county-guide-page .article-body .guide-contact-card h3 { margin: .4rem 0 .75rem; font-size: 1rem; }
.county-guide-page .article-body .guide-contact-card p { font-size: .85rem; line-height: 1.7; margin: 0 0 .75rem; }
.guide-contact-card a { overflow-wrap: anywhere; }
.guide-contact-card small { display: block; color: #738198; font-size: .75rem; line-height: 1.65; }
.guide-faq-list { display: grid; gap: .6rem; margin: 1.2rem 0; }
.guide-faq-list details { border: 1px solid #e1e8f1; border-radius: 10px; background: #fff; }
.guide-faq-list summary { position: relative; list-style: none; padding: 1rem 3rem 1rem 1.2rem; color: #213753; font-size: .94rem; font-weight: 600; line-height: 1.6; cursor: pointer; }
.guide-faq-list summary::-webkit-details-marker { display: none; }
.guide-faq-list summary::after { content: '+'; position: absolute; right: 1.2rem; color: #6f87ac; font-size: 1.15rem; top: .9rem; }
.guide-faq-list details[open] summary::after { content: '−'; }
.guide-faq-list summary:hover { color: #3156a5; }
:is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-faq-list p { padding: 0 1.2rem 1.1rem; margin: 0; font-size: .9rem; color: #617188; line-height: 1.75; }
.guide-faq-list summary:focus-visible, .guide-source-details summary:focus-visible { outline: 3px solid #93b3ec; outline-offset: 3px; }
.guide-source-details { margin: 1.2rem 0; font-size: .8rem; color: #738198; }
.guide-source-details summary { cursor: pointer; color: #587198; padding: .5rem 0; }
.guide-source-details ul { padding-left: 1.2rem; }
.guide-source-details li { margin: .5rem 0; }
@media (max-width: 700px) {
    .state-guide-page .guide-reader { padding-inline: 20px; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts { grid-template-columns: 1fr; gap: .65rem; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts > div { display: grid; grid-template-columns: 1fr 1.6fr; align-items: start; gap: .8rem; padding: .9rem 1rem; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts dt { padding-top: .2rem; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts dd { margin: 0; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts strong { font-size: 1.25rem; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts small { margin-top: .25rem; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners > div { display: block; padding: .9rem; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners dt { padding-top: 0; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners dd { margin: .45rem 0 0; }
    :is(.state-guide-page, .county-guide-page) .guide-state-facts--homeowners small { font-size: .7rem; }
    .state-guide-page .guide-reader .guide-steps--compact { grid-template-columns: 1fr; gap: 1.2rem; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-deadline-box { padding: 1.15rem 1.2rem; }
    .guide-data-panel { padding: 1.1rem; }
    .guide-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
    .guide-data-grid dd { font-size: 1.5rem; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-data-panel h2 { font-size: 1.15rem; }
    .guide-contact-grid { grid-template-columns: 1fr; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-steps > li { padding-left: 2.75rem; }
    :is(.county-guide-page .article-body, .state-guide-page .guide-reader) .guide-resource-card { padding: 1rem; }
    .guide-resource-title { font-size: .94rem; }
}
