/* RIiM OJS HOMEPAGE V4
   Remove every older RIiM custom stylesheet before uploading this file.
*/

/* ---------- OJS homepage layout reset ---------- */
body.pkp_page_index,
body.pkp_page_index .pkp_structure_page {
  margin: 0 !important;
  max-width: none !important;
  background: #f5f8fb !important;
  overflow-x: hidden !important;
}

body.pkp_page_index .pkp_structure_head {
  display: none !important;
}

body.pkp_page_index .pkp_structure_content,
body.pkp_page_index .pkp_structure_content.has_sidebar {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.pkp_page_index .pkp_structure_main {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.pkp_page_index .pkp_structure_sidebar,
body.pkp_page_index .cmp_announcements,
body.pkp_page_index .page_index_journal > .current_issue,
body.pkp_page_index .page_index_journal > .obj_issue_summary {
  display: none !important;
}

body.pkp_page_index .page_index_journal,
body.pkp_page_index .additional_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#riim-v4,
#riim-v4 * {
  box-sizing: border-box;
}

#riim-v4 {
  --navy: #032954;
  --navy-dark: #011b39;
  --blue: #0b7ed2;
  --cyan: #24c8eb;
  --ink: #102640;
  --muted: #607185;
  --line: #d9e3ec;
  --surface: #ffffff;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: #f5f8fb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#riim-v4 a {
  transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease;
}

#riim-v4 a:hover {
  opacity: .94;
}

#riim-v4 .riim-shell,
#riim-v4 .riim-header-shell {
  width: min(1600px, calc(100% - 56px));
  margin: 0 auto;
}

/* ---------- exact custom header ---------- */
#riim-v4 .riim-header {
  position: relative;
  z-index: 30;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15,44,76,.14);
}

#riim-v4 .riim-topbar {
  min-height: 38px;
  color: #fff;
  background: linear-gradient(90deg, #00244f 0%, #004886 100%);
}

#riim-v4 .riim-topbar-inner,
#riim-v4 .riim-brandbar-inner,
#riim-v4 .riim-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#riim-v4 .riim-topbar-inner {
  min-height: 38px;
}

#riim-v4 .riim-university {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  line-height: 1.02;
  letter-spacing: .055em;
}

#riim-v4 .riim-university strong {
  display: block;
  font-size: 11px;
}

#riim-v4 .riim-crest {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffd85a;
  border: 1px solid rgba(255,216,90,.76);
  border-radius: 50% 50% 46% 46%;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 800;
}

#riim-v4 .riim-faculty-label {
  margin-left: 10px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.42);
  font-size: 11px;
  letter-spacing: 0;
}

#riim-v4 .riim-account-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

#riim-v4 .riim-account-links a {
  color: #fff;
  text-decoration: none;
}

#riim-v4 .riim-account-links > span {
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,.38);
}

#riim-v4 .riim-brandbar {
  background: #fff;
  border-bottom: 1px solid #dce4eb;
}

#riim-v4 .riim-brandbar-inner {
  min-height: 70px;
  gap: 22px;
}

#riim-v4 .riim-journal-brand {
  display: flex;
  align-items: center;
  min-width: 340px;
  color: var(--ink);
  text-decoration: none;
}

#riim-v4 .riim-journal-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: 10px;
  color: #07548c;
  border: 2px solid #0a72ad;
  border-radius: 13px;
  font-size: 21px;
}

#riim-v4 .riim-journal-symbol i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #0a72ad;
  border-radius: 50%;
}

#riim-v4 .riim-journal-symbol i:nth-child(1) { left: 4px; top: 7px; }
#riim-v4 .riim-journal-symbol i:nth-child(2) { right: 5px; top: 4px; }
#riim-v4 .riim-journal-symbol i:nth-child(3) { left: 7px; bottom: 4px; }
#riim-v4 .riim-journal-symbol b { font-weight: 900; }

#riim-v4 .riim-wordmark {
  margin-right: 15px;
  color: #0d2d56;
  font-size: 42px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -.035em;
}

#riim-v4 .riim-wordmark span {
  color: #0b7cbd;
}

#riim-v4 .riim-journal-name {
  padding-left: 15px;
  color: #23364e;
  border-left: 1px solid #ccd8e3;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
}

