.bluecontentblock-hor {
}
.bluecontentblock-hor *{
     transition: all 0.7s linear;
}
.bluecontentblock-hor-in {
    display: flex;
    gap: 20px;
}
.bluecontentblock-hor-item {
    width: 100%;
    min-height: 473px;
    background: #1152F7;
    border-radius: 20px;
    position: relative;
}
.bluecontentblock-hor-item img{
    position: absolute;
    top: 46px;
    left: 70px;
    height: 273px !important;
    width: auto;
}
.bluecontentblock-hor-cnt {
    color: #D7E5FF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 30px;
    
    margin: 336px 69px 30px;
}
.bluecontentblock-hor-item-title {
    font-weight: 500;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 27px;
    margin-top: 17px;
}
.bluecontentblock-hor-item-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s linear, opacity 0.7s linear;
}








@media screen and (min-width: 1140px) {


    .bluecontentblock-hor-item:hover img {
        top: -27px;
        height: 182px !important;
    }
    
    .bluecontentblock-hor-item:hover .bluecontentblock-hor-item-text {
        max-height: 320px; /* must be large enough to hold full content */
        opacity: 1;
    }
    .bluecontentblock-hor-item:hover .bluecontentblock-hor-cnt {
        margin: 167px 69px 30px;
    }


}

@media (min-width: 1024px) and (max-width: 1366px) {



    .bluecontentblock-hor-item img{
        top: 46px;
        left: 30px;
        height: 203px !important;
    }

    .bluecontentblock-hor-cnt {
        margin: 270px 49px 30px;
    }
    .bluecontentblock-hor-item:hover .bluecontentblock-hor-cnt {
        margin: 167px 49px 30px;
    }

}

@media screen and (max-width: 1140px) {
     .bluecontentblock-hor {
        width: 100%;
        margin: 0;
    }
    .bluecontentblock-hor-item{
        height: auto;
    }
    .bluecontentblock-hor-item-text {
        display: block;
        max-height: 1500px;
        overflow: hidden;
    }

    .bluecontentblock-hor-in {
        flex-direction: row;
        gap: 0;
        flex-wrap: wrap;
    }
    .bluecontentblock-hor-item {
        width: 48%;
        height: auto;
        margin: 1%;
    }
    .bluecontentblock-hor-item-text{
        display: block;
    }

    .bluecontentblock-hor-item img {
        position: absolute;
        top: 20px;
        left: 20px !important;
        height: 182px !important;
        width: auto;
    }
    .bluecontentblock-hor-item:hover img {
        position: absolute;
        top: 20px;
        left: 20px !important;
        height: 182px !important;
        width: auto;
    }
    .bluecontentblock-hor-cnt {

        flex-direction: column;
        justify-content: flex-start;
        padding: 26px 26px 20px;
        margin: 180px 0 0;
    }

}

@media screen and (max-width: 540px) {


    .bluecontentblock-hor-item {
        width: 100%;
        margin: 0 0 20px;
    }
    

}
