/* Override scroll snapping from main styles.css */
html {
    scroll-snap-type: none !important;
    scroll-behavior: smooth;
}

.section {
    scroll-snap-align: none !important;
    min-height: auto !important;
}

.label-hint {
    font-weight: 400;
    color: var(--text-muted, #71717a);
    font-size: 0.8rem;
}

.state-hero {
    padding: 80px 0 40px;
    background: var(--background-secondary);
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.state-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.state-hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
}

.state-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .state-content {
        grid-template-columns: 1fr;
    }
}

.state-main h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 20px;
}

.state-main h2:first-child {
    margin-top: 0;
}

.state-main {
    font-size: 1.05rem;
}

.state-main p {
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.state-main p:last-child {
    margin-bottom: 0;
}

.state-main li {
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.state-main ul, .state-main ol {
    margin-top: 12px;
    margin-bottom: 16px;
    padding-left: 1.5rem;
}

.bracket-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.bracket-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background-card);
    border-radius: 12px;
    overflow: hidden;
}

.bracket-table th {
    background: var(--primary);
    color: white;
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
}

.bracket-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.bracket-table tr:last-child td {
    border-bottom: none;
}

.example-breakdown {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

.example-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

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

.example-total {
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.example-total span {
    color: white;
}

.source-box {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}

.source-box h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.source-box ul {
    margin-top: 8px;
    padding-left: 1.25rem;
}

.source-box li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.source-box a {
    color: var(--primary);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 32px;
    margin: 30px 0;
    color: white;
    text-align: center;
}

.cta-box h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.cta-box p {
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 20px;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary);
}

.sidebar-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.quick-facts {
    list-style: none;
    padding: 0;
}

.quick-facts li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    line-height: 1.5;
}

.quick-facts li:last-child {
    border-bottom: none;
}

.state-links {
    list-style: none;
    padding: 0;
}

.state-links li {
    padding: 10px 0;
}

.state-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.state-links a:hover {
    text-decoration: underline;
}