#riim-v4 .riim-journal-tagline {
  flex: 1 1 auto;
  color: #33445a;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

#riim-v4 .riim-brand-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #28394e;
  font-size: 11px;
  white-space: nowrap;
}

#riim-v4 .riim-brand-meta strong {
  color: #102d51;
}

#riim-v4 .riim-meta-divider {
  width: 1px;
  height: 16px;
  background: #cdd7e0;
}

#riim-v4 .riim-search-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 230px;
  height: 36px;
  margin-left: 8px;
  padding: 0 12px;
  color: #8794a3;
  background: #fff;
  border: 1px solid #d5e0e9;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(10,74,122,.02);
}

#riim-v4 .riim-search-link b {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid #145b9a;
  border-radius: 50%;
}

#riim-v4 .riim-search-link b::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: #145b9a;
  transform: rotate(45deg);
  transform-origin: left center;
}

#riim-v4 .riim-nav {
  background: #fff;
}

#riim-v4 .riim-nav-inner {
  min-height: 48px;
  gap: 16px;
}

#riim-v4 .riim-nav-links {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

#riim-v4 .riim-nav-links::-webkit-scrollbar {
  display: none;
}

#riim-v4 .riim-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 15px;
  color: #17324e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

#riim-v4 .riim-nav-links a.is-active {
  color: #075ba0;
}

#riim-v4 .riim-nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: #0a7ed3;
}

#riim-v4 .riim-submit-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 36px;
  padding: 0 17px;
  color: #fff;
  background: linear-gradient(180deg, #1588db, #0968b7);
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(3,90,158,.22);
}

/* ---------- hero ---------- */
#riim-v4 .riim-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #031c3a;
}

#riim-v4 .riim-hero-photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

#riim-v4 .riim-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(300px, .72fr) minmax(190px, .40fr);
  gap: 26px;
  align-items: center;
  min-height: 350px;
  padding-top: 32px;
  padding-bottom: 32px;
}

#riim-v4 .riim-hero-copy {
  align-self: center;
}

#riim-v4 .riim-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: -.027em;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

#riim-v4 .riim-hero-copy p {
  max-width: 590px;
  margin: 17px 0 0;
  color: #e7f2ff;
  font-size: clamp(16px, 1.17vw, 20px);
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0,0,0,.32);
}

#riim-v4 .riim-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

#riim-v4 .riim-primary-button,
#riim-v4 .riim-outline-button,
#riim-v4 .riim-dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

#riim-v4 .riim-primary-button {
  color: #fff;
  background: linear-gradient(180deg, #1596e8, #0874c6);
  border: 1px solid #1c9eea;
  box-shadow: 0 10px 25px rgba(0,104,190,.28);
}

#riim-v4 .riim-outline-button {
  color: #fff;
  background: rgba(2,20,45,.62);
  border: 2px solid rgba(255,255,255,.72);
}

#riim-v4 .riim-upload-icon {
  position: relative;
  width: 17px;
  height: 13px;
  margin-right: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 3px;
}

#riim-v4 .riim-upload-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -8px;
  width: 2px;
  height: 9px;
  background: #fff;
}

#riim-v4 .riim-upload-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -8px;
  width: 6px;
  height: 6px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}

#riim-v4 .riim-book-icon {
  position: relative;
  width: 17px;
  height: 14px;
  margin-right: 9px;
  border: 2px solid #fff;
  border-radius: 2px;
}

#riim-v4 .riim-book-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: #fff;
}

#riim-v4 .riim-glance {
  padding: 18px 19px;
  color: #172238;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
}

#riim-v4 .riim-card-heading,
#riim-v4 .riim-panel-header,
#riim-v4 .riim-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#riim-v4 .riim-card-heading h2 {
  margin: 0;
  color: #0b2c53;
  font-size: 18px;
  line-height: 1.2;
}

#riim-v4 .riim-info-dot {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: #6d7e91;
  border: 1px solid #9cabb9;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 11px;
}

#riim-v4 .riim-glance dl {
  display: grid;
  grid-template-columns: minmax(105px, .85fr) 1.15fr;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.25;
}

#riim-v4 .riim-glance dt,
#riim-v4 .riim-glance dd {
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid #dce5ed;
}

#riim-v4 .riim-glance dt {
  color: #5b6c7f;
}

