.footnote-reference,
a[href^="#_ftn"]:not([href^="#_ftnref"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    margin: 0 2px;
    border-radius: 50%;
    background: rgba(0, 172, 202, 0.1);
    color: #087e92;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    vertical-align: .35em;
}

.footnote-reference:hover,
.footnote-reference:focus,
a[href^="#_ftn"]:not([href^="#_ftnref"]):hover,
a[href^="#_ftn"]:not([href^="#_ftnref"]):focus {
    background: #00acca;
    color: #fff;
    outline: 0;
}

.footnote-popover {
    position: fixed;
    z-index: 1090;
    width: max-content;
    max-width: min(390px, calc(100vw - 28px));
    padding: 14px 16px;
    border: 1px solid rgba(36, 59, 69, .17);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(20, 42, 51, .2);
    color: #354b54;
    font-family: "Merriweather", serif;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .14s ease, transform .14s ease;
}

.footnote-popover[data-visible="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.footnote-popover__label {
    margin-bottom: 5px;
    color: #087e92;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footnote-popover__content p:last-child,
.footnote-popover__content:last-child {
    margin-bottom: 0;
}

.footnote-popover__content a {
    color: #087e92;
    text-decoration: underline;
}

.question-footnotes {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(36, 59, 69, .14);
    scroll-margin-top: 125px;
}

.question-footnotes h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.question-footnotes ol {
    padding-left: 24px;
    list-style: decimal;
}

.question-footnotes li {
    margin-bottom: 8px;
    color: #536870;
    font-size: 14px;
    line-height: 1.6;
    scroll-margin-top: 125px;
}

.footnote-backlink {
    margin-left: 3px;
    color: #00acca;
    font-weight: 700;
}

a[name^="_ftn"],
a[id^="_ftn"],
[id^="footnote-"] {
    scroll-margin-top: 125px;
}

@media (max-width: 575px) {
    .footnote-popover {
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;
        top: auto !important;
        width: auto;
        max-width: none;
    }
}
