/* =========================================================
   CIJAR theme: dark blue and dark red, after the
   striped arches of Córdoba.
   ========================================================= */
:root {
    --cj-navy: #13284B;
    --cj-navy-deep: #0B1830;
    --cj-navy-soft: #22406F;
    --cj-red: #8B1E2D;
    --cj-red-deep: #6C1521;
    --cj-sand: #E2CFAE;
    --cj-mist: #EEF1F6;
    --cj-ink: #1E2433;
    --cj-muted: #566074;
    --cj-line: #D5DBE5;
    --cj-display: 'Marcellus', Georgia, 'Times New Roman', serif;
    --cj-text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.cj-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; color: var(--cj-navy); padding: 10px 16px; }
.cj-skip:focus { left: 12px; top: 12px; }
.cj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cj-header a:focus-visible, .cj-header button:focus-visible,
.cj a:focus-visible, .cj button:focus-visible, .cj input:focus-visible, .cj summary:focus-visible,
.cj-footer a:focus-visible {
    outline: 2px solid var(--cj-red);
    outline-offset: 3px;
}

/* Striped band: red and sandstone, like the arch voussoirs */
.cj-stripe {
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--cj-red) 0 18px, var(--cj-sand) 18px 36px);
}

/* ---------- Buttons ---------- */
.cj-btn {
    display: inline-block;
    padding: 12px 22px;
    font: 600 15px/1.2 var(--cj-text);
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cj-btn:hover { text-decoration: none; }
.cj-btn--sm { padding: 8px 14px; font-size: 14px; }
/* Doubled class beats link colours set elsewhere (.cj a, Mobirise, Bootstrap) */
.cj-btn.cj-btn--red { background: var(--cj-red); color: #fff; }
.cj-btn.cj-btn--red:hover { background: var(--cj-red-deep); color: #fff; }
.cj-btn.cj-btn--outline { background: transparent; color: var(--cj-navy); border-color: var(--cj-navy); }
.cj-btn.cj-btn--outline:hover { background: var(--cj-navy); color: #fff; }
.cj-btn.cj-btn--ghost { background: transparent; color: #fff; border-color: rgba(226, 207, 174, .7); }
.cj-btn.cj-btn--ghost:hover { background: #fff; color: var(--cj-navy); border-color: #fff; }
.cj-btn.cj-btn--light { background: #fff; color: var(--cj-red-deep); }
.cj-btn.cj-btn--light:hover { background: var(--cj-sand); color: var(--cj-red-deep); }

/* ---------- Header ---------- */
.cj-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    font-family: var(--cj-text);
}
.cj-header__bar {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.cj-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    text-decoration: none;
    color: var(--cj-navy);
}
.cj-brand:hover { text-decoration: none; color: var(--cj-navy); }
.cj .cj-brand__logo, .cj-header .cj-brand__logo { flex: none; display: block; width: 64px; height: 64px; max-width: none; max-height: none; object-fit: contain; overflow: visible; }
.cj-brand__short {
    display: block;
    font-family: var(--cj-display);
    font-size: 28px;
    line-height: 1;
    letter-spacing: .04em;
    color: var(--cj-navy);
}
.cj-brand__full {
    display: block;
    max-width: none;
    white-space: nowrap;
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 1.3;
    color: var(--cj-muted);
}

.cj-nav { display: flex; align-items: center; gap: 18px; }
.cj-nav__cta {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: 11px 22px 11px 18px; margin-left: 10px; white-space: nowrap;
    font: 400 17px/1 var(--cj-display); letter-spacing: .02em; color: #fff;
    text-decoration: none; border-radius: 3px; overflow: hidden;
    background: linear-gradient(135deg, var(--cj-red) 0%, var(--cj-red-deep) 100%);
    box-shadow: inset 0 0 0 1px rgba(226, 207, 174, .9), inset 0 0 0 4px var(--cj-red-deep), 0 6px 16px -8px rgba(108, 21, 33, .8);
    transition: box-shadow .2s ease, transform .2s ease;
}
.cj-nav__cta::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(226, 207, 174, .28), transparent);
    transform: skewX(-20deg); transition: left .5s ease;
}
.cj-nav__cta-icon { width: 17px; height: 17px; color: var(--cj-sand); flex: none; transition: transform .2s ease; }
.cj-nav__cta:hover, .cj-nav__cta:focus-visible {
    color: #fff; text-decoration: none; transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px var(--cj-sand), inset 0 0 0 4px var(--cj-red-deep), 0 10px 20px -8px rgba(108, 21, 33, .9);
}
.cj-nav__cta:hover::after { left: 120%; }
.cj-nav__cta:hover .cj-nav__cta-icon { transform: rotate(-12deg) translateY(-1px); }
.cj-nav__cta:focus-visible { outline: 2px solid var(--cj-navy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .cj-nav__cta, .cj-nav__cta::after, .cj-nav__cta-icon { transition: none; } }
.cj-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.cj-nav__link {
    display: block;
    padding: 10px 11px;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    font: 500 15px/1.2 var(--cj-text);
    color: var(--cj-navy);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.cj-nav__link:hover, .cj-nav__link.active {
    color: var(--cj-red);
    border-bottom-color: var(--cj-red);
    text-decoration: none;
}
.cj-nav__trigger::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    position: relative;
    top: -3px;
}
.cj-nav__group { position: relative; }
.cj-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--cj-line);
    border-top: 3px solid var(--cj-red);
    box-shadow: 0 14px 30px rgba(11, 24, 48, .14);
}
.cj-nav__group:hover > .cj-nav__menu,
.cj-nav__group:focus-within > .cj-nav__menu,
.cj-nav__group.is-open > .cj-nav__menu { display: block; }
.cj-nav__menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14.5px;
    color: var(--cj-ink);
    text-decoration: none;
}
.cj-nav__menu a:hover { background: var(--cj-mist); color: var(--cj-red); text-decoration: none; }

.cj-nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: none;
    border: 1.5px solid var(--cj-navy);
    border-radius: 3px;
    color: var(--cj-navy);
    font: 600 14px/1 var(--cj-text);
    cursor: pointer;
}
.cj-nav-toggle__bars, .cj-nav-toggle__bars::before, .cj-nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.cj-nav-toggle__bars::before, .cj-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.cj-nav-toggle__bars::before { top: -6px; }
.cj-nav-toggle__bars::after { top: 6px; }

@media (max-width: 1140px) {
    .cj-nav-toggle { display: inline-flex; }
    .cj-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        background: #fff;
        border-top: 1px solid var(--cj-line);
        box-shadow: 0 16px 30px rgba(11, 24, 48, .16);
    }
    .cj-nav.is-open { display: flex; }
    .cj-nav__list { flex-direction: column; gap: 0; }
    .cj-nav__list > li { border-bottom: 1px solid var(--cj-line); }
    .cj-nav__link { width: 100%; text-align: left; padding: 15px 24px; border-bottom: 0; }
    .cj-nav__link.active { border-bottom: 0; box-shadow: inset 4px 0 0 var(--cj-red); }
    .cj-nav__trigger { display: flex; justify-content: space-between; align-items: center; }
    .cj-nav__group:hover > .cj-nav__menu,
    .cj-nav__group:focus-within > .cj-nav__menu { display: none; }
    .cj-nav__group.is-open > .cj-nav__menu { display: block; }
    .cj-nav__menu { position: static; box-shadow: none; border: 0; border-top: 1px solid var(--cj-line); background: var(--cj-mist); padding: 0; }
    .cj-nav__menu a { padding: 13px 24px 13px 40px; }
    .cj-nav__cta { margin: 18px 24px 22px; justify-content: center; display: flex; }
}
@media (max-width: 560px) {
    .cj-brand__full { display: none; }
    .cj-header .cj-brand__logo { width: 50px; height: 50px; }
    .cj-nav-toggle__label { display: none; }
}

