/*
 * ICRP Scholar: ICRP design
 *
 * Standalone stylesheet for the ICRP design, loaded instead of the Modern
 * stylesheets when ICRP design is selected. Colours and typefaces come from
 * the inline token block built from ICRP Design Settings.
 *
 * Every size below uses the type scale (--fs-*) and spacing scale (--sp-*).
 * Do not add one-off sizes: pick the nearest step.
 */

/* ---------- Tokens ---------- */
:root {
    --icrpd-primary: #16244a;
    --icrpd-accent: #9e1b32;
    --icrpd-link: #1d4e9e;
    --icrpd-cover: #16244a;
    --icrpd-sans: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --icrpd-serif: var(--icrpd-sans);
    --icrpd-head-weight: 600;
    --icrpd-heading: #1f1f1f;
    --icrpd-text: #1f1f1f;
    --icrpd-text-2: #3d4250;
    --icrpd-muted: #5c6170;
    --icrpd-rule: #dfe2e8;
    --icrpd-rule-strong: #aeb4c2;
    --icrpd-surface: #f5f6f8;
    --icrpd-white: #fff;
    --icrpd-hand-1: #2e5bd8;
    --icrpd-hand-2: #f29a2e;
    --icrpd-hand-3: #d6337f;
    --icrpd-hand-4: #e04b3a;
    --icrpd-width: 1240px;
    --icrpd-measure: 760px;

    /* Type scale: seven steps, nothing else. */
    --fs-xs: .75rem;     /* 12  labels, cover ISSN */
    --fs-sm: .875rem;    /* 14  meta, breadcrumbs, footer, small links */
    --fs-base: 1rem;     /* 16  body, navigation, buttons */
    --fs-md: 1.125rem;   /* 18  list and card titles, lead text */
    --fs-lg: 1.375rem;   /* 22  section headings */
    --fs-xl: 1.75rem;    /* 28  page titles */
    --fs-2xl: 2.25rem;   /* 36  homepage hero and journal title only */

    /* Spacing scale. */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;
    --sp-8: 64px;
}

/* ---------- Base ---------- */
body.icrpd {
    margin: 0;
    background: var(--icrpd-white);
    color: var(--icrpd-text);
    font-family: var(--icrpd-sans);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
.icrpd *, .icrpd *::before, .icrpd *::after { box-sizing: border-box; }
.icrpd img { max-width: 100%; height: auto; }
.icrpd a { color: var(--icrpd-link); text-underline-offset: .15em; text-decoration-thickness: 1px; }
.icrpd a:hover { color: var(--icrpd-link); text-decoration-thickness: 2px; }
.icrpd :focus-visible { outline: 3px solid var(--icrpd-link); outline-offset: 2px; }
.icrpd h1, .icrpd h2, .icrpd h3, .icrpd h4, .icrpd h5, .icrpd h6 {
    font-family: var(--icrpd-serif);
    color: var(--icrpd-heading);
    font-weight: var(--icrpd-head-weight);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 var(--sp-3);
}
.icrpd h1 { font-size: var(--fs-xl); }
.icrpd h2 { font-size: var(--fs-lg); }
.icrpd h3 { font-size: var(--fs-md); }
.icrpd h4, .icrpd h5, .icrpd h6 { font-size: var(--fs-base); }
.icrpd p { margin: 0 0 var(--sp-4); }
.icrpd strong, .icrpd b { font-weight: 600; }
.icrpd small { font-size: var(--fs-sm); }
.icrpd button, .icrpd input, .icrpd select, .icrpd textarea { font: inherit; color: inherit; }
.icrpd input[type="text"], .icrpd input[type="search"], .icrpd input[type="email"], .icrpd input[type="password"],
.icrpd input[type="number"], .icrpd input[type="url"], .icrpd input[type="tel"], .icrpd input[type="date"],
.icrpd select, .icrpd textarea {
    width: 100%;
    min-height: 42px;
    padding: var(--sp-2) var(--sp-3);
    border: 1px solid var(--icrpd-rule-strong);
    border-radius: 0;
    background: var(--icrpd-white);
    color: var(--icrpd-text);
    font-size: var(--fs-base);
}
.icrpd textarea { min-height: 140px; resize: vertical; }
.icrpd input[type="checkbox"], .icrpd input[type="radio"] { width: 1rem; height: 1rem; accent-color: var(--icrpd-primary); }
.icrpd .pkp_screen_reader, .icrpd .pkp_screen_reader_text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.icrpd .cmp_skip_to_content a {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--icrpd-primary); color: #fff; padding: var(--sp-2) var(--sp-4);
}
.icrpd .cmp_skip_to_content a:focus { left: 1rem; top: 1rem; }
.icrpd table { width: 100%; border-collapse: collapse; margin: 0 0 var(--sp-5); font-size: var(--fs-sm); }
.icrpd th, .icrpd td { border: 1px solid var(--icrpd-rule); padding: var(--sp-2) var(--sp-3); text-align: left; vertical-align: top; }
.icrpd th { background: var(--icrpd-surface); font-weight: 600; }

.icrpd-container { width: min(100% - 40px, var(--icrpd-width)); margin-inline: auto; }

