/* ==========================================================================
   PROACADEMIA THEME CSS
   ========================================================================== */

:root {
  --pa-primary: #105196; /* Navy blue from reference */
  --pa-primary-gradient: linear-gradient(135deg, #105196 0%, #0d3d73 100%);
  --pa-accent: #facc15;
  --pa-surface: #ffffff;
  --pa-surface-2: #f8fafc;
  --pa-surface-3: #f1f5f9;
  --pa-text: #1e293b;
  --pa-text-muted: #64748b;
  --pa-text-light: #94a3b8;
  --pa-border: #e2e8f0;
  --pa-border-2: #cbd5e1;
  --pa-radius: 0.5rem;
  --pa-radius-lg: 1rem;
  --pa-transition: all 0.3s ease;
  --pa-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --pa-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --pa-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --pa-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pa-font-serif: 'Merriweather', Georgia, "Times New Roman", Times, serif;
}

body {
  font-family: var(--pa-font-sans);
  color: var(--pa-text);
  background: var(--pa-surface-2);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--pa-text);
}

a {
  color: var(--pa-primary);
  text-decoration: none;
  transition: var(--pa-transition);
}
a:hover {
  color: #0d3d73;
}

/* ==========================================================================
   TOPBAR & NAVBAR
   ========================================================================== */
.pa-topbar {
  background: var(--pa-primary-gradient);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.pa-topbar a { color: #fff; text-decoration: underline; }
.pa-navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050 !important;
  background: var(--pa-surface) !important;
  border-bottom: 1px solid var(--pa-border);
  padding: 0.85rem 0;
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}
.pa-navbar.pa-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 0;
}
.pa-navbar-brand { font-weight: 800; font-size: 1.5rem; color: var(--pa-primary); }

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.pa-hero {
  background: var(--pa-primary-gradient);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* ── Hero Background Animations ── */
.pa-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.pa-hero-bg-blueprint {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.pa-hero-blueprint-grid {
  position: absolute;
  width: 250%;
  height: 250%;
  top: -75%;
  left: -75%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 38px 38px;
  animation: paGridDrift 28s linear infinite;
}
@keyframes paGridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(38px, 38px, 0); }
}
.pa-glyph {
  position: absolute;
  font-family: monospace, sans-serif;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pa-glyph-1 { top: 10%; right: 6%; font-size: 3rem; color: #facc15; animation: paFloatRotate 12s ease-in-out infinite; }
.pa-glyph-2 { bottom: 12%; right: 16%; font-size: 2.2rem; color: #ffffff; animation: paFloatRotateReverse 14s ease-in-out infinite; }
.pa-glyph-3 { top: 18%; left: 32%; font-size: 1.8rem; color: #facc15; animation: paPulseBob 4s ease-in-out infinite; }
.pa-glyph-4 { bottom: 20%; left: 5%; font-size: 2.5rem; color: #ffffff; animation: paFloatRotate 16s ease-in-out infinite; }
.pa-glyph-5 { top: 62%; right: 4%; font-size: 1.6rem; color: #facc15; animation: paPulseBob 5s ease-in-out infinite; }
.pa-glyph-6 { top: 8%; left: 7%; font-size: 1.5rem; color: rgba(255,255,255,0.7); animation: paFloatRotateReverse 11s ease-in-out infinite; }

@keyframes paFloatRotate {
  0% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(-10px, -14px, 0) rotate(180deg); }
  100% { transform: translate3d(0,0,0) rotate(360deg); }
}
@keyframes paFloatRotateReverse {
  0% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(10px, 12px, 0) rotate(-180deg); }
  100% { transform: translate3d(0,0,0) rotate(-360deg); }
}
@keyframes paPulseBob {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.8; }
  50% { transform: translate3d(0, -12px, 0) scale(1.15); opacity: 1; }
}

.pa-hero-bg-marquee {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  opacity: 0.15;
}
.pa-marquee-track { display: flex; white-space: nowrap; width: max-content; }
.pa-marquee-left { animation: paMarqueeLeft 26s linear infinite; }
.pa-marquee-right { animation: paMarqueeRight 30s linear infinite; }
.pa-marquee-track span {
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: transparent;
  -webkit-text-stroke: 2px #ffffff;
  padding-right: 2.5rem;
}
@keyframes paMarqueeLeft {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}
@keyframes paMarqueeRight {
  0% { transform: translate3d(-50%,0,0); }
  100% { transform: translate3d(0,0,0); }
}

.pa-hero-bg-dotmatrix { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.pa-dotmatrix-canvas {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 2px, transparent 2px);
  background-size: 32px 32px;
}
.pa-dotmatrix-radar {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  animation: paRadarSweep 5s ease-in-out infinite;
}
@keyframes paRadarSweep {
  0% { transform: translate3d(-100%,0,0); }
  50% { transform: translate3d(100%,0,0); }
  100% { transform: translate3d(100%,0,0); }
}
.pa-matrix-cross {
  position: absolute; font-family: monospace; font-weight: 900; font-size: 1.5rem;
  color: #facc15; animation: paCrossBlink 2.4s steps(2, start) infinite;
}
.pa-mc-1 { top: 16%; left: 12%; animation-delay: 0s; }
.pa-mc-2 { top: 22%; right: 10%; animation-delay: 0.5s; }
.pa-mc-3 { bottom: 18%; left: 24%; animation-delay: 1.1s; }
.pa-mc-4 { bottom: 28%; right: 26%; animation-delay: 1.7s; }
.pa-mc-5 { top: 68%; right: 6%; animation-delay: 0.8s; }
@keyframes paCrossBlink {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.pa-hero-bg-parallax { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.pa-floating-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.95); color: #0f172a; border-radius: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); padding: 0.45rem 0.9rem; font-weight: 800; font-size: 0.82rem;
}
.pa-fb-1 { top: 14%; right: 8%; animation: paBadgeFloat1 4.8s ease-in-out infinite; }
.pa-fb-2 { bottom: 16%; right: 18%; background: #facc15; animation: paBadgeFloat2 5.5s ease-in-out infinite; }
.pa-fb-3 { top: 24%; left: 28%; animation: paBadgeFloat1 5.2s ease-in-out infinite; }
.pa-fb-4 { bottom: 20%; left: 4%; animation: paBadgeFloat2 6s ease-in-out infinite; }
@keyframes paBadgeFloat1 {
  0%, 100% { transform: translate3d(0,0,0) rotate(4deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(1deg); }
}
@keyframes paBadgeFloat2 {
  0%, 100% { transform: translate3d(0,0,0) rotate(-3deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(-6deg); }
}
.pa-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
}
.pa-hero-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.pa-issn-badges { display: flex; gap: 1rem; }
.pa-issn-badge {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--pa-radius);
  overflow: hidden;
  font-size: 0.85rem;
}
.pa-issn-badge-label {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.5rem;
  font-weight: 700;
}
.pa-issn-badge-value { padding: 0.25rem 0.5rem; font-family: monospace; }
.pa-hero-desc { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; }

.btn-pa-hero-primary {
  background: #fff;
  color: var(--pa-primary);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--pa-radius);
  border: none;
}
.btn-pa-hero-primary:hover { background: var(--pa-surface-2); color: var(--pa-primary); }

.btn-pa-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--pa-radius);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-pa-hero-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

.pa-cover-card {
  position: relative;
  box-shadow: var(--pa-shadow-lg);
  border-radius: var(--pa-radius);
  background: var(--pa-surface);
  padding: 0.5rem;
}
.pa-cover-card img { width: 100%; border-radius: calc(var(--pa-radius) - 0.25rem); }
.pa-cover-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--pa-accent);
  color: #000;
  font-size: 0.75rem; font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  z-index: 10;
  box-shadow: var(--pa-shadow);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.pa-stats-bar {
  background: var(--pa-surface);
  border-bottom: 1px solid var(--pa-border);
  padding: 2rem 0;
  box-shadow: var(--pa-shadow-sm);
}
.pa-stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-right: 1px solid var(--pa-border);
}
.pa-stat-item:last-child { border-right: none; }
.pa-stat-number { font-size: 2rem; font-weight: 800; color: var(--pa-primary); line-height: 1; }
.pa-stat-label { font-size: 0.875rem; color: var(--pa-text-muted); font-weight: 600; margin-top: 0.5rem; text-transform: uppercase; }

