/*!
 * SciPublish OJS AMI Digital - sciPublish.css : shell (header, footer) and homepage.
 * Colours come from "Edit Portal" via CSS variables (--sp-*) set in the page.
 */
:root {
	--sp-navy: #0d1f40; --sp-blue: #0f60dc; --sp-accent: #ffb400; --sp-bg: #f5f9ff;
	--sp-ink: #14213d; --sp-muted: #52627a; --sp-line: #d9e5f5; --sp-card: #fff;
	--sp-rail: 340px; --sp-radius: 16px; --sp-wrap: 1280px;
	--sp-shadow: 0 1px 2px rgba(13, 31, 64, .05), 0 8px 24px rgba(13, 31, 64, .07);
}
body.sp-body { background: var(--sp-bg); color: var(--sp-ink); margin: 0; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
.sp-body *, .sp-body *::before, .sp-body *::after { box-sizing: border-box; }
.sp-body a { color: var(--sp-blue); text-decoration: none; }
.sp-body ul, .sp-body ol { list-style: none; margin: 0; padding: 0; }
.sp-body :focus-visible { outline: 3px solid color-mix(in srgb, var(--sp-blue) 55%, #fff); outline-offset: 2px; }
.sp-accent { color: var(--sp-blue); }

/* Buttons */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border: 2px solid transparent; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; font-family: inherit; }
.sp-btn_sm { padding: 8px 16px; } .sp-btn_lg { padding: 12px 24px; font-size: 15px; }
.sp-body a.sp-btn_blue, .sp-body button.sp-btn_blue { background: var(--sp-blue); color: #fff; }
.sp-body a.sp-btn_blue:hover { background: color-mix(in srgb, var(--sp-blue) 82%, #000); color: #fff; }
.sp-body a.sp-btn_outline { background: #fff; border-color: var(--sp-blue); color: var(--sp-blue); }
.sp-body a.sp-btn_outline:hover { background: var(--sp-blue); color: #fff; }
.sp-body a.sp-btn_green { background: #12b83f; color: #fff; }
.sp-body a.sp-btn_green:hover { background: #0e9a34; color: #fff; }
.sp-iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--sp-line); border-radius: 50%; background: #fff; color: var(--sp-navy); font-size: 16px; cursor: pointer; }
.sp-iconbtn:hover { background: var(--sp-blue); color: #fff; border-color: var(--sp-blue); }
.sp-body a.sp-link { color: var(--sp-ink); font-weight: 500; font-size: 14px; white-space: nowrap; }

/* Admin / demo notices */
.sp-adminbar { background: #fff4d6; color: #5c4400; font-size: 14px; text-align: center; padding: 8px 16px; }
.sp-adminbar a { color: #5c4400; font-weight: 700; text-decoration: underline; }
.sp-demo { background: #6b21a8; color: #fff; text-align: center; font-size: 13px; padding: 7px 14px; }
.sp-demo a { color: #ffd21c; font-weight: 700; text-decoration: underline; }

/* ---------- Header ---------- */
.sp-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--sp-line), 0 6px 20px rgba(13, 31, 64, .05); }
.sp-header_inner { display: flex; align-items: center; gap: 20px; max-width: var(--sp-wrap); margin: 0 auto; padding: 10px 24px; min-height: 72px; }
.sp-brand { display: flex; align-items: center; gap: 12px; color: var(--sp-navy) !important; flex: none; max-width: 340px; }
.sp-brand_logo { max-height: 46px; width: auto; }
.sp-brand_icon { font-size: 34px; color: var(--sp-blue); }
.sp-brand_text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sp-brand_text strong { font-size: 17px; font-weight: 800; color: var(--sp-navy); }
.sp-brand_text small { font-size: 11.5px; color: var(--sp-muted); }
.sp-nav { flex: 1; min-width: 0; }
.sp-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.sp-menu_item { position: relative; }
.sp-menu_row { display: inline-flex; align-items: center; }
.sp-body .sp-menu_link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: none; color: var(--sp-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.sp-menu_link:hover, .sp-menu_item:focus-within > .sp-menu_row .sp-menu_link { background: color-mix(in srgb, var(--sp-blue) 9%, #fff); color: var(--sp-blue); }
.sp-menu_item.is-active > .sp-menu_row .sp-menu_link, .sp-menu_item.is-active > .sp-menu_link { background: var(--sp-blue); color: #fff; }
.sp-sub_toggle { cursor: pointer; }
.sp-menu_row > .sp-sub_toggle:not(.sp-menu_link) { margin-left: -10px; padding: 8px 8px 8px 2px; border: 0; background: none; color: var(--sp-ink); border-radius: 999px; }
.sp-sub { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; box-shadow: var(--sp-shadow); z-index: 70; }
.sp-menu_item.has-sub:hover > .sp-sub, .sp-menu_item.has-sub.is-open > .sp-sub { display: block; }
.sp-body .sp-sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--sp-ink); font-size: 14px; font-weight: 500; }
.sp-sub a:hover { background: color-mix(in srgb, var(--sp-blue) 9%, #fff); color: var(--sp-blue); }
.sp-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.sp-burger { display: none; }
.sp-searchbar { display: flex; gap: 10px; max-width: var(--sp-wrap); margin: 0 auto; padding: 0 24px 14px; }
.sp-searchbar[hidden] { display: none; }
.sp-searchbar input { flex: 1; min-width: 0; border: 1px solid var(--sp-line); border-radius: 999px; padding: 10px 18px; font: inherit; }

/* ---------- Content ---------- */
.sp-content { max-width: var(--sp-wrap); margin: 0 auto; padding: 24px 24px 56px; }
.sp-content .pm-container { max-width: none; padding-left: 0; padding-right: 0; background: transparent; }
:where(.sp-content) h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; color: var(--sp-navy); margin: .2em 0 .6em; }
:where(.sp-content) h2 { font-size: 23px; line-height: 1.3; color: var(--sp-navy); margin: 1.5em 0 .6em; }
:where(.sp-content) h3 { font-size: 18px; color: var(--sp-navy); }
.sp-content table { border-collapse: collapse; max-width: 100%; }
.sp-content input[type=text], .sp-content input[type=email], .sp-content input[type=password], .sp-content input[type=search], .sp-content input[type=url], .sp-content select, .sp-content textarea { border: 1px solid #cfd8e8; border-radius: 8px; padding: 10px 12px; font: inherit; max-width: 100%; }
.sp-content .cmp_button, .sp-content button[type=submit], .sp-content .pkp_button { background: var(--sp-blue); border: 0; color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; cursor: pointer; }
.sp-content .cmp_breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13px; color: var(--sp-muted); }
.sp-content .cmp_breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.sp-content .cmp_breadcrumbs .separator { display: none; }

/* ---------- Hero ---------- */
.sp-hero { position: relative; border-radius: 28px; overflow: hidden; padding: 40px 44px 32px;
	background: radial-gradient(520px 320px at 78% 30%, color-mix(in srgb, var(--sp-blue) 24%, #fff), transparent 70%), radial-gradient(360px 260px at 8% 100%, color-mix(in srgb, var(--sp-blue) 14%, #fff), transparent 70%), linear-gradient(135deg, #f4f8ff, #dfeaff); box-shadow: var(--sp-shadow); }
.sp-slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: center; min-height: 340px; }
.sp-slide[hidden] { display: none; }
.sp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--sp-navy); font-size: 13px; font-weight: 600; box-shadow: 0 1px 4px rgba(13, 31, 64, .12); margin-bottom: 16px; }
.sp-hero_title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--sp-navy); margin: 0 0 14px; }
.sp-hero_sub { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--sp-navy); }
.sp-hero_desc { margin: 0 0 24px; max-width: 32em; color: #33435f; font-size: 17px; line-height: 1.55; }
.sp-hero_actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-hero_visual { display: flex; justify-content: center; align-items: center; }
.sp-hero_visual img { width: 100%; max-height: 360px; object-fit: contain; }
.sp-hero_ph { font-size: 160px; color: color-mix(in srgb, var(--sp-blue) 30%, #fff); }
.sp-hero_stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 26px 0 0; padding-top: 18px; max-width: 60%; }
.sp-hero_stats li { display: flex; align-items: center; gap: 10px; }
.sp-hero_stat_icon { font-size: 26px; color: var(--sp-blue); }
.sp-hero_stats strong { display: block; font-size: 20px; line-height: 1.1; color: var(--sp-navy); font-weight: 800; }
.sp-hero_stats small { color: var(--sp-muted); font-size: 12.5px; }
.sp-hero_nav { position: absolute; right: 28px; bottom: 24px; display: flex; gap: 10px; }

/* ---------- Feature strip ---------- */
.sp-features { margin-top: 20px; }
.sp-features ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.sp-features li > a, .sp-feat { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; background: #fff; border: 1px solid var(--sp-line); border-radius: 14px; box-shadow: var(--sp-shadow); color: var(--sp-ink) !important; }
.sp-features li > a:hover { border-color: var(--sp-blue); }
.sp-feat_icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--sp-blue) 10%, #fff); color: var(--sp-blue); font-size: 22px; }
.sp-feat_text strong { display: block; font-size: 14px; line-height: 1.25; color: var(--sp-navy); }
.sp-feat_text small { color: var(--sp-muted); font-size: 13px; }

/* ---------- Columns & blocks ---------- */
.sp-cols { display: grid; grid-template-columns: minmax(0, 1fr) var(--sp-rail); gap: 28px; align-items: start; margin-top: 28px; }
.sp-colmain { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.sp-block_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sp-block_title { margin: 0 !important; padding-left: 12px; border-left: 5px solid var(--sp-blue); font-size: 22px !important; line-height: 1.2; color: var(--sp-navy); font-weight: 800; }
.sp-body a.sp-more { font-size: 14px; font-weight: 600; white-space: nowrap; }
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sp-card { display: flex; flex-direction: column; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; overflow: hidden; box-shadow: var(--sp-shadow); }
.sp-card_media, .sp-mini_media { position: relative; display: block; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--sp-blue) 10%, #fff); }
.sp-card_media img, .sp-mini_media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-card_ph { display: grid; place-items: center; height: 100%; font-size: 40px; color: var(--sp-blue); }
.sp-chip { position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: 999px; background: var(--sp-blue); color: #fff; font-size: 12px; font-weight: 600; }
.sp-card_body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.sp-card_title { margin: 0 !important; font-size: 17px !important; line-height: 1.3; font-weight: 800; }
.sp-body .sp-card_title a { color: var(--sp-navy); }
.sp-card_text { margin: 0; color: var(--sp-muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-card_meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--sp-muted); }
.sp-body a.sp-card_more { margin-top: auto; font-size: 14px; font-weight: 700; }
.sp-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; }
.sp-duo > .sp-block:only-child { grid-column: 1 / -1; }
.sp-poplist { display: flex; flex-direction: column; gap: 12px; }
.sp-poplist li { display: flex; align-items: center; gap: 10px; }
.sp-pop_no { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sp-blue); color: #fff; font-size: 13px; font-weight: 700; }
.sp-pop_link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--sp-ink) !important; }
.sp-pop_thumb { display: grid; place-items: center; flex: none; width: 66px; height: 50px; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--sp-blue) 10%, #fff); color: var(--sp-blue); }
.sp-pop_thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-pop_body strong { display: block; font-size: 14px; line-height: 1.3; color: var(--sp-navy); }
.sp-pop_body small { color: var(--sp-muted); font-size: 12px; }
.sp-minicards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sp-mini { padding-bottom: 10px; background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; overflow: hidden; }
.sp-mini_media { aspect-ratio: 4 / 3; }
.sp-mini h3 { margin: 10px 10px 4px !important; font-size: 14px !important; line-height: 1.3; }
.sp-body .sp-mini h3 a { color: var(--sp-navy); }
.sp-mini small { display: block; margin: 0 10px; color: var(--sp-muted); font-size: 12px; }
.sp-indexing { display: flex; align-items: center; gap: 20px; padding: 14px 20px; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; box-shadow: var(--sp-shadow); }
.sp-indexing_list { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; flex: 1; }
.sp-indexing_list img { max-height: 34px; width: auto; display: block; }
.sp-indexing_name { font-weight: 700; }
.sp-issue { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.sp-issue_card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; box-shadow: var(--sp-shadow); }
.sp-issue_cover { display: block; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--sp-navy); box-shadow: 0 8px 18px rgba(13, 31, 64, .25); }
.sp-issue_cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-issue_cover_ph { display: grid; place-items: center; height: 100%; padding: 10px; text-align: center; color: #fff; font-weight: 800; background: linear-gradient(160deg, var(--sp-navy), color-mix(in srgb, var(--sp-blue) 60%, var(--sp-navy))); }
.sp-issue_info h3 { margin: 0 0 6px !important; font-size: 21px !important; }
.sp-issue_date { margin: 0 0 8px; font-size: 14px; color: var(--sp-muted); }
.sp-issue_info p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; }
.sp-quicklinks { padding: 18px 20px; background: color-mix(in srgb, var(--sp-blue) 7%, #fff); border: 1px solid var(--sp-line); border-radius: 14px; }
.sp-quicklinks h3 { margin: 0 0 8px !important; font-size: 18px !important; }
.sp-quicklinks li a { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--sp-navy) !important; font-size: 14.5px; font-weight: 500; }
.sp-quicklinks li a .fa { color: var(--sp-blue); width: 22px; text-align: center; font-size: 18px; }

/* ---------- Rail ---------- */
.sp-rail { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sp-panel { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; overflow: hidden; box-shadow: var(--sp-shadow); scroll-margin-top: 90px; }
.sp-panel_head { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 14px 18px; color: var(--sp-navy); font-size: 15px !important; font-weight: 800; border-bottom: 1px solid var(--sp-line); }
.sp-panel_head .fa { color: var(--sp-blue); }
.sp-body a.sp-panel_more { margin-left: auto; font-size: 12.5px; font-weight: 600; }
.sp-panel_body { padding: 16px 18px; }
.sp-panel_search form { display: flex; }
.sp-panel_search input { flex: 1; min-width: 0; border: 0; padding: 13px 16px; font: inherit; font-size: 14px; background: #fff; }
.sp-panel_search button { border: 0; padding: 0 18px; background: var(--sp-blue); color: #fff; cursor: pointer; font-size: 16px; }
.sp-chart { display: flex; align-items: flex-end; gap: 5px; height: 120px; padding-bottom: 18px; border-bottom: 1px solid var(--sp-line); }
.sp-chart_bar { position: relative; flex: 1; min-height: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--sp-blue) 70%, #fff), var(--sp-blue)); }
.sp-chart_bar i { position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%); font-style: normal; font-size: 9px; color: var(--sp-muted); }
.sp-statnums { display: flex; justify-content: space-around; gap: 8px; margin-top: 14px; text-align: center; }
.sp-statnums strong { display: block; font-size: 18px; color: var(--sp-navy); font-weight: 800; }
.sp-statnums small { color: var(--sp-muted); font-size: 12px; }
.sp-files li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--sp-line); }
.sp-files li:first-child { border-top: 0; }
.sp-files_icon { font-size: 24px; color: var(--sp-blue); width: 28px; text-align: center; }
.sp-files_icon-file-pdf-o { color: #d93025; } .sp-files_icon-file-archive-o { color: #e8890c; } .sp-files_icon-file-excel-o { color: #1e8e3e; }
.sp-files_body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sp-files_body strong { font-size: 13.5px; line-height: 1.25; color: var(--sp-navy); }
.sp-files_body small { color: var(--sp-muted); font-size: 11.5px; }
.sp-body a.sp-dl { padding: 7px 14px; border-radius: 999px; background: var(--sp-blue); color: #fff; font-size: 12.5px; font-weight: 700; }
.sp-body a.sp-dl:hover { background: color-mix(in srgb, var(--sp-blue) 80%, #000); color: #fff; }
.sp-wa { display: flex; align-items: center; gap: 14px; padding: 18px; background: linear-gradient(135deg, #e8fbee, #d3f6df); border-color: #bfeccf; }
.sp-wa_icon { font-size: 54px; color: #12b83f; }
.sp-wa_body h2 { margin: 0 !important; font-size: 16px !important; color: var(--sp-navy); }
.sp-wa_body p { margin: 2px 0 8px; font-size: 13px; color: #33435f; }
.sp-wa_body small { display: block; margin: -4px 0 8px; font-size: 12px; color: var(--sp-muted); }
.sp-wa_float { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #12b83f; color: #fff !important; font-size: 30px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.sp-tools a { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-top: 1px solid var(--sp-line); color: var(--sp-ink) !important; font-size: 13.5px; }
.sp-tools li:first-child a { border-top: 0; }
.sp-tools a:hover { background: var(--sp-bg); }
.sp-tools_icon { font-size: 22px; color: var(--sp-blue); width: 28px; text-align: center; }
.sp-tools small { display: block; color: var(--sp-muted); font-size: 12px; }
.sp-ann a { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px 10px 28px; position: relative; border-top: 1px solid var(--sp-line); color: var(--sp-ink) !important; font-size: 13px; }
.sp-ann li:first-child a { border-top: 0; }
.sp-ann a::before { content: ""; position: absolute; left: 14px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--sp-blue); }
.sp-ann_title { flex: 1; line-height: 1.3; font-weight: 500; }
.sp-ann time { color: var(--sp-muted); font-size: 11.5px; white-space: nowrap; }
.sp-panel_empty { padding: 12px 16px; margin: 0; }

/* ---------- Footer ---------- */
.sp-footer { background: linear-gradient(160deg, var(--sp-navy), color-mix(in srgb, var(--sp-navy) 80%, var(--sp-blue))); color: #dbe6ff; }
.sp-footer_inner { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr; gap: 28px; max-width: var(--sp-wrap); margin: 0 auto; padding: 44px 24px 30px; }
.sp-footer_inner:not(:has(.sp-footer_news)) { grid-template-columns: 1.6fr repeat(3, 1fr); }
.sp-footer_name { display: flex; align-items: center; gap: 12px; color: #fff !important; }
.sp-footer_name strong { font-size: 18px; line-height: 1.2; }
.sp-footer_logo { max-height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.sp-footer_brand small { display: block; margin: 6px 0; color: #b9c9e6; }
.sp-footer_brand p { margin: 8px 0 14px; font-size: 14px; line-height: 1.55; color: #c9d6f1; }
.sp-footer h2 { margin: 0 0 12px !important; font-size: 15px !important; color: #fff !important; }
.sp-footer_col li a { display: block; padding: 4px 0; color: #dbe6ff !important; font-size: 14px; }
.sp-footer_col li a:hover { color: #fff !important; text-decoration: underline; }
.sp-footer_news p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; }
.sp-footer_news form { display: flex; background: #fff; border-radius: 999px; overflow: hidden; }
.sp-footer_news input { flex: 1; min-width: 0; border: 0; padding: 11px 16px; font: inherit; font-size: 14px; }
.sp-footer_news button { border: 0; padding: 0 16px; background: var(--sp-blue); color: #fff; cursor: pointer; }
.sp-social { display: flex; gap: 10px; }
.sp-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--sp-navy) !important; font-size: 17px; }
.sp-footer_bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; max-width: var(--sp-wrap); margin: 0 auto; padding: 16px 24px 22px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; }
.sp-footer_bar p { margin: 0; }
.sp-footer_extra { max-width: var(--sp-wrap); margin: 0 auto; padding: 0 24px 16px; font-size: 13px; }

/* ---------- Theme Hub ---------- */
.sp-hub { max-width: 820px; padding-bottom: 40px; }
.sp-hub_intro { color: var(--sp-muted); }
.sp-hub_card { margin: 18px 0; padding: 20px 24px; background: #fff; border: 1px solid var(--sp-line); border-radius: 14px; box-shadow: var(--sp-shadow); }
.sp-hub_card h2 { margin: 0 0 10px !important; font-size: 19px !important; }
.sp-hub_main { border-left: 5px solid var(--sp-blue); }
.sp-hub_actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.sp-hub_themes li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sp-line); }
.sp-hub_themes li:first-child { border-top: 0; }
.sp-hub_themes li > span:nth-child(2) { flex: 1; }
.sp-hub_badge { font-style: normal; padding: 2px 10px; border-radius: 999px; background: #d7f3e6; color: #0b6b43; font-size: 12px; font-weight: 700; }
.sp-hub_note { margin: 12px 0 0; color: var(--sp-muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.sp-cols { grid-template-columns: minmax(0, 1fr); }
	.sp-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.sp-footer_inner, .sp-footer_inner:not(:has(.sp-footer_news)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.sp-burger { display: inline-grid; }
	.sp-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--sp-line); box-shadow: 0 14px 24px rgba(13, 31, 64, .12); max-height: 75vh; overflow-y: auto; padding: 10px 16px 16px; }
	.sp-nav.is-open { display: block; }
	.sp-menu { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
	.sp-menu_row { display: flex; width: 100%; }
	.sp-menu_row > .sp-menu_link:first-child { flex: 1; }
	.sp-sub { position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; }
	.sp-menu_item.has-sub:hover > .sp-sub { display: none; }
	.sp-menu_item.has-sub.is-open > .sp-sub { display: block; }
	.sp-brand { flex: 1; }
}
@media (max-width: 860px) {
	.sp-slide { grid-template-columns: 1fr; min-height: 0; }
	.sp-hero_visual { order: -1; }
	.sp-hero_visual img { max-height: 220px; }
	.sp-hero_stats { max-width: none; }
	.sp-cards, .sp-minicards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sp-duo, .sp-issue { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sp-header_inner { padding: 8px 14px; gap: 10px; }
	.sp-brand_text small { display: none; }
	.sp-brand_text strong { font-size: 14px; }
	.sp-content { padding: 14px 12px 40px; }
	.sp-hero { padding: 24px 18px 70px; border-radius: 20px; }
	.sp-hero_nav { right: 16px; bottom: 16px; }
	.sp-cards, .sp-minicards, .sp-rail { grid-template-columns: 1fr; }
	.sp-issue_card { grid-template-columns: 110px 1fr; gap: 14px; }
	.sp-footer_inner, .sp-footer_inner:not(:has(.sp-footer_news)) { grid-template-columns: 1fr; padding: 30px 16px 20px; }
	.sp-footer_bar { padding: 14px 16px 20px; }
	.sp-actions .sp-link { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .sp-header, .sp-rail, .sp-footer, .sp-adminbar, .sp-wa_float { display: none !important; } }

/* screen-reader-only helper (same behaviour as the OJS class, kept as a safety net) */
.sp-body .pkp_screen_reader { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* ---------- Added: CFP, FAQ, language, cookie, post CTA, hub extras ---------- */
.sp-body h1, .sp-body h2, .sp-hero_title, .sp-brand_text strong { font-family: var(--sp-head, inherit); }
.sp-cfp { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 22px; border-radius: var(--sp-radius); background: linear-gradient(120deg, var(--sp-navy), color-mix(in srgb, var(--sp-blue) 70%, var(--sp-navy))); color: #fff; }
.sp-cfp_icon { font-size: 28px; color: var(--sp-accent); }
.sp-cfp_text { flex: 1; display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; }
.sp-cfp_text strong { font-size: 17px; }
.sp-cfp_dl { color: var(--sp-accent); font-weight: 700; font-size: 13.5px; }
.sp-body .sp-cfp a.sp-btn_blue { background: #fff; color: var(--sp-navy); }
.sp-faq details { background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; margin-bottom: 10px; }
.sp-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--sp-navy); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; font-size: 20px; color: var(--sp-blue); line-height: 1; }
.sp-faq details[open] summary::after { content: "–"; }
.sp-faq p { margin: 0; padding: 0 18px 16px; color: #33435f; line-height: 1.6; }
.sp-lang { position: relative; }
.sp-lang_list { position: absolute; right: 0; top: 46px; min-width: 160px; padding: 6px; background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; box-shadow: var(--sp-shadow); z-index: 75; }
.sp-lang_list[hidden] { display: none; }
.sp-body .sp-lang_list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--sp-ink); font-size: 14px; }
.sp-lang_list a:hover, .sp-lang_list a[aria-current] { background: color-mix(in srgb, var(--sp-blue) 10%, #fff); color: var(--sp-blue); font-weight: 700; }
.sp-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 14px; max-width: 720px; margin: 0 auto; padding: 14px 18px; background: #fff; border: 1px solid var(--sp-line); border-radius: 14px; box-shadow: 0 10px 30px rgba(13, 31, 64, .22); font-size: 13.5px; }
.sp-cookie[hidden] { display: none; }
.sp-cookie p { margin: 0; flex: 1; }
.sp-postcta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 28px 0; padding: 20px 24px; border-radius: var(--sp-radius); background: color-mix(in srgb, var(--sp-blue) 8%, #fff); border: 1px solid var(--sp-line); }
.sp-postcta p { margin: 0; font-weight: 700; color: var(--sp-navy); font-size: 17px; }
.sp-footer_meta { margin: -4px 0 10px !important; font-size: 12.5px !important; color: #b9c9e6 !important; }
.sp-footer_contact { margin: 0 0 14px; }
.sp-footer_contact a { display: inline-block; padding: 3px 0; color: #dbe6ff !important; font-size: 14px; }
.sp-panel_foot { display: block; padding: 12px 16px; border-top: 1px solid var(--sp-line); font-size: 13px; font-weight: 600; text-align: right; }
.sp-content .page table { display: block; max-width: 100%; overflow-x: auto; }
.sp-content .page img, .sp-content .pm-prose img { max-width: 100%; height: auto; }

/* ---------- Speed & feel ---------- */
.sp-cols, .sp-footer { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
.sp-card, .sp-mini, .sp-features li > a, .sp-feat { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sp-card:hover, .sp-mini:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(13, 31, 64, .06), 0 14px 30px rgba(13, 31, 64, .12); }
.sp-card_media img, .sp-mini_media img { transition: transform .35s ease; }
.sp-card:hover .sp-card_media img, .sp-mini:hover .sp-mini_media img { transform: scale(1.04); }
.sp-slide.is-active { animation: sp-fade .45s ease; }
@keyframes sp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html.sp-js .sp-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.sp-js .sp-reveal.sp-in { opacity: 1; transform: none; }
.sp-iconbtn, .sp-sub_toggle, .sp-burger { min-width: 40px; min-height: 40px; }
@media (hover: none) { .sp-card:hover, .sp-mini:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { html.sp-js .sp-reveal { opacity: 1; transform: none; } .sp-slide.is-active { animation: none; } }

/* ---------- Right-to-left languages (Arabic …) ---------- */
[dir="rtl"] .sp-block_title { padding-left: 0; padding-right: 12px; border-left: 0; border-right: 5px solid var(--sp-blue); }
[dir="rtl"] .fa-long-arrow-right, [dir="rtl"] .fa-arrow-right { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .sp-hero_nav { right: auto; left: 28px; }
[dir="rtl"] .sp-lang_list { right: auto; left: 0; }
[dir="rtl"] .sp-ann a { padding: 10px 28px 10px 14px; } [dir="rtl"] .sp-ann a::before { left: auto; right: 14px; }
[dir="rtl"] .sp-chip { left: auto; right: 10px; }
@media (max-width: 640px) { .sp-hero { padding-bottom: 70px; } .sp-cfp { flex-wrap: wrap; } .sp-hero_visual img { max-height: 180px; } .sp-cookie { flex-direction: column; align-items: stretch; } }
@media (max-width: 480px) { .sp-actions { gap: 6px; } .sp-iconbtn, .sp-burger { min-width: 36px; min-height: 36px; width: 36px; height: 36px; } .sp-brand_text strong { font-size: 13px; } .sp-brand_icon { font-size: 26px; } .sp-brand_logo { max-height: 36px; } }
