/**
 * SueLegal - High-Performance Modern Legal Publication Stylesheet
 * 2026 Core Web Vitals & Accessibility Optimized (WCAG 2.2 AAA compliant contrast)
 * Zero external font render-blocking; pure system-grade typography.
 */

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Charter", "Bitstream Charter", "Sitka Text", "Cambria", Georgia, serif;
    --font-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

    /* Color Palette - Restrained, Trustworthy Editorial */
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-subtle: #f7f8fa;
    --color-surface-card: #ffffff;
    --color-border: #d9dde2;
    --color-border-subtle: #e5e7eb;
    --color-table-border: #cdd2d8;
    --color-text-primary: #111827;
    --color-text-secondary: #1f2937;
    --color-text-muted: #5f6670;

    /* Legal Brand Colors - Black, Deep Red & Secondary Warm Grays */
    --color-primary: #b00000;
    --color-primary-hover: #8a0000;
    --color-primary-light: #fff5f5;
    --color-primary-border: #fecaca;
    --color-accent: #b00000;
    --color-accent-subtle: #fff5f5;
    --color-charcoal: #111827;
    --color-success: #15803d;
    --color-success-bg: #f0fdf4;
    --color-warning-border: #f59e0b;
    --color-warning-bg: #fffbeb;
    --color-danger-border: #dc2626;
    --color-danger-bg: #fef2f2;

    /* Editorial & Component Tokens */
    --color-art-black: #111111;
    --color-art-charcoal: #171717;
    --color-art-text-muted: #525252;
    --color-art-bg-card: #ffffff;
    --color-art-border: #d9dde2;
    --color-art-border-divider: #d6d6d6;
    --color-art-table-border: #cfcfcf;
    --color-art-red: #b00000;
    --color-art-red-hover: #8a0000;
    --color-art-red-light: #fff5f5;
    --color-art-red-border: #fca5a5;

    /* Layout & Spacing */
    --container-max: 1360px;
    --content-max: 880px;
    --header-height: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.7;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 1rem;
    background: var(--color-primary);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1.25px;
    text-underline-offset: 3px;
    text-decoration-color: #cbd5e1;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover {
    color: var(--color-primary-hover);
    text-decoration-color: currentColor;
}

/* Layout Utilities */
.container {
    width: calc(100% - 48px);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
}
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}
@media (max-width: 768px) {
    .container {
        width: calc(100% - 32px);
    }
}

/* Site Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.site-branding {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}
.logo-icon-svg {
    width: 36px;
    height: 36px;
    display: block;
    flex-shrink: 0;
}
.logo-text {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-sans);
}
.logo-sue {
    color: #0f2d59;
}
.logo-legal {
    color: #b00000;
}
.site-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background-color: #f1f4f9;
    color: #0f2d59;
    padding: 0.32rem 0.65rem;
    border-radius: 6px;
    border: 1px solid #dce4ee;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .site-badge {
        display: none;
    }
}

/* Navigation */
.primary-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
}
.nav-link:hover {
    color: var(--color-primary);
    background-color: var(--color-surface);
}
.nav-item.active .nav-link {
    color: var(--color-primary);
    font-weight: 700;
}
.pillar-button {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius-md) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background-color 0.15s ease;
}
.pillar-button:hover {
    background-color: var(--color-primary-hover) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    position: absolute;
    transition: transform 0.15s ease;
}
.hamburger-inner {
    top: 8px;
}
.hamburger-inner::before {
    content: "";
    top: -8px;
}
.hamburger-inner::after {
    content: "";
    bottom: -8px;
}

/* Breadcrumbs */
.breadcrumb-nav {
    background-color: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.65rem 0;
    font-size: 0.88rem;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin-right: 0.5rem;
    color: #a3a3a3;
}
.breadcrumb-item a {
    color: #b00000;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(176, 0, 0, 0.35);
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.breadcrumb-item a:hover {
    color: #7f0000;
    text-decoration-color: #7f0000;
}
.breadcrumb-item.active {
    color: #525252;
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    flex: 1 0 auto;
    padding-bottom: 4rem;
}

/* Standard Informational & Policy Page Layout (Legal Research, About, Editorial Policy, etc.) */
.standard-page-container,
.simple-page-layout {
    max-width: 900px;
    margin: 2.75rem auto 4.5rem;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.standard-page-container .article-header,
.simple-page-layout .article-header {
    margin-bottom: 2.25rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.75rem;
}

.standard-page-container .article-h1,
.simple-page-layout .article-h1 {
    font-size: clamp(2.2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}

.standard-page-container .hero-subtitle,
.simple-page-layout .hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.standard-page-container .article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.standard-page-container .article-body h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.standard-page-container .article-body h3 {
    font-size: 1.25rem;
    font-weight: 750;
    color: #0f172a;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.standard-page-container .article-body p {
    margin-bottom: 1.25rem;
}

.standard-page-container .article-body ul,
.standard-page-container .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.standard-page-container .article-body li {
    margin-bottom: 0.5rem;
}

.standard-page-container .table-responsive {
    overflow-x: auto;
    margin: 1.75rem 0 2rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.standard-page-container .legal-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.95rem;
    text-align: left;
}

.standard-page-container .legal-table th {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 750 !important;
    padding: 0.85rem 1rem !important;
    border: 1px solid #cbd5e1 !important;
    border-bottom: 2px solid #94a3b8 !important;
}

.standard-page-container .legal-table td {
    padding: 0.85rem 1rem !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155;
    line-height: 1.55;
    vertical-align: top !important;
}

.standard-page-container .legal-table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

.standard-page-container .legal-table tr:hover td {
    background-color: #eef2f6 !important;
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
}
.article-cluster-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    background-color: var(--color-accent-subtle);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    border: 1px solid #fde68a;
}
.article-h1 {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

/* Author & Reviewer Metadata Box */
.editorial-meta-box {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
    margin-top: 1.25rem;
}
.authors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0.75rem;
}
.meta-person {
    display: flex;
    flex-direction: column;
}
.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}
.person-name {
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
}
.person-name:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.person-title {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}
.dates-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--color-text-secondary);
}
.meta-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.date-separator {
    color: var(--color-border-subtle);
}
.editorial-badge .badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-success);
    text-decoration: none;
    background-color: var(--color-success-bg);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid #bbf7d0;
}

/* Quick Answer Callout */
.quick-answer-card {
    background-color: #f8fafc;
    border-left: 4px solid var(--color-primary);
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    margin: 1.75rem 0 2rem;
    box-shadow: var(--shadow-sm);
}
.quick-answer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.quick-answer-badge {
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
}
.quick-answer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}
.quick-answer-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text-primary);
}

/* Table of Contents */
.toc-container {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.toc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}
.toc-toggle {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text-secondary);
}
.toc-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style-type: decimal;
}
.toc-item {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}
.toc-link {
    color: var(--color-text-secondary);
    text-decoration: none;
}
.toc-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Typography Inside Articles */
.article-body {
    font-family: var(--font-sans);
    font-size: 1.075rem;
    line-height: 1.75;
    color: var(--color-text-primary);
}
.article-body h2 {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-top: 2.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.4rem;
}
.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.article-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.article-body p {
    margin-bottom: 1.25rem;
}
.article-body ul, .article-body ol {
    margin-bottom: 1.35rem;
    padding-left: 1.75rem;
}
.article-body li {
    margin-bottom: 0.45rem;
}

/* Legal Callout Boxes */
.legal-box {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    font-size: 0.98rem;
}
.legal-box-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.legal-box-statute {
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
}
.legal-box-statute .legal-box-title {
    color: var(--color-primary);
}
.legal-box-warning {
    background-color: var(--color-warning-bg);
    border: 1px solid #fed7aa;
    border-left: 4px solid var(--color-warning-border);
}
.legal-box-warning .legal-box-title {
    color: var(--color-accent);
}
.legal-box-checklist {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-success);
}
.legal-box-checklist .legal-box-title {
    color: var(--color-success);
}

/* Citations & Cases */
.legal-citation {
    font-family: var(--font-serif);
    font-style: italic;
    color: #111827;
    font-weight: 500;
}
.statute-ref {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background-color: var(--color-surface-subtle);
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
    margin: 1.75rem 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}
.legal-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.95rem;
    text-align: left;
}
.legal-table th, .legal-table td {
    padding: 0.85rem 1rem !important;
    border: 1px solid #cbd5e1 !important;
    vertical-align: top !important;
}
.legal-table th {
    background-color: #f1f5f9 !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    border-bottom: 2px solid #94a3b8 !important;
}
.legal-table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}
.legal-table tr:hover td {
    background-color: #eef2f6 !important;
}

/* Money Page Link Grid inside /Landlord */
/* ============================================================
   MASTER PILLAR (/Landlord) EDITORIAL ARCHITECTURE
   ============================================================ */

/* 1. Core Legal Framework Sequence */
.legal-framework-sequence {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin: 2rem 0 2.5rem;
}
.framework-item {
    background: #ffffff;
    border: 1px solid #d9dde2;
    border-left: 3px solid var(--color-art-red);
    border-radius: 8px;
    padding: 24px 28px;
}
.framework-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.framework-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-art-red);
    background: #fff5f5;
    border: 1px solid #fecaca;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}
.framework-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}
.framework-item p {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 0.85rem;
}
.framework-item p:last-child {
    margin-bottom: 0;
}
.framework-item ul {
    margin: 0.5rem 0 0 1.25rem;
    color: #374151;
    line-height: 1.7;
}