/* ---------- Buttons and links ---------- */
.icrpd-btn, .icrpd .cmp_button, .icrpd button.submit, .icrpd .pkp_button, .icrpd input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
    min-height: 42px; padding: 0 var(--sp-5);
    border: 1px solid var(--icrpd-primary); border-radius: 0;
    background: var(--icrpd-primary); color: #fff !important;
    font-size: var(--fs-base); font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.icrpd-btn:hover, .icrpd .cmp_button:hover, .icrpd button.submit:hover { filter: brightness(1.15); color: #fff; }
.icrpd-btn-accent { background: var(--icrpd-accent); border-color: var(--icrpd-accent); }
.icrpd-btn-outline { background: transparent; color: var(--icrpd-primary) !important; }
.icrpd-btn-outline:hover { background: var(--icrpd-surface); filter: none; color: var(--icrpd-primary) !important; }
.icrpd-btn-light { background: #fff; border-color: #fff; color: var(--icrpd-primary) !important; }
.icrpd-btn-small { min-height: 34px; padding: 0 var(--sp-3); font-size: var(--fs-sm); }
.icrpd-link-more { font-weight: 600; text-decoration: none; }
.icrpd-link-more:hover { text-decoration: underline; }
.icrpd-linkbutton { background: none; border: 0; padding: 0; color: var(--icrpd-link); font-weight: 600; cursor: pointer; }
.icrpd-linkbutton:hover { text-decoration: underline; }
.icrpd-linkbutton[aria-pressed="true"] { color: var(--icrpd-accent); }

/* ---------- Four-colour band ---------- */
.icrpd-band { display: flex; height: 4px; }
.icrpd-band > span { flex: 1 1 0; }
.icrpd-band > span:nth-child(1) { background: var(--icrpd-hand-1); }
.icrpd-band > span:nth-child(2) { background: var(--icrpd-hand-2); }
.icrpd-band > span:nth-child(3) { background: var(--icrpd-hand-3); }
.icrpd-band > span:nth-child(4) { background: var(--icrpd-hand-4); }
.icrpd-no-band .icrpd-band { display: none; }

/* ---------- Top bar ---------- */
.icrpd-topbar { background: var(--icrpd-primary); color: rgba(255, 255, 255, .82); font-size: var(--fs-sm); }
.icrpd-topbar-inner { min-height: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-1) var(--sp-5); }
.icrpd-topbar a { color: #fff; text-decoration: none; }
.icrpd-topbar a:hover { text-decoration: underline; color: #fff; }
.icrpd-user-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); }
.icrpd-user-menu li { position: relative; }
.icrpd-user-menu ul { display: none; position: absolute; right: 0; top: 100%; z-index: 50; list-style: none; margin: 0; padding: var(--sp-2) 0; min-width: 200px; background: #fff; border: 1px solid var(--icrpd-rule); box-shadow: 0 10px 24px rgba(22, 36, 74, .14); }
.icrpd-user-menu li:hover > ul, .icrpd-user-menu li:focus-within > ul { display: block; }
.icrpd-user-menu ul a { display: block; padding: var(--sp-2) var(--sp-4); color: var(--icrpd-text); }
.icrpd-user-menu .task_count { display: inline-block; margin-left: var(--sp-1); padding: 0 6px; background: var(--icrpd-accent); color: #fff; border-radius: 999px; font-size: var(--fs-xs); }

/* ---------- Publisher header ---------- */
.icrpd-header { background: #fff; position: relative; z-index: 40; }
.icrpd-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4) var(--sp-6); min-height: 84px; padding-block: var(--sp-3); }
.icrpd-brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.icrpd a.icrpd-brand, .icrpd a.icrpd-brand:hover { color: var(--icrpd-primary); text-decoration: none; }
.icrpd-brand-logo { max-height: 56px; width: auto; }
.icrpd-brand-logo-only .icrpd-brand-logo { max-height: 60px; max-width: min(380px, 70vw); }
.icrpd-brand-copy { display: flex; flex-direction: column; }
.icrpd-brand-name { font-family: var(--icrpd-serif); font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.icrpd-brand-tagline { font-size: var(--fs-sm); color: var(--icrpd-muted); margin-top: 2px; }
.icrpd-header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); }
.icrpd-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); }
.icrpd-menu > li { position: relative; }
.icrpd-menu a { display: inline-block; padding: var(--sp-2) 0; color: var(--icrpd-text); font-size: var(--fs-base); font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.icrpd-menu a:hover, .icrpd-menu .current > a { color: var(--icrpd-primary); border-bottom-color: var(--icrpd-accent); }
.icrpd-menu ul { display: none; position: absolute; left: 0; top: 100%; z-index: 50; list-style: none; margin: 0; padding: var(--sp-2) 0; min-width: 230px; background: #fff; border: 1px solid var(--icrpd-rule); box-shadow: 0 10px 24px rgba(22, 36, 74, .14); }
.icrpd-menu li:hover > ul, .icrpd-menu li:focus-within > ul { display: block; }
.icrpd-menu ul a { display: block; padding: var(--sp-2) var(--sp-4); border: 0; }
.icrpd-header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }
.icrpd-header-search { display: flex; border: 1px solid var(--icrpd-rule-strong); }
.icrpd-header-search input { border: 0 !important; min-width: 200px; min-height: 40px; font-size: var(--fs-sm); }
.icrpd-header-search button { border: 0; background: var(--icrpd-primary); color: #fff; padding: 0 var(--sp-3); cursor: pointer; }
.icrpd-nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--icrpd-rule); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.icrpd-nav-toggle-bar, .icrpd-nav-toggle-bar::before, .icrpd-nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--icrpd-primary); position: relative; }
.icrpd-nav-toggle-bar::before, .icrpd-nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.icrpd-nav-toggle-bar::before { top: -6px; }
.icrpd-nav-toggle-bar::after { top: 6px; }

