/* Blog media: players fill the content width, download cards keep the icon
   in the colour of the text, a diagram shows its source until it is drawn
   (and keeps it when it cannot be drawn), and a link that leaves the site
   carries an arrow after its text. */
.blog-media video,
.blog-media audio {
    display: block;
    width: 100%;
}

.blog-download-icon {
    flex: none;
}

.blog-download-title {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.mermaid {
    margin: 30px 0;
    text-align: center;
}

.mermaid:not([data-processed]) {
    font-family: monospace;
    text-align: left;
    white-space: pre;
    overflow-x: auto;
}

.blog-link-external::after {
    content: "\2197";
    display: inline-block;
    margin-left: 0.15em;
    font-size: 0.8em;
    text-decoration: none;
}
