/* =====================================================
   JINBS THEME — single-journal design system
   Loaded after bootstrap.min.css / style.css, so plain
   class overrides here win by source order.
===================================================== */

:root {
  --jinbs-primary: #4f46e5;
  --jinbs-primary-dark: #3730a3;
  --jinbs-primary-light: #eef2ff;
  --jinbs-accent: #0d9488;
  --jinbs-accent-dark: #0f766e;
  --jinbs-accent-light: #ecfdf9;
  --jinbs-ink: #111827;
  --jinbs-muted: #6b7280;
  --jinbs-bg: #f6f7fb;
  --jinbs-surface: #ffffff;
  --jinbs-border: #e5e7eb;
  --jinbs-radius: 16px;
  --jinbs-radius-sm: 10px;
  --jinbs-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  --jinbs-shadow-hover: 0 18px 40px rgba(17, 24, 39, 0.12);
  --font-heading: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

/* -----------------------------------
   BASE / TYPE
----------------------------------- */
body {
  background: var(--jinbs-bg);
  font-family: var(--font-body);
  color: var(--jinbs-ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--jinbs-ink);
}

a {
  color: var(--jinbs-primary);
}

a:hover {
  color: var(--jinbs-primary-dark);
}

/* Local icon fallback for the frontend Bootstrap Icons used by this site. */
.bi::before {
  content: "" !important;
  display: inline-block !important;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  vertical-align: -0.125em;
  -webkit-mask: var(--bi-icon) center / contain no-repeat;
  mask: var(--bi-icon) center / contain no-repeat;
}

.bi-activity::before,
.bi-lightning-charge::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M13 2 4 14h7l-1 8 10-13h-7l1-7Z'/%3E%3C/svg%3E");
}

.bi-unlock::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M7 11V8a5 5 0 0 1 9.6-2M6 11h12v10H6z'/%3E%3C/svg%3E");
}

.bi-patch-check::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m12 2 2.2 2 3-.2 1.1 2.8 2.6 1.6-.8 3 1.1 2.8-2.6 1.7-1.1 2.8-3-.2L12 22l-2.2-2-3 .2-1.1-2.8-2.6-1.6.8-3-1.1-2.8 2.6-1.7 1.1-2.8 3 .2L12 2Z M8.5 12.3l2.2 2.2 4.8-5'/%3E%3C/svg%3E");
}

.bi-globe2::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/g%3E%3C/svg%3E");
}

.bi-upload::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M12 16V4m0 0L7 9m5-5 5 5M5 20h14'/%3E%3C/svg%3E");
}

.bi-search::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' d='m21 21-4.4-4.4M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z'/%3E%3C/svg%3E");
}

.bi-envelope::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 6h16v12H4z M4 7l8 6 8-6'/%3E%3C/svg%3E");
}

.bi-journal-text::before,
.bi-journal-bookmark::before,
.bi-file-earmark-text::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M7 3h9l4 4v14H7a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z M15 3v5h5M8 12h8M8 16h8'/%3E%3C/svg%3E");
}

.bi-list-check::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M10 6h10M10 12h10M10 18h10M3.5 6l1.4 1.4L7.5 4.8M3.5 12l1.4 1.4 2.6-2.6M3.5 18l1.4 1.4 2.6-2.6'/%3E%3C/svg%3E");
}

.bi-arrow-right::before,
.bi-arrow-right-short::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E");
}

.bi-arrow-up-right-square::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 5h14v14H5z M10 14l5-5m-4 0h4v4'/%3E%3C/svg%3E");
}

.bi-person::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8ZM4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

.bi-archive::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' d='M4 5h16v4H4z M6 9h12v11H6z M10 13h4'/%3E%3C/svg%3E");
}

.bi-stars::before {
  --bi-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m12 2 1.6 5.2L19 9l-5.4 1.8L12 16l-1.6-5.2L5 9l5.4-1.8L12 2Zm6 12 .9 2.8L22 18l-3.1 1.2L18 22l-.9-2.8L14 18l3.1-1.2L18 14ZM5 13l.8 2.2L8 16l-2.2.8L5 19l-.8-2.2L2 16l2.2-.8L5 13Z'/%3E%3C/svg%3E");
}

/* -----------------------------------
   BUTTONS
----------------------------------- */
.btn {
  border-radius: var(--jinbs-radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--jinbs-primary);
  border-color: var(--jinbs-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--jinbs-primary-dark) !important;
  border-color: var(--jinbs-primary-dark) !important;
}

.btn-outline-primary {
  color: var(--jinbs-primary);
  border-color: var(--jinbs-primary);
}

.btn-outline-primary:hover {
  background: var(--jinbs-primary);
  border-color: var(--jinbs-primary);
  color: #fff;
}