/* ==========================================================================
   MAIN CONTENT & COMPONENTS
   ========================================================================== */
.pa-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pa-text);
  margin-bottom: 0.5rem;
}
.pa-section-divider {
  width: 50px;
  height: 4px;
  background: var(--pa-primary);
  margin-bottom: 1rem;
  border-radius: 2px;
}
.pa-view-all { font-weight: 600; font-size: 0.9rem; }

.pa-sidebar-card {
  background: var(--pa-surface);
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius);
  overflow: hidden;
  box-shadow: var(--pa-shadow-sm);
}
.pa-sidebar-header {
  background: var(--pa-primary-gradient);
  color: #fff;
  padding: 0.75rem 1.1rem;
  font-size: 0.845rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pa-announce-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--pa-radius);
  box-shadow: var(--pa-shadow-sm);
  transition: var(--pa-transition);
}
.pa-announce-card:hover { transform: translateY(-3px); box-shadow: var(--pa-shadow); }
.pa-announce-date { font-size: 0.85rem; color: var(--pa-text-light); }
.pa-announce-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }

.btn-pa-pdf {
  background: var(--pa-primary);
  color: #fff;
  border-radius: var(--pa-radius);
  font-weight: 600;
  transition: var(--pa-transition);
  text-decoration: none;
}
.btn-pa-pdf:hover { background: #0d3d73; color: #fff; }

.pa-article-list-item:hover { box-shadow: var(--pa-shadow); border-color: var(--pa-primary); }

/* ==========================================================================
   OJS DEFAULT SIDEBAR BLOCKS (.pkp_block)
   ========================================================================== */
.pkp_block {
  background: var(--pa-surface);
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--pa-shadow-sm);
}
.pkp_block .title {
  background: var(--pa-primary-gradient);
  color: #fff;
  padding: 0.75rem 1.1rem;
  font-size: 0.845rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  border-bottom: none;
}
.pkp_block .content {
  padding: 1.15rem;
  font-size: 0.875rem;
  color: var(--pa-text-muted);
}
.pkp_block .content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pkp_block .content li {
  margin-bottom: 0;
  list-style: none;
}
.pkp_block .content em.fa,
.pkp_block .content i.fa,
.pkp_block .content .mcd-menu em {
  display: none !important;
}
.pkp_block .content li > a,
.pkp_block .content > a,
.pkp_block .content p > a:only-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  font-size: 0.845rem;
  font-weight: 700;
  color: var(--pa-text);
  background: var(--pa-surface-2, #f8fafc);
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius);
  text-decoration: none;
  transition: var(--pa-transition);
}
.pkp_block .content li > a::after,
.pkp_block .content > a::after,
.pkp_block .content p > a:only-child::after {
  content: "\f285";
  font-family: bootstrap-icons;
  font-size: 0.75rem;
  opacity: 0.5;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.pkp_block .content li > a:hover,
.pkp_block .content > a:hover,
.pkp_block .content p > a:only-child:hover {
  background: var(--pa-primary);
  color: #ffffff !important;
  border-color: var(--pa-primary);
  transform: translateX(3px);
}
.pkp_block .content li > a:hover::after,
.pkp_block .content > a:hover::after,
.pkp_block .content p > a:only-child:hover::after {
  opacity: 1;
  transform: translateX(2px);
}
.pkp_block .content img { max-width: 100%; height: auto; border-radius: var(--pa-radius); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.pa-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}
.pa-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1.5rem; }
.pa-footer a { color: #94a3b8; }
.pa-footer a:hover { color: #fff; }

/* ==========================================================================
   AUTH PAGES
   ========================================================================== */
.pa-auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2.5rem 0; }
.pa-auth-card { background: var(--pa-surface); border-radius: var(--pa-radius-lg); overflow: hidden; box-shadow: var(--pa-shadow-lg); width: 100%; max-width: 1000px; margin: 0 auto; }
.pa-auth-left { background: var(--pa-primary-gradient); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.pa-auth-logo-wrap { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.pa-auth-logo-img { max-height: 90px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.pa-auth-left-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.pa-auth-left-title { font-size: 1.5rem; font-weight: 800; color: #fff; }
.pa-auth-left-sub { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; }
.pa-auth-feature-pill { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; background: rgba(255, 255, 255, 0.12); border-radius: 0.5rem; color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.pa-auth-right { padding: 3rem; background: var(--pa-surface); }
.pa-auth-right-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.25rem; color: var(--pa-text); }
.pa-auth-right-sub { font-size: 0.9rem; color: var(--pa-text-muted); }
.pa-register-section-title { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 700; color: var(--pa-primary); }
.pa-form-icon-wrap { position: relative; display: flex; align-items: center; width: 100%; }
.pa-form-icon-wrap > i.bi { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.1rem; color: var(--pa-text-muted); pointer-events: none; z-index: 2; }
.pa-form-control { width: 100%; padding: 0.65rem 1rem 0.65rem 2.75rem; font-size: 0.95rem; border: 1.5px solid var(--pa-border); border-radius: var(--pa-radius); background: var(--pa-surface); color: var(--pa-text); transition: var(--pa-transition); }
.pa-form-control:focus { outline: none; border-color: var(--pa-primary); box-shadow: 0 0 0 3px var(--pa-primary-subtle); }
select.pa-form-control { appearance: auto; padding-left: 2.75rem; }
.pa-pw-toggle { position: absolute; right: 0.85rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--pa-text-muted); cursor: pointer; padding: 0.25rem; font-size: 1.1rem; z-index: 3; }
.btn-pa-submit { width: 100%; padding: 0.75rem 1.5rem; background: var(--pa-primary-gradient); color: #fff; font-weight: 700; border: none; border-radius: var(--pa-radius); display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; cursor: pointer; transition: var(--pa-transition); }
.btn-pa-submit:hover { opacity: 0.92; color: #fff; }
.pa-auth-consent-box { background: var(--pa-surface-2); border: 1px solid var(--pa-border); border-radius: var(--pa-radius); padding: 1rem 1.25rem; }
.pa-auth-divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; color: var(--pa-text-muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; }
.pa-auth-divider::before, .pa-auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--pa-border); }
.pa-auth-divider:not(:empty)::before { margin-right: 1rem; }
.pa-auth-divider:not(:empty)::after { margin-left: 1rem; }

/* ==========================================================================
   WHATSAPP & UTILS
   ========================================================================== */
.pa-wa-btn {
  position: fixed; bottom: 98px; right: 29px;
  background: #25d366; color: #fff;
  width: 50px; height: 50px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 10px rgba(37,211,102,0.3); z-index: 99990;
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, transform var(--pa-transition-fast), box-shadow var(--pa-transition-fast);
}
.pa-wa-btn:hover { background: #20bd5a; color: #fff; transform: scale(1.08); }

@media (max-width: 480px) {
  .pa-wa-btn {
    bottom: 85px;
    right: 20px;
  }
  body:has(#ai-chat-fab) .pa-wa-btn,
  body:has(.ai-chat-fab) .pa-wa-btn,
  body.has-ai-chat .pa-wa-btn {
    bottom: 150px !important;
    right: 19px !important;
  }
}

body:has(.ai-chat-window.open) .pa-wa-btn,
body.ai-chat-window-open .pa-wa-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.7) !important;
}
/* NAVBAR MENU & DARK MODE TOGGLE */
.navbar-nav .nav-link {
  color: var(--pa-text);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: var(--pa-transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: var(--pa-primary);
}
.dropdown-menu {
  border: 1px solid var(--pa-border);
  box-shadow: var(--pa-shadow);
  border-radius: var(--pa-radius);
  background: var(--pa-surface);
}
.dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pa-text);
}
.dropdown-item:hover {
  background: var(--pa-surface-3);
  color: var(--pa-primary);
}
.pa-dark-toggle {
  background: transparent;
  border: none;
  color: var(--pa-text);
  font-size: 1.25rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--pa-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pa-dark-toggle:hover {
  color: var(--pa-primary);
  transform: rotate(15deg);
}
/* SEARCH BOX & NAV EXTRAS */
.pa-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pa-search-icon {
  position: absolute;
  left: 1rem;
  color: var(--pa-text-muted);
}
.pa-search-input {
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border-radius: 2rem;
  border: 1px solid var(--pa-border);
  background: var(--pa-surface-3);
  color: var(--pa-text);
  font-size: 0.9rem;
  transition: var(--pa-transition);
  width: 200px;
}
.pa-search-input:focus {
  outline: none;
  border-color: var(--pa-primary);
  background: var(--pa-surface);
  box-shadow: 0 0 0 3px rgba(16, 81, 150, 0.1);
  width: 250px;
}
#main-navigation li > a {
  color: var(--pa-text);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: var(--pa-transition);
  text-decoration: none;
  display: block;
}
#main-navigation li > a:hover {
  color: var(--pa-primary);
}
.btn-pa-login {
  background: var(--pa-primary-gradient);
  color: #fff;
  padding: 0.5rem 1.15rem;
  border-radius: 2rem;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.btn-pa-login:hover { color: #fff; opacity: 0.9; }
.btn-pa-register {
  background: transparent;
  color: var(--pa-primary);
  padding: 0.5rem 1.15rem;
  border-radius: 2rem;
  font-weight: 600;
  border: 1.5px solid var(--pa-primary);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: var(--pa-transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-pa-register:hover {
  background: var(--pa-primary);
  color: #fff;
}
/* RESET OJS MENU LISTS */
ul.pkp_nav_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* MAIN NAVIGATION OJS FIX */
#main-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#main-navigation > li {
  position: relative;
  list-style: none;
}
#main-navigation > li > a {
  color: var(--pa-text);
  font-weight: 700;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--pa-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}
#main-navigation > li:has(ul) > a::after,
#main-navigation > li.has-submenu > a::after {
  content: "\f282";
  font-family: bootstrap-icons;
  font-size: 0.7rem;
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
  display: inline-block;
}
#main-navigation > li:hover:has(ul) > a::after,
#main-navigation > li:hover.has-submenu > a::after,
#main-navigation > li.pa-open > a::after {
  transform: rotate(180deg);
}
#main-navigation li > a:hover, #main-navigation li > a:focus {
  color: var(--pa-primary);
  background: var(--pa-surface-3);
}

/* OJS DROPDOWNS */
#main-navigation > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--pa-surface, #ffffff) !important;
  min-width: 220px;
  box-shadow: var(--pa-shadow-lg);
  border-radius: var(--pa-radius);
  border: 1px solid var(--pa-border);
  z-index: 99999 !important;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
}
#main-navigation > li > ul::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  display: block;
}
#main-navigation > li:hover > ul,
#main-navigation > li:focus-within > ul,
#main-navigation > li.show > ul,
#main-navigation > li.pa-open > ul {
  display: block !important;
  animation: paDropdownFade 0.15s ease-out forwards;
}
#main-navigation li ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}
#main-navigation li ul li > a {
  padding: 0.65rem 1.25rem !important;
  text-transform: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pa-text) !important;
  background: transparent;
  display: block !important;
  width: 100%;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
