body.legalprocess-managed-homepage,
body.legalprocess-state-hub-page,
body.legalprocess-topic-page {
    --lp-bg: #f5f6f8;
    --lp-surface: #ffffff;
    --lp-surface-muted: #eef2f7;
    --lp-text: #1a2736;
    --lp-text-soft: #5a6777;
    --lp-border: rgba(26, 39, 54, 0.09);
    --lp-accent: #233a5a;
    --lp-accent-soft: #edf2f8;
    --lp-accent-warm: #8f4747;
    --lp-shadow: 0 18px 44px rgba(26, 39, 54, 0.08);
}

.legal-homepage {
    color: var(--lp-text);
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

.legal-homepage a {
    color: inherit;
}

.legal-homepage__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.legal-homepage__hero-copy,
.legal-homepage__stats {
    background: var(--lp-surface);
    border-radius: 24px;
    box-shadow: var(--lp-shadow);
}

.legal-homepage__hero-copy {
    padding: 32px;
}

.legal-homepage__eyebrow {
    margin: 0 0 12px;
    color: var(--lp-accent-warm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-homepage__hero-copy h1 {
    margin: 0 0 14px;
    color: var(--lp-text);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.legal-homepage__lead {
    margin: 0 0 14px;
    color: var(--lp-text-soft);
    font-size: 17px;
    line-height: 1.7;
}

.legal-homepage__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.legal-homepage__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.legal-homepage__button:hover,
.legal-homepage__button:focus {
    transform: translateY(-1px);
}

.legal-homepage__button--primary {
    background: var(--lp-accent);
    color: #ffffff;
}

.legal-homepage__button--primary:hover,
.legal-homepage__button--primary:focus {
    background: #1b2e47;
}

.legal-homepage__button--secondary {
    border: 1px solid var(--lp-border);
    background: var(--lp-surface-muted);
    color: var(--lp-text);
}

.legal-homepage__button--secondary:hover,
.legal-homepage__button--secondary:focus {
    border-color: rgba(35, 58, 90, 0.18);
    background: #e8eef6;
}

.legal-homepage__stats {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.legal-homepage__stat-card {
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid var(--lp-border);
}

.legal-homepage__stat-card strong {
    font-size: 2rem;
    line-height: 1;
}

.legal-homepage__stat-card span {
    color: var(--lp-text-soft);
    font-size: 14px;
}

.legal-homepage__section {
    margin-top: 24px;
    padding: 26px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    border-radius: 24px;
    box-shadow: var(--lp-shadow);
}

.legal-homepage__section-head {
    max-width: 860px;
    margin-bottom: 18px;
}

.legal-homepage__section-head h2,
.legal-homepage__notice h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1.15;
}

.legal-homepage__section-head p,
.legal-homepage__notice p {
    margin: 0;
    color: var(--lp-text-soft);
    line-height: 1.7;
}

.legal-homepage__state-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.legal-homepage__state-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    background: #fbfcfe;
    color: var(--lp-text);
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.legal-homepage__state-link:hover,
.legal-homepage__state-link:focus {
    border-color: rgba(35, 58, 90, 0.2);
    background: var(--lp-accent-soft);
    transform: translateY(-1px);
}

.legal-homepage__topic-grid,
.legal-homepage__list-grid,
.legal-homepage__steps,
.legal-homepage__faq {
    display: grid;
    gap: 14px;
}

.legal-homepage__topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-homepage__list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-homepage__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-homepage__topic-card,
.legal-homepage__list-card,
.legal-homepage__step,
.legal-homepage__faq-item,
.legal-homepage__empty {
    padding: 18px;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    background: #fbfcfa;
}

.legal-homepage__topic-topline,
.legal-homepage__list-meta {
    margin-bottom: 8px;
    color: var(--lp-accent-warm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-homepage__topic-card h3,
.legal-homepage__list-card h3,
.legal-homepage__step h3,
.legal-homepage__faq-item h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.3;
}

.legal-homepage__topic-card p,
.legal-homepage__list-card p,
.legal-homepage__step p,
.legal-homepage__faq-item p {
    margin: 0;
    color: var(--lp-text-soft);
    line-height: 1.7;
}

.legal-homepage__sample-links {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.legal-homepage__sample-links li + li {
    margin-top: 8px;
}

.legal-homepage__sample-links a,
.legal-homepage__list-card a {
    color: var(--lp-accent);
    text-decoration: none;
}

.legal-homepage__sample-links a:hover,
.legal-homepage__sample-links a:focus,
.legal-homepage__list-card a:hover,
.legal-homepage__list-card a:focus {
    text-decoration: underline;
}

.legal-homepage__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    font-size: 14px;
    font-weight: 700;
}

.legal-homepage__notice {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

body.legalprocess-state-hub-page,
body.legalprocess-topic-page {
    background: linear-gradient(180deg, #f7f8fb 0%, #f3f5f8 100%);
}

.legalprocess-state-hub-page .inside-article,
.legalprocess-topic-page .inside-article {
    border: 1px solid var(--lp-border);
    border-radius: 24px;
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.legalprocess-state-hub-page .entry-header,
.legalprocess-topic-page .entry-header {
    padding: 30px 34px 0;
}

.legalprocess-state-hub-page .entry-title,
.legalprocess-topic-page .entry-title {
    margin: 0;
    color: var(--lp-text);
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.08;
}

.legalprocess-state-hub-page .entry-content,
.legalprocess-topic-page .entry-content {
    padding: 22px 34px 34px;
    color: var(--lp-text);
}

.legalprocess-topic-page .entry-content > * + * {
    margin-top: 16px;
}

.legalprocess-state-hub-page .entry-content > p,
.legalprocess-topic-page .entry-content > p {
    max-width: 100%;
    color: var(--lp-text-soft);
    font-size: 17px;
    line-height: 1.78;
}

.legalprocess-state-hub-page .entry-content h2,
.legalprocess-topic-page .entry-content h2 {
    margin: 34px 0 14px;
    color: var(--lp-text);
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1.2;
}

.legalprocess-topic-page .entry-content h3 {
    margin: 28px 0 10px;
    color: var(--lp-text);
    font-size: 1.2rem;
    line-height: 1.35;
}

.legalprocess-topic-page .entry-content h2 + p,
.legalprocess-topic-page .entry-content h3 + p {
    margin-top: 8px;
}

.legalprocess-topic-page .entry-content > ul:not(.legal-resources):not(.legal-mistakes):not(.related-topics),
.legalprocess-topic-page .entry-content > ol {
    max-width: 74ch;
    padding-left: 20px;
    color: var(--lp-text-soft);
    line-height: 1.75;
}

.legalprocess-topic-page .entry-content > ul:not(.legal-resources):not(.legal-mistakes):not(.related-topics) li,
.legalprocess-topic-page .entry-content > ol li {
    margin: 8px 0;
}

.legalprocess-state-hub-page .entry-content a,
.legalprocess-topic-page .entry-content a {
    color: var(--lp-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.legalprocess-state-hub-page .entry-content a:hover,
.legalprocess-state-hub-page .entry-content a:focus,
.legalprocess-topic-page .entry-content a:hover,
.legalprocess-topic-page .entry-content a:focus {
    color: #1b2e47;
}

.legalprocess-state-hub-page .state-topic-list,
.legalprocess-topic-page .related-topics,
.legalprocess-topic-page .legal-resources,
.legalprocess-topic-page .legal-mistakes {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.legalprocess-state-hub-page .state-topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.legalprocess-state-hub-page .state-topic-list li,
.legalprocess-topic-page .related-topics li,
.legalprocess-topic-page .legal-resources li,
.legalprocess-topic-page .legal-mistakes li {
    margin: 0;
}

.legalprocess-state-hub-page .state-topic-list a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    background: #fbfcfe;
    color: var(--lp-text);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.legalprocess-state-hub-page .state-topic-list a:hover,
.legalprocess-state-hub-page .state-topic-list a:focus {
    border-color: rgba(35, 58, 90, 0.2);
    background: var(--lp-accent-soft);
    transform: translateY(-1px);
}

.legalprocess-state-hub-page .legalprocess-empty-topics {
    margin: 16px 0 0;
    padding: 14px 16px;
    border: 1px dashed rgba(35, 58, 90, 0.18);
    border-radius: 16px;
    background: #fbfcfe;
    color: var(--lp-text-soft);
}

.legalprocess-topic-page .legal-toc {
    margin: 24px 0 28px;
    padding: 16px 18px;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    background: var(--lp-surface-muted);
    color: var(--lp-text-soft);
    line-height: 1.8;
}

.legalprocess-topic-page .legal-toc strong {
    color: var(--lp-text);
}

.legalprocess-topic-page.legalprocess-has-eztoc .legal-toc {
    display: none;
}

.legalprocess-topic-page #ez-toc-container {
    margin: 24px 0 28px;
    padding: 18px 20px;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f7fb 100%);
    box-shadow: none;
}

.legalprocess-topic-page #ez-toc-container .ez-toc-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.legalprocess-topic-page #ez-toc-container .ez-toc-title {
    margin: 0;
    color: var(--lp-text);
    font-size: 1rem;
    font-weight: 700;
}

.legalprocess-topic-page #ez-toc-container nav {
    margin-top: 12px;
}

.legalprocess-topic-page #ez-toc-container ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.legalprocess-topic-page #ez-toc-container ul ul {
    margin-top: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(35, 58, 90, 0.14);
}

.legalprocess-topic-page #ez-toc-container li {
    margin: 8px 0;
    color: var(--lp-text);
}

.legalprocess-topic-page #ez-toc-container a,
.legalprocess-topic-page #ez-toc-container a:visited {
    color: var(--lp-text);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.55;
}

.legalprocess-topic-page #ez-toc-container a:hover,
.legalprocess-topic-page #ez-toc-container a:focus {
    color: var(--lp-accent);
    text-decoration: none;
}

.legalprocess-topic-page #ez-toc-container .ez-toc-link::before {
    color: var(--lp-accent);
    font-weight: 700;
}

.legalprocess-topic-page #ez-toc-container .ez-toc-title-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--lp-text);
    text-decoration: none;
    transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.legalprocess-topic-page #ez-toc-container .ez-toc-title-toggle a:hover,
.legalprocess-topic-page #ez-toc-container .ez-toc-title-toggle a:focus,
.legalprocess-topic-page #ez-toc-container .ez-toc-title-toggle a:visited {
    color: var(--lp-text);
    text-decoration: none;
}

.legalprocess-topic-page #ez-toc-container .ez-toc-title-toggle a:hover,
.legalprocess-topic-page #ez-toc-container .ez-toc-title-toggle a:focus {
    border-color: rgba(35, 58, 90, 0.18);
    background: #f9fbfe;
}

