/* ==========================================================================
   JSA Modern Academic Theme — OJS 3.5 Child Theme
   Journal of Surgical Arts / Cerrahi Sanatlar Dergisi
   ========================================================================== */

:root {
  --jsa-navy: #0b2545;
  --jsa-navy-mid: #133863;
  --jsa-navy-deep: #071930;
  --jsa-teal: #0d9488;
  --jsa-teal-hover: #0f766e;
  --jsa-teal-soft: #e6f7f5;
  --jsa-blue: #0284c7;
  --jsa-pdf: #dc2626;
  --jsa-pdf-bg: #fef2f2;
  --jsa-pdf-border: #fecaca;
  --jsa-bg: #f4f7fb;
  --jsa-surface: #ffffff;
  --jsa-surface-alt: #f8fafc;
  --jsa-border: #e2e8f0;
  --jsa-border-strong: #cbd5e1;
  --jsa-text: #0f172a;
  --jsa-text-secondary: #334155;
  --jsa-text-muted: #64748b;
  --jsa-radius-sm: 8px;
  --jsa-radius: 14px;
  --jsa-radius-lg: 20px;
  --jsa-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --jsa-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --jsa-shadow-md: 0 10px 25px -5px rgba(11, 37, 69, 0.08), 0 4px 10px -4px rgba(11, 37, 69, 0.04);
  --jsa-shadow-lg: 0 20px 40px -12px rgba(11, 37, 69, 0.18);
  --jsa-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --jsa-font-serif: 'Source Serif 4', Georgia, Cambria, serif;
  --jsa-transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Global Reset & Base Typography ---------- */
body.jsa-theme {
  font-family: var(--jsa-font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--jsa-text);
  background: var(--jsa-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

body.jsa-no-scroll {
  overflow: hidden;
}

.jsa-theme *,
.jsa-theme *::before,
.jsa-theme *::after {
  box-sizing: border-box;
}

.jsa-theme a {
  color: var(--jsa-navy-mid);
  text-decoration: none;
  transition: color var(--jsa-transition), background-color var(--jsa-transition), border-color var(--jsa-transition), transform var(--jsa-transition), box-shadow var(--jsa-transition);
}

.jsa-theme a:hover {
  color: var(--jsa-teal);
}

/* Neutralize OJS Default Theme legacy structural rules */
.jsa-theme .pkp_structure_page {
  background: var(--jsa-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.jsa-theme .pkp_structure_content,
.jsa-theme .pkp_structure_main,
.jsa-theme .pkp_structure_sidebar,
.jsa-theme .pkp_structure_head,
.jsa-theme .pkp_structure_footer_wrapper {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0;
  margin: 0;
  border: 0;
}

.jsa-theme .pkp_structure_content::before,
.jsa-theme .pkp_structure_content::after,
.jsa-theme .pkp_structure_main::before,
.jsa-theme .pkp_structure_main::after,
.jsa-theme .pkp_structure_sidebar::before,
.jsa-theme .pkp_structure_sidebar::after,
.jsa-theme .row::before,
.jsa-theme .row::after,
.jsa-theme .obj_article_summary::before,
.jsa-theme .obj_article_summary::after,
.jsa-theme .obj_issue_summary::before,
.jsa-theme .obj_issue_summary::after,
.jsa-theme .obj_issue_toc::before,
.jsa-theme .obj_issue_toc::after {
  display: none !important;
  content: none !important;
}

.jsa-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.jsa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--jsa-font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all var(--jsa-transition);
}

.jsa-btn-sm {
  padding: 8px 15px;
  font-size: 13px;
  border-radius: 9px;
}

.jsa-btn-block {
  width: 100%;
}

.jsa-btn-primary {
  background: var(--jsa-navy);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.2);
}

.jsa-btn-primary:hover {
  background: var(--jsa-teal);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.28);
}

.jsa-btn-accent {
  background: var(--jsa-teal);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.jsa-btn-accent:hover {
  background: #14b8a6;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.jsa-btn-outline {
  background: var(--jsa-surface);
  color: var(--jsa-navy) !important;
  border-color: var(--jsa-border-strong);
}

.jsa-btn-outline:hover {
  border-color: var(--jsa-teal);
  color: var(--jsa-teal) !important;
  background: var(--jsa-teal-soft);
}

.jsa-btn-white-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.jsa-btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff !important;
}

.jsa-btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.9) !important;
  padding-left: 10px;
  padding-right: 10px;
}