#main-navigation li ul li > a:hover {
  background: var(--pa-surface-3) !important;
  color: var(--pa-primary) !important;
}
@keyframes paDropdownFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* USER MENU OJS FIX */
#navigationUser {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#navigationUser > li { position: relative; list-style: none; }
#navigationUser > li > a {
  font-weight: 700;
  color: var(--pa-primary);
  background: var(--pa-surface-3);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
#navigationUser > li:has(ul) > a::after,
#navigationUser > li.has-submenu > a::after {
  content: "\f282";
  font-family: bootstrap-icons;
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.2s ease;
}
#navigationUser > li:hover:has(ul) > a::after,
#navigationUser > li.pa-open > a::after {
  transform: rotate(180deg);
}
#navigationUser > li:hover > a { background: var(--pa-primary); color: #fff; }
#navigationUser > li > ul {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--pa-surface, #ffffff) !important;
  min-width: 200px;
  box-shadow: var(--pa-shadow-lg);
  border-radius: var(--pa-radius);
  border: 1px solid var(--pa-border);
  z-index: 99999 !important;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
}
#navigationUser > li > ul::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  display: block;
}
#navigationUser > li:hover > ul,
#navigationUser > li:focus-within > ul,
#navigationUser > li.show > ul,
#navigationUser > li.pa-open > ul {
  display: block !important;
  animation: paDropdownFade 0.15s ease-out forwards;
}
#navigationUser li ul li {
  list-style: none;
  display: block;
  width: 100%;
}
#navigationUser li ul li > a {
  padding: 0.55rem 1.25rem !important;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pa-text) !important;
  background: transparent;
  text-decoration: none;
  display: block !important;
  width: 100%;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
