/*
 * TinyGalleryInsert — GPL-2.0-only.
 * Copyright (C) 2013 FredM
 * Copyright (C) 2023 Nicolas Roudaire
 * Copyright (C) 2026 Bertrand Roc
 * Copyright (C) contributors
 * Modified for Dotclear 2.39.3 compatibility and maintenance.
 */

.tinygalleryinsert {
    display: flex;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0 auto 1.5em;
    list-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.tinygalleryinsert li {
    list-style: none;
    margin: 0;
}
.tinygalleryinsert li a,
.tinygalleryinsert li span {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    line-height: 0;
}
.tinygalleryinsert img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
    margin: 0;
    transition: opacity .2s ease, filter .2s ease;
}
.tinygalleryinsert a:hover img,
.tinygalleryinsert a:focus-visible img {
    opacity: .88;
    filter: brightness(1.04);
}
@media (max-width: 480px) {
    .tinygalleryinsert {
        gap: 8px;
    }
}