/* ---------- Page base ---------- */
.cj {
    font-family: var(--cj-text);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--cj-ink);
}
.cj h1, .cj h2, .cj h3, .cj h4, .cj h5 {
    font-family: var(--cj-display);
    font-weight: 400;
    color: var(--cj-navy);
    line-height: 1.2;
    margin: 0 0 .5em;
}
.cj p { margin: 0 0 1em; }
.cj a { color: var(--cj-red); }
.cj a:hover { color: var(--cj-red-deep); }
.cj-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.cj-section { padding: 76px 0; background: #fff; }
.cj-section.cj-section--mist { background: var(--cj-mist); }
.cj .cj-h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 18px; }
.cj .cj-lede { max-width: 62ch; color: var(--cj-muted); font-size: 17px; }
.cj-center { text-align: center; margin-top: 36px; }
.cj .cj-link {
    font-weight: 600;
    color: var(--cj-red);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

/* ---------- Hero ---------- */
.cj-hero { background: var(--cj-navy); color: #DCE3EF; }
.cj-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 68px;
}
.cj-hero__logo img { display: block; width: 100%; max-width: 620px; height: auto; }
.cj .cj-hero__pub { color: var(--cj-sand); font-size: 19px; line-height: 1.5; margin-bottom: 18px; max-width: 40ch; }
.cj .cj-hero__desc { max-width: 48ch; color: #C3CDDF; }
.cj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Shared section bits ---------- */
.cj *, .cj *::before, .cj *::after, .cj-header *, .cj-footer * { box-sizing: border-box; }
.cj .cj-h3 { font-size: 24px; margin-bottom: 10px; }
.cj-split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 40px; }
.cj-split-head .cj-h2, .cj-split-head .cj-lede { margin: 0; }

/* ---------- Promises strip ---------- */
.cj-facts-strip { background: #fff; border-bottom: 1px solid var(--cj-line); }
.cj-promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.cj-promises li { padding: 30px 20px 30px 22px; border-left: 1px solid var(--cj-line); }
.cj-promises li:first-child { border-left: 0; padding-left: 0; }
.cj-promises strong { display: block; font: 400 21px/1.2 var(--cj-display); color: var(--cj-navy); margin-bottom: 6px; }
.cj-promises strong::before { content: ""; display: block; width: 26px; height: 3px; background: var(--cj-red); margin-bottom: 12px; }
.cj-promises span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--cj-muted); }

