@font-face {
    font-family: 'Merriweather';
    src: url(../fonts/merriweather/Merriweather-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    src: url(../fonts/merriweather/Merriweather-Italic.ttf);
    font-weight: 400;
    font-display: swap;
    font-style: italic;
}
@font-face {
    font-family: 'Merriweather';
    src: url(../fonts/merriweather/Merriweather-Bold.ttf);
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Merriweather';
    src: url(../fonts/merriweather/Merriweather-BoldItalic.ttf);
    font-weight: 700;
    font-display: swap;
    font-style: italic;
}

.publication-article,
article a,
.publication-article-header p,
.publication-article-header strong:not(.banner strong),
ol li,
ul:not(.menu-dropdown ul) li,
.header-abstract p,
p strong {
    font-family: 'Merriweather', Calibri, serif;
}

.pdf-viewer-pubs * {
    font-family: "Poppins", sans-serif;
}

p strong {
    font-weight: 700;
}

b a, strong a {
    font-weight: 700 !important;
}

.publication-article hr {
    border-top: 1px solid rgba(31,41,55,0.045);
    margin: 8px 0;
}

h1 {
    line-height: 1.4em;
}

h2 {
    line-height: 1.4em;
    font-size: clamp(1.2rem,1.5vw,1.7rem);
    font-weight: 400;
}

.publication-article-header strong:not(.banner strong), .publication-article strong, b, .header-abstract p strong {
    font-weight: 700;
}

.publication-article p,
.publication-article i,
.publication-article a:not(.pdf-viewer-pubs a),
.publication-article ul li,
.table-of-contents ul li,
ol li,
.publication-article-header strong:not(.banner strong),
.publication-article strong,
.publication-article span:not(.pdf-viewer-pubs span),
.footnotes span,
.header-abstract p,
table,
i {
    color: #373d4c;
    line-height: 1.8rem;
    font-size: 0.96rem;
    letter-spacing: 0.015em;
}

table {
    border: 1px solid #c6cbd5;
    border-radius: 11px;
    display: inline-block;
    background-color: rgba(255,255,255,0.17);
    margin: 15px 0;
}

table td {
    vertical-align: top;
}

@media (max-width:1023px) {
    table tbody tr {
        display: table-row;
        border-style: inherit;
    }
    table tbody tr td:not(:last-child) {
        border-bottom-width: 0;
        border-right-width: 1px;
    }
}

ol {
    margin: 1.5em 1.1em 1.5em;
    list-style-type: decimal;
}

ol[type="i"] {
    list-style-type: upper-roman;
}

blockquote:has(> ol, > ul) {
    margin-left: 40px !important;
}

.table-of-contents ul:not(.toc-layer-one) {
    padding-left: 15px;
}

a p {
    display: inline;
}

.publication-article a {
    word-break: break-all;
}

.publication-article a[name*="section"] {
    position: absolute;
}

.publication-article .content_paragraph {
    margin: 20px 0;
    line-height: 1.5em;
}

.publication-article .content_paragraph img {
    position: relative;
    display: block;
    border-radius: 14px;
    margin: 20px 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.publication-article .table-of-contents a {
    word-break: normal;
}

sup {
    vertical-align: baseline;
    position: relative;
    top: -0.5em;
}

.recital {
    float: left;
    margin: 0 3px 0 0;
    color: #9ca3af;
    vertical-align: baseline;
    position: relative;
}

.pagenumber {
    position: relative;
    margin-bottom: 20px;
}

.small-caps {
    font-variant: small-caps;
}

.publication-article .ref-link {
    top: inherit !important;
    left: inherit !important;
    height: 18px;
    width: 18px;
    margin-left: 3px;
    background-image: url(../staticimage/share.svg);
    display: inline-block;
    transform: translate3d(0, 4px, 0);
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.publication-article a.footnote_link {
    color: #10549e !important;
    font-size: 0.75rem !important;
}

.publication-article :is(h1, h2, h3, h4, h5, h6) {
    margin: 1.3em 0 0.8em 0;
}

.publication-article h2 {
    font-size: clamp(1.3rem,1.8vw,2rem);
    line-height: 1.5em;
    margin: 1.2em 0 1em 0;
}

.publication-article h3 {
    font-size: clamp(1.24rem,1.8vw,1.7rem);
    line-height: 1.4em;
    margin: 1.2em 0 1em 0;
}

.publication-article h4 {
    font-size: clamp(1.15rem,1.8vw,1.5rem);
    line-height: 1.6em;
    margin: 1.1em 0 1em 0;
}

.publication-article h5 {
    font-size: clamp(1.1rem,1.8vw,1.35rem);
    margin: 1.1em 0 1em 0;
}

.publication-article h6 {
    font-size: clamp(1.05rem,1.8vw,1.28rem);
    margin: 1.1em 0 1em 0;
}

blockquote {
    font-size: 0.94rem;
    margin: 1em 1.5em 1.5em !important;
    line-height: 1.85rem;
}

.publication-article canvas {
    width: 100% !important;
}

.weblaw-article-login {
    grid-template-columns: 1fr minmax(250px, 300px);
    grid-gap: 40px;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    padding: 30px !important;
    background-color: var(--color-bg-two) !important;
}

.weblaw-article-login p {
    line-height: 1.8;
}

.weblaw-article-login > div {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.weblaw-article-login > div form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.weblaw-article-login > div:first-child {
    align-items: flex-start;
    justify-content: space-between;
}

.weblaw-article-login > div:first-child svg {
    height: 33px;
    width: auto;
}

.weblaw-article-login .weblaw-input-wrap {
    height: 48px;
    max-width: 100%;
}

.weblaw-article-login .weblaw-input-wrap > div {
    margin-right: 0;
    width: 100%;
}

.weblaw-article-login .article-login-button {
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Article footnotes */
ol.footnotes hr {
    border-top: 1px solid #c6cbd5;
    margin: 15px 0;
}

ol.footnotes {
    padding: 14px 0 14px 45px !important;
    font-size: 0.8rem;
    line-height: 1.85em;
    list-style-type: none;
    margin-bottom: 0 !important;
    text-align: left;
    clear: both;
}

ol.footnotes > li {
    position: relative;
    margin-bottom: 5px;
    word-break: break-word;
}

ol.footnotes > li > span.number a {
    position: absolute;
    left: -45px;
    width: 25px;
    text-align: left;
    word-break: normal;
    font-size: 0.8rem;
}