#navigationUser li ul li > a:hover { background: var(--pa-surface-3) !important; color: var(--pa-primary) !important; }
/* FOOTER FIXES */
.pa-footer-brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.2;
}
.pa-footer-issn-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--pa-radius);
  overflow: hidden;
  font-size: 0.8rem;
  width: fit-content;
}
.pa-footer-issn-badge-label {
  background: var(--pa-primary);
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
}
.pa-footer-issn-badge-val {
  padding: 0.2rem 0.5rem;
  font-family: monospace;
  color: #cbd5e1;
}
.pa-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pa-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #94a3b8;
  transition: var(--pa-transition);
}
.pa-social-btn:hover {
  background: var(--pa-primary);
  color: #fff;
  border-color: var(--pa-primary);
  transform: translateY(-2px);
}
.pa-footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.pa-footer-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 3px;
  background: var(--pa-primary);
  border-radius: 2px;
}
ul.pa-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pa-footer-links li {
  margin-bottom: 0.75rem;
}
.pa-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--pa-transition);
  display: inline-flex;
  align-items: center;
}
.pa-footer-links a::before {
  content: "\f285"; /* bi-chevron-right */
  font-family: bootstrap-icons;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  opacity: 0.5;
  transition: var(--pa-transition);
}
.pa-footer-links a:hover {
  color: #fff;
}
.pa-footer-links a:hover::before {
  opacity: 1;
  color: var(--pa-primary);
  transform: translateX(3px);
}
.pa-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pa-footer-contact-item i {
  color: var(--pa-primary);
  margin-top: 0.2rem;
}
.pa-footer-ojs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--pa-radius);
  border: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: var(--pa-transition);
}
.pa-footer-ojs-badge:hover {
  background: rgba(255,255,255,0.08);
}
.pa-footer-ojs-badge i {
  font-size: 1.5rem;
  color: #94a3b8;
}
.pa-footer-ojs-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
}
.pa-footer-ojs-sub {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pa-footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ARTICLE DETAILS OVERRIDES */
.pa-article-wrap { padding: 2rem 0; }
.pa-article-section-badge {
  display: inline-block;
  background: var(--pa-surface-3);
  color: var(--pa-text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  border: 2px solid var(--pa-border);
}
.pa-article-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--pa-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.pa-article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--pa-border);
}
.pa-article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pa-text-muted);
}
/* ── Meta Stats Badges ─────────────────────────────────────────── */
.pa-meta-stats-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pa-meta-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--pa-surface-2);
  border: 1.5px solid var(--pa-border);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pa-text);
}
.pa-meta-stat-pill i {
  color: var(--pa-primary);
}

