@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  --jr-navy: #0b2438;
  --jr-teal: #0a7180;
  --jr-teal-soft: #eaf6f6;
  --jr-gold: #c9962d;
  --jr-gold-soft: #fff7e7;
  --jr-ink: #162c3d;
  --jr-muted: #5e7182;
  --jr-surface: #ffffff;
  --jr-bg: #f5f8fa;
  --jr-line: #dbe7eb;
  --jr-danger: #b23a32;
  --jr-radius: 18px;
}

/* The institutional header is normally transparent and absolute.  Only this
   platform turns it into a calm, readable navigation band. */
body:has(.jr-page) {
  background: var(--jr-bg);
  font-family: "Cairo", system-ui, sans-serif;
}
body:has(.jr-page) .top-header {
  background: #f7fafc !important;
  border-bottom: 1px solid #e2ebee;
}
body:has(.jr-page) .top-header a { color: var(--jr-muted) !important; }
body:has(.jr-page) .top-header + header {
  background: #fff;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #e4edef;
  box-shadow: 0 10px 28px rgba(11, 36, 56, .08);
}
body:has(.jr-page) .top-header + header .rs-header-area {
  position: relative;
  inset: auto;
  padding: 17px 0;
}
body:has(.jr-page) .top-header + header .rs-header-inner { min-height: 54px; }
body:has(.jr-page) .top-header + header .main-menu ul li a {
  color: var(--jr-ink);
  font-weight: 700;
}
body:has(.jr-page) .top-header + header .main-menu ul li a:hover { color: var(--jr-teal); }
body:has(.jr-page) .top-header + header .rs-header-logo img { max-height: 58px; width: auto; }

