﻿.eri-footer {
    margin-top: -40px;
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* Begin New */
#popular-featured-section {
    margin: 80px 0;
    gap: 40px;
}

    #popular-featured-section > div:first-of-type {
        flex: 3;
    }

    #popular-featured-section > div:last-of-type {
        flex: 1;
    }

#popular-blogs-section {
    text-align: center;
    margin-bottom: 80px;
}

    #popular-blogs-section h2 {
        margin: 16px auto 40px;
        font-weight: bold;
        width: 70%;
        font-size: 40px;
        line-height: 47px;
    }

    #popular-blogs-section > .d-flex {
        gap: 28px;
        margin: 20px auto 36px;
        justify-content: space-around;
    }

    #popular-blogs-section .image-cta-card .card-top {
        height: 192px;
        overflow: clip;
    }

    #popular-blogs-section .image-cta-card .card-bottom {
        padding-top: 20px;
        padding-bottom: 16px;
    }

#comp-hub-section {
    background-image: url('/images/glossary/glossary_comp_hub_cta.png');
    background-position: center;
    background-size: cover;
    padding: 292px 160px 292px;
}

    #comp-hub-section > .d-flex {

    }

    #comp-hub-section .headline {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: 0.34px;
    }

    #comp-hub-section p:not(.headline) {
        font-size: 16px;
        line-height: 24px;
    }

    #comp-hub-section > .d-flex > div:first-of-type {
        flex: 3;
    }

    #comp-hub-section > .d-flex > div:last-of-type {
        flex: 7;
    }

.green-bg-section {
    background: linear-gradient(313deg, #D1E7DD, #FFFFFF);
    padding: 80px 0 calc(80px + 40px);
}


#compensation-solutions-section {
    text-align: center;
    margin-bottom: 160px;
}

    #compensation-solutions-section > .d-flex {
        gap: 28px;
        justify-content: space-around;
        margin: 20px auto 28px;
    }

#whitepapers-section {
    text-align: center;
}

    #whitepapers-section > .d-flex {
        gap: 28px;
        justify-content: space-around;
        padding: 48px 0;
    }

    #whitepapers-section .image-cta-card .card-bottom {
        padding-top: 32px;
        padding-bottom: 24px;
    }

    #compensation-solutions-section h2,
    #whitepapers-section h2 {
        letter-spacing: 0.34px;
        color: #333333;

        font-weight: bold;
    }

    #whitepapers-section h2 {
        font-size: 40px;
        line-height: 47px;
    }

    #compensation-solutions-section h2 {
        font-size: 32px;
        line-height: 38px;
    }

@media (max-width: 767px) {
    .popular-terms-section a:nth-of-type(2n) {
        display: none;
    }
}

@media (max-width: 599px) {
    #popular-blogs-section .image-cta-card:not(:first-of-type),
    #whitepapers-section .image-cta-card:not(:first-of-type) {
        display: none;
    }

    #popular-blogs-section > .d-flex,
    #whitepapers-section > .d-flex,
    #compensation-solutions-section > .d-flex,
    #comp-hub-section > .d-flex {
        flex-direction: column;
    }

    #comp-hub-section {
        padding: 84px 15px 300px;
        background-image: url('/images/glossary/glossary_comp_hub_cta_mobile.png');
    }

    #popular-blogs-section h2 {
        width: 100%;
    }
}

@media (max-width: 400px) {
    #popular-featured-section {
        gap: 32px;
        margin: 32px auto 64px;
    }

    #popular-blogs-section h2 {
        font-size: 32px;
        line-height: 38px;
    }

    #popular-blogs-section .image-cta-card .card-bottom {
        padding: 16px 12px;
    }

        #popular-blogs-section .image-cta-card .card-bottom a {
            font-size: 16px;
            line-height: 22px;
        }

    #popular-blogs-section > .d-flex {
        margin: 40px auto;
    }

    #compensation-solutions-section {
        margin-bottom: 60px;
    }

        #compensation-solutions-section > .d-flex {
            gap: 24px;
        }

    .green-bg-section {
        padding-top: 72px;
        padding-bottom: calc(80px + 40px);
    }

    #whitepapers-section > .d-flex {
        padding: 0 0 40px;
    }

        #whitepapers-section .image-cta-card .card-bottom {
            padding: 28px 24px;
        }

            #whitepapers-section .image-cta-card .card-bottom a {
                font-size: 13px;
                line-height: 18px;
            }

    #whitepapers-section h2 {
        margin: 8px 0 20px;
    }
}