#riim-v4 .riim-glance dd {
  color: #142c48;
  font-weight: 700;
}

#riim-v4 .riim-glance dt:nth-last-of-type(1),
#riim-v4 .riim-glance dd:nth-last-of-type(1) {
  border-bottom: 0;
}

#riim-v4 .riim-cover {
  position: relative;
  align-self: stretch;
  min-height: 286px;
  padding: 22px 16px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, #05234b 0%, #075d9e 58%, #021832 100%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 3px;
  box-shadow: 14px 16px 32px rgba(0,0,0,.34);
}

#riim-v4 .riim-cover-title {
  position: relative;
  z-index: 2;
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
}

#riim-v4 .riim-cover-title span {
  color: #42d6ef;
}

#riim-v4 .riim-cover-subtitle {
  position: relative;
  z-index: 2;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

#riim-v4 .riim-cover-volume {
  position: relative;
  z-index: 2;
  margin-top: 27px;
  color: #c1eaff;
  font-size: 8px;
  line-height: 1.45;
}

#riim-v4 .riim-cover-rings {
  position: absolute;
  right: -36px;
  bottom: 18px;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(57,219,255,.42);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(35,191,235,.05), 0 0 0 38px rgba(35,191,235,.03);
}

#riim-v4 .riim-cover-arm {
  position: absolute;
  right: 27px;
  bottom: 57px;
  width: 70px;
  height: 117px;
  border: 2px solid rgba(61,226,255,.68);
  border-radius: 42% 58% 44% 52%;
  transform: rotate(23deg);
  box-shadow: 0 0 23px rgba(34,201,255,.35);
}

#riim-v4 .riim-cover-footer {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #bde8ff;
  font-size: 7px;
  line-height: 1.35;
}

/* ---------- trust and metrics ---------- */
#riim-v4 .riim-trust-strip {
  background: #edf5fc;
  border-bottom: 1px solid #d4e0eb;
}

#riim-v4 .riim-trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

#riim-v4 .riim-trust-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 15px 14px;
  border-right: 1px solid #d1dde8;
}

#riim-v4 .riim-trust-grid > div:last-child {
  border-right: 0;
}

#riim-v4 .riim-feature-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  min-width: 35px;
  height: 35px;
  padding: 0 5px;
  color: #126eb5;
  background: #fff;
  border: 1px solid #c8dce9;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
}

#riim-v4 .riim-trust-grid strong {
  color: #102943;
  font-size: 14px;
  line-height: 1.2;
}

#riim-v4 .riim-trust-grid small {
  color: #637487;
  font-size: 12px;
}

#riim-v4 .riim-section {
  padding: 22px 0;
}

#riim-v4 .riim-compact-section {
  padding-top: 24px;
  padding-bottom: 4px;
}

#riim-v4 .riim-light-section {
  background: #edf4fa;
  border-top: 1px solid #d9e4ed;
  border-bottom: 1px solid #d9e4ed;
}

#riim-v4 .riim-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

#riim-v4 .riim-metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(4,29,61,.05);
}

#riim-v4 .riim-metric-symbol {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 6px;
  color: #176cbd;
  background: #edf5ff;
  border: 1px solid #c4dbf3;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
}

#riim-v4 .riim-metric-card strong,
#riim-v4 .riim-metric-card small {
  display: block;
}

#riim-v4 .riim-metric-card strong {
  color: #102943;
  font-size: 17px;
  line-height: 1.2;
}

#riim-v4 .riim-metric-card small {
  margin-top: 4px;
  color: #657588;
  font-size: 13px;
  line-height: 1.3;
}

/* ---------- panels ---------- */
#riim-v4 .riim-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(330px, .72fr);
  gap: 20px;
  align-items: start;
}

#riim-v4 .riim-panel {
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(4,29,61,.055);
}

#riim-v4 .riim-panel-header {
  padding: 19px 21px 15px;
}

#riim-v4 .riim-panel-header h2,
#riim-v4 .riim-section-heading h2 {
  margin: 0;
  color: #102943;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -.015em;
}

#riim-v4 .riim-panel-header a,
#riim-v4 .riim-section-heading a,
#riim-v4 .riim-panel-footer a {
  color: #116fc8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

#riim-v4 .riim-tabs-header {
  padding-bottom: 0;
}

