/* ===============================
   EURJIMR  ^`^s Indexing & Infrastructure
   Scoped, safe, upgrade-proof
   =============================== */

.eurjimr-indexing {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.eurjimr-indexing h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.eurjimr-indexing p.disclaimer {
  font-size: 0.9rem;
  color: #555;
  max-width: 800px;
}

.eurjimr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.eurjimr-card {
  border: 1px solid #e0e0e0;
  padding: 1.2rem 1.4rem;
  background: #ffffff;
}

.eurjimr-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.eurjimr-meta {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.eurjimr-status {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2a4b7c;
}

/* === Vertical alignment fix for indexing cards === */

.eurjimr-card {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centering */
  text-align: left;
}

/* Keep logo visually separated but centered */
.eurjimr-card img.eurjimr-logo {
  align-self: center;        /* center logo horizontally */
}

/* Optional: keep status from sticking too close */
.eurjimr-status {
  margin-top: 0.8rem;
}



/* =====================================================================
   EURJIMR homepage refresh (2026-10-31)
   Scoped overrides on top of the default theme. To roll back, restore the
   backup copy of this file (see backups/homepage-redesign-*).
   ===================================================================== */
:root {
  --ej-accent: #7a1f2b;
  --ej-accent-dark: #5e1620;
  --ej-ink: #1f2933;
  --ej-muted: #5b6670;
  --ej-line: #e4dfcd;
  --ej-soft: #fbf7ea;
}

/* ---- Navigation -------------------------------------------------- */
@media (min-width: 992px) {
  .pkp_navigation_primary > li > a { margin-left: .3em; margin-right: .3em; }
  .pkp_navigation_primary > li:first-child > a { margin-left: -0.3em; }
}
.pkp_navigation_primary > li > a:hover { border-color: var(--ej-accent); }
.pkp_navigation_primary > li > a:focus { background: var(--ej-accent); color: #fff; }
.pkp_navigation_primary ul a { white-space: normal; }

/* ---- Homepage: the old banner repeated the journal title ---------- */
.homepage_image { display: none; }

.page_index_journal .homepage_about { margin-top: 0; }
.page_index_journal .homepage_about h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--ej-accent);
  display: inline-block;
}
.homepage_about .eurjimr-lead { font-size: 1.1rem; line-height: 1.75; color: var(--ej-ink); margin: 0 0 1.25rem; }

.homepage_about .eurjimr-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 1.5rem; }
.eurjimr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .55rem 1.2rem; box-sizing: border-box;
  border: 2px solid var(--ej-accent); border-radius: 4px;
  color: var(--ej-accent); background: #fff;
  font-weight: 700; line-height: 1.3; text-decoration: none; text-align: center;
  transition: background .15s, color .15s;
}
.eurjimr-btn:hover, .eurjimr-btn:focus { background: var(--ej-accent); color: #fff; text-decoration: none; }
.eurjimr-btn-primary { background: var(--ej-accent); color: #fff; }
.eurjimr-btn-primary:hover, .eurjimr-btn-primary:focus { background: var(--ej-accent-dark); border-color: var(--ej-accent-dark); }

.homepage_about ul.eurjimr-facts {
  list-style: none; margin: 0 0 1.75rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: .6rem;
}
.homepage_about ul.eurjimr-facts li {
  margin: 0; padding: .7rem .8rem; background: var(--ej-soft);
  border: 1px solid var(--ej-line); border-left: 3px solid var(--ej-accent); border-radius: 4px;
  font-size: .85rem; color: var(--ej-muted); line-height: 1.35;
}
.homepage_about ul.eurjimr-facts li strong { display: block; color: var(--ej-ink); font-size: 1rem; }

.homepage_about h3.eurjimr-subhead { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ej-muted); margin: 0 0 .6rem; }
.homepage_about ul.eurjimr-areas { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.homepage_about ul.eurjimr-areas li {
  margin: 0; padding: .35rem .8rem; border: 1px solid var(--ej-line); border-radius: 999px;
  background: #fff; font-size: .86rem; line-height: 1.4; color: var(--ej-ink);
}
.homepage_about .eurjimr-more { margin: 0; font-weight: 700; }

/* ---- Announcements ------------------------------------------------ */
.pkp_page_index .cmp_announcements { border-color: var(--ej-line); }
.cmp_announcements .obj_announcement_summary .date { color: var(--ej-muted); font-size: .86rem; }

/* ---- Current issue ----------------------------------------------- */
.page_index_journal .current_issue { margin-top: 2rem; }
.page_index_journal .current_issue h2 {
  font-size: 1.5rem; margin: 0 0 .5rem; padding-bottom: .5rem;
  border-bottom: 3px solid var(--ej-accent); display: inline-block;
}
.current_issue .current_issue_title { margin: .75rem 0 1.25rem; font-size: 1.05rem; color: var(--ej-ink); }
.obj_issue_toc .heading { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.obj_issue_toc .heading:before, .obj_issue_toc .heading:after { display: none; }
.obj_issue_toc .heading .cover { float: none; flex: 0 0 160px; width: 160px; margin: 0; }
.obj_issue_toc .heading .cover img { width: 160px; height: auto; border: 1px solid var(--ej-line); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.obj_issue_toc .heading .description { flex: 1 1 280px; margin: 0; }
.obj_issue_toc .heading .pub_id, .obj_issue_toc .heading .published { flex: 1 1 100%; margin: 0; }
.obj_issue_toc .galleys, .obj_issue_toc .section { margin: 0 0 1.5rem; padding: 0; }
.obj_issue_toc .galleys:before, .obj_issue_toc .section:before { display: none; }
.obj_issue_toc .galleys > h3 { display: none; }
.obj_issue_toc .articles { margin-top: 0; }
.obj_issue_toc .articles > li { margin: 0; padding: 0; }
.obj_issue_toc .sections:not(:first-child), .obj_issue_toc .sections { margin-top: 1.25rem; }
.obj_issue_toc .section > h3 {
  font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ej-accent);
  display: block; position: static; left: 0; background: none;
  margin: 0 0 .75rem; padding: 0 0 .4rem; border-bottom: 1px solid var(--ej-line);
}
.obj_issue_toc .section > h3:before, .obj_issue_toc .section > h3:after { display: none; }

.obj_issue_toc .obj_article_summary {
  display: grid; grid-template-columns: 92px 1fr; column-gap: 1.1rem; align-items: start;
  margin: 0 0 .9rem; padding: .9rem; background: #fff;
  border: 1px solid var(--ej-line); border-radius: 6px; transition: box-shadow .15s, border-color .15s;
}
.obj_issue_toc .obj_article_summary:hover { box-shadow: 0 3px 12px rgba(0,0,0,.1); border-color: #cfc7a8; }
.obj_issue_toc .obj_article_summary:before, .obj_issue_toc .obj_article_summary:after { display: none; }
.obj_issue_toc .obj_article_summary:not(:has(.cover)) { grid-template-columns: 1fr; }
.obj_issue_toc .obj_article_summary .cover { grid-column: 1; grid-row: 1 / span 4; margin: 0; float: none; width: auto; }
.obj_issue_toc .obj_article_summary .cover img { width: 92px; max-height: none; height: auto; border: 1px solid var(--ej-line); }
.obj_issue_toc .obj_article_summary > :not(.cover) { grid-column: 2; }
.obj_issue_toc .obj_article_summary:not(:has(.cover)) > * { grid-column: 1; }
.obj_issue_toc .obj_article_summary > .title { font-size: 1.05rem; line-height: 1.45; }
.obj_issue_toc .obj_article_summary .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }

.current_issue a.read_more { margin: .5rem 0 0; }

/* ---- Sidebar ------------------------------------------------------ */
.pkp_structure_sidebar .pkp_block {
  background: #fff; border: 1px solid var(--ej-line); border-radius: 6px;
  padding: 1rem 1.1rem; margin: 0 0 1rem;
}
.pkp_structure_sidebar .pkp_block .title, .pkp_structure_sidebar .pkp_block > h2:not(.pkp_screen_reader) {
  display: block; margin: 0 0 .7rem; padding: 0 0 .4rem; border-bottom: 2px solid var(--ej-accent);
  font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ej-ink);
}
.pkp_structure_sidebar .block_make_submission { padding: 0; border: 0; background: none; }
.pkp_structure_sidebar .block_make_submission_link {
  display: block; width: 100%; box-sizing: border-box; padding: .9rem 1rem; text-align: center;
  background: var(--ej-accent); color: #fff; border: 0; border-radius: 6px; font-weight: 700; font-size: 1rem;
  text-decoration: none; text-shadow: none; box-shadow: 0 2px 6px rgba(122,31,43,.3);
}
.pkp_structure_sidebar .block_make_submission_link:hover, .pkp_structure_sidebar .block_make_submission_link:focus { background: var(--ej-accent-dark); color: #fff; }
#customblock-jornal-information .content { font-size: .86rem; line-height: 1.55; }
#customblock-jornal-information .content p { margin: 0 0 .7rem; }
#customblock-jornal-information .content img { max-width: 100%; height: auto; border-radius: 4px; }
#customblock-crossref .content p { text-align: left !important; }
#customblock-crossref .content { font-size: .84rem; line-height: 1.55; color: var(--ej-muted); }
#customblock-crossref .content img { display: block; width: 130px; max-width: 70%; height: auto; margin: .6rem auto 0; }

.eurjimr-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.eurjimr-index-grid a {
  display: flex; align-items: center; justify-content: center; height: 58px; padding: 6px 8px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--ej-line); border-radius: 4px;
}
.eurjimr-index-grid a:hover { border-color: var(--ej-accent); }
.eurjimr-index-grid img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.eurjimr-index-link { margin: .7rem 0 0; font-size: .84rem; }


/* ---- Browse block: collapsible specialties + filter ----------------- */
.block_browse [hidden] { display: none !important; }
.block_browse.ej-js .ej-controls { margin: 0 0 .6rem; }
.block_browse .ej-controls input[type="search"] {
  width: 100%; box-sizing: border-box; padding: .5rem .65rem; font-size: .88rem;
  border: 1px solid var(--ej-line); border-radius: 4px; background: #fff; min-height: 40px;
}
.block_browse .ej-controls input[type="search"]:focus { outline: 2px solid var(--ej-accent); outline-offset: 1px; }
.block_browse .ej-btnrow { display: flex; gap: .4rem; margin-top: .45rem; }
.block_browse .ej-btnrow button {
  flex: 1; padding: .35rem .5rem; font-size: .78rem; line-height: 1.3; cursor: pointer; min-height: 36px;
  border: 1px solid var(--ej-line); border-radius: 4px; background: var(--ej-soft); color: var(--ej-ink);
}
.block_browse .ej-btnrow button:hover { border-color: var(--ej-accent); }
.block_browse.ej-js li.has_submenu > ul > li:not(.is_sub) { position: relative; padding-left: 1.7rem; }
.block_browse .ej-toggle {
  position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.9rem; padding: 0; margin: 0;
  border: 0; background: none; box-shadow: none; cursor: pointer; color: var(--ej-muted);
}
.block_browse .ej-toggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: .45rem; height: .45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translate(-50%, -72%) rotate(45deg); transition: transform .18s ease;
}
.block_browse .ej-toggle[aria-expanded="true"]::before { transform: translate(-50%, -28%) rotate(-135deg); }
.block_browse .ej-toggle:hover, .block_browse .ej-toggle:focus { background: none; color: var(--ej-accent); }
.block_browse .ej-toggle:focus-visible { outline: 2px solid var(--ej-accent); outline-offset: 1px; border-radius: 3px; }
.block_browse li.ej-open > a { font-weight: 700; }
.block_browse.ej-js li.is_sub { padding-left: .3rem; border-left: 2px solid var(--ej-line); margin-left: 1.7rem; }
@media (min-width: 992px) {
  .block_browse.ej-js li.has_submenu > ul { max-height: 30rem; overflow-y: auto; padding-right: .3rem; overscroll-behavior: contain; }
}

/* ---- Footer -------------------------------------------------------- */
.pkp_structure_footer_wrapper { background: #f1ecd9; border-top: 3px solid var(--ej-accent); }
.pkp_structure_footer .pkp_footer_content { font-size: .88rem; line-height: 1.65; color: var(--ej-ink); padding-top: 1.5rem; padding-bottom: 1rem; }
.pkp_structure_footer .pkp_footer_content p { margin: 0 0 .7rem; }

/* ---- Indexing Status page ------------------------------------------ */
.eurjimr-card img.eurjimr-logo { max-width: 160px; max-height: 64px; width: auto; height: auto; object-fit: contain; margin-bottom: .6rem; }
.eurjimr-card img.eurjimr-logo.subtle { opacity: .85; }
.eurjimr-uak { margin-top: 1rem; }

/* ---- Small screens -------------------------------------------------- */
@media (max-width: 600px) {
  .page_index_journal .homepage_about h2, .page_index_journal .current_issue h2 { font-size: 1.3rem; }
  .homepage_about .eurjimr-lead { font-size: 1rem; line-height: 1.7; }
  .homepage_about .eurjimr-cta { flex-direction: column; }
  .homepage_about .eurjimr-cta .eurjimr-btn { width: 100%; }
  .homepage_about ul.eurjimr-facts { grid-template-columns: repeat(2, 1fr); }
  .homepage_about ul.eurjimr-facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .obj_issue_toc .heading { flex-direction: column; align-items: center; }
  .obj_issue_toc .heading .description, .obj_issue_toc .heading .pub_id, .obj_issue_toc .heading .published { flex-basis: auto; width: 100%; }
  .obj_issue_toc .obj_article_summary { grid-template-columns: 72px 1fr; column-gap: .8rem; padding: .75rem; }
  .obj_issue_toc .obj_article_summary .cover img { width: 72px; }
  .obj_issue_toc .obj_article_summary > .title { font-size: 1rem; }
  .eurjimr-index-grid { grid-template-columns: repeat(3, 1fr); }
  .pkp_structure_sidebar .pkp_block { padding: .9rem; }
  .eurjimr-grid { grid-template-columns: 1fr; }
}

/* Touch devices: larger tap targets in the category browser */
@media (pointer: coarse) {
  .block_browse .ej-toggle { width: 44px; height: 44px; left: -8px; }
  .block_browse.ej-js li.has_submenu > ul > li:not(.is_sub) { padding-left: 2.6rem; min-height: 44px; }
  .block_browse.ej-js li.is_sub { margin-left: 2.6rem; }
  .block_browse .ej-btnrow button, .block_browse .ej-controls input[type="search"] { min-height: 44px; }
  .block_browse li a { display: inline-block; padding: .35rem 0; }
}
@media (pointer: coarse) {
  .cmp_breadcrumbs a { display: inline-block; padding: .65rem .2rem; min-height: 44px; box-sizing: border-box; }
  .cmp_breadcrumbs ol li { display: inline-block; }
}

/* =====================================================================
   Phase 2 (2026-10-31): text pages, masthead, archive, templates, callout
   ===================================================================== */

/* ---- Policy / guideline pages -------------------------------------- */
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page { max-width: 820px; }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page h1,
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page h1.page_title { font-size: 2rem; line-height: 1.25; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 3px solid var(--ej-accent); }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page p { font-size: 1.03rem; line-height: 1.8; color: var(--ej-ink); }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page > p:first-of-type { font-size: 1.12rem; line-height: 1.8; }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page > h2 {
  font-size: 1.4rem; line-height: 1.35; margin: 2.4rem 0 1rem; padding: .6rem .9rem;
  background: var(--ej-soft); border-left: 4px solid var(--ej-accent); border-radius: 0 4px 4px 0; scroll-margin-top: 1rem;
}
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page h3 { font-size: 1.1rem; line-height: 1.4; margin: 1.6rem 0 .5rem; color: var(--ej-ink); scroll-margin-top: 1rem; }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page li { line-height: 1.75; margin: 0 0 .35rem; }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page li > p { margin: 0; }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page ul,
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page ol { padding-left: 1.4rem; }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page li::marker { color: var(--ej-accent); }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page hr { border: 0; border-top: 1px solid var(--ej-line); margin: 1.8rem 0; }
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page p a,
:is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page li a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

.pkp_structure_main .page .cmp_breadcrumbs ol { padding-left: 0; }
.pkp_structure_main .page .cmp_breadcrumbs li { margin: 0; line-height: inherit; }

.ej-doc .ej-card { background: #fff; border: 1px solid var(--ej-line); border-left: 4px solid var(--ej-accent); border-radius: 6px; padding: 1rem 1.25rem; margin: 0 0 .9rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.pkp_structure_main .page.ej-doc .ej-card > h3 { margin: 0 0 .5rem; font-size: 1.08rem; }
.ej-doc .ej-card > :last-child { margin-bottom: 0; }
.ej-doc .ej-card p { margin: 0 0 .6rem; }
.ej-doc .ej-card ul, .ej-doc .ej-card ol { margin: .3rem 0 .6rem; }

.ej-toc { background: var(--ej-soft); border: 1px solid var(--ej-line); border-radius: 6px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.ej-toc-title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ej-accent); margin: 0 0 .5rem; }
.ej-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; counter-reset: toc; }
.ej-toc li { break-inside: avoid; margin: 0; padding: .3rem 0 .3rem 1.9rem; position: relative; counter-increment: toc; line-height: 1.45; font-size: .95rem; }
.ej-toc li::before { content: counter(toc); position: absolute; left: 0; top: .32rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--ej-accent); color: #fff; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ej-toc a { text-decoration: none; }
.ej-toc a:hover { text-decoration: underline; }

/* ---- Editorial masthead ---------------------------------------------- */
.page_masthead h1 { font-size: 2rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 3px solid var(--ej-accent); }
.page_masthead h2 { font-size: 1.3rem; margin: 2.2rem 0 1rem; padding: .55rem .9rem; background: var(--ej-soft); border-left: 4px solid var(--ej-accent); border-radius: 0 4px 4px 0; }
.page_masthead ul.user_listing { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: .85rem; }
.page_masthead ul.user_listing > li {
  margin: 0; padding: .95rem 1.05rem; display: flex; flex-direction: column; gap: .15rem;
  background: #fff; border: 1px solid var(--ej-line); border-top: 3px solid var(--ej-accent); border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.page_masthead .user_listing .name { order: 1; font-weight: 700; font-size: 1.02rem; line-height: 1.4; color: var(--ej-ink); }
.page_masthead .user_listing .affiliation { order: 2; font-size: .88rem; line-height: 1.5; color: var(--ej-muted); }
.page_masthead .user_listing .date_start { order: 3; margin-top: .45rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ej-accent); }
.page_masthead .user_listing .orcid { margin-left: .35rem; }
.page_masthead .user_listing .orcid svg { width: 16px; height: 16px; vertical-align: -2px; }
.page_masthead hr { border: 0; border-top: 1px solid var(--ej-line); margin: 2rem 0; }

/* ---- Archives ---------------------------------------------------------- */
.page_issue_archive h1 { font-size: 2rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 3px solid var(--ej-accent); }
.page_issue_archive ul.issues_archive { list-style: none; margin: 0; padding: 0; border: 0; }
.page_issue_archive ul.issues_archive > li { margin: 0 0 1rem; padding: 0; border: 0; }
.page_issue_archive .obj_issue_summary {
  display: grid; grid-template-columns: 130px 1fr; column-gap: 1.3rem; align-items: start; margin: 0; padding: 1.1rem;
  background: #fff; border: 1px solid var(--ej-line); border-radius: 6px; transition: box-shadow .15s, border-color .15s;
}
.page_issue_archive .obj_issue_summary:hover { box-shadow: 0 3px 12px rgba(0,0,0,.1); border-color: #cfc7a8; }
.page_issue_archive .obj_issue_summary:before, .page_issue_archive .obj_issue_summary:after { display: none; }
.page_issue_archive .obj_issue_summary > .cover { grid-column: 1; grid-row: 1 / span 3; margin: 0; float: none; width: auto; }
.page_issue_archive .obj_issue_summary > .cover img { width: 130px; max-height: none; height: auto; border: 1px solid var(--ej-line); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.page_issue_archive .obj_issue_summary > :not(.cover) { grid-column: 2; }
.page_issue_archive .obj_issue_summary:not(:has(> .cover)) { grid-template-columns: 1fr; }
.page_issue_archive .obj_issue_summary:not(:has(> .cover)) > * { grid-column: 1; }
.page_issue_archive .obj_issue_summary h2 { margin: 0 0 .4rem; font-size: 1.25rem; line-height: 1.3; }
.page_issue_archive .obj_issue_summary .series { font-size: .88rem; font-weight: 400; color: var(--ej-muted); margin-top: .2rem; }
.page_issue_archive .obj_issue_summary .description { font-size: .93rem; line-height: 1.65; color: var(--ej-ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.page_issue_archive .obj_issue_summary .description p { margin: 0; }

/* ---- Manuscript templates --------------------------------------------- */
.ej-tpl-page h2 { font-size: 1.3rem; margin: 2rem 0 .9rem; padding: .55rem .9rem; background: var(--ej-soft); border-left: 4px solid var(--ej-accent); border-radius: 0 4px 4px 0; }
.ej-tpl-page .ej-lead { font-size: 1.08rem; line-height: 1.8; }
ul.ej-tpl-grid { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.1rem; }
.ej-tpl { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ej-line); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.07); transition: box-shadow .15s, transform .15s; }
.ej-tpl:hover { box-shadow: 0 6px 18px rgba(0,0,0,.14); transform: translateY(-2px); }
.ej-tpl-img { display: block; aspect-ratio: 4 / 3.1; overflow: hidden; background: #f3f1e8; border-bottom: 1px solid var(--ej-line); }
.ej-tpl-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ej-tpl-body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1rem; flex: 1; }
.ej-tpl-body h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.ej-tpl-body p { margin: 0 0 .5rem; font-size: .86rem; line-height: 1.55; color: var(--ej-muted); }
.ej-tpl-body .eurjimr-btn { margin-top: auto; min-height: 40px; font-size: .88rem; padding: .4rem .8rem; }
.ej-tpl-note { margin-top: 1.5rem; padding: .9rem 1.1rem; background: var(--ej-soft); border-left: 4px solid var(--ej-accent); border-radius: 0 4px 4px 0; }

/* ---- Homepage call-for-papers strip --------------------------------- */
.homepage_about p.eurjimr-callout { margin: 0 0 1.1rem; padding: .75rem 1rem; background: #fff7e6; border: 1px solid #f0d9a8; border-left: 4px solid #d1902e; border-radius: 4px; font-size: .98rem; line-height: 1.6; }
.homepage_about p.eurjimr-callout a { font-weight: 700; white-space: nowrap; }

/* About page banner */
.page img[src*="call-for-papers"] { display: block; width: 574px; max-width: 100%; height: auto; border-radius: 6px; }

@media (max-width: 600px) {
  .ej-toc ol { columns: 1; }
  :is(body.pkp_op_editorial-policies, body.pkp_op_peer-review, body.pkp_op_privacy, body.pkp_op_index-compliance-statements, body.pkp_op_reviewer-guidelines, body.pkp_page_authorguidelines) .pkp_structure_main .page h1 { font-size: 1.6rem; }
  .ej-doc .ej-card { padding: .85rem 1rem; }
  .page_issue_archive .obj_issue_summary { grid-template-columns: 90px 1fr; column-gap: .9rem; padding: .85rem; }
  .page_issue_archive .obj_issue_summary > .cover img { width: 90px; }
  .page_issue_archive .obj_issue_summary h2 { font-size: 1.1rem; }
  .page_issue_archive .obj_issue_summary .description { -webkit-line-clamp: 4; line-height: 1.55; }
  ul.ej-tpl-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .ej-tpl-body { padding: .7rem .75rem .8rem; }
  .page_masthead ul.user_listing { grid-template-columns: 1fr; }
}
