.public-editorial-document {
    margin: 0;
    color: #183628;
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.public-editorial-document main > .public-editorial-hero {
    margin-bottom: 1rem;
}

.public-editorial-legal {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin: 1.1rem 0;
    color: #5b677a;
    font-size: 13px;
}

.public-editorial-legal a {
    color: inherit;
    text-decoration: none;
}

.public-intelligence-page {
    box-sizing: border-box;
    max-width: 64rem;
    margin: 0 auto;
    padding: clamp(1rem, 4vw, 2.5rem);
}

.public-content-block {
    box-sizing: border-box;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto 1rem;
    padding: clamp(0.85rem, 2vw, 1.5rem);
    border: 1px solid #d7ddda;
    border-radius: 14px;
    background: #fff;
    color: #183628;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.public-content-block h2,
.public-content-block h3 {
    color: #082415;
    margin: 0 0 0.65rem;
}

.public-content-block .intelligence-action {
    display: inline-block;
    margin: 0.35rem 0.7rem 0.25rem 0;
    padding: 0.4rem 0.75rem;
    border: 1px solid #31664b;
    border-radius: 7px;
    font-weight: 600;
    color: #164d32;
}

.public-content-block .intelligence-primary {
    background: #164d32;
    color: white;
}

.public-content-block.landing-usecase-archive-overview {
    max-width: 50rem;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
}

.landing-usecase-archive-overview .intelligence-action {
    margin: 0;
}

.public-content-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.landing-right-stack .landing-maryland-feature {
    max-width: none;
    margin: 0;
    padding: clamp(1rem, 2.5vw, 1.8rem);
    border: 1px solid #98b8a5;
    border-left: 5px solid #006b3f;
    background: #edf7f1;
}

.landing-maryland-feature ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
    margin-block: 0.65rem 0;
    padding-inline-start: 1.25rem;
}

.maryland-intelligence-page {
    color: #183628;
}

.maryland-intelligence-hero {
    box-sizing: border-box;
    width: 100%;
    margin: 1rem 0;
    padding: clamp(1.3rem, 4vw, 2.8rem);
    border-radius: 14px;
    background: #0c3725;
    color: #fff;
    display: grid;
    gap: 0.75rem;
}

.maryland-intelligence-hero h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.75rem, 5vw, 2.8rem);
    line-height: 1.24;
    overflow-wrap: anywhere;
}

.maryland-intelligence-hero p {
    margin: 0;
    line-height: 1.5;
}

.maryland-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-block: 0.8rem;
}

.maryland-card-grid article {
    padding: 0.9rem;
    border: 1px solid #d7e5dd;
    border-radius: 10px;
    background: #f4f9f6;
}

.maryland-card-grid h3 {
    font-size: 1.05rem;
}

.maryland-card-grid p {
    margin: 0.4rem 0;
}

.maryland-lifecycle {
    margin-block: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #edf7f1;
    font-weight: 700;
}

.maryland-intelligence-hero a {
    justify-self: start;
    color: #e0f8eb;
    font-weight: 700;
    text-decoration: underline;
}

.public-intelligence-page.public-editorial-page {
    padding: clamp(1rem, 4vw, 2.5rem);
}

.public-editorial-hero {
    width: 100%;
    box-sizing: border-box;
    padding: clamp(1.35rem, 4vw, 2.6rem);
    margin-block-end: 1rem;
    border-top: 4px solid #31664b;
    border-radius: 12px;
    background: #edf7f1;
    color: #082415;
}

.public-editorial-hero h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.8rem, 4.4vw, 2.9rem);
    line-height: 1.24;
    overflow-wrap: anywhere;
}

.public-editorial-hero p {
    margin: 0.7rem 0 0;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    line-height: 1.5;
}

.public-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-block: 1.1rem 1.4rem;
}

.public-editorial-grid article {
    padding: 1rem;
    border: 1px solid #dbe5df;
    border-radius: 8px;
    background: #f7fbf9;
}

.public-editorial-grid p:last-child {
    margin-block-end: 0;
}

@media (max-width: 620px) {
    .public-editorial-grid { grid-template-columns: minmax(0, 1fr); }
}

.maryland-slideshow {
    scroll-margin-top: 1rem;
}

.maryland-slide-stages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 1rem 0 0.75rem;
}