#riim-v4 .riim-tabs {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  color: #4d6075;
  font-size: 14px;
  font-weight: 750;
}

#riim-v4 .riim-tabs span {
  padding: 0 4px 12px;
  border-bottom: 3px solid transparent;
}

#riim-v4 .riim-tabs .is-selected {
  color: #0a76cf;
  border-bottom-color: #0a76cf;
}

#riim-v4 .riim-article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0 21px;
  padding: 17px 0;
  border-top: 1px solid #e4ebf1;
}

#riim-v4 .riim-article-title {
  display: inline-block;
  max-width: 650px;
  color: #102943;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

#riim-v4 .riim-article-row p {
  margin: 4px 0 4px;
  color: #506276;
  font-size: 13px;
}

#riim-v4 .riim-doi {
  color: #63778b;
  text-decoration: none;
  font-size: 12px;
}

#riim-v4 .riim-article-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  white-space: nowrap;
}

#riim-v4 .riim-article-meta span {
  color: #617286;
  font-size: 12px;
}

#riim-v4 .riim-article-meta b,
#riim-v4 .riim-article-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
}

#riim-v4 .riim-article-meta b {
  color: #087a59;
  background: #e9f8f2;
}

#riim-v4 .riim-article-meta a {
  color: #2269ba;
  background: #eaf3ff;
  text-decoration: none;
}

#riim-v4 .riim-panel-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 21px 17px;
}

#riim-v4 .riim-side-stack {
  display: grid;
  gap: 20px;
}

/* ---------- CSS-only vector map ---------- */
#riim-v4 .riim-css-map {
  position: relative;
  height: 205px;
  margin: 0 19px;
  overflow: hidden;
  background:
    linear-gradient(rgba(16,105,187,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,105,187,.045) 1px, transparent 1px),
    #f5faff;
  background-size: 28px 28px;
  border: 1px solid #dce8f2;
  border-radius: 12px;
}

#riim-v4 .riim-land {
  position: absolute;
  display: block;
  background: linear-gradient(145deg, #78c4ef, #3f99da);
  filter: drop-shadow(0 3px 3px rgba(15,92,154,.12));
}

#riim-v4 .riim-na {
  left: 7%;
  top: 20%;
  width: 27%;
  height: 34%;
  clip-path: polygon(3% 30%, 14% 10%, 40% 4%, 58% 14%, 72% 9%, 97% 28%, 87% 44%, 70% 48%, 63% 65%, 48% 74%, 34% 65%, 23% 72%, 12% 57%);
}

#riim-v4 .riim-sa {
  left: 26%;
  top: 53%;
  width: 13%;
  height: 39%;
  clip-path: polygon(20% 0, 84% 8%, 99% 28%, 69% 54%, 55% 81%, 36% 100%, 24% 71%, 0 41%);
}

#riim-v4 .riim-eu {
  left: 45%;
  top: 25%;
  width: 15%;
  height: 20%;
  clip-path: polygon(0 47%, 16% 14%, 43% 4%, 57% 18%, 82% 9%, 100% 39%, 80% 60%, 55% 52%, 37% 75%, 13% 66%);
}

#riim-v4 .riim-af {
  left: 45%;
  top: 43%;
  width: 16%;
  height: 40%;
  clip-path: polygon(16% 2%, 74% 0, 100% 25%, 82% 52%, 67% 91%, 43% 100%, 23% 69%, 0 31%);
}

#riim-v4 .riim-as {
  left: 57%;
  top: 18%;
  width: 37%;
  height: 44%;
  clip-path: polygon(0 24%, 13% 7%, 34% 10%, 47% 0, 60% 15%, 75% 9%, 96% 25%, 88% 44%, 100% 57%, 80% 67%, 64% 53%, 47% 70%, 31% 57%, 17% 65%, 6% 47%);
}

#riim-v4 .riim-au {
  left: 78%;
  top: 70%;
  width: 16%;
  height: 18%;
  clip-path: polygon(9% 31%, 32% 6%, 72% 0, 100% 35%, 87% 75%, 53% 100%, 17% 79%, 0 54%);
}

#riim-v4 .riim-map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #075ca8;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 4px 12px rgba(0,75,145,.35);
  transform: rotate(-45deg);
}

#riim-v4 .riim-map-pin::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
}

