/**
 * Prism theme - stylesheet
 * Bright, rounded, gradient design for OJS 3.4 / 3.5.
 *
 *   1. Tokens and base         7. Layout and sidebar
 *   2. Shared pieces           8. Homepage: issue card, article cards
 *   3. Header and navigation   9. Styling of OJS's own page content
 *   4. Hero and banners       10. Footer and floating buttons
 *   5. Quick tiles            11. Animation
 *   6. Statistics cards       12. Responsive
 *
 * Change the three brand colours in Settings > Website > Appearance > Theme
 * (they override --pr-1, --pr-2, --pr-3 below). Everything else is edited here.
 */

/* ==========================================================================
   1. TOKENS AND BASE
   ========================================================================== */
:root {
	--pr-1: #6C3CF0;            /* primary (violet)  - theme option */
	--pr-2: #FF4F8B;            /* secondary (pink)  - theme option */
	--pr-3: #FFB703;            /* accent (amber)    - theme option */
	--pr-teal: #12C2A9;
	--pr-blue: #2F80ED;
	--pr-orange: #FF8A3D;
	--pr-ink: #1B1640;
	--pr-ink-2: #4B4770;
	--pr-muted: #7A769B;
	--pr-bg: #FAF8FF;
	--pr-lav: #F3EFFF;
	--pr-line: #ECE8FA;
	--pr-grad: linear-gradient(135deg, var(--pr-1), var(--pr-2));
	--pr-grad-warm: linear-gradient(135deg, var(--pr-2), var(--pr-3));
	--pr-shadow: 0 10px 30px rgba(60, 30, 160, .10);
	--pr-shadow-lg: 0 24px 54px rgba(60, 30, 160, .20);
	--pr-max: 1240px;
	--pr-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--pr-head: 'Outfit', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.prism_theme {
	margin: 0;
	background-color: var(--pr-bg);
	background-image:
		radial-gradient(900px 520px at 0% 0%, rgba(108, 60, 240, .07), transparent 60%),
		radial-gradient(800px 520px at 100% 25%, rgba(255, 79, 139, .06), transparent 60%);
	color: var(--pr-ink);
	font-family: var(--pr-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.prism_theme .pr-page { overflow-x: clip; }
.prism_theme h1, .prism_theme h2, .prism_theme h3, .prism_theme h4, .prism_theme h5, .prism_theme h6 {
	font-family: var(--pr-head);
	color: var(--pr-ink);
	line-height: 1.2;
	letter-spacing: -.01em;
}
.prism_theme a { color: var(--pr-1); text-decoration: none; transition: color .2s ease; }
.prism_theme a:hover, .prism_theme a:focus { color: color-mix(in srgb, var(--pr-1) 72%, #000); }
.prism_theme img { max-width: 100%; height: auto; }
.prism_theme ::selection { background: var(--pr-2); color: #fff; }

.pr-container { box-sizing: border-box; width: 100%; max-width: var(--pr-max); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   2. SHARED PIECES: buttons, chips, pills
   ========================================================================== */
.prism_theme .pr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: .8rem 1.45rem; border: 2px solid transparent; border-radius: 999px;
	font-family: var(--pr-font); font-size: .95rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.prism_theme .pr-btn:hover, .prism_theme .pr-btn:focus { transform: translateY(-3px); }
.prism_theme .pr-btn--light { background: #fff; color: var(--pr-1); box-shadow: 0 10px 24px rgba(20, 8, 70, .25); }
.prism_theme .pr-btn--light:hover { color: var(--pr-2); }
.prism_theme .pr-btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.prism_theme .pr-btn--glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.prism_theme .pr-btn--gradient { background: var(--pr-grad); color: #fff; box-shadow: 0 12px 26px color-mix(in srgb, var(--pr-1) 35%, transparent); }
.prism_theme .pr-btn--gradient:hover { color: #fff; box-shadow: 0 16px 32px color-mix(in srgb, var(--pr-2) 40%, transparent); }
.prism_theme .pr-btn--soft { background: var(--pr-lav); color: var(--pr-1); }
.prism_theme .pr-btn--soft:hover { background: #E6DEFF; }

.pr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.prism_theme .pr-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .38); color: #fff;
	font-size: .8rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.prism_theme .pr-chip--open { background: #22C55E; border-color: #22C55E; }

.prism_theme .pr-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
	background: color-mix(in srgb, var(--c, var(--pr-1)) 14%, #fff);
	color: color-mix(in srgb, var(--c, var(--pr-1)) 72%, #1B1640);
	font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.prism_theme .pr-pill--grad { background: var(--pr-grad); color: #fff; }

.prism_theme .pr-link-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
	background: var(--pr-lav); color: var(--pr-1); font-size: .85rem; font-weight: 700;
}
.prism_theme .pr-link-pill:hover { background: var(--pr-1); color: #fff; }

/* ==========================================================================
   3. HEADER AND NAVIGATION
   ========================================================================== */
.pr-ribbon {
	height: 5px;
	background: linear-gradient(90deg, var(--pr-1), var(--pr-2), var(--pr-3), var(--pr-teal), var(--pr-blue), var(--pr-1));
	background-size: 200% 100%;
	animation: prRibbon 14s linear infinite;
}
.pr-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--pr-line);
	transition: box-shadow .25s ease;
}
.pr-header.is-scrolled { box-shadow: 0 12px 32px rgba(60, 30, 160, .14); }
.pr-header__bar { display: flex; align-items: center; gap: 20px; min-height: 78px; }

.prism_theme .pr-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--pr-ink); }
.pr-brand__badge {
	display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px;
	background: var(--pr-grad); color: #fff; font-size: 1.35rem; box-shadow: 0 10px 22px color-mix(in srgb, var(--pr-1) 35%, transparent);
	transform: rotate(-6deg);
}
.pr-brand__logo { display: block; flex: 0 0 auto; width: auto; max-height: 52px; max-width: 200px; object-fit: contain; }
.pr-brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.pr-brand__short { font-family: var(--pr-head); font-size: 1.3rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pr-1); }
.pr-brand__name {
	max-width: 280px; font-size: .82rem; font-weight: 600; color: var(--pr-muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pr-brand__text > .pr-brand__name:only-child { font-family: var(--pr-head); font-size: 1.05rem; font-weight: 700; color: var(--pr-ink); }

.pr-burger {
	display: none; align-items: center; gap: 8px; margin-left: auto; padding: 10px 16px; cursor: pointer;
	border: 0; border-radius: 999px; background: var(--pr-lav); color: var(--pr-1);
	font-family: var(--pr-font); font-size: .9rem; font-weight: 700;
}
.pr-burger:hover, .pr-burger[aria-expanded="true"] { background: var(--pr-grad); color: #fff; }

.pr-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pr-menu, .pr-usermenu { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pr-menu li, .pr-usermenu li { position: relative; margin: 0; padding: 0; list-style: none; }

.prism_theme .pr-nav__home,
.prism_theme .pr-menu > li > a {
	display: inline-flex; align-items: center; gap: 8px; padding: .55rem .95rem; border-radius: 999px;
	color: var(--pr-ink-2); font-size: .93rem; font-weight: 600; white-space: nowrap;
}
.prism_theme .pr-nav__home:hover,
.prism_theme .pr-menu > li:nth-child(4n+1) > a:hover { background: rgba(108, 60, 240, .12); color: var(--pr-1); }
.prism_theme .pr-menu > li:nth-child(4n+2) > a:hover { background: rgba(255, 79, 139, .13); color: #D6336C; }
.prism_theme .pr-menu > li:nth-child(4n+3) > a:hover { background: rgba(18, 194, 169, .15); color: #0B8F7C; }
.prism_theme .pr-menu > li:nth-child(4n+4) > a:hover { background: rgba(255, 183, 3, .2); color: #9A6B00; }
.prism_theme .pr-menu > li.current > a { background: var(--pr-grad); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--pr-1) 30%, transparent); }

.pr-menu > li > a[href$="/issue/current"]::before,
.pr-menu > li > a[href$="/issue/archive"]::before,
.pr-menu > li > a[href$="/about"]::before,
.pr-menu > li > a[href$="/about/submissions"]::before,
.pr-menu > li > a[href$="/announcement"]::before { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.pr-menu > li > a[href$="/issue/current"]::before { content: "\f518"; }
.pr-menu > li > a[href$="/issue/archive"]::before { content: "\f187"; }
.pr-menu > li > a[href$="/about"]::before { content: "\f05a"; }
.pr-menu > li > a[href$="/about/submissions"]::before { content: "\f1d8"; }
.pr-menu > li > a[href$="/announcement"]::before { content: "\f0a1"; }

/* drop-down menus */
.pr-menu ul {
	position: absolute; top: 100%; left: 0; z-index: 50; display: none; min-width: 15em; margin: 6px 0 0; padding: 8px;
	list-style: none; background: #fff; border: 1px solid var(--pr-line); border-radius: 18px; box-shadow: var(--pr-shadow-lg);
}
.pr-menu li:hover > ul, .pr-menu li:focus-within > ul { display: block; }
.prism_theme .pr-menu ul a { display: block; padding: .5rem .8rem; border-radius: 12px; color: var(--pr-ink-2); font-size: .9rem; font-weight: 500; }
.prism_theme .pr-menu ul a:hover { background: var(--pr-lav); color: var(--pr-1); }

.pr-nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.prism_theme .pr-iconbtn {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--pr-lav); color: var(--pr-1); font-size: .95rem;
}
.prism_theme .pr-iconbtn:hover { background: var(--pr-grad); color: #fff; transform: rotate(-8deg); }

.prism_theme .pr-usermenu a {
	display: inline-flex; align-items: center; gap: 8px; padding: .5rem 1rem; border-radius: 999px;
	border: 2px solid var(--pr-line); color: var(--pr-ink-2); font-size: .9rem; font-weight: 700; white-space: nowrap;
}
.prism_theme .pr-usermenu a:hover { border-color: var(--pr-1); color: var(--pr-1); }
.prism_theme .pr-usermenu a[href$="/user/register"] { border-color: transparent; background: var(--pr-grad); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--pr-1) 30%, transparent); }
.prism_theme .pr-usermenu a[href$="/user/register"]:hover { color: #fff; transform: translateY(-2px); }
.pr-usermenu a[href$="/login"]::before,
.pr-usermenu a[href$="/user/register"]::before { font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .85em; }
.pr-usermenu a[href$="/login"]::before { content: "\f090"; }
.pr-usermenu a[href$="/user/register"]::before { content: "\f234"; }
.pr-usermenu ul {
	position: absolute; right: 0; top: 100%; z-index: 50; display: none; min-width: 12em; margin: 6px 0 0; padding: 8px;
	list-style: none; background: #fff; border: 1px solid var(--pr-line); border-radius: 18px; box-shadow: var(--pr-shadow-lg);
}
.pr-usermenu li:hover > ul, .pr-usermenu li:focus-within > ul { display: block; }
.prism_theme .pr-usermenu ul a { display: block; border: 0; border-radius: 12px; }

/* ==========================================================================
   4. HERO AND BANNERS
   ========================================================================== */
.pr-hero {
	position: relative; overflow: hidden; color: #fff; padding: 76px 0 130px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--pr-1) 60%, #0d0630) 0%, var(--pr-1) 48%, color-mix(in srgb, var(--pr-2) 80%, var(--pr-1)) 100%);
}
.pr-hero__bg, .pr-banner__bg, .pr-footer__bg { position: absolute; inset: 0; pointer-events: none; }
.pr-blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; animation: prFloat 18s ease-in-out infinite alternate; }
.pr-blob--1 { top: -120px; left: -80px; width: 420px; height: 420px; background: var(--pr-2); }
.pr-blob--2 { top: -60px; right: -90px; width: 380px; height: 380px; background: var(--pr-3); animation-delay: -6s; }
.pr-blob--3 { bottom: -140px; left: 38%; width: 360px; height: 360px; background: var(--pr-teal); animation-delay: -11s; }
.pr-dots {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.2px); background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.pr-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pr-hero__title { margin: 0 0 14px; font-family: var(--pr-head); font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; text-shadow: 0 6px 24px rgba(20, 8, 70, .3); }
.pr-hero__tag { max-width: 34em; margin: 0 0 28px; font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.pr-hero__text, .pr-footer__col { min-width: 0; }
.pr-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.pr-hero__wave, .pr-footer__wave { position: absolute; left: 0; width: 100%; height: 70px; fill: var(--pr-bg); }
.pr-hero__wave { bottom: -1px; z-index: 1; }

.pr-hero__art { position: relative; min-height: 340px; display: grid; place-items: center; }
.prism_theme .pr-cover { display: block; width: 240px; border-radius: 16px; transform: rotate(4deg); box-shadow: 0 34px 64px rgba(10, 0, 50, .5); animation: prBob 7s ease-in-out infinite; }
.pr-cover img { display: block; width: 100%; border-radius: 16px; border: 5px solid rgba(255, 255, 255, .9); }
.pr-stack { position: relative; width: 260px; height: 300px; }
.pr-stack__card { position: absolute; display: grid; place-items: center; width: 170px; height: 210px; border-radius: 26px; color: #fff; font-size: 3rem; box-shadow: 0 26px 50px rgba(10, 0, 50, .35); }
.pr-stack__card--1 { top: 0; left: 0; background: linear-gradient(135deg, var(--pr-3), var(--pr-orange)); transform: rotate(-10deg); animation: prBob 7s ease-in-out infinite; }
.pr-stack__card--2 { top: 40px; left: 46px; background: linear-gradient(135deg, var(--pr-teal), var(--pr-blue)); transform: rotate(2deg); animation: prBob 8s ease-in-out -2s infinite; }
.pr-stack__card--3 { top: 80px; left: 92px; background: linear-gradient(135deg, var(--pr-2), var(--pr-1)); transform: rotate(12deg); animation: prBob 9s ease-in-out -4s infinite; }
.pr-orb { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 14px 30px rgba(10, 0, 50, .3); font-size: 1.2rem; animation: prBob 6s ease-in-out infinite; }
.pr-orb--1 { top: 4%; left: 6%; color: var(--pr-2); }
.pr-orb--2 { bottom: 10%; right: 4%; color: var(--pr-teal); animation-delay: -2s; }
.pr-orb--3 { top: 18%; right: 8%; color: var(--pr-3); animation-delay: -4s; }

/* gradient banner (issue and archive pages) */
.pr-banner {
	position: relative; overflow: hidden; color: #fff; padding: 38px 0 44px; border-radius: 0 0 36px 36px;
	background: linear-gradient(120deg, color-mix(in srgb, var(--pr-1) 62%, #0d0630), var(--pr-1) 55%, var(--pr-2));
}
.pr-banner .pr-blob { opacity: .4; }
.pr-banner__inner { position: relative; z-index: 2; }
.pr-banner__title { font-family: var(--pr-head); font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.pr-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.prism_theme .pr-crumbs a { color: #fff; }
.prism_theme .pr-crumbs a:hover { color: var(--pr-3); }
.pr-crumbs strong { color: #fff; }

/* ==========================================================================
   5. QUICK TILES
   ========================================================================== */
.pr-quick { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -78px; }
.prism_theme .pr-tile {
	position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; overflow: hidden;
	border-radius: 22px; color: #fff; box-shadow: 0 18px 38px rgba(40, 20, 120, .22);
	transition: transform .25s ease, box-shadow .25s ease;
}
.prism_theme .pr-tile:hover { color: #fff; transform: translateY(-7px) rotate(-.6deg); box-shadow: 0 26px 48px rgba(40, 20, 120, .3); }
.pr-tile::after { content: ""; position: absolute; right: -26px; top: -26px; width: 96px; height: 96px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.pr-tile--violet { background: linear-gradient(135deg, var(--pr-1), #9B6BFF); }
.pr-tile--orange { background: linear-gradient(135deg, var(--pr-orange), var(--pr-3)); }
.pr-tile--teal { background: linear-gradient(135deg, var(--pr-teal), var(--pr-blue)); }
.pr-tile--pink { background: linear-gradient(135deg, var(--pr-2), var(--pr-orange)); }
.pr-tile__icon { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; background: rgba(255, 255, 255, .24); font-size: 1.2rem; }
.pr-tile__label { font-family: var(--pr-head); font-size: 1.02rem; font-weight: 700; line-height: 1.2; }
.pr-tile__go { margin-left: auto; opacity: .85; transition: transform .25s ease; }
.pr-tile:hover .pr-tile__go { transform: translateX(5px); }

/* ==========================================================================
   6. STATISTICS CARDS
   ========================================================================== */
.pr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 30px; }
.prism_theme .pr-stat {
	position: relative; display: flex; flex-direction: column; padding: 24px 24px 20px; overflow: hidden;
	border-radius: 26px; color: #fff; box-shadow: var(--pr-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.prism_theme .pr-stat:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--pr-shadow-lg); }
.pr-stat--violet { background: linear-gradient(135deg, var(--pr-1), #8F5CFF); }
.pr-stat--pink { background: linear-gradient(135deg, var(--pr-2), #FF7AA8); }
.pr-stat--amber { background: linear-gradient(135deg, #FF9A1F, var(--pr-3)); }
.pr-stat--teal { background: linear-gradient(135deg, var(--pr-teal), var(--pr-blue)); }
.pr-stat__icon { position: absolute; right: 16px; top: 14px; font-size: 3.6rem; opacity: .2; transform: rotate(-12deg); }
.pr-stat__label { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pr-stat__value { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; font-family: var(--pr-head); font-size: 3.1rem; font-weight: 800; line-height: 1; }
.pr-stat__value small { font-size: 1.1rem; font-weight: 700; opacity: .9; }
.pr-stat__caption { margin: 8px 0 16px; font-size: .92rem; font-weight: 500; opacity: .95; }
.pr-stat__link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.pr-stat__link i { transition: transform .25s ease; }
.pr-stat:hover .pr-stat__link i { transform: translateX(5px); }

/* ==========================================================================
   7. LAYOUT AND SIDEBAR
   ========================================================================== */
.pr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; padding-top: 44px; padding-bottom: 56px; }
.pr-layout--full { grid-template-columns: minmax(0, 1fr); }
.pr-main { min-width: 0; }
.prism_theme:not(.pkp_page_index) .pr-main { padding: 36px 40px; background: #fff; border: 1px solid var(--pr-line); border-radius: 28px; box-shadow: var(--pr-shadow); }
.pr-side { min-width: 0; }

.pr-side .pkp_block {
	margin: 0 0 24px; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--pr-line);
	border-radius: 24px; box-shadow: var(--pr-shadow);
}
.pr-side .pkp_block .title {
	margin: 0; padding: 16px 22px; background: var(--pr-grad); color: #fff;
	font-family: var(--pr-head); font-size: 1rem; font-weight: 700; letter-spacing: .02em; text-transform: none;
}
.pr-side .pkp_block:nth-child(4n+2) .title { background: linear-gradient(135deg, var(--pr-teal), var(--pr-blue)); }
.pr-side .pkp_block:nth-child(4n+3) .title { background: linear-gradient(135deg, var(--pr-orange), var(--pr-3)); }
.pr-side .pkp_block:nth-child(4n+4) .title { background: linear-gradient(135deg, var(--pr-2), var(--pr-orange)); }
.pr-side .pkp_block .content { padding: 16px 18px 18px; font-size: .95rem; }
.pr-side .pkp_block ul:not(.pr-links) { margin: 0; padding: 0; list-style: none; }
.pr-side .pkp_block ul:not(.pr-links) li { margin: 0; padding: 0; }
.prism_theme .pr-side .pkp_block ul:not(.pr-links) li a { display: block; padding: 9px 12px; border-radius: 12px; color: var(--pr-ink-2); font-weight: 500; }
.prism_theme .pr-side .pkp_block ul:not(.pr-links) li a:hover { background: var(--pr-lav); color: var(--pr-1); padding-left: 16px; }
.pr-side .pkp_block img { max-width: 100%; height: auto; border-radius: 12px; }

.pr-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pr-links li { margin: 0; padding: 0; }
.prism_theme .pr-links a {
	display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 16px;
	background: color-mix(in srgb, var(--c) 9%, #fff); color: var(--pr-ink); font-weight: 700;
	transition: transform .2s ease, background .2s ease;
}
.prism_theme .pr-links a:hover { background: color-mix(in srgb, var(--c) 18%, #fff); color: var(--pr-ink); transform: translateX(5px); }
.pr-links__ico { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: var(--c); color: #fff; font-size: .95rem; }
.pr-links--violet { --c: var(--pr-1); }
.pr-links--pink { --c: var(--pr-2); }
.pr-links--amber { --c: var(--pr-3); }
.pr-links--teal { --c: var(--pr-teal); }
.pr-links--blue { --c: var(--pr-blue); }
.pr-links--orange { --c: var(--pr-orange); }

/* ==========================================================================
   8. HOMEPAGE: issue card, section heading, article cards
   ========================================================================== */
.pr-issue {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; margin: 0 0 40px; padding: 30px;
	overflow: hidden; background: #fff; border: 1px solid var(--pr-line); border-radius: 30px; box-shadow: var(--pr-shadow);
}
.pr-issue__glow { position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: var(--pr-grad); opacity: .14; }
.pr-issue__cover { position: relative; display: block; align-self: start; width: 176px; padding: 6px; border-radius: 18px; background: var(--pr-grad); box-shadow: 0 18px 36px color-mix(in srgb, var(--pr-1) 30%, transparent); transform: rotate(-2.5deg); transition: transform .3s ease; }
.pr-issue__cover:hover { transform: rotate(0) scale(1.03); }
.pr-issue__cover img { display: block; width: 100%; border-radius: 13px; }
.pr-issue__body { position: relative; min-width: 0; }
.pr-issue__title { margin: 12px 0 12px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.pr-meta li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 68%, #1B1640); }
.pr-meta--violet { --c: var(--pr-1); }
.pr-meta--pink { --c: var(--pr-2); }
.pr-meta--amber { --c: var(--pr-3); }
.pr-meta--teal { --c: var(--pr-teal); }
.pr-issue__desc { margin: 0 0 20px; padding: 14px 18px; border-radius: 18px; background: var(--pr-lav); font-size: .95rem; line-height: 1.7; color: var(--pr-ink-2); }
.pr-issue__desc p { margin: 0 0 8px; }
.pr-issue__desc p:last-child { margin-bottom: 0; }

.pr-sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.pr-sectionhead__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; }
.pr-sectionhead__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--pr-grad); box-shadow: 0 0 0 6px color-mix(in srgb, var(--pr-1) 16%, transparent); }

.pr-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pr-cards > :nth-child(6n+1) { --c: var(--pr-1); }
.pr-cards > :nth-child(6n+2) { --c: var(--pr-2); }
.pr-cards > :nth-child(6n+3) { --c: var(--pr-teal); }
.pr-cards > :nth-child(6n+4) { --c: var(--pr-3); }
.pr-cards > :nth-child(6n+5) { --c: var(--pr-blue); }
.pr-cards > :nth-child(6n+6) { --c: var(--pr-orange); }
.pr-card {
	display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 18px; background: #fff;
	border: 1px solid var(--pr-line); border-top: 5px solid var(--c, var(--pr-1)); border-radius: 22px; box-shadow: var(--pr-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.pr-card:hover { transform: translateY(-6px); box-shadow: var(--pr-shadow-lg); }
.pr-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pr-card__date { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--pr-muted); }
.pr-card__title { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.prism_theme .pr-card__title a { color: var(--pr-ink); }
.prism_theme .pr-card__title a:hover { color: var(--c, var(--pr-1)); }
.pr-card__authors { display: flex; gap: 8px; margin: 0; font-size: .88rem; color: var(--pr-muted); }
.pr-card__authors i { margin-top: 4px; color: var(--c, var(--pr-1)); }
.prism_theme .pr-card__read { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: 6px; color: color-mix(in srgb, var(--c, var(--pr-1)) 78%, #1B1640); font-size: .88rem; font-weight: 700; }
.pr-card__read i { transition: transform .25s ease; }
.pr-card:hover .pr-card__read i { transform: translateX(6px); }

.pr-pager { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 8px; }
.pr-pager .pr-btn:only-child { margin-left: auto; }

/* The native current-issue list is hidden only when the cards above were built. */
.pr-latest ~ .current_issue { display: none; }

/* ==========================================================================
   9. STYLING OF OJS'S OWN PAGE CONTENT (articles, issues, forms, search...)
   ========================================================================== */
.pr-main img { max-width: 100%; height: auto; }
.pr-main table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.pr-main .cmp_breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: .88rem; color: var(--pr-muted); }
.pr-main .cmp_breadcrumbs li { margin: 0; }
.pr-main .cmp_breadcrumbs .separator { margin-left: 8px; color: #C9C3E8; }
.pr-main .page > h1, .pr-main h1.page_title, .pr-main .page_title { margin: 0 0 22px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.pr-main .page > h1::after { content: ""; display: block; width: 70px; height: 5px; margin-top: 14px; border-radius: 99px; background: var(--pr-grad); }
.pr-main h2 { font-size: 1.5rem; font-weight: 700; }
.pr-main p, .pr-main ul, .pr-main ol { line-height: 1.75; }

/* homepage text blocks */
.pkp_page_index .pr-main .homepage_about,
.pkp_page_index .pr-main .additional_content,
.pkp_page_index .pr-main .cmp_announcements {
	margin: 0 0 32px; padding: 26px 30px; background: #fff; border: 1px solid var(--pr-line);
	border-left: 6px solid var(--pr-2); border-radius: 24px; box-shadow: var(--pr-shadow);
}
.pkp_page_index .pr-main .homepage_image img { width: 100%; border-radius: 26px; box-shadow: var(--pr-shadow); }
.pkp_page_index .pr-main .current_issue { margin: 0 0 32px; }

/* article lists (issue pages, archive, search results, OJS's own homepage list) */
.pr-main ul.cmp_article_list, .pr-main .cmp_article_list { margin: 0; padding: 0; list-style: none; }
.pr-main .cmp_article_list > li { margin: 0 0 16px; padding: 0; }
.pr-main .obj_article_summary {
	position: relative; margin: 0 0 16px; padding: 20px 24px; background: #fff; border: 1px solid var(--pr-line);
	border-left: 6px solid var(--pr-1); border-radius: 20px; box-shadow: var(--pr-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.pr-main .cmp_article_list > li:nth-child(4n+2) .obj_article_summary { border-left-color: var(--pr-2); }
.pr-main .cmp_article_list > li:nth-child(4n+3) .obj_article_summary { border-left-color: var(--pr-teal); }
.pr-main .cmp_article_list > li:nth-child(4n+4) .obj_article_summary { border-left-color: var(--pr-3); }
.pr-main .obj_article_summary:hover { transform: translateY(-3px); box-shadow: var(--pr-shadow-lg); }
.pr-main .obj_article_summary .title { margin: 0 0 6px; font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.prism_theme .pr-main .obj_article_summary .title a { color: var(--pr-ink); }
.prism_theme .pr-main .obj_article_summary .title a:hover { color: var(--pr-1); }
.pr-main .obj_article_summary .authors, .pr-main .obj_article_summary .meta, .pr-main .obj_article_summary .pages { font-size: .88rem; color: var(--pr-muted); }
.pr-main ul.galleys_links, .pr-main ul.supplementary_galleys_links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pr-main ul.galleys_links li { margin: 0; padding: 0; }

.prism_theme .pr-main a.obj_galley_link, .prism_theme .pr-main a.obj_galley_link_supplementary {
	display: inline-flex; align-items: center; gap: 8px; padding: .45rem 1.05rem; border-radius: 999px;
	background: linear-gradient(135deg, #FF4F6D, #FF8A3D); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	box-shadow: 0 8px 18px rgba(255, 79, 109, .28); transition: transform .2s ease;
}
.prism_theme .pr-main a.obj_galley_link:hover { color: #fff; transform: translateY(-2px); }
.prism_theme .pr-main a.obj_galley_link.html { background: linear-gradient(135deg, var(--pr-teal), var(--pr-blue)); box-shadow: 0 8px 18px rgba(18, 194, 169, .28); }
.prism_theme .pr-main a.obj_galley_link.xml { background: linear-gradient(135deg, var(--pr-blue), var(--pr-1)); }
.prism_theme .pr-main a.obj_galley_link.restricted { background: var(--pr-muted); box-shadow: none; }
.pr-main a.obj_galley_link::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f15c"; }
.pr-main a.obj_galley_link.pdf::before { content: "\f1c1"; }
.pr-main a.obj_galley_link.restricted::before { content: "\f023"; }

/* issue pages and the archive */
.pr-main .obj_issue_toc .heading { display: flex; flex-wrap: wrap; gap: 26px; margin: 0 0 26px; padding: 24px; background: var(--pr-lav); border-radius: 24px; }
.pr-main .obj_issue_toc .heading .cover img { display: block; max-height: 240px; width: auto; border: 5px solid #fff; border-radius: 14px; box-shadow: var(--pr-shadow); }
.pr-main .obj_issue_toc .heading .description { flex: 1; min-width: 220px; }
.pr-main .obj_issue_toc .sections .section > h2, .pr-main .obj_issue_toc .section > h2 {
	display: inline-block; margin: 8px 0 16px; padding: 6px 18px; border-radius: 999px; background: var(--pr-grad); color: #fff;
	font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.pr-main .issues_archive { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.pr-main .obj_issue_summary { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px; background: #fff; border: 1px solid var(--pr-line); border-radius: 22px; box-shadow: var(--pr-shadow); }
.pr-main .obj_issue_summary .cover img { display: block; max-height: 180px; width: auto; border-radius: 12px; box-shadow: var(--pr-shadow); }
.pr-main .obj_issue_summary .title { font-size: 1.15rem; font-weight: 700; }
.pr-main .cmp_pagination, .pr-main .pagination { margin: 24px 0 0; text-align: center; }
.prism_theme .pr-main .cmp_pagination a, .prism_theme .pr-main .cmp_pagination .current, .prism_theme .pr-main .pagination a {
	display: inline-block; min-width: 38px; margin: 0 3px; padding: 7px 14px; border-radius: 999px; background: var(--pr-lav); color: var(--pr-1); font-weight: 700;
}
.prism_theme .pr-main .cmp_pagination a:hover { background: var(--pr-1); color: #fff; }

/* forms, buttons, notices (login, register, search, submissions) */
.prism_theme .pr-main input[type="text"], .prism_theme .pr-main input[type="email"], .prism_theme .pr-main input[type="password"],
.prism_theme .pr-main input[type="search"], .prism_theme .pr-main input[type="url"], .prism_theme .pr-main input[type="tel"],
.prism_theme .pr-main select, .prism_theme .pr-main textarea {
	box-sizing: border-box; max-width: 100%; padding: 11px 16px; background: #fff; border: 2px solid var(--pr-line); border-radius: 14px;
	color: var(--pr-ink); font-family: var(--pr-font); font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.prism_theme .pr-main input:focus, .prism_theme .pr-main select:focus, .prism_theme .pr-main textarea:focus {
	outline: none; border-color: var(--pr-1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pr-1) 18%, transparent);
}
.pr-main .cmp_form fieldset { margin: 0 0 22px; padding: 20px 24px; border: 2px solid var(--pr-line); border-radius: 22px; }
.pr-main .cmp_form legend { padding: 0 10px; color: var(--pr-1); font-family: var(--pr-head); font-weight: 700; }
.pr-main .cmp_form label { font-weight: 600; }
.prism_theme .pr-main button.submit, .prism_theme .pr-main .cmp_button, .prism_theme .pr-main .pkp_button, .prism_theme .pr-main input[type="submit"] {
	display: inline-flex; align-items: center; gap: 8px; padding: .75rem 1.6rem; border: 0; border-radius: 999px; background: var(--pr-grad); color: #fff;
	font-family: var(--pr-font); font-size: .95rem; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px color-mix(in srgb, var(--pr-1) 30%, transparent);
	transition: transform .2s ease, box-shadow .2s ease;
}
.prism_theme .pr-main button.submit:hover, .prism_theme .pr-main .cmp_button:hover, .prism_theme .pr-main .pkp_button:hover { color: #fff; transform: translateY(-2px); }
.prism_theme .pr-main .cmp_button_wire { background: transparent; color: var(--pr-1); border: 2px solid var(--pr-1); box-shadow: none; }
.pr-main .cmp_notification, .pr-main .pkp_notification { padding: 14px 18px; border-radius: 16px; background: var(--pr-lav); }
.pr-main .obj_announcement_summary { margin: 0 0 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--pr-line); border-left: 5px solid var(--pr-3); border-radius: 18px; }
.pr-main .obj_announcement_summary .date { font-size: .82rem; color: var(--pr-muted); }

/* ==========================================================================
   10. FOOTER AND FLOATING BUTTONS
   ========================================================================== */
.pr-footer {
	position: relative; margin-top: 70px; padding-top: 70px; overflow: hidden; color: rgba(255, 255, 255, .84);
	background: linear-gradient(160deg, #190E4A 0%, color-mix(in srgb, var(--pr-1) 38%, #11072C) 60%, #2A0D4A 100%);
}
.pr-footer__wave { top: -1px; z-index: 1; transform: scaleY(-1); }
.pr-footer .pr-blob { opacity: .3; }
.pr-footer__inner { position: relative; z-index: 2; padding-bottom: 12px; }
.pr-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr; gap: 44px; }
.pr-footer__title { margin: 0 0 10px; font-family: var(--pr-head); font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.2; }
.pr-footer__about { max-width: 42ch; margin: 0 0 16px; color: rgba(255, 255, 255, .78); }
.pr-footer__heading { position: relative; margin: 0 0 22px; padding-bottom: 12px; color: #fff; font-size: 1.05rem; font-weight: 700; }
.pr-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--pr-2), var(--pr-3)); }
.pr-footer__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.prism_theme .pr-footer a { color: rgba(255, 255, 255, .88); }
.prism_theme .pr-footer a:hover { color: var(--pr-3); }
.prism_theme .pr-footer__links a { display: inline-flex; align-items: center; gap: 10px; }
.pr-footer__links a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pr-2); transition: transform .2s ease; }
.pr-footer__links a:hover::before { transform: scale(1.6); background: var(--pr-3); }
.pr-footer__card { padding: 20px 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pr-footer__card p { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; word-break: break-word; }
.pr-footer__card p i { color: var(--pr-3); }
.prism_theme .pr-footer__card .pr-btn { width: 100%; box-sizing: border-box; color: #fff; }
.pr-footer__legal { margin-top: 34px; padding: 20px 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; font-size: .9rem; }
.pr-footer__legal p { margin: 0 0 8px; }
.pr-footer__custom { margin-bottom: 8px; }
.pr-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 30px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: rgba(255, 255, 255, .66); }
.pr-social { display: flex; gap: 10px; margin-top: 18px; }
.prism_theme .pr-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: transform .2s ease, background .2s ease; }
.prism_theme .pr-social a:hover { color: #fff; transform: translateY(-4px) rotate(-6deg); }
.pr-social__fb:hover { background: #1877F2; } .pr-social__x:hover { background: #000; }
.pr-social__in:hover { background: #0A66C2; } .pr-social__yt:hover { background: #FF0000; }

.pr-fabs { position: fixed; right: 22px; bottom: 22px; z-index: 1100; display: flex; flex-direction: column; gap: 12px; }
.prism_theme .pr-fab { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-size: 1.3rem; box-shadow: 0 14px 30px rgba(30, 10, 100, .32); transition: transform .2s ease, opacity .3s ease; }
.prism_theme .pr-fab:hover { color: #fff; transform: translateY(-4px) scale(1.06); }
.pr-fab--wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.pr-fab--top { background: var(--pr-grad); }
.pr-js .pr-fab--top { opacity: 0; pointer-events: none; }
.pr-js .pr-fab--top.is-visible { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   11. ANIMATION
   ========================================================================== */
@keyframes prRibbon { from { background-position: 0 0; } to { background-position: 200% 0; } }
@keyframes prFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
@keyframes prBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes prRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pr-js .pr-reveal:not(.is-in) { opacity: 0; }
.pr-js .pr-reveal.is-in { animation: prRise .6s ease backwards; }
.pr-cards > :nth-child(2n) { animation-delay: .08s; }
.pr-quick > :nth-child(2) { animation-delay: .06s; } .pr-quick > :nth-child(3) { animation-delay: .12s; } .pr-quick > :nth-child(4) { animation-delay: .18s; }
.pr-stats > :nth-child(2) { animation-delay: .08s; } .pr-stats > :nth-child(3) { animation-delay: .16s; } .pr-stats > :nth-child(4) { animation-delay: .24s; }

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
	.pr-layout { grid-template-columns: minmax(0, 1fr); }
	.pr-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pr-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.pr-hero__art { display: none; }
	.pr-hero { padding: 56px 0 120px; }
}
@media (max-width: 1024px) {
	.pr-header__bar { flex-wrap: wrap; gap: 0 12px; min-height: 68px; }
	.pr-burger { display: inline-flex; }
	.pr-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px;
		margin: 0; padding: 14px 22px 22px; background: #fff; border-bottom: 1px solid var(--pr-line); box-shadow: 0 24px 40px rgba(60, 30, 160, .18);
	}
	.pr-nav.is-open { display: flex; }
	.pr-menu { flex-direction: column; align-items: stretch; }
	.pr-menu ul { position: static; display: block; margin: 0 0 6px 14px; padding: 0; border: 0; box-shadow: none; background: transparent; }
	.prism_theme .pr-nav__home, .prism_theme .pr-menu > li > a { padding: .75rem 1rem; }
	.pr-nav__actions { flex-wrap: wrap; margin: 8px 0 0; }
	.pr-usermenu { flex-wrap: wrap; }
}
@media (max-width: 760px) {
	.pr-container { padding: 0 16px; }
	.pr-cards { grid-template-columns: minmax(0, 1fr); }
	.pr-issue { grid-template-columns: minmax(0, 1fr); padding: 22px; }
	.pr-issue__cover { width: 150px; }
	.pr-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.prism_theme:not(.pkp_page_index) .pr-main { padding: 24px 18px; border-radius: 22px; }
	.pr-brand__name { max-width: 190px; }
	.pr-fabs { right: 14px; bottom: 14px; }
}
@media (max-width: 520px) {
	.pr-quick { grid-template-columns: minmax(0, 1fr); margin-top: -60px; }
	.pr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pr-stat { padding: 18px 16px 16px; }
	.pr-stat__value { font-size: 2.2rem; }
	.pr-hero__cta .pr-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.pr-js .pr-reveal:not(.is-in) { opacity: 1; }
}

/* ==========================================================================
   13. SUBMIT ARTICLE PAGE (manuscript form with attachment)
   ========================================================================== */
.pr-sub__intro { margin: 0 0 22px; font-size: 1.05rem; color: var(--pr-ink-2); }
.pr-sub__notice { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 24px; padding: 16px 20px; border-radius: 18px; }
.pr-sub__notice i { margin-top: 3px; font-size: 1.4rem; }
.pr-sub__notice p { margin: 4px 0 0; }
.pr-sub__notice--ok { background: #E8FBF5; border: 1px solid #9FE8D2; color: #0B5E49; }
.pr-sub__notice--err { background: #FFF0F3; border: 1px solid #FFB3C4; color: #8A1534; }
.pr-sub { margin: 0 0 32px; }
.pr-sub__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pr-sub__h { display: flex; align-items: center; gap: 10px; margin: 30px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--pr-line); font-size: 1.2rem; font-weight: 700; }
.pr-sub__h i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--pr-grad); color: #fff; font-size: .95rem; }
.pr-sub > .pr-sub__h:first-of-type { margin-top: 0; }
.pr-sub__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.pr-sub__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pr-sub__field--wide { grid-column: 1 / -1; }
.pr-sub__field > span { font-size: .9rem; font-weight: 700; color: var(--pr-ink); }
.pr-sub__field > span b { color: var(--pr-2); }
.prism_theme .pr-sub__field input[type="text"], .prism_theme .pr-sub__field input[type="email"], .prism_theme .pr-sub__field input[type="tel"],
.prism_theme .pr-sub__field select, .prism_theme .pr-sub__field textarea { width: 100%; box-sizing: border-box; }
.pr-sub__field textarea { resize: vertical; line-height: 1.6; }
.pr-sub__file { padding: 16px 18px; background: var(--pr-lav); border: 2px dashed #CDBFF5; border-radius: 18px; }
.pr-sub__file input[type="file"] { max-width: 100%; font-family: var(--pr-font); font-size: .95rem; }
.pr-sub__file input[type="file"]::file-selector-button { margin-right: 14px; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--pr-grad); color: #fff; font-weight: 700; cursor: pointer; }
.pr-sub__file small { color: var(--pr-muted); }
.pr-sub__check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; font-weight: 500; line-height: 1.5; cursor: pointer; }
.pr-sub__check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pr-1); }
.pr-sub__error-js { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: #FFF0F3; color: #8A1534; font-weight: 600; }
.pr-sub__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.prism_theme .pr-btn--grad { background: var(--pr-grad); color: #fff; box-shadow: 0 12px 26px color-mix(in srgb, var(--pr-1) 32%, transparent); }
.prism_theme .pr-btn--grad:hover { color: #fff; }
.prism_theme .pr-btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.pr-sub__alt { font-weight: 700; }
.pr-sub__guide { margin-top: 36px; padding-top: 6px; }
@media (max-width: 760px) {
	.pr-sub__grid { grid-template-columns: minmax(0, 1fr); }
}