/* ---------- Journal masthead ---------- */
.icrpd-masthead { background: var(--icrpd-surface); border-bottom: 1px solid var(--icrpd-rule); }
.icrpd-masthead-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5) var(--sp-6); padding-block: var(--sp-6); }
.icrpd-masthead-cover { flex: 0 0 120px; width: 120px; box-shadow: 0 6px 16px rgba(22, 36, 74, .2); }
.icrpd-masthead-copy { flex: 999 1 440px; min-width: 0; }
.icrpd-masthead-kicker { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); margin: 0 0 var(--sp-2); color: var(--icrpd-muted); font-size: var(--fs-sm); }
.icrpd-masthead-title { font-family: var(--icrpd-serif); font-size: var(--fs-2xl); font-weight: var(--icrpd-head-weight); letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 var(--sp-3); }
.icrpd-masthead-title a { color: var(--icrpd-heading); text-decoration: none; }
.icrpd-masthead-meta, .icrpd-masthead-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); font-size: var(--fs-sm); color: var(--icrpd-text-2); }
.icrpd-masthead-links { margin-top: var(--sp-2); font-weight: 600; }
.icrpd-masthead-actions { flex: 1 1 220px; display: flex; flex-direction: column; gap: var(--sp-2); }
.icrpd-journal-nav { background: #fff; border-top: 1px solid var(--icrpd-rule); }
.icrpd-journal-nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-5); }
.icrpd-journal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); }
.icrpd-journal-menu > li { position: relative; }
.icrpd-journal-menu a { display: inline-block; padding: var(--sp-3) 0 10px; color: var(--icrpd-text); font-size: var(--fs-base); font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.icrpd-journal-menu a:hover, .icrpd-journal-menu .current > a { color: var(--icrpd-primary); border-bottom-color: var(--icrpd-cover); }
.icrpd-journal-menu ul { display: none; position: absolute; left: 0; top: 100%; z-index: 50; list-style: none; margin: 0; padding: var(--sp-2) 0; min-width: 230px; background: #fff; border: 1px solid var(--icrpd-rule); box-shadow: 0 10px 24px rgba(22, 36, 74, .14); }
.icrpd-journal-menu li:hover > ul, .icrpd-journal-menu li:focus-within > ul { display: block; }
.icrpd-journal-menu ul a { display: block; padding: var(--sp-2) var(--sp-4); border: 0; }
.icrpd-journal-search { display: flex; flex: 0 1 300px; min-width: 220px; }
.icrpd-journal-search input { min-height: 38px; border-right: 0; font-size: var(--fs-sm); }
.icrpd-journal-search button { border: 0; background: var(--icrpd-primary); color: #fff; padding: 0 var(--sp-4); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.icrpd-notice { background: #fff6e0; border-bottom: 1px solid #f0d58c; padding: var(--sp-3) 0; font-size: var(--fs-sm); }

/* ---------- Covers ---------- */
.icrpd-cover {
    position: relative; display: flex; flex-direction: column;
    aspect-ratio: 3 / 4.2; overflow: hidden;
    background: var(--icrpd-cover); color: #fff; text-decoration: none;
}
.icrpd a.icrpd-cover, .icrpd a.icrpd-cover:hover, .icrpd a.icrpd-cover:visited { color: #fff; text-decoration: none; }
/* Uploaded covers are shown whole, at their own proportions, never cropped. */
.icrpd-cover.has-image { aspect-ratio: auto; background: transparent; }
.icrpd-dir-item > .icrpd-cover.has-image, .icrpd-masthead-cover.has-image { align-self: flex-start; }
.icrpd-cover img { display: block; width: 100%; height: auto; }
.icrpd-cover-issn { padding: var(--sp-3) var(--sp-3) 0; font-size: var(--fs-xs); opacity: .85; }
.icrpd-cover-title { flex: 1 1 auto; padding: var(--sp-2) var(--sp-3); font-family: var(--icrpd-serif); font-size: var(--fs-base); font-weight: 600; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.icrpd-cover-band { height: 5px; margin-top: auto; }
.icrpd-cover-small .icrpd-cover-title, .icrpd-masthead-cover .icrpd-cover-title, .icrpd-dir-item .icrpd-cover-title { font-size: var(--fs-xs); line-height: 1.3; padding-inline: 10px; }
.icrpd-cover-small .icrpd-cover-issn, .icrpd-masthead-cover .icrpd-cover-issn, .icrpd-dir-item .icrpd-cover-issn { padding-inline: 10px; }
.icrpd-context-publisher .icrpd-tone-1:not(.has-image) { background: var(--icrpd-primary); }
.icrpd-tone-2:not(.has-image) { background: #8e2436; }
.icrpd-tone-3:not(.has-image) { background: #1e5e5a; }
.icrpd-tone-4:not(.has-image) { background: #4e3566; }
.icrpd-tone-5:not(.has-image) { background: #365f2f; }
.icrpd-tone-6:not(.has-image) { background: #6e2626; }

/* ---------- Page structure: one layout for every page ----------
 * Theme pages use .icrpd-pagehead; OJS core and plugin pages (article,
 * issue, search, login, static/custom pages) use .page > h1 or .page_title.
 * Both get the same breadcrumb, title, intro and rule below.
 */
.pkp_structure_content.icrpd-content { width: auto; }
.icrpd-content.has_sidebar { width: min(100% - 40px, var(--icrpd-width)); margin: 0 auto; padding-block: var(--sp-6) var(--sp-8); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-7); }
.icrpd-content:not(.has_sidebar) > .icrpd-main > .page:not([class*="icrpd-"]) {
    width: min(100% - 40px, var(--icrpd-width)); margin: 0 auto; padding-block: var(--sp-6) var(--sp-8);
}

.icrpd-pagehead { padding-top: var(--sp-6); }
.icrpd-pagehead > .icrpd-container { border-bottom: 1px solid var(--icrpd-rule); padding-bottom: var(--sp-4); margin-bottom: var(--sp-6); }
.icrpd-pagehead h1,
.icrpd .page > h1, .icrpd .page > .page_title, .icrpd .page > header > h1 {
    font-size: var(--fs-xl); line-height: 1.2; margin: 0 0 var(--sp-2);
}
.icrpd .page > h1, .icrpd .page > .page_title {
    padding-bottom: var(--sp-4); margin-bottom: var(--sp-6); border-bottom: 1px solid var(--icrpd-rule);
}
.icrpd-pagehead-intro { max-width: var(--icrpd-measure); font-size: var(--fs-base); color: var(--icrpd-text-2); margin: 0; }
.icrpd-pagehead-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0 0; }
.icrpd-breadcrumb, .icrpd .cmp_breadcrumbs ol {
    list-style: none; padding: 0; margin: 0 0 var(--sp-3);
    display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); font-size: var(--fs-sm); color: var(--icrpd-muted);
}
.icrpd-breadcrumb a, .icrpd .cmp_breadcrumbs a { color: var(--icrpd-muted); }
.icrpd .cmp_breadcrumbs .separator { color: var(--icrpd-rule-strong); }

.icrpd-sidebar .pkp_block { margin-bottom: var(--sp-5); padding: var(--sp-4) var(--sp-5); border: 1px solid var(--icrpd-rule); font-size: var(--fs-sm); }
.icrpd-sidebar .pkp_block .title { display: block; font-size: var(--fs-base); font-weight: 600; color: var(--icrpd-heading); margin-bottom: var(--sp-2); }
.icrpd-sidebar .pkp_block ul { list-style: none; padding: 0; margin: 0; }
.icrpd-sidebar .pkp_block li { padding: 6px 0; border-bottom: 1px solid var(--icrpd-surface); }

/* ---------- Sections ---------- */
.icrpd-section { padding-block: var(--sp-7); }
.icrpd-section-tight { padding-block: var(--sp-6); }
.icrpd-section:not(.icrpd-section-surface) + .icrpd-section:not(.icrpd-section-surface) { padding-top: 0; }
.icrpd-section-surface { background: var(--icrpd-surface); border-block: 1px solid var(--icrpd-rule); }
.icrpd-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--sp-2) var(--sp-6); margin-bottom: var(--sp-5); }
.icrpd-section-head h2 { font-size: var(--fs-xl); margin: 0 0 var(--sp-1); }
.icrpd-section-head p { margin: 0; color: var(--icrpd-muted); max-width: 680px; }
.icrpd-section-head-small { margin-bottom: var(--sp-4); }
.icrpd-section-head-small h2 { font-size: var(--fs-lg); }
.icrpd-empty, .icrpd-empty-block { padding: var(--sp-5); background: var(--icrpd-surface); border: 1px dashed var(--icrpd-rule-strong); color: var(--icrpd-muted); margin: 0 0 var(--sp-5); }
.icrpd-empty-block h2, .icrpd-empty-block h3 { font-size: var(--fs-md); }
.icrpd-alert { padding: var(--sp-3) var(--sp-4); border-left: 4px solid var(--icrpd-accent); background: #fbeef0; margin: var(--sp-4) 0; }
.icrpd-help { font-size: var(--fs-sm); color: var(--icrpd-muted); }

/* ---------- Hero (publisher homepage only) ---------- */
.icrpd-hero { background: var(--icrpd-surface); border-bottom: 1px solid var(--icrpd-rule); }
.icrpd-hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-7) var(--sp-8); padding-block: var(--sp-8); }
.icrpd-hero-copy { flex: 999 1 540px; min-width: 0; }
.icrpd-hero-copy h1 { font-size: var(--fs-2xl); line-height: 1.15; margin-bottom: var(--sp-3); max-width: 720px; }
.icrpd-hero-lead { font-size: var(--fs-md); line-height: 1.55; color: var(--icrpd-text-2); max-width: 620px; margin-bottom: var(--sp-5); }
.icrpd-search { display: flex; flex-wrap: wrap; max-width: 700px; background: #fff; border: 1px solid var(--icrpd-rule-strong); }
.icrpd-search select { flex: 0 0 auto; width: auto; min-height: 50px; border: 0; border-right: 1px solid var(--icrpd-rule); font-weight: 500; background: #fff; }
.icrpd-search input { flex: 1 1 240px; min-width: 0; min-height: 50px; border: 0; }
.icrpd-search button { min-height: 50px; padding: 0 var(--sp-5); border: 0; background: var(--icrpd-primary); color: #fff; font-weight: 600; cursor: pointer; }
.icrpd-search button:hover { filter: brightness(1.15); }
.icrpd-hero-links { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); font-weight: 600; }
.icrpd-hero-covers { flex: 1 1 320px; display: flex; justify-content: center; align-items: flex-end; min-height: 250px; padding-left: 40px; }
.icrpd-hero-cover { width: 150px; flex: 0 0 150px; margin-left: -40px; box-shadow: 0 12px 26px rgba(22, 36, 74, .26); }
.icrpd-hero-cover:nth-child(1) { transform: rotate(-6deg) translateY(10px); }
.icrpd-hero-cover:nth-child(2) { transform: translateY(-12px); z-index: 2; }
.icrpd-hero-cover:nth-child(3) { transform: rotate(6deg) translateY(10px); }
.icrpd-hero-cover:only-child { margin-left: 0; transform: none; }
.icrpd-hero-facts { background: #fff; border-top: 1px solid var(--icrpd-rule); }
.icrpd-hero-facts ul { list-style: none; margin: 0; padding: var(--sp-4) 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-7); font-size: var(--fs-sm); color: var(--icrpd-text-2); }
.icrpd-hero-facts strong { font-size: var(--fs-lg); color: var(--icrpd-heading); margin-right: var(--sp-1); }

/* ---------- Journal shelf ---------- */
.icrpd-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--sp-7) var(--sp-5); }
.icrpd-shelf-item { min-width: 0; }
.icrpd-shelf-item .icrpd-cover { box-shadow: 0 6px 16px rgba(22, 36, 74, .16); transition: transform .15s ease, box-shadow .15s ease; }
/* Journals shelf: every cover in the same frame (the text cover's proportions), whatever size the uploaded
   image has; the image fills the frame from the top, so a slightly taller or shorter image loses only a sliver. */
.icrpd-shelf-item .icrpd-cover.has-image { aspect-ratio: 3 / 4.2; }
.icrpd-shelf-item .icrpd-cover.has-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.icrpd-shelf-item:hover .icrpd-cover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(22, 36, 74, .2); }
.icrpd-shelf-item h3 { margin: var(--sp-3) 0 var(--sp-1); font-size: var(--fs-base); line-height: 1.3; }
.icrpd-shelf-item h3 a { color: var(--icrpd-heading); text-decoration: none; }
.icrpd-shelf-item h3 a:hover { text-decoration: underline; color: var(--icrpd-link); }
.icrpd-shelf-meta { display: flex; flex-wrap: wrap; gap: 2px var(--sp-3); margin: 0; font-size: var(--fs-sm); color: var(--icrpd-muted); }
.icrpd-shelf-links { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); margin: var(--sp-2) 0 0; font-size: var(--fs-sm); font-weight: 600; }

/* ---------- Citations and article lists ---------- */
.icrpd-citation { background: transparent; border: 0; border-bottom: 1px solid var(--icrpd-rule); padding: var(--sp-4) 0; margin: 0; }
.icrpd-citation:first-child { padding-top: 0; }
.icrpd-citation-labels { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); margin: 0 0 var(--sp-1); font-size: var(--fs-xs); font-weight: 600; color: var(--icrpd-muted); text-transform: uppercase; letter-spacing: .05em; }
.icrpd-oa { color: var(--icrpd-accent); }
.icrpd-restricted { color: var(--icrpd-muted); }
.icrpd .icrpd-citation-title { font-family: var(--icrpd-serif); font-size: var(--fs-md); font-weight: 600; line-height: 1.35; margin: 0 0 var(--sp-1); }
.icrpd-citation-title a { color: var(--icrpd-link); text-decoration: none; }
.icrpd-citation-title a:hover { text-decoration: underline; }
.icrpd-citation-title .subtitle { display: block; font-size: var(--fs-base); font-weight: 400; color: var(--icrpd-text-2); }
.icrpd-citation-authors { margin: 0; font-size: var(--fs-sm); color: var(--icrpd-text); }
.icrpd-citation-source { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--icrpd-muted); display: block; }
.icrpd-citation-source > * + *::before { content: "\00b7"; display: inline-block; margin: 0 .45em; color: var(--icrpd-muted); text-decoration: none; }
.icrpd-citation-journal { font-style: italic; color: inherit; }
.icrpd-citation-doi { overflow-wrap: anywhere; }
.icrpd-citation-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-4); margin: var(--sp-2) 0 0; font-size: var(--fs-sm); font-weight: 600; }
.icrpd-citation-actions a { text-decoration: none; }
.icrpd-citation-actions a:hover { text-decoration: underline; }
.icrpd-citation-metric { margin-left: auto; font-weight: 400; color: var(--icrpd-muted); }
.icrpd-result-affiliations, .icrpd-result-keywords { font-size: var(--fs-sm); color: var(--icrpd-muted); margin: var(--sp-1) 0 0; }
.icrpd-result-keywords span { font-weight: 600; }
.icrpd-result-abstract { margin-top: var(--sp-2); font-size: var(--fs-sm); }
.icrpd-result-abstract summary { cursor: pointer; font-weight: 600; color: var(--icrpd-link); }
.icrpd-result-abstract div { margin-top: var(--sp-2); color: var(--icrpd-text-2); }

