/* ==========================================================
   IJMHS – OJS 3.3.0.14 | 3D Full-Width Blue Theme
   Install: Settings > Website > Appearance > Advanced > Journal style sheet
   Rang badalne ke liye sirf :root ki values badlein.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy:   #0a2a6b;
  --navy-2: #071d4d;
  --blue:   #1448c8;
  --blue-2: #2563eb;
  --sky:    #19a7d8;
  --tint:   #eef3ff;
  --ink:    #1e293b;
  --muted:  #64748b;
  --line:   #dbe4f3;
  --white:  #ffffff;

  /* 3D depth tokens */
  --sh-1: 0 1px 2px rgba(10,42,107,.10), 0 4px 10px rgba(10,42,107,.08);
  --sh-2: 0 2px 4px rgba(10,42,107,.10), 0 10px 24px rgba(10,42,107,.14), 0 24px 40px -12px rgba(10,42,107,.18);
  --sh-3: 0 4px 8px rgba(10,42,107,.12), 0 18px 36px rgba(20,72,200,.20), 0 36px 60px -14px rgba(10,42,107,.28);
  --edge: 0 5px 0 var(--navy-2);               /* solid "thickness" under buttons */
  --gutter: 4%;                                /* side margin of the full-width layout */
}

/* ---------- Base ---------- */
html, body { overflow-x: hidden; }
body {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(25,167,216,.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(20,72,200,.10), transparent 60%),
    #f1f5fd;
  background-attachment: fixed;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}
h1, h2, h3, h4, h5 { font-family: inherit; color: var(--navy); font-weight: 800; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--sky); text-decoration: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

/* ---------- Full-width page shell ---------- */
.pkp_structure_page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: transparent;
  box-shadow: none;
  min-height: 100vh;
}

/* ---------- Header ---------- */
.pkp_structure_head {
  background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
  border-bottom: 0;
  position: relative;
  z-index: 20;
  box-shadow: 0 6px 18px rgba(10,42,107,.08);
}
.pkp_head_wrapper { padding: 0 var(--gutter); max-width: 100%; width: 100%; }
.pkp_site_name_wrapper { padding: 24px 0 16px; }
.pkp_site_name .is_text,
.pkp_site_name a {
  color: var(--navy) !important;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 0 #fff, 0 6px 14px rgba(10,42,107,.18);
}
.pkp_site_name .is_img img { max-height: 110px; filter: drop-shadow(0 8px 12px rgba(10,42,107,.22)); }

/* user links */
.pkp_navigation_user_wrapper { top: 8px; right: var(--gutter); }
.pkp_navigation_user > li > a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  border-radius: 8px;
}
.pkp_navigation_user > li > a:hover { color: var(--blue); background: var(--tint); }
.pkp_navigation_user ul {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--sh-2);
}

/* ---------- Main menu: raised 3D bar ---------- */
.pkp_navigation_primary_row {
  background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 45%, var(--navy) 100%);
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  border-bottom: 4px solid var(--sky);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -2px 6px rgba(0,0,0,.25),
    0 10px 24px rgba(10,42,107,.30);
}
.pkp_navigation_primary > li > a {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 15px 16px;
  border-radius: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  transition: background .2s, transform .2s;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li:hover > a {
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.06));
  box-shadow: inset 0 -3px 0 var(--sky);
  color: #fff;
}
.pkp_navigation_primary ul {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--sky);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--sh-3);
  min-width: 260px;
}
.pkp_navigation_primary ul a {
  color: var(--ink) !important;
  font-size: 14px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--tint);
}
.pkp_navigation_primary ul li:last-child a { border-bottom: 0; }
.pkp_navigation_primary ul a:hover { background: var(--tint); color: var(--blue) !important; padding-left: 24px; }
.pkp_navigation_search_wrapper a { color: #fff; font-weight: 600; }
.pkp_navigation_search_wrapper a:hover { color: #bfeaff; }

/* ---------- Content area: NO sidebar, full width ---------- */
.pkp_structure_sidebar { display: none !important; }

.pkp_structure_content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 36px var(--gutter) 50px;
}
.pkp_structure_main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  box-shadow: none;
}
.pkp_structure_main:before,
.pkp_structure_main:after { display: none !important; }