.text-primary {
  color: var(--jinbs-primary) !important;
}

.bg-primary {
  background: var(--jinbs-primary) !important;
}

.badge.bg-success {
  background: var(--jinbs-accent) !important;
}

/* -----------------------------------
   CARDS / PANELS
----------------------------------- */
.card {
  border: none;
  border-radius: var(--jinbs-radius);
  box-shadow: var(--jinbs-shadow);
}

.rounded-3 {
  border-radius: var(--jinbs-radius) !important;
}

.shadow-sm {
  box-shadow: var(--jinbs-shadow) !important;
}

/* -----------------------------------
   STICKY / GLASS NAVBAR
----------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--jinbs-border);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}

.frontend-logo {
  display: block;
  width: 160px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  position: relative;
  font-weight: 600;
  color: var(--jinbs-ink) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 3px;
  border-radius: 1px;
  background: var(--jinbs-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* "Submit Abstract" stands out as a filled pill among plain text links */
.nav-item-cta {
  margin-left: 0.5rem;
}

.nav-item-cta .nav-link {
  background: var(--jinbs-primary);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.5rem 1.15rem !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-item-cta .nav-link:hover {
  background: var(--jinbs-primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-item-cta .nav-link::after {
  display: none;
}

@media (max-width: 991.98px) {
  .nav-item-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-item-cta .nav-link {
    display: inline-flex;
  }
}

/* -----------------------------------
   HERO (single-journal homepage)
----------------------------------- */
.journal-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(236, 253, 249, 0.78) 100%),
    var(--journal-hero-bg) center / cover no-repeat,
    var(--jinbs-surface);
}

.journal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(79, 70, 229, 0.13), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(13, 148, 136, 0.14), transparent 45%),
    radial-gradient(circle at 60% 100%, rgba(79, 70, 229, 0.08), transparent 42%);
}

.journal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.58) 50%, rgba(255, 255, 255, 0.38) 100%);
}

.journal-hero > .container {
  position: relative;
  z-index: 1;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--jinbs-primary-light);
  color: var(--jinbs-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.hero-chip.accent {
  background: var(--jinbs-accent-light);
  color: var(--jinbs-accent-dark);
}

.journal-hero-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.journal-hero-subtitle {
  color: var(--jinbs-muted);
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 0;
}

.journal-hero-cover-frame {
  position: relative;
  padding: 10px;
}

.journal-hero-cover-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--jinbs-primary), var(--jinbs-accent));
  opacity: 0.16;
  transform: rotate(-3deg);
}

.journal-hero-cover {
  position: relative;
  max-height: 320px;
  width: auto;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: var(--jinbs-shadow-hover);
}

.journal-hero-cover-placeholder {
  height: 220px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed #c7d3ea;
  color: #9aa8c7;
  font-size: 3rem;
}

@media (max-width: 991.98px) {
  .journal-hero {
    padding: 2.75rem 0;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(236, 253, 249, 0.82) 100%),
      var(--journal-hero-bg) center / cover no-repeat,
      var(--jinbs-surface);
  }

  .journal-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .journal-hero .hero-chip-row,
  .journal-hero .d-flex.flex-wrap {
    justify-content: center;
  }
}

/* -----------------------------------
   STATS STRIP
----------------------------------- */
.stats-strip {
  background: var(--jinbs-surface);
  border-top: 1px solid var(--jinbs-border);
  border-bottom: 1px solid var(--jinbs-border);
  padding: 1.75rem 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--jinbs-primary-light);
  color: var(--jinbs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-item:nth-child(even) .stat-icon {
  background: var(--jinbs-accent-light);
  color: var(--jinbs-accent-dark);
}

.stat-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--jinbs-ink);
  margin-bottom: 0.1rem;
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--jinbs-muted);
}

/* -----------------------------------
   QUICK-LINK TILES
----------------------------------- */
.quick-tile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: 1.5rem;
  background: var(--jinbs-surface);
  border-radius: var(--jinbs-radius);
  box-shadow: var(--jinbs-shadow);
  text-decoration: none !important;
  color: var(--jinbs-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--jinbs-shadow-hover);
  color: var(--jinbs-primary-dark);
}