.icrpd-article-summary { display: flex; gap: var(--sp-4); }
.icrpd-article-cover { flex: 0 0 80px; }
.icrpd-article-summary-body { min-width: 0; flex: 1 1 auto; }
.icrpd-galleys, .icrpd .galleys_links { list-style: none; margin: var(--sp-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.icrpd .obj_galley_link, .icrpd .obj_galley_link_supplementary {
    display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 var(--sp-3);
    border: 1px solid var(--icrpd-rule-strong); color: var(--icrpd-primary); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; background: #fff;
}
.icrpd .obj_galley_link:hover { border-color: var(--icrpd-primary); background: var(--icrpd-surface); }
.icrpd .obj_galley_link.restricted { color: var(--icrpd-muted); }
.icrpd .obj_galley_link .purchase_cost { margin-left: var(--sp-1); color: var(--icrpd-accent); }
.icrpd .obj_galley_link.is-disabled { color: var(--icrpd-muted); border-style: dashed; cursor: default; }
.icrpd .obj_galley_link.is-disabled:hover { background: #fff; border-color: var(--icrpd-rule-strong); }

/* Article summary (Novelty port) */
.icrpd-sum-badges { margin: 0 0 var(--sp-2); display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.icrpd-sum-badges .icrpd-badge { font-size: var(--fs-xs); padding: 2px 8px; }
.icrpd-sum-affiliations { margin: var(--sp-1) 0 0; padding-left: 1.4em; font-size: var(--fs-xs); font-style: italic; color: var(--icrpd-muted); }
.icrpd-sum-affiliations li { margin: 0; }
.icrpd-citation-authors sup { font-size: 0.7em; margin-left: 1px; }
.icrpd-sum-meta { line-height: 1.7; }
.icrpd-sum-stat { color: var(--icrpd-muted); white-space: nowrap; }
.icrpd-sum-stat .fa { color: var(--icrpd-accent); margin-right: 2px; }
.icrpd-sum-dimensions { margin-top: var(--sp-2); }
.icrpd-sum-abstract { margin: var(--sp-2) 0 0; font-size: var(--fs-sm); color: var(--icrpd-text-2); line-height: 1.55; }
.icrpd-sum-abstract strong { color: var(--icrpd-heading); font-weight: 600; }
.icrpd-sum-more { margin-left: var(--sp-1); font-weight: 600; white-space: nowrap; }
.icrpd-homepage-image img { display: block; width: 100%; height: auto; }
.icrpd-issue-tabs .icrpd-tablist { margin-bottom: var(--sp-3); }

/* ---------- Tabs ---------- */
.icrpd-tablist { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); border-bottom: 1px solid var(--icrpd-rule-strong); margin-bottom: var(--sp-4); }
.icrpd-tablist [role="tab"] { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: var(--sp-3) 0; font-size: var(--fs-base); font-weight: 600; color: var(--icrpd-muted); cursor: pointer; margin-bottom: -1px; }
.icrpd-tablist [role="tab"][aria-selected="true"] { color: var(--icrpd-heading); border-bottom-color: var(--icrpd-accent); }
.icrpd-tabpanel[hidden] { display: none; }

/* ---------- Research section ---------- */
.icrpd-research-grid { display: flex; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7); align-items: flex-start; }
.icrpd-research-main { flex: 999 1 600px; min-width: 0; }
.icrpd-research-main > .icrpd-btn { margin-top: var(--sp-4); }
.icrpd-research-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-5); }
.icrpd-panel { background: #fff; border: 1px solid var(--icrpd-rule); border-top: 3px solid var(--icrpd-accent); padding: var(--sp-5); font-size: var(--fs-sm); }
.icrpd-panel h2 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.icrpd-panel p { font-size: var(--fs-sm); }
.icrpd-panel-dark { background: var(--icrpd-primary); border-color: var(--icrpd-primary); color: rgba(255, 255, 255, .82); }
.icrpd-panel-dark h2 { color: #fff; }
.icrpd-panel-dark a:not(.icrpd-btn) { color: #fff; }
.icrpd-panel-links, .icrpd-side-links { list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.icrpd-panel-links li, .icrpd-side-links li { padding: var(--sp-2) 0; border-bottom: 1px solid rgba(127, 140, 170, .25); }
.icrpd-side-links a, .icrpd-panel-links a { font-weight: 500; text-decoration: none; }
.icrpd-side-links a:hover, .icrpd-panel-links a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.icrpd-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-5); }
.icrpd-card-grid-wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.icrpd-card { background: #fff; border: 1px solid var(--icrpd-rule); padding: var(--sp-5); font-size: var(--fs-sm); }
.icrpd-card p { font-size: var(--fs-sm); }
.icrpd-card-rule { border-top: 3px solid var(--icrpd-accent); }
.icrpd-card h2, .icrpd-card h3 { font-size: var(--fs-md); }
.icrpd-card h2 a, .icrpd-card h3 a { color: var(--icrpd-heading); text-decoration: none; }
.icrpd-card h2 a:hover, .icrpd-card h3 a:hover { color: var(--icrpd-link); text-decoration: underline; }
.icrpd-card-kicker { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--icrpd-accent); margin-bottom: var(--sp-1); }
.icrpd-announcement-date { font-size: var(--fs-sm); color: var(--icrpd-muted); margin-bottom: var(--sp-1); }
.icrpd-announcement h3 { font-size: var(--fs-md); }
.icrpd-announcement-summary { color: var(--icrpd-text-2); }

/* ---------- Subjects, policies, about, audiences ---------- */
.icrpd-subject-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 0 var(--sp-6); }
.icrpd-subject-list a { display: block; padding: var(--sp-4) 0; border-top: 1px solid var(--icrpd-rule); text-decoration: none; color: var(--icrpd-text); }
.icrpd-subject-name { display: block; font-size: var(--fs-md); font-weight: 600; color: var(--icrpd-heading); }
.icrpd-subject-list a:hover .icrpd-subject-name { text-decoration: underline; color: var(--icrpd-link); }
.icrpd-subject-desc { display: block; font-size: var(--fs-sm); color: var(--icrpd-muted); }
.icrpd-policy-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-6) var(--sp-6); }
.icrpd-policy { border-top: 3px solid var(--icrpd-hand-1); padding-top: var(--sp-4); }
.icrpd-policy.icrpd-hand-2 { border-top-color: var(--icrpd-hand-2); }
.icrpd-policy.icrpd-hand-3 { border-top-color: var(--icrpd-hand-3); }
.icrpd-policy.icrpd-hand-4 { border-top-color: var(--icrpd-hand-4); }
.icrpd-policy h3 { font-size: var(--fs-md); }
.icrpd-policy h3 a { color: var(--icrpd-heading); text-decoration: none; }
.icrpd-policy h3 a:hover { color: var(--icrpd-link); text-decoration: underline; }
.icrpd-policy p { color: var(--icrpd-text-2); font-size: var(--fs-sm); }
.icrpd-about-inner > * { max-width: var(--icrpd-measure); }
.icrpd-about h2 { font-size: var(--fs-xl); }
.icrpd-audiences { background: var(--icrpd-primary); color: rgba(255, 255, 255, .82); font-size: var(--fs-sm); }
.icrpd-audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-6) var(--sp-7); padding-block: var(--sp-8); }
.icrpd-audience h2 { color: #fff; font-size: var(--fs-lg); }
.icrpd-audience a { color: #fff; font-weight: 600; }

/* ---------- Prose: custom pages, about, policies, static pages ---------- */
.icrpd-prose-wrap { padding-bottom: var(--sp-8); }
.icrpd-prose,
.icrpd .page_static, .icrpd .page:not([class*="icrpd-"]):not(.page_article):not(.page_issue):not(.page_issue_archive):not(.page_search) > :not(h1):not(.page_title):not(.cmp_breadcrumbs) {
    max-width: var(--icrpd-measure);
}
.icrpd-prose { font-size: var(--fs-base); line-height: 1.7; }
.icrpd-prose h2, .icrpd .page:not([class*="icrpd-"]) .page_static h2 { margin-top: var(--sp-6); }
.icrpd-prose h3 { margin-top: var(--sp-5); }
.icrpd-prose > :first-child { margin-top: 0; }
.icrpd-prose ul, .icrpd-prose ol { padding-left: 1.4em; }
.icrpd-doc-layout { display: flex; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7); padding-bottom: var(--sp-8); align-items: flex-start; }
.icrpd-doc-nav { flex: 0 1 240px; border-top: 3px solid var(--icrpd-accent); padding-top: var(--sp-3); font-size: var(--fs-sm); }
.icrpd-doc-nav h2 { font-size: var(--fs-base); }
.icrpd-doc-nav ul { list-style: none; padding: 0; margin: 0; }
.icrpd-doc-nav li a { display: block; padding: var(--sp-2) 0; border-bottom: 1px solid var(--icrpd-rule); text-decoration: none; font-weight: 500; }
.icrpd-doc-nav a[aria-current="page"] { color: var(--icrpd-accent); font-weight: 600; }
.icrpd-doc-layout .icrpd-prose { flex: 999 1 560px; min-width: 0; }

/* ---------- Search, filters, results ---------- */
.icrpd-searchbox { margin-bottom: var(--sp-5); }
.icrpd-search-large { max-width: none; }
.icrpd-searchbox-options { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: var(--sp-3) 0; font-size: var(--fs-sm); }
.icrpd-searchbox-options label { display: inline-flex; align-items: center; gap: var(--sp-2); }
.icrpd-advanced { border: 1px solid var(--icrpd-rule); background: var(--icrpd-surface); padding: 0 var(--sp-5); }
.icrpd-advanced summary { cursor: pointer; padding: var(--sp-3) 0; font-weight: 600; color: var(--icrpd-heading); }
.icrpd-advanced[open] { padding-bottom: var(--sp-5); }
.icrpd-advanced-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-4); }
.icrpd-field { display: flex; flex-direction: column; gap: 6px; }
.icrpd-field label { font-weight: 600; font-size: var(--fs-sm); }
.icrpd-field-wide { grid-column: 1 / -1; }
.icrpd-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.icrpd-field-pair label { display: flex; flex-direction: column; gap: var(--sp-1); font-size: var(--fs-sm); }
.icrpd-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
/* OJS search page */
.icrpd-search-page .icrpd-searchbox { margin-bottom: var(--sp-6); }
.icrpd-search-page .icrpd-advanced { margin-top: var(--sp-4); }
.icrpd-search-page fieldset { border: 0; padding: 0; margin: 0; }
.icrpd .icrpd-search-page legend { font-weight: 600; font-size: var(--fs-sm); padding: 0; margin-bottom: 6px; }
.icrpd-search-page .icrpd-date-range fieldset { display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px var(--sp-2); }
.icrpd-search-page .icrpd-date-range label { font-size: var(--fs-xs); font-weight: 400; color: var(--icrpd-muted); }
.icrpd-search-page .icrpd-date-range select { width: 100%; }
.icrpd-search-page .icrpd-advanced-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.icrpd-advanced-actions { margin-top: var(--sp-2); }
.icrpd-results-count { font-size: var(--fs-sm); color: var(--icrpd-muted); margin: 0 0 var(--sp-3); }

