.md-content .hero-teaser {
    text-align: center;
}

.md-content .hero-headline {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1;
    color: var(--md-typeset-color);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    animation: hero-headline-in .8s ease-out;
}

.md-content .hero-claim {
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.3;
    color: var(--md-typeset-color);
    animation: hero-claim-in 1s ease-out .3s forwards;
}

@keyframes hero-headline-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-claim-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.95;
    }
}

@media (max-width: 600px) {
    .hero-headline {
        font-size: 3rem;
    }

    .hero-claim {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}


.md-content dfn {
    border-bottom: .05rem dotted var(--md-default-fg-color--light);
    cursor: help;
    text-decoration: none;
    font-style: normal;
}

.md-content img {
    border-radius: .2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.md-content .small {
    font-size: 80%;
}

.md-footer .comments > details {
    background: #1E2129;
    border-radius: 2px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.md-footer .comments > details > summary {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1em;
    padding: 1em;
    cursor: pointer;
    font-weight: bold;
    color: var(--md-typeset-color);
    border-top: 2px solid black;
    background: var(--md-default-bg-color);
}

.md-footer .comments > details > summary::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid var(--md-primary-fg-color);
    border-inline: 7px solid transparent;
    transition: 0.2s;
}

.md-footer .comments > details > summary:hover::after {
    border-top-color: var(--md-accent-fg-color);
}

.md-footer .comments > details[open] > summary::after {
    transform: rotate(-180deg);
}

.md-footer .comments > details > summary::-webkit-details-marker {
    display: none;
}


.md-footer .comments > details > div {
    padding: 2em;
}


.highlight pre > code {
    max-height: 20rem;
}

.highlight.partial pre > code > span > span {
    filter: blur(1px);
}
.highlight.partial pre > code > span > span.hll, .highlight.partial pre > code:hover > span > span {
    filter: none;
}

.md-typeset blockquote {
    margin-bottom: 2em;
}

.md-typeset blockquote .author {
    float: right;
    font-size: small;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .three-col-grid {
        grid-template-columns: 1fr;
    }
}

.dcb-announce-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
}

.dcb-announce__divider {
    display: inline-block;
    width: 1px;
    height: 1em;
    background: currentcolor;
    opacity: .4;
}

@media (max-width: 480px) {
    .dcb-announce__divider {
        display: none;
    }
}

.dcb-announce {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    color: inherit;
    text-decoration: none;
}

.dcb-announce:hover {
    text-decoration: underline;
}

.dcb-announce__icon {
    display: flex;
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

.dcb-announce__icon svg {
    width: 100%;
    height: 100%;
    fill: currentcolor;
}
/* DCB examples (extensions/dcb_notation.py). The notation colours are the DCB Playground's,
   so an example reads the same on the page and in the playground's code view. */

.md-typeset .dcb-example {
    position: relative;
    margin: 1em 0;
}

.md-typeset .dcb-example__actions {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    gap: .4rem;
}

.md-typeset .dcb-example__actions .md-button {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    padding: .2em .8em;
    font-size: .64rem;
}

.md-typeset .dcb-example__actions svg {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
}

.md-typeset .dcb-example .tabbed-labels {
    padding-right: 15rem;
}

@media screen and (max-width: 44.9375em) {
    .md-typeset .dcb-example__actions {
        position: static;
        justify-content: flex-end;
        margin-bottom: .4rem;
    }

    .md-typeset .dcb-example .tabbed-labels {
        padding-right: 0;
    }
}

.md-typeset .dcb-notation .dcb-line--changed {
    display: inline-block;
    min-width: 100%;
    margin: 0 -1.1764705882em;
    padding: 0 1.1764705882em;
    background-color: var(--md-code-hl-color--light);
    box-shadow: 2px 0 var(--md-code-hl-color) inset;
}

.md-typeset .dcb-hl-keyword { color: #0000ff; }
.md-typeset .dcb-hl-flow { color: #af00db; }
.md-typeset .dcb-hl-type { color: #267f99; }
.md-typeset .dcb-hl-string, .md-typeset .dcb-hl-code { color: #a31515; }
.md-typeset .dcb-hl-number { color: #098658; }
.md-typeset .dcb-hl-comment { color: #008000; }
.md-typeset .dcb-hl-annotation { color: #795e26; }

[data-md-color-scheme="slate"] .md-typeset .dcb-hl-keyword { color: #569cd6; }
[data-md-color-scheme="slate"] .md-typeset .dcb-hl-flow { color: #c586c0; }
[data-md-color-scheme="slate"] .md-typeset .dcb-hl-type { color: #4ec9b0; }
[data-md-color-scheme="slate"] .md-typeset .dcb-hl-string,
[data-md-color-scheme="slate"] .md-typeset .dcb-hl-code { color: #ce9178; }
[data-md-color-scheme="slate"] .md-typeset .dcb-hl-number { color: #b5cea8; }
[data-md-color-scheme="slate"] .md-typeset .dcb-hl-comment { color: #6a9955; }
[data-md-color-scheme="slate"] .md-typeset .dcb-hl-annotation { color: #dcdcaa; }

.md-typeset .dcb-boundary__command {
    margin-bottom: .4em;
    font-weight: 700;
}

.md-typeset .dcb-boundary__command:not(:first-child) {
    margin-top: 1.6em;
}

.md-typeset .dcb-boundary__summary {
    margin-left: .4em;
    font-weight: 400;
    color: var(--md-default-fg-color--light);
}

.md-typeset .dcb-boundary table {
    margin: .4em 0;
}

.md-typeset .dcb-boundary__writes {
    color: var(--md-default-fg-color--light);
}