/* ── Authors Grid & Chips ───────────────────────────────────────── */
.pa-authors-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pa-author-chip-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--pa-surface);
  border: 1.5px solid var(--pa-border);
  border-radius: var(--pa-radius);
  padding: 0.6rem 0.9rem;
  box-shadow: 1px 1px 0px var(--pa-border);
  transition: all 0.2s ease;
}
.pa-author-chip-card:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 0px var(--pa-primary);
}
.pa-author-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--pa-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.pa-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.pa-author-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pa-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pa-text);
}
.pa-author-affiliation {
  font-size: 0.8rem;
  color: var(--pa-text-muted);
}
.pa-orcid-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  text-decoration: none;
}
.pa-orcid-badge:hover {
  background: #16a34a;
  color: #fff;
}
.pa-country-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pa-text-muted);
  background: var(--pa-surface-3);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}
.pa-author-bio-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pa-primary);
  text-decoration: none;
}
.pa-author-bio-link:hover {
  text-decoration: underline;
}

/* ── Content Cards (Abstract, References, Bios, License) ────────── */
.pa-content-card {
  background: var(--pa-surface);
  border: 1.5px solid var(--pa-border);
  border-radius: var(--pa-radius-lg);
  box-shadow: var(--pa-shadow-sm);
  overflow: hidden;
}
.pa-card-header-bar {
  background: var(--pa-surface-2);
  padding: 1rem 1.5rem;
  border-bottom: 1.5px solid var(--pa-border);
}
.pa-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pa-text);
  margin: 0;
  display: flex;
  align-items: center;
}
.pa-card-counter-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--pa-primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}
.pa-card-body {
  padding: 1.5rem;
}

/* ── Abstract & Keywords ───────────────────────────────────────── */
.pa-abstract-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--pa-text);
  font-family: inherit;
  font-style: normal;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.pa-abstract-body p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 0.75rem;
}
.pa-abstract-body p:last-child {
  margin-bottom: 0;
}
.pa-keywords-section {
  border-top: 1px solid var(--pa-border);
}
.pa-keywords-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--pa-text);
}
.pa-keyword-badge {
  display: inline-flex;
  align-items: center;
  background: var(--pa-surface-2);
  border: 1px solid var(--pa-border);
  color: var(--pa-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.pa-keyword-badge:hover {
  background: var(--pa-primary);
  color: #fff;
  border-color: var(--pa-primary);
  transform: translateY(-1px);
}

/* ── References Section ────────────────────────────────────────── */
.pa-reference-list {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 0;
}
.pa-ref-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--pa-border);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pa-text);
}
.pa-ref-item:last-child {
  border-bottom: none;
}
.pa-ref-content {
  display: inline;
}
.pa-ref-doi-badge, .pa-ref-url-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-decoration: none;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.pa-ref-doi-badge {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.pa-ref-doi-badge:hover {
  background: #0284c7;
  color: #fff;
}
.pa-ref-url-badge {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.3);
}
.pa-ref-url-badge:hover {
  background: #475569;
  color: #fff;
}

/* ── Author Biographies ────────────────────────────────────────── */
.pa-bio-item-card {
  background: var(--pa-surface-2);
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius);
  padding: 1.25rem;
}
.pa-bio-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--pa-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.pa-bio-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pa-text);
}
.pa-bio-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pa-text);
  margin-top: 0.5rem;
}
.pa-bio-text p { margin-bottom: 0.5rem; }

/* ── License & Copyright ──────────────────────────────────────── */
.pa-license-badge-box {
  min-width: 110px;
}
.pa-license-img {
  max-width: 100px;
  height: auto;
  border-radius: 4px;
}
.pa-cc-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pa-text-muted);
}
.pa-copyright-notice {
  font-size: 0.95rem;
  color: var(--pa-text);
}
.pa-license-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--pa-text-muted);
}
.pa-license-url-link {
  color: var(--pa-primary);
  font-weight: 600;
}
.pa-lic-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pa-primary);
  background: var(--pa-surface-2);
  border: 1px solid var(--pa-border);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ── Sidebar Metrics Box ───────────────────────────────────────── */
.pa-metric-box {
  background: var(--pa-surface-2);
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.pa-metric-icon {
  font-size: 1.25rem;
  color: var(--pa-primary);
}
.pa-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pa-text);
}
.pa-metric-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pa-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pa-sidebar-issue-cover img {
  width: 100%;
  height: auto;
  border: 2px solid var(--pa-border);
  box-shadow: 2px 2px 0px var(--pa-border);
  border-radius: var(--pa-radius);
}
.pa-sidebar-body { padding: 1.25rem; }
.pkp_block iframe, .pkp_block embed, .pkp_block object, .pa-sidebar-card iframe {
  max-width: 100%;
}

/* ==========================================================================
   ABOUT THE JOURNAL SECTION
   ========================================================================== */
