*{
    -webkit-text-size-adjust:100% 
}
header {
    position: relative;
}

.hero {
    height:300px;
    width: 1090px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1, .hero h2 {
    margin:0;
}

.hero h1 {
    font-size:55px;
    line-height:65px;
    font-weight: 400;
}

.hero h2 {
    margin-bottom:20px;
    color:#D72280;
    font-size:30px;
    font-weight: 400;
}

.hero h2 a {
    color:#D72280;
}

.case-study-overview {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width:100%;
}

.case-study-overview .cs {
    position: relative;
    width:50%;
    height:364px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.case-study-overview .cs a {
    display: block;
    height:100%;
    z-index: 100;
}

.case-study-overview .cs .gradient-overview {
    position:absolute;
    width:100%;
    height:200px;
    transform: rotate(-180deg);
    background-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
    bottom:0;
    
    z-index:100;
    pointer-events: none;
}

.case-study-overview .cs img {
    object-fit: cover;
    width:100%;
    height:100%;
    transition: transform .3s ease;
}

.case-study-overview .cs:hover img {
    transform: scale(1.1);
}

.case-study-overview .cs .title {
    font-size:38px;
    line-height: 48px;
    position: absolute;
    bottom: 55px;
    left: 35px;
    z-index:101;
    transition:bottom .3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,.2);
}

.case-study-overview .cs:hover .title {
    bottom:70px;
}

.case-study-overview .cs .sub-title {
    font-size:16px;
    position: absolute;
    bottom: 35px;
    left: 35px;
    z-index:101;
    opacity:0;
    transition: all .3s ease;
    transition-delay: 0s;
    text-shadow: 2px 2px 4px rgba(0,0,0,.2);
}

.case-study-overview .cs:hover .sub-title {
    opacity:1;
    bottom:50px;
}

@media (max-width:1090px) {
    .hero {
        width:100%;
        height:250px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 37px;
    }

    .case-study-overview .cs {
        height:300px;
    }

    .case-study-overview .cs .title {
        font-size:28px;
    }


    .case-study-overview .cs {
        width:100%;
    }

    .hero {
        height:150px;
    }

    .hero h1 {
        font-size: 18px;
        line-height: 25px;
    }

    .hero h2 {
        font-size:22px;
    }

    .case-study-overview div.cs {
        height: 200px;
        width:100%;
    }

    .case-study-overview div.cs .title {
        bottom: 8px;
        left: 15px;
    }

    .case-study-overview div.cs .sub-title,
    .case-study-overview div.cs:hover .sub-title {
        font-size: 16px;
        bottom: 8px;
        left: 15px;
        opacity: 1;
        transition: initial!important;
        width: 93%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    
    .case-study-overview div.cs .title,
    .case-study-overview div.cs:hover .title {
        transition: initial!important;
        bottom: 30px;
        line-height: 30px;
    }

    .case-study-overview div.cs img,
    .case-study-overview div.cs:hover img {
        transition: initial!important;
        transform: none;
    }
}