/* ============================================================
   INSPIRE — OJS 3.3 Default Theme override
   Upload: Settings → Website → Appearance → Advanced → Journal style sheet
   Scope: journal frontend only. No core files touched.
   ============================================================ */

/* ---------- 1. tokens ---------- */
.page_index_journal,
.pkp_structure_page {
  --i-ink: #0b1b33;
  --i-ink-2: #1d3557;
  --i-muted: #5b6b82;
  --i-blue: #0e4d92;
  --i-blue-2: #1868c0;
  --i-gold: #e9b949;
  --i-soft: #f5f7fb;
  --i-line: #e2e8f2;
  --i-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --i-sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body { background: #fff; }
html { overflow-x: hidden; }
body {
  font-family: var(--i-sans);
  color: var(--i-ink);
  -webkit-font-smoothing: antialiased;
}

/* ---------- 2. header ---------- */
.pkp_structure_head {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(150deg, #08182c 0%, #10345c 58%, #0e4d92 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pkp_head_wrapper { padding-top: .85rem; padding-bottom: .6rem; display: flow-root; }
.pkp_site_name { padding: 0; }
.pkp_site_name a,
.pkp_site_name .is_text {
  display: inline-block; line-height: 1.25;
  color: #fff !important;
  font-family: var(--i-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
}
.pkp_site_name .is_text:hover { text-decoration: none; opacity: .92; }
.pkp_site_name_wrapper { height: auto; display: flow-root; }
.pkp_site_logo { max-height: 54px; width: auto; }

.pkp_site_nav_menu,
.pkp_site_nav_menu--isOpen { background: transparent; }
.pkp_site_nav_menu ul ul { background: #0b2647; border-radius: 10px; padding: .4rem .2rem; }
.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
  color: #d7e4f6; font-size: .9rem; font-weight: 500; letter-spacing: .01em;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_user > li > a:hover { color: #fff; }
.pkp_navigation_primary > li:first-child a { border: 0; }
.pkp_nav_list { line-height: 2; }
.pkp_navigation_primary_wrapper { padding-bottom: .15rem; }
.pkp_navigation_search_wrapper { margin-left: .4rem; }
.pkp_search_desktop,
.pkp_search_mobile { color: #d7e4f6; }
.pkp_nav_list .pkp_search a { color: #d7e4f6; }
.pkp_site_nav_menu a { color: #d7e4f6; }
.pkp_site_nav_menu a:hover { color: #fff; }
/* register / login links read as small buttons */
.pkp_navigation_user_wrapper .pkp_navigation_user a[href*="/login"],
.pkp_navigation_user_wrapper .pkp_navigation_user a[href*="/user/register"] {
  display: inline-block; padding: .28rem .8rem; margin-left: .3rem;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  color: #fff !important; font-size: .82rem; line-height: 1.6;
}
.pkp_navigation_user_wrapper .pkp_navigation_user a[href*="/login"]:hover,
.pkp_navigation_user_wrapper .pkp_navigation_user a[href*="/user/register"]:hover {
  background: rgba(255, 255, 255, .12); text-decoration: none;
}

/* ---------- 3. page shell ---------- */
.pkp_structure_content { padding-top: 0; }
.pkp_structure_main { padding: 0 2.143rem 4.5rem; }
.pkp_structure_main::before,
.pkp_structure_main::after { display: none; }   /* kill the fixed sidebar divider */
.page_index_journal { margin-top: 0; }

/* theme wraps "Additional Content" in negative margins + top padding + a rule;
   reset it so the landing blocks can own the full width */
.pkp_page_index .additional_content,
.page_index_journal .additional_content {
  margin-left: 0; margin-right: 0; padding: 0; border-top: 0;
}

/* homepage only: release the theme's fixed 860px reading column so the
   landing blocks can use the full viewport. Reading pages keep the theme column. */
.pkp_structure_content:has(.page_index_journal),
.pkp_structure_main:has(.page_index_journal) {
  float: none; width: 100%; max-width: none; padding: 0; margin: 0;
}
/* theme: .pkp_structure_main:first-child:last-child{margin-top:2.857rem} (0,3,0) */
.pkp_structure_main:has(.page_index_journal):first-child:last-child { margin-top: 0; }

/* theme sets ".pkp_structure_main p{margin:1.43rem 0}" (0,1,1) — beat it on
   the few paragraphs whose spacing we define with a class only */
.additional_content .i-eyebrow { margin: 0 0 .5rem; }
.additional_content .i-pull { margin: 1.3rem 0 0; }
.additional_content .i-deadline { margin: 1.5rem 0 0; }

/* ---------- 4. typography ---------- */
/* theme sets ".pkp_structure_main h1 {font-family:...}" — match its specificity */
.pkp_structure_main h1, .pkp_structure_main h2, .pkp_structure_main h3, .pkp_structure_main h4 {
  font-family: var(--i-serif); color: var(--i-ink); font-weight: 600;
}
.pkp_structure_main h1 { font-size: 2rem; line-height: 1.2; }
.pkp_structure_main h2 { font-size: 1.5rem; }
a { color: var(--i-blue); }
a:hover { color: var(--i-ink); }

/* ---------- 5. footer ---------- */
.pkp_structure_footer_wrapper { background: var(--i-ink); color: #9fb2cc; margin-top: 0; }
.pkp_structure_footer { padding: 1.6rem 0; }
.pkp_brand_footer img { filter: grayscale(1) invert(1); opacity: .45; }
.pkp_structure_footer a { color: #9fb2cc; }
.pkp_structure_footer a:hover { color: #fff; }

/* ============================================================
   6. HOMEPAGE BLOCKS  (markup lives in "Additional Content")
   ============================================================ */
.page_index_journal .i-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.page_index_journal .i-wrap { width: min(100% - 40px, 1060px); margin-inline: auto; }
.page_index_journal .i-wrap > * { box-sizing: border-box; }

/* hero */
.i-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(24, 104, 192, .22), transparent 62%),
    radial-gradient(700px 380px at 8% 110%, rgba(233, 185, 73, .18), transparent 60%),
    linear-gradient(180deg, #08182c 0%, #0e2b4d 100%);
  color: #fff; padding: 4rem 0 4.5rem;
}
.i-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(600px 340px at 70% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(600px 340px at 70% 20%, #000, transparent 78%);
}
.i-hero .i-wrap {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem; align-items: center;
}
.i-eyebrow {
  margin: 0 0 .5rem; font-family: var(--i-sans); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #8fb6e8;
}
.i-hero h1 {
  color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.12;
  margin: 0 0 1.1rem; letter-spacing: -.01em;
}
.i-hero h1 em { font-style: normal; color: #ffd97a; }
.i-hero .i-lede { color: #c6d6ea; font-size: 16px; line-height: 1.65; max-width: 46ch; margin: 0; }
.i-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.i-btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .78rem 1.3rem;
  border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none;
  transition: .18s ease; border: 1px solid transparent;
}
.i-btn:hover { text-decoration: none; transform: translateY(-1px); }
.i-btn-primary { background: var(--i-gold); color: #2b2000 !important; }
.i-btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.i-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.i-deadline {
  display: flex; align-items: center; gap: .55rem; margin: 1.5rem 0 0;
  font-size: 13.5px; color: #a9bdd6;
}
.i-deadline b { color: #fff; font-weight: 600; }
.i-event { margin: .7rem 0 0; font-size: 12.5px; line-height: 1.6; color: #93a9c6; max-width: 62ch; }
.i-event b { color: #dbe7f7; font-weight: 600; }
.i-dot { width: 7px; height: 7px; border-radius: 99px; background: #46c08a; box-shadow: 0 0 0 4px rgba(70, 192, 138, .18); flex: 0 0 7px; }

/* CSS cover */
.i-cover-wrap { justify-self: center; width: 100%; max-width: 340px; position: relative; }
.i-cover {
  aspect-ratio: 3/4; border-radius: 5px 12px 12px 5px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #0a3a70 0%, #0e4d92 45%, #082c55 100%);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1);
  padding: 1.4rem 1.3rem; display: flex; flex-direction: column; justify-content: space-between;
}
.i-cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px 220px at 100% 0%, rgba(233, 185, 73, .35), transparent 62%),
              repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 12px);
}
.i-cover-kicker { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.i-cover-title { font-family: var(--i-serif); font-size: 1.7rem; line-height: 1.12; margin: .5rem 0 .4rem; color: #fff; }
.i-cover-sub { font-size: .74rem; color: rgba(255, 255, 255, .8); max-width: 24ch; line-height: 1.5; }
.i-cover-foot { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; font-size: .64rem; color: rgba(255, 255, 255, .85); }
.i-cover-badge { border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: .22rem .55rem; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.i-cover-tag {
  position: absolute; right: -10px; bottom: 18px; background: #fff; border: 1px solid var(--i-line);
  border-radius: 10px; padding: .55rem .8rem; font-size: .66rem; line-height: 1.4; color: var(--i-muted);
  box-shadow: 0 12px 30px -14px rgba(11, 27, 51, .5);
}
.i-cover-tag b { display: block; font-size: .78rem; color: var(--i-blue); }

/* stat strip */
.i-stats { background: var(--i-ink); color: #fff; }
.i-stats .i-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.i-stats > .i-wrap > div { padding: 1.4rem 1rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.i-stats > .i-wrap > div:first-child { border-left: 0; padding-left: 0; }
.i-stats b { display: block; font-family: var(--i-serif); font-size: 26px; line-height: 1; color: #fff; }
.i-stats span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #93a9c6; }

/* generic section */
.i-section { padding: 3.6rem 0; }
.i-section.i-soft { background: var(--i-soft); border-block: 1px solid var(--i-line); }
.i-head { max-width: 60ch; margin-bottom: 2rem; }
.i-head h2 { font-size: clamp(24px, 2.6vw, 30px); margin: .4rem 0 .6rem; }
.i-head p { margin: 0; color: var(--i-muted); font-size: 15px; }
.i-pull { border-left: 3px solid var(--i-gold); padding: .3rem 0 .3rem 1rem; margin: 1.3rem 0 0; font-family: var(--i-serif); font-size: 16px; color: var(--i-ink-2); }
.i-grid { display: grid; gap: 1rem; }
.i-g3 { grid-template-columns: repeat(3, 1fr); }
.i-g2 { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.i-grid p { color: var(--i-muted); margin: 0 0 .8rem; font-size: 14.5px; line-height: 1.65; }

.i-card { background: #fff; border: 1px solid var(--i-line); border-radius: 14px; padding: 1.3rem; transition: .2s ease; }
.i-card:hover { border-color: #c6d7ee; box-shadow: 0 18px 40px -26px rgba(11, 27, 51, .5); transform: translateY(-2px); }
.i-card .i-no { font-family: var(--i-serif); font-size: .82rem; font-weight: 700; letter-spacing: .1em; color: #b98d1c; }
.i-card h3 { font-size: 17px; margin: .35rem 0 .45rem; }
.i-card p { font-size: 13.5px; line-height: 1.6; margin: 0; }

/* five themes: 3 cards, then 2 wider cards */
.i-grid-themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.i-grid-themes .i-card { grid-column: span 2; display: flex; flex-direction: column; }
.i-grid-themes .i-card:nth-child(4),
.i-grid-themes .i-card:nth-child(5) { grid-column: span 3; }
.i-card h3 { font-family: var(--i-serif); }
.i-scope { color: var(--i-muted); margin: .2rem 0 .9rem !important; }
.i-out {
  margin-top: auto !important; padding-top: .8rem; border-top: 1px solid var(--i-line);
  font-size: 12.5px; line-height: 1.55; color: var(--i-ink-2) !important;
}
.i-out b { display: block; font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; color: #b98d1c; margin-bottom: .15rem; }

/* schedule (10 stages, vertical) */
.i-sched { display: grid; }
.i-sched-row { display: grid; grid-template-columns: 185px 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--i-line); align-items: baseline; }
.i-sched-row:last-child { border-bottom: 0; }
.i-sched-date { display: flex; align-items: baseline; gap: .55rem; font-family: var(--i-serif); font-size: 15px; line-height: 1.4; color: var(--i-ink); }
.i-sched-date::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 99px; background: var(--i-line); transform: translateY(-2px); }
.i-sched-row.is-key .i-sched-date { color: var(--i-blue); font-weight: 600; }
.i-sched-row.is-key .i-sched-date::before { background: var(--i-gold); }
.i-sched .i-sched-stage { margin: 0; font-size: 14px; line-height: 1.6; color: var(--i-muted); }

/* pills + cta */
.i-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.2rem; }
.i-pill { border: 1px solid var(--i-line); border-radius: 999px; padding: .4rem .95rem; font-size: .78rem; font-weight: 600; color: var(--i-ink-2); background: #fff; }
.i-cta {
  position: relative; overflow: hidden; border-radius: 16px; padding: 2.4rem 2.2rem; color: #fff;
  background: linear-gradient(135deg, #0b1b33 0%, #123a68 55%, #0e4d92 100%);
}
.i-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 260px at 88% 10%, rgba(233, 185, 73, .28), transparent 60%); }
.i-cta h2 { color: #fff; font-size: clamp(23px, 2.4vw, 29px); margin: 0 0 .6rem; position: relative; }
.i-cta p { color: #c3d2e6; margin: 0; max-width: 52ch; position: relative; font-size: 15px; }
.i-cta .i-actions { position: relative; margin-top: 1.5rem; }

/* ---------- 7. responsive ---------- */
@media (max-width: 1100px) {
  .i-hero .i-wrap { grid-template-columns: 1fr; gap: 2.4rem; }
  .i-cover-wrap { max-width: 300px; }
}
@media (max-width: 767px) {
  /* theme absolutely-positions the site name on small screens and relies on a
     fixed wrapper height we removed — rebuild a compact bar instead */
  .pkp_head_wrapper { padding: .45rem 0; }
  .pkp_site_name_wrapper { position: relative; min-height: 44px; height: auto; padding: 0 3.2rem 0 3.1rem; }
  .pkp_site_name { position: static; overflow: visible; }
  .pkp_site_name a, .pkp_site_name .is_text { font-size: 19px; }
  .pkp_site_nav_toggle { top: 6px; left: 6px; }
}
@media (max-width: 760px) {
  .i-hero { padding: 2.8rem 0 3.2rem; }
  .i-stats .i-wrap { grid-template-columns: repeat(2, 1fr); }
  .i-stats > .i-wrap > div { border-left: 0; padding-left: 0; }
  .i-g3, .i-g2, .i-grid-themes { grid-template-columns: 1fr; }
  .i-grid-themes .i-card,
  .i-grid-themes .i-card:nth-child(4),
  .i-grid-themes .i-card:nth-child(5) { grid-column: auto; }
  .i-g2 { gap: 1.6rem; }
  .i-sched-row { grid-template-columns: 1fr; gap: .2rem; padding: .8rem 0; }
  .i-section { padding: 2.6rem 0; }
  .i-cta { padding: 1.8rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .i-btn, .i-card { transition: none; }
  .i-btn:hover, .i-card:hover { transform: none; }
}

/* ============================================================
   8. INTERIOR PAGES — about · submissions · privacy · archive · current
   ============================================================ */
body.pkp_page_about .page,
body.pkp_page_issue .page { padding-top: 2.4rem; }

/* breadcrumbs */
.cmp_breadcrumbs { margin: 0 0 1.5rem; }
.cmp_breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.cmp_breadcrumbs li { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--i-muted); }
.cmp_breadcrumbs a { color: var(--i-muted); text-decoration: none; }
.cmp_breadcrumbs a:hover { color: var(--i-blue); text-decoration: underline; }
.cmp_breadcrumbs .separator { color: #b9c6d8; }
.cmp_breadcrumbs .current span { color: var(--i-ink-2); font-weight: 600; }

/* page title */
body.pkp_page_about .page > h1,
body.pkp_page_issue .page > h1 {
  font-family: var(--i-serif);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 0 0 1.9rem;
  padding-bottom: 1.1rem;
  position: relative;
  color: var(--i-ink);
}
body.pkp_page_about .page > h1::before,
body.pkp_page_issue .page > h1::before {
  content: "INSPIRE · Inclusive Symposium Proceedings";
  display: block;
  font-family: var(--i-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--i-blue-2);
  margin-bottom: .6rem;
}
body.pkp_page_about .page > h1::after,
body.pkp_page_issue .page > h1::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 3px; border-radius: 3px; background: var(--i-gold);
}

/* prose */
body.pkp_page_about .page p,
body.pkp_page_issue .page p {
  font-size: 15px; line-height: 1.75; color: #24344c;
  margin: 0 0 1.05rem; max-width: 74ch;
}
body.pkp_page_about .page h2,
body.pkp_page_issue .page h2 {
  font-family: var(--i-serif); font-size: 21px; line-height: 1.3;
  margin: 2.4rem 0 .8rem; padding: 0; color: var(--i-ink);
}
body.pkp_page_about .page h3,
body.pkp_page_issue .page h3 { font-family: var(--i-serif); font-size: 17px; margin: 1.6rem 0 .5rem; }
body.pkp_page_about .page ul,
body.pkp_page_about .page ol,
body.pkp_page_issue .page ul,
body.pkp_page_issue .page ol { margin: 0 0 1.2rem; padding-left: 1.25rem; max-width: 74ch; }
body.pkp_page_about .page li,
body.pkp_page_issue .page li { font-size: 15px; line-height: 1.7; color: #24344c; margin: .4rem 0; }
body.pkp_page_about .page li::marker,
body.pkp_page_issue .page li::marker { color: #b98d1c; }
body.pkp_page_about .page a,
body.pkp_page_issue .page a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
body.pkp_page_about .page strong, body.pkp_page_issue .page strong { color: var(--i-ink); font-weight: 600; }
body.pkp_page_about .page blockquote,
body.pkp_page_issue .page blockquote {
  margin: 1.4rem 0; padding: .8rem 0 .8rem 1.1rem; border-left: 3px solid var(--i-gold);
  font-family: var(--i-serif); font-size: 16.5px; color: var(--i-ink-2);
}
body.pkp_page_about .page table, body.pkp_page_issue .page table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1rem 0 1.6rem; }
body.pkp_page_about .page th, body.pkp_page_about .page td,
body.pkp_page_issue .page th, body.pkp_page_issue .page td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--i-line); }
body.pkp_page_about .page th, body.pkp_page_issue .page th { background: var(--i-soft); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--i-muted); }
body.pkp_page_about .page hr, body.pkp_page_issue .page hr { border: 0; border-top: 1px solid var(--i-line); margin: 2rem 0; }

/* notices, checklists, empty states */
.cmp_notification {
  background: var(--i-soft); border: 1px solid var(--i-line); border-left: 3px solid var(--i-blue);
  border-radius: 10px; padding: .95rem 1.15rem; font-size: 14.5px; color: var(--i-ink-2);
  margin: 0 0 1.6rem;
}
.cmp_notification.warning { background: #fffbf2; border-left-color: var(--i-gold); }
.cmp_notification a { font-weight: 600; }
.submission_checklist {
  background: #fff; border: 1px solid var(--i-line); border-radius: 14px;
  padding: 1.4rem 1.6rem 1.2rem; margin: 1.8rem 0; box-shadow: 0 18px 40px -34px rgba(11, 27, 51, .5);
}
.submission_checklist h2 { margin-top: 0 !important; font-size: 19px !important; }
.submission_checklist ul { padding-left: 1.15rem; }

/* archive / current with no issues yet */
body.pkp_op_archive .page > p,
body.pkp_op_current .page > p {
  background: var(--i-soft); border: 1px dashed #c9d5e6; border-radius: 12px;
  padding: 1.7rem 1.8rem; color: var(--i-muted); font-size: 15px; max-width: 62ch;
}
body.pkp_op_current .page .cmp_notification {
  background: #fff; border: 1px dashed #c9d5e6; border-left: 3px solid var(--i-gold);
  padding: 1.7rem 1.8rem; font-size: 15px; color: var(--i-ink-2); border-radius: 12px;
}

@media (max-width: 760px) {
  body.pkp_page_about .page, body.pkp_page_issue .page { padding-top: 1.6rem; }
  body.pkp_page_about .page p, body.pkp_page_issue .page p,
  body.pkp_page_about .page li, body.pkp_page_issue .page li { font-size: 14.5px; }
  body.pkp_page_about .page h2, body.pkp_page_issue .page h2 { font-size: 19px; margin-top: 2rem; }
}