.pa-about-card {
  background: var(--pa-surface);
  border: 2px solid var(--pa-primary);
  border-radius: var(--pa-radius-lg);
  padding: 2.25rem;
  box-shadow: 0 4px 20px -2px rgba(16, 81, 150, 0.08);
  position: relative;
  overflow: hidden;
}
.pa-about-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--pa-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(16, 81, 150, 0.25);
}
.pa-about-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pa-text);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.pa-about-subtitle {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pa-primary);
  margin-top: 0.2rem;
}
.pa-about-description {
  font-size: 0.95rem;
  color: var(--pa-text-muted);
  line-height: 1.65;
}
.pa-about-info-tile {
  background: var(--pa-surface);
  border: 1.5px solid var(--pa-primary);
  border-radius: var(--pa-radius);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  transition: var(--pa-transition);
}
.pa-about-info-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(16, 81, 150, 0.1);
}
.pa-about-tile-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 8px;
  background: rgba(16, 81, 150, 0.08);
  color: var(--pa-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.pa-about-tile-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pa-about-tile-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pa-text-muted);
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 2px;
}
.pa-about-tile-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pa-text);
  line-height: 1.35;
  word-break: break-word;
}
.btn-pa-about-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--pa-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  border: 2px solid var(--pa-primary);
  box-shadow: 0 4px 14px rgba(16, 81, 150, 0.25);
  transition: var(--pa-transition);
  text-decoration: none;
}
.btn-pa-about-primary:hover {
  background: #0d3d73;
  border-color: #0d3d73;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 81, 150, 0.35);
}
.btn-pa-about-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #eff6ff;
  color: var(--pa-primary) !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  border: 1.5px solid #bfdbfe;
  transition: var(--pa-transition);
  text-decoration: none;
}
.btn-pa-about-secondary:hover {
  background: #dbeafe;
  border-color: var(--pa-primary);
  color: var(--pa-primary) !important;
  transform: translateY(-2px);
}

.pa-about-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pa-text);
}
.pa-about-content p {
  margin-bottom: 1.25rem;
}
.pa-about-content p:last-child {
  margin-bottom: 0;
}
.pa-about-content h1, .pa-about-content h2, .pa-about-content h3, .pa-about-content h4 {
  color: var(--pa-text);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.pa-about-content ul, .pa-about-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.pa-about-content li {
  margin-bottom: 0.4rem;
}
.pa-about-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--pa-radius);
}

/* ==========================================================================
   FEATURED CURRENT ISSUE CARD
   ========================================================================== */
.pa-current-issue-card {
  background: var(--pa-surface);
  border: 2px solid var(--pa-primary);
  border-radius: var(--pa-radius-lg);
  padding: 2.25rem;
  box-shadow: 0 4px 20px -2px rgba(16, 81, 150, 0.08);
  position: relative;
  overflow: hidden;
}
.pa-current-issue-img {
  max-width: 190px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pa-current-issue-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.pa-current-issue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #eff6ff;
  color: var(--pa-primary);
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
}
.pa-current-issue-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pa-text);
  line-height: 1.3;
}
.pa-current-issue-title a {
  color: inherit;
  text-decoration: none;
}
.pa-current-issue-title a:hover {
  color: var(--pa-primary);
}
.pa-current-issue-desc {
  font-size: 0.92rem;
  color: var(--pa-text-muted);
  line-height: 1.65;
}
.pa-current-issue-desc p {
  margin-bottom: 0.5rem;
}
.pa-current-issue-desc p:last-child {
  margin-bottom: 0;
}
.pa-current-issue-desc a {
  color: var(--pa-primary);
  text-decoration: underline;
}
.pa-current-issue-desc a:hover {
  color: var(--pa-primary-dark, #0d3d73);
}
.pa-current-issue-date {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
}

/* ==========================================================================
   INDEXING SERVICES LOGO GRID
   ========================================================================== */
.pa-indexing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
}
.pa-indexing-grid-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  width: 100%;
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .pa-indexing-grid-main {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .pa-indexing-grid-main {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .pa-indexing-grid,
  .pa-indexing-grid-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}
@media (min-width: 992px) {
  .pa-indexing-grid-main > :last-child:nth-child(4n + 1) {
    grid-column: 1 / -1;
    max-width: 250px;
    margin: 0 auto;
  }
}
.pa-indexing-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid var(--pa-border);
  border-radius: var(--pa-radius);
  padding: 0.75rem 1rem;
  min-height: 64px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: var(--pa-shadow-sm);
  transition: var(--pa-transition);
  text-decoration: none;
  position: relative;
}
.pa-indexing-tile:hover {
  border-color: var(--pa-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16, 81, 150, 0.16);
  z-index: 5;
}
.pa-indexing-logo {
  height: 38px;
  max-width: 165px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.pa-indexing-tile:hover .pa-indexing-logo {
  transform: scale(1.06);
}

@keyframes paModernPulse {
  0% { transform: translate3d(0, 0, 0); box-shadow: var(--pa-shadow-sm); }
  38% { transform: translate3d(0, -5px, 0); box-shadow: 0 10px 24px rgba(16, 81, 150, 0.2); border-color: var(--pa-primary); }
  72% { transform: translate3d(0, -1.5px, 0); box-shadow: 0 6px 16px rgba(16, 81, 150, 0.12); }
  100% { transform: translate3d(0, 0, 0); box-shadow: var(--pa-shadow-sm); }
}
.pa-indexing-tile.pa-brutal-alive-a,
.pa-indexing-tile.pa-brutal-alive-b,
.pa-indexing-tile.pa-brutal-alive-c {
  animation: paModernPulse 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pa-indexing-tile-sm {
  min-height: 42px;
  padding: 0.4rem 0.85rem;
}
.pa-indexing-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pa-text);
}

/* ==========================================================================
   ARTICLE SUMMARY CARD V2 (Modern High-Profile Layout)
   ========================================================================== */