.jsa-btn-ghost-light:hover {
  color: #5eead4 !important;
}

.jsa-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--jsa-border);
  background: var(--jsa-surface);
  color: var(--jsa-text-secondary) !important;
  cursor: pointer;
}

.jsa-icon-btn:hover {
  border-color: var(--jsa-teal);
  color: var(--jsa-teal) !important;
  background: var(--jsa-teal-soft);
}

/* ---------- Tier 1: Top Utility Bar ---------- */
.jsa-topbar {
  background: var(--jsa-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jsa-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.jsa-topbar-left,
.jsa-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jsa-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  font-weight: 500;
}

.jsa-topbar-badge strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jsa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  display: inline-block;
}

.jsa-topbar-meta {
  color: rgba(226, 232, 240, 0.72);
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.jsa-lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px;
  border-radius: 7px;
  gap: 2px;
}

.jsa-lang-pill {
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75) !important;
  letter-spacing: 0.04em;
}

.jsa-lang-pill:hover {
  color: #ffffff !important;
}

.jsa-lang-pill.is-active {
  background: var(--jsa-teal);
  color: #ffffff !important;
}

.jsa-user-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.jsa-user-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
}

.jsa-user-menu > li > a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  padding: 4px 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jsa-user-menu > li > a:hover {
  color: #5eead4 !important;
}

.jsa-user-menu ul {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 190px;
  background: var(--jsa-surface);
  border: 1px solid var(--jsa-border);
  border-radius: 10px;
  box-shadow: var(--jsa-shadow-md);
  list-style: none;
  padding: 6px;
  z-index: 200;
}

.jsa-user-menu > li:hover > ul,
.jsa-user-menu > li:focus-within > ul,
.jsa-user-menu > li.show > ul {
  display: block;
}

.jsa-user-menu ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--jsa-text) !important;
  font-size: 13px;
  font-weight: 500;
}

.jsa-user-menu ul li a:hover {
  background: var(--jsa-surface-alt);
  color: var(--jsa-teal) !important;
}

/* ---------- Tier 2: Sticky Main Header ---------- */
.jsa-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--jsa-border) !important;
  transition: box-shadow var(--jsa-transition);
}

.jsa-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
}

.jsa-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.jsa-brand {
  flex-shrink: 0;
}

.jsa-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.jsa-brand-emblem {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--jsa-border);
  padding: 3px;
  box-shadow: var(--jsa-shadow-xs);
}

.jsa-brand-monogram {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--jsa-navy), var(--jsa-teal));
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.jsa-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.jsa-brand-title {
  font-family: var(--jsa-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--jsa-navy);
  letter-spacing: -0.01em;
}

.jsa-brand-subtitle {
  font-size: 12px;
  font-weight: 500;
  color: var(--jsa-text-muted);
  margin-top: 2px;
}

/* Primary Nav */
.jsa-primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.jsa-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.jsa-nav-list > li {
  position: relative;
  margin: 0;
}

.jsa-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--jsa-text-secondary) !important;
  white-space: nowrap;
}

.jsa-nav-list > li > a:hover,
.jsa-nav-list > li.current > a {
  color: var(--jsa-teal) !important;
  background: var(--jsa-teal-soft);
}

.jsa-nav-list > li.has-submenu > a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  margin-left: 3px;
}

.jsa-nav-list > li > ul {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  min-width: 220px;
  background: var(--jsa-surface);
  border: 1px solid var(--jsa-border);
  border-radius: 12px;
  box-shadow: var(--jsa-shadow-md);
  list-style: none;
  padding: 6px;
  z-index: 180;
}

.jsa-nav-list > li:hover > ul,
.jsa-nav-list > li:focus-within > ul,
.jsa-nav-list > li.show > ul {
  display: block;
}

.jsa-nav-list > li > ul li a {
  display: block;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--jsa-text-secondary) !important;
}

