/* =========================================================
   PSYCHEVALSERVICES FOOTER
========================================================= */

.pes-footer {
    background: #f8f9fb;
    border-top: 1px solid #e5e7eb;
    color: #344054;
}


/* =========================================================
   BRAND
========================================================= */

.pes-footer-eyebrow {
    display: block;
    margin-bottom: .5rem;
    color: var(--bs-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pes-footer-logo {
    color: #101828;
    font-size: 1.65rem;
    font-weight: 700;
}

.pes-footer-lead {
    /*max-width: 440px;*/
    margin-bottom: .85rem;
    color: #475467;
    font-size: .9rem;
    line-height: 1.7;
}

.pes-footer-description {
    /*max-width: 440px;*/
    margin-bottom: 0;
    color: #667085;
    font-size: .82rem;
    line-height: 1.65;
}


/* Powered By */

.pes-footer-powered {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .7rem;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: .5rem;
    color: #667085;
    font-size: .75rem;
}

.pes-powered-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #344054;
    text-decoration: none;
}

.pes-powered-link:hover {
    color: var(--bs-primary);
}

.pes-powered-link i {
    font-size: .65rem;
}


/* =========================================================
   FOOTER NAVIGATION
========================================================= */

.pes-footer-heading {
    margin-bottom: 1rem;
    color: #344054;
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.pes-footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pes-footer-links li {
    margin-bottom: .55rem;
}

.pes-footer-links a {
    color: #667085;
    font-size: .82rem;
    text-decoration: none;
    transition: color .2s ease;
}

.pes-footer-links a:hover {
    color: var(--bs-primary);
}


/* =========================================================
   ORGANIZATIONAL WORKFLOW
========================================================= */

.pes-workflow {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 1rem;
}

.pes-workflow-title {
    margin-bottom: .5rem;
    color: #101828;
    font-size: 1.2rem;
    font-weight: 700;
}

.pes-workflow-description {
    color: #667085;
    font-size: .82rem;
    line-height: 1.6;
}

.pes-workflow-item {
    display: flex;
    gap: .75rem;
    height: 100%;
}

.pes-workflow-number {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(var(--bs-primary-rgb), .08);
    border-radius: 50%;
    color: var(--bs-primary);
    font-size: .78rem;
    font-weight: 700;
}

.pes-workflow-item strong {
    display: block;
    margin-bottom: .2rem;
    color: #344054;
    font-size: .8rem;
}

.pes-workflow-item span {
    display: block;
    color: #667085;
    font-size: .72rem;
    line-height: 1.5;
}


/* =========================================================
   NETWORK
========================================================= */

.pes-footer-divider {
    border-color: #e4e7ec;
    opacity: 1;
}

.pes-network-title {
    margin-bottom: .6rem;
    color: #101828;
    font-size: 1.2rem;
    font-weight: 700;
}

.pes-network-description {
    color: #667085;
    font-size: .83rem;
    line-height: 1.6;
}

.pes-mhi-inline-link {
    color: var(--bs-primary);
    font-weight: 700;
    text-decoration: none;
}

.pes-mhi-inline-link:hover {
    text-decoration: underline;
}

.pes-mhi-learn-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    color: var(--bs-primary);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

.pes-mhi-learn-link:hover {
    text-decoration: underline;
}


/* =========================================================
   NETWORK CARDS
========================================================= */

.pes-network-card {
    position: relative;
    display: block;
    height: 100%;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: .8rem;
    color: inherit;
    text-decoration: none;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

a.pes-network-card:hover {
    border-color: rgba(var(--bs-primary-rgb), .45);
    box-shadow: 0 .35rem 1rem rgba(16, 24, 40, .06);
    transform: translateY(-2px);
}

.pes-network-card.active {
    background: rgba(var(--bs-primary-rgb), .025);
    border-color: rgba(var(--bs-primary-rgb), .55);
}

.pes-network-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.pes-current-badge {
    padding: .25rem .45rem;
    background: rgba(var(--bs-primary-rgb), .09);
    border-radius: 50rem;
    color: var(--bs-primary);
    font-size: .62rem;
    font-weight: 700;
    white-space: nowrap;
}

.pes-network-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: .85rem;
    border-radius: .6rem;
    background: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-primary);
    font-size: 1rem;
}

.pes-network-type {
    display: block;
    margin-bottom: .2rem;
    color: #98a2b3;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.pes-network-card h5 {
    margin-bottom: .4rem;
    color: #101828;
    font-size: .88rem;
    font-weight: 700;
}

.pes-network-card p {
    margin-bottom: .65rem;
    color: #667085;
    font-size: .74rem;
    line-height: 1.5;
}

.pes-network-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--bs-primary);
    font-size: .72rem;
    font-weight: 600;
}


/* =========================================================
   PROFESSIONAL NOTICE
========================================================= */

.pes-footer-notice {
    background: #f1f3f6;
    border-top: 1px solid #e4e7ec;
}

.pes-notice-icon {
    flex: 0 0 auto;
    padding-top: .05rem;
    color: #667085;
}

.pes-footer-notice h6 {
    color: #475467;
    font-size: .78rem;
    font-weight: 700;
}

.pes-footer-notice p {
    max-width: 1100px;
    color: #667085;
    font-size: .73rem;
    line-height: 1.6;
}


/* =========================================================
   BOTTOM
========================================================= */

.pes-footer-bottom {
    background: #fff;
    border-top: 1px solid #e4e7ec;
}

.pes-copyright {
    color: #667085;
    font-size: .73rem;
}

.pes-copyright a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.pes-copyright a:hover {
    color: var(--bs-primary);
}

.pes-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.pes-bottom-links a {
    color: #667085;
    font-size: .73rem;
    text-decoration: none;
}

.pes-bottom-links a:hover {
    color: var(--bs-primary);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .pes-footer-brand {
        max-width: 650px;
    }

}

@media (max-width: 767.98px) {

    .pes-footer-main .container {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .pes-workflow {
        padding: 1.25rem;
    }

    .pes-network-card {
        padding: .9rem;
    }

    .pes-bottom-links {
        gap: .6rem 1rem;
    }

}