/* 2. 5 Essential Elements Step Flow */
.essential-elements-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 2rem 0 2.25rem;
}
@media (max-width: 900px) {
    .essential-elements-flow {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
.element-step {
    background: #f7f8fa;
    border: 1px solid #d9dde2;
    border-top: 3px solid var(--color-art-red);
    border-radius: 8px;
    padding: 18px 16px;
    text-align: left;
}
.element-step .step-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-art-red);
    display: block;
    margin-bottom: 0.35rem;
}
.element-step .element-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.45rem;
    line-height: 1.25;
}
.element-step .element-desc {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.45;
    margin: 0;
}
.element-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.element-detail-item {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #374151;
}
.element-detail-item strong {
    color: #111827;
}

/* 3. 60 Money Guides Directory: 9 Topic Blocks & 2-Column Grid */
.money-cluster-block {
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
}
.money-cluster-block:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}
.cluster-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.cluster-number-badge {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-art-red);
    background: #fff5f5;
    border: 1px solid #fecaca;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.money-cluster-block h3,
.cluster-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.015em;
    border-bottom: none;
    padding-bottom: 0;
}
.cluster-desc {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}
.money-links-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}
@media (max-width: 680px) {
    .money-links-list {
        grid-template-columns: 1fr;
    }
}
.money-link-card {
    background: #ffffff;
    border: 1px solid #dde1e6;
    border-radius: 10px;
    padding: 20px 22px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}
.money-link-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-art-red);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.money-link-card a {
    font-size: 1.02rem;
    font-weight: 750;
    color: var(--color-art-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(176, 0, 0, 0.35);
    display: inline-flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    line-height: 1.35;
}
.money-link-card a:hover {
    color: var(--color-art-red-hover);
    text-decoration-color: var(--color-art-red-hover);
}
.money-link-card .card-arrow {
    font-size: 1.1rem;
    color: var(--color-art-red);
    font-weight: 700;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}
.money-link-card:hover .card-arrow {
    transform: translateX(3px);
}
.money-link-meta {
    font-size: 0.88rem;
    color: #5f6670;
    line-height: 1.5;
    margin: 0;
}

/* 4. Common Landlord Defenses Editorial Grid */
.defenses-editorial-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}
.defense-editorial-item {
    background: #f7f8fa;
    border: 1px solid #d9dde2;
    border-left: 3px solid #111827;
    border-radius: 8px;
    padding: 24px 28px;
}
.defense-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.defense-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: #111827;
    background: #ffffff;
    border: 1px solid #d9dde2;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}
.defense-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}
.defense-editorial-item p {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.defense-editorial-item p:last-child {
    margin-bottom: 0;
}
.defense-evaluation {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #4b5563;
}
.defense-evaluation strong {
    color: #111827;
}

/* Related Topics Section */
.related-topics-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
}
.related-topics-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.pillar-callout-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
}
.pillar-callout-card .callout-icon {
    font-size: 2rem;
    line-height: 1;
}
.pillar-callout-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: var(--color-primary);
}
.pillar-callout-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}
.related-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .related-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.related-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}
.card-cluster {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}
.card-title a {
    color: var(--color-primary);
    text-decoration: none;
}
.card-title a:hover {
    text-decoration: underline;
}
.card-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.read-more-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}
.read-more-link:hover {
    color: var(--color-accent);
}

/* Disclaimer Component */
.legal-disclaimer-box {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 3rem;
}
.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.disclaimer-badge {
    background-color: var(--color-text-muted);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}
.disclaimer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}
.disclaimer-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}
.disclaimer-content p:last-child {
    margin-bottom: 0;
}

/* Homepage Styles */
.hero-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}
/* ==========================================================================
   HOMEPAGE DESIGN SYSTEM (Premium Legal Publication UX)
   ========================================================================== */

.home-page {
    overflow-x: hidden;
}

/* ============================================================
   1. EDITORIAL HERO SECTION (RED-TO-DARK GRID WITH US MAP)
   ============================================================ */
.home-hero {
    position: relative;
    z-index: 20;
    background-color: #09090b;
    background-image: 
        radial-gradient(circle at 92% 15%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #b91c1c 0%, #09090b 100%);
    padding: 4.5rem 0 4.25rem;
    border-bottom: 3px solid #b00000;
    color: #ffffff;
    overflow: visible;
}

.hero-backdrop-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.home-hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 3.25rem;
    align-items: center;
}
@media (max-width: 1040px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
    .home-hero {
        padding: 3rem 0 3.25rem;
    }
}

.home-hero-content-col {
    min-width: 0;
    text-align: left;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.76rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    margin-bottom: 1.25rem;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #b00000;
    box-shadow: 0 0 8px #ff4d4d;
}

.home-hero-title {
    font-size: clamp(2.35rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 1.15rem;
}

.home-hero-subtitle {
    font-size: 1.12rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 2rem;
    font-weight: 400;
    max-width: 620px;
}

/* Hero CTA Actions */
.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: #b00000;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 750;
    padding: 0.82rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(176, 0, 0, 0.35);
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-hero-primary:hover {
    background-color: #c90000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(176, 0, 0, 0.45);
    color: #ffffff;
}
.btn-hero-primary .btn-arrow {
    font-size: 1.15rem;
    transition: transform 0.15s ease;
}
.btn-hero-primary:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 650;
    padding: 0.82rem 1.35rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Hero Search Component */
.home-search-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.home-search-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.55rem;
    text-align: left;
}

.home-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d5d9de;
    border-radius: 14px;
    height: 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    padding-right: 6px;
}
.home-search-box:focus-within {
    border-color: #b00000;
    box-shadow: 0 8px 32px rgba(176, 0, 0, 0.2), 0 0 0 4px rgba(176, 0, 0, 0.12);
}

.home-search-box .search-icon {
    position: absolute;
    left: 1.25rem;
    color: #64748b;
    pointer-events: none;
}

.home-search-input {
    flex: 1;
    height: 100%;
    padding: 0 2.5rem 0 3.15rem;
    font-size: 1.02rem;
    color: #111827;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
}
.home-search-input::placeholder {
    color: #64748b;
    font-size: 0.95rem;
}

.home-search-clear {
    position: absolute;
    right: 6.25rem;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
}
.home-search-clear:hover {
    color: #111111;
}

.home-search-btn {
    background-color: var(--color-art-red);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 750;
    padding: 0 1.35rem;
    height: 44px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}
.home-search-btn:hover {
    background-color: var(--color-art-red-hover);
    transform: translateY(-1px);
}

.home-search-box-wrap {
    position: relative;
    width: 100%;
    z-index: 100;
}

/* Search Dropdown Results */
.home-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    padding: 0.4rem 0;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    background-color: #ffffff;
    border-left: 3px solid transparent;
    transition: background-color 0.15s ease, border-left-color 0.15s ease;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover,
.search-result-item.is-selected {
    background-color: #fef2f2;
    border-left-color: #b00000;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.result-title {
    font-size: 0.98rem;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}
.search-result-item:hover .result-title,
.search-result-item.is-selected .result-title {
    color: #b00000;
}

.result-cluster {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #991b1b;
    background-color: #fee2e2;
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    align-self: flex-start;
}

.result-arrow {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-left: 1rem;
    transition: transform 0.15s ease, color 0.15s ease;
}
.search-result-item:hover .result-arrow,
.search-result-item.is-selected .result-arrow {
    color: #b00000;
    transform: translateX(3px);
}

.search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.92rem;
}

@media (max-width: 640px) {
    .home-search-dropdown {
        max-height: 320px;
    }
    .search-result-item {
        padding: 0.75rem 1rem;
    }
    .result-title {
        font-size: 0.9rem;
    }
}

/* Search Pills */
.home-search-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.95rem;
}

.pills-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.search-pill-btn,
.search-pill-link {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.15s ease;
}
.search-pill-btn:hover,
.search-pill-link:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #b00000;
    transform: translateY(-1px);
}

/* Right Column: U.S. Map Only */
.home-hero-visual-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.hero-map-wrapper {
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.hero-map-wrapper svg {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
}

.hero-map-wrapper svg .state path,
.hero-map-wrapper svg circle {
    transition: fill 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.hero-map-wrapper svg path:hover,
.hero-map-wrapper svg circle:hover {
    fill: #ef4444 !important;
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.85));
    opacity: 1 !important;
}

/* ============================================================
   2. VALUE PROPOSITION: CLEAR, PRACTICAL LEGAL GUIDANCE
   ============================================================ */
.home-value-prop {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 3.5rem 0 3.25rem;
    text-align: center;
}

.value-prop-inner {
    max-width: 840px;
    margin: 0 auto;
}

.value-prop-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-art-red);
    margin-bottom: 0.75rem;
}

.value-prop-title {
    font-size: clamp(1.65rem, 2.7vw, 2.2rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.value-prop-desc {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   3. TRUST SIGNAL STRIP (THREE RESTRAINED EDITORIAL VALUES)
   ============================================================ */
.home-trust-strip {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}
@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-icon-box {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid #d9dde2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-art-red);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.trust-content {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111827;
    margin-bottom: 0.35rem;
}

.trust-desc {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   4. START HERE (LIGHT EDITORIAL MASTER AUTHORITY CARD)
   ============================================================ */
.home-start-here {
    padding: 5.5rem 0 4.5rem;
    background-color: #ffffff;
}

.start-here-eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-art-red);
    margin-bottom: 1.25rem;
    text-align: center;
}

.master-authority-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 3.25rem;
    color: #111827;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #d9dde2;
    position: relative;
    overflow: hidden;
}
.master-authority-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-art-red);
}

