.ws-elementor-widget-ws-card:has(.cards__item--full-height),
.cards__item--full-height{
    height:100%;
}

.cards__item{

    display: flex;
    border-radius: 16px;
    border: 1px solid rgba(51, 76, 86, 0.20);
    background: #FFF;
    overflow: hidden;
    

    &.cards__item--image-position-top{
        flex-direction: column;
    }
    &.cards__item--image-position-bottom{
        flex-direction: column-reverse;
    }

    &.cards__item--image-position-left{
        flex-direction: row;
       
        @media (max-width: 768px) {
            flex-direction: column;
        }
    }
    &.cards__item--image-position-right{
        flex-direction: row-reverse;

        @media (max-width: 768px) {
            flex-direction: column;
        }
    }


    .cards__item-visuel{
        flex: 1 1 100%;  
        position: relative;    

        .ws-hero__image_lottie{
            height:100%;
            width:100%;

            @media (max-width: 768px) {
                position: absolute;
            }
        }

        .cards__item-lottie{
            position: absolute;
            top:0;
            left:0;
            width:auto;
            height:auto;

            @media (max-width: 768px) {
                position: relative;
            }
        }

        .cards__item--image-position-top &,
        .cards__item--image-position-bottom &{
               
            width: 100%;
            text-align:center;

            .cards__item-lottie{
                margin-left: 50%;  
                transform: translateX(-50%);
            }


        }

        .cards__item--image-position-left &,
        .cards__item--image-position-right &{    

            height: 100%;   

            img{
                height: 100%;
                width: 100%;
                object-fit: cover;
                object-position: left; 
                margin-left: auto;
                margin-right:auto;
            }
        }
       
    }

    .cards__item-container{
        display: flex;
        flex-direction: column;
        gap:24px;
        padding:40px;

        .cards__item--image-position-top &{
            padding-top:10px;
        }

        @media (max-width: 768px) {
            padding:24px;            
        }

        &:not(:has(.cards__item-tag)){
            @media (max-width: 768px) {
                flex-direction: row;
            }
        }

        .cards__item-icon{ 
            width:24px;            
            flex: 0 0 24px;
            height:auto;

            img{
                width:100%;
                vertical-align: top;
            }
        }

        .cards__item-content{
            display: flex;
            flex-direction: column;
            gap:8px;

            .cards__item-key-data {
                color: var(--siimply-accent-color);
            }
            
            .cards__item-title{
                
            }

            .cards__item-description{
                color: #334C56;
            }
        }


        .cards__item-tag{
            color:var(--siimply-accent-color);
        }

    }
    


    
}