/*
 * 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;
    /* A theme's generic list rule — Editorial 10.2 line 742:
       "ul li { padding-left: 0.5em }" — shifts every thumbnail sideways
       and, here, every gallery image. Zeroed for the same reason as
       the lightbox's .lcl_tn_inner li. */
    padding-left: 0 !important;
}
.tinygalleryinsert li a,
.tinygalleryinsert li span {
    display: block;
    overflow: hidden;
    border: 0 !important;
    outline: 0 !important;
    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 !important;
    outline: none !important;
    padding: 0 !important;
    background: transparent !important;
    margin: 0;
    transform: scale(1);
    transition: transform .25s ease, opacity .2s ease, filter .2s ease;
}
.tinygalleryinsert a:hover img,
.tinygalleryinsert a:focus-visible img {
    transform: scale(1.06);
    opacity: .88;
    filter: brightness(1.04);
}
@media (max-width: 480px) {
    .tinygalleryinsert {
        gap: 8px;
    }
}

.tinygalleryinsert img {
    /* ... tes propriétés actuelles ... */
    max-width: 100% !important;
    max-inline-size: 100% !important;
}