/* Breadcrumbs */
.cmp_breadcrumbs { margin: 0 0 18px; font-size: 13px; }
.cmp_breadcrumbs ol { margin: 0; padding: 0; }
.cmp_breadcrumbs a { color: var(--muted); }
.cmp_breadcrumbs a:hover { color: var(--blue); }

/* Page titles */
.page h1, .page_title {
  font-size: 30px;
  border-left: 7px solid var(--blue);
  padding-left: 16px;
  margin: 0 0 26px;
  text-shadow: 0 2px 0 #fff, 0 6px 12px rgba(10,42,107,.12);
}

/* Inner pages sit on a raised white "sheet" */
.page:not(.page_index_journal) {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 38px;
  box-shadow: var(--sh-2);
}

.homepage_image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--sh-3);
}

/* Section headings */
.page_index_journal h2,
.current_issue h2,
.homepage_about h2 {
  font-size: 22px;
  margin: 38px 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--tint);
  position: relative;
}
.page_index_journal h2:after,
.current_issue h2:after,
.homepage_about h2:after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 80px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky));
  border-radius: 3px;
}

/* ---------- Issue + journal cover: standing-book 3D ---------- */
.current_issue .current_issue_title { font-size: 19px; font-weight: 700; color: var(--blue); }
.obj_issue_toc .cover,
.current_issue .cover,
.obj_issue_summary .cover,
.obj_article_details .cover_image { perspective: 900px; display: inline-block; }
.obj_issue_toc .cover img,
.current_issue .cover img,
.obj_issue_summary .cover img {
  border-radius: 4px 10px 10px 4px;
  transform: rotateY(-14deg);
  transform-origin: left center;
  box-shadow: -6px 6px 0 rgba(10,42,107,.12), 14px 18px 34px rgba(10,42,107,.35);
  transition: transform .45s ease, box-shadow .45s ease;
}
.obj_issue_toc .cover img:hover,
.current_issue .cover img:hover,
.obj_issue_summary .cover img:hover {
  transform: rotateY(0deg) translateY(-4px);
  box-shadow: 0 22px 40px rgba(10,42,107,.35);
}
.obj_issue_toc .published, .obj_issue_summary .series { color: var(--muted); font-size: 13px; }

.obj_issue_toc .section > h2,
.obj_issue_toc h3 {
  font-size: 16px;
  background: linear-gradient(90deg, var(--tint), #fff);
  border-left: 6px solid var(--blue);
  padding: 10px 16px;
  margin: 28px 0 14px;
  border-radius: 0 10px 10px 0;
  box-shadow: var(--sh-1);
}
.obj_issue_toc .section > h2:after { display: none; }

/* Archive issue cards */
.obj_issue_summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 18px;
  box-shadow: var(--sh-1);
}