#riim-v4 .pin-europe { left: 52%; top: 31%; }
#riim-v4 .pin-asia { left: 77%; top: 29%; }
#riim-v4 .pin-americas { left: 23%; top: 36%; }

#riim-v4 .riim-map-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 20px 17px;
  color: #4f6378;
  font-size: 13px;
  font-weight: 700;
}

#riim-v4 .riim-map-caption span {
  width: 9px;
  height: 9px;
  background: #57ace3;
  border-radius: 50%;
}

/* ---------- current issue ---------- */
#riim-v4 .riim-issue-card {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 18px;
  padding: 19px;
}

#riim-v4 .riim-eyebrow {
  margin: 0 0 5px !important;
  color: #0878c9 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#riim-v4 .riim-issue-card h2 {
  margin: 0;
  color: #102943;
  font-size: 21px;
  line-height: 1.2;
}

#riim-v4 .riim-issue-card > div > p:not(.riim-eyebrow) {
  margin: 8px 0 14px;
  color: #5a6c7f;
  font-size: 13px;
  line-height: 1.5;
}

#riim-v4 .riim-dark-button {
  color: #fff;
  background: #093b70;
}

#riim-v4 .riim-mini-cover {
  display: flex;
  flex-direction: column;
  min-height: 162px;
  padding: 11px;
  color: #fff;
  background: linear-gradient(155deg, #031b36, #07558f);
  border-radius: 6px;
}

#riim-v4 .riim-mini-cover small {
  font-size: 6px;
}

#riim-v4 .riim-mini-cover strong {
  margin-top: 20px;
  font-size: 31px;
  line-height: 1;
}

#riim-v4 .riim-mini-cover strong span {
  color: #28cae1;
}

#riim-v4 .riim-mini-cover p {
  margin: 4px 0 0 !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 700;
  line-height: 1.2 !important;
}

#riim-v4 .riim-mini-cover em {
  margin-top: auto;
  font-size: 6px;
  font-style: normal;
}

/* ---------- database logos ---------- */
#riim-v4 .riim-section-heading {
  margin-bottom: 16px;
}

#riim-v4 .riim-section-heading p {
  margin: 0 0 4px;
  color: #0878c9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#riim-v4 .riim-database-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

#riim-v4 .riim-db-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e2eb;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(4,29,61,.05);
  text-decoration: none;
}

#riim-v4 .riim-db-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(4,29,61,.11);
}

#riim-v4 .proquest span {
  color: #fff;
  background: #0c858a;
  padding: 6px 12px;
  border-radius: 24px;
  font-family: Georgia, serif;
  font-size: 25px;
  letter-spacing: -.04em;
}

#riim-v4 .mtmt {
  gap: 6px;
}

#riim-v4 .mtmt-box {
  display: inline-block;
  padding: 2px 5px;
  color: #175767;
  border: 2px solid #175767;
  font-size: 15px;
  font-weight: 900;
  line-height: .75;
  text-align: center;
}

#riim-v4 .mtmt b {
  color: #318e9c;
  font-size: 7px;
  line-height: 1.13;
  letter-spacing: .04em;
}

#riim-v4 .sherpa span {
  color: #4a9b82;
  font-size: 15px;
  font-weight: 800;
}

#riim-v4 .sherpa b {
  color: #84b99f;
  font-size: 13px;
}

#riim-v4 .ebsco span {
  color: #fff;
  background: #075f92;
  padding: 5px 12px;
  border-radius: 24px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 800;
}

#riim-v4 .crossref {
  flex-direction: column;
  gap: 2px;
}

#riim-v4 .crossref-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 25px;
}

#riim-v4 .crossref-bars i {
  display: block;
  width: 10px;
}

#riim-v4 .crossref-bars i:nth-child(1) { height: 14px; background: #3e92c9; }
#riim-v4 .crossref-bars i:nth-child(2) { height: 23px; background: #f9a51a; }
#riim-v4 .crossref-bars i:nth-child(3) { height: 18px; background: #ef4b5d; }

#riim-v4 .crossref b {
  color: #4a555e;
  font-size: 15px;
}

#riim-v4 .norway {
  gap: 8px;
  background: #e7e7e7;
}

