.image-text-card {
    position: relative;
}

.image-text-card-container[href*="#"] {
    pointer-events: none;
}

.image-text-card__column {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.image-text-card__image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.image-text-card__image img {
    display: block;
    border-radius: 3px 4px 0 0;
}

.image-text-card__image-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 24, 48, 0.10);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    padding: 15px 12px;
    border-radius: 3px 4px 0 0;
}

.image-text-card__image-info h3 {
    font-size: 24px;
    line-height: 1.2em;
    margin-bottom: 0;
    padding-bottom: 10px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.image-text-card__image-info span {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    line-height: 1.2em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #001830;
    padding: 6px 12px;
    background: rgba(212, 241, 245, 0.77);
    border-radius: 0;
    z-index: 1;
}

.image-text-card__column span {
    display: inline-block;
    text-align: center;
    font-size: 16px;
    line-height: 1.2em;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #001830;
    padding: 6px 12px 6px 12px;
    background: rgba(212, 241, 245, 0.77);
    border-radius: 0;
    z-index: 1;
    position: relative;
}

.image-text-card__text {
    position: relative;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 52, 103, 0.24);
    z-index: 3;
    display: none;
    padding: 24px 16px 16px;
    color: #001830;
}

.active .image-text-card__text {
    display: block;
}

.active .image-text-card__image {
    display: none;
}

.image-text-card__text h3 {
    font-size: 24px;
    line-height: 1.2em;
    margin-bottom: 0;
    padding-bottom: 12px;
    text-transform: uppercase;
    color: #001830;
}

.image-text-card__text p {
    padding-bottom: 10px;
}

.row{
    justify-content: center;
}

.image-text-card-container{
    flex: 0 0 auto;   
    margin-bottom: 30px;
}



@media (min-width: 768px) {

    .image-text-card__column {
        height: 100%;
        display: flex;
        flex-direction: column;        
        margin-bottom: 20px;
    }
    
    .image-text-card__image {
        height: 252px;
    }
    
    .image-text-card__image-info {
        padding: 24px 26px;
    }
    
    .image-text-card__image-info h3 {
        font-size: 26px;
    }

    .image-text-card__text {
        padding: 26px 26px;
        color: #001830;            
    }
    
    .active .image-text-card__text {
        display: block;
    }
    
    .active .image-text-card__image {
        display: none;
    }
    
    .image-text-card__text h3 {
        font-size: 24px;
        line-height: 1.2em;
        margin-bottom: 0;
        padding-bottom: 10px;
        text-transform: uppercase;
        color: #001830;
    }
    
    .image-text-card__text p {
        padding-bottom: 10px;
    }

    

}


@media (min-width: 1200px) {

    
    .image-text-card__column_desktop {
        height: 100%;
        display: flex;
        flex-direction: column;        
        margin-bottom: 20px;
    }
    
    .image-text-card__column_desktop {
        background: #FFFFFF;
        box-shadow: 0 0 30px rgba(0, 52, 103, 0.24);        
        cursor: pointer;
    }

    .image-text-card-container img{
        transition: all 0.3s ease-in-out;
    }

    .image-text-card-container:hover img {
        opacity: 0.8;
        transform: scale(1.1);
    }

    .image-text-card__image {
        height: 263px;
        display: block;
        position: relative;
    }

    .image-text-card__image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .image-text-card__image-info {
        padding: 24px 26px;
    }
    
    .image-text-card__image-info h3 {
        font-size: 28px;
    }

    .image-text-card__text {
        padding: 26px 26px;
        color: #001830;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: auto;    
    }

    .image-text-card__text {
        padding: 28px 22px 30px;
        box-shadow: none;        
    }   
    
    
    .image-text-card__image {
        display: block;
        flex: 1 0 auto;
    }
    
    .image-text-card__text h3 {
        font-size: 28px;
        padding-bottom: 18px;
    }
    
    .image-text-card__text p {
        padding-bottom: 10px;
        line-height: 1.75em;
    }

    .image-text-card__text .btn{
        margin-top: auto;
    }

}