
/* ==========================================================
   ELR ARTICLE DETAIL V2
   Linguazure Scholarly Reading Interface
   ========================================================== */

.elr-article-page{

    --ea-deep:#102f50;
    --ea-navy:#173f69;
    --ea-blue:#315f89;

    --ea-gold:#b08a4a;
    --ea-gold-soft:#c4a66d;

    --ea-ink:#293b48;
    --ea-text:#40545f;
    --ea-muted:#6a7e8b;

    --ea-line:#dfe6eb;
    --ea-paper:#ffffff;
    --ea-mist:#f6f8fa;

    width:100%;

    color:var(--ea-ink);

    background:#fff;
}


/* ==========================================================
   HERO
   ========================================================== */

.elr-article-hero{

    position:relative;

    isolation:isolate;

    overflow:hidden;

    border-top:
        4px solid var(--ea-gold);

    background:

        radial-gradient(
            circle at 82% 25%,
            rgba(102,164,210,.25),
            transparent 40%
        ),

        linear-gradient(
            118deg,
            #102f50 0%,
            #173f69 49%,
            #285d88 100%
        );
}


.elr-article-hero::before{

    content:"";

    position:absolute;

    inset:0;

    z-index:0;

    opacity:.14;

    background:

        linear-gradient(
            90deg,
            rgba(255,255,255,.055) 1px,
            transparent 1px
        ),

        linear-gradient(
            180deg,
            rgba(255,255,255,.04) 1px,
            transparent 1px
        );

    background-size:
        80px 80px;

    pointer-events:none;
}


.elr-article-hero::after{

    content:"ELR";

    position:absolute;

    right:3.5%;
    bottom:-70px;

    z-index:0;

    color:
        rgba(255,255,255,.038);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            150px,
            14vw,
            235px
        );

    font-weight:700;

    line-height:.9;

    letter-spacing:-7px;

    pointer-events:none;
}


.elr-article-hero-width{

    position:relative;

    z-index:2;

    box-sizing:border-box;

    width:calc(100% - 64px);
    max-width:1180px;

    margin:0 auto;

    padding:
        52px
        0
        51px;
}


.elr-article-back{

    display:inline-flex;

    align-items:center;

    margin-bottom:25px;

    color:
        rgba(238,245,250,.68) !important;

    font-size:11px;
    font-weight:700;

    text-decoration:none !important;
}


.elr-article-back:hover{

    color:#fff !important;
}


.elr-article-type{

    display:inline-flex;

    margin:0 0 12px;

    padding:
        4px
        9px;

    border:
        1px solid
        rgba(222,196,143,.55);

    color:#dec48f;

    background:
        rgba(176,138,74,.07);

    font-size:10px;
    font-weight:800;

    letter-spacing:1.45px;

    text-transform:uppercase;
}


.elr-article-main-title{

    max-width:940px;

    margin:0;

    color:#fff !important;

    -webkit-text-fill-color:#fff !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            39px,
            4.2vw,
            58px
        );

    font-weight:400;

    line-height:1.12;

    letter-spacing:-.7px;
}


.elr-article-main-title::after{

    content:"";

    display:block;

    width:78px;
    height:2px;

    margin-top:19px;

    background:

        linear-gradient(
            90deg,
            var(--ea-gold),
            var(--ea-gold-soft),
            transparent
        );
}


/* HERO AUTHORS */

.elr-article-hero-authors{

    max-width:850px;

    margin-top:20px;

    color:
        rgba(255,255,255,.92);

    font-size:15px;
}


.elr-article-hero-authors a{

    color:#fff !important;

    text-decoration-line:
        underline !important;

    text-decoration-color:
        rgba(222,196,143,.75) !important;

    text-underline-offset:
        3px;
}


/* HERO META */

.elr-article-hero-meta{

    display:flex;

    flex-wrap:wrap;

    gap:8px 0;

    max-width:930px;

    margin-top:17px;

    color:
        rgba(229,238,245,.70);

    font-size:11.5px;
}


.elr-article-hero-meta > *{

    display:inline-flex;

    align-items:center;
}