.jsa-nav-list > li > ul li a:hover {
  background: var(--jsa-teal-soft);
  color: var(--jsa-teal) !important;
}

.jsa-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.jsa-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--jsa-border);
  background: var(--jsa-surface);
  color: var(--jsa-navy);
  cursor: pointer;
}

/* Mobile Drawer */
.jsa-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 48, 0.55);
  backdrop-filter: blur(3px);
  z-index: 300;
}

.jsa-mobile-backdrop.is-open {
  display: block;
}

.jsa-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--jsa-surface);
  z-index: 310;
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--jsa-shadow-lg);
}

.jsa-mobile-drawer.is-open {
  transform: translateX(0);
}

.jsa-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--jsa-border);
}

.jsa-mobile-drawer-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

.jsa-mobile-nav-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.jsa-mobile-nav-list li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--jsa-text) !important;
}

.jsa-mobile-nav-list li a:hover {
  background: var(--jsa-teal-soft);
  color: var(--jsa-teal) !important;
}

.jsa-mobile-nav-list ul {
  list-style: none;
  padding-left: 14px;
  margin: 0;
}

.jsa-mobile-nav-list ul li a {
  font-weight: 500;
  font-size: 13.5px;
  color: var(--jsa-text-muted) !important;
}

.jsa-mobile-divider {
  height: 1px;
  background: var(--jsa-border);
  margin: 14px 0;
}

/* ---------- Main 2-Column Portal Layout ---------- */
.jsa-main-container {
  flex: 1 0 auto;
  padding-top: 28px;
  padding-bottom: 56px;
}

.jsa-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.jsa-layout-grid.has_sidebar {
  grid-template-columns: minmax(0, 1fr) 324px;
}

.jsa-main-col {
  min-width: 0;
}

.jsa-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 94px;
}

/* ---------- Hero Showcase Banner ---------- */
.jsa-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--jsa-radius-lg);
  background: linear-gradient(135deg, #071930 0%, #0b2545 52%, #0f4c5c 100%);
  color: #ffffff;
  padding: 34px 36px 0;
  margin-bottom: 24px;
  box-shadow: var(--jsa-shadow-lg);
}

.jsa-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28) 0%, rgba(20, 184, 166, 0) 70%);
  pointer-events: none;
}

.jsa-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: 28px;
  align-items: center;
  padding-bottom: 28px;
}

.jsa-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.jsa-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.jsa-badge-teal {
  background: rgba(20, 184, 166, 0.22);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.jsa-badge-glass {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.jsa-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25);
  display: inline-block;
  flex-shrink: 0;
}

.jsa-hero-title {
  font-family: var(--jsa-font-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}

.jsa-hero-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #99f6e4;
  margin: 0 0 14px;
}

.jsa-hero-lead {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.88);
  margin: 0 0 22px;
  max-width: 620px;
}

.jsa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.jsa-hero-cover {
  display: flex;
  justify-content: center;
}

.jsa-cover-frame {
  width: 166px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
  transform: perspective(700px) rotateY(-6deg);
  transition: transform 280ms ease;
  background: #ffffff;
}

.jsa-cover-frame:hover {
  transform: perspective(700px) rotateY(0deg) translateY(-4px);
}

.jsa-cover-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Stats Strip inside Hero */
.jsa-stats-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 -36px;
  background: rgba(7, 25, 48, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.jsa-stat-item {
  padding: 16px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.jsa-stat-item:last-child {
  border-right: 0;
}

.jsa-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.jsa-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(203, 213, 225, 0.85);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Cards & Section Containers ---------- */
.jsa-section-card,
.jsa-card {
  background: var(--jsa-surface);
  border: 1px solid var(--jsa-border);
  border-radius: var(--jsa-radius);
  box-shadow: var(--jsa-shadow-sm);
}

.jsa-section-card {
  padding: 26px 28px;
  margin-bottom: 24px;
}

.jsa-card {
  padding: 22px;
}

.jsa-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--jsa-border);
}

.jsa-section-title {
  font-family: var(--jsa-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin: 0;
  line-height: 1.25;
}

.jsa-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jsa-teal);
  margin-bottom: 4px;
}

