/* =========================================================
   GRS Publisher – site theme (navy + gold)
   Loaded after styles.css; all new components use the grs- prefix.
   ========================================================= */
:root {
  --grs-navy: #0b2a5b;
  --grs-navy-dark: #071d42;
  --grs-navy-light: #163f82;
  --grs-blue: #1d5fbf;
  --grs-gold: #f5b82e;
  --grs-gold-dark: #d99a12;
  --grs-ink: #1b2437;
  --grs-muted: #5b6577;
  --grs-bg: #f4f7fc;
  --grs-line: #e3e9f3;
  --grs-radius: 12px;
  --grs-shadow: 0 6px 24px rgba(11, 42, 91, .08);
  --grs-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --grs-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html { overflow-x: clip; }
body.grs-body {
  font-family: var(--grs-sans);
  color: var(--grs-ink);
  background: var(--grs-bg);
  height: auto;
  max-width: 100%;
  overflow-x: clip;
}
/* :where() keeps specificity low so component rules below still win over these defaults */
:where(body.grs-body) a { text-decoration: none; color: var(--grs-blue); }
:where(body.grs-body) a:hover { color: var(--grs-navy); }
/* legacy styles.css sets p to 1.3em; keep text at a readable size */
:where(body.grs-body) p { font-size: 1rem; line-height: 1.65; margin-bottom: 1rem; }
/* inner pages whose content is a bare .container */
main > .container, main > section.container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.grs-card-body p, .grs-cfp p, .grs-footer p { font-size: inherit; }
.grs-serif { font-family: var(--grs-serif); }

/* ---------- Buttons ---------- */
.grs-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 2px solid transparent; transition: all .2s ease; cursor: pointer;
}
.grs-btn-gold { background: var(--grs-gold); color: var(--grs-navy-dark) !important; box-shadow: 0 4px 14px rgba(245, 184, 46, .35); }
.grs-btn-gold:hover { background: var(--grs-gold-dark); transform: translateY(-1px); }
.grs-btn-navy { background: var(--grs-navy); color: #fff !important; }
.grs-btn-navy:hover { background: var(--grs-navy-light); }
.grs-btn-outline-light { border-color: rgba(255,255,255,.8); color: #fff !important; }
.grs-btn-outline-light:hover { background: #fff; color: var(--grs-navy) !important; }
.grs-btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* ---------- Top bar ---------- */
.grs-topbar { background: var(--grs-navy-dark); color: #dfe7f5; font-size: .85rem; }
.grs-topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 1rem; flex-wrap: wrap; }
.grs-topbar a { color: #dfe7f5; }
.grs-topbar a:hover { color: var(--grs-gold); }
.grs-topbar .grs-tb-left, .grs-topbar .grs-tb-right { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.grs-topbar .grs-tb-sep { width: 1px; height: 16px; background: rgba(255,255,255,.3); }
.grs-topbar i { margin-right: .35rem; }
.grs-topbar .bi-whatsapp { color: #25d366; }

/* ---------- Header / nav ---------- */
.grs-header {
  background: #fff; position: sticky; top: 0; z-index: 1000;
}
/* curved white edge + gold line under the header */
.grs-header-curve {
  position: absolute; left: 0; top: 100%; width: 100%; height: 22px; display: block; pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(11, 42, 91, .12));
}
.grs-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; }
.grs-brand { display: flex; align-items: center; gap: .75rem; color: var(--grs-navy) !important; }
.grs-brand img { height: 64px; width: auto; object-fit: contain; }
.grs-brand-text { line-height: 1; }
.grs-brand-name { font-family: var(--grs-serif); font-weight: 800; font-size: 2rem; letter-spacing: .5px; color: var(--grs-navy); }
.grs-brand-sub { font-family: var(--grs-serif); font-weight: 700; font-size: .95rem; letter-spacing: 3px; color: var(--grs-navy); }
.grs-brand-tag { font-family: var(--grs-serif); font-style: italic; font-size: .72rem; color: var(--grs-navy-light); margin-top: .3rem; white-space: nowrap; }

.grs-nav { display: flex; align-items: center; gap: 1rem; }
.grs-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.grs-nav > ul > li { position: relative; }
.grs-nav > ul > li > a {
  display: flex; align-items: center; gap: .3rem;
  padding: .55rem .9rem; border-radius: 999px;
  color: var(--grs-ink); font-weight: 500; font-size: .93rem; white-space: nowrap;
}
.grs-nav > ul > li > a:hover { color: var(--grs-blue); }
.grs-nav > ul > li > a.active { background: var(--grs-navy); color: #fff; }
.grs-nav .bi-chevron-down { font-size: .7rem; }
.grs-nav .grs-dropdown > ul {
  list-style: none; margin: 0; padding: .5rem 0;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(11, 42, 91, .15);
  border-top: 3px solid var(--grs-gold);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 50;
}
.grs-nav .grs-dropdown:hover > ul, .grs-nav .grs-dropdown:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
/* invisible bridge so the menu doesn't close while the mouse crosses the gap */
.grs-nav .grs-dropdown > ul::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.grs-cta-wrap .grs-btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .grs-nav { gap: .6rem; }
  .grs-nav > ul > li > a { padding: .5rem .6rem; font-size: .87rem; }
  .grs-cta-wrap .grs-btn { padding: .6rem 1.05rem; font-size: .87rem; }
  .grs-brand img { height: 56px; }
  .grs-brand-name { font-size: 1.75rem; }
  .grs-brand-tag { font-size: .66rem; }
}
.grs-nav .grs-dropdown > ul a { display: block; padding: .5rem 1.1rem; color: var(--grs-ink); font-size: .9rem; white-space: normal; }
.grs-nav .grs-dropdown > ul a:hover { background: var(--grs-bg); color: var(--grs-blue); }
.grs-nav-toggle { display: none; background: none; border: 0; font-size: 2rem; color: var(--grs-navy); line-height: 1; }

/* The expanded navigation no longer fits comfortably below 1400px. */
@media (max-width: 1399.98px) {
  .grs-nav-toggle { display: block; }
  .grs-nav { position: static; }
  .grs-nav > ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1.5rem 1rem 1rem; box-shadow: 0 16px 24px rgba(11, 42, 91, .12); z-index: 5;
    max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .grs-header.grs-nav-open .grs-nav > ul { display: flex; }
  .grs-nav > ul > li > a { border-radius: 8px; justify-content: space-between; }
  .grs-nav .grs-dropdown > ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; display: none; padding: 0 0 0 1rem; min-width: 0;
  }
  .grs-nav .grs-dropdown.grs-open > ul { display: block; }
  .grs-header .container { position: relative; }
}
@media (max-width: 1199.98px) {
  .grs-nav .grs-cta-wrap { display: none; }
}
@media (max-width: 575.98px) {
  .grs-brand img { height: 48px; }
  .grs-brand-name { font-size: 1.5rem; }
  .grs-brand-sub { font-size: .75rem; }
  .grs-brand-tag { display: none; }
  .grs-header .container { min-height: 72px; }
}

/* ---------- Section headings ---------- */
.grs-section { padding: 2.5rem 0; }
.grs-section-sm { padding: 1.75rem 0; }
.grs-heading { text-align: center; margin-bottom: 1.5rem; }
.grs-heading h2 {
  font-family: var(--grs-serif); font-weight: 700; color: var(--grs-navy);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 0;
  display: inline-flex; align-items: center; gap: 1.25rem;
}
.grs-heading h2::before, .grs-heading h2::after {
  content: ""; width: clamp(40px, 12vw, 220px); height: 2px;
  background: linear-gradient(90deg, transparent, var(--grs-navy));
}
.grs-heading h2::after { background: linear-gradient(90deg, var(--grs-navy), transparent); }
.grs-heading p { font-family: var(--grs-serif); font-style: italic; color: var(--grs-muted); margin: .3rem 0 0; font-size: .98rem; }

/* ---------- Home hero ---------- */
.grs-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7, 29, 66, .97) 0%, rgba(11, 42, 91, .9) 45%, rgba(22, 63, 130, .55) 100%),
    var(--grs-hero-img, none) center / cover no-repeat,
    var(--grs-navy);
  padding: 3.25rem 0 clamp(4.5rem, 9vw, 8rem);
}
.grs-hero-wave {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 130px); display: block; pointer-events: none;
}
.grs-hero .container { position: relative; z-index: 1; }
.grs-hero-welcome { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; margin: 0; }
.grs-hero-title { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; line-height: 1.05; margin: 0 0 1rem; }
.grs-hero-title span { color: var(--grs-gold); }
.grs-hero-sub {
  font-family: var(--grs-serif); font-style: italic; font-size: clamp(1rem, 1.7vw, 1.3rem);
  border-left: 4px solid var(--grs-gold); padding-left: 1rem; margin-bottom: 1.5rem; max-width: 520px; color: #e8eefa;
}
.grs-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.grs-hero-quote { font-family: var(--grs-serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.5rem); text-align: center; line-height: 1.35; }
.grs-hero-covers { display: flex; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.grs-hero-covers { align-items: flex-start; gap: 1.4rem; }

/* ---------- Journal cards (home + list) ---------- */
.grs-journal-card {
  background: #fff; border-radius: var(--grs-radius); box-shadow: var(--grs-shadow);
  border: 1px solid var(--grs-line); padding: .9rem 1rem .9rem 1.15rem; height: 100%;
  display: flex; gap: 1.1rem; transition: transform .2s ease, box-shadow .2s ease;
}
.grs-journal-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11, 42, 91, .14); }
.grs-journal-card > img { width: 105px; height: 140px; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.2); flex-shrink: 0; }
.grs-journal-card { padding-left: 1.3rem; }
.grs-journal-card .grs-jc-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.grs-journal-card h3 { font-size: .92rem; font-weight: 600; color: var(--grs-navy); margin: 0 0 .45rem; line-height: 1.3; }
.grs-journal-card .grs-jc-meta { font-size: .78rem; color: var(--grs-muted); margin-bottom: .1rem; }
.grs-journal-card .grs-jc-link { margin-top: auto; align-self: flex-end; font-weight: 600; font-size: .8rem; color: var(--grs-navy) !important; padding-top: .5rem; }
.grs-journal-card .grs-jc-link:hover { color: var(--grs-blue) !important; }