.elr-article-hero-meta > *:not(:last-child)::after{

    content:"";

    display:inline-block;

    width:3px;
    height:3px;

    margin:
        0
        10px;

    border-radius:50%;

    background:#d9c18e;
}


.elr-article-hero-meta a{

    color:
        rgba(244,248,251,.87) !important;

    text-decoration:none !important;
}


/* ==========================================================
   MAIN LAYOUT
   ========================================================== */

.elr-article-layout{

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        300px;

    gap:67px;

    box-sizing:border-box;

    width:calc(100% - 64px);
    max-width:1180px;

    margin:0 auto;

    padding:
        48px
        0
        40px;
}


.elr-article-main{

    min-width:0;
}


.elr-article-section-block{

    max-width:790px;

    padding:
        0
        0
        40px;

    margin:
        0
        0
        40px;

    border-bottom:
        1px solid var(--ea-line);
}


.elr-article-section-block:last-child{

    margin-bottom:0;

    border-bottom:0;
}


.elr-article-section-label{

    margin:
        0
        0
        8px;

    color:var(--ea-gold);

    font-size:10px;
    font-weight:800;

    letter-spacing:1.5px;

    text-transform:uppercase;
}


.elr-article-section-block h2{

    margin:
        0
        0
        18px;

    color:var(--ea-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:29px;
    font-weight:400;

    line-height:1.25;
}


/* ==========================================================
   ABSTRACT
   ========================================================== */

.elr-article-abstract{

    color:#405560;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:17px;

    line-height:1.82;
}


.elr-article-abstract p{

    margin:
        0
        0
        18px;
}


/* ==========================================================
   KEYWORDS
   ========================================================== */

.elr-article-keywords{

    display:flex;

    flex-wrap:wrap;

    gap:7px;

    margin-top:24px;
}


.elr-article-keyword{

    display:inline-flex;

    align-items:center;

    min-height:27px;

    box-sizing:border-box;

    padding:
        4px
        9px;

    border:
        1px solid
        rgba(23,63,105,.14);

    background:#f7f9fa;

    color:#536b79;

    font-size:11px;
}


/* ==========================================================
   ARTICLE BODY
   ========================================================== */

.elr-article-fulltext{

    color:#31434f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:16px;

    line-height:1.82;
}


.elr-article-fulltext h1,
.elr-article-fulltext h2,
.elr-article-fulltext h3,
.elr-article-fulltext h4{

    color:var(--ea-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


.elr-article-fulltext h2{

    margin:
        42px
        0
        16px;

    font-size:27px;
}


.elr-article-fulltext h3{

    margin:
        31px
        0
        12px;

    font-size:21px;
}


.elr-article-fulltext p{

    margin:
        0
        0
        18px;
}


.elr-article-fulltext a{

    color:var(--ea-navy);

    text-decoration-line:underline;

    text-decoration-color:var(--ea-gold);

    text-underline-offset:3px;
}


.elr-article-fulltext blockquote{

    margin:
        27px
        0;

    padding:
        4px
        0
        4px
        22px;

    border-left:
        3px solid var(--ea-gold);

    color:#526875;
}


/* ==========================================================
   SUPPLEMENTARY MATERIALS
   ========================================================== */

.elr-article-supp-list{

    display:grid;

    gap:9px;

    margin:
        20px
        0
        0;

    padding:0;

    list-style:none;
}


.elr-article-supp-list a{

    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:15px;

    padding:
        13px
        15px;

    border:
        1px solid var(--ea-line);

    background:#fafbfc;

    color:var(--ea-navy) !important;

    font-size:12.5px;
    font-weight:700;

    text-decoration:none !important;
}


.elr-article-supp-list a::after{

    content:"↓";

    color:var(--ea-gold);

    font-size:16px;
}


/* ==========================================================
   RIGHTS / DISCLOSURES
   ========================================================== */

.elr-article-note{

    margin-top:20px;

    padding:
        20px
        22px;

    border-left:
        3px solid var(--ea-gold);

    background:#f7f9fa;

    color:#536b79;

    font-size:13.5px;

    line-height:1.7;
}


/* ==========================================================
   SIDEBAR
   ========================================================== */

.elr-article-sidebar{

    position:sticky;

    top:
        calc(
            var(--elr-shell-height,150px)
            + 23px
        );

    align-self:start;

    max-height:
        calc(
            100vh
            - var(--elr-shell-height,150px)
            - 42px
        );

    overflow-y:auto;

    scrollbar-width:thin;
}


.elr-article-side-rule{

    width:100%;
    height:2px;

    margin-bottom:20px;

    background:

        linear-gradient(
            90deg,
            var(--ea-navy) 0 78%,
            var(--ea-gold) 78% 100%
        );
}


.elr-article-side-card{

    padding:
        0
        0
        27px;

    margin:
        0
        0
        25px;

    border-bottom:
        1px solid var(--ea-line);
}


.elr-article-side-card:last-child{

    border-bottom:0;
}


.elr-article-side-kicker{

    margin:
        0
        0
        6px;

    color:#85949d;

    font-size:9.5px;
    font-weight:800;

    letter-spacing:1.4px;

    text-transform:uppercase;
}


.elr-article-side-title{

    margin:
        0
        0
        13px;

    color:var(--ea-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:21px;
    font-weight:400;
}


/* ==========================================================
   DOWNLOADS
   ========================================================== */

.elr-downloads{

    display:grid;

    gap:8px;
}


.elr-download-primary,
.elr-download-view{

    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:15px;

    box-sizing:border-box;

    min-height:42px;

    padding:
        9px
        12px;

    border-radius:2px;

    font-size:11.5px;
    font-weight:800;

    text-decoration:none !important;
}


.elr-download-primary{

    border:
        1px solid var(--ea-navy);

    background:var(--ea-navy);

    color:#fff !important;

    box-shadow:
        inset 0 -2px 0 var(--ea-gold);
}


.elr-download-primary::after{

    content:"↓";

    color:#d9c18e;

    font-size:15px;
}


.elr-download-view{

    border:
        1px solid #ccd7de;

    background:#fff;

    color:var(--ea-navy) !important;
}


.elr-download-view::after{

    content:"↗";

    color:var(--ea-gold);
}


.elr-download-empty{

    color:#788993;

    font-size:12px;
    line-height:1.55;
}


/* ==========================================================
   INFO LIST
   ========================================================== */

.elr-article-info{

    display:grid;

    gap:0;

    margin:0;
}


.elr-article-info-row{

    display:grid;

    grid-template-columns:
        92px
        minmax(0,1fr);

    gap:12px;

    padding:
        9px
        0;

    border-bottom:
        1px solid #edf0f2;

    font-size:11.5px;

    line-height:1.5;
}


.elr-article-info-row:last-child{

    border-bottom:0;
}


.elr-article-info dt{

    color:#83939c;

    font-weight:700;
}


.elr-article-info dd{

    margin:0;

    color:#425967;
}


.elr-article-info a{

    color:var(--ea-navy) !important;

    text-decoration-line:underline !important;

    text-decoration-color:var(--ea-gold) !important;

    text-underline-offset:3px;
}


/* ==========================================================
   AUTHOR DETAIL
   ========================================================== */

.elr-author-details{

    color:#536a78;

    font-size:12.5px;

    line-height:1.6;
}


.elr-author-details a{

    color:var(--ea-navy) !important;

    text-decoration-line:underline !important;

    text-decoration-color:var(--ea-gold) !important;

    text-underline-offset:3px;
}


/* ==========================================================
   CITATION
   ========================================================== */

.elr-citation-text{

    padding:
        15px
        16px;

    border-left:
        3px solid var(--ea-gold);

    background:#f7f9fa;

    color:#526976;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:12.5px;

    line-height:1.65;
}


.elr-citation-actions{

    display:flex;

    gap:12px;

    margin-top:13px;
}


.elr-citation-actions a{

    color:var(--ea-navy) !important;

    font-size:11px;
    font-weight:800;

    text-decoration-line:underline !important;

    text-decoration-color:var(--ea-gold) !important;

    text-underline-offset:3px;
}


/* ==========================================================
   SHARE
   ========================================================== */

.elr-article-share{

    color:#536a78;

    font-size:12px;
}


.elr-article-share h2,
.elr-article-share h3{

    display:none !important;
}


/* ==========================================================
   TOC
   ========================================================== */

.elr-article-toc{

    margin:
        0;

    padding:
        0;

    list-style:none;
}


.elr-article-toc li{

    margin:0;
}


.elr-article-toc a{

    display:block;

    padding:
        6px
        0
        6px
        12px;

    border-left:
        2px solid transparent;

    color:#657987;

    font-size:11.5px;

    line-height:1.45;

    text-decoration:none;
}


.elr-article-toc a:hover{

    color:var(--ea-navy);

    border-left-color:var(--ea-gold);
}


/* ==========================================================
   METRICS
   ========================================================== */

.elr-article-metrics{

    display:flex;

    flex-wrap:wrap;

    gap:7px;

    color:#677d89;

    font-size:11.5px;
}


.elr-article-metric{

    padding:
        5px
        7px;

    background:#f5f8fa;
}


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

.elr-article-page{

    min-height:0 !important;

    margin-bottom:0 !important;
}


body:has(.elr-article-page)
.elr-footer-wrap{

    margin-top:0 !important;
}


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

@media(max-width:960px){

    .elr-article-layout{

        grid-template-columns:1fr;

        gap:38px;
    }


    .elr-article-sidebar{

        position:static;

        order:-1;

        max-height:none;

        overflow:visible;

        display:grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:
            0
            28px;

        padding:
            21px;

        border:
            1px solid var(--ea-line);

        background:#fafbfc;
    }


    .elr-article-side-rule{

        grid-column:
            1 / -1;
    }

}


@media(max-width:680px){

    .elr-article-hero-width,
    .elr-article-layout{

        width:
            calc(100% - 36px);
    }


    .elr-article-hero-width{

        padding:
            39px
            0
            38px;
    }


    .elr-article-main-title{

        font-size:35px;
    }


    .elr-article-layout{

        padding:
            31px
            0
            28px;
    }


    .elr-article-sidebar{

        grid-template-columns:1fr;

        padding:18px;
    }


    .elr-article-section-block h2{

        font-size:25px;
    }


    .elr-article-abstract{

        font-size:16px;
    }

}

/* ELR ARTICLE SIGNATURE V3 START */


/* ==========================================================
   ELR SIGNATURE ARTICLE

   Linguazure Reading Layer

   Blue carries structure.
   Gold marks discovery.
   ========================================================== */


/* ==========================================================
   PAGE PAPER
   ========================================================== */

body:has(.elr-article-page){

    background:
        #f7f9fb;
}


.elr-article-page{

    position:relative;

    background:

        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 70%,
            #f8fafb 100%
        );
}


/* ==========================================================
   ARTICLE HERO — MORE ELR
   ========================================================== */

.elr-article-hero{

    box-shadow:

        inset 0 -1px 0
        rgba(255,255,255,.07),

        0 8px 28px
        rgba(16,47,80,.055);
}


/*
 * Existing ELR watermark remains,
 * syntax watermark becomes the linguistic signature.
 */

.elr-article-syntax-mark{

    position:absolute;

    z-index:1;

    right:
        max(
            5%,
            calc((100vw - 1280px) / 2)
        );

    top:44px;

    display:flex;

    flex-direction:column;

    align-items:center;

    width:135px;

    color:
        rgba(255,255,255,.11);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:15px;

    line-height:1.05;

    letter-spacing:.3px;

    pointer-events:none;

    user-select:none;
}


.elr-article-syntax-mark
.elr-syntax-node{

    display:flex;

    align-items:center;
    justify-content:center;

    min-width:35px;
    min-height:24px;

    padding:1px 6px;

    border:
        1px solid
        rgba(217,193,142,.18);

    border-radius:50%;

    background:
        rgba(255,255,255,.018);
}


.elr-article-syntax-mark
.elr-syntax-edge{

    width:1px;
    height:17px;

    background:

        linear-gradient(
            180deg,
            rgba(217,193,142,.27),
            rgba(255,255,255,.07)
        );
}


/* ==========================================================
   READING RAIL
   ========================================================== */

.elr-article-main{

    position:relative;

    padding-top:5px;
}


.elr-article-main::before{

    content:
        "ELR SCHOLARLY RECORD";

    display:block;

    width:max-content;

    margin:
        0
        0
        28px;

    padding:
        0
        0
        8px;

    border-bottom:
        2px solid #b08a4a;

    color:#173f69;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:9.5px;

    font-weight:800;

    letter-spacing:1.7px;
}


.elr-article-sidebar{

    padding-left:23px;

    border-left:
        1px solid
        rgba(23,63,105,.10);
}


/* ==========================================================
   ABSTRACT — ELR PAPER
   ========================================================== */

.elr-article-section-block#abstract{

    position:relative;

    box-sizing:border-box;

    max-width:790px;

    padding:
        28px
        30px
        30px;

    border:
        1px solid
        rgba(23,63,105,.10);

    border-top:
        4px solid #b08a4a;

    border-left:
        2px solid #173f69;

    background:

        linear-gradient(
            145deg,
            #ffffff 0%,
            #f4f8fa 100%
        );

    box-shadow:

        0 10px 28px
        rgba(16,47,80,.035);
}


.elr-article-section-block#abstract::after{

    content:"ABSTRACT";

    position:absolute;

    right:19px;
    top:14px;

    color:
        rgba(23,63,105,.035);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:47px;

    font-weight:700;

    letter-spacing:-2px;

    pointer-events:none;
}


.elr-article-section-block#abstract
.elr-article-section-label,

.elr-article-section-block#abstract
h2,

.elr-article-section-block#abstract
.elr-article-abstract{

    position:relative;

    z-index:1;
}


.elr-article-section-block#abstract h2{

    margin-bottom:16px;

    font-size:27px;
}