.jr-page {
  background: var(--jr-bg);
  color: var(--jr-ink);
  min-height: 62vh;
}
.jr-page .container { max-width: 1280px; }
.jr-hero {
  position: relative;
  /* Keep a native select menu above the following white section. */
  overflow: visible;
  z-index: 2;
  isolation: isolate;
  padding: 4.5rem 0 5.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 150, 45, .28), transparent 25rem),
    radial-gradient(circle at 88% 90%, rgba(41, 170, 180, .28), transparent 27rem),
    linear-gradient(135deg, #0a2438 0%, #0b4657 55%, #08707b 100%);
}
.jr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/journals-hero-research.png") left center / cover no-repeat;
  opacity: .47;
  mix-blend-mode: luminosity;
  animation: jr-hero-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.jr-hero::after {
  content: "";
  position: absolute;
  inset: auto -6rem 1.5rem auto;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(255,255,255,.035), 0 0 0 5rem rgba(255,255,255,.025);
  pointer-events: none;
}
.jr-hero .container { position: relative; z-index: 1; }
.jr-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
}
.jr-section .jr-kicker { color: var(--jr-teal); border-color: #b9dce0; background: #f4fcfc; }
.jr-hero h1 {
  max-width: 680px;
  margin: 1.05rem 0 .8rem;
  color: #fff;
  font-size: clamp(2.1rem, 4.7vw, 3.85rem);
  line-height: 1.25;
  letter-spacing: -.03em;
}
.jr-hero .lead { max-width: 720px; color: rgba(255,255,255,.83); font-size: 1.1rem; line-height: 1.9; }

.jr-search,
.jr-card,
.jr-panel {
  background: var(--jr-surface);
  border: 1px solid var(--jr-line);
  border-radius: var(--jr-radius);
  box-shadow: 0 13px 36px rgba(11, 36, 56, .075);
}
.jr-search {
  position: relative;
  z-index: 3;
  margin-top: 2.35rem;
  padding: .85rem;
  color: var(--jr-ink);
  animation: jr-rise-in .65s .16s both;
}
.jr-search .form-control,
.jr-search .form-select,
.jr-panel .form-control,
.jr-panel .form-select {
  min-height: 50px;
  border-color: #d9e5e9;
  border-radius: 11px;
  color: var(--jr-ink);
  box-shadow: none;
}
.jr-search .form-control:focus,
.jr-search .form-select:focus,
.jr-panel .form-control:focus,
.jr-panel .form-select:focus {
  border-color: var(--jr-teal);
  box-shadow: 0 0 0 .2rem rgba(10,113,128,.13);
}
.jr-search .btn,
.jr-page .btn-primary {
  min-height: 50px;
  border-radius: 11px;
  border: 0;
  background: var(--jr-teal);
  font-weight: 800;
}
.jr-search .btn-warning {
  color: #332506;
  background: #f4c14d;
}
.jr-search .btn:hover,
.jr-page .btn-primary:hover { filter: brightness(.94); }

.jr-section { padding: 4.5rem 0; }
.jr-section.pt-5 { padding-top: 3.5rem !important; }
.jr-section > .container > .row:first-child .jr-stat { animation: jr-rise-in .55s both; }
.jr-section > .container > .row:first-child .col-md-4:nth-child(2) .jr-stat { animation-delay: .09s; }
.jr-section > .container > .row:first-child .col-md-4:nth-child(3) .jr-stat { animation-delay: .18s; }
.jr-stat {
  position: relative;
  min-height: 126px;
  padding: 1.45rem 1.5rem;
  overflow: hidden;
  border-right: 4px solid var(--jr-gold);
}
.jr-stat::after {
  content: "\f02d";
  position: absolute;
  left: 1.1rem;
  bottom: -.7rem;
  color: rgba(10,113,128,.08);
  font: 5rem/1 "Font Awesome 5 Free";
  font-weight: 900;
}
.jr-stat strong {
  display: block;
  color: var(--jr-navy);
  font-size: 2rem;
  line-height: 1.1;
}
.jr-card {
  height: 100%;
  padding: 1.35rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.jr-faculty-showcase {
  margin: 0 0 4.6rem;
  padding: 2rem;
  border: 1px solid #dbe8eb;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #eef8f8);
  box-shadow: 0 16px 42px rgba(11,36,56,.055);
}
.jr-faculty-card {
  position: relative;
  display: block;
  min-height: 275px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11,36,56,.12);
  transform: translateZ(0);
  animation: jr-rise-in .65s both;
}
.jr-faculty-showcase .col-lg-4:nth-child(2) .jr-faculty-card { animation-delay: .10s; }
.jr-faculty-showcase .col-lg-4:nth-child(3) .jr-faculty-card { animation-delay: .20s; }
.jr-faculty-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.jr-faculty-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,23,35,.06) 15%, rgba(7,27,40,.92) 100%);
}
.jr-faculty-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 275px;
  padding: 1.35rem;
}
.jr-faculty-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(7,34,49,.30);
  backdrop-filter: blur(5px);
}
.jr-faculty-card__title { font-size: 1.2rem; font-weight: 800; }
.jr-faculty-card__description { margin-top: .35rem; color: rgba(255,255,255,.86); font-size: .88rem; line-height: 1.75; }
.jr-faculty-card__action { margin-top: .9rem; color: #f6cf6b; font-size: .84rem; font-weight: 800; transition: transform .25s ease; }
.jr-faculty-card:hover { color: #fff; }
.jr-faculty-card:hover img { transform: scale(1.075); }
.jr-faculty-card:hover .jr-faculty-card__action { transform: translateX(-5px); }
.jr-text-link { color: var(--jr-teal); font-weight: 800; text-decoration: none; }
.jr-text-link:hover { color: var(--jr-navy); }
.jr-card:hover {
  transform: translateY(-5px);
  border-color: #afd3d8;
  box-shadow: 0 20px 42px rgba(11,36,56,.14);
}
.jr-cover {
  flex: 0 0 auto;
  width: 72px;
  height: 94px;
  object-fit: cover;
  border: 1px solid #dce8eb;
  border-radius: 12px;
  background: #eef5f5;
}
.jr-cover-lg {
  width: min(100%, 240px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid #dce8eb;
  border-radius: 15px;
  background: #eef5f5;
  box-shadow: 0 14px 25px rgba(11,36,56,.12);
}
.jr-journal-hero { padding: 1.25rem; overflow: hidden; }
.jr-journal-cover-wrap {
  position: relative;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  border-radius: 15px;
  background: #e8f2f3;
}
.jr-journal-cover {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.jr-journal-cover-wrap::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(7,29,42,.74));
  pointer-events: none;
}
.jr-journal-cover-wrap > span {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: .85rem;
  padding: .3rem .65rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(7,29,42,.35);
  font-size: .72rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}
.jr-journal-hero__content { display: flex; height: 100%; flex-direction: column; justify-content: center; padding: .75rem 1rem; }
.jr-journal-hero__content > .jr-badge { align-self: flex-start; }
.jr-journal-hero h1 {
  max-width: 820px;
  margin: 1rem 0 1.15rem;
  color: var(--jr-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.jr-faculty-identity {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b9dce0;
  border-radius: 14px;
  color: var(--jr-navy);
  background: linear-gradient(135deg, #edf9f8, #f8fcfc);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.jr-faculty-identity:hover { color: var(--jr-navy); border-color: var(--jr-teal); transform: translateY(-2px); }
.jr-faculty-identity__icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--jr-teal);
  font-size: 1.15rem;
}
.jr-faculty-identity span:nth-child(2) { flex: 1; }
.jr-faculty-identity small { display: block; margin-bottom: .16rem; color: var(--jr-muted); font-size: .74rem; }
.jr-faculty-identity strong { display: block; font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.5; }
.jr-faculty-identity > i { color: var(--jr-teal); }
.jr-journal-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.jr-journal-facts > div { padding: .8rem 1rem; border: 1px solid var(--jr-line); border-radius: 11px; background: #fbfdfd; }
.jr-journal-facts span { display: block; margin-bottom: .2rem; color: var(--jr-muted); font-size: .72rem; }
.jr-journal-facts strong { display: block; color: var(--jr-ink); font-size: .95rem; }
.jr-journal-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.jr-journal-actions .btn { min-height: 48px; padding-inline: 1.15rem; border-radius: 10px; font-weight: 800; }
.jr-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .32rem .7rem;
  background: #e5f7f4;
  color: #126e62;
  font-size: .77rem;
  font-weight: 800;
}
.jr-badge--a { background: #fff1c7; color: #765000; }
.jr-badge--b { background: #dff4f5; color: #09636e; }
.jr-badge--c { background: #e9e6fb; color: #5640a4; }
.jr-badge--unclassified,
.jr-badge--neutral { background: #edf0f3; color: #596772; }
.jr-meta { color: var(--jr-muted); font-size: .87rem; line-height: 1.75; }
.jr-panel { padding: 1.55rem; }
.jr-panel > h1,
.jr-panel > h2 { color: var(--jr-navy); }
.jr-submit-shell { width: min(100%, 940px); margin: 0 auto; }
.jr-submit-heading { margin-bottom: 1.6rem; text-align: center; }
.jr-submit-heading .jr-kicker { margin-bottom: 1rem; }
.jr-submit-heading h1 {
  margin: 0;
  color: var(--jr-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
}
.jr-submit-heading p { max-width: 650px; margin: .65rem auto 0; color: var(--jr-muted); line-height: 1.8; }
.jr-submit-form { padding: 0; overflow: hidden; }
.jr-submit-form .form-control,
.jr-submit-form .form-select {
  display: block;
  width: 100% !important;
  min-height: 52px;
  padding: .75rem 1rem;
  border: 1px solid #cfdee3;
  border-radius: 11px;
  background-color: #fff;
  font-size: .94rem;
}
.jr-submit-form textarea.form-control { min-height: auto; resize: vertical; line-height: 1.8; }
.jr-submit-form .form-label { display: block; margin-bottom: .55rem; color: var(--jr-ink); font-weight: 700; }
.jr-form-section { padding: 1.75rem 2rem; border-bottom: 1px solid var(--jr-line); }
.jr-form-section__title { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.35rem; }
.jr-form-section__title > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--jr-teal);
  font-weight: 800;
}
.jr-form-section__title h2 { margin: 0; color: var(--jr-navy); font-size: 1.08rem; font-weight: 800; }
.jr-form-section__title p { margin: .15rem 0 0; color: var(--jr-muted); font-size: .82rem; }
.jr-primary-author {
  padding: 1.15rem;
  border: 1px solid #b9dce0;
  border-radius: 14px;
  background: linear-gradient(135deg,#f2fbfa,#fbfefe);
}
.jr-primary-author__badge { margin-bottom: 1rem; color: var(--jr-teal); font-size: .82rem; font-weight: 800; }
.jr-add-author { min-height: 42px; border-radius: 9px; font-weight: 800; }
.jr-coauthor-card {
  margin-top: .85rem;
  padding: 1rem;
  border: 1px solid var(--jr-line);
  border-radius: 13px;
  background: #fbfdfd;
}
.jr-coauthor-card strong { color: var(--jr-navy); }
.jr-remove-author {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #efc1bd;
  border-radius: 8px;
  color: var(--jr-danger);
  background: #fff;
  cursor: pointer;
}
.jr-remove-author:hover { color: #fff; background: var(--jr-danger); }
.jr-submission-author {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--jr-line);
}
.jr-submission-author:last-child { border-bottom: 0; }
.jr-file-field {
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 46%);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px dashed #9fc8ce;
  border-radius: 13px;
  background: #f4fbfb;
}
.jr-file-field > i { color: var(--jr-teal); font-size: 1.65rem; }
.jr-file-field strong,
.jr-file-field small { display: block; }
.jr-file-field small { margin-top: .2rem; color: var(--jr-muted); font-size: .76rem; }
.jr-consent-section { background: #fbfdfd; }
.jr-consent-heading { flex-wrap: wrap; }
.jr-consent-heading > div { flex: 1; }
.jr-check-all {
  padding: .5rem .8rem;
  border: 1px solid #abd3d8;
  border-radius: 9px;
  color: var(--jr-teal);
  background: #fff;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}
.jr-check-all:hover { color: #fff; background: var(--jr-teal); }
.jr-consent-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
  padding: .85rem .7rem;
  border-radius: 10px;
  color: var(--jr-ink);
  cursor: pointer;
  transition: background .2s ease;
}
.jr-consent-item + .jr-consent-item { border-top: 1px solid #edf2f4; }
.jr-consent-item:hover { background: #f0f8f8; }
.jr-consent-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.jr-consent-control {
  display: grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid #8caeb5;
  border-radius: 7px;
  color: transparent;
  background: #fff;
  font-size: .72rem;
  transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
}
.jr-consent-checkbox:focus-visible + .jr-consent-control { outline: 3px solid rgba(10,113,128,.2); outline-offset: 2px; }
.jr-consent-checkbox:checked + .jr-consent-control { border-color: var(--jr-teal); color: #fff; background: var(--jr-teal); transform: scale(1.04); }
.jr-consent-checkbox:checked ~ .jr-consent-label { color: var(--jr-navy); font-weight: 700; }
.jr-consent-label { flex: 1; line-height: 1.7; }
.jr-consent-error {
  display: none;
  margin-top: .85rem;
  padding: .75rem 1rem;
  border: 1px solid #efc1bd;
  border-radius: 9px;
  color: #8d2d27;
  background: #fff2f1;
  font-size: .84rem;
}
.jr-consent-error.is-visible { display: block; }
.jr-submit-actions { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding: 1.4rem 2rem; background: #fff; }
.jr-submit-actions .btn { min-height: 50px; padding-inline: 1.4rem; border-radius: 11px; font-weight: 800; }
.jr-empty {
  padding: 3.5rem 1.25rem;
  border: 1px dashed #b7d2d8;
  border-radius: var(--jr-radius);
  background: linear-gradient(135deg,#fff,#f6fbfb);
  color: var(--jr-muted);
  text-align: center;
  font-size: 1.08rem;
}
.jr-empty::before {
  content: "\f02d";
  display: block;
  margin-bottom: .9rem;
  color: #a8c3c9;
  font: 2.1rem/1 "Font Awesome 5 Free";
  font-weight: 900;
}
.jr-status { font-weight: 800; }
.jr-status--submitted,.jr-status--resubmitted { color: #106fc0; }
.jr-status--accepted,.jr-status--published { color: #16803c; }
.jr-status--rejected,.jr-status--desk_rejected { color: var(--jr-danger); }
.jr-timeline { margin-right: .75rem; padding-right: 1.5rem; border-right: 2px solid #d8e7ea; }
.jr-timeline-item { position: relative; padding-bottom: 1.35rem; }
.jr-timeline-item::before { content:""; position:absolute; right:-1.94rem; top:.3rem; width:.78rem; height:.78rem; border:2px solid #fff; border-radius:50%; background:var(--jr-teal); box-shadow:0 0 0 2px #bcdce0; }
.jr-auth { max-width: 650px; margin: 3.5rem auto; }
.jr-access-page { background: linear-gradient(135deg, #f4f9fa 0%, #edf4f8 100%); }
.jr-editor-login-card { overflow: hidden; max-width: 590px; margin: 1.5rem auto; border: 1px solid #dbe8eb; border-radius: 22px; background: #fff; box-shadow: 0 22px 52px rgba(11,36,56,.12); animation: jr-rise-in .6s both; }
.jr-editor-login-card__header { position: relative; overflow: hidden; padding: 2rem; color: #fff; background: linear-gradient(135deg, var(--jr-navy), var(--jr-teal)); }
.jr-editor-login-card__header::after { content: ""; position: absolute; left: -4rem; bottom: -7rem; width: 15rem; height: 15rem; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(255,255,255,.05); }
.jr-editor-login-card__header > * { position: relative; z-index: 1; }
.jr-editor-login-card__header h1 { margin: 1rem 0 .45rem; color: #fff; font-size: 1.7rem; }
.jr-editor-login-card__header p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.8; }
.jr-editor-login-card__body { padding: 2rem; }
.jr-login-note { margin-top: 1.4rem; color: var(--jr-muted); font-size: .86rem; line-height: 1.8; text-align: center; }
.jr-editor-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.jr-manage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  padding: .8rem;
  border: 1px solid var(--jr-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11,36,56,.06);
}
.jr-manage-nav a {
  padding: .55rem .85rem;
  border-radius: 10px;
  color: var(--jr-navy);
  background: var(--jr-teal-soft);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}
.jr-manage-nav a:hover { color: #fff; background: var(--jr-teal); }
.jr-editor-cover-preview {
  display: block;
  width: 110px;
  height: 140px;
  margin-inline: auto;
  object-fit: cover;
  border: 1px solid var(--jr-line);
  border-radius: 12px;
}
.jr-member-editor {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--jr-line);
  border-radius: 14px;
  background: #fafdfe;
}
.jr-discipline-option {
  display: block;
  padding: .8rem;
  border: 1px solid var(--jr-line);
  border-radius: 10px;
  background: #fafdfe;
  cursor: pointer;
}
.jr-gallery-editor {
  height: 100%;
  padding: .8rem;
  border: 1px solid var(--jr-line);
  border-radius: 13px;
  background: #fafdfe;
}
.jr-gallery-editor img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 9px;
}
.jr-public-gallery { height: 100%; margin: 0; overflow: hidden; border: 1px solid var(--jr-line); border-radius: 12px; background: #fafdfe; }
.jr-public-gallery img { width: 100%; height: 170px; object-fit: cover; }
.jr-public-gallery figcaption { padding: .65rem; color: var(--jr-muted); font-size: .82rem; }
.jr-board-member { display: flex; align-items: flex-start; gap: .75rem; }
.jr-board-member > img { flex: 0 0 52px; width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.jr-member-contacts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .35rem; }
.jr-member-contacts a { color: var(--jr-teal); }
.jr-required { color: var(--jr-danger); }
@keyframes jr-rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes jr-hero-drift {
  from { transform: scale(1.01) translateX(0); }
  to { transform: scale(1.07) translateX(1.5%); }
}

@media (max-width: 991px) {
  body:has(.jr-page) .top-header + header .rs-header-area { padding: 11px 0; }
  .jr-hero { padding: 3.25rem 0 4rem; }
  .jr-section { padding: 3.2rem 0; }
}
@media (max-width: 767px) {
  body:has(.jr-page) .top-header { display: none !important; }
  .jr-hero { padding: 2.7rem 0 3.3rem; }
  .jr-hero h1 { font-size: 2.1rem; }
  .jr-hero .lead { font-size: 1rem; }
  .jr-search { margin-top: 1.5rem; padding: .7rem; }
  .jr-section,.jr-section.pt-5 { padding: 2.5rem 0 !important; }
  .jr-card,.jr-panel { padding: 1.1rem; border-radius: 14px; }
  .jr-faculty-showcase { margin-bottom: 3rem; padding: 1.15rem; border-radius: 17px; }
  .jr-faculty-card,.jr-faculty-card__content { min-height: 245px; }
  .jr-editor-login-card { margin: 0; border-radius: 17px; }
  .jr-editor-login-card__header,.jr-editor-login-card__body { padding: 1.3rem; }
  .jr-editor-toolbar { align-items: flex-start; flex-direction: column; }
  .jr-stat { min-height: auto; }
  .jr-journal-hero { padding: .8rem; }
  .jr-journal-cover-wrap,.jr-journal-cover { min-height: 250px; }
  .jr-journal-cover-wrap { height: 250px; }
  .jr-journal-hero__content { padding: .35rem; }
  .jr-journal-hero h1 { font-size: 1.85rem; }
  .jr-journal-facts { grid-template-columns: 1fr; }
  .jr-journal-actions .btn { width: 100%; }
  .jr-submit-heading { text-align: right; }
  .jr-submit-heading p { margin-right: 0; }
  .jr-form-section { padding: 1.25rem 1rem; }
  .jr-file-field { grid-template-columns: auto 1fr; }
  .jr-file-field .form-control { grid-column: 1 / -1; }
  .jr-submit-actions { align-items: stretch; flex-direction: column-reverse; padding: 1rem; }
  .jr-submit-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