.master-card-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
@media (max-width: 900px) {
    .master-authority-card {
        padding: 2.25rem 1.75rem;
    }
    .master-card-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
}

.master-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background-color: #fff5f5;
    color: var(--color-art-red);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    border: 1px solid #fecaca;
}
.badge-icon-svg {
    color: var(--color-art-red);
}

.master-card-title {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.master-title-link {
    color: #111827;
    text-decoration: none;
    transition: color 0.15s ease;
}
.master-title-link:hover {
    color: var(--color-art-red);
}

.master-card-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 2rem;
}

.master-card-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-master-cta {
    background-color: #b00000 !important;
    color: #ffffff !important;
    font-size: 1.02rem;
    font-weight: 750;
    padding: 0.85rem 1.65rem;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(176, 0, 0, 0.25);
    transition: all 0.18s ease;
}
.btn-master-cta span {
    color: #ffffff !important;
}
.btn-master-cta:hover {
    background-color: #8a0000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(176, 0, 0, 0.35);
}
.btn-master-cta .arrow {
    color: #ffffff !important;
    transition: transform 0.18s ease;
}
.btn-master-cta:hover .arrow {
    transform: translateX(3px);
}

.link-subtle {
    color: #4b5563;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}
.link-subtle:hover {
    color: var(--color-art-red);
}

.master-card-highlights {
    background-color: #f7f8fa;
    border: 1px solid #d9dde2;
    border-radius: 12px;
    padding: 1.75rem;
}

.highlights-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.highlights-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111827;
}

.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #374151;
}

.highlights-list strong {
    color: #111827;
}

.highlight-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #fff5f5;
    border: 1px solid #fecaca;
    color: var(--color-art-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Section Header Standards */
.section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b91c1c;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   4. PROBLEM-BASED DISCOVERY (TOPIC PILLS)
   ============================================================ */
.home-discovery-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 4.5rem 0;
}

.topic-pills-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1040px;
    margin: 0 auto;
}

.topic-pill-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #ffffff;
    border: 1px solid #dadada;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.18s ease;
}
.topic-pill-anchor:hover {
    border-color: #b91c1c;
    color: #b91c1c;
    background-color: #fef2f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.12);
}
.pill-icon-svg {
    display: inline-flex;
    align-items: center;
    color: #b91c1c;
}

/* ============================================================
   5. FEATURED GUIDES SPOTLIGHT
   ============================================================ */
.home-featured-section {
    padding: 4.5rem 0 4.5rem;
    background-color: #ffffff;
}

/* Spotlight Header Block (Cohesive & Structured) */
.spotlight-header-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2.5rem;
    margin-bottom: 2.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #eef2f6;
}
@media (max-width: 860px) {
    .spotlight-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

.spotlight-header-left {
    max-width: 780px;
}

.spotlight-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b00000;
    margin-bottom: 0.5rem;
}

.spotlight-title {
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin: 0 0 0.65rem 0;
}

.spotlight-subtitle {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.spotlight-header-right {
    flex-shrink: 0;
}

.btn-spotlight-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background-color: #0f2d59;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.75rem 1.35rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn-spotlight-viewall:hover {
    background-color: #b00000;
    transform: translateY(-1px);
    color: #ffffff;
}
.btn-spotlight-viewall .btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.15s ease;
}
.btn-spotlight-viewall:hover .btn-arrow {
    transform: translateX(3px);
}

.featured-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
@media (max-width: 992px) {
    .featured-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .featured-cards-grid {
        grid-template-columns: 1fr;
    }
}

.featured-guide-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.featured-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
    border-color: #b00000;
}

.featured-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.card-cluster-pill {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b00000;
    background-color: #fef2f2;
    padding: 0.22rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #fecaca;
}

.statutory-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    background-color: #f1f5f9;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.featured-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}
.featured-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
.featured-guide-card:hover .featured-card-title a {
    color: #b00000;
}

.featured-card-desc {
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.65rem;
    flex-grow: 1;
}

.featured-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.card-verified-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: #15803d;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 750;
    color: #b00000;
    text-decoration: none;
    transition: gap 0.15s ease, color 0.15s ease;
}
.card-action-link:hover {
    gap: 0.65rem;
    color: #880000;
}

/* ============================================================
   6. TOPIC MODULES DIRECTORY (ALL 60 ARTICLES RENDERED)
   ============================================================ */
.home-topic-modules {
    background-color: transparent;
    padding: 1rem 0 0;
}

.topic-module-block {
    padding: 95px 0;
    border-bottom: 1px solid #e5e7eb;
    scroll-margin-top: 80px;
    background-color: #ffffff;
}
.topic-module-block.is-alt-bg {
    background-color: #f7f8fa;
}
@media (max-width: 768px) {
    .topic-module-block {
        padding: 60px 0;
    }
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.module-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
}

.module-icon-svg {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.module-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b91c1c;
    margin-bottom: 0.35rem;
}

.module-title {
    font-size: clamp(1.6rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.module-summary {
    font-size: 0.98rem;
    color: #4b5563;
    margin: 0;
    max-width: 720px;
    line-height: 1.55;
}

.module-meta-wrap {
    flex-shrink: 0;
}

.module-count-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--color-art-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(176, 0, 0, 0.35);
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.module-count-link:hover {
    color: var(--color-art-red-hover);
    text-decoration-color: var(--color-art-red-hover);
}
.module-count-link .badge-arrow {
    color: var(--color-art-red);
    font-size: 1.1rem;
    transition: transform 0.15s ease;
}
.module-count-link:hover .badge-arrow {
    transform: translateX(3px);
}

/* Module Layout Grid: Featured Left (34%), Secondary Cards Right (66%) */
.module-layout-grid {
    display: grid;
    grid-template-columns: minmax(320px, 34%) 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 960px) {
    .module-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.module-featured-col {
    position: sticky;
    top: 90px;
}
@media (max-width: 960px) {
    .module-featured-col {
        position: static;
    }
}

.module-featured-card {
    background: #ffffff;
    border: 1px solid #dadada;
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.module-featured-card:hover {
    border-color: #b91c1c;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.featured-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b91c1c;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1.15rem;
    width: fit-content;
}

.module-featured-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}
.module-featured-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.15s ease;
}
.module-featured-title a:hover {
    color: #b91c1c;
}

.module-featured-desc {
    font-size: 0.94rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.35rem;
}

.module-featured-meta {
    margin-bottom: 1.65rem;
}
.meta-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
}

.btn-module-featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #b91c1c;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 0.85rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.18s ease;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.25);
}
.btn-module-featured:hover {
    background-color: #991b1b;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.35);
}
.btn-module-featured .arrow {
    transition: transform 0.15s ease;
}
.btn-module-featured:hover .arrow {
    transform: translateX(3px);
}

/* Secondary Editorial Cards Column (64-68%) */
.secondary-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (max-width: 680px) {
    .secondary-cards-grid {
        grid-template-columns: 1fr;
    }
}

.secondary-guide-card {
    background-color: #ffffff;
    border: 1px solid #dadada;
    border-radius: 12px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    display: flex;
}
.secondary-guide-card:hover {
    transform: translateY(-2px);
    border-color: #b91c1c;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.secondary-card-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 26px;
    text-decoration: none;
    gap: 1rem;
    width: 100%;
}

.secondary-card-content {
    flex: 1;
    min-width: 0;
}

.secondary-card-title {
    font-size: 1.05rem;
    font-weight: 750;
    color: #111111;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    transition: color 0.15s ease;
}
.secondary-guide-card:hover .secondary-card-title {
    color: #b91c1c;
}

.secondary-card-desc {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.secondary-card-arrow {
    font-size: 1.2rem;
    font-weight: 700;
    color: #b91c1c;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: transform 0.18s ease;
}
.secondary-guide-card:hover .secondary-card-arrow {
    transform: translateX(4px);
}

/* ============================================================
   7. STANDARDS & TRANSPARENCY SECTION
   ============================================================ */
.home-standards-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 5.5rem 0 5rem;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}
@media (max-width: 992px) {
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .standards-grid {
        grid-template-columns: 1fr;
    }
}

.standards-card {
    background-color: #ffffff;
    border: 1px solid #dadada;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.standards-card:hover {
    transform: translateY(-2px);
    border-color: #b91c1c;
}

.standards-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1;
}

.standards-card-title {
    font-size: 1.18rem;
    font-weight: 750;
    color: #111111;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.standards-card-desc {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.standards-link {
    font-size: 0.88rem;
    font-weight: 750;
    color: #b91c1c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.15s ease;
}
.standards-link:hover {
    gap: 0.65rem;
    color: #991b1b;
}

.standards-dual-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* ============================================================
   8. MISSION SECTION
   ============================================================ */
.home-mission-section {
    padding: 5.5rem 0 4.5rem;
}

.mission-card {
    background-color: #ffffff;
    border: 1px solid #dadada;
    border-left: 4px solid #b91c1c;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
@media (max-width: 768px) {
    .mission-card {
        padding: 2rem 1.5rem;
    }
}

.mission-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b91c1c;
    margin-bottom: 0.5rem;
    display: block;
}