/* ==========================================================
   FULL ARTICLE TYPOGRAPHY
   ========================================================== */

.elr-article-fulltext{

    max-width:780px;

    color:#304450;

    font-size:16.5px;

    line-height:1.86;
}


.elr-article-fulltext > p:first-of-type{

    margin-top:0;
}


.elr-article-fulltext h2{

    position:relative;

    padding-top:5px;
}


.elr-article-fulltext h2::before{

    content:"";

    display:block;

    width:36px;
    height:2px;

    margin-bottom:11px;

    background:

        linear-gradient(
            90deg,
            #173f69,
            #b08a4a
        );
}


.elr-article-fulltext h3{

    color:#274f73;
}


.elr-article-fulltext strong{

    color:#253e50;
}


/* block quotation */

.elr-article-fulltext blockquote{

    position:relative;

    margin:
        28px
        0;

    padding:
        18px
        23px;

    border-left:
        3px solid #b08a4a;

    background:
        linear-gradient(
            90deg,
            rgba(176,138,74,.055),
            rgba(23,63,105,.025)
        );

    color:#4d6573;
}


/* tables */

.elr-article-fulltext table{

    width:100%;

    margin:
        27px
        0;

    border-collapse:collapse;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:13px;
}


.elr-article-fulltext th{

    padding:
        10px
        11px;

    border:
        1px solid #d9e1e6;

    border-top:
        2px solid #173f69;

    background:#f3f7f9;

    color:#173f69;

    text-align:left;
}