.pa-section-header-block {
  position: relative;
  margin-bottom: 1.25rem;
}
.pa-section-header-underline {
  height: 3px;
  width: 44px;
  background: var(--pa-primary);
  margin-top: 6px;
  border-radius: 2px;
}

.pa-article-card-v2 {
  background: #ffffff;
  border: 1.5px solid var(--pa-border);
  border-radius: var(--pa-radius-lg, 14px);
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.pa-article-card-v2:hover {
  border-color: var(--pa-primary);
  box-shadow: 0 10px 28px rgba(16, 81, 150, 0.09);
  transform: translateY(-2px);
}

.pa-art-card-inner {
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
}

/* ── Thumbnail Graphic Column ── */
.pa-art-thumb-col {
  flex-shrink: 0;
  width: 120px;
}
.pa-art-thumb-link {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
}
.pa-art-cover-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--pa-border);
  box-shadow: var(--pa-shadow-sm);
  transition: transform 0.25s ease;
}
.pa-art-thumb-link:hover .pa-art-cover-img {
  transform: scale(1.04);
}

.pa-art-graphic-tile {
  display: block;
  text-decoration: none;
  width: 120px;
  height: 120px;
}
.pa-art-graphic-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #dbeafe;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.35rem;
  text-align: center;
  color: var(--pa-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pa-art-graphic-tile:hover .pa-art-graphic-box {
  transform: scale(1.03);
  border-color: var(--pa-primary);
  box-shadow: 0 4px 12px rgba(16, 81, 150, 0.12);
}
.pa-art-graphic-header {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--pa-primary);
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pa-art-graphic-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pa-primary);
}
.pa-art-graphic-svg {
  transition: transform 0.2s ease;
}
.pa-art-graphic-tile:hover .pa-art-graphic-svg {
  transform: scale(1.08);
}
.pa-art-graphic-footer {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--pa-text-light, #64748b);
}

/* ── Content Column ── */
.pa-art-content-col {
  flex: 1;
  min-width: 0;
}

