.casestudies-section {
    padding-top: 69px;
    padding-bottom: 53px;
    background: #F6F8FB
}

.casestudies-section h4 {
    font-weight: 700;
    font-size: 30px;
    line-height: 37px;
    letter-spacing: 0.02em;
    color: #000000;
    margin-bottom: 75px;
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
}

.casestudies-section h4::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    height: 3px;
    background: #EE3235;
}

.casestudies-section .see-all {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin-top: 41px;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.casestudies-section .see-all .arrow-icon {
    width: 11.6px;
    height: 11.6px;
    margin-left: 5px;
    vertical-align: middle;
}

.casestudies-section .casestudies-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 49px;
}

.casestudies-section .casestudy {
    width: 333px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.casestudies-section .casestudy a {
    text-decoration: none;
}

.casestudies-section .casestudy-card-image {
    max-height: 200px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.casestudies-section .casestudy h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin-bottom: 10px;
}

.casestudies-section .casestudy p {
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 0;
}


.casestudies-section .learn-more {
    margin-top: auto;
    align-self: flex-end;
    padding: 12px 22px;
    background: #EE3235;
    border-radius: 6px;
    color: white;
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    margin-top: auto;
}

.casestudy-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 200px);
}

.desktop-casestudies {
    display: block;
}

.mobile-casestudies {
    display: none;
}


.casestudies-section .learn-more .arrow-icon {
    filter: brightness(10)
}

@media only screen and (max-width: 1024px) {

}

@media only screen and (max-width: 768px) {
    .desktop-casestudies {
        display: none;
    }

    .mobile-casestudies {
        display: block;
    }

    .casestudies-section .casestudy {
        margin: 0 auto;
    }

    .casestudies-section h4 {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}