.elr-article-fulltext td{

    padding:
        10px
        11px;

    border:
        1px solid #dfe6ea;
}


/* ==========================================================
   SIDEBAR — PUBLICATION CARDS
   ========================================================== */

.elr-article-side-card{

    position:relative;

    margin-bottom:20px;

    padding:
        19px
        18px
        21px;

    border:
        1px solid
        rgba(23,63,105,.10);

    border-top:
        2px solid
        rgba(176,138,74,.88);

    background:

        linear-gradient(
            145deg,
            #ffffff,
            #f7fafb
        );

    box-shadow:

        0 5px 18px
        rgba(16,47,80,.025);
}


.elr-article-side-card:last-child{

    border-bottom:
        1px solid
        rgba(23,63,105,.10);
}


.elr-article-side-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;
    bottom:0;

    width:2px;

    background:
        #173f69;
}


.elr-article-side-title{

    font-size:20px;
}


/* ==========================================================
   DOWNLOAD — ELR BLUE / GOLD
   ========================================================== */

.elr-download-primary{

    transition:

        background-color .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
}


.elr-download-primary:hover{

    background:#214f79;

    transform:
        translateY(-1px);

    box-shadow:

        inset 0 -3px 0 #b08a4a,

        0 5px 12px
        rgba(16,47,80,.08);
}


