.img-figure {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers image + caption */
    margin: 1.5rem auto;
}

.img-figure img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.img-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6d6875;        /* fits your palette nicely */
    text-align: center;
    width: 100%;
}