.mission-title {
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.mission-text {
    font-size: 1.02rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 920px;
}

.mission-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.btn-subtle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}
.btn-subtle:hover {
    color: #b91c1c;
}

/* ============================================================
   9. REFINED FINAL CALL TO ACTION
   ============================================================ */
.home-final-cta {
    padding: 2rem 0 6rem;
}

.final-cta-box {
    background: #f7f8fa;
    border: 1px solid #dadada;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.final-cta-title {
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}

.final-cta-desc {
    font-size: 1.08rem;
    color: #4b5563;
    max-width: 680px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.final-cta-actions .btn-primary,
.final-cta-actions .home-btn-hero {
    background-color: #b00000 !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 750;
    padding: 0.85rem 1.65rem;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(176, 0, 0, 0.25);
    transition: all 0.18s ease;
}
.final-cta-actions .btn-primary:hover,
.final-cta-actions .home-btn-hero:hover {
    background-color: #8a0000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(176, 0, 0, 0.35);
}
.final-cta-actions .btn-arrow {
    color: #ffffff !important;
    transition: transform 0.18s ease;
}
.final-cta-actions .btn-primary:hover .btn-arrow,
.final-cta-actions .home-btn-hero:hover .btn-arrow {
    transform: translateX(3px);
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Site Footer (Red-to-Dark Hero Gradient + Geometric Square Grid) */
.site-footer {
    position: relative;
    background-color: #09090b;
    background-image: 
        radial-gradient(circle at 92% 15%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #b91c1c 0%, #09090b 100%);
    border-top: 3px solid #b00000;
    padding-top: 3.75rem;
    font-size: 0.9rem;
    color: #ffffff;
    overflow: hidden;
}

.footer-backdrop-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.15rem;
}
.footer-logo .logo-icon-svg {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
.footer-logo .logo-text {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-sans);
}
.footer-logo .logo-sue {
    color: #ffffff;
}
.footer-logo .logo-legal {
    color: #ff5555;
    text-shadow: 0 0 12px rgba(255, 85, 85, 0.45);
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #f1f5f9;
    margin-bottom: 1.25rem;
}

.editorial-commitment {
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 0.95rem 1.15rem;
    margin-top: 1.25rem;
    backdrop-filter: blur(4px);
}
.commitment-title {
    font-weight: 800;
    color: #ffffff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.35rem;
}
.editorial-commitment p {
    font-size: 0.84rem;
    color: #e2e8f0;
    line-height: 1.55;
    margin: 0;
}

.footer-heading {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background-color: #ff4d4d;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
}
.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}
.footer-links a strong {
    color: #ffffff;
    font-weight: 750;
}
.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transform: translateX(2px);
}

.footer-legal-bar {
    padding: 2.25rem 0 2rem;
}
.disclaimer-text {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.copyright-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1.25rem;
}
.copyright-bar p {
    margin: 0;
}
.canonical-domain {
    color: #94a3b8;
    font-size: 0.78rem;
}

/* Responsive Overrides */
@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }
    .primary-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 2px solid var(--color-primary);
        padding: 1.25rem 1.5rem;
        box-shadow: var(--shadow-lg);
    }
    .primary-nav.is-open {
        display: block;
    }
    .primary-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .article-h1 {
        font-size: 1.85rem;
    }
}

/* ==========================================================================
   ARTICLE PAGE DESIGN SYSTEM (Authoritative Black + Red + White Legal Publication)
   ========================================================================== */

body.is-article-page {
    background-color: #F7F8FA;
    color: #111111;
}

/* Below Hero: Content Page Container (Spacious 1360px Max Desktop Layout) */
.article-page-container {
    --color-art-black: #111111;
    --color-art-charcoal: #171717;
    --color-art-text-muted: #525252;
    --color-art-bg-card: #ffffff;
    --color-art-border: #e2e2e2;
    --color-art-border-divider: #d6d6d6;
    --color-art-table-border: #cfcfcf;
    --color-art-red: #b00000;
    --color-art-red-hover: #7f0000;
    --color-art-red-light: #fff5f5;
    --color-art-red-border: #fca5a5;

    width: min(1360px, calc(100% - 48px));
    max-width: 1360px;
    margin: 2.75rem auto 5rem;
    padding: 0;
    color: var(--color-art-charcoal);
}
@media (max-width: 767px) {
    .article-page-container {
        width: calc(100% - 32px);
        margin: 1.75rem auto 3.5rem;
    }
}

/* Universal Red Hyperlinks for Article System (WCAG AAA Contrast on Light) */
.article-page-container a {
    color: var(--color-art-red);
    text-decoration: underline;
    text-decoration-thickness: 1.25px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(176, 0, 0, 0.4);
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.article-page-container a:hover {
    color: var(--color-art-red-hover);
    text-decoration-color: var(--color-art-red-hover);
}
.article-page-container a:focus-visible {
    outline: 2px solid var(--color-art-red);
    outline-offset: 2px;
}

/* ==========================================================================
   SUELEGAL EDITORIAL ARTICLE DESIGN SYSTEM
   Professional, Premium, Editorial, Trustworthy, Modern, Information-Rich.
   Desktop: 1360px Max-Width Grid (820-880px Main + 56px Gap + 340px Sticky Sidebar)
   Typography: High Legibility (18px Desktop, 1.8 Line-Height)
   Navigation: Non-Scrollable "ON THIS PAGE" with Red Accents & Vector Indicators
   Mobile: Single Column with Prominent Top Navigation & Horizontally Scrollable Tables
   ========================================================================== */

/* Reading Progress Bar (Fixed Top, 3px Height, Red Accent) */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--color-art-red, #b00000);
    width: 0%;
    z-index: 9999;
    pointer-events: none;
    transition: width 0.08s ease-out;
}

/* ============================================================
   ARTICLE HERO HEADER (Full Width Visual Backdrop with Content On Top)
   ============================================================ */
.article-hero-header {
    background: #6b0000;
    position: relative;
    padding: 3.25rem 0 3.75rem;
    overflow: hidden;
    color: #ffffff;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-media picture,
.hero-bg-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #6e0000 0%,
        rgba(110, 0, 0, 0.98) 32%,
        rgba(95, 0, 0, 0.92) 48%,
        rgba(40, 5, 5, 0.65) 68%,
        rgba(15, 2, 2, 0.35) 84%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
}

.article-hero-header .hero-backdrop-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 50%, transparent 88%);
    mask-image: linear-gradient(to right, black 0%, black 50%, transparent 88%);
}

.article-hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 3;
    width: calc(100% - 48px);
}

/* Top Utility Row: Breadcrumbs on Left, Verified Button on Right */
.article-hero-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.hero-breadcrumb {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.88rem;
}
.hero-breadcrumb .breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 0.55rem;
    padding: 0;
    margin: 0;
}
.crumb-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.crumb-home-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
.crumb-home-icon {
    stroke: #cbd5e1;
    flex-shrink: 0;
}
.hero-breadcrumb .breadcrumb-item a {
    color: #cbd5e1;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}
.hero-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.hero-breadcrumb .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    user-select: none;
}
.hero-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
}

/* Verified Primary Legal Sources Badge (Mint/White Pill, Dark Green Text, Green Checkmark Circle) */
.hero-verified-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.btn-verified-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #e6f4ea;
    color: #14532d;
    font-size: 0.84rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    padding: 0.52rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-verified-primary:hover {
    background-color: #ffffff;
    color: #166534;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.verified-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #15803d;
    color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
}
.verified-icon-circle svg {
    stroke: #ffffff;
    display: block;
}

/* Main Hero Editorial Content Block (All Content Directly On Top) */
.article-hero-content-block {
    max-width: 760px;
    color: #ffffff;
    text-align: left;
    position: relative;
    z-index: 3;
}

/* Article Main H1 with Highlighted Red Keyword & Brush Underline */
.article-main-h1 {
    font-size: clamp(2.35rem, 4.3vw, 3.8rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    text-align: left;
    font-family: var(--font-sans);
}
.hero-title-prefix {
    display: block;
    color: #ffffff;
    margin-bottom: 0.2rem;
}
.hero-title-keyword {
    display: inline-block;
    position: relative;
    color: #ef4444;
    padding-bottom: 4px;
}
.hero-keyword-brush {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 8px;
    pointer-events: none;
    opacity: 0.95;
}

/* Article Dek / Subtitle */
.article-dek {
    font-size: clamp(1.05rem, 1.3vw, 1.18rem);
    color: #e2e8f0;
    line-height: 1.65;
    margin: 0 0 2rem;
    max-width: 740px;
    font-weight: 400;
    text-align: left;
}

/* Editorial Metadata Card (Written by, Reviewed by, Updated) */
.article-hero-byline-card {
    display: inline-flex;
    align-items: center;
    gap: 2.25rem;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1rem 1.65rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-width: 100%;
    flex-wrap: wrap;
}
.byline-meta-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.meta-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(185, 28, 28, 0.35);
    border: 1px solid rgba(239, 68, 68, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fca5a5;
    flex-shrink: 0;
}
.meta-icon-badge svg {
    stroke: #fca5a5;
    display: block;
}
.meta-text-col {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}
.meta-label {
    font-size: 0.74rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.2;
}
.meta-name {
    font-size: 0.95rem;
    font-weight: 750;
    color: #ffffff;
    line-height: 1.25;
}
.meta-role {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .article-hero-main-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.25rem;
    }
    .article-hero-visual {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .article-hero-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        margin-bottom: 1.75rem;
    }
    .hero-bg-overlay {
        background: linear-gradient(
            180deg,
            rgba(110, 0, 0, 0.96) 0%,
            rgba(100, 0, 0, 0.92) 50%,
            rgba(20, 5, 5, 0.85) 100%
        );
    }
    .article-hero-byline-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.15rem 1.25rem;
        width: 100%;
    }
    .article-hero-header {
        padding: 2.5rem 0 3rem;
        min-height: auto;
    }
}

