.wp-block-image {
    border-radius: 12px;
    /* overflow: hidden; */
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.wp-block-image img:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.wp-block-image img:hover + .wp-element-caption {
    transform: translateY(-6px);
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); */
}


.wp-block-image .wp-element-caption, .wp-block-image::before  {
    border-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    transition: all 0.3s ease-in-out;

}

/* Style alternatif : image totalement ronde */
.wp-block-image.is-style-rounded img {
    border-radius: 50% !important;
    /* object-fit: cover; */

}