.jsa-section-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--jsa-teal) !important;
  white-space: nowrap;
}

.jsa-section-link:hover {
  color: var(--jsa-navy) !important;
}

.jsa-prose {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--jsa-text-secondary);
}

.jsa-prose p:last-child {
  margin-bottom: 0;
}

/* ---------- Recent Issues Strip ---------- */
.jsa-issues-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.jsa-issue-mini-card {
  display: flex;
  flex-direction: column;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid var(--jsa-border);
  background: var(--jsa-surface-alt);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.jsa-issue-mini-card:hover {
  background: #ffffff;
  border-color: var(--jsa-teal);
  transform: translateY(-2px);
  box-shadow: var(--jsa-shadow-sm);
}

.jsa-issue-mini-card.is-latest {
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  border-color: #99f6e4;
}

.jsa-issue-mini-year {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--jsa-teal);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.jsa-issue-mini-vol {
  font-size: 15px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin-bottom: 6px;
}

.jsa-issue-mini-meta {
  font-size: 12px;
  color: var(--jsa-text-muted);
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

/* ---------- Current Issue TOC & Article Cards ---------- */
.jsa-theme .obj_issue_toc .heading {
  margin: 0 0 18px;
}

.jsa-theme .obj_issue_toc .published {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--jsa-text-muted);
  background: var(--jsa-surface-alt);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--jsa-border);
}

.jsa-theme .obj_issue_toc .section {
  padding: 0;
  margin: 0 0 26px;
}

.jsa-theme .obj_issue_toc .section:last-child {
  margin-bottom: 0;
}

.jsa-theme .obj_issue_toc .section > h2,
.jsa-theme .obj_issue_toc .section > h3 {
  font-family: var(--jsa-font-sans);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--jsa-teal-hover);
  background: var(--jsa-teal-soft);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 7px;
  margin: 0 0 14px;
  position: static;
  border: 0;
}

.jsa-theme .obj_issue_toc .articles,
.jsa-theme ul.cmp_article_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jsa-theme .obj_issue_toc .articles > li,
.jsa-theme ul.cmp_article_list > li {
  margin: 0;
  padding: 0;
}

.jsa-article-card {
  background: var(--jsa-surface);
  border: 1px solid var(--jsa-border);
  border-left: 4px solid var(--jsa-navy-mid);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color var(--jsa-transition), box-shadow var(--jsa-transition), transform var(--jsa-transition);
}

.jsa-article-card:hover {
  border-color: var(--jsa-border-strong);
  border-left-color: var(--jsa-teal);
  box-shadow: var(--jsa-shadow-md);
  transform: translateY(-2px);
}

.jsa-article-card-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.jsa-article-cover {
  flex: 0 0 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--jsa-border);
}

.jsa-article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.jsa-article-card-main {
  flex: 1 1 auto;
  min-width: 0;
}

.jsa-article-title {
  font-family: var(--jsa-font-serif) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  margin: 0 0 8px !important;
}

.jsa-article-title a {
  color: var(--jsa-navy) !important;
  text-decoration: none !important;
}

.jsa-article-title a:hover {
  color: var(--jsa-teal) !important;
}

.jsa-article-title .subtitle {
  display: block;
  font-family: var(--jsa-font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--jsa-text-muted);
  margin-top: 3px;
}

.jsa-article-authors {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13.5px;
  color: var(--jsa-text-secondary);
  margin-bottom: 12px;
  line-height: 1.45;
}

.jsa-article-authors svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--jsa-text-muted);
}

.jsa-article-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--jsa-border);
}

.jsa-article-meta-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.jsa-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--jsa-text-muted);
  background: var(--jsa-surface-alt);
  border: 1px solid var(--jsa-border);
}

.jsa-meta-doi {
  color: var(--jsa-navy-mid);
  background: #eff6ff;
  border-color: #dbeafe;
}

.jsa-article-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jsa-galley-list,
.jsa-theme .obj_article_summary .galleys_links {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  gap: 6px;
}

.jsa-theme .obj_galley_link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 13px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  background: var(--jsa-pdf-bg) !important;
  color: var(--jsa-pdf) !important;
  border: 1px solid var(--jsa-pdf-border) !important;
  text-decoration: none !important;
}