.quick-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--jinbs-primary-light);
  color: var(--jinbs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.quick-tile h6 {
  margin-bottom: 0.25rem;
}

.quick-tile p {
  color: var(--jinbs-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* -----------------------------------
   ARTICLE ROWS
----------------------------------- */
.tab-content article,
main article.pb-4 {
  border-color: var(--jinbs-border) !important;
  transition: background 0.15s ease;
}

/* -----------------------------------
   NAV TABS (Articles hub)
----------------------------------- */
.nav-tabs {
  border-bottom: none;
  gap: 0.5rem;
}

.nav-tabs .nav-link {
  border: none;
  border-radius: 999px;
  background: var(--jinbs-bg);
  color: var(--jinbs-muted);
  font-weight: 700;
  padding: 0.5rem 1.15rem;
}

.nav-tabs .nav-link.active {
  background: var(--jinbs-primary);
  color: #fff;
}

/* -----------------------------------
   PAGE HEADER BAND (content pages)
----------------------------------- */
.page-header-band {
  background: linear-gradient(135deg, var(--jinbs-primary-light) 0%, #ffffff 65%);
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--jinbs-border);
}

.page-header-band .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.page-header-band h1 {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.page-header-band p {
  color: var(--jinbs-muted);
  margin-bottom: 0;
}

/* -----------------------------------
   JOURNAL HEADER BAND (journal-scoped pages)
----------------------------------- */
.journal-header-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 52%, rgba(236, 253, 249, 0.72) 100%),
    var(--journal-header-bg) center / cover no-repeat,
    var(--jinbs-primary-light);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--jinbs-border);
}

.journal-header-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.1), transparent 38%),
    radial-gradient(circle at 92% 0%, rgba(13, 148, 136, 0.12), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.34));
}

.journal-header-band > .container {
  position: relative;
  z-index: 1;
}

.journal-header-thumb {
  width: 100%;
  max-width: 140px;
  border-radius: 14px;
  box-shadow: var(--jinbs-shadow);
}

.journal-header-thumb-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed #c7d3ea;
  color: #9aa8c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}

@media (max-width: 767.98px) {
  .journal-header-band {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 60%, rgba(236, 253, 249, 0.8) 100%),
      var(--journal-header-bg) center / cover no-repeat,
      var(--jinbs-primary-light);
  }
}

/* -----------------------------------
   SUBNAV PILLS (journal-scoped sub-pages)
----------------------------------- */
.subnav-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.subnav-pills a {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: var(--jinbs-surface);
  border: 1px solid var(--jinbs-border);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--jinbs-ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.subnav-pills a:hover,
.subnav-pills a.active {
  background: var(--jinbs-primary) !important;
  color: #fff !important;
  border-color: var(--jinbs-primary) !important;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22);
}

.subnav-pills a.active {
  font-weight: 800;
}

.journal-search {
  background: var(--jinbs-bg);
  padding: 4px 10px;
  border-radius: 999px;
}

.journal-search input {
  background: transparent;
  box-shadow: none;
  min-width: 200px;
}

/* -----------------------------------
   ARTICLE LIST CARDS
----------------------------------- */
.article-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-card-modern {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--jinbs-border);
  border-radius: 14px;
  padding: 1.15rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.article-card-modern.no-article-image {
  grid-template-columns: minmax(0, 1fr) auto;
}

.article-card-modern:hover {
  border-color: rgba(79, 70, 229, 0.28);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.article-card-thumb {
  align-self: start;
  background: var(--jinbs-bg);
  border: 1px solid var(--jinbs-border);
  border-radius: 12px;
  display: block;
  height: 104px;
  overflow: hidden;
  width: 128px;
}

.article-card-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 0.2s ease;
}

.article-card-modern:hover .article-card-thumb img {
  transform: scale(1.04);
}

.article-card-body {
  min-width: 0;
}

.article-meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.article-type-badge,
.article-access-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.38rem 0.65rem;
}

.article-type-badge {
  background: var(--jinbs-primary-light);
  color: var(--jinbs-primary-dark);
}

.article-access-badge {
  background: var(--jinbs-accent-light);
  color: var(--jinbs-accent-dark);
}

.article-status-text {
  color: var(--jinbs-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.article-card-title {
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 0.55rem;
}

.article-card-title a {
  color: var(--jinbs-ink);
  text-decoration: none;
}

.article-card-title a:hover {
  color: var(--jinbs-primary);
}

.article-authors {
  color: var(--jinbs-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.article-authors span {
  color: var(--jinbs-ink);
  font-weight: 800;
  margin-right: 0.25rem;
}

.article-detail-row {
  color: var(--jinbs-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.84rem;
}

.article-detail-row a {
  font-weight: 700;
  text-decoration: none;
}

.article-card-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
  min-width: 132px;
}

.article-action-primary,
.article-action-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-width: 120px;
  padding: 0.68rem 0.9rem;
  text-decoration: none;
}

.article-action-primary {
  background: var(--jinbs-primary);
  color: #fff;
}

.article-action-primary:hover {
  background: var(--jinbs-primary-dark);
  color: #fff;
}

.article-action-secondary {
  background: #fff;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.article-action-secondary:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.article-empty-state {
  align-items: center;
  background: var(--jinbs-bg);
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: var(--jinbs-muted);
  display: flex;
  gap: 0.65rem;
  padding: 1rem;
}

.article-empty-state p {
  margin: 0;
}

/* -----------------------------------
   ARTICLE DETAIL PAGE
----------------------------------- */
.article-detail-section {
  background: var(--jinbs-bg);
  padding: 1.5rem 0 3rem;
}

.article-detail-card {
  background: #fff;
  border: 1px solid var(--jinbs-border);
  border-radius: 16px;
  box-shadow: var(--jinbs-shadow);
  overflow: hidden;
}

.article-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 190px);
  gap: 2rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(238, 242, 255, 0.86), rgba(236, 253, 249, 0.5)),
    #fff;
  border-bottom: 1px solid var(--jinbs-border);
}