/* ---------- Journal details (tile grid, every cell filled) ---------- */
.cj-details { padding: 64px 0; }
.cj-details .cj-h2 { margin-bottom: 24px; }
.cj-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0;
    background: var(--cj-line);
    border: 1px solid var(--cj-line);
    border-radius: 4px;
    overflow: hidden;
}
.cj-bento > div { background: #fff; padding: 22px 24px; min-width: 0; }
.cj-bento .is-wide { grid-column: span 2; }
.cj-bento .is-full { grid-column: 1 / -1; }
.cj-bento .is-soft { background: #F7F8FB; }
.cj-bento dd small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--cj-muted); }
.cj-bento dt { font-size: 13.5px; font-weight: 500; color: var(--cj-muted); margin-bottom: 4px; }
.cj-bento dd { margin: 0; font-size: 16.5px; font-weight: 600; color: var(--cj-navy); overflow-wrap: anywhere; }
.cj-bento .is-title { background: var(--cj-navy); border-bottom: 4px solid var(--cj-red); }
.cj-bento .is-title dt { color: var(--cj-sand); }
.cj-bento .is-title dd { font: 400 clamp(21px, 2vw, 26px)/1.25 var(--cj-display); color: #fff; }
.cj-bento .is-title dd span { color: var(--cj-sand); }

/* ---------- Call for papers (dark red band) ---------- */
.cj-call { background: var(--cj-red); color: #F5E6E8; padding: 72px 0; }
.cj-call__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.cj .cj-call h2 { color: #fff; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; margin-bottom: 10px; }
.cj .cj-call__issue { font: 400 clamp(20px, 2vw, 26px)/1.3 var(--cj-display); color: var(--cj-sand); margin-bottom: 22px; }
.cj .cj-call__issue span { color: #F5E6E8; }
.cj .cj-call__text { max-width: 56ch; margin-bottom: 28px; }
.cj-call__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cj-call__facts { margin: 0; padding: 8px 28px; background: var(--cj-red-deep); border-radius: 3px; }
.cj-call__facts div { padding: 16px 0; border-bottom: 1px solid rgba(226, 207, 174, .25); }
.cj-call__facts div:last-child { border-bottom: 0; }
.cj-call__facts dt { font-size: 13.5px; font-weight: 500; color: var(--cj-sand); margin-bottom: 2px; }
.cj-call__facts dd { margin: 0; font-size: 17px; font-weight: 600; color: #fff; }

/* ---------- About ---------- */
.cj-about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cj .cj-about__statement {
    font: 400 clamp(30px, 3.4vw, 44px)/1.22 var(--cj-display);
    color: var(--cj-navy);
    margin: 0;
    padding-left: 28px;
    border-left: 5px solid var(--cj-red);
    position: sticky;
    top: 150px;
}
.cj-about__text p { max-width: 60ch; }
.cj-about__text .cj-h3 { margin-top: 8px; }
.cj-about__text .cj-h3 + p { margin-top: 0; }
.cj-aims { margin: 0 0 1em; padding-left: 1.2em; max-width: 60ch; }
.cj-aims li { margin-bottom: .45em; }
.cj-aims li::marker { color: var(--cj-red); }
.cj .cj-about__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; }

/* ---------- Recent publications ---------- */
.cj-pubs__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.cj-pubs__head .cj-h2 { margin: 0; }
.cj-search { display: flex; width: 100%; max-width: 440px; }
.cj-search input {
    flex: 1; min-width: 0; padding: 12px 14px;
    border: 1.5px solid var(--cj-navy); border-right: 0; border-radius: 3px 0 0 3px;
    background: #fff; font: 400 15px var(--cj-text); color: var(--cj-ink);
}
.cj-search button {
    padding: 12px 20px; border: 0; border-radius: 0 3px 3px 0;
    background: var(--cj-navy); color: #fff; font: 600 15px var(--cj-text); cursor: pointer;
}
.cj-search button:hover { background: var(--cj-navy-deep); }

.cj-pubs { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.cj-pubs:has(> .cj-feature:only-child) { grid-template-columns: 1fr; }
.cj-feature { position: sticky; top: 150px; background: var(--cj-navy); color: #C9D2E3; padding: 36px; border-radius: 3px; border-bottom: 6px solid var(--cj-red); }
.cj .cj-feature__label { font-size: 14px; font-weight: 600; color: var(--cj-sand); margin: 0 0 6px; }
.cj .cj-feature__meta { font-size: 14px; margin: 0 0 16px; }
.cj .cj-feature__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.22; color: #fff; margin-bottom: 22px; }
.cj .cj-feature__title a { color: #fff; text-decoration: none; }
.cj .cj-feature__title a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.cj .cj-feature .rp-author-name { color: #fff; }
.cj .cj-feature .rp-author-line { color: #AEB9CE; }
.cj .cj-feature .rp-author .rp-ai, .cj .cj-feature .rp-author .rp-ai-person { fill: var(--cj-sand); }
.cj .cj-feature__doi { font-size: 14px; word-break: break-all; margin: 16px 0 0; }
.cj-feature__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.cj-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 3px; }
.cj-list__item { padding: 22px 26px; border-bottom: 1px solid var(--cj-line); }
.cj-list__item:last-child { border-bottom: 0; }
.cj .cj-list__meta { font-size: 13.5px; color: var(--cj-red); font-weight: 600; margin: 0 0 6px; }
.cj .cj-list__title { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.cj .cj-list__title a { color: var(--cj-navy); text-decoration: none; }
.cj .cj-list__title a:hover { color: var(--cj-red); text-decoration: underline; text-underline-offset: 4px; }
.cj .cj-list .rp-author-line { display: none; }
.cj .cj-list .rp-authors { gap: 2px 18px; }
.cj .cj-list .rp-author-name { font-weight: 500; font-size: 14.5px; color: var(--cj-muted); }
.cj-list__actions { display: flex; gap: 18px; margin-top: 10px; }
.cj .cj-list__actions a, .cj .cj-list__actions button {
    background: none; border: 0; padding: 0; cursor: pointer;
    font: 600 14px var(--cj-text); color: var(--cj-red);
    text-decoration: underline; text-underline-offset: 3px;
}
.cj-sep { display: inline-block; width: 4px; height: 4px; margin: 0 10px 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* Author blocks rendered by includes/authors.php */
.cj .rp-authors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.cj .rp-authors > .rp-author:only-child { grid-column: 1 / -1; }
.cj .rp-author { min-width: 0; }
.cj .rp-author-name, .cj .rp-author-line { display: flex; align-items: flex-start; gap: 7px; line-height: 1.45; }
.cj .rp-author-name { font-weight: 600; color: var(--cj-ink); font-size: 15.5px; margin-bottom: 2px; }
.cj .rp-author-line { color: var(--cj-muted); font-size: 14px; }
.cj .rp-author .rp-ai { flex-shrink: 0; margin-top: 3px; fill: var(--cj-navy-soft); }
.cj .rp-author .rp-ai-person { fill: var(--cj-red); }

.cj-empty { background: var(--cj-navy); color: #C9D2E3; padding: 56px 32px; text-align: center; border-radius: 3px; border-bottom: 6px solid var(--cj-red); }
.cj .cj-empty h3 { color: #fff; font-size: 30px; }
.cj .cj-empty p { font-size: 17px; max-width: 52ch; margin: 0 auto 26px; }
.cj-empty .cj-btn.cj-btn--red { background: #fff; color: var(--cj-red-deep); }

/* Abstract modal */
.rp-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.rp-modal-backdrop { position: absolute; inset: 0; background: rgba(11, 24, 48, .7); }
.rp-modal-dialog {
    position: relative; width: 100%; max-width: 700px; max-height: 85vh;
    display: flex; flex-direction: column; background: #fff;
    border-top: 5px solid var(--cj-red); border-radius: 3px; box-shadow: 0 20px 50px rgba(11, 24, 48, .35);
}
.rp-modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--cj-line); }
.cj .rp-modal-header h4 { font-size: 21px; margin: 0; }
.rp-modal-body { padding: 20px 26px 26px; overflow-y: auto; font-size: 15.5px; }
.cj .rp-modal-body h5 { font-family: var(--cj-text); font-weight: 600; font-size: 14px; color: var(--cj-red); margin-bottom: 8px; }
.rp-modal-body p { white-space: pre-wrap; line-height: 1.75; margin: 0; }
.rp-modal-close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--cj-muted); cursor: pointer; padding: 0; }
.rp-modal-close:hover { color: var(--cj-red); }

/* ---------- Submission types as ranges on one scale ---------- */
.cj-ranges { --label-col: 34%; position: relative; }
.cj-ranges__scale { position: relative; margin-left: var(--label-col); height: 24px; border-bottom: 1px solid var(--cj-line); }
.cj-ranges__scale span { position: absolute; bottom: 6px; transform: translateX(-50%); font-size: 12.5px; color: var(--cj-muted); white-space: nowrap; }
.cj-ranges__scale span:first-child { transform: none; }
.cj-ranges__scale span:last-child { transform: translateX(-100%); }
.cj-range { display: grid; grid-template-columns: var(--label-col) 1fr; align-items: center; border-bottom: 1px solid var(--cj-line); }
.cj-range__info { padding: 22px 32px 22px 0; }
.cj .cj-range__info h3 { font-size: 21px; margin-bottom: 4px; }
.cj .cj-range__info p { font-size: 14.5px; color: var(--cj-muted); margin: 0; }
.cj-range__track {
    position: relative; height: 100%; min-height: 72px;
    background-image: repeating-linear-gradient(90deg, var(--cj-line) 0 1px, transparent 1px 25%);
}
.cj-range__bar { position: absolute; top: 50%; height: 14px; transform: translateY(-50%); background: var(--cj-red); border-radius: 7px; }
.cj-range__label { position: absolute; top: calc(50% + 12px); font-size: 13.5px; font-weight: 600; color: var(--cj-navy); white-space: nowrap; }
.cj .cj-note { max-width: 90ch; margin: 32px 0 0; padding: 16px 20px; border-left: 4px solid var(--cj-navy); background: var(--cj-mist); font-size: 15px; }

/* ---------- Process (navy band, a real sequence so numbered) ---------- */
.cj-process { background: var(--cj-navy); color: #C9D2E3; padding: 76px 0; }
.cj .cj-process .cj-h2 { color: #fff; }
.cj .cj-process .cj-lede { color: #AEB9CE; }
.cj-steps { list-style: none; counter-reset: cjstep; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; }
.cj-steps li { counter-increment: cjstep; position: relative; padding: 0 22px 0 0; }
.cj-steps li::before {
    content: counter(cjstep);
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 22px;
    border-radius: 50%; border: 2px solid var(--cj-sand);
    background: var(--cj-navy); color: #fff;
    font: 400 22px/1 var(--cj-display);
    position: relative; z-index: 1;
}
.cj-steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: var(--cj-red); }
.cj-steps li:last-child::after { display: none; }
.cj .cj-steps h3 { font-size: 22px; color: #fff; margin-bottom: 6px; }
.cj .cj-steps p { font-size: 15px; margin: 0; }
.cj .cj-steps a { color: var(--cj-sand); }

/* ---------- FAQ ---------- */
.cj-faq-grid { display: block; }
.cj-faq-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 32px; margin-bottom: 28px; }
.cj-faq-intro .cj-h2, .cj-faq-intro .cj-lede { margin: 0; }
.cj-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; }
.cj-faq details { background: var(--cj-mist); border-radius: 3px; border-left: 4px solid transparent; transition: border-color .15s ease; }
.cj-faq details[open] { border-left-color: var(--cj-red); background: #fff; box-shadow: inset 0 0 0 1px var(--cj-line); }
.cj-faq summary {
    position: relative; list-style: none; cursor: pointer;
    padding: 18px 56px 18px 22px; font: 600 16.5px/1.4 var(--cj-text); color: var(--cj-navy);
}
.cj-faq summary::-webkit-details-marker { display: none; }
.cj-faq summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%; background: var(--cj-navy); color: #fff;
    font: 400 20px/28px var(--cj-text); text-align: center;
}
.cj-faq details[open] summary::after { content: "\2212"; background: var(--cj-red); }
.cj-faq__body { padding: 0 22px 20px; color: var(--cj-muted); }
.cj-faq__body ul { margin: 0 0 1em; padding-left: 1.2em; }
.cj-faq__body li { margin-bottom: .5em; }
.cj-faq__body p:last-child { margin-bottom: 0; }

/* ---------- Inner pages ---------- */
.cj-pagehead { background: var(--cj-navy); color: #C9D2E3; }
.cj-pagehead .cj-wrap { padding-top: 56px; padding-bottom: 52px; }
.cj .cj-pagehead h1 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; margin-bottom: 14px; }
.cj .cj-pagehead p { max-width: 64ch; font-size: 18px; margin: 0; }

.cj-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cj-twin .cj-h3 { margin-bottom: 16px; }
.cj-bento.cj-bento--2 { grid-template-columns: 1fr 1fr; }
.cj-bento .cj-linkrow { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cj-bento .cj-linkrow a { font-weight: 600; }

.cj-longform { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.cj-toc { position: sticky; top: 150px; border-left: 3px solid var(--cj-red); padding-left: 20px; }
.cj .cj-toc__title { font-size: 13.5px; font-weight: 600; color: var(--cj-muted); margin: 0 0 10px; }
.cj-toc ul { list-style: none; margin: 0; padding: 0; }
.cj-toc li { margin-bottom: 8px; }
.cj .cj-toc a { color: var(--cj-navy); font-weight: 500; text-decoration: none; }
.cj .cj-toc a:hover { color: var(--cj-red); text-decoration: underline; text-underline-offset: 3px; }
.cj-prose { max-width: 70ch; font-size: 17px; line-height: 1.75; }
.cj .cj-prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 48px 0 14px; scroll-margin-top: 150px; }
.cj .cj-prose h2:first-child { margin-top: 0; }
.cj .cj-prose p { margin-bottom: 1.1em; }
.cj .cj-callout { background: var(--cj-mist); border-left: 4px solid var(--cj-navy); padding: 16px 20px; font-size: 15.5px; margin: 32px 0; }

.cj-call.cj-call--compact { padding: 52px 0; }
.cj-call__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cj .cj-call--compact h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 6px; }
.cj .cj-call--compact .cj-call__text { margin: 0; }

/* Aims grid */
.cj-aimgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.cj-aim { padding-top: 18px; border-top: 3px solid var(--cj-navy); }
.cj-aim:nth-child(4n+2), .cj-aim:nth-child(4n+4) { border-top-color: var(--cj-red); }
.cj .cj-aim h3 { font-size: 21px; margin-bottom: 8px; }
.cj .cj-aim p { font-size: 15px; color: var(--cj-muted); margin: 0; }

/* Focus areas */
.cj-focus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cj-line); border: 1px solid var(--cj-line); border-radius: 4px; overflow: hidden; }
.cj-focus__area { background: #fff; padding: 26px 28px; }
.cj .cj-focus__area h3 { font-size: 22px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--cj-red); }
.cj-focus__area ul { list-style: none; margin: 0; padding: 0; }
.cj-focus__area li { padding: 6px 0; font-size: 15px; color: var(--cj-ink); border-bottom: 1px dashed var(--cj-line); }
.cj-focus__area li:last-child { border-bottom: 0; }
.cj-call--compact .cj-call__grid { grid-template-columns: 1fr; }
.cj .cj-call--compact .cj-call__main .cj-call__text { max-width: 80ch; }

.cj-who { margin-top: 44px; max-width: 72ch; }
.cj-who p { margin: 0; }
.cj-steps.cj-steps--six { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
.cj-steps--six li:nth-child(3n)::after { display: none; }
.cj .cj-process .cj-lede a { color: var(--cj-sand); }
.cj-endcta .cj-h2, .cj-endcta .cj-lede { margin: 0; }
.cj-endcta .cj-h2 { margin-bottom: 6px; }

/* Policy pages */
.cj-polnav { background: #fff; border-bottom: 1px solid var(--cj-line); }
.cj-polnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cj-polnav ul::-webkit-scrollbar { display: none; }
.cj-polnav a {
    display: block; padding: 16px 14px; white-space: nowrap;
    font: 500 15px/1 var(--cj-text); color: var(--cj-navy); text-decoration: none;
    border-bottom: 3px solid transparent;
}
.cj-polnav a:hover { color: var(--cj-red); text-decoration: none; }
.cj-polnav a[aria-current="page"] { color: var(--cj-red); border-bottom-color: var(--cj-red); font-weight: 600; }

.cj-policy__section { scroll-margin-top: 150px; }
.cj-policy__section + .cj-policy__section { margin-top: 56px; padding-top: 8px; }
.cj .cj-policy h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 0 0 18px; }
.cj-policy__item { padding: 22px 0 22px 24px; border-left: 3px solid var(--cj-line); position: relative; }
.cj-policy__item + .cj-policy__item { border-top: 0; }
.cj-policy__item::before { content: ""; position: absolute; left: -3px; top: 26px; width: 3px; height: 24px; background: var(--cj-red); }
.cj .cj-policy__item h3 { font-size: 21px; margin-bottom: 8px; }
.cj .cj-policy__item p { margin-bottom: .7em; }
.cj .cj-policy__item p:last-child { margin-bottom: 0; }
.cj-policy__item ul { margin: .4em 0 .8em; padding-left: 1.2em; }
.cj-policy__item li { margin-bottom: .4em; }
.cj-policy__item li::marker { color: var(--cj-red); }

.cj-polsteps { list-style: none; counter-reset: pstep; margin: 8px 0 0; padding: 0; }
.cj-polsteps > li { counter-increment: pstep; display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding-bottom: 24px; position: relative; }
.cj-polsteps > li::before {
    content: counter(pstep); grid-row: 1 / span 2;
    width: 44px; height: 44px; border-radius: 50%; background: var(--cj-navy); color: #fff;
    display: flex; align-items: center; justify-content: center; font: 400 19px/1 var(--cj-display);
}
.cj-polsteps > li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--cj-line); }
.cj-polsteps > li:last-child::after { display: none; }
.cj .cj-polsteps h3 { font-size: 20px; margin: 10px 0 4px; }
.cj .cj-polsteps p { margin: 0; }

.cj-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 16px 0 4px; background: var(--cj-line); border: 1px solid var(--cj-line); border-radius: 4px; overflow: hidden; }
.cj-level { background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 4px; border-top: 5px solid var(--cj-navy); }
.cj-level--1 { border-top-color: #B4626C; }
.cj-level--2 { border-top-color: var(--cj-red); }
.cj-level--3 { border-top-color: var(--cj-red-deep); }
.cj-level__name { font-size: 13px; font-weight: 600; color: var(--cj-muted); }
.cj-level__range { font: 400 19px/1.25 var(--cj-display); color: var(--cj-navy); }
.cj-level__desc { font-size: 14px; color: var(--cj-muted); line-height: 1.4; }

/* Issue pages */
.cj-issuehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.cj-issuehead__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border: 1px solid rgba(226, 207, 174, .35); border-radius: 4px; }
.cj-issuehead__facts div { padding: 12px 22px; border-left: 1px solid rgba(226, 207, 174, .35); }
.cj-issuehead__facts div:first-child { border-left: 0; }
.cj-issuehead__facts dt { font-size: 13px; font-weight: 500; color: var(--cj-sand); }
.cj-issuehead__facts dd { margin: 0; color: #fff; font-weight: 600; }
.cj .cj-toc-heading { margin-bottom: 18px; }

.cj-arts { background: #fff; border-radius: 4px; border: 1px solid var(--cj-line); }
.cj-art { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; padding: 26px 30px; border-bottom: 1px solid var(--cj-line); }
.cj-art:last-child { border-bottom: 0; }
.cj-art__side { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--cj-muted); padding-top: 4px; }
.cj-art__pages { font-weight: 600; color: var(--cj-red); }
.cj .cj-art__title { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.cj .cj-art__title a { color: var(--cj-navy); text-decoration: none; }
.cj .cj-art__title a:hover { color: var(--cj-red); text-decoration: underline; text-underline-offset: 4px; }
.cj .cj-art__abstract {
    margin: 14px 0 0; font-size: 15px; color: var(--cj-muted); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cj .cj-art__keywords { margin: 8px 0 0; font-size: 14px; color: var(--cj-muted); }
.cj .cj-art__keywords strong { color: var(--cj-ink); font-weight: 600; }
.cj .cj-art__doi { margin: 10px 0 0; font-size: 14px; color: var(--cj-muted); word-break: break-all; }
.cj-art__actions { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.cj .cj-art__actions a, .cj .cj-art__actions button {
    background: none; border: 0; padding: 0; cursor: pointer;
    font: 600 14.5px var(--cj-text); color: var(--cj-red);
    text-decoration: underline; text-underline-offset: 3px;
}
.cj .cj-art__actions a:first-child { color: var(--cj-navy); }
.cj .cj-art--compact .rp-author-line { display: none; }
.cj .cj-art--compact .rp-authors { gap: 2px 18px; }
.cj .cj-art--compact .rp-author-name { font-weight: 500; font-size: 14.5px; color: var(--cj-muted); }
.cj .cj-art--compact .cj-art__title { font-size: 20px; margin-bottom: 8px; }
.cj-art--compact { padding: 20px 26px; }

.cj-vol + .cj-vol { margin-top: 48px; }
.cj .cj-vol__title { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 16px; display: flex; align-items: baseline; gap: 14px; }
.cj .cj-vol__title span { font-family: var(--cj-text); font-size: 15px; font-weight: 600; color: var(--cj-red); }
.cj-issue { background: #fff; border: 1px solid var(--cj-line); border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
.cj-issue[open] { border-color: var(--cj-navy); }
.cj-issue summary {
    list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
    padding: 18px 64px 18px 24px; position: relative;
}
.cj-issue summary::-webkit-details-marker { display: none; }
.cj-issue summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; background: var(--cj-navy); color: #fff;
    font: 400 20px/30px var(--cj-text); text-align: center;
}
.cj-issue[open] summary { background: var(--cj-navy); }
.cj-issue[open] summary::after { content: "\2212"; background: var(--cj-red); }
.cj-issue__name { font: 400 22px/1.2 var(--cj-display); color: var(--cj-navy); }
.cj-issue__period { font-size: 15px; color: var(--cj-muted); }
.cj-issue__count { font-size: 13.5px; font-weight: 600; color: var(--cj-red); }
.cj-issue[open] .cj-issue__name { color: #fff; }
.cj-issue[open] .cj-issue__period { color: #C9D2E3; }
.cj-issue[open] .cj-issue__count { color: var(--cj-sand); }
.cj-issue__body { padding: 0; }
.cj .cj-issue__toc { margin: 0; padding: 14px 26px; font-size: 13.5px; font-weight: 600; color: var(--cj-muted); border-bottom: 1px solid var(--cj-line); background: #F7F8FB; }
.cj-issue .cj-arts { border: 0; border-radius: 0; }

/* Publication procedure */
.cj-polsteps--rich > li { padding-bottom: 30px; }
.cj-polsteps--rich > li > div { grid-column: 2; }
.cj-polsteps--rich ul { margin: .3em 0 .8em; padding-left: 1.2em; list-style: disc; }
.cj-polsteps--rich li li { display: list-item; padding: 0; margin-bottom: .35em; }
.cj-polsteps--rich li li::before, .cj-polsteps--rich li li::after { content: none; display: none; }
.cj-polsteps--rich li li::marker { color: var(--cj-red); }
.cj .cj-polsteps--rich p { margin: 0 0 .6em; }
.cj-timeline { border: 1px solid var(--cj-line); border-radius: 4px; overflow: hidden; margin: 18px 0 10px; }
.cj-timeline div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--cj-line); font-size: 15.5px; }
.cj-timeline div:nth-child(odd) { background: #F7F8FB; }
.cj-timeline div:last-child { border-bottom: 0; }
.cj-timeline strong { color: var(--cj-navy); text-align: right; }
.cj .cj-small { font-size: 14px; color: var(--cj-muted); }

/* Policy content blocks */
.cj-checkgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cj-line); border: 1px solid var(--cj-line); border-radius: 4px; overflow: hidden; margin: 8px 0 16px; }
.cj-checkgrid--2 { grid-template-columns: 1fr 1fr; }
.cj-checkgrid > div { background: #fff; padding: 18px 20px; }
.cj .cj-checkgrid h3 { font-size: 19px; margin-bottom: 4px; }
.cj .cj-checkgrid p { font-size: 15px; color: var(--cj-muted); margin: 0; }
.cj-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--cj-line); border: 1px solid var(--cj-line); border-radius: 4px; overflow: hidden; }
.cj-outcomes > div { background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--cj-navy); }
.cj-outcomes > div:last-child { border-top-color: var(--cj-red); }
.cj-outcomes strong { font: 400 19px/1.2 var(--cj-display); color: var(--cj-navy); }
.cj-outcomes span { font-size: 14.5px; color: var(--cj-muted); line-height: 1.45; }
.cj-bullets { margin: .2em 0 1em; padding-left: 1.2em; }
.cj-bullets li { margin-bottom: .45em; }
.cj-bullets li::marker { color: var(--cj-red); }
.cj .cj-example { background: #F7F8FB; border: 1px solid var(--cj-line); border-radius: 4px; padding: 16px 20px; font-size: 15px; }
.cj-policy .cj-bento { margin: 4px 0 18px; }

/* Aims commitments */
.cj-commits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--cj-line); border: 1px solid var(--cj-line); border-radius: 4px; overflow: hidden; }
.cj-commit { background: #fff; padding: 26px 28px; }
.cj-commit:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cj .cj-commit h3 { font-size: 22px; margin-bottom: 8px; }
.cj .cj-commit p { margin: 0 0 10px; color: var(--cj-muted); }
.cj .cj-commit__how { margin: 0; padding-top: 10px; border-top: 1px dashed var(--cj-line); color: var(--cj-ink); font-size: 15px; }
.cj .cj-commit__how strong { color: var(--cj-red); }

/* Checklist */
.cj-checklist { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--cj-line); border-radius: 4px; }
.cj-checklist li { position: relative; padding: 12px 16px 12px 46px; border-bottom: 1px solid var(--cj-line); }
.cj-checklist li:last-child { border-bottom: 0; }
.cj-checklist li::before {
    content: ""; position: absolute; left: 16px; top: 15px; width: 16px; height: 16px;
    border: 2px solid var(--cj-navy); border-radius: 3px;
}

/* Tool pages: track and verify */
.cj-tool { max-width: 860px; }
.cj-toolform { background: #fff; border-radius: 4px; border-top: 5px solid var(--cj-navy); padding: 30px; box-shadow: inset 0 0 0 1px var(--cj-line); }
.cj-toolform label { display: block; font-weight: 600; color: var(--cj-navy); margin-bottom: 8px; }
.cj-toolform__row { display: flex; gap: 10px; flex-wrap: wrap; }
.cj-toolform__row input {
    flex: 1 1 260px; min-width: 0; padding: 13px 14px; font: 500 16px var(--cj-text); color: var(--cj-ink);
    border: 1.5px solid var(--cj-navy); border-radius: 3px; background: #fff; letter-spacing: .02em;
}
.cj-toolform__row button {
    padding: 13px 24px; border: 0; border-radius: 3px; background: var(--cj-red); color: #fff;
    font: 600 15px var(--cj-text); cursor: pointer;
}
.cj-toolform__row button:hover { background: var(--cj-red-deep); }
.cj .cj-toolform__hint { margin: 10px 0 0; font-size: 14px; color: var(--cj-muted); }

.cj-notice { margin: 20px 0; padding: 16px 20px; border-radius: 3px; background: #EAF0FA; border-left: 4px solid var(--cj-navy); font-size: 15.5px; }
.cj-notice--good { background: #EDF5EF; border-left-color: #2F6B45; }
.cj-notice--bad { background: #F9EDEF; border-left-color: var(--cj-red); }

.cj-result { margin-top: 24px; background: #fff; border-radius: 4px; padding: 30px; box-shadow: inset 0 0 0 1px var(--cj-line); }
.cj-result--valid { border-top: 5px solid #2F6B45; }
.cj .cj-result__code { font-size: 14px; color: var(--cj-muted); margin: 0 0 6px; }
.cj .cj-result__code span { font-weight: 600; color: var(--cj-navy); letter-spacing: .02em; }
.cj .cj-result__ok { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 3px; background: #EDF5EF; color: #2F6B45; font-weight: 600; font-size: 14px; }
.cj .cj-result__title { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; margin-bottom: 6px; }
.cj .cj-result__by { color: var(--cj-muted); margin: 0 0 20px; }
.cj-result__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 18px 0 0; }
.cj-result__facts div { padding: 10px 0; border-bottom: 1px solid var(--cj-line); }
.cj-result__facts dt { font-size: 13px; color: var(--cj-muted); font-weight: 500; }
.cj-result__facts dd { margin: 0; font-weight: 600; color: var(--cj-navy); overflow-wrap: anywhere; }
.cj-result__notes { margin-top: 20px; }
.cj .cj-result__notes h3 { font-size: 19px; margin-bottom: 6px; }
.cj .cj-result__notes p { white-space: pre-wrap; background: #F7F8FB; padding: 14px 16px; border-radius: 3px; font-size: 15px; margin: 0; }
.cj-result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cj-tool__about { margin-top: 40px; }

.cj-stepper { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.cj-stepper li { position: relative; padding-top: 34px; text-align: center; }
.cj-stepper li::before {
    content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cj-line); background: #fff; z-index: 1;
}
.cj-stepper li::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--cj-line); }
.cj-stepper li:first-child::after { display: none; }
.cj-stepper li.is-done::before { background: var(--cj-navy); border-color: var(--cj-navy); }
.cj-stepper li.is-done::after, .cj-stepper li.is-now::after, .cj-stepper li.is-stop::after { background: var(--cj-navy); }
.cj-stepper li.is-now::before { background: var(--cj-red); border-color: var(--cj-red); box-shadow: 0 0 0 4px rgba(139, 30, 45, .18); }
.cj-stepper li.is-stop::before { background: var(--cj-red-deep); border-color: var(--cj-red-deep); }
.cj-stepper__name { display: block; font-weight: 600; font-size: 14.5px; color: var(--cj-muted); }
.cj-stepper li.is-done .cj-stepper__name, .cj-stepper li.is-now .cj-stepper__name { color: var(--cj-navy); }
.cj-stepper li.is-stop .cj-stepper__name { color: var(--cj-red); }
.cj-stepper__date { display: block; font-size: 13px; color: var(--cj-muted); margin-top: 2px; }

/* Contact */
.cj-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.cj-bento.cj-bento--1 { grid-template-columns: 1fr; }
.cj .cj-contact__quick { margin-top: 32px; }
.cj-form { background: #fff; border-radius: 4px; border-top: 5px solid var(--cj-navy); padding: 30px; box-shadow: inset 0 0 0 1px var(--cj-line); }
.cj-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cj-field { margin-bottom: 18px; }
.cj-field label { display: block; font-weight: 600; color: var(--cj-navy); margin-bottom: 6px; font-size: 15px; }
.cj-field input, .cj-field select, .cj-field textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid #B9C2D2; border-radius: 3px; background: #fff;
    font: 400 15.5px var(--cj-text); color: var(--cj-ink);
}
.cj-field input:focus, .cj-field select:focus, .cj-field textarea:focus { outline: none; border-color: var(--cj-navy); box-shadow: 0 0 0 3px rgba(19, 40, 75, .15); }
.cj .cj-field__hint { margin: 6px 0 0; font-size: 14px; color: var(--cj-muted); }
.cj-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cj-notice .cj-bullets { margin: 0; }

/* Editorial board */
.cj-board-group + .cj-board-group { margin-top: 48px; }
.cj .cj-board-group__title { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 16px; }
.cj-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cj-members--lead { grid-template-columns: repeat(2, 1fr); }
.cj-member { background: #fff; padding: 22px 24px; display: flex; flex-direction: column; border: 1px solid var(--cj-line); border-radius: 4px; }
.cj .cj-member__label { margin: 0 0 6px; font-size: 13.5px; font-weight: 600; color: var(--cj-red); }
.cj-member--lead { border-top: 4px solid var(--cj-red); }
.cj .cj-member__name { font-size: 21px; margin-bottom: 4px; }
.cj-member--lead .cj-member__name { font-size: 24px; }
.cj .cj-member__role { margin: 0; font-size: 15px; color: var(--cj-ink); }
.cj .cj-member__inst { margin: 2px 0 0; font-weight: 600; color: var(--cj-navy); font-size: 15px; }
.cj .cj-member__addr { margin: 6px 0 0; font-size: 14px; color: var(--cj-muted); }
.cj .cj-member__exp { margin: 8px 0 0; font-size: 14px; color: var(--cj-muted); font-style: italic; }
.cj .cj-member__links { margin: auto 0 0; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.cj .cj-member__links a { overflow-wrap: anywhere; }

/* Tool pages with a visual guide */
.cj-toolsplit { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cj-toolsplit__main .cj-toolform { border-top: 0; border-left: 5px solid var(--cj-red); }
.cj .cj-guide__label { font-size: 14px; font-weight: 600; color: var(--cj-red); margin: 0 0 12px; }
.cj .cj-guide__text { font-size: 15px; color: var(--cj-muted); }
.cj-toolsplit__guide .cj-h3 { margin-top: 28px; font-size: 21px; }

.cj-certmock { background: #fff; padding: 12px; border: 1px solid var(--cj-line); border-radius: 4px; transform: rotate(-1.5deg); box-shadow: 0 10px 24px rgba(11, 24, 48, .12); margin-bottom: 18px; }
.cj-certmock__inner { position: relative; border: 3px double var(--cj-navy); padding: 22px 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 210px; }
.cj-certmock__journal { font: 400 22px/1 var(--cj-display); color: var(--cj-navy); letter-spacing: .08em; }
.cj-certmock__title { font: 400 15px/1.2 var(--cj-display); color: var(--cj-red); margin-bottom: 6px; }
.cj-certmock__line { display: block; width: 86%; height: 6px; border-radius: 3px; background: var(--cj-mist); }
.cj-certmock__line--short { width: 60%; }
.cj-certmock__seal { position: absolute; right: 18px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, var(--cj-red) 55%, var(--cj-red-deep) 56%); }
.cj-certmock__id { align-self: flex-start; margin-top: auto; font-size: 12px; color: var(--cj-muted); padding: 4px 8px; border: 2px solid var(--cj-red); border-radius: 3px; background: #FBF2F3; }
.cj-certmock__id b { color: var(--cj-navy); }

.cj-mailmock { background: #fff; border: 1px solid var(--cj-line); border-radius: 6px; overflow: hidden; box-shadow: 0 10px 24px rgba(11, 24, 48, .12); margin-bottom: 18px; }
.cj-mailmock__bar { display: flex; gap: 5px; padding: 8px 10px; background: var(--cj-mist); }
.cj-mailmock__bar span { width: 8px; height: 8px; border-radius: 50%; background: #C5CCD8; }
.cj-mailmock__head { padding: 12px 16px; border-bottom: 1px solid var(--cj-line); display: flex; flex-direction: column; gap: 2px; }
.cj-mailmock__from { font-size: 13px; color: var(--cj-muted); }
.cj-mailmock__subj { font-weight: 600; color: var(--cj-navy); font-size: 14.5px; }
.cj-mailmock__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.cj-mailmock__body .cj-certmock__line { width: 100%; }
.cj-mailmock__body .cj-certmock__line--short { width: 70%; }
.cj-mailmock__code { align-self: flex-start; padding: 8px 12px; background: var(--cj-mist); border-left: 4px solid var(--cj-red); font-weight: 700; color: var(--cj-navy); letter-spacing: .04em; outline: 2px dashed var(--cj-red); outline-offset: 3px; }

.cj-stagekey { margin: 0; border-top: 1px solid var(--cj-line); }
.cj-stagekey div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cj-line); font-size: 14.5px; }
.cj-stagekey dt { font-weight: 600; color: var(--cj-navy); }
.cj-stagekey dd { margin: 0; color: var(--cj-muted); }

/* ---------- Footer ---------- */
.cj-footer { background: var(--cj-navy-deep); color: #B9C4D8; font: 400 15px/1.65 var(--cj-text); }
.cj-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr .8fr;
    gap: 40px;
}
.cj-footer__logo { display: inline-flex; padding: 8px; background: #fff; border-radius: 50%; margin-bottom: 16px; }
.cj-footer__logo img { width: 72px; height: 72px; object-fit: contain; }
.cj-footer__name { font-family: var(--cj-display); font-size: 21px; line-height: 1.3; color: #fff; margin: 0 0 8px; max-width: 26ch; }
.cj-footer__meta { margin: 0; }
.cj-footer__heading { font-family: var(--cj-display); font-weight: 400; font-size: 19px; color: var(--cj-sand); margin: 0 0 14px; }
.cj-footer p { margin: 0; }
.cj-footer a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(226, 207, 174, .4); }
.cj-footer a:hover { color: var(--cj-sand); border-bottom-color: var(--cj-sand); text-decoration: none; }
.cj-footer__links { list-style: none; margin: 0; padding: 0; }
.cj-footer__links li { margin-bottom: 8px; }
.cj-footer__base { border-top: 1px solid rgba(255, 255, 255, .1); }
.cj-footer__base p { max-width: 1180px; margin: 0 auto; padding: 20px 24px; font-size: 13.5px; color: #8E9AB1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .cj-aimgrid { grid-template-columns: 1fr 1fr; }
    .cj-promises { grid-template-columns: repeat(3, 1fr); }
    .cj-promises li:nth-child(4) { border-left: 0; padding-left: 0; }
    .cj-promises li:nth-child(-n+3) { border-bottom: 1px solid var(--cj-line); }
    .cj-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .cj-section, .cj-process, .cj-call { padding: 56px 0; }
    .cj-hero__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
    .cj-hero__logo img { max-width: 440px; margin: 0 auto; }
    .cj-split-head { grid-template-columns: 1fr; margin-bottom: 28px; }
    .cj-call__grid, .cj-about, .cj-pubs { grid-template-columns: 1fr; gap: 36px; }
    .cj-bento { grid-template-columns: 1fr 1fr; }
    .cj-faq { grid-template-columns: 1fr; }
    .cj-twin, .cj-longform, .cj-contact, .cj-toolsplit { grid-template-columns: 1fr; gap: 36px; }
    .cj-members, .cj-members--lead { grid-template-columns: 1fr 1fr; }
    .cj-aimgrid { grid-template-columns: 1fr 1fr; }
    .cj-focus { grid-template-columns: 1fr 1fr; }
    .cj-steps.cj-steps--six { grid-template-columns: 1fr; row-gap: 0; }
    .cj-steps--six li:nth-child(3n)::after { display: block; }
    .cj-steps--six li:last-child::after { display: none; }
    .cj-toc { position: static; }
    .cj .cj-about__statement, .cj-feature { position: static; }
    .cj-ranges { --label-col: 100%; }
    .cj-ranges__scale { margin-left: 0; }
    .cj-range { grid-template-columns: 1fr; }
    .cj-range__info { padding: 20px 0 8px; }
    .cj-range__track { min-height: 52px; margin-bottom: 8px; }
    .cj-ranges__scale { display: block; }
    .cj-steps { grid-template-columns: 1fr; gap: 0; }
    .cj-steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 0 0 28px; }
    .cj-steps li::before { grid-row: 1 / span 2; margin: 0; }
    .cj-steps li::after { top: 52px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; }
    .cj .cj-steps h3 { margin-top: 12px; }
}
@media (max-width: 600px) {
    .cj { font-size: 16px; }
    .cj-wrap { padding: 0 18px; }
    .cj-promises { grid-template-columns: 1fr 1fr; }
    .cj-promises li { padding: 22px 14px 22px 16px; border-bottom: 1px solid var(--cj-line); }
    .cj-promises li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .cj-promises li:nth-child(4) { border-left: 1px solid var(--cj-line); padding-left: 16px; }
    .cj-promises li:nth-last-child(-n+2) { border-bottom: 0; }
    .cj-promises strong { font-size: 18px; }
    .cj-call__actions .cj-btn, .cj-feature__actions .cj-btn { flex: 1 1 100%; text-align: center; }
    .cj-feature { padding: 26px 22px; }
    .cj-list__item { padding: 20px; }
    .cj .rp-authors { grid-template-columns: 1fr; }
    .cj-search { max-width: none; }
    .cj-bento > div { padding: 16px 16px; }
    .cj-aimgrid, .cj-focus, .cj-commits { grid-template-columns: 1fr; }
    .cj-checkgrid, .cj-checkgrid--2 { grid-template-columns: 1fr; }
    .cj-result, .cj-toolform { padding: 22px 18px; }
    .cj-result__facts { grid-template-columns: 1fr; }
    .cj-form { padding: 22px 18px; }
    .cj-form__row { grid-template-columns: 1fr; }
    .cj-members, .cj-members--lead { grid-template-columns: 1fr; }
    .cj-toolform__row button { width: 100%; }
    .cj-stepper__name { font-size: 12.5px; }
    .cj-levels { grid-template-columns: 1fr 1fr; }
    .cj-checkgrid, .cj-outcomes { grid-template-columns: 1fr 1fr; }
    .cj-art { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
    .cj-art__side { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
    .cj-timeline div { grid-template-columns: 1fr; gap: 2px; }
    .cj-timeline strong { text-align: left; }
    .cj-issue summary { padding: 16px 56px 16px 18px; }
    .cj-policy__item { padding-left: 18px; }
    .cj-bento dd { font-size: 15.5px; }
    .cj-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
    .cj-bento { grid-template-columns: 1fr; }
    .cj-bento .is-wide { grid-column: auto; }
}

/* Hero on phones: equal full-width buttons, tighter type */
@media (max-width: 560px) {
    .cj-hero__grid { gap: 24px; padding-top: 28px; padding-bottom: 36px; }
    .cj-hero__logo img { max-width: 92%; }
    .cj .cj-hero__pub { font-size: 17px; margin-bottom: 12px; }
    .cj .cj-hero__desc { font-size: 15px; line-height: 1.65; }
    .cj-hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
    .cj-hero__actions .cj-btn { width: 100%; text-align: center; padding: 14px 18px; }
}