.jsa-theme .obj_galley_link:hover {
  background: var(--jsa-pdf) !important;
  color: #ffffff !important;
  border-color: var(--jsa-pdf) !important;
}

.jsa-theme .obj_galley_link::before {
  color: currentColor !important;
  margin-right: 0 !important;
}

.jsa-detail-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--jsa-navy-mid) !important;
}

.jsa-detail-link:hover {
  color: var(--jsa-teal) !important;
}

/* ---------- Indexing & Visibility Grid ---------- */
.jsa-indexes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 12px;
}

.jsa-index-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--jsa-border);
  border-radius: 10px;
  transition: all var(--jsa-transition);
}

.jsa-index-tile:hover {
  border-color: var(--jsa-teal);
  transform: translateY(-2px);
  box-shadow: var(--jsa-shadow-sm);
}

.jsa-index-tile img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--jsa-transition);
}

.jsa-index-tile:hover img {
  filter: grayscale(0%);
}

/* ---------- Sidebar Cards (DergiPark Style) ---------- */
.jsa-cta-card {
  border-top: 4px solid var(--jsa-teal);
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 42%);
}

.jsa-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--jsa-teal-hover);
  background: var(--jsa-teal-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.jsa-cta-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--jsa-text-secondary);
  margin: 0 0 16px;
}

.jsa-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jsa-card-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--jsa-border);
}

.jsa-card-heading svg {
  color: var(--jsa-teal);
  flex-shrink: 0;
}

.jsa-meta-list {
  margin: 0;
  padding: 0;
}

.jsa-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}

.jsa-meta-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.jsa-meta-row dt {
  color: var(--jsa-text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.jsa-meta-row dd {
  margin: 0;
  color: var(--jsa-text);
  font-weight: 600;
  text-align: right;
}

.jsa-oa-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.jsa-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jsa-quick-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--jsa-text-secondary) !important;
}

.jsa-quick-links li a::after {
  content: '→';
  color: var(--jsa-text-muted);
  font-size: 12px;
  transition: transform var(--jsa-transition);
}

.jsa-quick-links li a:hover {
  background: var(--jsa-teal-soft);
  color: var(--jsa-teal-hover) !important;
}

.jsa-quick-links li a:hover::after {
  transform: translateX(3px);
  color: var(--jsa-teal);
}

/* Native OJS Sidebar Plugin Blocks */
.jsa-native-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jsa-theme .pkp_block {
  background: var(--jsa-surface);
  border: 1px solid var(--jsa-border);
  border-radius: var(--jsa-radius);
  padding: 20px;
  box-shadow: var(--jsa-shadow-sm);
  margin: 0;
}

.jsa-theme .pkp_block .title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--jsa-border);
  display: block;
}

.jsa-theme .pkp_block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jsa-theme .pkp_block ul li {
  margin: 4px 0;
}

.jsa-theme .pkp_block ul li a {
  display: block;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--jsa-text-secondary) !important;
}

.jsa-theme .pkp_block ul li a:hover {
  background: var(--jsa-teal-soft);
  color: var(--jsa-teal) !important;
}

/* ---------- Inner Pages Card Wrapper ---------- */
.jsa-theme .page {
  background: var(--jsa-surface);
  border: 1px solid var(--jsa-border);
  border-radius: var(--jsa-radius);
  padding: 28px 32px;
  box-shadow: var(--jsa-shadow-sm);
}

.jsa-theme .page > h1 {
  font-family: var(--jsa-font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--jsa-border);
  line-height: 1.25;
}

/* Breadcrumbs */
.jsa-theme .cmp_breadcrumbs {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.jsa-theme .cmp_breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--jsa-text-muted);
}

.jsa-theme .cmp_breadcrumbs a {
  color: var(--jsa-text-muted) !important;
  font-weight: 500;
}

.jsa-theme .cmp_breadcrumbs a:hover {
  color: var(--jsa-teal) !important;
}

.jsa-theme .cmp_breadcrumbs .current {
  color: var(--jsa-navy);
  font-weight: 600;
}

