/* =========================================================
   BLOGS & RESOURCES
========================================================= */

.resources-section {
    margin: 0 auto;
    padding: 80px 0 80px;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 55px;
}


.resources-title {
    margin: 0;
    line-height: 1.25;
    font-weight: 700;
    color: #080808;
}


/* =========================================================
   VIEW ALL BUTTON
========================================================= */

.resources-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 165px;
    height: 42px;

    padding: 0 24px;

    box-sizing: border-box;

    background: #0875b5;
    border-radius: 21px;

    color: #ffffff;
    text-decoration: none;


    font-weight: 400;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.resources-view-all:hover {
    background: #075f92;
    transform: translateY(-1px);
}


/* =========================================================
   ARROW
========================================================= */

.resource-arrow {
    width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid currentColor;
    border-radius: 50%;


    line-height: 1;

    transition: transform 0.2s ease;
}


a:hover .resource-arrow {
    transform: translateX(2px);
}


/* =========================================================
   MAIN GRID
========================================================= */

.resources-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 56px;

    align-items: start;
}


/* =========================================================
   FEATURED RESOURCE
========================================================= */

.resource-featured {
    min-width: 0;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.resource-featured-image {
    display: block;
    position: relative;
    width: 100%;
    height: 416px;
    overflow: hidden;
    border-radius: 6px;
}


/*
   NO IMAGE HOVER EFFECT
*/

.resource-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* No transition */
    transition: none;
}


/* =========================================================
   FEATURED BADGE
========================================================= */

.resource-badge {
    position: absolute;

    top: 14px;
    left: 19px;

    z-index: 2;

    background: #aed9f3;
    color: #0875b5;


    font-weight: 600;
    line-height: 1;

    padding: 6px 10px;

    border-radius: 5px;
}


/* =========================================================
   DATE
========================================================= */

.resource-date {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-top: 20px;

    color: #515151;
    line-height: 1.3;
}


.calendar-icon {
    display: inline-flex;

    width: 24px;
    height: 24px;

    flex-shrink: 0;
}


.calendar-icon svg {
    width: 100%;
    height: 100%;
}


/* =========================================================
   FEATURED CONTENT
========================================================= */

.resource-featured-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 10px;
}


.resource-featured-title {
    max-width: 430px;
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}


.resource-featured-title a {
    color: #080808;
    text-decoration: none;
}


.resource-featured-title a:hover {
    text-decoration: underline;
}


/* =========================================================
   FEATURED DESCRIPTION
========================================================= */

.resource-featured p {
    max-width: 620px;

    margin: 10px 0 0;


    line-height: 1.55;

    color: #333333;
}


/* =========================================================
   MAIN READ MORE
========================================================= */

.resource-read-more {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 145px;
    height: 42px;

    padding: 0 20px;

    box-sizing: border-box;

    flex-shrink: 0;

    background: #0875b5;

    border-radius: 21px;

    color: #ffffff;
    text-decoration: none;


    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.resource-read-more:hover {
    background: #075f92;
    transform: translateY(-1px);
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.resources-side {
    display: flex;

    flex-direction: column;

    gap: 24px;
}


/* =========================================================
   SMALL RESOURCE
========================================================= */

.resource-small {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 26px;
    min-width: 0;
}


/* =========================================================
   SMALL IMAGE
========================================================= */

.resource-small-image {
    display: block;

    width: 250px;
    height: 161px;

    overflow: hidden;

    border-radius: 6px;
}


.resource-small-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    /* No hover effect */
    transition: none;
}


/* =========================================================
   SMALL CONTENT
========================================================= */

.resource-small-content {
    min-width: 0;
}


/* =========================================================
   SMALL DATE
========================================================= */

.resource-small-content .resource-date {
    margin-top: 0;
}


/* =========================================================
   SMALL TITLE
========================================================= */

.resource-small-title {

    margin: 15px 0 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}


.resource-small-title a {
    color: #080808;
    text-decoration: none;
}


.resource-small-title a:hover {
    text-decoration: underline;
}


/* =========================================================
   SMALL DESCRIPTION
========================================================= */

.resource-small-content p {
    margin: 7px 0 0;


    line-height: 1.45;

    color: #333333;
}


/* =========================================================
   SMALL READ MORE
========================================================= */

.resource-small-read-more {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 10px;

    color: #0073b5;
    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid #0073b5;

    padding-bottom: 2px;
}


.resource-small-arrow {
    width: 22px;
    height: 22px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid currentColor;

    border-radius: 50%;


    line-height: 1;

    transition: transform 0.2s ease;

}


.resource-small-read-more:hover .resource-small-arrow {
    transform: translateX(2px);
}


/* =========================================================
   NO RESOURCES
========================================================= */

.resources-empty {
    padding: 40px 0;

    text-align: center;



    color: #666666;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .resources-section {
        width: calc(100% - 80px);
    }


    .resources-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .resource-featured-image {
        aspect-ratio: 11 / 5;

        height: auto;
    }


    .resource-featured-title {
        max-width: 600px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 750px) {

    .resources-section {
        width: calc(100% - 50px);

        padding: 50px 0 70px;
    }





    .resources-header {
        margin-bottom: 28px;
    }


    .resource-featured-image {
        height: 210px;

        aspect-ratio: auto;
    }



    .resources-side {
        gap: 20px;
    }


    .resource-small {
        grid-template-columns: 125px minmax(0, 1fr);

        gap: 16px;
    }


    .resource-small-image {
        width: 125px;
        height: 80px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .resources-section {
        width: calc(100% - 32px);

        padding: 45px 0 60px;
    }


    /* Header */

    .resources-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

        margin-bottom: 25px;
    }




    .resources-view-all {
        min-width: 115px;
        height: 31px;


    }


    /* Grid */

    .resources-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* Featured */

    .resource-featured-image {
        height: 190px;
    }





    .resource-featured-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 14px;

        margin-top: 9px;
    }


    .resource-featured-title {
        max-width: 100%;

    }



    .resource-read-more {
        min-width: 105px;

        height: 31px;


    }


    /* Small resources */

    .resources-side {
        gap: 22px;
    }


    .resource-small {
        grid-template-columns: 105px minmax(0, 1fr);

        gap: 14px;
    }


    .resource-small-image {
        width: 105px;
        height: 72px;
    }




    .resource-small-title {
        margin-top: 6px;



        line-height: 1.35;
    }


    .resource-small-content p {


        line-height: 1.4;
    }


    .resource-small-read-more {
        margin-top: 8px;


    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .resources-section {
        width: calc(100% - 24px);
    }




    .resource-featured-image {
        height: 170px;
    }


    .resource-small {
        grid-template-columns: 90px minmax(0, 1fr);

        gap: 12px;
    }


    .resource-small-image {
        width: 90px;
        height: 65px;
    }



}