.icrpd-results-layout { display: flex; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7); align-items: flex-start; margin-bottom: var(--sp-7); }
.icrpd-filters { flex: 1 1 260px; min-width: 0; font-size: var(--fs-sm); }
.icrpd-filters > form, .icrpd-saved { border: 1px solid var(--icrpd-rule); padding: var(--sp-4) var(--sp-5); background: #fff; margin-bottom: var(--sp-5); }
.icrpd-filters h2, .icrpd-saved h2 { font-size: var(--fs-base); }
.icrpd-filters fieldset { border: 0; border-top: 1px solid var(--icrpd-rule); padding: var(--sp-3) 0 var(--sp-2); margin: 0; }
.icrpd-filters legend { font-weight: 600; padding: 0; margin-bottom: var(--sp-2); }
.icrpd-option { display: flex; align-items: center; gap: var(--sp-2); padding: 3px 0; }
.icrpd-option span { flex: 1 1 auto; }
.icrpd-option small { color: var(--icrpd-muted); font-size: var(--fs-xs); }
.icrpd-saved { font-size: var(--fs-sm); }
.icrpd-saved ul { list-style: none; padding: 0; margin: 0; }
.icrpd-saved li { display: flex; justify-content: space-between; gap: var(--sp-2); padding: 6px 0; border-bottom: 1px solid var(--icrpd-surface); }
.icrpd-results { flex: 999 1 600px; min-width: 0; }
.icrpd-results-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-3) var(--sp-5); padding-bottom: var(--sp-3); margin-bottom: var(--sp-4); border-bottom: 1px solid var(--icrpd-rule-strong); font-size: var(--fs-sm); }
.icrpd-results-count { margin: 0; font-weight: 600; }
.icrpd-results-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.icrpd-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.icrpd-inline-form select { width: auto; min-height: 34px; padding-block: 4px; font-size: var(--fs-sm); }
.icrpd-pagination, .icrpd .cmp_pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: var(--sp-5) 0; font-size: var(--fs-sm); }
.icrpd-pagination a, .icrpd-pagination span, .icrpd .cmp_pagination a, .icrpd .cmp_pagination .current {
    min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
    border: 1px solid var(--icrpd-rule); text-decoration: none; color: var(--icrpd-primary); font-weight: 600;
}
.icrpd-pagination .is-current, .icrpd .cmp_pagination .current { background: var(--icrpd-primary); color: #fff; border-color: var(--icrpd-primary); }
.icrpd-tips { border-top: 1px solid var(--icrpd-rule); padding-block: var(--sp-6) var(--sp-8); }
.icrpd-tips dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-5) var(--sp-6); margin: 0; font-size: var(--fs-sm); }
.icrpd-tips dt { font-weight: 600; color: var(--icrpd-heading); }
.icrpd-tips dd { margin: var(--sp-1) 0 0; color: var(--icrpd-muted); }
.icrpd-filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-3) var(--sp-5); margin-bottom: var(--sp-5); padding: var(--sp-4); border: 1px solid var(--icrpd-rule); background: var(--icrpd-surface); }
.icrpd-filterbar .icrpd-field { flex: 1 1 200px; }
.icrpd-special-page .icrpd-card-grid, .icrpd-special-page .icrpd-empty-block { margin-bottom: var(--sp-8); }