/* ---------- Archive Page Grid ---------- */
.jsa-theme ul.issues_archive {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.jsa-theme ul.issues_archive > li {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.jsa-archive-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--jsa-surface);
  border: 1px solid var(--jsa-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--jsa-transition);
}

.jsa-archive-card:hover {
  border-color: var(--jsa-teal);
  transform: translateY(-3px);
  box-shadow: var(--jsa-shadow-md);
}

.jsa-archive-cover {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--jsa-navy);
  text-decoration: none !important;
}

.jsa-archive-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jsa-typo-cover {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #071930 0%, #0b2545 55%, #0f5257 100%);
  color: #ffffff;
  position: relative;
}

.jsa-typo-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jsa-typo-acronym {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(20, 184, 166, 0.28);
  color: #5eead4;
  padding: 3px 8px;
  border-radius: 5px;
}

.jsa-typo-year {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.jsa-typo-cover-mid {
  margin: 6px 0;
}

.jsa-typo-vol {
  font-family: var(--jsa-font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.jsa-typo-num {
  font-size: 14px;
  font-weight: 500;
  color: #99f6e4;
  margin-top: 2px;
}

.jsa-typo-cover-bot {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 8px;
}

.jsa-archive-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jsa-archive-title {
  font-family: var(--jsa-font-sans) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
}

.jsa-archive-title a {
  color: var(--jsa-navy) !important;
}

.jsa-archive-title a:hover {
  color: var(--jsa-teal) !important;
}

.jsa-archive-series,
.jsa-archive-date {
  font-size: 12.5px;
  color: var(--jsa-text-muted);
}

.jsa-archive-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--jsa-text-secondary);
}

/* ---------- Article Detail Page ---------- */
.jsa-theme .obj_article_details .page_title {
  font-family: var(--jsa-font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--jsa-navy);
  margin: 0 0 8px !important;
}

.jsa-theme .obj_article_details .subtitle {
  font-family: var(--jsa-font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--jsa-text-muted);
  margin: 0 0 22px !important;
}

.jsa-theme .obj_article_details .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 26px;
  align-items: start;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.jsa-theme .obj_article_details .main_entry,
.jsa-theme .obj_article_details .entry_details {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.jsa-theme .obj_article_details .main_entry .item {
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

.jsa-theme .obj_article_details .authors {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jsa-theme .obj_article_details .authors > li {
  background: var(--jsa-surface-alt);
  border: 1px solid var(--jsa-border);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 !important;
}

.jsa-theme .obj_article_details .author_bios .authors {
  flex-direction: column;
}

.jsa-theme .obj_article_details .author_bios .authors > li {
  width: 100%;
  padding: 14px 16px;
}

.jsa-theme .obj_article_details .author_bios .sub_item .label {
  font-family: var(--jsa-font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin: 0 0 4px !important;
}

.jsa-theme .obj_article_details .author_bios .sub_item .value {
  font-size: 13.5px;
  color: var(--jsa-text-secondary);
}

.jsa-theme .obj_article_details .authors .name {
  font-weight: 700;
  color: var(--jsa-navy);
  font-size: 14px;
  display: block;
}

.jsa-theme .obj_article_details .authors .affiliation {
  font-size: 12.5px;
  color: var(--jsa-text-muted);
  display: block;
  margin-top: 2px;
}

.jsa-theme .obj_article_details .item.doi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px !important;
  background: #eff6ff;
  border: 1px solid #dbeafe !important;
  border-radius: 10px;
}

.jsa-theme .obj_article_details .item.doi .label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--jsa-navy);
  text-transform: uppercase;
  margin: 0 !important;
}

.jsa-theme .obj_article_details .item.doi .value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jsa-theme .obj_article_details .item.keywords {
  padding: 14px 16px !important;
  background: var(--jsa-surface-alt);
  border: 1px solid var(--jsa-border) !important;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--jsa-text-secondary);
}

.jsa-theme .obj_article_details .item.keywords .label {
  font-family: var(--jsa-font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin: 0 6px 0 0 !important;
  display: inline;
}

.jsa-copy-doi-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  background: #ffffff;
  color: var(--jsa-navy);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.jsa-copy-doi-btn:hover,
.jsa-copy-doi-btn.is-copied {
  background: var(--jsa-teal);
  border-color: var(--jsa-teal);
  color: #ffffff;
}

.jsa-theme .obj_article_details .item.abstract h2,
.jsa-theme .obj_article_details .item.abstract .label,
.jsa-theme .obj_article_details .item.references h2,
.jsa-theme .obj_article_details .item.references .label,
.jsa-theme .obj_article_details .item.author_bios > h2.label {
  font-family: var(--jsa-font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--jsa-navy);
  margin: 0 0 12px !important;
  display: block;
}

.jsa-theme .obj_article_details .item.abstract {
  font-size: 15px;
  line-height: 1.8;
  color: var(--jsa-text-secondary);
}

.jsa-theme .obj_article_details .entry_details .item {
  background: var(--jsa-surface-alt);
  border: 1px solid var(--jsa-border) !important;
  border-radius: 12px;
  padding: 16px !important;
  margin: 0 0 14px !important;
}

.jsa-theme .obj_article_details .entry_details .item.galleys {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
  border-color: var(--jsa-pdf-border) !important;
}

.jsa-theme .obj_article_details .entry_details .galleys_links {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jsa-theme .obj_article_details .entry_details .galleys_links li {
  margin: 0 !important;
  width: 100%;
}

.jsa-theme .obj_article_details .entry_details .galleys_links .obj_galley_link {
  width: 100%;
  justify-content: center;
  padding: 11px 16px !important;
  font-size: 14px !important;
}

.jsa-theme .obj_article_details .entry_details .label,
.jsa-theme .obj_article_details .entry_details h2 {
  font-family: var(--jsa-font-sans);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jsa-text-muted);
  margin: 0 0 8px !important;
}

.jsa-theme .obj_article_details .sub_item {
  margin-bottom: 12px;
}

.jsa-theme .obj_article_details .sub_item:last-child {
  margin-bottom: 0;
}

/* ---------- Forms, Search, Login & Register ---------- */
.jsa-theme .cmp_form input[type="text"],
.jsa-theme .cmp_form input[type="email"],
.jsa-theme .cmp_form input[type="password"],
.jsa-theme .cmp_form input[type="url"],
.jsa-theme .cmp_form input[type="search"],
.jsa-theme .cmp_form select,
.jsa-theme .cmp_form textarea {
  width: 100%;
  max-width: 480px;
  padding: 10px 14px;
  font-family: var(--jsa-font-sans);
  font-size: 14px;
  color: var(--jsa-text);
  background: #ffffff;
  border: 1px solid var(--jsa-border-strong);
  border-radius: 9px;
  transition: border-color var(--jsa-transition), box-shadow var(--jsa-transition);
}

.jsa-theme .cmp_form input:focus,
.jsa-theme .cmp_form select:focus,
.jsa-theme .cmp_form textarea:focus {
  outline: none;
  border-color: var(--jsa-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}

.jsa-theme .cmp_form .submit,
.jsa-theme .cmp_button,
.jsa-theme button.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-family: var(--jsa-font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff !important;
  background: var(--jsa-navy) !important;
  border: 1px solid var(--jsa-navy) !important;
  border-radius: 10px !important;
  cursor: pointer;
}

.jsa-theme .cmp_form .submit:hover,
.jsa-theme .cmp_button:hover,
.jsa-theme button.submit:hover {
  background: var(--jsa-teal) !important;
  border-color: var(--jsa-teal) !important;
}

/* Pagination */
.jsa-theme .cmp_pagination {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--jsa-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--jsa-text-muted);
}

.jsa-theme .cmp_pagination a {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--jsa-border-strong);
  background: #ffffff;
  font-weight: 600;
  color: var(--jsa-navy) !important;
}

.jsa-theme .cmp_pagination a:hover {
  border-color: var(--jsa-teal);
  color: var(--jsa-teal) !important;
}

/* ---------- DergiPark Submission Redirect Callout ---------- */
.jsa-dergipark-callout {
  background: linear-gradient(135deg, #071930 0%, #0b2545 55%, #0f4c5c 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 28px 30px;
  margin: 0 0 28px;
  box-shadow: var(--jsa-shadow-md);
}

.jsa-dergipark-callout .jsa-status-pill {
  background: rgba(20, 184, 166, 0.22);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.jsa-dergipark-callout h2 {
  font-family: var(--jsa-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.jsa-dergipark-callout p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
  margin: 0 0 20px;
}

.jsa-dergipark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- PDF Viewer Standalone Header Bar ---------- */
body.pkp_page_article.pkp_op_view .header_view {
  background: var(--jsa-navy-deep) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--jsa-font-sans);
}

body.pkp_page_article.pkp_op_view .header_view .return,
body.pkp_page_article.pkp_op_view .header_view .title {
  color: #ffffff !important;
}

body.pkp_page_article.pkp_op_view .header_view .download {
  background: var(--jsa-teal) !important;
  color: #ffffff !important;
  font-weight: 600;
}

body.pkp_page_article.pkp_op_view .header_view .download:hover {
  background: #14b8a6 !important;
}

/* ---------- Dark Academic Footer ---------- */
.jsa-footer {
  background: var(--jsa-navy-deep) !important;
  color: rgba(226, 232, 240, 0.85);
  margin-top: auto;
  padding: 52px 0 28px !important;
  border-top: 3px solid var(--jsa-teal) !important;
}

.jsa-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jsa-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.jsa-footer-emblem {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
}

.jsa-footer-title {
  font-family: var(--jsa-font-serif);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.jsa-footer-subtitle {
  font-size: 12px;
  color: #99f6e4;
}

.jsa-footer-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.8);
  margin: 0 0 12px;
}

.jsa-footer-issn {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
}

.jsa-footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ffffff;
  margin: 0 0 14px;
}

.jsa-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jsa-footer-col ul li a {
  font-size: 13.5px;
  color: rgba(203, 213, 225, 0.82) !important;
}

.jsa-footer-col ul li a:hover {
  color: #5eead4 !important;
}

.jsa-footer-pub {
  font-size: 13.5px;
  color: rgba(226, 232, 240, 0.85);
  margin: 0 0 14px;
}

.jsa-ojs-credit img {
  max-height: 36px;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: opacity var(--jsa-transition);
}

.jsa-ojs-credit:hover img {
  opacity: 1;
}

/* Full-width Indexing & ÜAK Notice Band in Footer */
.jsa-footer-indexing {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jsa-footer-note {
  max-width: 980px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.82);
}

.jsa-footer-note p {
  margin: 0 0 8px;
}

.jsa-footer-note p:last-child {
  margin-bottom: 0;
}

.jsa-footer-note strong {
  color: #5eead4;
  font-weight: 700;
}

.jsa-footer-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 12px;
  align-items: center;
}