/* ==========================================================
   AUTHOR DETAILS — REMOVE RAW CLEAN-THEME APPEARANCE
   ========================================================== */

.elr-author-details{

    color:#425967;

    font-size:12.5px;

    line-height:1.55;
}


.elr-author-details ul{

    margin:0 !important;

    padding:0 !important;

    list-style:none !important;
}


.elr-author-details li{

    margin:0 !important;

    padding:
        10px
        0 !important;

    border-bottom:
        1px solid #e7ecef;

    list-style:none !important;
}


.elr-author-details li:last-child{

    border-bottom:0;
}


.elr-author-details li::marker{

    content:"";
}


/*
 * Janeway accessibility helper text:
 * keep available to screen readers,
 * but no longer show as visible prose.
 */

.elr-author-details
.show-for-sr,

.elr-author-details
.sr-only,

.elr-author-details
.visually-hidden,

.elr-author-details
.screen-reader-text{

    position:absolute !important;

    width:1px !important;
    height:1px !important;

    padding:0 !important;

    margin:-1px !important;

    overflow:hidden !important;

    clip:
        rect(0,0,0,0) !important;

    white-space:nowrap !important;

    border:0 !important;
}


.elr-author-details a{

    color:#173f69 !important;

    font-weight:600;

    text-decoration-line:
        underline !important;

    text-decoration-color:
        #b08a4a !important;

    text-decoration-thickness:
        1px !important;

    text-underline-offset:
        3px !important;
}


