.resource-hero-section {
    background-position: top;
    background-size: 90%;
    background-repeat: repeat;
    background-color: #bccfd6;
    padding-top: 260px;
}

.resource-inner-section .left-section,
.resource-inner-section .right-section {
    flex: 1
}

.resource-inner-section h1 {
    font-size: 60px;
    line-height: 0.9;
    letter-spacing: -0.4px;

}

.resource-inner-section p {
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.3px;
    margin-top: 35px;
    margin-bottom: 60px;
    gap: 20px;
}

.resource-inner-section span {
    border-top: 2px solid #000000;
    width: 125px;
    display: inline-block;
    height: 15px;
    margin-top: 8px;

}

.resource-inner-section .resource-nav {
    gap: 30px;
    justify-content: space-between;
}

.resource-inner-section .resource-nav a {
    font-size: 14px;
    line-height: 0.98;
    background-color: #103050;
    width: 126px;
    padding: 12px 10px;
    border-radius: 50px;
    color: var(--white);
    justify-content: space-between;

}

.resource-inner-section .resource-nav a svg {
    stroke: var(--white);
    height: 15px;
}

.case-study-section .case-study-full {
    padding-top: 130px;
    padding-bottom: 175px;
}

.case-study-full {
    padding-bottom: 40px;
}

.case-study-full:first-child {
    background-color: transparent;
}

.case-study-section .case-study-wrap {
    gap: 30px
}

.case-study-section .case-study-wrap .left-section {
    flex: 0.5;
}

.case-study-section .case-study-wrap .right-section {
    flex: 1;
}

.case-study-section .subheading {
    font-size: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--black);
    margin-bottom: 140px;

}

.case-study-wrap h2 {
    font-size: 60px;
    line-height: 0.9;
    letter-spacing: -0.3px;
    width: 465px;
}

.cs-content {
    border-top: 0.75px solid #5D6163;
    padding-top: 50px;
    margin-top: 70px;
    gap: 170px;
}

.cs-content .left-section {
    gap: 30px;
    flex-direction: column;
}

.cs-content h3,
.cs-content p {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0px;
}

.cs-content p {
    margin-top: 20px
}

.cs-content .right-section .outcome {
    font-size: 140px;
    line-height: 0.85;
    margin-top: 55px;
}

.cs-content .right-section .outcome-description {
    font-size: 25px;
    letter-spacing: -0.5px;
    border-top: 0.75px solid #5D6163;
    padding-top: 15px;
    margin-top: 15px;
    line-height: 1;
}

.case-study-section .case-study-wrap .cs-content .right-section {
    flex: 0.7;
}

.case-study-section .case-study-wrap .cs-content .left-section {
    flex: 0.42;
}


.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.resource-card {
    border-radius: 20px;
    transition: 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.events-section,
.news-section {
    background-color: var(--white);
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    padding: 75px 0 125px;
    margin-top: -60px;
}

.news-section {
    padding-bottom: 280px;
}

.events-section .subheading,
.blog-section .subheading,
.news-section .subheading {
    border-bottom: 0.75px solid var(--black);
    padding-bottom: 20px;
    margin-bottom: 90px;
    font-size: 25px;
}

.events-section .resource-card {
    padding: 50px 40px;
    color: var(--white);
    position: relative;
    height: 345px;
    ;
}

.events-section .resource-card h3 {
    font-size: 40px;
    width: 310px;
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--white)
}

.events-section .resource-card .top-section {
    justify-content: space-between;
}

.events-section .resource-card .top-section span {
    color: #EDEDED;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.events-section .resource-card .bottom-section {
    position: absolute;
    bottom: 40px;
    left: 50px;
    right: 50px;
    justify-content: space-between;
    align-items: end;
}

.events-section .resource-card .bottom-section p {
    width: 300px;
    font-size: 15px;
    line-height: 1.4;
}

.events-section .resource-card .bottom-section a {
    color: var(--white);
    gap: 7px;
    align-items: center;
}

.events-section .resource-card .bottom-section svg {
    stroke: var(--white);
    height: 18px;
}

.blog-section {
    background-color: var(--backgorund-color);
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    padding: 75px 0 125px;
    margin-top: -60px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: end;
}

.blog-card .read-more svg {
    height: 50px;
    stroke: var(--black)
}

.blog-card .resource-card {
    width: 710px;
    padding: 32px 40px;
    height: 172px;
    position: relative;
    overflow: hidden;
}

.blog-card .resource-card .date {
    position: absolute;
    bottom: 32px;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    right: 40px;
}

.blog-card .resource-card .top-section {
    justify-content: space-between;
    align-items: self-start;
    gap: 160px
}

.blog-card .resource-card .top-section h3 {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.5px;
        display: block;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 90px;
}

.news-card {
    gap: 35px;
    flex-direction: column;
}

.news-card .resource-card {
    border: 1px solid var(--grey);
    padding: 40px;
}

.news-card .resource-card .top-section {
    gap: 35px
}

.news-card .resource-card .top-section .right-section {
    position: relative;
}

.news-card .resource-card .top-section .right-section .link {
    stroke: var(--ternary-color);
    color: var(--ternary-color);
    align-items: center;
    position: absolute;
    bottom: 10px;

}

.news-card .resource-card .top-section .right-section .link svg {
    height: 18px;
}