.jsa-footer-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 9px 14px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform var(--jsa-transition), box-shadow var(--jsa-transition);
}

.jsa-footer-logo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.jsa-footer-logo-tile img {
  display: block;
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.jsa-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(148, 163, 184, 0.9);
}

.jsa-footer-oai a {
  color: rgba(203, 213, 225, 0.85) !important;
}

.jsa-footer-oai a:hover {
  color: #5eead4 !important;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1120px) {
  .jsa-primary-nav {
    display: none;
  }
  .jsa-mobile-toggle {
    display: inline-flex;
  }
  .jsa-layout-grid.has_sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .jsa-sidebar-col {
    position: static;
  }
}

@media (max-width: 900px) {
  .jsa-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .jsa-hero-cover {
    display: none;
  }
  .jsa-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jsa-stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .jsa-issues-strip,
  .jsa-theme ul.issues_archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jsa-theme .obj_article_details .row {
    grid-template-columns: minmax(0, 1fr);
  }
  .jsa-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jsa-container {
    padding: 0 16px;
  }
  .jsa-hide-sm,
  .jsa-hide-md {
    display: none !important;
  }
  .jsa-brand-title {
    font-size: 15.5px;
  }
  .jsa-hero {
    padding: 24px 20px 0;
  }
  .jsa-stats-strip {
    margin: 0 -20px;
  }
  .jsa-section-card,
  .jsa-theme .page {
    padding: 20px 18px;
  }
  .jsa-issues-strip,
  .jsa-theme ul.issues_archive,
  .jsa-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .jsa-article-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