/* ---------- Articles: floating cards ---------- */
.obj_article_summary {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 16px;
  box-shadow: var(--sh-1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  transform-style: preserve-3d;
}
.obj_article_summary:hover {
  border-color: var(--blue);
  border-left-color: var(--sky);
  transform: perspective(900px) translateY(-5px) rotateX(1.5deg);
  box-shadow: var(--sh-3);
}
.obj_article_summary .title { font-size: 16.5px; font-weight: 700; line-height: 1.45; margin: 0 0 6px; }
.obj_article_summary .title a { color: var(--navy); }
.obj_article_summary .title a:hover { color: var(--blue); }
.obj_article_summary .authors,
.obj_article_summary .pages { color: var(--muted); font-size: 13.5px; }

/* ---------- Buttons: pressable 3D ---------- */
.cmp_button, .cmp_button_wire, .obj_galley_link, .read_more,
.pkp_button, button.pkp_button, input[type=submit], button[type=submit] {
  display: inline-block;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 0 var(--navy-2), 0 10px 16px rgba(10,42,107,.28);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
  cursor: pointer;
}
.cmp_button:hover, .cmp_button_wire:hover, .obj_galley_link:hover, .read_more:hover,
.pkp_button:hover, input[type=submit]:hover, button[type=submit]:hover {
  background: linear-gradient(180deg, var(--blue), var(--navy));
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 0 var(--navy-2), 0 14px 20px rgba(10,42,107,.32);
}
.cmp_button:active, .cmp_button_wire:active, .obj_galley_link:active, .read_more:active,
.pkp_button:active, input[type=submit]:active, button[type=submit]:active {
  transform: translateY(4px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 0 0 var(--navy-2);
}
.obj_galley_link.pdf {
  background: linear-gradient(180deg, #ef4444, #dc2626);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 0 #7f1d1d, 0 10px 16px rgba(220,38,38,.3);
}
.obj_galley_link.pdf:hover { background: linear-gradient(180deg, #dc2626, #991b1b); }

/* ---------- Article details page ---------- */
.obj_article_details .page_title { font-size: 28px; border: 0; padding: 0; }
.obj_article_details .item.keywords .value span,
.obj_article_details .keywords a {
  display: inline-block; background: var(--tint); color: var(--blue);
  padding: 3px 13px; border-radius: 50px; margin: 2px 4px 2px 0;
  font-size: 12.5px; font-weight: 600;
  box-shadow: 0 2px 0 var(--line);
}
.obj_article_details .entry_details {
  background: linear-gradient(180deg, #fff, var(--tint));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--sh-1);
}
.obj_article_details .item.doi a { word-break: break-all; }
.obj_article_details .main_entry .item { margin-bottom: 20px; }

/* ---------- Forms, tables, notices ---------- */
input[type=text], input[type=email], input[type=password], input[type=search],
input[type=url], input[type=number], select, textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(10,42,107,.08);
  transition: box-shadow .2s, border-color .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: inset 0 2px 4px rgba(10,42,107,.06), 0 0 0 3px rgba(20,72,200,.18);
}
table { border-collapse: separate; border-spacing: 0; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: var(--sh-1); }
table th { background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; padding: 11px 13px; text-align: left; font-size: 13px; }
table td { padding: 10px 13px; border-bottom: 1px solid var(--line); background: #fff; }
table tr:nth-child(even) td { background: #f8faff; }

.cmp_notification, .pkp_notification {
  background: var(--tint);
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  box-shadow: var(--sh-1);
}
.cmp_pagination a, .cmp_pagination span.current {
  display: inline-block; padding: 6px 12px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line);
}
.cmp_pagination a:hover { background: var(--blue); color: #fff; }

/* ---------- Footer: dark base with raised top edge ---------- */
.pkp_structure_footer_wrapper {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  border-top: 5px solid var(--sky);
  box-shadow: 0 -10px 30px rgba(10,42,107,.25);
}
.pkp_footer_content { color: #c7d5f5; padding: 34px var(--gutter); font-size: 13.5px; max-width: 100%; }
.pkp_footer_content a { color: #fff; text-decoration: underline; }
.pkp_footer_content a:hover { color: var(--sky); }
.pkp_brand_footer { padding: 0 var(--gutter) 24px; }
.pkp_brand_footer img { filter: brightness(0) invert(1); opacity: .75; }

/* ==========================================================
   HOMEPAGE BLOCKS (nx-)
   ========================================================== */

/* ---------- Hero ---------- */
.nx-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 64px 5% 60px;
  margin: 0 0 34px;
  border-radius: 22px;
  background: linear-gradient(125deg, var(--navy) 0%, var(--blue) 58%, var(--blue-2) 100%);
  box-shadow: 0 2px 0 rgba(255,255,255,.25) inset, 0 12px 0 -4px var(--navy-2), 0 30px 50px rgba(10,42,107,.35);
}
.nx-hero:before, .nx-hero:after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.nx-hero:before {
  right: -90px; top: -110px; width: 380px; height: 380px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(25,167,216,.45) 40%, transparent 70%);
  animation: nx-float 9s ease-in-out infinite;
}
.nx-hero:after {
  right: 14%; bottom: -120px; width: 260px; height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), rgba(37,99,235,.5) 45%, transparent 72%);
  animation: nx-float 12s ease-in-out infinite reverse;
}
@keyframes nx-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(18px); } }

.nx-kicker {
  display: inline-block; position: relative;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  padding: 7px 18px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: .8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 0 rgba(0,0,0,.18);
}
.nx-hero h2 {
  position: relative;
  color: #fff !important;
  font-size: 42px; line-height: 1.2; font-weight: 800;
  max-width: 800px;
  margin: 0 0 18px; padding: 0 !important; border: 0 !important;
  text-shadow: 0 2px 0 rgba(0,0,0,.18), 0 8px 18px rgba(0,0,0,.28);
}
.nx-hero h2:after { display: none !important; }
.nx-hero h2 span { display: block; color: #8fe0fa; }
.nx-hero p { position: relative; color: #d6e2ff; font-size: 16.5px; max-width: 700px; margin: 0 0 24px; }

/* hero / cta buttons */
.nx-btn {
  position: relative;
  display: inline-block;
  margin: 8px 12px 0 0;
  padding: 13px 30px;
  background: linear-gradient(180deg, #fff, #e4ecff);
  color: var(--blue) !important;
  border: 0;
  border-radius: 12px;
  font-weight: 800; font-size: 14px;
  box-shadow: 0 5px 0 #9db4e8, 0 14px 22px rgba(0,0,0,.22);
  transition: transform .12s ease, box-shadow .12s ease;
}
.nx-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #9db4e8, 0 18px 26px rgba(0,0,0,.26); color: var(--navy) !important; }
.nx-btn:active { transform: translateY(5px); box-shadow: 0 0 0 #9db4e8, inset 0 2px 5px rgba(0,0,0,.2); }
.nx-btn.alt {
  background: rgba(255,255,255,.08);
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 5px 0 rgba(0,0,0,.25), 0 14px 22px rgba(0,0,0,.18);
}
.nx-btn.alt:hover { background: #fff; color: var(--blue) !important; }

/* ---------- Stats: raised slab ---------- */
.nx-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 44px;
  box-shadow: var(--sh-2);
}
.nx-stats div {
  padding: 22px 24px;
  color: var(--muted);
  font-size: 12px; font-weight: 600;
  letter-spacing: .8px;
  border-right: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  background: linear-gradient(180deg, #fff, #f6f9ff);
}
.nx-stats div:last-child { border-right: 0; }
.nx-stats strong { display: block; color: var(--navy); font-size: 21px; letter-spacing: 0; margin-top: 4px; }

/* ---------- Section titles ---------- */
.nx-title {
  position: relative;
  text-align: center;
  font-size: 28px;
  margin: 50px 0 8px !important;
  padding: 0 0 16px !important;
  border: 0 !important;
  text-shadow: 0 2px 0 #fff, 0 6px 12px rgba(10,42,107,.14);
}
.nx-title:after {
  content: "" !important;
  position: absolute; left: 50% !important; bottom: 0 !important;
  transform: translateX(-50%);
  width: 80px; height: 5px; border-radius: 5px;
  background: linear-gradient(90deg, var(--blue), var(--sky)) !important;
  box-shadow: 0 3px 0 rgba(10,42,107,.15);
}
.nx-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 14px auto 30px; }

/* ---------- Feature cards: tilt on hover ---------- */
.nx-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin: 0 0 22px;
  perspective: 1200px;
}
.nx-card {
  background: linear-gradient(180deg, #fff, #f7faff);
  border: 1px solid var(--line);
  border-bottom: 5px solid var(--blue);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--sh-1);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  transform-style: preserve-3d;
}
.nx-card:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-3deg);
  border-bottom-color: var(--sky);
  box-shadow: var(--sh-3);
}
.nx-ico {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
  background: linear-gradient(145deg, #fff, var(--tint));
  box-shadow: 0 4px 0 var(--line), 0 10px 18px rgba(20,72,200,.18);
  transform: translateZ(30px);
}
.nx-card h4 { margin: 0 0 8px; font-size: 17px; }
.nx-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ---------- Scope: pill buttons ---------- */
.nx-scope { text-align: center; max-width: 1000px; margin: 0 auto 22px; }
.nx-scope span {
  display: inline-block;
  background: linear-gradient(180deg, #fff, var(--tint));
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 9px 22px; margin: 6px 5px;
  border-radius: 50px;
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 3px 0 var(--line), 0 8px 14px rgba(10,42,107,.08);
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
}
.nx-scope span:hover {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff; border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 0 var(--navy-2), 0 14px 20px rgba(10,42,107,.25);
}

/* ---------- Steps ---------- */
.nx-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; margin: 40px 0 34px;
  counter-reset: nxstep;
  perspective: 1200px;
}
.nx-step {
  position: relative; counter-increment: nxstep;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 46px 16px 24px;
  text-align: center;
  box-shadow: var(--sh-1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.nx-step:before {
  content: counter(nxstep);
  position: absolute; top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #6fd3f2, var(--blue) 70%);
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 4px 0 var(--navy-2), 0 10px 16px rgba(20,72,200,.35);
}
.nx-step:hover { transform: translateY(-6px) rotateX(3deg); box-shadow: var(--sh-3); }
.nx-step h4 { margin: 0 0 6px; font-size: 16px; }
.nx-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Call to action ---------- */
.nx-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--navy), var(--blue));
  color: #fff; text-align: center;
  border-radius: 22px;
  padding: 50px 30px;
  margin: 44px 0 10px;
  box-shadow: 0 2px 0 rgba(255,255,255,.25) inset, 0 12px 0 -4px var(--navy-2), 0 30px 50px rgba(10,42,107,.32);
}
.nx-cta:before {
  content: ""; position: absolute; left: -80px; bottom: -120px;
  width: 300px; height: 300px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28), rgba(25,167,216,.4) 45%, transparent 72%);
}
.nx-cta h3 { position: relative; color: #fff; font-size: 28px; margin: 0 0 8px; text-shadow: 0 4px 12px rgba(0,0,0,.25); }
.nx-cta p { position: relative; color: #d6e2ff; margin: 0 0 14px; }
.nx-cta .nx-btn { margin: 8px 8px 0; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 991px) {
  :root { --gutter: 22px; }
  .pkp_structure_content { padding-top: 26px; }
  .page:not(.page_index_journal) { padding: 24px 22px; }
  .pkp_site_name .is_text, .pkp_site_name a { font-size: 23px; }
  .nx-hero { padding: 44px 28px; }
  .nx-hero h2 { font-size: 31px; }
  .nx-stats { grid-template-columns: repeat(2, 1fr); }
  .nx-stats div:nth-child(2) { border-right: 0; }
  .nx-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .nx-grid { grid-template-columns: repeat(2, 1fr); }
  .nx-steps { grid-template-columns: repeat(3, 1fr); row-gap: 38px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .pkp_navigation_primary_row { padding: 0; margin: 0 -16px; }
  .pkp_site_nav_toggle { background: var(--blue); border-radius: 10px; box-shadow: 0 3px 0 var(--navy-2); }
  .pkp_site_nav_menu { background: var(--navy); }
  .page h1, .page_title { font-size: 24px; }
  .nx-hero { padding: 34px 20px; border-radius: 16px; }
  .nx-hero h2 { font-size: 25px; }
  .nx-hero p { font-size: 14.5px; }
  .nx-btn { display: block; text-align: center; margin: 12px 0 0; }
  .nx-stats { grid-template-columns: 1fr; }
  .nx-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .nx-stats div:last-child { border-bottom: 0; }
  .nx-grid, .nx-steps { grid-template-columns: 1fr; }
  .nx-steps { row-gap: 40px; }
  .nx-title { font-size: 22px; }
  .nx-cta { padding: 34px 18px; }
  /* touch devices: no tilt */
  .obj_article_summary:hover, .nx-card:hover, .nx-step:hover { transform: none; }
}

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

/* ==========================================================
   V2 ADDITIONS – IJMHS homepage (GJAB-style layout)
   Hero + cover, badges, about + info card, indexing, template
   ========================================================== */

/* OJS ka khud ka "About the Journal" heading: screen readers ke liye rehta hai, nazar nahi aata */
.homepage_about > h2 {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px !important; padding: 0 !important; border: 0 !important;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.homepage_about > h2:after { display: none !important; }
.homepage_about { margin: 0; }

/* ---------- Hero: text left, 3D cover right ---------- */
.nx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
  gap: 40px;
  align-items: center;
}
.nx-hero-text, .nx-hero-cover { position: relative; z-index: 1; }
.nx-hero h2 { font-size: clamp(26px, 3.3vw, 42px); }

.nx-hero-cover {
  justify-self: center;
  text-align: center;
  perspective: 1000px;
  color: #fff !important;
}
.nx-hero-cover img {
  display: block;
  width: 230px; max-width: 100%;
  border-radius: 4px 12px 12px 4px;
  transform: rotateY(-18deg) rotateX(3deg);
  transform-origin: left center;
  box-shadow: -8px 8px 0 rgba(0,0,0,.18), 22px 28px 44px rgba(0,0,0,.45);
  transition: transform .45s ease, box-shadow .45s ease;
}
.nx-hero-cover:hover img {
  transform: rotateY(-4deg) translateY(-8px);
  box-shadow: 0 30px 50px rgba(0,0,0,.45);
}
.nx-hero-cover span { display: block; margin-top: 20px; font-weight: 700; font-size: 14px; color: #fff; }

.nx-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; position: relative; }
.nx-badges li {
  margin: 0; padding: 6px 15px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  font-size: 12.5px; font-weight: 600; color: #fff;
  box-shadow: 0 3px 0 rgba(0,0,0,.18);
}
.nx-badges li:before { content: "\2713\00a0"; color: #8fe0fa; font-weight: 800; }

/* solid button for white backgrounds */
.nx-btn.solid {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 0 var(--navy-2), 0 14px 22px rgba(10,42,107,.28);
}
.nx-btn.solid:hover {
  background: linear-gradient(180deg, var(--blue), var(--navy));
  color: #fff !important;
  box-shadow: 0 8px 0 var(--navy-2), 0 18px 26px rgba(10,42,107,.32);
}
.nx-btn.solid:active { transform: translateY(5px); box-shadow: inset 0 2px 5px rgba(0,0,0,.3), 0 0 0 var(--navy-2); }

/* ---------- About + Journal information ---------- */
.nx-about {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px; align-items: start;
  margin: 0 0 24px;
}
.nx-about-text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--sh-2);
}
.nx-about-text h3 { margin: 0 0 12px; font-size: 21px; }
.nx-about-text p { margin: 0 0 12px; }
.nx-info {
  background: linear-gradient(180deg, #fff, var(--tint));
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: var(--sh-2);
}
.nx-info h3 { margin: 0 0 6px; font-size: 18px; }
.nx-info dl { margin: 0; }
.nx-info dt { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.nx-info dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }

/* 4-column "why publish" */
.nx-grid.nx-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Indexing ---------- */
.nx-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0 0 26px; }
.nx-index a {
  display: flex; align-items: center; gap: 14px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 24px;
  font-weight: 700; color: var(--navy);
  box-shadow: 0 4px 0 var(--line), var(--sh-1);
  transition: transform .2s, box-shadow .2s, color .2s;
}
.nx-index a:hover { transform: translateY(-5px); color: var(--blue); box-shadow: 0 4px 0 var(--sky), var(--sh-3); }
.nx-index em {
  flex: none; font-style: normal; font-size: 12px; font-weight: 800; color: #fff;
  min-width: 52px; text-align: center; padding: 10px 8px; border-radius: 10px;
  background: linear-gradient(145deg, var(--blue-2), var(--navy));
  box-shadow: 0 3px 0 var(--navy-2), 0 8px 14px rgba(20,72,200,.3);
}
.nx-index small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }

/* ---------- Template download card ---------- */
.nx-template {
  display: flex; align-items: center; gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--sky);
  border-radius: 16px;
  padding: 26px 30px;
  margin: 0 0 20px;
  box-shadow: var(--sh-2);
}
.nx-template .nx-ico { flex: none; margin: 0; }
.nx-template h3 { margin: 0 0 4px; font-size: 18px; }
.nx-template p { margin: 0; color: var(--muted); }
.nx-template .nx-btn { margin: 0 0 0 auto; flex: none; }

/* ---------- Current issue as a raised card ---------- */
.page_index_journal .current_issue {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 34px 34px;
  margin: 50px 0 10px;
  box-shadow: var(--sh-2);
}
.page_index_journal .current_issue > h2 { margin-top: 0; }
.page_index_journal .additional_content { margin-top: 10px; }

/* ---------- Responsive (v2 blocks) ---------- */
@media (max-width: 991px) {
  .nx-hero { grid-template-columns: 1fr; gap: 28px; }
  .nx-hero-cover { justify-self: start; }
  .nx-hero-cover img { width: 180px; }
  .nx-about { grid-template-columns: 1fr; }
  .nx-grid.nx-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nx-template { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .nx-grid.nx-grid-4 { grid-template-columns: 1fr; }
  .nx-about-text, .nx-info { padding: 22px 18px; }
  .nx-index a { min-width: 100%; }
  .nx-template { padding: 22px 18px; }
  .nx-template .nx-btn { margin-left: 0; width: 100%; }
  .page_index_journal .current_issue { padding: 22px 16px; }
}

/* Why Publish - Icon Fix */

.nx-grid .nx-card .nx-ico {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5ff;
    color: #1746bd;
    border-radius: 17px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(20, 55, 130, 0.12);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.nx-grid .nx-card .nx-ico-text {
    font-size: 23px;
    letter-spacing: -1px;
}

/* Scope section spacing fix */

.nx-scope {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.nx-scope span {
    display: inline-block;
}

/* Mobile responsiveness */

@media (max-width: 600px) {
    .nx-grid .nx-card .nx-ico {
        width: 56px;
        height: 56px;
        font-size: 27px;
    }

    .nx-grid .nx-card .nx-ico-text {
        font-size: 21px;
    }
}

/* Manuscript Template - No Emoji Icons */

.nx-template-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nx-template-label {
    width: 65px;
    height: 65px;
    min-width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5ff;
    color: #1746bd;
    border-radius: 14px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(20, 55, 130, 0.10);
}

.nx-template-content h3 {
    margin-top: 0;
}

@media (max-width: 600px) {
    .nx-template-content {
        align-items: flex-start;
    }
}


/* =====================================
   IJMHS INDEXING SECTION
   Professional Card Design
===================================== */

.ijmhs-index-section {
    width: 100% !important;
    padding: 45px 20px 55px !important;
    box-sizing: border-box !important;
    background: transparent;
}

/* Heading */

.ijmhs-index-heading {
    text-align: center !important;
    margin-bottom: 38px !important;
}

.ijmhs-index-heading h2 {
    color: #123477 !important;
    font-size: 28px !important;
    font-weight: 750 !important;
    margin: 0 0 15px !important;
    line-height: 1.4 !important;
}

.ijmhs-index-line {
    width: 65px !important;
    height: 4px !important;
    background: #1746bd !important;
    border-radius: 10px !important;
    margin: 0 auto 18px !important;
}

.ijmhs-index-heading p {
    color: #647895 !important;
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

/* Card Grid */

.ijmhs-index-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1150px !important;
    margin: 0 auto !important;
}

/* Individual Card */

.ijmhs-index-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    box-sizing: border-box !important;

    min-width: 0 !important;
    min-height: 260px !important;
    padding: 25px 20px 22px !important;

    background: #ffffff !important;
    border: 1px solid #dce6f7 !important;
    border-bottom: 4px solid #1746bd !important;
    border-radius: 16px !important;

    box-shadow: 0 5px 18px rgba(16, 42, 95, 0.07) !important;

    transition: transform 0.25s ease,
                box-shadow 0.25s ease !important;
}

.ijmhs-index-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(16, 42, 95, 0.13) !important;
}

/* Logo Area */

.ijmhs-index-image {
    width: 100% !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
}

.ijmhs-index-image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 82px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* Text Logos */

.ijmhs-word-logo {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 31px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    color: #1746bd !important;
}

.ijmhs-word-logo.ijmhs-embase {
    color: #243d7c !important;
    font-size: 29px !important;
}

/* Card Titles */

.ijmhs-index-box h3 {
    color: #123477 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 7px !important;
    line-height: 1.4 !important;
}

.ijmhs-index-box p {
    color: #7889a3 !important;
    font-size: 13px !important;
    margin: 0 0 18px !important;
    line-height: 1.5 !important;
    min-height: 20px !important;
}

/* Action Button */

.ijmhs-index-box > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    margin-top: auto !important;
    padding: 10px 20px !important;

    background: #f0f4ff !important;
    border: 1px solid #dce6ff !important;
    border-radius: 8px !important;

    color: #1746bd !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    text-decoration: none !important;

    transition: all 0.2s ease !important;
}

.ijmhs-index-box > a:hover {
    background: #1746bd !important;
    color: #ffffff !important;
    border-color: #1746bd !important;
}

.ijmhs-index-box > a span {
    font-size: 17px !important;
}

/* Tablet */

@media screen and (max-width: 900px) {
    .ijmhs-index-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

/* Mobile */

@media screen and (max-width: 520px) {
    .ijmhs-index-section {
        padding: 30px 12px 40px !important;
    }

    .ijmhs-index-heading h2 {
        font-size: 23px !important;
    }

    .ijmhs-index-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .ijmhs-index-box {
        min-height: 235px !important;
        padding: 17px 9px !important;
    }

    .ijmhs-index-image {
        height: 75px !important;
    }

    .ijmhs-index-image img {
        max-height: 62px !important;
        max-width: 95% !important;
    }

    .ijmhs-index-box h3 {
        font-size: 15px !important;
    }

    .ijmhs-index-box p {
        font-size: 11px !important;
    }

    .ijmhs-index-box > a {
        padding: 9px 10px !important;
        font-size: 11px !important;
    }

    .ijmhs-word-logo {
        font-size: 22px !important;
    }
}
