#wrapper:has(#legal-page) header {
    z-index: 12;
    position: relative;
}

#content:has(#legal-page) {
    margin-bottom: 120px;
}

    #content:has(#legal-page) .hero-container {
        margin-bottom: 0;
    }

    #content:has(#legal-page) h1 {
        font-size: var(--ng-size-64px);
        line-height: 110%;
        color: var(--ng-color-blue08);
        letter-spacing: -1.28px;
        font-family: var(--ng-font-serif-regular);
        font-weight: 400;
    }

    #content:has(#legal-page) h2 {
        font-family: var(--ng-font-sans-medium);
        color: var(--ng-color-blue08);
        font-weight: 500;
        font-size: var(--ng-size-48px);
        line-height: 120%;
        margin-bottom: 2rem;
    }

    #content:has(#legal-page) h3 {
        font-family: var(--ng-font-sans-medium);
        color: var(--ng-color-blue08);
        font-weight: 500;
        font-size: var(--ng-size-36px);
        line-height: 120%;
    }

    #content:has(#legal-page) p,
    #content:has(#legal-page) ul,
    #content:has(#legal-page) li {
        color: var(--ng-color-blue04);
        font-size: var(--ng-size-18px);
        font-family: var(--ng-font-sans-regular);
        font-weight: 400;
        line-height: 140%;
    }

        #content:has(#legal-page) li:not(.nav-item) {
            margin-bottom: 15px;
            padding-left: 25px;
            list-style: lower-alpha;
            list-style-position: outside;
        }

        #content:has(#legal-page) li ol li {
            list-style: disc;
        }

        #content:has(#legal-page) li ol.roman li {
            list-style: lower-roman;
        }

    #content:has(#legal-page) sup {
        vertical-align: initial;
    }

    #content:has(#legal-page) .hidden,
    #content:has(#legal-page) .fas,
    #content:has(#legal-page) i.fas {
        display: none;
    }

    #content:has(#legal-page) .margin-top100 {
        margin-top: 100px;
    }

#content:has(.certs) .tab-content table,
#content:has(.certs) .tab-content td {
    border: 1px solid #57585b;
}

#content:has(.certs) .tab-content td,
#content:has(.certs) .tab-content th {
    padding: 8px;
}

#content:has(.certs) .tab-content ul li,
.certs li,
.services-patients li {
    list-style: disc !important;
}

#content:has(.certs) .tab-content .decimal li {
    list-style: decimal !important;
}

#content:has(.certs) .component-content > div {
    margin-bottom: 2rem;
}

#content:has(#policy-content) #legal-page ol > li {
    list-style: decimal;
}

#content:has(#policy-content) #legal-page ul > li {
    list-style: disc;
}

#content:has(#policy-content) #legal-page ol.alpha > li {
    list-style: lower-alpha;
}

.content #legal-page .services-patients a:focus {
    border: 1px solid #0a64eb;
    text-decoration: underline;
}

.hero-container h1 {
    text-align: center;
}
