h1,
h2,
h3,
h4 {
    text-transform: capitalize;
}

.grid-like {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 0.25rem 0.5rem;
    font-size: 0.8em;
}

@media (max-width: 30rem) {
    .grid-like {
        grid-template-columns: auto;
    }
}

.badge-required {
    background: #a8b5c8;
    color: #1a2a3a;
}

.badge-supported {
    background: #b8c9b9;
    color: #1b5e20;
}

.badge-not-supported {
    background: #d1b8b8;
    color: #6d1a1a;
}

.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 0;
    align-items: center;
}

.div1 {
    grid-area: 1 / 1 / 2 / 5;
}

.div2 {
    grid-area: 1 / 5 / 2 / 6;
}

button.share {
    margin-bottom: 0;
}

.muted {
    color: var(--muted-color);
    font-style: italic;
}

.privacy-note {
    margin-bottom: calc(var(--block-spacing-vertical) * 0.3);
    padding: calc(var(--spacing) * 0.75);
    border-left: 4px solid rgba(234, 179, 8, 0.7);
    background-color: rgba(250, 204, 21, 0.18);
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.privacy-note .dismiss-note {
    margin-left: auto;
}

.container {
    padding-block: calc(var(--spacing) * 0.5);
}

th,
td {
    padding: calc(var(--spacing) / 2) calc(var(--spacing) / 4);
}

th[scope="row"] {
    max-width: 25%;
    vertical-align: top;
}

section,
table {
    margin-top: calc(var(--block-spacing-vertical) * 0.3);
    margin-bottom: calc(var(--block-spacing-vertical) * 0.3);
}

article {
    padding-bottom: calc(var(--block-spacing-vertical) * 0.5);
    margin-top: calc(var(--block-spacing-vertical) * 0.5);
    margin-bottom: calc(var(--block-spacing-vertical) * 0.5);
}

article header {
    padding-top: calc(var(--block-spacing-vertical) * 0.5);
    padding-bottom: calc(var(--block-spacing-vertical) * 0.5);
    margin-bottom: calc(var(--block-spacing-vertical) * 0.5);
}

code,
pre {
    overflow-wrap: anywhere;
}

.code-value {
    overflow-wrap: anywhere;
    font-family: var(--font-stack-monospace, monospace);
    margin: 0.25rem 0 0;
    padding: 0.25rem 0;
    white-space: normal;
    color: inherit;
}

article.error {
    border: 1px solid rgba(220, 38, 38, 0.5);
    border-left-width: 4px;
    background-color: rgba(220, 38, 38, 0.08);
    color: inherit;
}

article.error header {
    color: rgb(185, 28, 28);
}

ol {
    padding-left: 2rem;
}

mark {
    border-radius: 0.25rem;
}