/* ── Top Row: Pills & Date ── */
.pa-art-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.pa-art-pills-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.pa-art-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  line-height: 1.3;
}
.pa-pill-section {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.pa-pill-views {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.pa-pill-downloads {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}
.pa-art-date-box {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pa-text-light, #64748b);
}

/* ── Middle Row: Title ── */
.pa-art-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.pa-art-title a {
  color: var(--pa-text, #0f172a);
  text-decoration: none;
  transition: color 0.15s ease;
}
.pa-art-title a:hover {
  color: var(--pa-primary);
}

/* ── Author Row ── */
.pa-art-authors {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--pa-text-muted, #475569);
  margin-bottom: 0.85rem;
}
.pa-art-author-icon {
  color: var(--pa-primary);
  font-size: 0.95rem;
}
.pa-art-author-item strong {
  font-weight: 600;
  color: var(--pa-text, #1e293b);
}
.pa-art-role {
  font-size: 0.76rem;
  color: var(--pa-text-light, #64748b);
  font-weight: 500;
  margin-left: 0.15rem;
}

/* ── Bottom Row: Identifiers & Action Buttons ── */
.pa-art-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--pa-border-2, #f1f5f9);
}
.pa-art-identifiers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.pa-art-doi-box {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  overflow: hidden;
}
.pa-art-doi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.pa-art-doi-link:hover {
  background: #f1f5f9;
  color: var(--pa-primary);
}
.pa-btn-copy-doi {
  border: none;
  border-left: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.pa-btn-copy-doi:hover {
  background: #f1f5f9;
  color: var(--pa-primary);
}
.pa-btn-copy-doi.pa-copied {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.pa-dimensions-badge-box {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  transition: transform 0.15s ease;
}
.pa-dimensions-badge-box:hover {
  transform: translateY(-1px);
}
.pa-dimensions-badge-box .__dimensions_badge_embed__ {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.pa-art-pages {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pa-text-muted, #475569);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* ── Actions Buttons (Right) ── */
.pa-art-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.btn-pa-pdf-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid #0284c7;
  color: #0284c7;
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.1);
  transition: all 0.2s ease;
}
.btn-pa-pdf-action:hover {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}

.btn-pa-turnitin-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid #059669;
  color: #059669;
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.1);
  transition: all 0.2s ease;
}
.btn-pa-turnitin-action:hover {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transform: translateY(-1px);
}

.btn-pa-custom-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1.5px solid #64748b;
  color: #475569;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-pa-custom-action:hover {
  background: #64748b;
  color: #ffffff;
}

/* ── Mobile Responsive ── */
@media (max-width: 767.98px) {
  .pa-art-card-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .pa-art-thumb-col {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
  .pa-art-graphic-tile,
  .pa-art-cover-img {
    width: 100%;
    max-width: 100%;
    height: 90px;
  }
  .pa-art-graphic-box {
    flex-direction: row;
    padding: 0.5rem 1rem;
  }
  .pa-art-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .pa-art-actions {
    width: 100%;
  }
  .btn-pa-pdf-action,
  .btn-pa-turnitin-action {
    flex: 1;
    justify-content: center;
  }
}

/* ==========================================================================
   MONTHLY VIEWS & DOWNLOADS STATISTICS CARD
   ========================================================================== */
.pa-monthly-stats-card {
  background: #ffffff;
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius-lg, 12px);
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-top: 1rem;
}

.pa-stats-icon-box {
  width: 44px;
  height: 44px;
  background: var(--pa-primary, #1a56db);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.pa-stats-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pa-text);
  line-height: 1.25;
}

.pa-stats-card-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pa-text-muted);
}

.pa-metric-badge {
  background: #ffffff;
  border: 1.5px solid var(--pa-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pa-metric-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.pa-metric-views {
  border-color: #1d4ed8;
  color: #1d4ed8;
}
.pa-metric-downloads {
  border-color: #059669;
  color: #059669;
}
.pa-metric-avg-views {
  border-color: #0284c7;
  color: #0284c7;
}
.pa-metric-avg-downloads {
  border-color: #10b981;
  color: #10b981;
}

.pa-metric-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.pa-metric-value {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
}

.pa-chart-filters {
  background: var(--pa-surface-2, #f8fafc);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--pa-border);
}

.pa-chart-filter-btn {
  border: none;
  background: transparent;
  color: var(--pa-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.pa-chart-filter-btn:hover {
  color: var(--pa-text);
}
.pa-chart-filter-btn.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
}

.pa-chart-legend {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pa-text);
}

.pa-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pa-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.pa-legend-views {
  background: #0284c7;
}
.pa-legend-downloads {
  background: #10b981;
}

.pa-chart-wrapper {
  position: relative;
  height: 320px;
  width: 100%;
}

/* ==========================================================================
   GEOGRAPHIC DISTRIBUTION OF AUTHORS CARD
   ========================================================================== */
.pa-author-geo-card {
  background: #ffffff;
  border: 1px solid var(--pa-border);
  border-radius: var(--pa-radius-lg, 12px);
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-top: 1.5rem;
}

.pa-geo-icon-box {
  width: 44px;
  height: 44px;
  background: var(--pa-primary, #1a56db);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.pa-geo-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pa-text);
  line-height: 1.25;
}

.pa-geo-card-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pa-text-muted);
}

/* Metric Badges in Header */
.pa-geo-metric-badge {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  text-align: center;
  min-width: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pa-geo-metric-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.pa-geo-metric-authors {
  border: 2px solid #1d4ed8;
  color: #1d4ed8;
}
.pa-geo-metric-countries {
  border: 2px solid #10b981;
  color: #10b981;
}

.pa-geo-metric-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.pa-geo-metric-value {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

/* Map Wrapper */
.pa-geo-map-wrapper {
  background: #f8fafc;
  border: 1px solid var(--pa-border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

#paAuthorGeoMap {
  width: 100%;
  height: 380px;
}

/* Floating Legend on Map */
.pa-geo-legend {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 10;
}
.pa-geo-legend-title {
  color: #64748b;
  font-weight: 700;
}
.pa-geo-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pa-geo-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.pa-geo-dot-low {
  background: #93c5fd;
}
.pa-geo-dot-high {
  background: #1e3a8a;
}

/* Right Column Country List */
.pa-geo-country-panel {
  background: #f8fafc;
  border: 1px solid var(--pa-border);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
}

.pa-geo-country-header {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pa-text);
  letter-spacing: -0.2px;
}

.pa-geo-country-list {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 4px;
}
.pa-geo-country-list::-webkit-scrollbar {
  width: 4px;
}
.pa-geo-country-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.pa-geo-country-item {
  font-size: 0.85rem;
}

.pa-geo-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 5px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.pa-geo-country-name {
  font-weight: 600;
  color: var(--pa-text);
}

.pa-geo-country-count strong {
  font-weight: 800;
  color: var(--pa-text);
}
.pa-geo-country-pct {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
}

.pa-geo-progress {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.pa-geo-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.pa-geo-footer-note {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

/* Tooltip & Zoom Buttons */
.jvm-zoom-btn {
  border-radius: 6px !important;
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  line-height: 18px !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  top: 12px !important;
  left: 12px !important;
}
.jvm-zoom-btn.jvm-zoomout {
  top: 44px !important;
}
.jvm-zoom-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

.jvm-tooltip {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  z-index: 1050 !important;
}
.pa-geo-tooltip-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}
.pa-geo-tooltip-stat {
  color: #38bdf8;
  font-weight: 600;
}
.pa-geo-tooltip-none {
  color: #94a3b8;
}

/* ── Archive & Issue Base Styles ────────────────────────────────── */
.pa-archive-page-wrap,
.pa-issue-page-wrap {
  min-height: 60vh;
}
.pa-archive-intro {
  background: #ffffff;
  border: 1px solid var(--pa-border, #e2e8f0);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}
.pa-archive-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--pa-primary, #1e3a8a);
}
.pa-archive-sub {
  font-size: 0.88rem;
  color: #64748b;
}
.pa-archive-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
}
.pa-issue-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--pa-border, #e2e8f0);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pa-issue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.pa-issue-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 280px;
  background: #0f172a;
  overflow: hidden;
}
.pa-issue-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pa-issue-vol-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--pa-primary, #1e3a8a);
  color: #ffffff;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  text-transform: uppercase;
}
.pa-issue-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pa-issue-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.pa-issue-card-title a {
  color: inherit;
  text-decoration: none;
}
.btn-pa-issue-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--pa-primary, #1e3a8a);
  color: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
}
.pa-sidebar-issue-cover img {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
}
.pa-toc-cover-wrap img {
  max-height: 260px;
  width: 100%;
  object-fit: contain;
}

/* ── Citation Style Language (CSL) Icon & Dropdown Fix ─────────── */
.citation_display .citation_formats_button:after {
  display: inline-block !important;
  font-family: bootstrap-icons !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  content: "\f282" !important; /* bi-chevron-down */
  position: absolute !important;
  top: 50% !important;
  right: 1rem !important;
  transform: translateY(-50%) !important;
  transition: transform 0.2s ease !important;
}
.citation_display .citation_formats_button[aria-expanded="true"]:after {
  content: "\f286" !important; /* bi-chevron-up */
}
.citation_display .fa,
.citation_display .fa-download {
  display: inline-block !important;
  font-family: bootstrap-icons !important;
  font-style: normal !important;
  font-weight: 400 !important;
  margin-right: 0.4rem !important;
}
.citation_display .fa-download:before,
.citation_display .fa.fa-download:before {
  content: "\f30a" !important; /* bi-download */
}