/* ---------- Why choose / features ---------- */
.grs-features { display: grid; grid-template-columns: repeat(5, 1fr); }
.grs-feature { text-align: center; padding: .75rem 1rem; border-right: 1px solid var(--grs-line); }
.grs-feature:last-child { border-right: 0; }
.grs-feature i { font-size: 2.1rem; color: var(--grs-navy); display: block; margin-bottom: .5rem; }
.grs-feature span { font-weight: 600; font-size: .92rem; line-height: 1.35; display: block; }
@media (max-width: 991.98px) {
  .grs-features { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; }
  .grs-feature { border-right: 0; }
}
@media (max-width: 575.98px) { .grs-features { grid-template-columns: repeat(2, 1fr); } }

.grs-cfp {
  color: #fff; padding: 1.75rem 0 1.75rem 2.5rem; height: 100%;
  position: relative; z-index: 0; display: flex; flex-direction: column; justify-content: center;
}
.grs-cfp::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; right: -50vw;
  background: linear-gradient(135deg, var(--grs-navy-light) 0%, var(--grs-navy) 45%, var(--grs-navy-dark) 100%);
  border-top-left-radius: 36px; transform: skewX(-9deg); transform-origin: bottom left;
}
.grs-cfp-icon { font-size: 3.2rem; color: #fff; transform: rotate(-12deg); line-height: 1; }
.grs-why-wrap { overflow-x: clip; }
@media (max-width: 991.98px) {
  .grs-cfp { padding: 1.75rem; }
  .grs-cfp::before { right: -50vw; left: -50vw; transform: none; border-radius: 0; }
}
.grs-cfp h3 { font-weight: 700; font-size: 1.75rem; margin: 0 0 .35rem; }
.grs-cfp h3 i { font-size: 1.8rem; color: var(--grs-gold); }
.grs-cfp p { color: #d6e0f2; font-size: .92rem; margin-bottom: 1rem; }

/* ---------- Stats band ---------- */
.grs-stats { background: var(--grs-navy); color: #fff; }
.grs-stats .row > div { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.25rem 1.5rem; }
.grs-stats .row > div:not(:last-child) { border-right: 1px solid rgba(255,255,255,.15); }
.grs-stats i { font-size: 2.2rem; }
.grs-stats strong { font-size: 1.45rem; display: block; line-height: 1.1; }
.grs-stats span { color: #d6e0f2; font-size: .95rem; }
.grs-stats-tag {
  background: var(--grs-gold); color: var(--grs-navy-dark);
  font-family: var(--grs-serif); font-style: italic; font-size: 1.35rem; text-align: center; line-height: 1.3;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  justify-content: center;
}
@media (max-width: 991.98px) {
  .grs-stats .row > div:not(:last-child) { border-right: 0; }
  .grs-stats-tag { clip-path: none; }
}

/* ---------- Cards / panels ---------- */
.grs-card { background: #fff; border-radius: var(--grs-radius); box-shadow: var(--grs-shadow); border: 1px solid var(--grs-line); overflow: hidden; }
.grs-card + .grs-card { margin-top: 1.25rem; }
.grs-card-head {
  background: var(--grs-navy); color: #fff; padding: .85rem 1.15rem;
  font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; gap: .6rem;
}
.grs-card-head i { color: var(--grs-gold); font-size: 1.2rem; }
.grs-card-body { padding: 1.15rem; }

/* indexing logos */
.grs-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.grs-logos a, .grs-logos div {
  display: flex; align-items: center; justify-content: center; height: 80px; padding: .5rem;
  background: #fff; border: 1px solid var(--grs-line); border-radius: 10px; transition: box-shadow .2s;
}
.grs-logos a:hover { box-shadow: var(--grs-shadow); }
.grs-logos img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* latest articles */
.grs-article { padding: 1rem 1.15rem; border-bottom: 1px solid var(--grs-line); }
.grs-article:last-child { border-bottom: 0; }
.grs-article h4 { font-size: 1rem; font-weight: 600; margin: 0 0 .4rem; }
.grs-article h4 a { color: var(--grs-navy); }
.grs-article h4 a:hover { color: var(--grs-blue); }
.grs-article-meta { font-size: .83rem; color: var(--grs-muted); display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.grs-article-meta i { color: var(--grs-blue); margin-right: .25rem; }
.grs-article-actions { display: flex; gap: .5rem; margin-top: .65rem; flex-wrap: wrap; }
.grs-chip {
  display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .8rem;
  border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--grs-bg); color: var(--grs-navy) !important; border: 1px solid var(--grs-line);
}
.grs-chip:hover { background: var(--grs-navy); color: #fff !important; }

/* track manuscript */
.grs-track form { display: flex; gap: .5rem; }
.grs-track input { border-radius: 999px; padding: .6rem 1rem; }
#result { display: flex; gap: 8px; flex-wrap: wrap; margin-top: .75rem; }
#result .result-field { flex: 1 1 45%; padding: .5rem .75rem; background: var(--grs-bg); border-radius: 8px; font-size: .88rem; }

/* ---------- Page banner (inner pages) ---------- */
.grs-page-banner {
  background: linear-gradient(100deg, rgba(7, 29, 66, .97), rgba(22, 63, 130, .8)), var(--grs-hero-img, none) center / cover;
  color: #fff; padding: 2.75rem 0;
}
.grs-page-banner h1 { font-family: var(--grs-serif); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0; }
.grs-page-banner p { font-family: var(--grs-serif); font-style: italic; margin: .5rem 0 0; color: #dbe4f5; }
.grs-page-banner .grs-gold-rule { width: 120px; height: 3px; background: var(--grs-gold); margin-top: 1rem; }

/* ---------- Journal detail page ---------- */
.grs-journal-hero {
  background: linear-gradient(100deg, rgba(7, 29, 66, .97) 0%, rgba(11, 42, 91, .92) 55%, rgba(22, 63, 130, .6) 100%), var(--grs-hero-img, none) center / cover;
  color: #fff; padding: 2.5rem 0;
}
.grs-journal-hero h1 { font-family: var(--grs-serif); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.2; margin: 0; }
.grs-journal-hero .grs-jh-tags { font-family: var(--grs-serif); font-style: italic; font-size: 1.15rem; color: #e1e9f7; margin-top: .75rem; }
.grs-journal-hero .grs-jh-tags span + span::before { content: "|"; margin: 0 .75rem; color: var(--grs-gold); font-style: normal; }
.grs-journal-hero .grs-gold-rule { width: 140px; height: 3px; background: var(--grs-gold); margin-top: 1.1rem; }
.grs-badge {
  background: linear-gradient(145deg, #ffd66b, var(--grs-gold) 50%, var(--grs-gold-dark));
  color: var(--grs-navy-dark); border-radius: 16px; padding: 1.1rem 1.5rem; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); display: inline-block; min-width: 220px;
}
.grs-badge i { font-size: 1.8rem; }
.grs-badge small { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; }
.grs-badge strong { display: block; font-family: var(--grs-serif); font-size: 1.6rem; line-height: 1.2; }

.grs-dash { position: sticky; top: 110px; }
.grs-dash .nav-link, .grs-dash a.grs-dash-link {
  display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left;
  padding: .75rem 1.15rem; color: var(--grs-ink); font-weight: 500; font-size: .95rem;
  border: 0; border-bottom: 1px solid var(--grs-line); border-radius: 0; background: #fff;
}
.grs-dash .nav-link i:first-child, .grs-dash a.grs-dash-link i:first-child { color: var(--grs-navy); font-size: 1.1rem; width: 1.2rem; }
.grs-dash .nav-link .bi-chevron-right, .grs-dash a.grs-dash-link .bi-chevron-right { margin-left: auto; font-size: .8rem; color: var(--grs-muted); }
.grs-dash .nav-link:hover, .grs-dash a.grs-dash-link:hover { background: var(--grs-bg); color: var(--grs-blue); }
.grs-dash .nav-link.active { background: #e8f0fd; color: var(--grs-navy); border-left: 4px solid var(--grs-gold); }
.grs-dash-foot { background: var(--grs-navy); color: #fff !important; display: flex; align-items: center; gap: .75rem; padding: 1rem 1.15rem; font-weight: 500; }
.grs-dash-foot i { font-size: 1.6rem; color: var(--grs-gold); }
@media (max-width: 991.98px) { .grs-dash { position: static; } }

.grs-glance { width: 100%; }
.grs-glance th { width: 42%; padding: .5rem .25rem; font-weight: 600; color: var(--grs-ink); vertical-align: top; }
.grs-glance td { padding: .5rem .25rem; color: var(--grs-ink); }
.grs-glance th::after { content: ":"; float: right; padding-right: .75rem; }
.grs-glance tr:not(:last-child) { border-bottom: 1px dashed var(--grs-line); }

.grs-mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.grs-mini-stat { background: #eef4fd; border-radius: 10px; padding: .85rem; text-align: center; }
.grs-mini-stat small { display: block; color: var(--grs-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.grs-mini-stat strong { display: block; color: var(--grs-navy); font-size: 1.15rem; margin-top: .15rem; }

.grs-impact-list { list-style: none; margin: 0; padding: 0; }
.grs-impact-list li { border-bottom: 1px solid var(--grs-line); }
.grs-impact-list li:last-child { border-bottom: 0; }
.grs-impact-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem 1.15rem; color: var(--grs-ink); font-weight: 500; }
.grs-impact-list a:hover { background: var(--grs-bg); color: var(--grs-blue); }
.grs-impact-list i { color: var(--grs-gold-dark); }

.grs-cert { border: 6px double #d8b45a; border-radius: 6px; padding: .4rem; background: #fffdf6; display: block; }
.grs-cert img { width: 100%; display: block; }

.grs-panel h3 { font-family: var(--grs-serif); color: var(--grs-navy); font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem; }
.grs-panel .grs-prose { line-height: 1.75; }
.grs-panel .grs-prose img { max-width: 100%; height: auto; }

.grs-editor { background: #fff; border: 1px solid var(--grs-line); border-radius: var(--grs-radius); padding: 1.25rem; text-align: center; height: 100%; }
.grs-editor img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 4px solid var(--grs-gold); margin-bottom: .75rem; }
.grs-editor h5 { color: var(--grs-navy); font-weight: 600; font-size: 1rem; margin-bottom: .25rem; }
.grs-editor .grs-ed-uni { font-size: .85rem; font-weight: 600; color: var(--grs-muted); }
.grs-editor .grs-ed-details { font-size: .83rem; color: var(--grs-muted); margin: .5rem 0; text-align: justify; }
.grs-editor a { font-size: .82rem; word-break: break-all; }
.grs-sub-title { text-align: center; font-weight: 700; color: var(--grs-navy); letter-spacing: 1px; margin: .5rem 0 1.25rem; font-size: 1.05rem; }

.grs-vol-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.grs-vol-list a { padding: .55rem 1.1rem; border-radius: 8px; background: var(--grs-bg); border: 1px solid var(--grs-line); color: var(--grs-navy); font-weight: 600; }
.grs-vol-list a:hover { background: var(--grs-navy); color: #fff; }

/* ---------- Footer ---------- */
.grs-footer-band { background: var(--grs-navy); color: #fff; }
.grs-footer-band .row > div { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.4rem 1.5rem; }
.grs-footer-band .row > div:not(:last-child) { border-right: 1px solid rgba(255,255,255,.15); }
.grs-footer-band i { font-size: 2.1rem; color: var(--grs-gold); }
.grs-footer-band span { line-height: 1.35; }
.grs-footer-band .grs-fb-tag {
  background: var(--grs-gold); color: var(--grs-navy-dark); justify-content: center; flex-direction: column; gap: 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); text-align: center;
}
.grs-footer-band .grs-fb-tag strong { font-size: 1.35rem; }
@media (max-width: 991.98px) {
  .grs-footer-band .row > div:not(:last-child) { border-right: 0; }
  .grs-footer-band .grs-fb-tag { clip-path: none; }
}
.grs-footer { background: var(--grs-navy-dark); color: #c9d5ea; padding: 2.5rem 0 0; font-size: .92rem; }
.grs-footer h5 { color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; position: relative; padding-bottom: .6rem; }
.grs-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--grs-gold); }
.grs-footer ul { list-style: none; padding: 0; margin: 0; }
.grs-footer li { margin-bottom: .5rem; }
.grs-footer a { color: #c9d5ea; }
.grs-footer a:hover { color: var(--grs-gold); }
.grs-footer .grs-contact i { color: var(--grs-gold); width: 1.4rem; display: inline-block; }
.grs-footer .grs-contact p { margin-bottom: .55rem; }
.grs-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding: 1.1rem 0; text-align: center; font-size: .85rem; }

.grs-to-top {
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grs-gold); color: var(--grs-navy-dark) !important; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 6px 18px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: all .2s; z-index: 999;
}
.grs-to-top.grs-show { opacity: 1; visibility: visible; }

/* Neutralise legacy img rule from the old layout on small screens */
@media (max-width: 768px) { body.grs-body .img-fluid { width: auto !important; } }

@media (max-width: 575.98px) {
  .grs-glance th { width: 40%; font-size: .85rem; }
  .grs-glance th::after { content: none; }
}

/* ---------- 3D book-style journal covers ---------- */
.grs-book {
  position: relative; display: inline-block; flex-shrink: 0; line-height: 0; align-self: flex-start;
  border-radius: 3px 10px 10px 3px;
  transform: perspective(700px) rotateY(-10deg); transform-origin: left center;
  box-shadow: 8px 10px 18px rgba(0, 0, 0, .28), 2px 2px 0 #e9e4d8, 4px 4px 0 #d9d2c2;
  transition: transform .3s ease;
}
.grs-book img { display: block; border-radius: 3px 10px 10px 3px; box-shadow: none !important; border: 0 !important; }
/* spine on the left */
.grs-book::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 12%; border-radius: 3px 0 0 3px; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(255,255,255,.22) 35%, rgba(0,0,0,.18) 70%, rgba(0,0,0,0) 100%);
}
/* curved page edge on the right + soft gloss */
.grs-book::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0) 82%, rgba(255,255,255,.28) 92%, rgba(0,0,0,.22) 100%),
              linear-gradient(160deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 40%);
}
.grs-journal-card:hover .grs-book, .grs-hero-covers .grs-book:hover { transform: perspective(700px) rotateY(-4deg); }
.grs-journal-card .grs-book img { width: 108px; height: 145px; object-fit: cover; border-radius: 3px 10px 10px 3px; }
.grs-hero-covers .grs-book img { width: 110px; height: 150px; object-fit: cover; }
.grs-hero-covers .grs-book:nth-child(2) { margin-top: -14px; }

/* wide container used for the home journal row (matches the mockup width) */
.grs-container-wide { max-width: 1500px; margin: 0 auto; padding: 0 1rem; }

/* ---------- Journal sub-pages (sections, volumes, issues) ---------- */
#journal-panels { scroll-margin-top: 120px; }
.grs-crumbs { font-size: .85rem; margin-bottom: .85rem; color: #c9d5ea; display: flex; flex-wrap: wrap; gap: .25rem; }
.grs-crumbs a { color: #c9d5ea !important; }
.grs-crumbs a:hover { color: var(--grs-gold) !important; }
.grs-crumbs > *:not(:last-child)::after { content: "\203A"; margin-left: .4rem; color: var(--grs-gold); }
.grs-crumbs span { color: #fff; font-weight: 500; }
.grs-journal-hero h1 a:hover { color: var(--grs-gold) !important; }
.grs-dash a.nav-link { text-decoration: none; }

.grs-issue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .85rem; }
.grs-issue-tile {
  display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem;
  border: 1px solid var(--grs-line); border-left: 4px solid var(--grs-gold); border-radius: 10px;
  background: #fff; color: var(--grs-ink) !important; transition: all .2s ease;
}
.grs-issue-tile:hover { box-shadow: var(--grs-shadow); transform: translateY(-2px); border-left-color: var(--grs-navy); }
.grs-issue-tile > i:first-child { font-size: 1.6rem; color: var(--grs-navy); }
.grs-issue-tile span { flex: 1; min-width: 0; }
.grs-issue-tile strong { display: block; color: var(--grs-navy); font-size: .95rem; }
.grs-issue-tile small { color: var(--grs-muted); }
.grs-issue-tile > i:last-child { font-size: 1.5rem; color: var(--grs-muted); }

.grs-vol-list a.active { background: var(--grs-navy); color: #fff; border-color: var(--grs-navy); }
.grs-article h4 { display: flex; gap: .6rem; align-items: baseline; }
.grs-article-no {
  flex-shrink: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--grs-gold);
  color: var(--grs-navy-dark); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Article page ---------- */
.grs-art-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.grs-art-type, .grs-art-oa { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; padding: .3rem .8rem; border-radius: 999px; }
.grs-art-type { background: var(--grs-navy); color: #fff; }
.grs-art-oa { background: #fff4dc; color: #9a6a00; border: 1px solid #f5d58a; }
.grs-art-title { font-family: var(--grs-serif); color: var(--grs-navy); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.3; margin-bottom: .85rem; }
.grs-art-authors { font-weight: 500; color: var(--grs-ink); margin-bottom: .85rem; }
.grs-art-authors i { color: var(--grs-gold-dark); margin-right: .35rem; }
.grs-art-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .86rem; color: var(--grs-muted); padding-bottom: 1rem; border-bottom: 1px solid var(--grs-line); }
.grs-art-meta i { color: var(--grs-blue); margin-right: .35rem; }
.grs-art-doi { display: inline-flex; align-items: center; margin-top: 1rem; border: 1px solid var(--grs-line); border-radius: 8px; overflow: hidden; font-size: .86rem; max-width: 100%; }
.grs-art-doi span { background: var(--grs-gold); color: var(--grs-navy-dark); font-weight: 700; padding: .35rem .65rem; }
.grs-art-doi a { padding: .35rem .75rem; word-break: break-all; }
.grs-art-actions { margin-top: 1rem; }
.grs-art-h { font-family: var(--grs-serif); color: var(--grs-navy); font-size: 1.2rem; font-weight: 700; margin: 1.75rem 0 .75rem; display: flex; align-items: center; gap: .5rem; }
.grs-art-h i { color: var(--grs-gold-dark); font-size: 1.05rem; }
.grs-art-abstract { line-height: 1.8; text-align: justify; color: #2c3547; font-size: .97rem; }
.grs-art-keywords { display: flex; flex-wrap: wrap; gap: .5rem; }
.grs-art-keywords span { background: #eef4fd; color: var(--grs-navy); border-radius: 999px; padding: .3rem .85rem; font-size: .83rem; font-weight: 500; }
.grs-art-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; }
.grs-art-timeline li { position: relative; background: var(--grs-bg); border-radius: 10px; padding: .75rem .9rem; border-top: 3px solid var(--grs-gold); }
.grs-art-timeline small { display: block; color: var(--grs-muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.grs-art-timeline strong { color: var(--grs-navy); font-size: .92rem; }
.grs-art-cite { background: var(--grs-bg); border-left: 4px solid var(--grs-navy); border-radius: 8px; padding: 1rem 1.1rem; }
.grs-art-cite p { font-size: .9rem !important; margin-bottom: .75rem !important; line-height: 1.6; }
.grs-art-cite .grs-chip { cursor: pointer; }
.grs-art-pdf-icon { font-size: 2.8rem; color: #d64541; display: block; margin-bottom: .75rem; }
.grs-art-download { border-top: 4px solid var(--grs-gold); }
.grs-art-share { display: flex; gap: .6rem; flex-wrap: wrap; }
.grs-art-share a, .grs-art-share button {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--grs-bg); border: 1px solid var(--grs-line); color: var(--grs-navy) !important; font-size: 1.1rem; transition: all .2s;
}
.grs-art-share a:hover, .grs-art-share button:hover { background: var(--grs-navy); color: #fff !important; }

/* ---------- Manuscript submission form ---------- */
.grs-alert { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 10px; margin-bottom: 1.5rem; font-size: .92rem; }
.grs-alert > i { font-size: 1.4rem; line-height: 1; }
.grs-alert-success { background: #e9f7ef; border: 1px solid #b7e4c7; color: #1e6b3c; }
.grs-alert-error { background: #fdecec; border: 1px solid #f5c2c2; color: #9b2c2c; }
.grs-form .form-label { font-weight: 600; font-size: .88rem; color: var(--grs-ink); margin-bottom: .35rem; }
.grs-form .form-label em { color: #d64541; font-style: normal; }
.grs-form .form-control, .grs-form .form-select { border-radius: 10px; border-color: #d5deec; padding: .65rem .9rem; font-size: .93rem; }
.grs-form .form-control:focus, .grs-form .form-select:focus { border-color: var(--grs-blue); box-shadow: 0 0 0 .2rem rgba(29, 95, 191, .12); }
.grs-form-step { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px dashed var(--grs-line); }
.grs-step-title { display: flex; align-items: center; gap: .65rem; font-family: var(--grs-serif); color: var(--grs-navy); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.grs-step-title span { width: 30px; height: 30px; border-radius: 50%; background: var(--grs-navy); color: var(--grs-gold); font-family: var(--grs-sans); font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; }
.grs-input-icon { position: relative; }
.grs-input-icon i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--grs-muted); pointer-events: none; }
.grs-input-icon .form-control { padding-left: 2.4rem; }
.grs-mode { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.grs-mode-opt { position: relative; cursor: pointer; margin: 0; }
.grs-mode-opt input { position: absolute; opacity: 0; }
.grs-mode-opt span { display: block; border: 1px solid #d5deec; border-radius: 10px; padding: .5rem .75rem; height: 100%; transition: all .15s; }
.grs-mode-opt strong { display: block; font-size: .85rem; color: var(--grs-navy); }
.grs-mode-opt small { color: var(--grs-muted); font-size: .74rem; }
.grs-mode-opt input:checked + span { border-color: var(--grs-navy); background: #eef4fd; box-shadow: inset 0 0 0 1px var(--grs-navy); }
.grs-mode-opt input:focus-visible + span { box-shadow: 0 0 0 .2rem rgba(29, 95, 191, .2); }
.grs-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; text-align: center;
  border: 2px dashed #c3cfe2; border-radius: 12px; padding: 1.75rem 1rem; cursor: pointer; background: #fafcff; transition: all .2s; position: relative;
}
.grs-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.grs-drop i { font-size: 2.2rem; color: var(--grs-blue); }
.grs-drop strong { color: var(--grs-navy); font-size: .93rem; word-break: break-all; }
.grs-drop small { color: var(--grs-muted); }
.grs-drop:hover, .grs-drop.dragging { border-color: var(--grs-blue); background: #eef4fd; }
.grs-drop.has-file { border-style: solid; border-color: #3aa76d; background: #f0faf4; }
.grs-drop.has-file i { color: #3aa76d; }
.grs-drop.is-invalid { border-color: #d64541; }
.grs-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.grs-form-foot .grs-btn:disabled { opacity: .7; cursor: wait; }
.grs-process { list-style: none; padding: 0; margin: 0; position: relative; }
.grs-process::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--grs-line); }
.grs-process li { display: flex; gap: .85rem; align-items: flex-start; padding: .45rem 0; position: relative; }
.grs-process li > i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--grs-navy); color: var(--grs-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.grs-process strong { display: block; color: var(--grs-navy); font-size: .92rem; }
.grs-process span { color: var(--grs-muted); font-size: .82rem; }
.grs-checklist { list-style: none; padding: 0; margin: 0; }
.grs-checklist li { padding: .4rem 0 .4rem 1.7rem; position: relative; font-size: .9rem; }
.grs-checklist li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .35rem; color: #3aa76d; font-size: 1.05rem; }

/* social icons (shown only when set in Admin › Site Settings) */
.grs-socials { display: inline-flex; gap: .6rem; align-items: center; }
.grs-socials a { font-size: .95rem; }
.grs-socials-lg a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; }
.grs-socials-lg a:hover { background: var(--grs-gold); border-color: var(--grs-gold); color: var(--grs-navy-dark) !important; }
