/* Shared landing-page framing for the comparison demo. Original MIT. */
body { margin: 0; padding: 0; background: #fff; color: #1b1b1b; }
.usa-hero__callout { max-width: 42rem; }
.usa-section { padding-block: 2.5rem; }
.usa-section__heading { margin-top: 0; }
.usa-footer__primary-content { padding-block: .5rem; }
.demo-offline { margin: 0; padding: .75rem 1rem; background: #fff3d9; border-bottom: 2px solid #ab6100; color: #1b1b1b; }

/* OGDS header secondary slot: the consumer owns the search form. */
.demo-search { display: flex; align-items: stretch; }
.demo-search input { border: 1px solid #565c65; border-inline-end: 0; padding: .5rem; font: inherit; min-width: 8rem; }
.demo-search button { background: #005ea2; color: #fff; border: 0; padding: .5rem .8rem; font: inherit; font-weight: 700; cursor: pointer; }
.demo-search button:focus-visible { outline: 3px solid #b45400; outline-offset: 2px; }
ogds-header [slot="logo"] a { color: #005ea2; font-weight: 700; text-decoration: none; }

.usa-error-summary { border: 4px solid #b50909; padding: 1rem 1.25rem; margin-block-end: 1.5rem; background: #fff; }
.usa-error-summary:focus-visible { outline: 3px solid #005ea2; outline-offset: 3px; }
.usa-error-summary__heading { margin-block-start: 0; color: #b50909; }
.usa-error-message { color: #b50909; font-weight: 700; margin-block: .25rem 0; }
.usa-input[aria-invalid="true"], .usa-select[aria-invalid="true"], .usa-textarea[aria-invalid="true"] { border: 2px solid #b50909; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.5rem; }
