@media screen and (max-width: 480px) {
    figure {
        display: block;
        margin: 0.5em auto !important; /* 上下 0.5em，左右自动 */
        width: 80%;
        height: auto;
        text-align: center;
        font-style: italic;
        font-size: smaller;
        text-indent: 0;
        border: thin silver solid;
        margin: 0.5em;
        padding: 0.5em;
    }

    .gallery figure{
        width: 30%;
        height: auto;
        text-align: center;
        font-style: italic;
        font-size: smaller;
        text-indent: 0;
        margin: 0.5em;
        padding: 0.5em;
    }
}

@media screen and (min-width: 481px) {
    figure {
    float: right;
    width: 30%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    margin: 0.5em;
    padding: 0.5em;
    }
    .gallery figure {
        float: center;
        width: 20%;
        height: auto;
        text-align: center;
        font-style: italic;
        font-size: smaller;
        text-indent: 0;
        margin: 0.5em;
        padding: 0.5em;
    }
}

.gallery{
    clear: both;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border: thin silver solid;
    margin: 0.5em;
    padding: 0.5em;
}

.multi-figures {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border: thin silver solid;
    margin: 0.5em;
    padding: 0.5em;
}

figcaption.multi-caption {
    font-style: italic;
}

video {
    width: 80%;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: thin silver solid;
    margin: 0.5em;
    padding: 0.5em;
}

