/* ARJST DOAJ Pages – front-end styles (scoped to .arjst-* classes). */
:root{--arjst-primary:#0E2A47;--arjst-accent:#C9A227;--arjst-light:#F4F7FB;--arjst-ink:#1E293B;--arjst-muted:#64748B;--arjst-line:#E2E8F0}

/* Hero */
.arjst-hero{position:relative;overflow:hidden}
.arjst-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(1200px 400px at 85% -10%,rgba(255,255,255,.10),transparent 60%),linear-gradient(180deg,rgba(255,255,255,0) 60%,rgba(0,0,0,.08));pointer-events:none}
.arjst-kicker{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--arjst-accent);margin:0 0 10px}
.arjst-kicker--center{display:block;text-align:center}
.arjst-badges{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}
.arjst-badge{display:inline-block;padding:6px 12px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#fff;font-size:13.5px;font-weight:600;background:rgba(255,255,255,.06)}
.arjst-updated{margin:14px 0 0;font-size:13.5px;color:rgba(255,255,255,.72)}

/* Glance card in the hero */
.arjst-glance{background:#fff;border-radius:16px;padding:22px 22px 8px;box-shadow:0 18px 40px rgba(0,0,0,.18)}
.arjst-glance__t{margin:0 0 8px;font-weight:800;color:var(--arjst-primary);font-size:15px;letter-spacing:.04em;text-transform:uppercase}
.arjst-glance .arjst-table{margin:0}
.arjst-glance .arjst-table th,.arjst-glance .arjst-table td{padding:9px 6px;font-size:14.5px}

/* Tables */
.arjst-table-wrap,.arjst-html{overflow-x:auto}
.arjst-table{width:100%;border-collapse:collapse;margin:6px 0 22px;font-size:15.5px;line-height:1.55;background:#fff}
.arjst-table th,.arjst-table td{padding:12px 14px;border-bottom:1px solid var(--arjst-line);text-align:left;vertical-align:top;color:var(--arjst-ink)}
.arjst-table tbody th{width:34%;font-weight:700;color:var(--arjst-primary)}
.arjst-table thead th{background:var(--arjst-primary);color:#fff;font-weight:700;border-bottom:0}
.arjst-table thead th:first-child{border-top-left-radius:10px}
.arjst-table thead th:last-child{border-top-right-radius:10px}
.arjst-table tbody tr:nth-child(even){background:var(--arjst-light)}
.arjst-table a{color:var(--arjst-primary);text-decoration:underline;text-underline-offset:2px}

/* Prose */
.arjst-prose a{color:var(--arjst-primary);text-decoration:underline;text-underline-offset:2px}
.arjst-prose--light a{color:#fff}
.arjst-prose ul,.arjst-prose ol{margin:0 0 1em 1.2em}
.arjst-prose code,.arjst-table code{background:var(--arjst-light);padding:2px 6px;border-radius:4px;font-size:.92em;word-break:break-all}
.arjst-list a{color:inherit;text-decoration:none}
.arjst-list a:hover{color:var(--arjst-primary);text-decoration:underline}

/* Notes */
.arjst-note{border-left:4px solid var(--arjst-primary);background:var(--arjst-light);padding:16px 18px;border-radius:0 10px 10px 0;margin:6px 0 22px;color:var(--arjst-ink);font-size:15.5px;line-height:1.6}
.arjst-note--ok{border-left-color:#15803D;background:#F0FDF4}
.arjst-note--warn{border-left-color:#B45309;background:#FFFBEB}
.arjst-note a{color:var(--arjst-primary);text-decoration:underline}

/* Cards */
.arjst-card{transition:transform .2s ease,box-shadow .2s ease}
.arjst-grid .arjst-card:hover{transform:translateY(-3px)}
.arjst-card .elementor-icon-box-title a{color:inherit}

/* Steps */
.arjst-step{position:relative}
.arjst-step__n{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--arjst-primary);color:#fff;font-weight:800;margin-bottom:12px}
.arjst-step__t{margin:0 0 6px;font-size:18px;color:var(--arjst-primary)}
.arjst-step__d{margin:0;color:#475569;font-size:15px;line-height:1.6}

/* Logos */
.arjst-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:120px;text-decoration:none}
.arjst-logo img{max-height:56px;max-width:100%;width:auto;object-fit:contain;filter:grayscale(.2)}
.arjst-logo span{font-size:13.5px;font-weight:600;color:var(--arjst-muted)}
.arjst-logo:hover img{filter:none}

/* Editorial board */
.arjst-person__role{margin:0 0 6px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--arjst-accent)}
.arjst-person__name{margin:0 0 4px;font-size:19px;color:var(--arjst-primary)}
.arjst-person__desig{margin:0 0 2px;font-weight:600;color:var(--arjst-ink);font-size:15px}
.arjst-person__aff{margin:0 0 8px;color:#475569;font-size:14.5px;line-height:1.5}
.arjst-person__orcid{margin:0 0 8px;font-size:13.5px;color:var(--arjst-muted)}
.arjst-person__links{margin:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px}
.arjst-person__links a{color:var(--arjst-primary);font-weight:600;text-decoration:none}
.arjst-person__links a:hover{text-decoration:underline}
.arjst-ico--orcid{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#A6CE39;color:#fff;font-size:9px;font-weight:800;margin-right:4px;vertical-align:-2px}

/* Sidebar */
.arjst-sidebar .elementor-widget-heading .elementor-heading-title{font-size:15px!important;letter-spacing:.06em;text-transform:uppercase}
.arjst-side-glance{margin-bottom:18px}
.arjst-side-glance__t{margin:0 0 8px;font-weight:800;color:var(--arjst-primary)}
.arjst-side-glance ul{list-style:none;margin:0;padding:0}
.arjst-side-glance li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--arjst-line);font-size:14.5px;color:var(--arjst-ink)}
.arjst-side-glance li span{color:var(--arjst-muted)}
.arjst-side-glance a{color:var(--arjst-primary)}

/* Contact & licence */
.arjst-contact p{margin:0 0 14px;line-height:1.6;color:var(--arjst-ink)}
.arjst-contact__k{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--arjst-muted)}
.arjst-contact a{color:var(--arjst-primary)}
.arjst-license{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.arjst-btn-row{display:flex;flex-wrap:wrap;gap:10px}
.arjst-btn{display:inline-block;padding:11px 18px;border-radius:8px;background:var(--arjst-primary);color:#fff!important;font-weight:700;text-decoration:none!important}
.arjst-btn--ghost{background:transparent;color:var(--arjst-primary)!important;border:2px solid var(--arjst-primary)}

/* Latest posts shortcode (plugin markup; not an Elementor container) */
.arjst-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.arjst-post{background:#fff;border:1px solid var(--arjst-line);border-radius:14px;padding:22px;display:flex;flex-direction:column}
.arjst-post__date{font-size:13px;color:var(--arjst-muted);font-weight:600}
.arjst-post__title{font-size:18px;line-height:1.35;margin:8px 0}
.arjst-post__title a{color:var(--arjst-primary);text-decoration:none}
.arjst-post__excerpt{color:#475569;font-size:15px;line-height:1.6;flex:1}
.arjst-post__more{font-weight:700;color:var(--arjst-primary);text-decoration:none}

/* CTA */
.arjst-cta .elementor-widget-text-editor{flex-basis:100%;width:100%;max-width:none}
.arjst-cta .elementor-widget-text-editor p{max-width:720px;margin-left:auto;margin-right:auto}

@media (max-width:1024px){.arjst-posts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
	.arjst-posts{grid-template-columns:1fr}
	.arjst-table{font-size:14.5px}
	.arjst-table tbody th{width:40%}
	.arjst-glance{margin-top:24px}
}
/* Space after a grid when more content follows. */
.elementor-widget-wrap > .arjst-grid:not(:last-child){margin-bottom:28px}
/* Policy pages: breathing room above each H2 except the first. */
.arjst-body > .elementor-widget-wrap > .arjst-h--h2:not(:first-child){padding-top:18px}
/* Sidebar hugs its content and stays in view on desktop. */
.arjst-sidebar{align-self:flex-start}
@media (min-width:1025px){.arjst-sidebar{position:sticky;top:32px}.admin-bar .arjst-sidebar{top:64px}}
/* Card grids: pull the row out by the 10px card gutter so card edges line up with the text above. */
@media (min-width:768px){.arjst-grid > .elementor-container{margin-left:-10px;margin-right:-10px}}
/* Inline button rows: equal bottom spacing so buttons line up on one baseline. */
.arjst-sec .elementor-widget-button.elementor-widget__width-auto:not(:last-child){margin-bottom:6px;margin-block-end:6px}
@media (prefers-reduced-motion:reduce){.arjst-card{transition:none}.arjst-grid .arjst-card:hover{transform:none}}

/* ---------- Submit (OJS mode) ---------- */
.arjst-submit__steps{margin:0 0 18px 1.2em;line-height:1.7;color:var(--arjst-ink)}
.arjst-submit__steps li{margin-bottom:6px}
.arjst-submit__steps a,.arjst-submit__alt a{color:var(--arjst-primary)}
.arjst-submit__alt{color:var(--arjst-muted);font-size:15px}

/* ---------- Manuscript tracking ---------- */
.arjst-track__form{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;background:var(--arjst-light);border:1px solid var(--arjst-line);border-radius:14px;padding:20px;margin:0 0 20px}
.arjst-field{margin:0}
.arjst-field label{display:block;font-weight:700;font-size:14px;color:var(--arjst-primary);margin-bottom:6px}
.arjst-field input{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:11px 12px;font-size:16px;background:#fff}
.arjst-field input:focus{outline:2px solid var(--arjst-accent);outline-offset:1px;border-color:var(--arjst-primary)}
.arjst-field--submit .arjst-btn{border:0;cursor:pointer;font-size:16px;padding:12px 22px}
.arjst-track__hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.arjst-track__result{border:1px solid var(--arjst-line);border-radius:14px;padding:22px;margin:0 0 20px;background:#fff}
.arjst-track__label{margin:0;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--arjst-muted);font-weight:700}
.arjst-badge-status{display:inline-block;margin:6px 0 10px;padding:6px 14px;border-radius:999px;font-weight:800;background:#e0f2fe;color:#075985}
.arjst-badge-status--accepted,.arjst-badge-status--production,.arjst-badge-status--published{background:#dcfce7;color:#166534}
.arjst-badge-status--revision{background:#fef3c7;color:#92400e}
.arjst-badge-status--declined,.arjst-badge-status--withdrawn{background:#fee2e2;color:#991b1b}
.arjst-track__title{margin:0 0 6px;font-size:19px;color:var(--arjst-primary);line-height:1.35}
.arjst-track__explain{margin:0 0 16px;color:#475569}
.arjst-steps{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0 0 18px;padding:0;counter-reset:s}
.arjst-steps__i{position:relative;padding-top:30px;text-align:center;font-size:13px;font-weight:600;color:var(--arjst-muted)}
.arjst-steps__i::before{counter-increment:s;content:counter(s);position:absolute;top:0;left:50%;transform:translateX(-50%);width:24px;height:24px;line-height:24px;border-radius:50%;background:#e2e8f0;color:#475569;font-size:12px;font-weight:800;z-index:1}
.arjst-steps__i::after{content:"";position:absolute;top:11px;left:calc(-50% + 14px);right:calc(50% + 14px);height:2px;background:#e2e8f0}
.arjst-steps__i:first-child::after{display:none}
.arjst-steps__i--done::before{content:"✓";background:#16a34a;color:#fff}
.arjst-steps__i--done::after,.arjst-steps__i--now::after{background:#16a34a}
.arjst-steps__i--now::before{background:var(--arjst-primary);color:#fff;box-shadow:0 0 0 4px rgba(14,42,71,.15)}
.arjst-steps__i--now,.arjst-steps__i--done{color:var(--arjst-ink)}
.arjst-track__h{font-size:16px;margin:18px 0 8px;color:var(--arjst-primary)}
.arjst-track__history{list-style:none;margin:0;padding:0;border-left:2px solid var(--arjst-line)}
.arjst-track__history li{position:relative;padding:0 0 12px 16px;font-size:15px}
.arjst-track__history li::before{content:"";position:absolute;left:-6px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--arjst-primary)}
.arjst-track__history time{color:var(--arjst-muted);font-size:13px;display:block}
.arjst-track__history details{margin-top:4px;font-size:14px;color:#475569}
.arjst-track__help,.arjst-track__ojs{font-size:15px;color:#475569}
.arjst-track__help a,.arjst-track__ojs a{color:var(--arjst-primary)}

/* ---------- Issues: table of contents ---------- */
.arjst-issue__head{display:grid;grid-template-columns:200px 1fr;gap:28px;align-items:start;padding:0 0 26px;margin:0 0 10px;border-bottom:1px solid var(--arjst-line)}
.arjst-issue__cover img,.arjst-issue__cover .vj-cover img{width:100%;height:auto;border-radius:10px;box-shadow:0 10px 26px rgba(14,42,71,.18);display:block}
.arjst-issue__series{margin:0 0 4px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--arjst-accent);font-weight:800}
.arjst-issue__title{margin:0 0 8px;font-size:28px;line-height:1.25}
.arjst-issue__title a{color:var(--arjst-primary);text-decoration:none}
.arjst-issue__meta{color:var(--arjst-muted);font-size:15px;margin:0 0 10px}
.arjst-issue__meta a{color:var(--arjst-primary)}
.arjst-issue__desc{color:#475569;margin:0 0 14px}
.arjst-toc__section{margin:26px 0 6px;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--arjst-muted)}
.arjst-toc{list-style:none;margin:0;padding:0}
.arjst-toc__item{padding:16px 0;border-bottom:1px solid var(--arjst-line)}
.arjst-toc__title{margin:0 0 4px;font-size:18px;line-height:1.4}
.arjst-toc__title a{color:var(--arjst-primary);text-decoration:none}
.arjst-toc__title a:hover{text-decoration:underline}
.arjst-toc__authors{margin:0 0 4px;color:var(--arjst-ink);font-size:15px}
.arjst-toc__meta{margin:0 0 6px;color:var(--arjst-muted);font-size:14px;word-break:break-word}
.arjst-toc__meta a{color:var(--arjst-primary)}
.arjst-toc__galleys{margin:0}
.arjst-galley,.arjst-toc__galleys .vj-galley{display:inline-block;padding:4px 12px;border:1.5px solid var(--arjst-primary);border-radius:6px;color:var(--arjst-primary)!important;font-size:13px;font-weight:700;text-decoration:none!important;margin:0 6px 4px 0}
.arjst-galley:hover,.arjst-toc__galleys .vj-galley:hover{background:var(--arjst-primary);color:#fff!important}
.arjst-issue--compact .arjst-toc__item{padding:12px 0}
.arjst-issue--compact .arjst-toc__title{font-size:17px}
.arjst-issue__compact-head{margin:0 0 4px;color:var(--arjst-muted)}
.arjst-issue__compact-head a{color:var(--arjst-primary);text-decoration:none}
.arjst-issue__more{margin:16px 0 0}

/* ---------- Archives ---------- */
.arjst-years{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.arjst-years span{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--arjst-muted);font-weight:700;margin-right:4px}
.arjst-years a{padding:6px 14px;border-radius:999px;background:var(--arjst-light);color:var(--arjst-primary);font-weight:700;text-decoration:none;border:1px solid var(--arjst-line)}
.arjst-years a:hover{background:var(--arjst-primary);color:#fff}
.arjst-archive__year{display:flex;align-items:baseline;gap:12px;margin:34px 0 16px;padding-bottom:8px;border-bottom:2px solid var(--arjst-primary);font-size:26px;color:var(--arjst-primary);scroll-margin-top:90px}
.arjst-archive__year span{font-size:14px;font-weight:600;color:var(--arjst-muted)}
.arjst-issues{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.arjst-issue-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--arjst-line);border-radius:14px;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
.arjst-issue-card:hover{box-shadow:0 12px 28px rgba(14,42,71,.12);transform:translateY(-2px)}
.arjst-issue-card__img{display:block;aspect-ratio:3/4;background:var(--arjst-light);overflow:hidden}
.arjst-issue-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.arjst-issue-card__img .vj-cover{display:block;height:100%}
.arjst-issue-card__body{padding:14px 16px 16px}
.arjst-issue-card__series{margin:0 0 4px;font-size:12.5px;font-weight:800;letter-spacing:.04em;color:var(--arjst-accent);text-transform:uppercase}
.arjst-issue-card__title{margin:0;font-size:17px;line-height:1.35}
.arjst-issue-card__title a{color:var(--arjst-primary);text-decoration:none}
.arjst-issue-card__title a::after{content:"";position:absolute;inset:0}
.arjst-issue-card{position:relative}
.arjst-issue-card__desc,.arjst-issue-card__meta{margin:6px 0 0;font-size:13.5px;color:#475569}
.arjst-issue-card__src{margin:8px 0 0;font-size:12px;color:var(--arjst-muted)}
.arjst-archive__ojs{margin:30px 0 0;padding:14px 16px;border-radius:10px;background:var(--arjst-light);color:#475569;font-size:15px}
.arjst-archive__ojs a{color:var(--arjst-primary);font-weight:700}
.arjst-cover-ph{display:flex;flex-direction:column;justify-content:space-between;height:100%;min-height:180px;box-sizing:border-box;padding:18px;background:linear-gradient(160deg,var(--arjst-primary),#1e3a5f);color:#fff}
.arjst-cover-ph__j{font-weight:900;font-size:26px;letter-spacing:.06em}
.arjst-cover-ph__s{font-size:13px;opacity:.85}
.arjst-cover-ph__t{font-size:18px;font-weight:700;border-top:2px solid var(--arjst-accent);padding-top:10px}
.arjst-issue__cover .arjst-cover-ph{border-radius:10px;aspect-ratio:3/4}

@media (max-width:1024px){
	.arjst-issues{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:767px){
	.arjst-track__form{grid-template-columns:1fr}
	.arjst-steps__i{font-size:11px}
	.arjst-issue__head{grid-template-columns:110px 1fr;gap:16px}
	.arjst-issue__title{font-size:22px}
	.arjst-issues{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
	.arjst-issue-card__body{padding:10px 12px 12px}
	.arjst-issue-card__title{font-size:15px}
	.arjst-archive__year{font-size:22px}
}
@media (prefers-reduced-motion:reduce){.arjst-issue-card{transition:none}.arjst-issue-card:hover{transform:none}}

/* Covers: placeholder underneath, picture on top (removed if it fails to load). */
.arjst-issue-card__img,.arjst-cover-wrap{position:relative;display:block}
.arjst-cover-wrap{aspect-ratio:3/4;border-radius:10px;overflow:hidden}
.arjst-cover-wrap .arjst-cover-ph{border-radius:0;height:100%}
.arjst-cover-img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
/* VYBE Journal's printed cover and galley buttons, when its own stylesheet is not on the page. */
.arjst-issue .vj-cover--printed,.arjst-issue-card .vj-cover--printed{display:flex;flex-direction:column;justify-content:space-between;gap:6px;height:100%;min-height:180px;box-sizing:border-box;padding:18px;background:linear-gradient(160deg,var(--arjst-primary),#1e3a5f);color:#fff;text-decoration:none;border-radius:10px;aspect-ratio:3/4}
.arjst-issue-card .vj-cover--printed{border-radius:0}
.vj-cover--printed>span{display:block}
.vj-cover__journal{font-weight:800;font-size:15px;line-height:1.3}
.vj-cover__issue{margin-top:auto;font-weight:700;font-size:14px;border-top:2px solid var(--arjst-accent);padding-top:10px}
.vj-cover__title,.vj-cover__label{font-size:13px;opacity:.9}
.vj-cover__date{font-size:12px;opacity:.8}
.arjst-toc__galleys .vj-galley__icon{display:none}
.arjst-issue-card .vj-cover--printed,.arjst-issue-card .arjst-cover-ph{overflow:hidden}
@media (max-width:767px){
	.arjst-issue-card .vj-cover--printed,.arjst-issue-card .arjst-cover-ph{padding:12px;min-height:0}
	.arjst-issue-card .vj-cover__journal{font-size:12px}
	.arjst-issue-card .vj-cover__issue{font-size:12px;padding-top:6px}
	.arjst-issue-card .vj-cover__title,.arjst-issue-card .vj-cover__date{font-size:11px}
	.arjst-cover-ph__j{font-size:20px}
	.arjst-cover-ph__t{font-size:15px}
}
