/* Margin Sidenotes — Tufte-style margin citations (v1.0.2) */

.msn-wrap {
    position: relative;
}

/* Inline note spans are hidden; JS moves them into the gutter on wide screens. */
.msn-wrap .msn-note {
    display: none;
}

.msn-marker a {
    text-decoration: none;
    font-size: 0.75em;
    padding: 0 1px;
}

/* Default (and no-JS fallback): numbered endnotes list after the article. */
.msn-footnotes {
    display: block;
    margin-top: 2.5em;
    padding-top: 1em;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    line-height: 1.5;
}
.msn-footnotes li {
    margin-bottom: 0.6em;
}
.msn-fn-back {
    text-decoration: none;
}

/*
 * Wide screens with real room in the right margin: notes hang off the
 * text's right edge. The text column keeps its full width — nothing is
 * squeezed. JS adds .msn-wide only when 260px+ of margin room exists.
 */
.msn-wrap.msn-wide .msn-footnotes {
    display: none;
}
.msn-wrap.msn-wide .msn-gutter {
    position: absolute;
    top: 0;
    left: 100%;
    width: 200px;
    margin-left: 24px;
}
.msn-wrap.msn-wide .msn-gutter .msn-note {
    display: block;
    position: absolute;
    left: 0;
    width: 200px;
    margin: 0;
    padding-left: 12px;
    border-left: 2px solid #c9a227;
    font-size: 13px;
    line-height: 1.5;
    color: #5a5a5a;
}
.msn-wrap.msn-wide .msn-gutter .msn-back {
    text-decoration: none;
    font-weight: 600;
}