/* ---------- Journal directory ---------- */
.icrpd-stats { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); font-size: var(--fs-sm); color: var(--icrpd-text-2); }
.icrpd-stats strong { font-size: var(--fs-lg); color: var(--icrpd-heading); margin-right: var(--sp-1); }
.icrpd-az { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-bottom: var(--sp-5); font-size: var(--fs-sm); }
.icrpd-az a, .icrpd-az span { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--sp-2); border: 1px solid var(--icrpd-rule); font-weight: 600; text-decoration: none; }
.icrpd-az span { color: #b8bfcd; }
.icrpd-az a.is-current { background: var(--icrpd-primary); color: #fff; border-color: var(--icrpd-primary); }
.icrpd-dir-list { list-style: none; margin: 0; padding: 0; }
.icrpd-dir-item { display: flex; gap: var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--icrpd-rule); }
.icrpd-dir-item:first-child { padding-top: 0; }
.icrpd-dir-item > .icrpd-cover { flex: 0 0 100px; width: 100px; box-shadow: 0 4px 12px rgba(22, 36, 74, .14); }
.icrpd-dir-body { min-width: 0; flex: 1 1 auto; }
.icrpd-dir-body h2 { font-size: var(--fs-md); margin-bottom: var(--sp-1); }
.icrpd-dir-body h2 a { color: var(--icrpd-link); text-decoration: none; }
.icrpd-dir-body h2 a:hover { text-decoration: underline; }
.icrpd-dir-desc { color: var(--icrpd-text-2); font-size: var(--fs-sm); }
.icrpd-dir-meta { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); margin: 0; font-size: var(--fs-sm); }
.icrpd-dir-meta div { display: flex; gap: 6px; }
.icrpd-dir-meta dt { font-weight: 600; }
.icrpd-dir-meta dd { margin: 0; color: var(--icrpd-muted); }

