﻿.green-bg-section {
    background: linear-gradient(287deg, #D1E7DD, #FFFFFF);
    box-shadow: 0px 3px 6px #00000029;
    padding: 80px 0;
    margin-bottom: 80px;
}

#term-section {

}

    #term-section > div {
        width: 70%;
        margin: 0 auto 16px;
    }

#term-card {
    box-shadow: 0px 0px 6px #00000029;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 36px 56px;
    background-color: #ffffff;

}

.term-label {
    font-size: 32px;
    line-height: 38px;
    font-weight: bold;
    letter-spacing: 0.34px;
    color: #123925;
    margin: 0 auto 8px;
}

.term-definition {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.375;
    margin-bottom: 0px;
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #006940;
    display: inline-block;
    margin-right: 10px;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #006940;
    display: inline-block;
    margin-left: 10px;
}

.term-nav-link,
.term-nav-label {
    font-size: 16px;
    color: #424242;
}

    .term-nav-link {
        color: #006940;
        font-weight: bold;
    }

    .term-nav-label {
        margin: 0 auto;
    }

#term-index-section {
    margin-top: 32px;
    font-size: 16px;
    line-height: 1.4;
}

    #term-index-section > .d-flex > div:first-of-type {
        flex: 1;
    }

    #term-index-section > .d-flex > div:last-of-type {
        flex: 1;
    }

    #term-index-section .table-header {
        border-bottom: solid 1px #333;
        padding-bottom: 8px;
        margin-bottom: 16px;
        font-weight: bold;    
    }

    #term-index-section > .d-flex:not(.table-header) {
        margin-top: 12px;
    }

    #term-index-section a {
        text-decoration: underline;
        color: #123925;
    }

    .term-index-page {
        padding-left: 80px;
    }

#term-nav-section > div:not(:first-of-type):not(:last-of-type) {
    flex: 1;
}

    #term-nav-section > div:not(:first-of-type):not(:last-of-type) a {
        text-decoration: underline;
    }


h2 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: 0.34px;
    color: #333333;
    font-weight: bold;
    margin-bottom: 20px;
}

.two-columns {
    gap: 24px;
}
    .two-columns > div:first-of-type {
        flex: 3;
    }

    .two-columns > div:last-of-type {
        flex: 1;
    }

.image-cta-card {
    width: 32%;
}

#popular-blogs-section > .d-flex,
#compensation-solutions-section > .d-flex,
#whitepapers-section > .d-flex {
    gap: 24px;
    justify-content: space-between;
}

#popular-blogs-section > a.cta-btn,
#compensation-solutions-section > a.cta-btn,
#whitepapers-section > a.cta-btn {
    margin-top: 36px;
}


#popular-blogs-section {
    text-align: center;
    margin-bottom: 40px;
}

    #popular-blogs-section .image-cta-card .card-bottom {
        padding: 16px;
    }

        #popular-blogs-section .image-cta-card .card-bottom a {
            font-size: 16px;
            line-height: 22px;
        }

    #popular-blogs-section .image-cta-card .card-top {
        height: 192px;
        overflow: clip;
    }

#eri-banner-section {
    background-image: url('/images/glossary/glossary_cta_banner.png');
    background-position: center;
    background-size: cover;
    padding: 48px 72px;
    border-radius: 8px;
    margin-bottom: 60px;
}

    #eri-banner-section > .d-flex {
    }

    #eri-banner-section .headline {
        font-size: 32px;
        line-height: 40px;
        color: #005031;
        margin-bottom: 20px;
    }

    #eri-banner-section p:not(.headline) {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 36px;
    }

    #eri-banner-section a.cta-btn {
        text-align: center;
    }

    #eri-banner-section > .d-flex > div:first-of-type {
        flex: 3;
    }

    #eri-banner-section > .d-flex > div:last-of-type {
        flex: 2;
    }


#compensation-solutions-section {
    text-align: center;
    margin-bottom: 56px;
}


#whitepapers-section {
    text-align: center;
    margin-bottom: 172px;
}

    #whitepapers-section .image-cta-card .card-bottom {
        padding: 24px;
    }

    #whitepapers-section .image-cta-card .card-bottom a {
        font-size: 16px;
        line-height: 22px;
    }

    #whitepapers-section h2 {
        margin-bottom: 48px;
        margin-top: 0px;
        font-size: 40px;
        line-height: 47px;
    }

    #whitepapers-section .image-cta-card img {
        height: 380px;
    }



#popular-featured-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


.popular-terms-section {
    padding: 24px 36px;
}

    .popular-terms-section > .d-flex {
        margin-bottom: 32px;
    }


.d-tablet {
    display: none;
}


@media (max-width: 991px) {
   .d-desktop {
       display: none;
   }

   .d-tablet {
       display: block;
   }

    .two-columns {
        flex-direction: column-reverse;
    }

    .d-tablet h2 {
        text-align: center;
    }

    #term-section > div {
        width: 100%;
    }

    #term-index-section > .d-flex > div:first-of-type {
        flex: 2;
    }

    #term-index-section > .d-flex > div:last-of-type {
        flex: 1;
    }
}

@media (max-width: 599px) {
    .green-bg-section {
        margin-bottom: 32px;
        padding: 60px 0 24px 0;
    }

    .two-columns {
        gap: 40px;
    }

    #term-index-section {
        margin-top: 24px;
    }

        #term-index-section p {
            margin-bottom: 24px;
        }

    #popular-blogs-section {
        margin-bottom: 52px;
    }

        #compensation-solutions-section {
            margin-bottom: 60px;
        }

        #whitepapers-section .image-cta-card:not(:first-of-type),
        #popular-blogs-section .image-cta-card:not(:first-of-type) {
            display: none;
        }

    #whitepapers-section {
        margin-bottom: 92px;
    }

    .image-cta-card {
        width: 100%;
    }

        #whitepapers-section .image-cta-card img,
        #popular-blogs-section .image-cta-card img {
            height: auto;
        }

    #compensation-solutions-section .d-flex {
        flex-direction: column;
    }

    #whitepapers-section h2 {
        margin-bottom: 40px;
    }

    #eri-banner-section {
        background-image: url('/images/glossary/glossary_cta_banner_mobile.png');
        padding: 84px 15px 300px;
        margin-left: -15px;
        margin-right: -15px;
    }

        #eri-banner-section > .d-flex > div:last-of-type {
            flex: 0;
        }

        #eri-banner-section .headline,
        #eri-banner-section p:not(.headline) {
            margin-bottom: 16px;
        }

        #eri-banner-section .headline {
            font-size: 24px;
            line-height: 28px;
        }

}

@media (max-width: 400px) {
    .popular-terms-section {
        padding: 16px 24px;
    }

        .popular-terms-section > .d-flex {
            margin-bottom: 24px;
        }

        #term-card {
            padding: 36px 24px;
        }

    #popular-blogs-section .image-cta-card .card-bottom a {
        font-size: 16px;
        line-height: 22px;
    }

    #whitepapers-section .image-cta-card .card-bottom a {
        font-size: 13px;
        line-height: 18px;
    }
}