.maryland-slide-stages button,
.maryland-slide-controls button {
    padding: 0.45rem 0.65rem;
    border: 1px solid #a1bdad;
    border-radius: 7px;
    background: #fff;
    color: #164d32;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.maryland-slide-stages button[aria-current="step"],
.maryland-slide-controls button:not(:disabled) {
    border-color: #164d32;
    background: #164d32;
    color: #fff;
}

.maryland-slide-controls button:disabled {
    opacity: 0.55;
    cursor: default;
}

.maryland-slide-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    font-size: 0.9rem;
}

.maryland-slideshow progress {
    width: 100%;
    height: 0.65rem;
    margin-block: 0.6rem 0.85rem;
    accent-color: #006b3f;
}

.maryland-slide {
    border: 1px solid #d7e5dd;
    border-radius: 10px;
    padding: clamp(0.8rem, 3vw, 1.5rem);
    background: #f4f9f6;
}

.maryland-slide p {
    margin-block: 0.5rem;
}

.maryland-slide .maryland-card-grid article {
    background: #fff;
}

.maryland-budget-bridge {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    margin: 0.9rem 0;
}

.maryland-budget-bridge div {
    padding: 0.7rem;
    border-radius: 8px;
    background: #fff;
}

.maryland-budget-bridge strong,
.maryland-impact-amount {
    display: block;
    color: #0c5640;
    font-size: clamp(1.15rem, 2.4vw, 1.75rem);
    font-variant-numeric: tabular-nums;
}

.maryland-budget-chart {
    max-width: 34rem;
}

.maryland-budget-chart meter {
    display: block;
    width: 100%;
    height: 1.25rem;
}

.maryland-slide blockquote {
    margin: 0.8rem 0;
    padding: 0.8rem;
    border-left: 3px solid #006b3f;
    background: #fff;
}

.case-disclosure,
.case-planned {
    padding: 0.85rem 1rem;
    border-left: 4px solid #669777;
    border-radius: 5px;
    background: #edf7f1;
}

.case-disclosure h3,
.case-disclosure p:last-child,
.case-planned p {
    margin-bottom: 0;
}

.maryland-slide h4 {
    margin-block: 1.1rem 0.45rem;
    color: #082415;
    font-size: 1rem;
}

.maryland-slide li + li,
.maryland-slide dd + dt {
    margin-top: 0.65rem;
}

.case-evidence dt {
    font-weight: 600;
}

.case-evidence dd {
    margin-inline-start: 0;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
    gap: 0.65rem;
    margin-block: 0.9rem;
}

.case-metrics div {
    padding: 0.75rem;
    border: 1px solid #d7e5dd;
    border-radius: 8px;
    background: #fff;
}

.case-metrics strong {
    display: block;
    color: #0c5640;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-variant-numeric: tabular-nums;
}

.case-table {
    max-width: 100%;
    margin-block: 0.9rem;
    overflow-x: auto;
    border: 1px solid #b8d0c2;
    border-radius: 8px;
}

.case-table table {
    width: 100%;
    min-width: 32rem;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.case-table caption {
    padding: 0.7rem;
    text-align: left;
    font-weight: 700;
    background: #e2f0e7;
}

.case-table th,
.case-table td {
    padding: 0.55rem 0.7rem;
    border-top: 1px solid #d7e5dd;
    text-align: left;
    vertical-align: top;
}

.case-table thead,
.case-table tbody tr:nth-child(even) {
    background: #f4f9f6;
}

.maryland-slide details {
    margin-block: 0.8rem;
    padding: 0.7rem;
    border: 1px solid #b8d0c2;
    border-radius: 8px;
    background: #fff;
}

.maryland-slide summary {
    cursor: pointer;
    font-weight: 600;
}

.case-planned button:disabled {
    padding: 0.4rem 0.75rem;
    border: 1px solid #a0aaa4;
    border-radius: 6px;
    color: #4d5851;
    background: #dfe5e0;
    font: inherit;
}

@media (max-width: 1000px) {
    .landing-right-stack .landing-maryland-feature {
        order: 1;
    }
}

@media (max-width: 620px) {
    .maryland-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .maryland-slide-stages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .maryland-budget-bridge {
        grid-template-columns: minmax(0, 1fr);
    }

    .maryland-budget-bridge > span {
        justify-self: center;
        transform: rotate(90deg);
    }
}
