@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-condensed/RobotoCondensed-Variable.woff2") format("woff2");
}

.ej-site {
    --ej-ink: #192440;
    --ej-muted: #52617a;
    --ej-rule: #dce2eb;
    --ej-accent: #a72646;
    --ej-accent-hover: #851c36;
    --ej-paper: #fff;
    --ej-surface: #f6f7fa;
    --ej-serif: Georgia, "Times New Roman", serif;
    --ej-meta-size: .8125rem;
    margin: 0;
    background: var(--ej-surface);
    color: var(--ej-ink);
    font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ej-site *, .ej-site *::before, .ej-site *::after { box-sizing: border-box; }
.ej-site h1, .ej-site h2, .ej-site h3, .ej-site p { margin: 0; }
.ej-site :where(a) { color: inherit; }
.ej-site :where(input, select, button) { font: inherit; }
.ej-site [hidden] { display: none; }
.ej-site :focus-visible { outline: 2px solid var(--ej-accent); outline-offset: 3px; }
.ej-site [id] { scroll-margin-top: 1.25rem; }
.ej-frame { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.ej-sr-only, .ej-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ej-skip { position: absolute; z-index: 3; inset: .75rem auto auto .75rem; padding: .6rem 1rem; background: white; border-radius: .4rem; }

.ej-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--ej-rule);
    background: var(--ej-paper);
    box-shadow: 0 1px 5px #1924400a;
    font-family: "Roboto Condensed", system-ui, sans-serif;
}
.ej-header-inner, .ej-header-branding, .ej-nav { display: flex; flex-wrap: wrap; align-items: center; }
.ej-header-inner { justify-content: space-between; gap: .75rem 1.25rem; width: min(1400px, calc(100% - 2rem)); margin-inline: auto; padding-block: .85rem; }
.ej-header-branding { gap: .75rem; }
.ej-brand img { display: block; width: auto; height: 5rem; max-width: 100%; object-fit: contain; }
.ej-information-link { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border: 1px solid var(--ej-rule); border-radius: .4rem; color: #47546d; font-size: .78rem; font-weight: 750; letter-spacing: .105em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.ej-information-link:hover { border-color: #d4a3b0; color: var(--ej-accent); }
.ej-nav { position: relative; gap: .3rem; }
.ej-nav-link {
    display: inline-flex;
    min-height: 2.55rem;
    align-items: center;
    gap: .45rem;
    padding: .48rem .7rem;
    border: 1px solid transparent;
    border-radius: .4rem;
    color: #33415b;
    font-size: .95rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}
.ej-nav-link:hover, .ej-nav-menu[open] > summary { background: #f7f8fb; color: var(--ej-accent); }
.ej-nav .ej-nav-submit { background: #bd2146; color: #fff; }
.ej-nav .ej-nav-submit:hover { background: #a21a3a; }
.ej-nav-login { border-color: var(--ej-rule); }
.ej-nav-menu { position: relative; }
.ej-nav-menu summary { list-style: none; cursor: pointer; }
.ej-nav-menu summary::-webkit-details-marker { display: none; }
.ej-nav-menu summary i { color: var(--ej-muted); font-size: .7rem; }
.ej-nav-menu[open] summary i { transform: rotate(180deg); }
.ej-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 18rem;
    max-height: min(65vh, 23rem);
    overflow: auto;
    padding: .4rem;
    border: 1px solid var(--ej-rule);
    border-radius: .55rem;
    background: #fff;
    box-shadow: 0 14px 32px #19244024;
}
.ej-nav-menu:last-of-type .ej-nav-dropdown { inset-inline: auto 0; }
.ej-nav-dropdown a { display: flex; align-items: center; gap: .65rem; padding: .5rem; border-radius: .35rem; font-size: .94rem; font-weight: 650; overflow-wrap: anywhere; text-decoration: none; }
.ej-nav-dropdown a:hover, .ej-nav-dropdown a:focus-visible { background: #f7f8fb; color: var(--ej-accent); }
.ej-nav-dropdown a:focus-visible { outline-offset: -2px; }
.ej-nav-journal-icon { display: grid; flex: 0 0 1.85rem; height: 1.85rem; place-items: center; border-radius: .35rem; color: #fff; font-size: .8rem; }
.ej-nav-dropdown p { padding: .6rem; color: var(--ej-muted); }

.ej-intro { border-bottom: 1px solid var(--ej-rule); background: linear-gradient(110deg, #fff 38%, #eef1f8); }
.ej-intro-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.75rem; padding-block: clamp(1.8rem, 4vw, 3rem); }
.ej-intro-copy { flex: 1 1 32rem; min-width: 0; padding-inline-start: 1.1rem; border-inline-start: 3px solid var(--ej-accent); }
.ej-intro h1 { font: 400 clamp(1.875rem, 3.5vw, 2.625rem)/1.15 var(--ej-serif); letter-spacing: -.025em; }
.ej-intro p { margin-top: .65rem; color: var(--ej-muted); font-size: clamp(.92rem, 1.6vw, 1rem); }

.ej-main { padding-block: 2rem 3.75rem; }
.ej-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem); gap: clamp(1.4rem, 2.8vw, 2.25rem); align-items: start; }
.ej-catalogue, .ej-sidebar { min-width: 0; }
.ej-catalogue h2, .ej-sidebar h2, .ej-submission h2 { font: 400 1.75rem/1.2 var(--ej-serif); letter-spacing: -.025em; }
.ej-catalogue h2 { width: fit-content; margin-bottom: 1.1rem; font-size: 2rem; }
.ej-sidebar { display: grid; gap: 1.75rem; }
.ej-sidebar-section h2 { margin-bottom: 1rem; }
.ej-sidebar-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.ej-sidebar-heading .ej-text-link { white-space: nowrap; }

.ej-filters { padding: 1.15rem; border: 1px solid var(--ej-rule); border-radius: .75rem; background: var(--ej-paper); box-shadow: 0 2px 7px #19244007; }
.ej-filters label { display: block; margin-bottom: .35rem; color: var(--ej-muted); font-size: .79rem; font-weight: 700; }
.ej-filters .ej-search-field label { color: var(--ej-ink); font-size: .91rem; }
.ej-search-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.ej-search-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.ej-search-input { position: relative; }
.ej-search-input i { position: absolute; top: 50%; left: .9rem; transform: translateY(-50%); color: var(--ej-muted); pointer-events: none; }
.ej-search-input input, .ej-filters select {
    width: 100%;
    min-height: 2.7rem;
    border: 1px solid #c6d0df;
    border-radius: .45rem;
    background: #fff;
    color: var(--ej-ink);
    font-size: .875rem;
}
.ej-search-input input { min-height: 2.95rem; padding: .6rem .8rem .6rem 2.55rem; }
.ej-search-input input::placeholder { color: #5a6a86; }
.ej-filters select { padding: .25rem .45rem; }
.ej-filter-grid { display: grid; grid-template-columns: minmax(9.5rem, 1.8fr) 1fr 1fr minmax(7.25rem, 1.15fr) auto; gap: .65rem; align-items: end; margin-top: .95rem; }
.ej-filter-grid > div { min-width: 0; }
.ej-filter-actions, .ej-submission-actions { display: flex; align-items: center; gap: .45rem; }
.ej-filter-toggle { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; margin-bottom: .25rem; padding: 0 .35rem; border: 0; border-radius: .3rem; background: transparent; color: var(--ej-accent); font-size: .83rem; font-weight: 650; cursor: pointer; }
.ej-filter-toggle:hover { background: #fff5f8; }
.ej-filter-toggle span { padding-inline: .28rem; border-radius: .25rem; background: #f7e5eb; }

.ej-button {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .5rem .8rem;
    border: 1px solid transparent;
    border-radius: .45rem;
    font: 650 .84rem/1.2 system-ui, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.ej-button-primary, .ej-button-accent { color: #fff; }
.ej-button-primary { background: var(--ej-ink); }
.ej-button-primary:hover { background: #293b64; }
.ej-button-accent { background: var(--ej-accent); }
.ej-button-accent:hover { background: var(--ej-accent-hover); }
.ej-button-secondary { border-color: var(--ej-rule); background: var(--ej-paper); }
.ej-button-secondary:hover { border-color: #bcc9dd; background: #f3f6fb; }
.ej-button-quiet { background: transparent; color: var(--ej-muted); }
.ej-button-quiet:hover { background: var(--ej-surface); color: var(--ej-ink); }
.ej-button-file { min-height: 2.4rem; border-color: #ead2db; background: #fff5f8; color: var(--ej-accent); }
.ej-button-file:hover { border-color: #d9a1b0; background: #ffedf3; }
.ej-text-link { color: var(--ej-accent); font-size: .83rem; font-weight: 650; text-underline-offset: .2em; }
.ej-text-link:hover { color: var(--ej-accent-hover); }

.ej-tabs { display: flex; gap: clamp(.6rem, 2vw, 1.4rem); border-bottom: 1px solid var(--ej-rule); margin-block: 1.15rem .85rem; }
.ej-tabs a { display: inline-flex; align-items: center; gap: .37rem; padding: .65rem .25rem; border-bottom: 2px solid transparent; color: var(--ej-muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.ej-tabs a:hover, .ej-tabs a[aria-current="page"] { color: var(--ej-accent); }
.ej-tabs a[aria-current="page"] { border-color: var(--ej-accent); }
.ej-tabs span { min-width: 1.35rem; padding: .05rem .28rem; border-radius: .35rem; background: #e8edf5; color: var(--ej-ink); font-size: .73rem; text-align: center; }
.ej-tabs [aria-current="page"] span { background: #f7e5eb; color: var(--ej-accent); }
.ej-site .ej-result-count, .ej-site .ej-message { margin-block: .75rem; color: var(--ej-muted); font-size: .84rem; overflow-wrap: anywhere; }
.ej-result-count { width: fit-content; max-width: 100%; border-radius: .2rem; }
[data-journal-results-body][aria-busy="true"] { opacity: .5; }

.ej-record-list { overflow: hidden; margin: 0; padding: 0; border: 1px solid var(--ej-rule); border-radius: .75rem; background: var(--ej-paper); list-style: none; }
.ej-records { margin: 0; padding: 0; list-style: none; }
.ej-record {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.05fr) minmax(4.6rem, .7fr) 6.15rem;
    gap: .85rem;
    align-items: center;
    padding: .95rem 1rem;
}
.ej-record-labels { padding-block: .65rem; border-bottom: 1px solid var(--ej-rule); background: #eef2f8; color: #415171; font-size: .77rem; font-weight: 700; }
.ej-records .ej-record + .ej-record { border-top: 1px solid var(--ej-rule); }
.ej-records .ej-record:hover { background: #fafbfd; }
.ej-record-title, .ej-record-journal, .ej-record-issue { min-width: 0; overflow-wrap: anywhere; }
.ej-record-title h3, .ej-series-copy h3, .ej-issue-copy strong {
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.35;
    text-wrap: pretty;
}
.ej-site .ej-byline { margin-top: .35rem; color: var(--ej-muted); font-size: .875rem; line-height: 1.45; }
.ej-record-journal { color: var(--ej-muted); font-size: var(--ej-meta-size); line-height: 1.35; }
.ej-record-journal a { text-decoration: none; }
.ej-record-journal a:hover { color: var(--ej-accent); text-decoration: underline; text-underline-offset: .16em; }
.ej-record-issue { display: flex; flex-direction: column; gap: .08rem; color: var(--ej-muted); font-size: var(--ej-meta-size); }
.ej-record-issue strong { color: var(--ej-ink); font-size: .87rem; }
.ej-record-action { text-align: right; }
.ej-record-action .ej-button { padding-inline: .55rem; }
.ej-file-status { color: var(--ej-muted); font-size: .76rem; }
.ej-empty { display: grid; justify-items: center; gap: .45rem; padding: 2rem 1rem; border: 1px solid var(--ej-rule); border-radius: .75rem; background: #fff; text-align: center; }
.ej-empty-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: #f7e5eb; color: var(--ej-accent); }
.ej-empty h3 { font-size: 1rem; }
.ej-empty p { color: var(--ej-muted); font-size: .85rem; }
.ej-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; margin-top: 1rem; color: var(--ej-muted); font-size: .83rem; }
.ej-pagination [aria-disabled="true"] { color: #64748b; opacity: .7; cursor: default; }

.ej-series-list, .ej-journal-results, .ej-issue-list { display: grid; gap: .65rem; }
.ej-journal-results { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: .85rem; }
.ej-series-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .85rem;
    padding: .8rem;
    border: 1px solid var(--ej-rule);
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 2px 6px #19244007;
}
.ej-series-card:focus-within, .ej-series-card:hover { border-color: #bdc9dd; }
.ej-series-card.is-selected { border-color: #cc8c9e; background: #fff9fb; }
.ej-series-cover {
    position: relative;
    display: grid;
    width: 4.5rem;
    aspect-ratio: 4 / 5.2;
    place-items: center;
    overflow: hidden;
    border-radius: .3rem .5rem .5rem .3rem;
    background: linear-gradient(155deg, #ffffff15, #071a3657) var(--ej-series-color, #263a58);
    box-shadow: inset 4px 0 0 #0a10222b;
    color: #fff;
    font-size: 1.15rem;
}
.ej-series-cover::before { position: absolute; inset: .55rem .55rem .55rem .7rem; border-block: 1px solid #ffffff69; content: ""; }
.ej-series-cover img { position: absolute; inset: 0; width: 100%; height: 100%; background: #eef1f7; object-fit: contain; }
.ej-journal-results .ej-series-card { padding: 1rem; }
.ej-journal-results .ej-series-cover { width: 5rem; }
.ej-series-copy { min-width: 0; overflow-wrap: anywhere; }
.ej-series-copy h3 { margin-top: .1rem; }
.ej-series-copy h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem; text-decoration: none; }
.ej-series-copy h3 a:hover { color: var(--ej-accent); text-decoration: underline; text-underline-offset: .2em; }
.ej-series-copy h3 i { color: var(--ej-accent); font-size: .72rem; }
.ej-series-copy .ej-series-meta { margin-top: .25rem; color: var(--ej-muted); font-size: var(--ej-meta-size); }
.ej-series-copy .ej-series-description { margin-top: .4rem; color: var(--ej-muted); font-size: .84rem; }
.ej-series-links { display: flex; flex-wrap: wrap; gap: .15rem .6rem; margin-top: .4rem; color: var(--ej-muted); font-size: .74rem; }
.ej-series-links a { display: inline-flex; min-height: 1.5rem; align-items: center; text-decoration-color: #adb8ca; text-underline-offset: .2em; }
.ej-series-links a:hover { color: var(--ej-accent); text-decoration-color: currentColor; }
.ej-series-list .ej-message, .ej-issue-list .ej-message { margin: 0; padding: .9rem; }
.ej-issue-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding: .75rem .8rem; border: 1px solid var(--ej-rule); border-radius: .6rem; background: #fff; text-decoration: none; }
.ej-issue-link:hover { border-color: #bdc9dd; background: #fafbfd; }
.ej-issue-icon { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .4rem; background: #edf1f8; color: #394963; font-size: .85rem; }
.ej-issue-copy { display: grid; gap: .1rem; min-width: 0; overflow-wrap: anywhere; }
.ej-issue-link:hover strong { color: var(--ej-accent); }
.ej-issue-journal, .ej-issue-meta { color: var(--ej-muted); font-size: var(--ej-meta-size); }
.ej-issue-arrow { color: var(--ej-accent); font-size: .74rem; }

.ej-reader-bar, .ej-publication-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem 1.25rem;
}
.ej-reader-bar { align-items: center; padding-block: .7rem; }
.ej-reader-bar .ej-brand { min-width: 0; }
.ej-reader-bar .ej-brand img { height: clamp(3rem, 5vw, 4rem); }
.ej-reader { padding-block: clamp(1rem, 3vw, 1.75rem) 2rem; }
.ej-publication { overflow: hidden; border: 1px solid var(--ej-rule); border-radius: .75rem; background: var(--ej-paper); }
.ej-publication-header { align-items: flex-start; padding: clamp(1rem, 3vw, 1.5rem); }
.ej-publication-copy { flex: 1 1 28rem; min-width: 0; overflow-wrap: anywhere; }
.ej-publication-copy .ej-publication-journal { margin-bottom: .35rem; color: var(--ej-accent); font-size: var(--ej-meta-size); font-weight: 650; }
.ej-publication-copy h1 {
    max-width: 58ch;
    font: 600 clamp(1.2rem, 1.08rem + .65vw, 1.5rem)/1.25 var(--ej-serif);
    text-wrap: balance;
}
.ej-publication-copy .ej-publication-meta { margin-top: .3rem; color: var(--ej-muted); font-size: var(--ej-meta-size); }
.ej-publication-preview { display: block; width: 100%; height: 75vh; min-height: 28rem; border: 0; border-top: 1px solid var(--ej-rule); background: var(--ej-surface); }

.ej-submission { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 2.6rem; padding: 1.5rem; border: 1px solid var(--ej-rule); border-radius: .75rem; background: #fff; }
.ej-submission p { margin-top: .45rem; color: var(--ej-muted); font-size: .88rem; }
.ej-footer { border-top: 1px solid var(--ej-rule); background: #fff; }
.ej-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem; padding-block: 1.25rem; color: var(--ej-muted); font-size: .8rem; }
.ej-footer a { color: var(--ej-accent); font-weight: 650; text-decoration: none; }
.ej-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1120px) {
    .ej-filter-grid { grid-template-columns: minmax(8.25rem, 1.6fr) repeat(2, minmax(4.65rem, 1fr)) minmax(6.75rem, 1.25fr) auto; }
}

@media (max-width: 900px) {
    .ej-workspace { grid-template-columns: minmax(0, 1fr); }
    .ej-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
    .ej-header-inner { gap: .5rem; padding-block: .6rem; }
    .ej-brand img { height: 3.8rem; }
    .ej-nav { width: 100%; }
    .ej-nav-menu { position: static; }
    .ej-nav-menu .ej-nav-dropdown, .ej-nav-menu:last-of-type .ej-nav-dropdown { inset-inline: 0 auto; width: min(18rem, 100%); }
}

@media (max-width: 660px) {
    .ej-frame { width: calc(100% - 2rem); }
    .ej-header-branding { gap: .5rem; }
    .ej-brand img { height: 3.5rem; }
    .ej-nav { gap: .22rem; }
    .ej-nav-link { min-height: 2.25rem; padding-inline: .47rem; font-size: .86rem; }
    .ej-intro-inner { align-items: flex-start; gap: .75rem; }
    .ej-intro-copy { padding-inline-start: .8rem; }
    .ej-intro-inner > a { min-height: 2.25rem; }
    .ej-main { padding-block: 1.7rem 2.25rem; }
    .ej-catalogue h2 { font-size: 1.65rem; }
    .ej-sidebar { grid-template-columns: minmax(0, 1fr); }
    .ej-filters { padding: .85rem; }
    .ej-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ej-search-input input, .ej-filters select { font-size: 1rem; }
    .ej-search-input input::placeholder { font-size: .83rem; }
    .ej-journal-field { grid-column: 1 / -1; }
    .ej-filter-actions { grid-column: auto; justify-content: flex-end; }
    .ej-filter-actions .ej-button { padding-inline: .55rem; }
    .ej-record-labels { display: none; }
    .ej-records .ej-record { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .65rem; padding: .9rem; }
    .ej-record-title { grid-column: 1 / -1; margin-bottom: .2rem; }
    .ej-record-journal { grid-column: 1; }
    .ej-record-issue { grid-column: 1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem; }
    .ej-record-action { grid-area: 2 / 2 / span 2; align-self: end; }
    .ej-record-action .ej-button { min-height: 2.35rem; }
    .ej-submission { margin-top: 1.75rem; padding: 1rem; }
}

@media (max-width: 355px) {
    .ej-filter-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .ej-sort-field { grid-column: 1 / -1; }
}
