/* JPA Journal — scoped frontend layout */
.cmj-shell{--cmj-blue:#31728d;--cmj-brown:#885342;max-width:1100px;margin:24px auto;padding:22px;color:#344850;font-family:inherit}.cmj-intro{margin-bottom:24px}.cmj-intro h2,.cmj-article h1{font-family:Georgia,serif;font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.18;color:var(--cmj-blue);margin:8px 0 12px}.cmj-intro p,.cmj-card p{line-height:1.65}.cmj-eyebrow{font-size:.72rem;letter-spacing:.13em;font-weight:750;color:var(--cmj-brown)}.cmj-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cmj-card,.cmj-review,.cmj-form,.cmj-gate,.cmj-comment{border:1px solid #dbe4e6;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 7px 22px rgba(20,46,60,.04)}.cmj-card img{width:100%;height:195px;object-fit:cover}.cmj-card-body{padding:22px}.cmj-card h3{font-family:Georgia,serif;line-height:1.24;font-size:1.35rem;margin:7px 0}.cmj-card h3 a{text-decoration:none;color:var(--cmj-blue)}.cmj-minilink{color:#24667c;font-weight:700;text-decoration:none}.cmj-byline{font-size:.86rem;color:#667780}.cmj-form{padding:23px;display:grid;gap:17px;max-width:850px}.cmj-form label{display:grid;gap:7px;font-weight:650}.cmj-form small{font-weight:400;color:#586d77;line-height:1.5}.cmj-form input:not([type=checkbox]),.cmj-form textarea{box-sizing:border-box;display:block;width:100%;font:inherit;padding:12px;border:1px solid #b9cbd2;border-radius:8px;background:#fff;color:#243d4a}.cmj-form input:focus,.cmj-form textarea:focus{outline:3px solid #a9d9e8}.cmj-check{display:flex!important;align-items:flex-start;gap:10px}.cmj-button{display:inline-block!important;width:auto!important;border:0!important;border-radius:9px!important;background:#276d85!important;color:#fff!important;padding:12px 20px!important;font-weight:700!important;text-decoration:none!important;cursor:pointer}.cmj-secondary{background:#765e56!important}.cmj-actions{display:flex;flex-wrap:wrap;gap:12px}.cmj-article{max-width:900px}.cmj-article header{margin:25px 0}.cmj-cover{max-width:100%;width:100%;height:auto;border-radius:14px;margin:15px 0}.cmj-public-intro,.cmj-full{line-height:1.8;font-size:1.08rem}.cmj-full{border-top:1px solid #dbe4e6;margin-top:30px;padding-top:24px}.cmj-gate{margin-top:35px;padding:30px;background:#f4f1ec}.cmj-gate h2,.cmj-comments h2{font-family:Georgia,serif;color:var(--cmj-blue)}.cmj-comments{margin-top:40px}.cmj-comment{padding:15px 20px;margin:12px 0}.cmj-comment time{display:block;font-size:.8rem;color:#687780;margin:5px 0}.cmj-review{padding:20px;margin:14px 0}.cmj-review summary{cursor:pointer;color:var(--cmj-blue);font-weight:750;font-size:1.1rem}.cmj-review .cmj-form{border:0;box-shadow:none;padding:20px 0 0}.cmj-alert{background:#e5f2ed;border-left:4px solid #317e5e;border-radius:6px;padding:12px 18px}.cmj-callout{padding:16px;background:#f4f1ec;border-radius:8px}.cmj-pagination{margin:26px 0;display:flex;gap:8px}.cmj-pagination a{border:1px solid #bed0d4;padding:8px 13px;border-radius:7px;text-decoration:none}.cmj-pagination a[aria-current]{background:#31728d;color:#fff}.cmj-honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}@media(max-width:900px){.cmj-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.cmj-grid{grid-template-columns:1fr}.cmj-shell{padding:12px}.cmj-form{padding:17px}.cmj-card img{height:210px}}
/* Public journal author, sharing, and feed */
.cmj-author-box{display:flex;gap:20px;align-items:flex-start;background:#f5f7f6;border:1px solid #dce7e6;border-radius:15px;padding:24px;margin:32px 0}.cmj-author-avatar{border-radius:50%;flex:none;width:80px;height:80px;object-fit:cover}.cmj-author-box h2{font-family:Georgia,serif;color:#31728d;font-size:1.35rem;margin:0 0 6px}.cmj-author-box h3{font-size:1rem;margin:0 0 8px}.cmj-author-box p{line-height:1.55;margin:0 0 9px}.cmj-sharing{border-top:1px solid #dce7e6;border-bottom:1px solid #dce7e6;padding:18px 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.cmj-sharing a,.cmj-copy-link{border:1px solid #b8ced6;border-radius:7px;padding:8px 12px;background:#fff;color:#28667b;text-decoration:none;font:inherit;font-size:.9rem;cursor:pointer}.cmj-sharing a:hover,.cmj-copy-link:hover{background:#eaf4f6}.cmj-discussion-invite{background:#f4f1ec;border-radius:12px;padding:22px;margin-top:28px}.cmj-feed-link{margin-top:25px}.cmj-feed-link a{color:#28667b;font-weight:700}@media(max-width:620px){.cmj-author-box{flex-direction:column}}

/* Homepage journal preview: scoped separately from the full journal archive. */
.cmj-home{--jh-blue:#33748d;--jh-ink:#252e48;--jh-brown:#875748;--jh-line:#dcd9d2;--jh-ivory:#f5f3ee;max-width:1180px;margin:42px auto 58px;padding:0 12px;color:#41515b;font:inherit}
.cmj-home *{box-sizing:border-box}.cmj-home-top{display:flex;align-items:end;justify-content:space-between;gap:26px;margin-bottom:26px}.cmj-home-top>div{max-width:740px}.cmj-home-kicker,.cmj-home-category{display:block;color:var(--jh-brown);font-size:.72rem;font-weight:750;letter-spacing:.15em;text-transform:uppercase}.cmj-home h2{font-family:Georgia,serif;font-weight:600;color:var(--jh-blue);font-size:clamp(2rem,3vw,2.7rem);line-height:1.15;margin:9px 0 12px}.cmj-home-top p{font-size:1rem;line-height:1.65;margin:0;color:#60727b}.cmj-home-all{white-space:nowrap;display:inline-flex;gap:12px;align-items:center;padding:11px 17px;border:1px solid #a7bfca;border-radius:7px;color:#276982;text-decoration:none;font-weight:700;font-size:.9rem}.cmj-home-all:hover,.cmj-home-all:focus-visible{background:#e9f1f2;color:#1b5266}.cmj-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.cmj-home-card{min-width:0;background:#fff;border:1px solid var(--jh-line);border-radius:11px;overflow:hidden;box-shadow:0 6px 25px rgba(49,53,51,.045);transition:transform .18s ease,box-shadow .18s ease}.cmj-home-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(49,53,51,.085)}.cmj-home-image{height:175px;display:block;overflow:hidden;background:#d9e4e2}.cmj-home-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.cmj-home-card:hover img{transform:scale(1.035)}.cmj-home-card-content{padding:21px 22px 24px}.cmj-home-card h3{font-family:Georgia,serif;font-size:1.37rem;font-weight:600;line-height:1.27;margin:9px 0 8px}.cmj-home-card h3 a{color:var(--jh-ink);text-decoration:none}.cmj-home-card h3 a:hover{color:var(--jh-blue)}.cmj-home-meta{font-size:.8rem;color:#79838a;margin:0 0 13px}.cmj-home-excerpt{font-size:.94rem;line-height:1.65;color:#606c72;margin:0 0 15px}.cmj-home-read{color:#276982;font-weight:700;text-decoration:none;font-size:.88rem}.cmj-home-read:hover,.cmj-home-bottom a:hover{text-decoration:underline}.cmj-home-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:linear-gradient(130deg,#c3d8db,#e8e6dd 58%,#d6bfb1);color:#496e7c;font-family:Georgia,serif;font-size:2rem;letter-spacing:.12em}.cmj-home-placeholder-text{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:#79685c}.cmj-home-empty{display:flex;gap:22px;align-items:center;padding:35px 34px;border:1px solid var(--jh-line);border-radius:12px;background:linear-gradient(110deg,#fffefa,#f1f3f1)}.cmj-home-empty-icon{font-family:Georgia,serif;color:#b38671;font-size:3rem}.cmj-home-empty h3{font-family:Georgia,serif;font-weight:600;font-size:1.5rem;color:var(--jh-ink);margin:0 0 6px}.cmj-home-empty p{line-height:1.65;color:#68777e;margin:0}.cmj-home-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--jh-line);margin-top:26px;padding-top:20px}.cmj-home-bottom p{margin:0;color:#626f73;font-size:.9rem}.cmj-home-bottom a{font-weight:700;color:#286a81;text-decoration:none;white-space:nowrap;font-size:.9rem}
@media(max-width:900px){.cmj-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cmj-home-top{align-items:start;flex-direction:column;gap:16px}}
@media(max-width:620px){.cmj-home{margin:30px auto 40px;padding:0 8px}.cmj-home-grid{grid-template-columns:1fr}.cmj-home-image{height:195px}.cmj-home-top h2{font-size:2rem}.cmj-home-bottom{flex-direction:column;align-items:start;gap:12px}.cmj-home-empty{padding:23px;gap:15px}}
@media(prefers-reduced-motion:reduce){.cmj-home-card,.cmj-home-image img{transition:none}.cmj-home-card:hover{transform:none}}

/* Journal submission: guest/member access panel, without dashboard access. */
.cmj-submission-gate{max-width:720px;margin:20px auto;padding:clamp(22px,4vw,40px);background:#fff;border:1px solid #dce5e6;border-radius:18px;box-shadow:0 12px 30px rgba(32,65,78,.07)}
.cmj-submission-gate h2{font-family:Georgia,serif;color:#31728d;font-size:clamp(1.8rem,3vw,2.4rem);margin:9px 0 14px;line-height:1.2}
.cmj-submission-gate p{line-height:1.7;color:#465862}
.cmj-submission-gate #loginform{display:grid;gap:12px;margin:25px 0 16px}
.cmj-submission-gate #loginform p{margin:0}
.cmj-submission-gate #loginform label{display:block;font-weight:650;margin-bottom:6px}
.cmj-submission-gate #loginform input.input{width:100%;max-width:100%;box-sizing:border-box;padding:12px;border:1px solid #b9cbd2;border-radius:8px;background:#fff}
.cmj-submission-gate #loginform .login-remember label{display:flex;align-items:center;gap:8px;font-weight:normal}
.cmj-submission-gate #wp-submit{background:#276d85;border:0;border-radius:9px;color:#fff;padding:12px 23px;font-weight:700;cursor:pointer}
.cmj-gate-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:20px;padding-top:17px;border-top:1px solid #e6ebed}
.cmj-gate-links a{color:#276d85;font-weight:650}

/* Frontend editorial refinements (rc7). */
.cmj-submission-disclaimer{font-size:.83rem;font-style:italic;line-height:1.65;color:#6c777c;margin:0;padding:12px 2px;border-top:1px solid #e8e9e7}
.cmj-editor-label{display:grid;gap:8px}.cmj-editor-label small{color:#586d77;font-weight:400}.cmj-form .wp-editor-wrap{min-width:0}.cmj-form .wp-editor-container{border:1px solid #b9cbd2;border-radius:7px;overflow:hidden}.cmj-form .wp-editor-area{width:100%!important;box-sizing:border-box}.cmj-preview{background:#fbfaf7;border:1px solid #dbe4e6;border-radius:12px;padding:23px;margin:8px 0;max-width:100%}.cmj-preview h1{font-size:1.6rem}.cmj-preview .cmj-full{margin-top:15px;padding-top:15px}.cmj-reject{background:#8a4d45!important}.cmj-staff-fieldset{border:1px solid #dbe4e6;border-radius:10px;padding:15px;max-height:340px;overflow:auto}.cmj-staff-fieldset legend{font-weight:700;color:#31728d}.cmj-staff-fieldset .cmj-check{font-weight:400;display:flex}.cmj-staff-fieldset .cmj-check small{font-size:.83rem}
.cmj-image-credit{font-size:.82rem;color:#68777e;font-style:italic;margin:-5px 0 15px}

/* Inline Journal image upload, scoped to Journal forms only. */
.cmj-inline-image-tool{padding:14px 16px;border:1px solid #d9e2e6;border-radius:10px;background:#f7f9f9;margin:14px 0}.cmj-inline-image-tool label{display:block}.cmj-inline-image-tool small{display:block;margin:5px 0 10px;color:#556b74}.cmj-inline-image-tool input[type=file]{display:block;width:100%;margin:8px 0 12px}.cmj-inline-image-status{display:block;margin-top:8px;font-size:.88rem;color:#355d6c}.cmj-full img,.cmj-preview img{max-width:100%;height:auto}

/* rc10: inline required marks; tidy grouped attestations and classic Add Media button. */
.cmj-form .cmj-field-label{display:inline-flex!important;align-items:baseline;gap:4px;font-weight:650;line-height:1.4}
.cmj-form .cmj-required{display:inline!important;color:#92513e;font-weight:750}
.cmj-form .cmj-confirmations{display:grid;gap:12px;margin-top:4px}
.cmj-form .cmj-confirmations .cmj-check{margin:0;line-height:1.55;font-weight:500}
.cmj-form .cmj-submission-disclaimer{margin-top:-5px;padding-top:8px;border-top:0}
.cmj-form .wp-media-buttons{margin:7px 0}.cmj-form .wp-media-buttons .button{display:inline-flex!important;align-items:center;width:auto!important;gap:5px;padding:5px 10px!important;background:#f7f9fa!important;color:#245f75!important;border:1px solid #bacbd1!important;border-radius:5px!important;text-decoration:none!important}

/* SECTION: Journal submission progress (only visible during an actual valid submit). */
.cmj-submit-overlay{display:none;position:fixed;inset:0;z-index:999999;background:rgba(26,45,52,.65);padding:20px;align-items:center;justify-content:center;box-sizing:border-box}.cmj-submit-overlay.is-visible{display:flex}.cmj-submit-overlay-card{width:min(95vw,460px);padding:32px;background:#fff;border-radius:18px;box-shadow:0 20px 55px rgba(0,0,0,.24);text-align:center;color:#2b4552}.cmj-submit-overlay-card h3{margin:15px 0 8px;color:#31728d;font:700 1.5rem Georgia,serif}.cmj-submit-overlay-card p{line-height:1.65;margin:0}.cmj-submit-spinner{display:inline-block;width:40px;height:40px;border:4px solid #d9e8ee;border-top-color:#31728d;border-radius:50%;animation:cmj-spin .8s linear infinite}@keyframes cmj-spin{to{transform:rotate(360deg)}}

/* rc12: clear success state, categories and editorial image feedback */
.cmj-success{max-width:780px;margin:28px auto;padding:clamp(26px,5vw,54px);border:1px solid #d7e2e3;border-radius:22px;background:#fff;box-shadow:0 18px 42px rgba(38,72,84,.1);text-align:center;scroll-margin-top:48px}
.cmj-success-icon{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 18px;border-radius:50%;background:#e0f1e8;color:#227650;font-size:38px;font-weight:700}
.cmj-success h2{font-family:Georgia,serif;color:#31728d;font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.22;margin:12px 0}
.cmj-success p{max-width:630px;line-height:1.7;margin:12px auto;color:#455f69}
.cmj-success .cmj-success-lead{font-size:1.17rem;font-weight:750;color:#28744f}
.cmj-success-note{padding:15px;border-radius:10px;background:#f4f7f8;color:#465d65;margin:25px auto;max-width:640px}
.cmj-image-status{color:#385c6c;font-weight:650}.cmj-image-warning{background:#fff0e8;padding:12px;color:#924630;border-radius:8px}
.cmj-form select.cmj-category{width:100%;padding:12px;background:white;border:1px solid #b9cbd2;border-radius:8px;font:inherit}

.cmj-topic-nav{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 24px}.cmj-topic-nav a{border:1px solid #bfd2d7;border-radius:50px;padding:7px 13px;color:#31728d;text-decoration:none;font-size:.86rem}.cmj-topic-nav a[aria-current="true"]{background:#31728d;color:white}

/* Journal category controls: resist theme select height/line-height overrides. */
.cmj-form select.cmj-category{box-sizing:border-box;display:block;width:100%;min-height:48px;height:auto;line-height:1.5;padding:11px 38px 11px 13px;overflow:visible;vertical-align:middle;}

/* rc14: status-only editorial publication controls */
.cmj-publish-form{margin-top:12px;padding-top:12px;border-top:1px solid #dee7ea}
.cmj-publish-help{font-size:.9rem;color:#536c73;margin:0 0 10px;line-height:1.5}
