.ws-temoignage-container {
    position: relative;
    width: 100%;

    & .ws-temoignage__shadow {
        position: absolute;
        bottom: -8px;
        right: -8px;
        width: 100%;
        height: 100%;
        border-radius: 8px;
        z-index: -1;
    }

    &.orange-shadow .ws-temoignage__shadow {
        background-color: var(--orange);
    }

    &.blue-shadow .ws-temoignage__shadow {
        background-color: var(--blue);
    }
}

.ws-temoignage {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 8px;
    background-color: white;
}

.ws-temoignage__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ws-temoignage__image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.ws-temoignage__name {
    color: var(--black);
}

.ws-temoignage__position {
    font-style: italic;
}

@container temoignage (max-width: 400px) {
    .ws-temoignage {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .hectoria-elementor-widget-ws-temoignages {
        container: temoignage / inline-size;
    }
}
@media (max-width: 767px) {
    .ws-temoignage {
        flex-direction: column;
    }
}