/* === Intro paragraph === */

p.intro {
    color: #666666;
    font-size: 0.9em;
}

p.intro img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(15cm, 100%);
    max-height: 15cm;
    margin: 0 auto 0.5cm auto;
    border: 1px solid #444444;
    border-radius: 0.1cm;
}

p.intro a:has(> img) {
    display: table;
    max-width: min(15cm, 100%);
    margin: 0 auto 0.5cm auto;
}

p.intro a:has(> img) > img {
    max-width: 100%;
    margin: 0;
}

/* === Blog post action buttons === */

#main article ul.actions {
    justify-content: center;
}

/* === Blog post image cards === */

div.blog-post-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5cm;
    justify-content: center;
    margin: 0 0 0.5cm 0;
}

div.blog-post-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

div.blog-post-card a {
    display: block;
}

div.blog-post-card img {
    display: block;
    width: auto;
    height: auto;
    max-width: 8cm;
    max-height: 8cm;
    border: 1px solid #444444;
    border-radius: 0.1cm;
}

/* === Art slideshow figcaption dimensions === */

span.slideshow-dimensions {
    display: block;
    margin: 0.1cm 0;
    font-size: 0.8em;
    color: #888;
}