.legalprocess-topic-page #ez-toc-container .ez-toc-title-toggle svg {
    color: currentColor !important;
    fill: currentColor !important;
}

.legalprocess-topic-page .entry-content table {
    width: 100%;
    margin: 14px 0 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    overflow: hidden;
    background: var(--lp-surface);
    box-shadow: 0 10px 24px rgba(26, 39, 54, 0.05);
}

.legalprocess-topic-page .entry-content caption {
    padding: 16px 18px 0;
    color: var(--lp-text);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    caption-side: top;
}

.legalprocess-topic-page .entry-content thead th {
    background: #eef3f9;
    color: var(--lp-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legalprocess-topic-page .entry-content th,
.legalprocess-topic-page .entry-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--lp-border);
    vertical-align: top;
    text-align: left;
}

.legalprocess-topic-page .entry-content tbody tr:last-child td {
    border-bottom: 0;
}

.legalprocess-topic-page .entry-content tbody tr:nth-child(even) td {
    background: #fbfcfe;
}

.legalprocess-topic-page .legal-resources,
.legalprocess-topic-page .related-topics {
    display: grid;
    gap: 10px;
}

.legalprocess-topic-page .legal-resources li,
.legalprocess-topic-page .related-topics li {
    padding: 14px 16px;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    background: #fbfcfe;
}