/* ==========================================================================
   TWO-COLUMN EDITORIAL ARTICLE LAYOUT (CSS GRID)
   ========================================================================== */
.article-page {
    width: 100%;
    background-color: #f7f8fa;
    padding-top: 2.75rem;
    padding-bottom: 5rem;
}

/* Fallback: if article-layout has no sidebar, center as standard single-column */
.article-layout:not(:has(.article-sidebar)) {
    display: block;
    max-width: 900px;
    margin-inline: auto;
}

.article-layout,
.article-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 56px;
    align-items: start;
    max-width: 1360px;
    width: calc(100% - 48px);
    margin-inline: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.article-content,
.article-content-col {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    border: 1px solid #dadde2;
    border-radius: 12px;
    padding: 44px 48px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .article-layout,
    .article-grid-layout {
        gap: 36px;
    }
    .article-content,
    .article-content-col {
        padding: 36px 36px;
    }
}

@media (max-width: 980px) {
    .article-page {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
    .article-layout,
    .article-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: calc(100% - 32px);
    }
    .article-content,
    .article-content-col {
        max-width: 100%;
        padding: 24px 20px;
        border-radius: 10px;
    }
}

/* ==========================================================================
   QUICK ANSWER PANEL
   ========================================================================== */
.callout-quick-answer {
    background-color: #fff7f7;
    border: 1px solid #f5d5d5;
    border-left: 4px solid var(--color-art-red, #b00000);
    border-radius: 10px;
    padding: 32px 36px;
    margin-bottom: 2.5rem;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
}
@media (max-width: 768px) {
    .callout-quick-answer {
        padding: 22px 20px;
    }
}

.quick-answer-header {
    margin-bottom: 1rem;
}

.quick-answer-badge,
.quick-answer-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: var(--color-art-red, #b00000);
    color: #ffffff;
    padding: 0.28rem 0.8rem;
    border-radius: 4px;
}

.quick-answer-body {
    font-size: 1.125rem;
    line-height: 1.78;
    color: #111827;
    font-weight: 450;
    margin-bottom: 1.25rem;
}

.quick-answer-body p {
    font-size: 1.125rem;
    line-height: 1.78;
    color: #111827;
    margin: 0 0 1rem 0;
}

.quick-answer-body p:last-child {
    margin-bottom: 0;
}

.quick-answer-body strong {
    color: #111827;
    font-weight: 750;
}

/* Proper layout structure & line spacing for Quick Answer bullet & numbering */
.quick-answer-body ol,
.quick-answer-body ul {
    margin-top: 1.25rem !important;
    margin-bottom: 1.35rem !important;
    padding-left: 1.65rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.quick-answer-body ol {
    list-style-type: decimal !important;
}

.quick-answer-body ul {
    list-style-type: disc !important;
}

.quick-answer-body ol li,
.quick-answer-body ul li {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #1f2937;
    margin-top: 0 !important;
    margin-bottom: 0.85rem !important;
    padding-left: 0.35rem;
}

.quick-answer-body ol li:last-child,
.quick-answer-body ul li:last-child {
    margin-bottom: 0 !important;
}

.quick-answer-body ol li strong,
.quick-answer-body ul li strong {
    color: #0f172a;
    font-weight: 750;
}

.quick-answer-note {
    font-size: 0.95rem;
    color: #5f6670;
    border-top: 1px solid #f5d5d5;
    padding-top: 0.95rem;
    margin: 0;
    line-height: 1.6;
}
.quick-answer-note a {
    color: var(--color-art-red, #b00000);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   KEY TAKEAWAYS
   ========================================================================== */
.callout-key-takeaways {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f172a;
    border-radius: 12px;
    padding: 28px 34px;
    margin-bottom: 2.75rem;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
@media (max-width: 768px) {
    .callout-key-takeaways {
        padding: 20px 18px;
        border-radius: 10px;
    }
}

.takeaways-header {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.85rem;
}

.takeaways-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: #0f172a;
    color: #ffffff;
    padding: 0.3rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.takeaways-heading,
.takeaways-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    text-transform: none;
    margin: 0;
    line-height: 1.25;
}

.takeaways-list,
.takeaways-list li {
    list-style: none !important;
    list-style-type: none !important;
}

.takeaways-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.takeaways-list li {
    position: relative;
    padding-left: 1.85rem;
    font-size: 1.05rem;
    color: #2d3139;
    line-height: 1.7;
    margin: 0;
}

.takeaways-list li::marker {
    display: none !important;
    content: "" !important;
}

.takeaways-list li::before {
    content: "•";
    position: absolute;
    left: 0.25rem;
    top: -0.1rem;
    color: var(--color-art-red, #b00000);
    font-weight: 900;
    font-size: 1.5rem;
}

.takeaways-list li strong {
    color: #111827;
    font-weight: 750;
}

/* ==========================================================================
   ARTICLE IN-CONTENT EDITORIAL MEDIA (FIGURE, PICTURE, FIGCAPTION)
   ========================================================================== */
/* Responsive safety: ensure any image inside article content never breaks container */
.article-content img,
.article-content-col img,
.article-page img,
.article-layout img,
.article-image img,
figure img {
    max-width: 100%;
    height: auto;
}

.article-hero-visual picture {
    display: block;
    width: 100%;
}

.article-content-media,
.article-image {
    margin: 2.25rem 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
}
.article-content-media:hover,
.article-image:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
}

.article-content-media picture,
.article-image picture {
    display: block;
    width: 100%;
    background-color: #f8fafc;
}

.content-article-img,
.article-image img,
.article-content figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 520px;
}
.content-article-img.is-infographic,
.content-article-infographic,
.article-image.is-infographic img,
.article-image img.is-infographic {
    max-height: none;
    object-fit: contain;
}

.article-img-caption,
.article-image figcaption {
    padding: 1rem 1.35rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-style: normal;
    text-align: left;
    margin: 0;
}

.article-img-caption strong,
.article-image figcaption strong {
    color: #0f172a;
    font-weight: 700;
}

/* Common utility classes fallback */
.w-full {
    width: 100% !important;
    max-width: 100% !important;
}
.h-auto {
    height: auto !important;
}

/* ==========================================================================
   BODY TYPOGRAPHY, DIVIDERS & SECTIONS
   ========================================================================== */
.article-divider {
    border: none;
    border-top: 1px solid #dadde2;
    margin: 3.5rem 0 2.5rem;
    clear: both;
}
@media (max-width: 768px) {
    .article-divider {
        margin: 2.5rem 0 1.75rem;
    }
}

.article-section {
    margin-bottom: 2.25rem;
    scroll-margin-top: 100px;
}

.article-section h2 {
    font-size: clamp(1.85rem, 2.7vw, 2.25rem); /* 30-34px */
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 1.25rem;
    line-height: 1.22;
    border-bottom: none;
    padding-bottom: 0;
}

.article-section h3:not(.demand-letter-heading) {
    font-size: 1.35rem; /* 22-25px */
    font-weight: 750;
    color: #111111;
    letter-spacing: -0.015em;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.article-section h4 {
    font-size: 1.125rem;
    font-weight: 750;
    color: #111111;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
}

.article-section p {
    font-size: 1.125rem; /* 18px */
    line-height: 1.8; /* Generous 1.75-1.85 */
    color: #2d3139;
    margin-bottom: 1.5rem; /* 24px */
}

.article-section ul,
.article-section ol {
    margin: 1.25rem 0 1.65rem 1.75rem;
    color: #2d3139;
    font-size: 1.08rem;
    line-height: 1.78;
}

.article-section li {
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   COMPONENT LIBRARY
   ========================================================================== */

/* "What Matters" Framework / Legal Principles */
.callout-what-matters,
.legal-principle-card {
    background-color: #ffffff;
    border: 1px solid #dadde2;
    border-left: 4px solid #111827;
    border-radius: 8px;
    padding: 2rem 2.25rem;
    margin: 2.25rem 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.what-matters-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.015em;
    margin: 0 0 1.2rem;
    border-bottom: 1px solid #dadde2;
    padding-bottom: 0.75rem;
}

.what-matters-list {
    margin: 0;
    padding-left: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.what-matters-list li {
    font-size: 1.05rem;
    color: #2d3139;
    line-height: 1.65;
    margin: 0;
}
.what-matters-list strong {
    color: #111827;
    font-weight: 750;
}

/* "What This Means" / Evidence Tip Callout */
.callout-what-this-means,
.callout-evidence-tip {
    background-color: #fff7f7;
    border: 1px solid #fecaca;
    border-left: 4px solid var(--color-art-red, #b00000);
    border-radius: 8px;
    padding: 1.5rem 1.85rem;
    margin: 2.25rem 0;
}

.callout-what-this-means .callout-tag,
.callout-evidence-tip .callout-tag {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-art-red, #b00000);
    margin-bottom: 0.5rem;
    display: block;
}

.callout-what-this-means p,
.callout-evidence-tip p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2d3139;
    margin: 0;
}

/* Evidence Checklist Card */
.checklist-card {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin: 2.25rem 0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden !important;
}

.checklist-card ul,
.checklist-card ol,
.checklist-items {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
}

.checklist-card li,
.checklist-items li {
    list-style: none !important;
    list-style-type: none !important;
    display: block !important;
    position: relative !important;
    padding: 1rem 1.25rem 1rem 2.85rem !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    border-bottom: 1px solid #cbd5e1 !important;
}
.checklist-card li:last-child,
.checklist-items li:last-child {
    border-bottom: none !important;
}

.checklist-card li:nth-child(even),
.checklist-items li:nth-child(even) {
    background-color: #f8fafc !important;
}

.checklist-card li:hover,
.checklist-items li:hover {
    background-color: #eef2f6 !important;
}

.checklist-card li::marker,
.checklist-items li::marker {
    display: none !important;
    content: "" !important;
}

.checklist-card li::before,
.checklist-items li::before {
    content: "✓";
    color: var(--color-art-red, #b00000);
    font-weight: 900;
    font-size: 1.15rem;
    position: absolute;
    left: 1.15rem;
    top: 1rem;
    line-height: 1;
}
.checklist-card li:has(.check-box-icon)::before,
.checklist-items li:has(.check-box-icon)::before {
    display: none !important;
}

/* Universal guard: Never show dual bullet and checkmark on custom lists */
ul[class*="checklist"] li,
ol[class*="checklist"] li,
ul[class*="takeaway"] li,
.callout-key-takeaways li,
.step-by-step-process li {
    list-style: none !important;
    list-style-type: none !important;
}
ul[class*="checklist"] li::marker,
ol[class*="checklist"] li::marker,
ul[class*="takeaway"] li::marker,
.callout-key-takeaways li::marker,
.step-by-step-process li::marker {
    display: none !important;
    content: "" !important;
}

/* ==========================================================================
   TABLES: FULL GRID WITH EXPLICIT VERTICAL & HORIZONTAL BORDERS
   ========================================================================== */
.table-container,
.table-responsive,
.state-table-wrap,
div[style*="overflow-x: auto"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    margin: 2.25rem 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    -webkit-overflow-scrolling: touch !important;
}

table,
.table,
.table-bordered,
.table-container table,
.table-responsive table,
.state-table-wrap table,
.state-comparison-table,
.remedies-table,
.legal-table,
.state-rules-table,
.who-pays-table,
.evidence-checklist-table,
.article-content table,
.article-body table,
.standard-page-container table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    margin: 0 !important;
}

table th,
table td,
.table th,
.table td,
.table-bordered th,
.table-bordered td,
.table-container th,
.table-container td,
.table-responsive table th,
.table-responsive table td,
.state-table-wrap table th,
.state-table-wrap table td,
.state-comparison-table th,
.state-comparison-table td,
.remedies-table th,
.remedies-table td,
.legal-table th,
.legal-table td,
.state-rules-table th,
.state-rules-table td,
.who-pays-table th,
.who-pays-table td,
.evidence-checklist-table th,
.evidence-checklist-table td,
.article-content table th,
.article-content table td,
.article-body table th,
.article-body table td,
.standard-page-container table th,
.standard-page-container table td {
    padding: 13px 16px !important;
    border: 1px solid #cbd5e1 !important; /* Explicit vertical and horizontal border separation across entire website */
    vertical-align: top !important;
}

table th,
table thead th,
.table th,
.table-bordered th,
.table-container th,
.table-responsive table th,
.state-table-wrap table th,
.state-comparison-table th,
.remedies-table th,
.legal-table th,
.state-rules-table th,
.who-pays-table th,
.evidence-checklist-table th,
.article-content table th,
.article-body table th,
.standard-page-container table th {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: 1px solid #334155 !important;
    border-bottom: 2px solid #0284c7 !important;
    vertical-align: middle !important;
}

table thead th strong,
.table thead th strong,
.table-container thead th strong {
    color: #ffffff !important;
}

table tr:nth-child(even) td,
.table tr:nth-child(even) td,
.table-bordered tr:nth-child(even) td,
.table-container tr:nth-child(even) td,
.table-responsive table tr:nth-child(even) td,
.state-table-wrap table tr:nth-child(even) td,
.state-comparison-table tr:nth-child(even) td,
.remedies-table tr:nth-child(even) td,
.legal-table tr:nth-child(even) td,
.state-rules-table tr:nth-child(even) td,
.who-pays-table tr:nth-child(even) td,
.evidence-checklist-table tr:nth-child(even) td,
.article-content table tr:nth-child(even) td,
.article-body table tr:nth-child(even) td,
.standard-page-container table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

table tr:hover td,
.table tr:hover td,
.table-bordered tr:hover td,
.table-container tr:hover td,
.table-responsive table tr:hover td,
.state-table-wrap table tr:hover td,
.state-comparison-table tr:hover td,
.remedies-table tr:hover td,
.legal-table tr:hover td,
.state-rules-table tr:hover td,
.who-pays-table tr:hover td,
.evidence-checklist-table tr:hover td,
.article-content table tr:hover td,
.article-body table tr:hover td,
.standard-page-container table tr:hover td {
    background-color: #eef2f6 !important;
}

.table td strong,
.table-container td strong,
.state-comparison-table td strong,
.remedies-table td strong,
.legal-table td strong {
    color: #111827;
    font-weight: 750;
}

.table td a,
.table-container td a,
.state-comparison-table td a,
.remedies-table td a,
.legal-table td a {
    color: var(--color-art-red, #b00000);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(176, 0, 0, 0.4);
}

.table td a:hover,
.table-container td a:hover,
.state-comparison-table td a:hover,
.remedies-table td a:hover,
.legal-table td a:hover {
    color: var(--color-art-red-hover, #7a0000);
    text-decoration-color: var(--color-art-red-hover, #7a0000);
}

/* State Law Warning */
.state-law-warning {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #6b7280;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Step-by-Step Practical Next Steps */
.step-by-step-process {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background-color: #ffffff;
    border: 1px solid #dadde2;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.step-item:hover {
    border-color: var(--color-art-red, #b00000);
    box-shadow: 0 3px 10px rgba(176, 0, 0, 0.08);
}

.step-number {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 750;
    color: #111827;
    margin: 0 0 0.4rem;
}

.step-desc {
    font-size: 1.02rem;
    color: #374151;
    line-height: 1.65;
    margin: 0;
}

/* FAQs Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.25rem 0;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #dadde2;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    gap: 1rem;
    transition: color 0.15s ease;
}
.faq-question-btn:hover {
    color: var(--color-art-red, #b00000);
}

.faq-toggle-icon {
    font-size: 1.35rem;
    color: var(--color-art-red, #b00000);
    flex-shrink: 0;
    font-weight: 700;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.025rem;
    line-height: 1.7;
    color: #374151;
    border-top: 1px solid #f3f4f6;
}
.faq-answer[hidden] {
    display: none !important;
}
.faq-answer p {
    margin: 0.85rem 0 0;
}

/* Related Guides Section */
.related-guides-section {
    background-color: #ffffff;
    border: 1px solid #dadde2;
    border-radius: 8px;
    padding: 2.25rem;
    margin-top: 3.5rem;
}

.related-guides-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: #111827;
    margin-top: 0;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

.related-guides-intro {
    font-size: 0.98rem;
    color: #5f6670;
    margin-bottom: 1.25rem;
}

.related-guides-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-guide-item {
    background-color: #ffffff;
    border: 1px solid #dadde2;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.related-guide-item:hover {
    border-color: var(--color-art-red, #b00000);
    box-shadow: 0 3px 10px rgba(176, 0, 0, 0.08);
}

.related-guide-item.master-guide-link {
    background-color: #fff7f7;
    border-left: 4px solid var(--color-art-red, #b00000);
}

.related-link-title {
    font-size: 1.08rem;
    font-weight: 750;
    color: var(--color-art-red, #b00000);
    text-decoration: underline;
    text-underline-offset: 3px;
    display: block;
    margin-bottom: 0.35rem;
}
.related-link-title:hover {
    color: var(--color-art-red-hover, #7a0000);
}

.related-link-desc {
    font-size: 0.95rem;
    color: #5f6670;
    line-height: 1.55;
    margin: 0;
}

/* Article Disclaimer Box */
.article-disclaimer-box {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #1e293b;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin-top: 3.25rem;
}

.article-disclaimer-box .disclaimer-badge,
.disclaimer-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: #1e293b;
    color: #ffffff !important;
    padding: 0.28rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.article-disclaimer-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1e293b;
    margin: 0;
}
.article-disclaimer-box a {
    color: var(--color-art-red, #b00000);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-disclaimer-box a:hover {
    color: var(--color-art-red-hover, #8a0000);
}

/* ==========================================================================
   DESKTOP STICKY SIDEBAR (NON-SCROLLABLE, COMPLETELY EXPANDED, 340PX WIDTH)
   ========================================================================== */
.article-sidebar,
.article-sidebar-col {
    position: sticky;
    top: 96px;
    align-self: start;
    width: 100%;
    max-width: 360px;
    height: auto;
    overflow: visible;
}

.sticky-sidebar-inner {
    position: static;
    max-height: none;
    overflow: visible;
    overflow-y: visible;
    height: auto;
}

.sidebar-card,
.sidebar-toc-card {
    background-color: #ffffff;
    border: 1px solid #dadde2;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    height: auto;
    overflow: visible;
}

.sidebar-toc-card {
    border-left: 3px solid var(--color-art-red, #b00000);
}

.sidebar-toc-card .sidebar-card-title {
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111827;
    margin: 0 0 1.15rem;
    border-bottom: 1px solid #dadde2;
    padding-bottom: 0.75rem;
    text-align: left;
}

.sidebar-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sidebar-toc-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--color-art-red, #b00000);
    margin-bottom: 0;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.5;
}
.sidebar-toc-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-toc-list li::before {
    content: "";
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    margin-top: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23b00000'%3E%3Cpath fill-rule='evenodd' d='M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.sidebar-toc-list a {
    font-size: 1.05rem; /* 16-17px */
    font-weight: 500;
    color: var(--color-art-red, #b00000) !important;
    text-decoration: none !important;
    line-height: 1.55;
    display: inline;
    padding: 0;
    transition: color 0.15s ease;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
.sidebar-toc-list a:hover {
    color: var(--color-art-red-hover, #7a0000) !important;
    text-decoration: underline !important;
}
.sidebar-toc-list a.is-active {
    color: var(--color-art-red-hover, #7a0000) !important;
    font-weight: 750;
    text-decoration: none !important;
    background: none;
    border-left: none;
    padding-left: 0;
}

@media (max-width: 980px) {
    .article-sidebar,
    .article-sidebar-col {
        position: static;
        max-width: 100%;
    }
    .article-sidebar .sidebar-toc-card,
    .article-sidebar-col .sidebar-toc-card {
        display: none !important;
    }
    .mobile-toc-block {
        display: block;
        margin: 1.5rem 0 2rem;
        background-color: #ffffff;
        border: 1px solid #dadde2;
        border-left: 3px solid var(--color-art-red, #b00000);
        border-radius: 10px;
        padding: 0;
        overflow: hidden;
    }
}

@media (min-width: 981px) {
    .mobile-toc-block {
        display: none;
    }
}

.master-callout-card {
    background-color: #f7f8fa;
    color: var(--color-art-charcoal);
    border: 1px solid #dadde2;
    border-left: 3px solid var(--color-art-red, #b00000);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sidebar-tag {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-art-red, #b00000);
    margin-bottom: 0.5rem;
    display: block;
}

.sidebar-tag-neutral {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5f6670;
    margin-bottom: 0.5rem;
    display: block;
}

.master-callout-card .sidebar-card-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
}

.master-callout-card .sidebar-card-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.btn-sidebar-cta {
    background-color: var(--color-art-red, #b00000);
    color: #ffffff !important;
    font-size: 0.92rem;
    font-weight: 750;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.15s ease;
}
.btn-sidebar-cta:hover {
    background-color: var(--color-art-red-hover, #7a0000);
}

.methodology-card .sidebar-card-heading {
    font-size: 1rem;
    font-weight: 750;
    color: #111827;
    margin: 0 0 0.4rem;
}

.methodology-card .sidebar-card-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #5f6670;
    margin-bottom: 0.75rem;
}

.sidebar-link {
    font-size: 0.92rem;
    font-weight: 750;
    color: var(--color-art-red, #b00000);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sidebar-link:hover {
    color: var(--color-art-red-hover, #7a0000);
}

/* Mobile Collapsible TOC (Prominent 16-17px) */
.mobile-toc-btn {
    width: 100%;
    padding: 1.15rem 1.35rem;
    background: none;
    border: none;
    font-size: 1.025rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}

.mobile-toc-content {
    padding: 0 1.35rem 1.35rem;
    border-top: 1px solid #dadde2;
}

.mobile-toc-list,
.mobile-toc-ol {
    list-style: none;
    margin: 0.85rem 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-toc-list li,
.mobile-toc-ol li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--color-art-red, #b00000);
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
    line-height: 1.45;
}
.mobile-toc-list li:last-child,
.mobile-toc-ol li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-toc-list li::before,
.mobile-toc-ol li::before {
    content: "";
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    margin-top: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23b00000'%3E%3Cpath fill-rule='evenodd' d='M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mobile-toc-list a,
.mobile-toc-ol a {
    font-size: 1.05rem; /* 16-17px */
    font-weight: 500;
    color: var(--color-art-red, #b00000) !important;
    text-decoration: none !important;
    line-height: 1.45;
    display: inline;
    padding: 0;
    transition: color 0.15s ease;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
.mobile-toc-list a:hover,
.mobile-toc-ol a:hover {
    color: var(--color-art-red-hover, #7a0000) !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   Interactive Lawsuit Calculator Widget (Pillar Page)
   ========================================================================== */
.lawsuit-calc-widget {
    background: #ffffff;
    border: 1px solid var(--color-art-border, #d9dde2);
    border-top: 4px solid var(--color-art-red, #b00000);
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin: 2.25rem 0 2.5rem;
    padding: 1.75rem;
    font-family: var(--font-sans);
}

.calc-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-art-border-divider, #e5e7eb);
    padding-bottom: 1rem;
}

.calc-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-art-red-light, #fff5f5);
    color: var(--color-art-red, #b00000);
    border: 1px solid var(--color-art-red-border, #fca5a5);
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.5rem;
}

.calc-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-art-black, #111111);
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

.calc-subtitle {
    font-size: 0.95rem;
    color: var(--color-art-text-muted, #525252);
    margin: 0;
    line-height: 1.45;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
    .calc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.calc-field-full {
    grid-column: 1 / -1;
}

.calc-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-art-charcoal, #1f2937);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-label-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-art-red, #b00000);
}

.calc-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calc-input-text,
.calc-select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    border: 1px solid var(--color-art-border, #d9dde2);
    border-radius: var(--radius-sm, 4px);
    background: #ffffff;
    color: var(--color-art-black, #111111);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.calc-input-text:focus,
.calc-select:focus {
    border-color: var(--color-art-red, #b00000);
    outline: none;
    box-shadow: 0 0 0 3px rgba(176, 0, 0, 0.12);
}

.calc-slider {
    width: 100%;
    accent-color: var(--color-art-red, #b00000);
    cursor: pointer;
    margin-top: 0.35rem;
}

.calc-radio-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 500px) {
    .calc-radio-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

.calc-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--color-art-border, #d9dde2);
    border-radius: var(--radius-sm, 4px);
    background: var(--color-surface-subtle, #f7f8fa);
    cursor: pointer;
    transition: all 0.15s ease;
}

.calc-radio-label:hover {
    border-color: #a3aab3;
}

.calc-radio-label.is-checked {
    background: var(--color-art-red-light, #fff5f5);
    border-color: var(--color-art-red, #b00000);
    font-weight: 600;
}

.calc-radio-label input {
    accent-color: var(--color-art-red, #b00000);
}

.calc-helper {
    font-size: 0.8rem;
    color: var(--color-text-muted, #5f6670);
    line-height: 1.35;
    margin-top: 0.2rem;
}

/* Calculator Output Area */
.calc-results-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius-md, 8px);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.calc-total-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1.25rem;
}

@media (min-width: 500px) {
    .calc-total-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.calc-total-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.calc-total-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
}

.calc-breakdown-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
    .calc-breakdown-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.calc-breakdown-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.75rem 0.9rem;
}

.calc-breakdown-title {
    font-size: 0.75rem;
    color: #cbd5e1;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.3rem;
}

.calc-breakdown-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f8fafc;
}

.calc-badge-recommendation {
    padding: 0.9rem 1.1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.calc-badge-recommendation.badge-green {
    background: rgba(22, 101, 52, 0.25);
    border: 1px solid #22c55e;
    color: #86efac;
}

.calc-badge-recommendation.badge-amber {
    background: rgba(146, 64, 14, 0.25);
    border: 1px solid #f59e0b;
    color: #fde68a;
}

.calc-badge-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ==========================================================================
   State-by-State Rules Lookup Table
   ========================================================================== */
.state-lookup-card {
    background: #ffffff;
    border: 1px solid var(--color-art-border, #d9dde2);
    border-radius: var(--radius-md, 8px);
    margin: 1.75rem 0 2rem;
    overflow: hidden;
}

.state-lookup-header {
    padding: 1.25rem 1.5rem;
    background: var(--color-surface-subtle, #f7f8fa);
    border-bottom: 1px solid var(--color-art-border, #d9dde2);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 600px) {
    .state-lookup-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.state-lookup-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-art-black, #111111);
    margin: 0;
}

.state-search-box {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.state-search-input {
    width: 100%;
    padding: 0.55rem 0.85rem 0.55rem 2.2rem;
    font-size: 0.9rem;
    border: 1px solid var(--color-art-border, #d9dde2);
    border-radius: var(--radius-sm, 4px);
    background: #ffffff;
    color: #111111;
}

.state-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.85rem;
}

.state-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}
.state-table-wrap::-webkit-scrollbar {
    height: 7px;
}
.state-table-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.state-table-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.state-rules-table {
    width: 100% !important;
    min-width: 600px;
    border-collapse: collapse !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.92rem;
    text-align: left;
}

.state-rules-table th {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    font-weight: 750 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 0.85rem 1rem !important;
    border: 1px solid #cbd5e1 !important;
    border-bottom: 2px solid #94a3b8 !important;
    white-space: normal;
    vertical-align: bottom !important;
    line-height: 1.35;
}

.state-rules-table td {
    padding: 0.85rem 1rem !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b;
    vertical-align: top !important;
    line-height: 1.45;
}
.state-rules-table td:last-child {
    padding-right: 1.25rem !important;
}

.state-rules-table tr:nth-child(even) td {
    background: #f8fafc !important;
}

.state-rules-table tr:hover td {
    background: #eef2f6 !important;
}

.state-name-cell {
    font-weight: 700;
    color: var(--color-art-black, #111111);
    white-space: nowrap;
}

.state-highlight-badge {
    display: inline-block;
    font-weight: 700;
    color: #0f172a;
    background: #e2e8f0;
    border-radius: 4px;
    padding: 0.18rem 0.5rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   Demand Letter Template Card
   ========================================================================== */
.demand-letter-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 2rem 0;
    overflow: hidden;
}

.demand-letter-topbar {
    background: #0f172a;
    color: #ffffff;
    padding: 1.15rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 600px) {
    .demand-letter-topbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.25rem;
    }
}

.article-section h3.demand-letter-heading,
.article-section .demand-letter-topbar h3,
.demand-letter-topbar .demand-letter-heading,
.demand-letter-heading {
    font-size: 1.15rem !important;
    font-weight: 750 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    line-height: 1.35 !important;
    flex: 1;
}

.demand-letter-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

@media (max-width: 599px) {
    .demand-letter-topbar {
        gap: 0.95rem;
    }
    .demand-letter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 0.5rem;
    }
    .btn-copy-letter,
    .btn-download-letter {
        width: 100%;
        justify-content: center;
        padding: 0.55rem 0.5rem;
        font-size: 0.82rem;
    }
}

.btn-copy-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-art-red, #b00000);
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
    padding: 0.58rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
}

.btn-copy-letter:hover {
    background: var(--color-art-red-hover, #8a0000);
    transform: translateY(-1px);
}

.btn-copy-letter.is-copied {
    background: #166534;
}

.btn-download-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0284c7;
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
    padding: 0.58rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
}

.btn-download-letter:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.demand-letter-pre-wrap {
    padding: 1.5rem;
    background: #f1f5f9;
    border-bottom: 1px solid #cbd5e1;
}

.demand-letter-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Consolas', 'Monaco', 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 1.75rem 2rem;
    max-height: 520px;
    overflow-y: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.demand-letter-pre::-webkit-scrollbar {
    width: 6px;
}
.demand-letter-pre::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.demand-letter-instructions {
    padding: 1.25rem 1.5rem;
    background: #ffffff;
}

.demand-instructions-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.demand-instructions-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #334155;
}

.demand-instructions-list li {
    margin-bottom: 0.5rem;
}

.demand-instructions-list li:last-child {
    margin-bottom: 0;
}

/* Verdict Box for Who Pays Calculator */
.verdict-card {
    border-radius: 6px;
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.verdict-card.verdict-green {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #14532d;
}
.verdict-card.verdict-amber {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #78350f;
}
.verdict-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}
.verdict-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    flex-shrink: 0;
}
.verdict-card.verdict-amber .verdict-badge {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

/* ==========================================================================
   NOTICE & DEMAND LETTER CARDS, TABS, PREFORMATTED LETTERS & UTILITIES
   ========================================================================== */
.card.border-0,
.card.shadow-sm,
.card.my-4,
.card.mb-4,
.demand-letter-card {
    border: 1px solid #cbd5e1 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    margin: 2.25rem 0 !important;
}

.card-header.bg-dark,
.card-header {
    background: #0f172a !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid #334155 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.card-header-pills,
.nav-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.card-header-pills .nav-item,
.nav-pills .nav-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.card-header-pills .nav-link,
.nav-pills .nav-link {
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: #1e293b !important;
    color: #94a3b8 !important;
    display: inline-block;
    text-decoration: none !important;
    font-family: inherit;
}

.card-header-pills .nav-link:hover:not(.active),
.nav-pills .nav-link:hover:not(.active) {
    background: #334155 !important;
    color: #ffffff !important;
}

.card-header-pills .nav-link.active,
.nav-pills .nav-link.active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

.card-body,
.card-body.p-4,
.card-body.bg-light {
    padding: 24px !important;
    background: #f8fafc !important;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .tab-pane.active,
.tab-content > .tab-pane.show.active {
    display: block !important;
    animation: fadeInTab 0.2s ease-in-out;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-body pre,
.card pre,
pre.bg-white,
pre.bg-light,
pre.font-monospace {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 22px 26px !important;
    color: #0f172a !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', Courier, monospace !important;
    font-size: 0.92rem !important;
    line-height: 1.68 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Action Buttons inside Demand Cards */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    font-family: inherit;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
}

.btn-primary {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

.btn-primary:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

.btn-success {
    background-color: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
}

.btn-success:hover {
    background-color: #15803d !important;
    border-color: #15803d !important;
}

.btn-outline-dark {
    background-color: transparent !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.btn-outline-dark:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

.btn-outline-secondary {
    background-color: transparent !important;
    color: #475569 !important;
    border-color: #cbd5e1 !important;
}

.btn-outline-secondary:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

.badge.bg-danger {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION STYLING
   ========================================================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 1.75rem 0 2.5rem;
    width: 100%;
}

.accordion-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.accordion-item:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.accordion-header {
    margin: 0 !important;
    padding: 0 !important;
}

.accordion-button {
    width: 100% !important;
    text-align: left !important;
    background: #ffffff !important;
    border: none !important;
    padding: 18px 24px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    font-family: inherit !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    box-sizing: border-box !important;
}

.accordion-button:hover {
    background-color: #f8fafc !important;
    color: #b00000 !important;
}

.accordion-button:not(.collapsed),
.accordion-button[aria-expanded="true"] {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

.accordion-button::after {
    content: "" !important;
    display: inline-block !important;
    width: 9px !important;
    height: 9px !important;
    border-right: 2.5px solid #64748b !important;
    border-bottom: 2.5px solid #64748b !important;
    transform: rotate(45deg) !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.accordion-button:not(.collapsed)::after,
.accordion-button[aria-expanded="true"]::after {
    transform: rotate(-135deg) !important;
    border-color: #b00000 !important;
}

.accordion-collapse {
    display: none;
}

.accordion-collapse.show {
    display: block !important;
}

.accordion-body {
    padding: 18px 24px 22px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
    color: #334155 !important;
}

/* ==========================================================================
   ARTICLE EDITORIAL GRIDS, CARDS, TEXTAREAS & UTILITY ENHANCEMENTS
   ========================================================================== */
.two-card-grid,
.row.g-4 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    margin: 1.75rem 0 2rem !important;
}

@media (max-width: 768px) {
    .two-card-grid,
    .row.g-4 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

.two-card-grid > div,
.row.g-4 > .col-md-6,
.row.g-4 > div {
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Textarea & Demand Letter Inputs */
textarea.form-control,
textarea.notice-text,
.form-control.font-monospace,
textarea[id^="notice-"] {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    color: #0f172a !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', Courier, monospace !important;
    font-size: 0.92rem !important;
    line-height: 1.68 !important;
    white-space: pre-wrap !important;
    outline: none !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

textarea.form-control:focus,
textarea.notice-text:focus,
textarea[id^="notice-"]:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Remedy & Habitability Cards */
.remedies-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 1.75rem 0 2rem;
}

.remedy-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 18px 22px;
    transition: all 0.2s ease;
}

.remedy-card:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Reset article-body h3 margin inside accordion-header */
.accordion-header,
.article-body .accordion-header,
.article-content .accordion-header,
h3.accordion-header {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Text & Typography Utilities */
.text-danger { color: #dc2626 !important; }
.text-primary { color: #2563eb !important; }
.text-secondary { color: #334155 !important; }
.text-dark { color: #0f172a !important; }
.fw-bold { font-weight: 700 !important; }
.small { font-size: 0.95rem !important; line-height: 1.65 !important; }
.lead { font-size: 1.15rem !important; line-height: 1.75 !important; color: #1e293b !important; }

/* Step Process Badge Enhancement */
.step-item .step-number {
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* ==========================================================================
   DE-TEMPLATIZATION & ORGANIC ARCHETYPE COMPONENT STYLES
   ========================================================================== */

/* 1. Format 2: Integrated Executive Summary (Inline TL;DR) */
.quick-answer-inline {
    margin: 2rem 0 2.5rem;
    padding: 24px 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #2563eb;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.inline-summary-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 10px;
}

/* 2. Format 3: Conversational Short/Long Answer (QA TL;DR) */
.quick-answer-qa {
    margin: 2.25rem 0 2.75rem;
    padding: 28px 32px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.qa-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 3. Deliverable: 311 / Code Enforcement Phone Script */
.phone-script-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.script-dialog-bubble {
    background: #f1f5f9;
    border-left: 4px solid #0284c7;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 1.02rem;
    line-height: 1.68;
    color: #0f172a;
}

.script-dialog-bubble strong {
    color: #0369a1;
}

/* 4. Deliverable: Printable 5-Step Evidence Checklist */
.evidence-checklist-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.checklist-step-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.checklist-step-row:last-child {
    border-bottom: none;
}

.checklist-check-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 5. Deliverable: Municipal / Department of Buildings Look-Up Guide */
.lookup-guide-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.lookup-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 16px;
}

/* 6. Emergency Trauma: "STOP - DO NOT DO THIS" Banner */
.trauma-stop-banner {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-left: 5px solid #dc2626;
    border-radius: 10px;
    padding: 22px 26px;
    margin: 2rem 0;
}

.trauma-stop-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #991b1b;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}