/* ---------- Journal Finder ---------- */
.icrpd-finder-layout { display: flex; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7); align-items: flex-start; padding-bottom: var(--sp-8); }
.icrpd-finder-form { flex: 1 1 380px; display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-5); border: 1px solid var(--icrpd-rule); background: var(--icrpd-surface); }
.icrpd-finder-results { flex: 999 1 520px; min-width: 0; }
.icrpd-finder-list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.icrpd-finder-item { display: flex; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--icrpd-rule); font-size: var(--fs-sm); }
.icrpd-finder-score { flex: 0 0 88px; text-align: center; border: 1px solid var(--icrpd-rule); padding: var(--sp-2) 6px; align-self: flex-start; }
.icrpd-finder-score strong { display: block; font-size: var(--fs-md); color: var(--icrpd-heading); text-transform: capitalize; }
.icrpd-finder-score span { font-size: var(--fs-xs); color: var(--icrpd-muted); }
.icrpd-finder-body { min-width: 0; }
.icrpd-finder-body h3 { font-size: var(--fs-md); }
.icrpd-finder-terms span { font-weight: 600; }

/* ---------- Journal homepage ---------- */
.icrpd-journal-grid { display: flex; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7); align-items: flex-start; padding-block: var(--sp-6) var(--sp-8); }
.icrpd-journal-main { flex: 999 1 620px; min-width: 0; }
.icrpd-journal-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-5); }
.icrpd-jsection { padding-bottom: var(--sp-6); margin-bottom: var(--sp-6); border-bottom: 1px solid var(--icrpd-rule); }
.icrpd-jsection:last-child { border-bottom: 0; }
.icrpd-jabout-lead { font-size: var(--fs-md); line-height: 1.6; color: var(--icrpd-text); }
.icrpd-jabout-links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); font-weight: 600; }
.icrpd-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; margin: var(--sp-4) 0 0; border-top: 1px solid var(--icrpd-rule); border-left: 1px solid var(--icrpd-rule); }
.icrpd-facts > div { padding: var(--sp-3) var(--sp-4); border-right: 1px solid var(--icrpd-rule); border-bottom: 1px solid var(--icrpd-rule); }
.icrpd-facts > div.is-wide { grid-column: 1 / -1; }
.icrpd-facts dt { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--icrpd-muted); }
.icrpd-facts dd { margin: var(--sp-1) 0 0; font-size: var(--fs-sm); font-weight: 500; }
/* Metrics read like a figures row: number above, label below. */
.icrpd-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--icrpd-rule); border-bottom: 1px solid var(--icrpd-rule); }
.icrpd-metrics > div { padding: var(--sp-4) var(--sp-4) var(--sp-4) 0; display: flex; flex-direction: column-reverse; }
.icrpd-metrics dd { margin: 0; font-size: var(--fs-xl); font-weight: 500; line-height: 1.15; color: var(--icrpd-heading); }
.icrpd-metrics dt { margin-bottom: var(--sp-1); font-size: var(--fs-sm); color: var(--icrpd-muted); }
.icrpd-issue-ident { font-weight: 600; color: var(--icrpd-text) !important; }
.icrpd-issue-ident span { font-weight: 400; color: var(--icrpd-muted); }
.icrpd-toc-section { margin-bottom: var(--sp-5); }
.icrpd .icrpd-toc-heading { font-family: var(--icrpd-sans); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--icrpd-muted); border-bottom: 1px solid var(--icrpd-rule-strong); padding-bottom: 6px; margin-bottom: var(--sp-3); }
.icrpd-toc-list, .icrpd .cmp_article_list { list-style: none; margin: 0; padding: 0; }
.icrpd-issue-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: var(--sp-5); font-size: var(--fs-sm); }
.icrpd-issue-shelf .icrpd-cover { box-shadow: 0 4px 12px rgba(22, 36, 74, .14); margin-bottom: var(--sp-2); }
.icrpd-issue-title { display: block; font-weight: 600; text-decoration: none; }
.icrpd-issue-date { font-size: var(--fs-sm); color: var(--icrpd-muted); }
.icrpd-related { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); }
.icrpd-related a { display: flex; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--icrpd-surface); text-decoration: none; }
.icrpd-related img { width: 44px; height: 60px; object-fit: cover; }
.icrpd-related strong { display: block; color: var(--icrpd-heading); }
.icrpd-related small { color: var(--icrpd-muted); font-size: var(--fs-xs); }
.icrpd-promo img { display: block; width: 100%; }