.article-detail-main {
  min-width: 0;
}

.article-detail-title {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.22;
  margin: 0 0 1rem;
}

.article-detail-status-badge {
  align-items: center;
  background: var(--jinbs-ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.48rem 0.78rem;
}

.article-detail-status-badge.status-inpress {
  background: #7c3aed;
}

.article-detail-status-badge.status-current {
  background: #0d9488;
}

.article-detail-status-badge.status-archive {
  background: #334155;
}

.article-detail-authors {
  color: var(--jinbs-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.article-detail-authors span {
  color: var(--jinbs-ink);
  font-weight: 800;
  margin-right: 0.25rem;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--jinbs-muted);
  font-size: 0.9rem;
}

.article-detail-meta a {
  font-weight: 800;
  text-decoration: none;
}

.article-detail-image {
  align-self: stretch;
  border-radius: 14px;
  border: 1px solid rgba(79, 70, 229, 0.16);
  overflow: hidden;
  height: 172px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.1);
}

.article-detail-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--jinbs-border);
}

.article-section-block {
  padding: 2rem;
}

.article-section-block h2,
.article-citation-panel h2 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.article-abstract-content {
  color: #475569;
  font-size: 1rem;
  line-height: 1.9;
}

.article-abstract-content p:last-child,
.article-citation-panel p:last-child {
  margin-bottom: 0;
}

.article-abstract-content strong,
.article-abstract-content b {
  color: var(--jinbs-ink);
}

.article-citation-panel {
  padding: 0 2rem 2rem;
}

.article-citation-panel > div {
  background: var(--jinbs-bg);
  border: 1px solid var(--jinbs-border);
  border-left: 4px solid var(--jinbs-primary);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
}

.article-citation-panel p {
  color: #475569;
  line-height: 1.75;
}

.article-citation-panel a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .article-card-modern {
    grid-template-columns: 1fr;
  }

  .article-card-modern.no-article-image {
    grid-template-columns: 1fr;
  }

  .article-card-thumb {
    height: 160px;
    width: 100%;
  }

  .article-card-actions {
    align-items: stretch;
    flex-direction: row;
    justify-content: flex-start;
    min-width: 0;
  }

  .article-detail-hero {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .article-detail-image {
    height: 180px;
    max-width: 220px;
  }

  .article-detail-actions,
  .article-section-block {
    padding: 1.25rem;
  }

  .article-citation-panel {
    padding: 0 1.25rem 1.25rem;
  }
}

/* -----------------------------------
   FOOTER
----------------------------------- */
.journal-footer {
  background: #fff;
  border-top: 1px solid var(--jinbs-border);
  color: var(--jinbs-muted);
  margin-top: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(0, 2fr);
  gap: 3rem;
  padding: 3rem 0 2rem;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 220px;
  object-fit: contain;
}

.journal-footer .footer-title {
  color: var(--jinbs-ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.journal-footer .footer-text {
  color: var(--jinbs-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.footer-submit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--jinbs-primary);
  font-weight: 700;
  text-decoration: none;
}

.footer-submit-link:hover {
  color: var(--jinbs-primary-dark);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.journal-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.journal-footer .footer-links li {
  margin-bottom: 0.55rem;
}

.journal-footer .footer-links a {
  color: var(--jinbs-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.journal-footer .footer-links a:hover {
  color: var(--jinbs-primary);
}

.footer-bottom {
  border-top: 1px solid var(--jinbs-border);
  color: var(--jinbs-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: space-between;
  padding: 1rem 0 1.25rem;
  font-size: 0.86rem;
}

@media (max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 575px) {
  .footer-main {
    padding: 2.25rem 0 1.5rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}

/* -----------------------------------
   SITE SEARCH PANEL — keep on brand
----------------------------------- */
.site-search-toggle {
  color: var(--jinbs-ink);
}

.site-search-panel .btn-primary {
  background: var(--jinbs-primary);
}
