/* =====================================================================
 * Journal Hero (OJS generic plugin)
 * Everything is scoped under .jh-root so the active theme is unaffected
 * and theme styles do not leak in.
 * ===================================================================== */

html:has(.jh-root) { overflow-x: clip; }

.jh-root {
	--jh-primary: #0F2A4A;
	--jh-accent: #F2B630;
	--jh-rank: #2563EB;
	--jh-ink: #14213D;
	--jh-muted: #64748B;
	--jh-line: #E3E8EF;
	--jh-font: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* full-bleed even inside a boxed theme */
	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	margin-left: -50vw;
	clear: both;
	font-family: var(--jh-font);
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
}
.jh-root *, .jh-root *::before, .jh-root *::after { box-sizing: border-box; }
.jh-root a { text-decoration: none; }
.jh-root p, .jh-root ul, .jh-root h2 { margin: 0; padding: 0; }
.jh-root ul { list-style: none; }
.jh-root svg { display: inline-block; vertical-align: middle; }

.jh-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.jh-hero {
	position: relative; overflow: hidden; color: #fff;
	background-color: var(--jh-primary);
	background-image:
		repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
		repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
		radial-gradient(circle at 85% 20%, color-mix(in srgb, #60A5FA 30%, transparent), transparent 55%);
}
.jh-hero--image {
	background-image:
		linear-gradient(90deg, var(--jh-primary) 0%, color-mix(in srgb, var(--jh-primary) 94%, transparent) 38%, color-mix(in srgb, var(--jh-primary) 55%, transparent) 70%, color-mix(in srgb, var(--jh-primary) 25%, transparent) 100%),
		var(--jh-bg);
	background-size: cover, cover;
	background-position: center, center right;
}
.jh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.jh-hero__grid--single { grid-template-columns: minmax(0, 760px); }
.jh-hero__main { min-width: 0; }

.jh-root .jh-eyebrow { display: flex; align-items: center; gap: 14px; color: var(--jh-accent); font: 700 14px/1.3 var(--jh-font); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.jh-root .jh-eyebrow::before { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--jh-accent); flex-shrink: 0; }
.jh-root .jh-title { color: var(--jh-accent); font: 800 clamp(32px, 4.2vw, 52px)/1.1 var(--jh-font); margin: 0 0 18px; letter-spacing: -.01em; border: 0; text-transform: none; background: none; padding: 0; }
.jh-root .jh-desc { font: 400 18px/1.6 var(--jh-font); color: rgba(255,255,255,.9); margin: 0 0 28px; max-width: 580px; }

.jh-root .jh-features { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 26px; }
.jh-root .jh-features li { display: flex; gap: 12px; padding: 0 16px; border-left: 1px solid rgba(255,255,255,.18); margin: 0; }
.jh-root .jh-features li:first-child { padding-left: 0; border-left: 0; }
.jh-ficon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; }
.jh-root .jh-features b { display: block; font: 700 16px/1.3 var(--jh-font); color: #fff; }
.jh-root .jh-features small { display: block; color: rgba(255,255,255,.72); font: 400 14px/1.55 var(--jh-font); margin-top: 3px; }

.jh-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.jh-chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); color: #fff; font: 500 15px/1 var(--jh-font); white-space: nowrap; }
.jh-rank { display: inline-flex; align-items: stretch; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); font-family: var(--jh-font); }
.jh-rank__label { background: #0B1324; color: #fff; padding: 9px 11px; font: 700 12px/1 var(--jh-font); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; }
.jh-rank__value { background: var(--jh-rank); color: #fff; padding: 9px 13px; font: 700 16px/1 var(--jh-font); display: flex; align-items: center; }

/* ---------- Cover carousel ---------- */
.jh-covers { position: relative; min-width: 0; }
.jh-covers__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 14px; }
.jh-covers__track::-webkit-scrollbar { display: none; }
.jh-root .jh-cover {
	position: relative; flex: 0 0 calc((100% - 36px) / 3); aspect-ratio: 3 / 4.2; scroll-snap-align: start;
	border-radius: 6px; overflow: hidden; color: #fff; display: flex; flex-direction: column; padding: 14px 14px 0;
	box-shadow: 0 18px 36px rgba(0,0,0,.35); transition: transform .2s;
	background: linear-gradient(160deg, #E11D48, #7F1D1D);
}
.jh-root .jh-cover--1 { background: linear-gradient(160deg, #9333EA, #4C1D95); }
.jh-root .jh-cover--2 { background: linear-gradient(160deg, #0EA5E9, #0C4A6E); }
.jh-root .jh-cover:hover { transform: translateY(-6px); color: #fff; }
.jh-cover::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.14); right: -12%; top: 10%; }
.jh-cover--img::after { display: none; }
.jh-root .jh-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; margin: 0; border: 0; }
.jh-cover__journal { position: relative; z-index: 1; font: 400 10px/1.3 var(--jh-font); opacity: .85; }
.jh-cover__title { position: relative; z-index: 1; margin-top: auto; margin-bottom: 52px; font: 800 clamp(15px, 1.5vw, 19px)/1.15 var(--jh-font); }
.jh-cover__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 11px 8px; text-align: center; background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,0)); color: var(--jh-accent); font: 700 13.5px/1.2 var(--jh-font); }
.jh-covers__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.jh-root .jh-covers__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff; font: 400 22px/1 var(--jh-font); cursor: pointer; padding: 0; box-shadow: none; }
.jh-root .jh-covers__nav button:hover { background: var(--jh-accent); color: #111; border-color: var(--jh-accent); }
.jh-covers__dots { display: flex; gap: 8px; }
.jh-covers__dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.jh-covers__dots span.is-active { background: var(--jh-accent); }

/* ---------- Feature strip ---------- */
.jh-strip { position: relative; background: #fff; }
.jh-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 32px; padding-bottom: 18px; position: relative; z-index: 1; }
.jh-root .jh-strip__item { display: flex; gap: 16px; align-items: flex-start; padding: 0 28px; border-left: 1px solid var(--jh-line); color: inherit; }
.jh-root .jh-strip__item:first-child { border-left: 1px solid var(--jh-line); }
.jh-strip__icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #F5F7FA; color: var(--jh-primary); border: 1px solid var(--jh-line); }
.jh-root .jh-strip__item b { display: block; font: 700 19px/1.3 var(--jh-font); color: var(--jh-ink); }
.jh-root .jh-strip__item p { margin: 4px 0 0; color: var(--jh-muted); font: 400 15px/1.55 var(--jh-font); }
.jh-root a.jh-strip__item:hover b { color: var(--jh-primary); text-decoration: underline; text-decoration-color: var(--jh-accent); text-underline-offset: 4px; }
.jh-wave { display: block; width: 100%; height: 56px; margin-top: -4px; }
.jh-wave__fill { fill: var(--jh-primary); }
.jh-wave__line { fill: none; stroke: var(--jh-accent); stroke-width: 4; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	.jh-hero__grid { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; gap: 32px; }
	.jh-strip__grid { grid-template-columns: 1fr; gap: 20px; }
	.jh-root .jh-strip__item, .jh-root .jh-strip__item:first-child { border-left: 0; padding: 0; }
	.jh-hero--image { background-image: linear-gradient(180deg, color-mix(in srgb, var(--jh-primary) 92%, transparent), color-mix(in srgb, var(--jh-primary) 80%, transparent)), var(--jh-bg); }
}
@media (max-width: 640px) {
	.jh-root .jh-features { grid-template-columns: 1fr; gap: 14px; }
	.jh-root .jh-features li { border-left: 0; padding: 0; }
	.jh-root .jh-cover { flex-basis: 44%; }
	.jh-root .jh-desc { font-size: 16px; }
	.jh-wave { height: 36px; }
}

/* Clickable rank / ISSN */
.jh-root a.jh-chip { transition: background .15s, border-color .15s, color .15s; }
.jh-root a.jh-chip:hover, .jh-root a.jh-chip:focus { background: var(--jh-accent); border-color: var(--jh-accent); color: #111; }
.jh-root a.jh-rank { transition: transform .15s, box-shadow .15s; }
.jh-root a.jh-rank:hover, .jh-root a.jh-rank:focus { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.jh-root a.jh-chip::after, .jh-root a.jh-rank .jh-rank__value::after {
	content: ""; width: 10px; height: 10px; margin-left: 7px; flex-shrink: 0; opacity: .75;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 01-1 1H5a1 1 0 01-1-1V7a1 1 0 011-1h5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 01-1 1H5a1 1 0 01-1-1V7a1 1 0 011-1h5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =====================================================================
 * Layout: boxed (default) — aligned with the site's content column
 * ===================================================================== */
.jh-root.jh-boxed { width: auto; max-width: var(--jh-boxw, 1160px); left: auto; margin: 24px auto 8px; padding: 0; }
@media (max-width: 1220px) { .jh-root.jh-boxed { margin-left: 16px; margin-right: 16px; } }
.jh-boxed .jh-hero { border-radius: 16px 16px 0 0; }
.jh-boxed .jh-hero:only-child { border-radius: 16px; }
.jh-boxed .jh-strip { border-radius: 0 0 16px 16px; border: 1px solid var(--jh-line); border-top: 0; border-bottom: 4px solid var(--jh-accent); box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.jh-boxed .jh-wave { display: none; }
.jh-boxed .jh-wrap { padding-left: 36px; padding-right: 36px; max-width: none; }
.jh-boxed .jh-strip__grid { padding-top: 22px; padding-bottom: 22px; }
.jh-root.jh-boxed .jh-strip__item { padding: 0 20px; }
.jh-root.jh-boxed .jh-strip__item:first-child { border-left: 0; padding-left: 0; }

/* =====================================================================
 * Size: compact (default)
 * ===================================================================== */
.jh-compact .jh-hero__grid { padding-top: 36px; padding-bottom: 36px; gap: 32px; }
.jh-root.jh-compact .jh-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.jh-root.jh-compact .jh-desc { font-size: 16px; margin-bottom: 20px; }
.jh-root.jh-compact .jh-features { margin-bottom: 20px; }
.jh-compact .jh-ficon { width: 38px; height: 38px; }
.jh-root.jh-compact .jh-features b { font-size: 15px; }
.jh-root.jh-compact .jh-features small { font-size: 13px; }
.jh-compact .jh-strip__icon { width: 46px; height: 46px; }
.jh-root.jh-compact .jh-strip__item b { font-size: 17px; }
.jh-root.jh-compact .jh-strip__item p { font-size: 14px; }
.jh-compact .jh-covers__nav { margin-top: 4px; }

@media (max-width: 992px) {
	.jh-boxed .jh-wrap { padding-left: 22px; padding-right: 22px; }
	.jh-root.jh-boxed .jh-strip__item { padding: 0; }
}

/* =====================================================================
 * Style: Profile
 * ===================================================================== */
.jh-root { --jh-serif: "Source Serif 4", Georgia, "Times New Roman", serif; --jh-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.jh-style-profile { font-family: var(--jh-sans); }

.jh-pro {
	position: relative; overflow: hidden; color: #fff;
	background-color: var(--jh-primary);
	background-image:
		linear-gradient(115deg, color-mix(in srgb, var(--jh-primary) 70%, #000) 0%, var(--jh-primary) 52%, color-mix(in srgb, var(--jh-primary) 70%, #fff) 100%),
		repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 72px),
		repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 72px);
	background-blend-mode: normal, overlay, overlay;
}
.jh-pro--image {
	background-image:
		linear-gradient(115deg, color-mix(in srgb, var(--jh-primary) 92%, #000) 0%, color-mix(in srgb, var(--jh-primary) 92%, transparent) 50%, color-mix(in srgb, var(--jh-primary) 70%, transparent) 100%),
		var(--jh-bg);
	background-size: cover, cover; background-position: center, center right;
}
.jh-pro__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 470px; gap: 44px; align-items: start; padding-top: 52px; padding-bottom: 44px; }
.jh-pro__grid--nocover { grid-template-columns: minmax(0, 1fr) 470px; }

/* Cover */
.jh-root .jh-pro__cover { display: block; color: #fff; border-radius: 6px; box-shadow: 0 24px 50px rgba(0,0,0,.45); transition: transform .2s; }
.jh-root .jh-pro__cover:hover { transform: translateY(-4px); color: #fff; }
.jh-root .jh-pro__cover img { display: block; width: 100%; height: auto; border-radius: 6px; max-width: none; margin: 0; border: 0; }
.jh-pro__gencover {
	position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4.25; padding: 26px 24px 26px 60px; border-radius: 6px; overflow: hidden;
	background:
		repeating-linear-gradient(135deg, transparent 0 9px, rgba(255,255,255,.06) 9px 10px) right / 32% 100% no-repeat,
		linear-gradient(160deg, color-mix(in srgb, var(--jh-primary) 85%, #fff), color-mix(in srgb, var(--jh-primary) 80%, #000));
}
.jh-pro__gencover-year { position: absolute; left: 22px; top: 0; width: 26px; height: 82px; background: var(--jh-accent); color: var(--jh-primary); font: 700 11px/1 var(--jh-sans); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; writing-mode: vertical-rl; transform: rotate(180deg); }
.jh-pro__gencover-issue { font: 600 9px/1.4 var(--jh-sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.jh-pro__gencover-title { margin-top: auto; font: 700 30px/1.08 var(--jh-serif); color: #fff; padding-bottom: 14px; border-bottom: 2px solid rgba(255,255,255,.5); max-width: 85%; }
.jh-pro__gencover-sub { margin-top: 10px; font: 400 10px/1.4 var(--jh-sans); color: rgba(255,255,255,.7); }

/* Main column */
.jh-root .jh-pro__title { font: 700 clamp(34px, 3.8vw, 58px)/1.08 var(--jh-serif); color: #fff; margin: 0 0 12px; letter-spacing: -.01em; border: 0; padding: 0; background: none; text-transform: none; }
.jh-root .jh-pro__subtitle { font: italic 500 clamp(20px, 2vw, 28px)/1.3 var(--jh-serif); color: var(--jh-accent); margin: 0 0 20px; }
.jh-root .jh-pro__desc { font: 400 18px/1.75 var(--jh-sans); color: rgba(255,255,255,.88); margin: 0; }
.jh-root .jh-pro__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.jh-root .jh-pro__stats > div { padding: 0 18px; border-left: 1px solid rgba(255,255,255,.2); }
.jh-root .jh-pro__stats > div:first-child { padding-left: 0; border-left: 0; }
.jh-root .jh-pro__stats dt { font: 700 clamp(28px, 2.6vw, 38px)/1.1 var(--jh-serif); color: #fff; margin: 0 0 6px; }
.jh-root .jh-pro__stats dd { font: 400 15px/1.35 var(--jh-sans); color: rgba(255,255,255,.82); margin: 0; }

/* Side column */
.jh-pro__side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.jh-root .jh-pro__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jh-root .jh-pro__tiles li { margin: 0; min-width: 0; }
.jh-root .jh-tile { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 8px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); transition: background .15s, border-color .15s; }
.jh-root a.jh-tile:hover, .jh-root a.jh-tile:focus { background: rgba(255,255,255,.14); border-color: var(--jh-accent); color: #fff; }
.jh-tile__badge { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--jh-accent); color: var(--jh-primary); font: 800 15px/1 var(--jh-sans); }
.jh-tile__badge--sm { font-size: 12px; }
.jh-tile__text { min-width: 0; }
.jh-root .jh-tile small { display: block; font: 400 14.5px/1.25 var(--jh-sans); color: rgba(255,255,255,.82); }
.jh-root .jh-tile b { display: block; font: 700 17px/1.3 var(--jh-sans); color: #fff; overflow-wrap: anywhere; }

.jh-pro__submit { background: color-mix(in srgb, var(--jh-primary) 72%, #000); border-radius: 12px; padding: 26px 26px 22px; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.jh-root .jh-pro__submitbtn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--jh-accent); color: var(--jh-primary); font: 600 20px/1 var(--jh-sans); padding: 20px; border-radius: 6px; transition: filter .15s, transform .15s; }
.jh-root .jh-pro__submitbtn:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--jh-primary); }
.jh-root .jh-pro__submit p { margin: 16px 0 10px; font: 400 16px/1.45 var(--jh-sans); color: rgba(255,255,255,.9); }
.jh-pro__submitlinks { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.jh-root .jh-pro__submitlinks a { color: #fff; font: 600 15px/1.4 var(--jh-sans); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.6); }
.jh-root .jh-pro__submitlinks a:hover { color: var(--jh-accent); }

/* Profile + boxed / compact */
.jh-boxed .jh-pro { border-radius: 16px 16px 0 0; }
.jh-boxed .jh-pro:only-child { border-radius: 16px; }
.jh-boxed.jh-style-profile .jh-pro__grid { grid-template-columns: 210px minmax(0, 1fr) 360px; gap: 32px; }
.jh-boxed.jh-style-profile .jh-pro__grid--nocover { grid-template-columns: minmax(0, 1fr) 360px; }
.jh-compact .jh-pro__grid { padding-top: 36px; padding-bottom: 32px; }
.jh-root.jh-compact .jh-pro__title { font-size: clamp(30px, 3vw, 44px); }
.jh-root.jh-compact .jh-pro__subtitle { font-size: clamp(18px, 1.7vw, 22px); margin-bottom: 14px; }
.jh-root.jh-compact .jh-pro__desc { font-size: 16px; line-height: 1.65; }
.jh-root.jh-compact .jh-pro__stats { margin-top: 22px; padding-top: 20px; }
.jh-root.jh-compact .jh-pro__stats dt { font-size: clamp(24px, 2.2vw, 32px); }
.jh-root.jh-compact .jh-pro__stats dd { font-size: 13.5px; }
.jh-root.jh-compact .jh-tile { padding: 10px 12px; gap: 10px; }
.jh-compact .jh-tile__badge { width: 38px; height: 38px; font-size: 13px; }
.jh-compact .jh-tile__badge--sm { font-size: 10.5px; }
.jh-root.jh-compact .jh-tile small { font-size: 12.5px; }
.jh-root.jh-compact .jh-tile b { font-size: 15px; }
.jh-compact .jh-pro__submit { padding: 18px 18px 16px; }
.jh-root.jh-compact .jh-pro__submitbtn { font-size: 17px; padding: 15px; }
.jh-root.jh-compact .jh-pro__submit p { font-size: 14px; margin: 12px 0 8px; }

@media (max-width: 1240px) {
	.jh-pro__grid, .jh-boxed.jh-style-profile .jh-pro__grid { grid-template-columns: 200px minmax(0, 1fr); }
	.jh-pro__grid--nocover, .jh-boxed.jh-style-profile .jh-pro__grid--nocover { grid-template-columns: 1fr; }
	.jh-pro__side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 860px) {
	.jh-pro__grid, .jh-boxed.jh-style-profile .jh-pro__grid { grid-template-columns: 1fr; }
	.jh-root .jh-pro__cover { max-width: 200px; }
	.jh-pro__side { grid-template-columns: 1fr; }
	.jh-root .jh-pro__stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
	.jh-root .jh-pro__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
	.jh-root .jh-pro__tiles { grid-template-columns: 1fr; }
}

/* Profile, full width: give the three columns more room; stats never overflow */
.jh-full.jh-style-profile .jh-wrap { max-width: 1440px; }
.jh-full.jh-style-profile .jh-pro__grid { grid-template-columns: 260px minmax(0, 1fr) 420px; }
.jh-full.jh-style-profile .jh-pro__grid--nocover { grid-template-columns: minmax(0, 1fr) 420px; }
.jh-root .jh-pro__main { min-width: 0; }
.jh-root .jh-pro__stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); row-gap: 18px; }
.jh-root .jh-pro__stats > div { min-width: 0; }
@media (max-width: 1240px) {
	.jh-full.jh-style-profile .jh-pro__grid { grid-template-columns: 200px minmax(0, 1fr); }
	.jh-full.jh-style-profile .jh-pro__grid--nocover { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.jh-full.jh-style-profile .jh-pro__grid { grid-template-columns: 1fr; }
}

/* Inside a theme header: keep our own colours/fonts against header link rules */
html body .jh-root a.jh-chip, html body .jh-root a.jh-rank, html body .jh-root a.jh-cover,
html body .jh-root a.jh-pro__cover, html body .jh-root a.jh-tile, html body .jh-root .jh-pro__submitlinks a { color: #fff; }
html body .jh-root a.jh-chip:hover, html body .jh-root a.jh-chip:focus { color: #111; }
html body .jh-root a.jh-strip__item { color: inherit; }
html body .jh-root a.jh-pro__submitbtn { color: var(--jh-primary); }
html body .jh-root a { text-decoration: none; border-bottom: 0; }
html body .jh-root .jh-pro__submitlinks a { text-decoration: underline; }
.pkp_structure_head .jh-root.jh-boxed { margin-top: 20px; margin-bottom: 20px; }
.pkp_structure_head .jh-root { text-transform: none; letter-spacing: normal; }

/* =====================================================================
 * Font choices
 * ===================================================================== */
.jh-root { --jh-title-font: var(--jh-font); --jh-title-weight: 800; --jh-title-track: -.01em; }
.jh-root.jh-font-inter { --jh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --jh-title-weight: 700; --jh-title-track: -.025em; }
.jh-root.jh-font-interSerif { --jh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --jh-title-font: "Source Serif 4", Georgia, "Times New Roman", serif; --jh-title-weight: 700; --jh-title-track: -.005em; }
.jh-root.jh-font-jakarta { --jh-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --jh-title-weight: 800; --jh-title-track: -.02em; }
.jh-root.jh-font-outfit { --jh-font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.jh-root.jh-font-theme { --jh-font: inherit; }
.jh-root.jh-font-theme * { font-family: inherit; }

html body .jh-root .jh-title { font-family: var(--jh-title-font); font-weight: var(--jh-title-weight); letter-spacing: var(--jh-title-track); line-height: 1.12; }
html body .jh-root .jh-cover__title { font-family: var(--jh-title-font); font-weight: var(--jh-title-weight); letter-spacing: var(--jh-title-track); }
.jh-root.jh-font-inter .jh-features b, .jh-root.jh-font-inter .jh-strip__item b { font-weight: 600; letter-spacing: -.01em; }
.jh-root.jh-font-inter .jh-desc, .jh-root.jh-font-interSerif .jh-desc { line-height: 1.65; color: rgba(255,255,255,.86); }
.jh-root.jh-font-inter .jh-eyebrow, .jh-root.jh-font-interSerif .jh-eyebrow { font-weight: 600; letter-spacing: .16em; font-size: 13px; }
.jh-root.jh-font-inter .jh-chip, .jh-root.jh-font-interSerif .jh-chip { font-weight: 500; font-size: 14.5px; }
/* Profile style keeps its own serif/sans pairing unless Inter-based fonts are chosen */
.jh-root.jh-style-profile.jh-font-inter, .jh-root.jh-style-profile.jh-font-interSerif { --jh-sans: "Inter", system-ui, sans-serif; }
.jh-root.jh-style-profile.jh-font-jakarta { --jh-sans: "Plus Jakarta Sans", system-ui, sans-serif; }

/* =====================================================================
 * Small screens, banner placed inside the header (above the menu):
 * show the banner first, then the theme's menu toggle and the menu,
 * so the opened menu appears right below its button.
 * ===================================================================== */
@media (max-width: 991px) {
	html:root body .pkp_head_wrapper:has(> .jh-root) { display: flex !important; flex-direction: column !important; }
	html:root body .pkp_head_wrapper:has(> .jh-root) > * { order: 4; }
	html:root body .pkp_head_wrapper:has(> .jh-root) > .jh-root { order: 1; }
	html:root body .pkp_head_wrapper:has(> .jh-root) > .pkp_site_name_wrapper { order: 2; }
	html:root body .pkp_head_wrapper:has(> .jh-root) > .pkp_site_nav_menu { order: 3; }
	html:root body .pkp_head_wrapper:has(> .jh-root) > .jh-root.jh-boxed { margin-bottom: 12px; }
}

/* =====================================================================
 * Right-hand media: single image (logo / current cover / custom image)
 * ===================================================================== */
.jh-hero__grid--media1 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.jh-hero__grid--carousel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.jh-single { display: flex; align-items: center; justify-content: center; min-width: 0; }
.jh-root .jh-single__link { display: block; color: #fff; transition: transform .2s; }
.jh-root a.jh-single__link:hover { transform: translateY(-4px); }
.jh-root .jh-single--logo img { display: block; max-width: 100%; max-height: 300px; width: auto; height: auto; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,.35)); border: 0; }
.jh-root .jh-single--cover img { display: block; width: 100%; max-width: 270px; height: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 22px 46px rgba(0,0,0,.45); border: 0; }
.jh-root .jh-single--cover .jh-single__link { width: 100%; max-width: 270px; }
.jh-root .jh-cover--solo { width: 100%; flex: none; }

/* =====================================================================
 * Text sizes follow the width of the text column (container queries),
 * so the title fits whether the right side is a carousel, one image or nothing.
 * ===================================================================== */
.jh-hero__main { container-type: inline-size; }
html body .jh-root .jh-title { font-size: clamp(24px, 7.6cqi, 52px); }
html body .jh-root.jh-compact .jh-title { font-size: clamp(22px, 6.6cqi, 42px); }
html body .jh-root .jh-desc { font-size: clamp(14.5px, 2.75cqi, 18px); }
html body .jh-root.jh-compact .jh-desc { font-size: clamp(14px, 2.5cqi, 16.5px); }
html body .jh-root .jh-eyebrow { font-size: clamp(11px, 2cqi, 14px); }
html body .jh-root .jh-features b { font-size: clamp(14px, 2.4cqi, 16px); }
html body .jh-root .jh-features small { font-size: clamp(12.5px, 2.1cqi, 14px); }
@container (max-width: 520px) {
	.jh-root .jh-features { grid-template-columns: 1fr; gap: 12px; }
	.jh-root .jh-features li { border-left: 0; padding: 0; }
}

/* =====================================================================
 * Small screens
 * ===================================================================== */
@media (max-width: 991px) {
	.jh-hero__grid--media1, .jh-hero__grid--carousel { grid-template-columns: 1fr; }
	.jh-covers { width: 100%; max-width: 540px; margin: 0 auto; }
	.jh-root .jh-single--logo img { max-height: 180px; }
	.jh-root .jh-single--cover img, .jh-root .jh-single--cover .jh-single__link { max-width: 200px; }

	/* The theme's user menu (inside the header) must open above the menu bar */
	html:root body .pkp_head_wrapper:has(> .jh-root) .pkp_site_name_wrapper { position: relative; z-index: 60; overflow: visible !important; }
	html:root body .pkp_head_wrapper:has(> .jh-root) .pkp_navigation_user_wrapper,
	html:root body .pkp_head_wrapper:has(> .jh-root) .ch-userbar,
	html:root body .pkp_head_wrapper:has(> .jh-root) #navigationUser { position: relative; z-index: 70; }
	html:root body .pkp_head_wrapper:has(> .jh-root) #navigationUser ul { z-index: 80; }
	html:root body .pkp_head_wrapper:has(> .jh-root) > .pkp_site_nav_menu { position: relative; z-index: 50; }
}
@media (max-width: 640px) {
	.jh-root .jh-cover { flex-basis: 40%; }
	.jh-hero__grid { gap: 26px; }
}
/* Logo: fill the column (works for SVG logos without an intrinsic size too) */
.jh-root .jh-single--logo .jh-single__link { width: 100%; }
.jh-root .jh-single--logo img { width: 100%; max-width: 440px; }
@media (max-width: 991px) { .jh-root .jh-single--logo img { max-width: 320px; } }

/* =====================================================================
 * Small screens: keep the theme's user menu dropdown above the menu bar,
 * whatever the banner position (before the header or inside it).
 * ===================================================================== */
@media (max-width: 991px) {
	html:root body .pkp_structure_head > .ch-issn,
	html:root body .pkp_structure_head .pkp_navigation_user_wrapper,
	html:root body .pkp_structure_head .ch-userbar,
	html:root body .pkp_structure_head .ch-user-menu,
	html:root body .pkp_structure_head #navigationUser { position: relative !important; z-index: 1000 !important; }
	html:root body .pkp_structure_head #navigationUser ul,
	html:root body .pkp_structure_head .pkp_navigation_user ul,
	html:root body .pkp_structure_head .ch-user-menu ul,
	html:root body .pkp_structure_head .dropdown-menu { z-index: 1001 !important; }
	html:root body .pkp_structure_head > .ch-issn,
	html:root body .pkp_structure_head .ch-userbar { overflow: visible !important; }

	/* Centre the single image (logo / cover) on phones */
	html body .jh-root .jh-single, html body .jh-root .jh-single__link { display: flex !important; justify-content: center; width: 100%; }
	html body .jh-root .jh-single img { margin-left: auto !important; margin-right: auto !important; }
}

/* =====================================================================
 * v1.6 — proportional sizing
 * Tighter spacing, smaller title cap, logo never enlarged past its own
 * size, text column takes the free width.
 * ===================================================================== */
.jh-hero__grid { padding-top: 48px; padding-bottom: 48px; gap: 40px; }
.jh-compact .jh-hero__grid { padding-top: 32px; padding-bottom: 32px; gap: 32px; }

html body .jh-root .jh-title { font-size: clamp(24px, 6.2cqi, 44px); line-height: 1.12; margin-bottom: 14px; }
html body .jh-root.jh-compact .jh-title { font-size: clamp(22px, 5.4cqi, 36px); margin-bottom: 10px; }
html body .jh-root .jh-desc { max-width: 64ch; margin-bottom: 22px; }
html body .jh-root.jh-compact .jh-desc { margin-bottom: 18px; }
.jh-root .jh-features { margin-bottom: 20px; max-width: 760px; }
.jh-root.jh-compact .jh-features { margin-bottom: 16px; }

/* One image: the image column is only as wide as the image */
.jh-hero__grid--media1 { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
html body .jh-root .jh-single, html body .jh-root .jh-single__link { width: auto; }
.jh-root .jh-single--logo img { width: auto; max-width: min(100%, 280px); max-height: 240px; }
.jh-root .jh-single--logo img[src$=".svg"], .jh-root .jh-single--logo img[src^="data:image/svg"] { width: 280px; }
.jh-compact .jh-single--logo img { max-width: min(100%, 220px); max-height: 200px; }
.jh-compact .jh-single--logo img[src$=".svg"] { width: 220px; }
.jh-root .jh-single--cover img, .jh-root .jh-single--cover .jh-single__link { max-width: 230px; }
.jh-compact .jh-single--cover img, .jh-compact .jh-single--cover .jh-single__link { max-width: 190px; }
.jh-root .jh-single--cover .jh-cover--solo { width: 230px; }
.jh-compact .jh-single--cover .jh-cover--solo { width: 190px; }

/* Carousel: a bit smaller so it doesn't dominate */
.jh-hero__grid--carousel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.jh-root .jh-covers { max-width: 520px; justify-self: end; width: 100%; }

@media (max-width: 991px) {
	.jh-hero__grid { padding-top: 32px; padding-bottom: 32px; gap: 24px; }
	.jh-hero__grid--media1 { grid-template-columns: 1fr; }
	html body .jh-root .jh-single, html body .jh-root .jh-single__link { width: 100%; }
	.jh-root .jh-single--logo img { max-width: 200px; max-height: 180px; }
	.jh-root .jh-covers { justify-self: center; }
}

/* Full width: inner content lines up with the site's content column */
.jh-full .jh-wrap { max-width: var(--jh-wrapw, 1200px); padding-left: 0; padding-right: 0; }
@media (max-width: 1240px) { .jh-full .jh-wrap { padding-left: 24px; padding-right: 24px; } }

/* =====================================================================
 * v1.7 — more compact banner
 *   Besar (normal): ~320 px tall · Ringkas (compact): ~240 px tall
 * ===================================================================== */
.jh-hero__grid { padding-top: 34px; padding-bottom: 34px; gap: 32px; }
.jh-compact .jh-hero__grid { padding-top: 22px; padding-bottom: 22px; gap: 24px; }

html body .jh-root .jh-title { font-size: clamp(22px, 4.6cqi, 36px); line-height: 1.15; margin-bottom: 10px; }
html body .jh-root.jh-compact .jh-title { font-size: clamp(20px, 3.8cqi, 28px); margin-bottom: 8px; }
html body .jh-root .jh-desc { font-size: clamp(14px, 1.9cqi, 16px); line-height: 1.55; margin-bottom: 16px; max-width: 70ch; }
html body .jh-root.jh-compact .jh-desc { font-size: clamp(13.5px, 1.7cqi, 15px); margin-bottom: 12px; }
html body .jh-root .jh-eyebrow { margin-bottom: 10px; }

/* Highlights: one compact line each */
.jh-root .jh-features { margin-bottom: 16px; max-width: 720px; }
.jh-root.jh-compact .jh-features { margin-bottom: 12px; }
.jh-root .jh-features li { gap: 10px; align-items: center; }
.jh-root .jh-ficon { width: 36px; height: 36px; }
.jh-root .jh-ficon svg { width: 17px; height: 17px; }
html body .jh-root .jh-features b { font-size: 14.5px; }
html body .jh-root .jh-features small { font-size: 12.5px; line-height: 1.4; margin-top: 1px; }
.jh-root.jh-compact .jh-ficon { width: 30px; height: 30px; }
.jh-root.jh-compact .jh-ficon svg { width: 15px; height: 15px; }
html body .jh-root.jh-compact .jh-features b { font-size: 13.5px; }
html body .jh-root.jh-compact .jh-features small { display: none; }

/* Badges */
.jh-root .jh-chip { padding: 7px 13px; font-size: 13.5px; }
.jh-root .jh-rank__label { padding: 7px 9px; font-size: 11px; }
.jh-root .jh-rank__value { padding: 7px 11px; font-size: 14.5px; }
.jh-root.jh-compact .jh-chip { padding: 5px 11px; font-size: 12.5px; }
.jh-root.jh-compact .jh-rank__label { padding: 5px 8px; font-size: 10.5px; }
.jh-root.jh-compact .jh-rank__value { padding: 5px 10px; font-size: 13.5px; }

/* Single image */
.jh-root .jh-single--logo img { max-width: min(100%, 210px); max-height: 200px; }
.jh-root .jh-single--logo img[src$=".svg"] { width: 210px; }
.jh-compact .jh-single--logo img { max-width: min(100%, 160px); max-height: 160px; }
.jh-compact .jh-single--logo img[src$=".svg"] { width: 160px; }
.jh-root .jh-single--cover img, .jh-root .jh-single--cover .jh-single__link { max-width: 190px; }
.jh-compact .jh-single--cover img, .jh-compact .jh-single--cover .jh-single__link { max-width: 150px; }
.jh-root .jh-single--cover .jh-cover--solo { width: 190px; }
.jh-compact .jh-single--cover .jh-cover--solo { width: 150px; }

/* Carousel */
.jh-root .jh-covers { max-width: 440px; }
.jh-compact .jh-covers { max-width: 360px; }
.jh-compact .jh-covers__nav { margin-top: 2px; }
.jh-compact .jh-covers__nav button { width: 32px; height: 32px; font-size: 19px; }

/* Feature strip (when enabled) */
.jh-strip__grid { padding-top: 20px; padding-bottom: 14px; }
.jh-root .jh-strip__icon { width: 44px; height: 44px; }
html body .jh-root .jh-strip__item b { font-size: 16px; }
html body .jh-root .jh-strip__item p { font-size: 13.5px; }
.jh-wave { height: 40px; }

@media (max-width: 991px) {
	.jh-hero__grid, .jh-compact .jh-hero__grid { padding-top: 24px; padding-bottom: 24px; gap: 18px; }
	.jh-root .jh-single--logo img { max-width: 150px; max-height: 140px; }
}
@media (max-width: 640px) {
	html body .jh-root .jh-features small { display: none; }
}