.news-card .resource-card .top-section .right-section .date {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card .resource-card .top-section .right-section h3 {
    margin-top: 42px;
    margin-bottom: 55px;
    font-size: 40px;
    font-weight: 400;
    width: 340px;
    line-height: 1;
    letter-spacing: 1px;
     display: block;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
        height: 82px;

}

.news-card .resource-card .top-section .right-section p {

    font-size: 15px;
    line-height: 1.4;
    width: 340px;
}

.news-card .resource-card .top-section .left-section img {
    width: 770px;
}

.learn-resource-section {
    background-color: var(--green);
    color: var(--white);
    padding: 65px 0 155px
}

.learn-resource-section .subheading {
    font-size: 25px;
    padding-bottom: 57px;
    color: var(--white)
}

.learn-resource-section .content {
    color: var(--white);
    font-size: 60px;
    line-height: 0.98;

    margin-bottom: 38px;
}

.learn-resource-section .content span {
    color: var(--primary-bonafied-blue)
}

.learn-resource-section .content-wrap {
    width: 855px;
    margin: 0 auto;
}

.learn-resource-section .link-wrap a {
    font-size: 16px;
    color: var(--primary-bonafied-blue);
    letter-spacing: -0.5px;
    line-height: 0.98;
    gap: 5px
}

.learn-resource-section .link-wrap svg {
    height: 20px;
    width: auto;
    stroke: var(--primary-bonafied-blue);

}

.mobile {
    display: none;
}
.load-more-btn{
    color:var(--ternary-color); 
        display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
}
.load-more-btn svg{
    height: 18px;
    stroke:var(--ternary-color);
        transform: rotate(90deg);
}
.news-section .load-more-btn{
    margin-top: 25px;
}
.blog-section .load-more-btn{
    margin-top: 44px;
}
.events-section .load-more-btn{
    margin-top: 70px;
}
@media (max-width: 1024px) {
    .mobile {
        display: block;
    }

    
    .resource-hero-section {
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('/wp-content/themes/twentytwentyfour-child/assets/image/resource-bg-mobile.png') !important;
        padding-top: 350px;
    }

    .resource-inner-section .resource-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 0;
        row-gap: 12px;
    }
    .resource-inner-section p{
        margin-bottom: 50px;
    }
    .resource-inner-section h1{
            font-size: 45px;
    }
    .resource-inner-section .right-section{
        margin-bottom: 56px;
    }

    .case-study-section .case-study-wrap {
        flex-direction: column;
    }
    .case-study-full:first-child{
        background-color: #E8F2F7;
    }

    .case-study-section .case-study-wrap .left-section img {
        width: 100%;
        height: 214px;
        object-fit: cover;
        border-radius: 12px;
        object-position: center;
    }

    .case-study-wrap h2,
    .learn-resource-section .content-wrap,
    .blog-card .resource-card {
        width: auto
    }

    .cs-content {
        flex-direction: column;
        gap: 50px;
        border-top: none;
        margin-top: 0;
        padding-top: 0px;
    }

    .cs-content .right-section .outcome {
        font-size: 100px;
    }

    .cs-content p {
        margin-top: 14px;
    }

    .news-card .resource-card .top-section {
        flex-direction: column;
    }

    .news-card .resource-card .top-section .left-section img {
        width: 100%;
        height: auto;
    }

    .news-card .resource-card {
        padding: 20px
    }

    .news-card .resource-card .top-section .right-section .link {
        margin-top: 20px;
        position: static;
    }

    .blog-card .resource-card {
        width: 100%;
        padding: 24px 18px
    }

    .blog-card .resource-card .top-section {
        gap: 25px
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .events-section .resource-card h3 {
        width: 100%;
        font-size: 25px;
    }

    .events-section .resource-card {
        padding: 35px 16px;
        height: 275px;
    }

    .events-section .resource-card .bottom-section a {
        display: none;
    }

    .events-section .resource-card .bottom-section {
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .events-section .resource-card .top-section span {
        display: none;
    }

    .events-section .resource-card .bottom-section p {
        width: 100%;
    }

    .events-section .resource-card .top-section svg {
        height: 50px;
        stroke: var(--white);
    }

    .events-section .subheading,
    .blog-section .subheading,
    .news-section .subheading {
        margin-bottom: 35px;
        font-size: 16px;
    }

    .events-section,
    .news-section,
    .blog-section {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        padding: 35px 0 100px
    }

    .blog-card .resource-card .top-section h3 {
        font-size: 25px;
            height:75px;
    }

    .blog-card .resource-card .date {
        right: auto
    }

    .news-card .resource-card .top-section .right-section h3 {
        font-size: 32px;
        margin-bottom: 25px;
        width:100%;
        height: auto;
        -webkit-line-clamp: none;
    }
    .news-card .resource-card .top-section .right-section p{
        width:100%
    }
    .learn-resource-section .content {
        font-size: 32px;
        line-height: 1.10;
    }

    .case-study-section .case-study-full {
        padding-top: 30px;
        padding-bottom: 80px;
                border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }

    .case-study-section .subheading {
        margin-bottom: 70px;
        border-width: 2px;

    }

    .case-study-wrap .right-section h2 {
        display: none;
    }

    .case-study-wrap h2 {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .resource-inner-section .left-section {
        display: none;
    }

    .resource-inner-section .resource-nav {}
}