.case-studies-archive-header {
    min-height: 500px;
    background-image: url('/wp-content/uploads/2023/05/Finish-Premier-Case-Study.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
}

.case-studies-archive-header .container {
    align-items: center;
}

.case-studies-archive-header .container h1 {
    color: #ffffff;
    font-family: 'roboto', Sans-serif;
    font-size: 36px;
}

.case-studies-archive {
    margin: 40px auto;
}

.case-studies-archive-header::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom,
            #2F81B1 0%,
            #2f81b18a 40%,
            #2f81b100 100%);
    pointer-events: none;
}
.type-case_study h2 {
    margin: 5px 0px;
    font-weight: 700;
}

.case-studies-grid article {
    margin-bottom: 20px;
}

.case-studies-grid article .inner-box {
    box-shadow: rgba(149, 157, 165, .5) 0px 3px 9px;
    padding: 20px;
}

.case-studies-grid article .card-content p {
    color: #757575;
    margin-top: 10px
}

@media only screen and (max-width:765px) {
    .type-case_study h2 {
        height: 60px !important;
        font-size: 20px !important;
    }
}

@media only screen and (min-width:765px) {
.type-case_study h2 {
        height: 60px !important;
        font-size: 20px !important;
    }
}
.case-study-card .card-image{
    height: 200px;
    width: 100%;
    overflow: hidden;
}
.case-study-card .card-image img {
    object-fit: fill;
    height: 100%;
    width: 100%;
}