.elr-author-details
a[href^="mailto:"]{

    display:inline-block;

    margin-top:3px;

    font-weight:500;
}


/* ==========================================================
   CITATION SIDEBAR
   ========================================================== */

.elr-citation-text{

    position:relative;

    border-left:
        3px solid #b08a4a;

    background:

        linear-gradient(
            90deg,
            rgba(176,138,74,.065),
            rgba(23,63,105,.025)
        );
}


.elr-citation-style-actions{

    display:flex;

    flex-wrap:wrap;

    gap:7px;

    margin-top:14px;
}


.elr-citation-style-button{

    min-height:31px;

    padding:
        5px
        9px;

    border:
        1px solid
        rgba(23,63,105,.25);

    border-radius:2px;

    background:#fff;

    color:#173f69;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:10px;

    font-weight:800;

    cursor:pointer;

    box-shadow:
        inset 0 -2px 0 #b08a4a;

    transition:
        background-color .14s ease,
        color .14s ease;
}


.elr-citation-style-button:hover{

    background:#f3f7f9;
}


/* ==========================================================
   JANEWAY CITATION POPUPS
   ========================================================== */

/*
 * Clean-theme reveal/modal elements must be hidden by
 * default. Our JS opens citation dialogs with .elr-open.
 */

body:has(.elr-article-page)
:is(
    .reveal,
    .modal
){

    display:none !important;
}


body:has(.elr-article-page)
.elr-citation-modal.elr-open{

    position:fixed !important;

    inset:0 !important;

    z-index:999999 !important;

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    box-sizing:border-box;

    width:100% !important;
    max-width:none !important;
    height:100% !important;

    margin:0 !important;

    padding:
        28px !important;

    overflow:auto !important;

    background:
        rgba(11,34,56,.68) !important;

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);
}


/*
 * Janeway modal may use different wrappers depending
 * on theme/version.
 */

.elr-citation-modal
.modal-dialog,

.elr-citation-modal
.modal-content,

.elr-citation-modal
.reveal-content{

    box-sizing:border-box;
}


.elr-citation-modal
.modal-dialog{

    width:100%;

    max-width:760px;

    margin:auto;
}


.elr-citation-modal
.modal-content,

.elr-citation-modal.elr-open:not(:has(.modal-content)){

    border:
        1px solid
        rgba(23,63,105,.16);

    border-top:
        5px solid #b08a4a;

    border-radius:3px;

    background:#fff !important;

    color:#31434f;

    box-shadow:

        0 25px 75px
        rgba(7,27,45,.28);
}