/* ---------- Footer ---------- */
.icrpd-footer { background: var(--icrpd-primary); color: rgba(255, 255, 255, .82); font-size: var(--fs-sm); }
.icrpd-footer a { color: #fff; }
.icrpd-footer-journal { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.icrpd-footer-journal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-3) var(--sp-6); padding-block: var(--sp-5); }
.icrpd-footer-journal-name { font-size: var(--fs-md); font-weight: 600; color: #fff; margin: 0; }
.icrpd-footer-journal-ids { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); margin: var(--sp-1) 0 0; }
.icrpd-footer-journal-publisher { margin: 0; }
.icrpd-footer-grid { display: grid; grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(160px, 1fr)); gap: var(--sp-6) var(--sp-6); padding-block: var(--sp-7) var(--sp-6); }
.icrpd-footer-name { font-size: var(--fs-lg); font-weight: 700; color: #fff; margin: 0 0 var(--sp-2); }
.icrpd-footer-tagline { margin: 0 0 var(--sp-3); }
.icrpd-footer-custom { margin-top: var(--sp-3); }
.icrpd .icrpd-footer h2 { font-family: var(--icrpd-sans); font-size: var(--fs-sm); font-weight: 600; color: #fff; margin: 0 0 var(--sp-3); letter-spacing: 0; }
.icrpd-footer-menu { list-style: none; margin: 0; padding: 0; }
.icrpd-footer-menu li { margin-bottom: var(--sp-2); }
.icrpd-footer-menu a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.icrpd-footer-menu a:hover { color: #fff; text-decoration: underline; }
.icrpd-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); font-size: var(--fs-xs); }
.icrpd-footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2) var(--sp-5); padding-block: var(--sp-4) var(--sp-5); }

/* ---------- OJS core pages ---------- */
.icrpd .cmp_notification { padding: var(--sp-3) var(--sp-4); border-left: 4px solid var(--icrpd-link); background: var(--icrpd-surface); margin: var(--sp-4) 0; font-size: var(--fs-sm); }
.icrpd .cmp_notification.warning { border-left-color: var(--icrpd-hand-2); }
.icrpd .cmp_edit_link { font-size: var(--fs-sm); }

/* Forms (login, register, search, contact) */
.icrpd .cmp_form fieldset { border: 1px solid var(--icrpd-rule); padding: var(--sp-5); margin: 0 0 var(--sp-5); }
.icrpd .cmp_form legend { font-size: var(--fs-md); font-weight: 600; color: var(--icrpd-heading); padding: 0 6px; }
.icrpd .cmp_form .fields > div { margin-bottom: var(--sp-4); }
.icrpd .cmp_form label .label, .icrpd .cmp_form .label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-1); }
.icrpd .cmp_form .required { color: var(--icrpd-accent); }
.icrpd .cmp_form .buttons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }
/* Login / register / password pages: same width and left edge as other pages; only the form is narrower. */
.icrpd .page_login form, .icrpd .page_register form, .icrpd .page_lost_password form, .icrpd .page_reset_password form,
.icrpd .page_login > p, .icrpd .page_register > p, .icrpd .page_lost_password > p { max-width: 760px; }
.icrpd .page_search .search_input input { min-height: 46px; }
.icrpd .page_search .search_advanced { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-3); }
.icrpd .search_results { list-style: none; margin: var(--sp-5) 0 0; padding: 0; }

/* Announcements and highlights */
.icrpd .obj_announcement_full h1 { font-size: var(--fs-xl); margin-bottom: var(--sp-1); }
.icrpd .obj_announcement_full .date, .icrpd .obj_announcement_summary .date { color: var(--icrpd-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.icrpd .cmp_announcements .obj_announcement_summary { border-top: 1px solid var(--icrpd-rule); padding: var(--sp-4) 0; }
.icrpd .obj_announcement_summary h2, .icrpd .obj_announcement_summary h3 { font-size: var(--fs-md); }
.icrpd .highlights, .icrpd .swiper { max-width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .icrpd-footer-grid { grid-template-columns: 1fr 1fr; }
    .icrpd-content.has_sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .icrpd-nav-toggle { display: inline-flex; }
    .icrpd-header-nav { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; padding-bottom: var(--sp-3); }
    .icrpd-header-nav.is-open { display: flex; }
    .icrpd-menu { flex-direction: column; }
    .icrpd-menu ul { position: static; display: block; border: 0; box-shadow: none; padding-left: var(--sp-4); }
    .icrpd-header-search { width: 100%; }
    .icrpd-header-search input { min-width: 0; }
    .icrpd-hero-covers { display: none; }
    .icrpd-masthead-cover { flex-basis: 88px; width: 88px; }
}
@media (max-width: 600px) {
    :root { --fs-2xl: 1.75rem; --fs-xl: 1.5rem; --fs-lg: 1.25rem; }
    .icrpd-section { padding-block: var(--sp-7); }
    .icrpd-hero-inner { padding-block: var(--sp-7); }
    .icrpd-search select, .icrpd-search button { flex: 1 1 100%; border-right: 0; }
    .icrpd-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-4); }
    .icrpd-citation-metric { margin-left: 0; }
    .icrpd-footer-grid { grid-template-columns: 1fr; }
    .icrpd-dir-item > .icrpd-cover { flex-basis: 72px; width: 72px; }
    .icrpd-finder-item { flex-direction: column; }
    .icrpd-article-cover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .icrpd-shelf-item .icrpd-cover { transition: none; }
    .icrpd-shelf-item:hover .icrpd-cover { transform: none; }
}