.legalprocess-topic-page .legal-mistakes {
    display: grid;
    gap: 10px;
}

.legalprocess-topic-page .legal-mistakes li {
    padding: 14px 16px 14px 18px;
    border-left: 4px solid var(--lp-accent-warm);
    border-radius: 0 14px 14px 0;
    background: #fcf8f8;
    color: var(--lp-text);
}

.legalprocess-topic-page .entry-content > p:last-of-type {
    margin-top: 24px;
    padding: 15px 18px;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    background: var(--lp-surface-muted);
    font-size: 15px;
}

.legalprocess-topic-page .entry-content h2[id="faq"] + h3,
.legalprocess-topic-page .entry-content h2[id="faq"] + .ez-toc-section + h3 {
    margin-top: 18px;
}

body.legalprocess-404-page {
    background:
        radial-gradient(circle at top left, rgba(27, 46, 71, 0.08), transparent 32%),
        linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
}

.legal-404 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.legal-404__hero,
.legal-404__section {
    border: 1px solid rgba(35, 58, 90, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 44px rgba(26, 39, 54, 0.07);
}

.legal-404__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
    gap: 22px;
    padding: 34px;
}

.legal-404__eyebrow {
    margin: 0 0 10px;
    color: var(--lp-accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-404__hero h1 {
    margin: 0;
    color: var(--lp-text);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.legal-404__hero-copy > p:last-of-type {
    max-width: 64ch;
    margin: 16px 0 0;
    color: var(--lp-text-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}

.legal-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.legal-404__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.legal-404__button:hover,
.legal-404__button:focus {
    transform: translateY(-1px);
}

.legal-404__button--primary {
    background: var(--lp-accent);
    color: #ffffff;
}

.legal-404__button--primary:hover,
.legal-404__button--primary:focus {
    background: #1b2e47;
    color: #ffffff;
}

.legal-404__button--secondary {
    border: 1px solid rgba(35, 58, 90, 0.14);
    background: #ffffff;
    color: var(--lp-text);
}

.legal-404__button--secondary:hover,
.legal-404__button--secondary:focus {
    border-color: rgba(35, 58, 90, 0.24);
    background: #f9fbfe;
    color: var(--lp-text);
}

.legal-404__stats {
    display: grid;
    gap: 14px;
}

.legal-404__stat-card {
    padding: 18px 18px 20px;
    border: 1px solid rgba(35, 58, 90, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f2f5fa 100%);
}

.legal-404__stat-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--lp-text);
    font-size: 2rem;
    line-height: 1;
}

.legal-404__stat-card span {
    color: var(--lp-text-soft);
    font-size: 0.96rem;
}

.legal-404__section {
    margin-top: 20px;
    padding: 28px;
}

.legal-404__section-head {
    max-width: 70ch;
    margin-bottom: 18px;
}

.legal-404__section-head h2 {
    margin: 0;
    color: var(--lp-text);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    line-height: 1.15;
}

.legal-404__section-head p {
    margin: 10px 0 0;
    color: var(--lp-text-soft);
    line-height: 1.7;
}

.legal-404__search .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.legal-404__search input[type="search"] {
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(35, 58, 90, 0.14);
    border-radius: 16px;
    background: #ffffff;
}

.legal-404__search input[type="search"]:focus {
    outline: none;
    border-color: rgba(35, 58, 90, 0.28);
}

.legal-404__search input[type="submit"] {
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: var(--lp-accent);
    color: #ffffff;
    font-weight: 700;
}

.legal-404__topic-grid,
.legal-404__list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.legal-404__topic-card,
.legal-404__list-card {
    padding: 18px 18px 20px;
    border: 1px solid rgba(35, 58, 90, 0.1);
    border-radius: 22px;
    background: #fbfcfe;
}

.legal-404__topic-topline,
.legal-404__list-meta {
    margin-bottom: 8px;
    color: var(--lp-accent);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-404__topic-card h3,
.legal-404__list-card h3 {
    margin: 0;
    color: var(--lp-text);
    font-size: 1.08rem;
    line-height: 1.35;
}

.legal-404__topic-card p,
.legal-404__list-card p {
    margin: 10px 0 0;
    color: var(--lp-text-soft);
    line-height: 1.7;
}

.legal-404__topic-card a,
.legal-404__list-card a {
    color: var(--lp-text);
    text-decoration: none;
}

.legal-404__topic-card a:hover,
.legal-404__topic-card a:focus,
.legal-404__list-card a:hover,
.legal-404__list-card a:focus {
    color: var(--lp-accent);
}

.legal-404__topic-card > a {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 700;
}

.legal-404__state-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.legal-404__state-link {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(35, 58, 90, 0.1);
    border-radius: 18px;
    background: #fbfcfe;
    color: var(--lp-text);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.legal-404__state-link:hover,
.legal-404__state-link:focus {
    border-color: rgba(35, 58, 90, 0.2);
    background: var(--lp-accent-soft);
    color: var(--lp-text);
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .legal-homepage__hero {
        grid-template-columns: 1fr;
    }

    .legal-homepage__state-grid,
    .legal-homepage__topic-grid,
    .legal-homepage__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legalprocess-state-hub-page .state-topic-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-404__hero {
        grid-template-columns: 1fr;
    }

    .legal-404__state-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .legal-homepage {
        padding: 16px 12px 40px;
    }

    .legal-homepage__hero-copy,
    .legal-homepage__section {
        padding: 20px;
        border-radius: 20px;
    }

    .legal-homepage__actions {
        flex-direction: column;
    }

    .legal-homepage__button {
        width: 100%;
    }

    .legal-homepage__state-grid,
    .legal-homepage__topic-grid,
    .legal-homepage__list-grid,
    .legal-homepage__steps,
    .legal-homepage__faq {
        grid-template-columns: 1fr;
    }

    .legalprocess-state-hub-page .entry-header,
    .legalprocess-topic-page .entry-header {
        padding: 22px 22px 0;
    }

    .legalprocess-state-hub-page .entry-content,
    .legalprocess-topic-page .entry-content {
        padding: 18px 22px 24px;
    }

    .legalprocess-state-hub-page .state-topic-list {
        grid-template-columns: 1fr;
    }

    .legal-404 {
        padding: 16px 12px 40px;
    }

    .legal-404__hero,
    .legal-404__section {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .legal-404__actions,
    .legal-404__search .search-form {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .legal-404__button {
        width: 100%;
    }

    .legal-404__topic-grid,
    .legal-404__list-grid,
    .legal-404__state-grid {
        grid-template-columns: 1fr;
    }

    .legalprocess-topic-page .entry-content table,
    .legalprocess-topic-page .entry-content thead,
    .legalprocess-topic-page .entry-content tbody,
    .legalprocess-topic-page .entry-content tr,
    .legalprocess-topic-page .entry-content td,
    .legalprocess-topic-page .entry-content th {
        display: block;
        width: 100%;
    }

    .legalprocess-topic-page .entry-content thead {
        display: none;
    }

    .legalprocess-topic-page .entry-content tr {
        border-bottom: 1px solid var(--lp-border);
    }

    .legalprocess-topic-page .entry-content tbody tr:last-child {
        border-bottom: 0;
    }

    .legalprocess-topic-page .entry-content td,
    .legalprocess-topic-page .entry-content th {
        padding: 10px 14px;
        border-bottom: 0;
    }
}