/*
 * For Foundation reveal dialogs, the reveal itself is
 * also the white publication panel.
 */

.elr-citation-modal.reveal.elr-open{

    width:
        min(
            760px,
            calc(100% - 44px)
        ) !important;

    height:auto !important;

    max-height:
        calc(100vh - 60px) !important;

    inset:
        50%
        auto
        auto
        50% !important;

    transform:
        translate(-50%,-50%);

    display:block !important;

    padding:
        31px !important;

    background:#fff !important;

    border:
        1px solid
        rgba(23,63,105,.16);

    border-top:
        5px solid #b08a4a;

    box-shadow:

        0 25px 75px
        rgba(7,27,45,.28);
}


/* heading */

.elr-citation-modal h1,
.elr-citation-modal h2,
.elr-citation-modal h3{

    margin:
        0
        0
        20px !important;

    color:#173f69 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size:
        27px !important;

    font-weight:
        400 !important;

    line-height:
        1.25 !important;
}


/* citation prose */

.elr-citation-modal p{

    color:#405764;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:15px;

    line-height:1.75;
}


/* ==========================================================
   COPY BUTTON
   ========================================================== */

.elr-citation-modal
button.elr-copy-button,

.elr-citation-modal
button[data-clipboard-text],

.elr-citation-modal
button[data-clipboard-target]{

    min-width:64px;

    min-height:32px;

    margin-left:7px;

    padding:
        5px
        11px;

    border:
        1px solid #173f69 !important;

    border-radius:
        2px !important;

    background:
        #173f69 !important;

    color:
        #ffffff !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        10.5px !important;

    font-weight:
        800 !important;

    line-height:
        1 !important;

    cursor:pointer;

    box-shadow:
        inset 0 -2px 0 #b08a4a;

    transition:

        background-color .16s ease,
        border-color .16s ease,
        color .16s ease,
        transform .16s ease;
}


/* clicked / copied */

.elr-citation-modal
button.elr-copy-button.is-copied,

.elr-citation-modal
button[data-clipboard-text].is-copied,

.elr-citation-modal
button[data-clipboard-target].is-copied{

    border-color:
        #b08a4a !important;

    background:
        #b08a4a !important;

    color:
        #ffffff !important;

    transform:
        translateY(-1px);

    box-shadow:none;
}


/* ==========================================================
   CLOSE BUTTON
   ========================================================== */

.elr-citation-modal
.elr-modal-close,

.elr-citation-modal
.close-button,

.elr-citation-modal
.close,

.elr-citation-modal
button[data-close],

.elr-citation-modal
button[data-dismiss="modal"]{

    min-height:31px;

    padding:
        5px
        9px;

    border:
        1px solid
        rgba(23,63,105,.17) !important;

    border-radius:2px;

    background:#f7f9fa !important;

    color:#536a78 !important;

    font-size:10px !important;

    font-weight:700;

    cursor:pointer;
}


/* ==========================================================
   CITATION STYLE SWITCH LINKS
   ========================================================== */

.elr-citation-modal a{

    color:#173f69 !important;

    text-decoration-line:
        underline !important;

    text-decoration-color:
        #b08a4a !important;

    text-underline-offset:
        3px !important;
}


/* ==========================================================
   DIALOG LOCK
   ========================================================== */

html.elr-dialog-open,
html.elr-dialog-open body{

    overflow:hidden !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:680px){

    .elr-article-syntax-mark{

        right:-16px;

        top:32px;

        transform:
            scale(.77);

        opacity:.72;
    }


    .elr-article-sidebar{

        padding-left:0;

        border-left:0;
    }


    .elr-article-section-block#abstract{

        padding:
            23px
            21px
            24px;
    }


    .elr-article-section-block#abstract::after{

        font-size:34px;
    }


    body:has(.elr-article-page)
    .elr-citation-modal.elr-open{

        padding:
            18px !important;
    }


    .elr-citation-modal.reveal.elr-open{

        width:
            calc(100% - 28px) !important;

        padding:
            23px !important;
    }

}

/* ELR ARTICLE SIGNATURE V3 END */
