tess-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin: 1em 0;
}

tess-carousel > * {
    display: block;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
}

tess-carousel > img {
    object-fit: scale-down;
}

tess-carousel > :has(> img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

tess-carousel > figure {
    flex-direction: column;
}