#riim-v4 .norway span {
  color: #fff;
  background: linear-gradient(90deg, #ec3b7c 0 36%, #f26f28 36% 62%, #f5c62a 62%);
  padding: 4px 8px;
  font-size: 19px;
  font-weight: 900;
}

#riim-v4 .norway b {
  color: #737373;
  font-size: 7px;
  line-height: 1.2;
}

/* ---------- bottom ---------- */
#riim-v4 .riim-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 20px;
}

#riim-v4 .riim-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 20px 20px;
}

#riim-v4 .riim-areas a {
  padding: 13px 14px;
  color: #0e4f82;
  background: #f7faff;
  border: 1px solid #dce6ee;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

#riim-v4 .riim-editor-profile {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 0 20px 20px;
}

#riim-v4 .riim-editor-profile img {
  display: block;
  width: 83px;
  height: 83px;
  object-fit: cover;
  border: 1px solid #d4e0e9;
  border-radius: 13px;
}

#riim-v4 .riim-editor-profile h3 {
  margin: 0;
  color: #102943;
  font-size: 18px;
}

#riim-v4 .riim-editor-profile strong {
  display: block;
  margin-top: 3px;
  color: #0a72c3;
  font-size: 13px;
}

#riim-v4 .riim-editor-profile p {
  margin: 5px 0;
  color: #5d6f82;
  font-size: 13px;
}

#riim-v4 .riim-editor-profile a {
  color: #126fc4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- responsive ---------- */
@media (max-width: 1380px) {
  #riim-v4 .riim-journal-tagline {
    display: none;
  }

  #riim-v4 .riim-hero-grid {
    grid-template-columns: minmax(390px, 1.2fr) minmax(285px, .72fr);
  }

  #riim-v4 .riim-cover {
    display: none;
  }

  #riim-v4 .riim-nav-links a {
    padding-left: 11px;
    padding-right: 11px;
  }
}

@media (max-width: 1080px) {
  #riim-v4 .riim-header-shell,
  #riim-v4 .riim-shell {
    width: min(100% - 36px, 1600px);
  }

  #riim-v4 .riim-brand-meta > span,
  #riim-v4 .riim-brand-meta > .riim-meta-divider {
    display: none;
  }

  #riim-v4 .riim-search-link {
    width: 200px;
  }

  #riim-v4 .riim-submit-nav {
    display: none;
  }

  #riim-v4 .riim-hero-grid,
  #riim-v4 .riim-content-grid,
  #riim-v4 .riim-bottom-grid {
    grid-template-columns: 1fr;
  }

  #riim-v4 .riim-hero-copy {
    max-width: 720px;
  }

  #riim-v4 .riim-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #riim-v4 .riim-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  #riim-v4 .riim-database-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  #riim-v4 .riim-header-shell,
  #riim-v4 .riim-shell {
    width: min(100% - 24px, 1600px);
  }

  #riim-v4 .riim-faculty-label,
  #riim-v4 .riim-account-links span,
  #riim-v4 .riim-brand-meta {
    display: none;
  }

  #riim-v4 .riim-account-links {
    gap: 8px;
  }

  #riim-v4 .riim-brandbar-inner {
    min-height: 62px;
  }

  #riim-v4 .riim-journal-brand {
    min-width: 0;
  }

  #riim-v4 .riim-journal-symbol {
    width: 40px;
    height: 40px;
  }

  #riim-v4 .riim-wordmark {
    margin-right: 9px;
    font-size: 35px;
  }

  #riim-v4 .riim-journal-name {
    font-size: 11px;
  }

  #riim-v4 .riim-nav-inner {
    width: 100%;
  }

  #riim-v4 .riim-nav-links a {
    font-size: 12px;
  }

  #riim-v4 .riim-hero-grid {
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #riim-v4 .riim-hero-copy h1 {
    font-size: 35px;
  }

  #riim-v4 .riim-glance {
    margin-top: 6px;
  }

  #riim-v4 .riim-trust-grid,
  #riim-v4 .riim-metrics,
  #riim-v4 .riim-database-grid,
  #riim-v4 .riim-areas {
    grid-template-columns: 1fr;
  }

  #riim-v4 .riim-trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid #d1dde8;
  }

  #riim-v4 .riim-article-row {
    grid-template-columns: 1fr;
  }

  #riim-v4 .riim-article-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  #riim-v4 .riim-tabs {
    display: none;
  }
}
