@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600;1,700&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400;1,700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap");

:root {
  /* Colors */
  --aj-primary: #0a2647;
  --aj-secondary: #c5a059;
  --aj-accent: #144272;
  --aj-surface: #ffffff;
  --aj-surface-off: #f8fafc;
  --aj-text: #1e293b;
  --aj-muted: #64748b;
  --aj-border: #e2e8f0;
  --aj-border-light: #eef2f6;
  --aj-error: #dc2626;
  --aj-success: #16a34a;

  /* Shadows */
  --aj-shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --aj-shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --aj-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --aj-radius-sm: 6px;
  --aj-radius: 14px;
  --aj-radius-lg: 18px;
  --aj-radius-full: 9999px;

  /* Typography */
  --aj-serif: "Playfair Display", serif;
  --aj-sans: "Lato", sans-serif;

  /* Spacing */
  --aj-container-max: 1200px;
  --aj-container-padding: 24px;

  /* Transitions */
  --aj-transition-fast: 150ms ease;
  --aj-transition: 200ms ease;
  --aj-transition-slow: 300ms ease;

  /* Focus ring */
  --aj-focus-ring: 0 0 0 3px rgba(197, 160, 89, 0.4);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--aj-surface-off);
  color: var(--aj-text);
  font-family: var(--aj-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background: var(--aj-secondary);
  color: white;
}

/* Focus visible styles */
:focus-visible {
  outline: none;
  box-shadow: var(--aj-focus-ring);
}

/* Smooth transitions for interactive elements */
a,
button,
input,
select,
textarea {
  transition: color var(--aj-transition), background-color var(--aj-transition), border-color var(--aj-transition), box-shadow var(--aj-transition);
}

body.theme-ajtmbrrevamp .aj-hero a:link,
body.theme-ajtmbrrevamp .aj-issue-hero a:link,
body.theme-ajtmbrrevamp .aj-article-page .aj-article-hero a:link,
body.theme-ajtmbrrevamp .aj-masthead-banner a:link,
body.theme-ajtmbrrevamp .aj-footer a:link,
body.theme-ajtmbrrevamp .aj-ojs-footer-copy a:link {
  color: var(--aj-secondary);
}

/* Accessibility skip links (hidden until focused) */
.cmp_skip_to_content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
}

.cmp_skip_to_content a {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  color: var(--aj-primary);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--aj-shadow-card);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}

.cmp_skip_to_content a:focus,
.cmp_skip_to_content a:focus-visible {
  left: 12px;
}

body.theme-ajtmbrrevamp .pkp_structure_page {
  background: transparent;
}

/* Global: hide breadcrumbs across frontend pages */
body.theme-ajtmbrrevamp .cmp_breadcrumbs,
body.theme-ajtmbrrevamp .aj-article-breadcrumbs,
body.theme-ajtmbrrevamp nav[aria-label="Breadcrumb"],
body.theme-ajtmbrrevamp nav[aria-label="breadcrumb"],
body.theme-ajtmbrrevamp nav[aria-label="breadcrumbs"] {
  display: none !important;
}

.aj-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Extra side breathing room on tablets (including larger tablet landscapes) */
@media (min-width: 768px) and (max-width: 1366px) {
  .aj-container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .aj-topbar-inner,
  .aj-header-main {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.aj-topbar {
  background: #fff;
  border-bottom: 1px solid #eef2f6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aj-muted);
}

.aj-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.aj-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aj-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.aj-topbar-user .aj-user-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aj-topbar-user .aj-user-nav>li>a {
  color: var(--aj-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.aj-topbar a {
  color: var(--aj-muted);
  text-decoration: none;
  font-weight: 700;
}

.aj-divider {
  color: #d8e0ea;
}

.aj-header {
  background: #fff;
  box-shadow: var(--aj-shadow-soft);
  position: sticky;
  top: 0;
  z-index: 30;
}

.aj-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 24px;
  padding: 18px 0;
}

.aj-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 1;
  min-width: 0;
}

.aj-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.aj-logo {
  display: block;
  width: min(700px, 52vw);
  max-width: 100%;
}

.aj-logo-desktop-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.aj-logo-mobile-img {
  display: none;
}

/* Hard split for logo variants */
@media (min-width: 1001px) {
  .aj-logo-desktop-img {
    display: block !important;
  }
  .aj-logo-mobile-img {
    display: none !important;
  }
}

.aj-brand-text {
  text-decoration: none;
  color: var(--aj-primary);
  display: flex;
  flex-direction: column;
}

.aj-brand-title {
  font-family: var(--aj-serif);
  font-size: 22px;
  font-weight: 700;
}

.aj-brand-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aj-muted);
}

.aj-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

/* Mobile menu tools live inside the nav overlay, hidden on desktop */
.aj-mobile-menu-tools {
  display: none;
}

/* Mobile-only user menu block injected into fullscreen nav overlay */
.aj-mobile-user-menu,
.aj-mobile-user-nav {
  display: none;
}

.aj-nav .aj-nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.aj-nav .aj-nav-list>li>a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #334155;
  text-decoration: none;
}

.aj-nav .aj-user-nav {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}

.aj-nav .aj-user-nav>li>a {
  font-size: 12px;
  font-weight: 700;
  color: var(--aj-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.aj-nav-item {
  position: relative;
}

.aj-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aj-caret {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
}

.aj-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  padding-top: 20px;
  /* Visual spacing inside the menu */
  box-shadow: var(--aj-shadow-card);
  list-style: none;
  display: none;
  z-index: 40;
}

/* Invisible bridge to maintain hover when cursor moves to submenu */
.aj-submenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.aj-submenu-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--aj-text);
  text-decoration: none;
}

.aj-submenu-link:hover {
  background: var(--aj-surface-off);
  color: var(--aj-primary);
}

.aj-nav-item.has-children:hover .aj-submenu,
.aj-nav-item.has-children:focus-within .aj-submenu,
.aj-submenu.aj-submenu-visible {
  display: block;
}

/* ============================================
   OJS PKP NAVIGATION DROPDOWN STYLES
   ============================================ */

/* Style the OJS-generated primary navigation */
.aj-nav .pkp_nav_list,
.aj-nav .pkp_navigation_primary {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aj-nav .pkp_nav_list>li {
  position: relative;
}

.aj-nav .pkp_nav_list>li>a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--aj-transition), border-color var(--aj-transition);
}

.aj-nav .pkp_nav_list>li>a:hover {
  color: var(--aj-secondary);
  border-bottom-color: var(--aj-secondary);
}

/* OJS Dropdown submenus */
.aj-nav .pkp_nav_list ul {
  position: absolute;
  top: 100%;
  left: -9999px;
  /* Hidden by default (OJS pattern) */
  z-index: 1000;
  min-width: 220px;
  margin: 0;
  margin-top: 0;
  /* No gap between trigger and menu */
  padding: 12px;
  padding-top: 16px;
  background: var(--aj-surface);
  border-radius: 12px;
  box-shadow: var(--aj-shadow-lg);
  list-style: none;
}

/* Invisible bridge to keep hover active when moving to submenu */
/* This bridge extends above the menu to catch the cursor */
.aj-nav .pkp_nav_list ul::before {
  content: '';
  position: absolute;
  top: -100px;
  /* Large enough to cover any potential gap */
  left: -20px;
  right: -20px;
  height: 100px;
  /* background: rgba(255,0,0,0.1); */
  /* Uncomment to debug bridge area */
}

/* Show dropdown on hover */
.aj-nav .pkp_nav_list>li:hover>ul,
.aj-nav .pkp_nav_list>li:focus-within>ul {
  left: 0;
}

/* Dropdown items */
.aj-nav .pkp_nav_list ul li {
  display: block;
}

.aj-nav .pkp_nav_list ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--aj-text);
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  transition: background-color var(--aj-transition), color var(--aj-transition);
}

.aj-nav .pkp_nav_list ul a:hover,
.aj-nav .pkp_nav_list ul a:focus {
  background: var(--aj-surface-off);
  color: var(--aj-primary);
}

/* Dropdown arrow indicator */
.aj-nav .pkp_nav_list [aria-haspopup]::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
}

/* Mobile Menu Toggle Button */
.aj-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 110;
  position: relative;
}

.aj-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--aj-primary);
  transition: transform var(--aj-transition), opacity var(--aj-transition);
}

.aj-menu-toggle.aj-menu-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.aj-menu-toggle.aj-menu-open span:nth-child(2) {
  opacity: 0;
}

.aj-menu-toggle.aj-menu-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header scroll state */
.aj-header-scrolled {
  box-shadow: var(--aj-shadow-lg);
}

.aj-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  z-index: 2;
}

.aj-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.aj-user-nav {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aj-user-nav>li>a {
  font-size: 12px;
  font-weight: 700;
  color: var(--aj-muted);
  text-decoration: none;
}

.aj-cta {
  background: var(--aj-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--aj-sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}

.aj-search {
  width: 28px;
  height: 28px;
  border-radius: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aj-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--aj-muted);
  mask-size: cover;
  mask-position: center;
  mask-repeat: no-repeat;
}

.aj-icon-search {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M10 2a8 8 0 1 0 5.29 14.07l4.32 4.31 1.42-1.41-4.31-4.32A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12 6 6 0 0 1 0-12Z'/%3E%3C/svg%3E");
}

.aj-icon-mail {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 2v.01l8 5 8-5V6H4Zm16 12V8.24l-7.4 4.63a2 2 0 0 1-2.2 0L3 8.24V18h17Z'/%3E%3C/svg%3E");
}

.aj-icon-globe {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10.01 10.01 0 0 0 12 2Zm7.93 9H16a15.7 15.7 0 0 0-1.5-6.11A8.02 8.02 0 0 1 19.93 11ZM12 4c.98 1.37 1.68 3.25 2.06 5H9.94C10.32 7.25 11.02 5.37 12 4Zm-7.93 7A8.02 8.02 0 0 1 9.5 4.89 15.7 15.7 0 0 0 8 11Zm0 2H8a15.7 15.7 0 0 0 1.5 6.11A8.02 8.02 0 0 1 4.07 13ZM12 20c-.98-1.37-1.68-3.25-2.06-5h4.12C13.68 16.75 12.98 18.63 12 20Zm2.5-1.89A15.7 15.7 0 0 0 16 13h3.93A8.02 8.02 0 0 1 14.5 18.11Z'/%3E%3C/svg%3E");
}

.pkp_structure_content {
  padding: 0;
}

.pkp_structure_main {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.aj-hero {
  background-color: var(--aj-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23144272' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
  position: relative;
  overflow: hidden;
}

.aj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 38, 71, 0.95), rgba(10, 38, 71, 0.75));
}

.aj-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr;
  gap: 32px;
  padding: 96px 24px;
}

.aj-hero-title {
  font-family: var(--aj-serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.aj-hero-title em,
.aj-hero-title .aj-hero-highlight {
  color: var(--aj-secondary);
  font-style: italic;
}

.aj-hero-subtitle {
  font-size: 18px;
  color: #dbe4ee;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.aj-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--aj-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 999px;
  margin-bottom: 18px;
}

.aj-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aj-secondary);
}

.aj-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.aj-btn {
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.aj-btn-primary {
  background: var(--aj-secondary);
  color: #0A2647;
}

.aj-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.aj-btn-outline {
  border: 1px solid var(--aj-primary);
  color: var(--aj-primary);
  background: transparent;
}

.aj-hero-impact {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--aj-radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.aj-hero-impact h3 {
  font-family: var(--aj-serif);
  font-size: 18px;
  margin-bottom: 16px;
}

.aj-hero-metric {
  margin-bottom: 18px;
}

.aj-hero-metric strong {
  display: block;
  font-size: 28px;
  color: var(--aj-secondary);
}

.aj-hero-metric span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #cbd5e1;
}

.aj-featured {
  padding: 80px 0;
}

.aj-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.aj-kicker {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--aj-secondary);
  font-weight: 800;
  margin-bottom: 8px;
}

.aj-section-head h2 {
  font-family: var(--aj-serif);
  font-size: 28px;
  color: var(--aj-primary);
}

.aj-link {
  font-weight: 700;
  color: var(--aj-primary);
  text-decoration: none;
  font-size: 14px;
}

.aj-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.aj-featured-card {
  background: #fff;
  border-radius: var(--aj-radius);
  box-shadow: var(--aj-shadow-card);
  padding: 24px;
  border-top: 4px solid var(--aj-secondary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aj-featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aj-featured-tag {
  background: rgba(20, 66, 114, 0.08);
  color: var(--aj-primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 10px;
  border-radius: 8px;
}

.aj-featured-title {
  font-family: var(--aj-serif);
  font-size: 20px;
  color: #0f172a;
}

.aj-featured-title a {
  color: inherit;
  text-decoration: none;
}

.aj-featured-title a:hover {
  color: var(--aj-primary);
}

.aj-featured-desc {
  color: var(--aj-muted);
  font-size: 14px;
  line-height: 1.6;
}

.aj-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  margin-top: auto;
  color: var(--aj-muted);
  font-size: 12px;
}

.aj-featured-icon {
  color: var(--aj-secondary);
  font-size: 16px;
  text-decoration: none;
}

.aj-featured-icon:hover {
  color: var(--aj-primary);
}

.aj-featured-card h3 {
  font-family: var(--aj-serif);
  font-size: 18px;
}

.aj-featured-card p {
  color: var(--aj-muted);
  font-size: 14px;
  line-height: 1.6;
}

.aj-icon-link {
  color: var(--aj-secondary);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}

.aj-issue {
  background: #fff;
  padding: 90px 0;
}

.aj-issue-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.7fr;
  gap: 48px;
  align-items: start;
}

.aj-issue-card {
  background: #fff;
  border-radius: var(--aj-radius);
  box-shadow: var(--aj-shadow-soft);
  padding: 24px;
  text-align: center;
  border: 1px solid #eef2f6;
}

.aj-issue-cover-wrap {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px 18px;
  margin-bottom: 18px;
}

.aj-issue-cover {
  max-width: 220px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 10px;
  box-shadow: var(--aj-shadow-card);
}

.aj-issue-date {
  color: var(--aj-muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.aj-announce {
  margin-top: 24px;
  background: var(--aj-surface-off);
  border-radius: var(--aj-radius);
  padding: 20px;
  border: 1px solid #eef2f6;
}

.aj-announce h4 {
  font-size: 14px;
  margin-bottom: 12px;
}

.aj-announce ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.aj-announce a {
  text-decoration: none;
  color: var(--aj-muted);
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.aj-announce a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--aj-secondary);
  flex-shrink: 0;
}

.aj-issue-main h2 {
  font-family: var(--aj-serif);
  font-size: 32px;
  color: var(--aj-primary);
  margin-bottom: 16px;
}

.aj-issue-description {
  color: var(--aj-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.aj-issue-list .obj_article_summary {
  background: var(--aj-surface-off);
  border-radius: var(--aj-radius);
  padding: 18px 20px;
  border: 1px solid #eef2f6;
  margin-bottom: 18px;
}

.aj-issue-entries {
  display: grid;
  gap: 18px;
}

.aj-issue-entry {
  display: flex;
  gap: 18px;
  padding: 18px;
  border-radius: var(--aj-radius);
  border: 1px solid #eef2f6;
  background: var(--aj-surface-off);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.aj-issue-entry:hover {
  background: #fff;
  border-color: #e2e8f0;
}

.aj-issue-thumb {
  width: 96px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--aj-shadow-card);
}

.aj-issue-thumb-placeholder {
  background: linear-gradient(140deg, #e2e8f0, #f8fafc);
}

.aj-issue-details {
  flex: 1;
}

.aj-issue-title {
  font-family: var(--aj-serif);
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f172a;
}

.aj-issue-title a {
  color: inherit;
  text-decoration: none;
}

.aj-issue-title a:hover {
  color: var(--aj-primary);
}

.aj-issue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 12px;
  color: var(--aj-muted);
  margin-bottom: 12px;
}

.aj-issue-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.aj-issue-meta-item i {
  color: var(--aj-secondary);
}

.aj-issue-galleys {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aj-issue-galleys .obj_galley_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}

.aj-issue-galleys .obj_galley_link:hover {
  background: var(--aj-primary);
  color: #fff;
  border-color: var(--aj-primary);
}

.aj-issue-galleys .obj_galley_link.pdf:hover {
  background: var(--aj-secondary);
  color: #0f172a;
  border-color: var(--aj-secondary);
}

.aj-indexed {
  background: var(--aj-primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.aj-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  opacity: 0.8;
  margin: 24px 0 40px;
}

.aj-badges span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aj-cta-panel {
  background: #fff;
  color: var(--aj-text);
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.aj-cta-panel h3 {
  font-family: var(--aj-serif);
  font-size: 24px;
  margin-bottom: 8px;
}

.aj-cta-panel p {
  color: var(--aj-muted);
}

.aj-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.aj-cta-actions .aj-btn {
  box-sizing: border-box;
}

.aj-footer {
  background: #f1f5f9;
  padding: 60px 0 40px;
  margin-top: 0;
}

.aj-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.aj-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--aj-primary);
  margin-bottom: 16px;
}

.aj-footer-logo img {
  height: 36px;
}

.aj-footer-social {
  display: flex;
  gap: 12px;
}

.aj-footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  color: #0f172a;
}

.aj-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.aj-footer a {
  text-decoration: none;
  color: var(--aj-muted);
  font-size: 13px;
}

.aj-footer-meta {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  font-size: 12px;
  color: var(--aj-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.aj-footer-badge {
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  color: var(--aj-primary);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .aj-topbar {
    display: none;
  }

  .aj-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 52px 20px 36px;
  }

  .aj-hero-title {
    margin-bottom: 14px;
  }

  .aj-hero-subtitle {
    margin-bottom: 22px;
  }

  .aj-issue-grid {
    grid-template-columns: 1fr;
  }

  .aj-header-main {
    /* Mobile header layout: hamburger (L) | logo (C) | search (R) */
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
  }

  /* Show mobile menu toggle */
  .aj-menu-toggle {
    display: flex;
    grid-column: 1;
    justify-self: start;
    margin-left: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .aj-menu-toggle span {
    width: 20px;
  }

  /* Mobile nav styles */
  .aj-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 38, 71, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 20px;
    padding-top: 84px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--aj-transition-slow), visibility var(--aj-transition-slow);
    overflow-y: auto;
  }

  .aj-nav.aj-nav-open {
    opacity: 1;
    visibility: visible;
  }

  /* Keep only search in the header on mobile (CTA lives in the overlay menu tools) */
  .aj-header-actions {
    display: flex;
    grid-column: 3;
    justify-self: end;
    gap: 8px;
    width: 44px;
    justify-content: flex-end;
  }

  .aj-header-actions .aj-cta {
    display: none;
  }

  .aj-header-actions .aj-search {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .aj-header-actions .aj-icon-search {
    background: var(--aj-primary);
  }

  .aj-brand {
    grid-column: 2;
    justify-self: center;
  }

  .aj-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .aj-logo img {
    height: 40px;
    max-width: min(210px, 60vw);
    width: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    /* Nudge down to visually align with hamburger/search buttons */
    transform: translateY(2px);
  }

  .aj-logo-desktop-img {
    display: block !important;
  }

  .aj-logo-mobile-img {
    display: none !important;
  }

  .aj-mobile-menu-tools {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: min(88vw, 340px);
    margin: 10px auto 0;
    order: 30;
    margin-top: auto;
    padding-bottom: 2px;
  }

  .aj-mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    width: 100%;
    box-sizing: border-box;
  }

  .aj-mobile-menu-cta {
    background: var(--aj-secondary);
    color: var(--aj-primary);
    border-color: rgba(197, 160, 89, 0.55);
  }

  .aj-mobile-menu-cta:hover {
    filter: brightness(0.98);
  }

  .aj-mobile-menu-tools .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
  }

  .aj-menu-toggle.aj-menu-open {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 130;
  }

  .aj-menu-toggle.aj-menu-open span {
    background: #fff;
  }

  .aj-nav .aj-nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: min(88vw, 340px);
    order: 10;
  }

  .aj-mobile-user-menu {
    display: block;
    width: 100%;
    max-width: min(88vw, 340px);
    margin: 8px auto 0;
    order: 20;
  }

  .aj-mobile-user-nav {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .aj-mobile-user-nav > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .aj-mobile-user-nav > li > a {
    display: block;
    padding: 10px 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .aj-mobile-user-nav > li > a:hover {
    color: var(--aj-secondary);
    background: rgba(255, 255, 255, 0.05);
  }

  .aj-nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .aj-nav-link {
    display: block;
    padding: 14px 16px;
    text-align: center;
    color: white !important;
    font-size: 16px;
  }

  /* Make dropdown triggers obvious on mobile */
  .aj-nav-item.has-children > .aj-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .aj-nav-item.has-children > .aj-nav-link .aj-caret {
    width: 10px;
    height: 10px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    margin-top: 0;
    opacity: 0.9;
    transition: transform var(--aj-transition);
  }

  .aj-nav-item.aj-submenu-open > .aj-nav-link .aj-caret {
    transform: rotate(225deg);
  }

  .aj-nav-link:hover {
    color: var(--aj-secondary) !important;
    background: rgba(255, 255, 255, 0.05);
  }

  .aj-submenu {
    position: static;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    padding: 0;
    margin: 0;
  }

  .aj-submenu-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    text-align: center;
  }

.aj-submenu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Mobile-only logo swap */
@media (max-width: 700px) {
  .aj-logo-desktop-img {
    display: none !important;
  }

  .aj-logo img.aj-logo-mobile-img {
    display: block !important;
    height: 72px !important;
    max-width: min(250px, 70vw) !important;
    width: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
}

/* Keep floating controls from colliding with full-screen mobile menu CTA */
body.aj-menu-lock .aj-back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
}

@media (max-width: 700px) {
  .aj-hero-inner {
    padding: 32px 16px 24px;
  }

  .aj-hero-title {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.12;
  }

  .aj-hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
  }

  .aj-hero-actions {
    gap: 10px;
  }

  .aj-btn {
    padding: 11px 16px;
    font-size: 14px;
  }

  .aj-cta {
    text-align: left;
  }

  .aj-footer-grid {
    grid-template-columns: 1fr;
  }
}

body.aj-menu-lock {
  overflow: hidden;
}

body.aj-search-lock {
  overflow: hidden;
}

/* Search modal (theme-level) */
.aj-search-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
}

body.aj-search-open .aj-search-modal {
  display: block;
}

.aj-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 38, 71, 0.65);
  backdrop-filter: blur(4px);
}

.aj-search-panel {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 96px auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--aj-shadow-lg);
  border: 1px solid rgba(10, 38, 71, 0.10);
  padding: 18px 18px 20px;
}

.aj-search-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(10, 38, 71, 0.12);
  background: rgba(10, 38, 71, 0.02);
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aj-search-close:hover {
  background: rgba(10, 38, 71, 0.06);
}

.aj-search-title {
  margin: 0 46px 12px 0;
  font-family: var(--aj-serif);
  font-size: 22px;
  color: var(--aj-primary);
}

.aj-search-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(10, 38, 71, 0.70);
  margin-bottom: 8px;
}

.aj-search-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(10, 38, 71, 0.16);
  background: #fff;
}

.aj-search-row:focus-within {
  border-color: rgba(197, 160, 89, 0.75);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.aj-search-row-icon {
  color: rgba(10, 38, 71, 0.55);
  font-size: 20px;
}

.aj-search-input {
  border: none !important;
  outline: none !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  font-size: 16px;
  width: 100%;
}

.aj-search-submit {
  border: none;
  background: var(--aj-secondary);
  color: var(--aj-primary);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

.aj-search-submit:hover {
  filter: brightness(0.98);
}

@media (max-width: 700px) {
  .aj-search-panel {
    margin-top: 72px;
  }
  .aj-search-title {
    font-size: 20px;
  }
  .aj-search-row {
    grid-template-columns: 22px 1fr;
    grid-auto-rows: auto;
  }
  .aj-search-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

/* Text Inputs */
.aj-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--aj-sans);
  font-size: 14px;
  color: var(--aj-text);
  background: var(--aj-surface);
  border: 1px solid var(--aj-border);
  border-radius: var(--aj-radius-sm);
  transition: border-color var(--aj-transition), box-shadow var(--aj-transition);
}

.aj-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--aj-secondary);
  box-shadow: var(--aj-focus-ring);
  outline: none;
}

.aj-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--aj-muted);
}

/* Labels */
label,
.aj-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--aj-text);
  margin-bottom: 6px;
}

/* Checkboxes and Radios */
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--aj-secondary);
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */

.aj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--aj-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--aj-radius-sm);
  cursor: pointer;
  border: none;
  transition: background-color var(--aj-transition), color var(--aj-transition), transform var(--aj-transition-fast);
}

.aj-btn:hover {
  transform: translateY(-1px);
}

.aj-btn:active {
  transform: translateY(0);
}

.aj-btn-primary {
  background: var(--aj-secondary);
  color: #0A2647;
}

.aj-btn-primary:hover {
  background: #d4af6a;
}

.aj-btn-secondary {
  background: var(--aj-primary);
  color: #fff;
}

.aj-btn-secondary:hover {
  background: var(--aj-accent);
}

.aj-btn-outline {
  background: transparent;
  color: var(--aj-primary);
  border: 1px solid var(--aj-primary);
}

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

.aj-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.aj-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.aj-btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.aj-btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Typography */
.aj-font-serif {
  font-family: var(--aj-serif);
}

.aj-font-sans {
  font-family: var(--aj-sans);
}

.aj-text-primary {
  color: var(--aj-primary);
}

.aj-text-secondary {
  color: var(--aj-secondary);
}

.aj-text-muted {
  color: var(--aj-muted);
}

.aj-text-center {
  text-align: center;
}

.aj-text-right {
  text-align: right;
}

.aj-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.aj-italic {
  font-style: italic;
}

/* Backgrounds */
.aj-bg-primary {
  background-color: var(--aj-primary);
}

.aj-bg-secondary {
  background-color: var(--aj-secondary);
}

.aj-bg-surface {
  background-color: var(--aj-surface);
}

.aj-bg-surface-off {
  background-color: var(--aj-surface-off);
}

/* Display */
.aj-flex {
  display: flex;
}

.aj-grid {
  display: grid;
}

.aj-hidden {
  display: none;
}

.aj-items-center {
  align-items: center;
}

.aj-justify-center {
  justify-content: center;
}

.aj-justify-between {
  justify-content: space-between;
}

.aj-gap-sm {
  gap: 8px;
}

.aj-gap {
  gap: 16px;
}

.aj-gap-lg {
  gap: 24px;
}

/* Spacing */
.aj-mt-sm {
  margin-top: 8px;
}

.aj-mt {
  margin-top: 16px;
}

.aj-mt-lg {
  margin-top: 24px;
}

.aj-mt-xl {
  margin-top: 48px;
}

.aj-mb-sm {
  margin-bottom: 8px;
}

.aj-mb {
  margin-bottom: 16px;
}

.aj-mb-lg {
  margin-bottom: 24px;
}

.aj-mb-xl {
  margin-bottom: 48px;
}

/* Shadows & Borders */
.aj-shadow {
  box-shadow: var(--aj-shadow-soft);
}

.aj-shadow-lg {
  box-shadow: var(--aj-shadow-lg);
}

.aj-rounded {
  border-radius: var(--aj-radius);
}

.aj-rounded-lg {
  border-radius: var(--aj-radius-lg);
}

.aj-rounded-full {
  border-radius: var(--aj-radius-full);
}

/* Cards */
.aj-card {
  background: var(--aj-surface);
  border-radius: var(--aj-radius);
  box-shadow: var(--aj-shadow-card);
  padding: 24px;
}

/* ============================================
   INDEXED & ABSTRACTED SECTION
   ============================================ */

.aj-indexed-section {
  background: linear-gradient(180deg, var(--aj-surface-off) 0%, var(--aj-surface) 100%);
  padding: 60px 0 40px;
  text-align: center;
}

.aj-indexed-title {
  font-family: var(--aj-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--aj-text);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.aj-indexed-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.aj-indexed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--aj-surface);
  border: 1px solid var(--aj-border-light);
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--aj-transition);
  box-shadow: var(--aj-shadow-soft);
}

.aj-indexed-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--aj-shadow-card);
  border-color: var(--aj-secondary);
}

.aj-indexed-badge-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aj-text);
}

/* ============================================
   CTA PANEL SECTION
   ============================================ */

.aj-cta-section {
  background: var(--aj-surface);
  padding: 40px 0 80px;
}

.aj-cta-panel {
  background: linear-gradient(135deg, var(--aj-primary) 0%, var(--aj-accent) 100%);
  border-radius: var(--aj-radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px -15px rgba(10, 38, 71, 0.4);
}

.aj-cta-headline {
  font-family: var(--aj-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
}

.aj-cta-subtext {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.aj-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.aj-btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 12px 28px;
  border-radius: var(--aj-radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--aj-transition);
}

.aj-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* ============================================
   MAIN FOOTER
   ============================================ */

.aj-footer {
  background: var(--aj-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
  position: relative;
}

.aj-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.aj-footer-col {
  min-width: 0;
}

/* Footer Brand Column */
.aj-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.aj-footer-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.aj-footer-logo-text {
  font-family: var(--aj-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.aj-footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

/* Social Icons */
.aj-footer-social {
  display: flex;
  gap: 12px;
}

.aj-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--aj-transition);
}

.aj-social-link:hover {
  background: var(--aj-secondary);
  border-color: var(--aj-secondary);
  color: var(--aj-primary);
  transform: translateY(-3px);
}

.aj-social-link .material-symbols-outlined {
  font-size: 20px;
}

/* Footer Headings */
.aj-footer-heading,
.aj-footer h4,
.aj-footer-col h4,
footer .aj-footer-heading {
  font-family: var(--aj-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aj-secondary) !important;
  margin-bottom: 20px;
}

/* Footer Links */
.aj-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aj-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--aj-transition);
  display: inline-block;
}

.aj-footer-links a:hover {
  color: var(--aj-secondary);
}

/* Contact Info */
.aj-footer-contact-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.aj-footer-contact-info a {
  color: var(--aj-secondary);
  text-decoration: none;
}

.aj-footer-contact-info a:hover {
  text-decoration: underline;
}

/* Indexing Logos Column */
.aj-footer-indexed {
  min-width: 0;
}

.aj-footer-indexing-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.aj-indexing-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  transition: all var(--aj-transition);
}

.aj-indexing-logo-link:hover {
  transform: translateY(-2px);
}

.aj-indexing-logo {
  height: 28px;
  max-height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity var(--aj-transition);
}

.aj-indexing-logo-link:hover .aj-indexing-logo {
  opacity: 1;
}

.aj-indexing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transition: all var(--aj-transition);
  white-space: nowrap;
}

.aj-indexing-logo-link:hover .aj-indexing-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--aj-secondary);
  color: var(--aj-secondary);
}

/* Custom Footer Content */
.aj-footer-custom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.aj-footer-custom a {
  color: var(--aj-secondary);
}

/* Footer Bottom Bar */
.aj-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.aj-footer-bottom-left,
.aj-footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.aj-footer-copyright {
  color: rgba(255, 255, 255, 0.6);
}

.aj-footer-license {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--aj-transition);
}

.aj-footer-license:hover {
  color: var(--aj-secondary);
}

.aj-footer-license .material-symbols-outlined {
  font-size: 16px;
}

.aj-footer-designer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.aj-footer-designer a {
  color: var(--aj-secondary);
  text-decoration: none;
  transition: opacity var(--aj-transition);
}

.aj-footer-designer a:hover {
  opacity: 0.8;
}

.aj-footer-issn {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Monaco', 'Courier New', monospace;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.aj-footer-ojs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--aj-transition);
}

.aj-footer-ojs-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.aj-footer-ojs-badge .material-symbols-outlined {
  font-size: 14px;
}

/* Back to Top Button */
.aj-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--aj-secondary);
  border: none;
  border-radius: 50%;
  color: var(--aj-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4);
  transition: all var(--aj-transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 50;
}

.aj-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.aj-back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(197, 160, 89, 0.5);
}

.aj-back-to-top .material-symbols-outlined {
  font-size: 24px;
}

/* ============================================
   FOOTER RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1000px) {
  .aj-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .aj-footer-brand {
    grid-column: span 2;
  }

  .aj-cta-panel {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .aj-cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .aj-indexed-section {
    padding: 48px 0 32px;
  }

  .aj-indexed-title {
    font-size: 1.25rem;
  }

  .aj-indexed-badges {
    gap: 12px;
  }

  .aj-indexed-badge {
    padding: 10px 20px;
  }

  .aj-indexed-badge-text {
    font-size: 12px;
  }

  .aj-cta-section {
    padding: 32px 0 60px;
  }

  .aj-cta-panel {
    padding: 32px 24px;
  }

  .aj-cta-headline {
    font-size: 1.4rem;
  }

  .aj-footer {
    padding: 60px 0 0;
  }

  .aj-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aj-footer-brand {
    grid-column: span 1;
    text-align: center;
  }

  .aj-footer-logo {
    justify-content: center;
  }

  .aj-footer-social {
    justify-content: center;
  }

  .aj-footer-heading {
    text-align: center;
  }

  .aj-footer-links {
    align-items: center;
  }

  .aj-footer-contact-info {
    text-align: center;
  }

  .aj-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .aj-back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 520px) {
  .aj-indexed-badges {
    flex-direction: column;
    align-items: center;
  }

  .aj-indexed-badge {
    width: 100%;
    max-width: 240px;
  }

  .aj-cta-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .aj-cta-actions .aj-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    text-align: center;
  }

  .aj-cta-actions .aj-btn-primary,
  .aj-cta-actions .aj-btn-outline-light {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {

  .aj-topbar,
  .aj-header,
  .aj-footer,
  .aj-indexed-section,
  .aj-cta-section,
  .aj-back-to-top,
  .cmp_skip_to_content {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* ============================================
   HOMEPAGE NEW SECTIONS (Featured, Spotlights, Connect)
   ============================================ */

.aj-featured-bg {
  background-color: #f0fdf4;
  /* Very light slate/blue tint */
}

.aj-featured-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.aj-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.aj-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.1);
  color: var(--aj-primary);
}

.aj-featured-card h3 {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0;
  color: var(--aj-heading);
}

.aj-featured-card h3 a {
  color: inherit;
  text-decoration: none;
}

.aj-featured-card h3 a:hover {
  color: var(--aj-primary);
}

.aj-featured-summary {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
}

.aj-featured-author {
  font-weight: 600;
  color: var(--aj-text);
  font-size: 0.9rem;
}

.aj-featured-read-more {
  color: var(--aj-primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  margin-top: auto;
}

.aj-spotlight-section {
  padding: 60px 0;
}

.aj-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.aj-spotlight-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(37, 99, 235, 0.02));
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(14, 165, 233, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.aj-spotlight-card:hover {
  border-color: var(--aj-primary);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(37, 99, 235, 0.05));
}

.aj-spotlight-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--aj-heading);
}

.aj-spotlight-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.aj-spotlight-link {
  color: var(--aj-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Connect Section (Call for Papers & Newsletter) */
.aj-connect-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #f8fafc, #fff);
}

.aj-connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .aj-connect-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.aj-callout-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.aj-callout-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--aj-primary);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.aj-callout-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--aj-heading);
}

.aj-callout-card p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.aj-callout-link {
  color: var(--aj-primary);
  font-weight: 600;
  text-decoration: none;
}

.aj-newsletter-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aj-newsletter-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--aj-heading);
}

.aj-newsletter-card p {
  color: #475569;
  margin-bottom: 1.5rem;
}

.aj-newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.aj-newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
}

.aj-newsletter-input:focus {
  outline: none;
  border-color: var(--aj-primary);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.aj-newsletter-btn {
  background: var(--aj-primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.aj-newsletter-btn:hover {
  filter: brightness(0.9);
}

/* ============================================
   MAIN CONTENT LAYOUT (Sidebar + Article List)
   ============================================ */

.aj-issue-section {
  padding: 60px 0;
  background-color: #fff;
  scroll-margin-top: 92px;
}

.aj-issue-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  align-items: stretch;
  /* Stretch sidebar to match main content height for sticky to work */
}

/* Sidebar (Left) */
.aj-issue-sidebar {
  grid-column: span 4;
  /* Let sidebar stretch to full grid row height so sticky container can work */
  position: relative;
  /* Establish positioning context */
}

/* New Sticky Container */
.aj-issue-sticky-container {
  position: sticky;
  top: 140px;
  z-index: 10;
  /* Removed max-height and overflow-y to prevent internal scrollbar */
}

@media (max-width: 1024px) {
  .aj-issue-sidebar {
    grid-column: span 12;
    margin-bottom: 2rem;
  }

  .aj-issue-sticky-container {
    position: static;
    max-height: none;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
  }

  .aj-announce-sidebar {
    order: 1;
    margin-top: 0;
    margin-bottom: 1rem;
  }

  .aj-issue-card-new {
    order: 2;
    margin-bottom: 0;
  }
}

/* Issue Cover Card - Redesigned */
.aj-issue-card-new {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  /* Reduced padding */
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.aj-issue-cover-container {
  background: #f8fafc;
  padding: 1.5rem;
  /* Reduced padding */
  border-radius: 8px;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.aj-issue-cover-new {
  width: 160px;
  /* Reduced width from 192px */
  height: 213px;
  /* Reduced height proportionally */
  object-fit: cover;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s ease;
}

.aj-issue-card-new:hover .aj-issue-cover-new {
  transform: scale(1.05);
}

.aj-issue-card-new h3 {
  font-family: var(--aj-font-heading);
  font-size: 1.25rem;
  /* Reduced font size */
  font-weight: 700;
  color: #0a2647;
  margin-bottom: 0.5rem;
}

.aj-issue-date-new {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.aj-btn-issue-full {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  background: var(--aj-primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
}

.aj-btn-issue-full:hover {
  background: var(--aj-primary-dark);
  filter: brightness(0.9);
}

.aj-btn-issue-outline {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  background: transparent;
  color: var(--aj-primary);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--aj-primary);
  transition: background 0.2s;
}

.aj-btn-issue-outline:hover {
  background: #f0f9ff;
}

/* Announcements Sidebar - Separate card below Issue Cover */
.aj-announce-sidebar {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  margin-top: 1.5rem;
}

.aj-announce-header {
  font-weight: 700;
  color: #0a2647;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aj-announce-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aj-announce-item a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-decoration: none;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.4;
  transition: color 0.2s;
}

.aj-announce-item a:hover {
  color: var(--aj-primary);
}

.aj-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aj-secondary);
  margin-top: 6px;
  flex-shrink: 0;
}

/* Main Content (Right) */
.aj-issue-main-content {
  grid-column: span 8;
}

@media (max-width: 1024px) {
  .aj-issue-main-content {
    grid-column: span 12;
  }
}

.aj-main-header {
  margin-bottom: 2.5rem;
}

.aj-main-kicker {
  color: var(--aj-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.aj-main-title {
  font-family: var(--aj-font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #0a2647;
  margin-bottom: 1.5rem;
}

.aj-main-desc {
  font-size: 1.125rem;
  color: #64748b;
  font-weight: 300;
  line-height: 1.6;
}

.aj-article-section {
  scroll-margin-top: 110px;
}

.aj-article-section + .aj-article-section {
  margin-top: 1.5rem;
}

.aj-article-section-title {
  font-family: var(--aj-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a2647;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Article List Item */
.aj-article-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.aj-article-item:hover {
  background: #f8fafc;
}

@media (max-width: 640px) {
  .aj-article-item {
    flex-direction: column;
  }
}

.aj-article-thumb {
  width: 128px;
  flex-shrink: 0;
  display: none;
  /* Hidden by default if no image */
}

@media (min-width: 640px) {
  .aj-article-thumb {
    display: block;
  }
}

.aj-thumb-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.aj-article-content {
  flex-grow: 1;
}

.aj-article-title {
  font-family: var(--aj-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a2647;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}

.aj-article-title:hover {
  color: var(--aj-primary);
}

.aj-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.aj-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.aj-article-actions {
  display: flex;
  gap: 0.75rem;
}

.aj-btn-html {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.aj-btn-html:hover {
  background: var(--aj-primary);
  border-color: var(--aj-primary);
  color: white;
}

.aj-btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.aj-btn-pdf:hover {
  background: var(--aj-secondary);
  color: white;
}

/* ============================================================
   HOMEPAGE SECTIONS - ADDITIONAL STYLES
   ============================================================ */

/* Note: Sticky container styles are defined at line ~2412 */

/* Section Heads */
.aj-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.aj-section-head h2 {
  font-family: var(--aj-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #0a2647;
  margin: 0;
}

.aj-link {
  color: var(--aj-secondary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.aj-link:hover {
  color: #b8923d;
  text-decoration: underline;
}

/* Featured Articles Section */
.aj-featured-bg {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.aj-featured-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.aj-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.15);
}

.aj-featured-meta {
  display: flex;
  gap: 0.5rem;
}

.aj-featured-badge {
  background: rgba(197, 160, 89, 0.15);
  color: var(--aj-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.aj-featured-card h3 {
  font-family: var(--aj-serif);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.45rem);
  font-weight: 700;
  color: #0a2647;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  min-height: 3.9em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aj-featured-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.aj-featured-card h3 a:hover {
  color: var(--aj-secondary);
}

.aj-featured-summary {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.aj-featured-author {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}

.aj-featured-read-more {
  display: inline-flex;
  align-items: center;
  color: var(--aj-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s;
}

.aj-featured-read-more:hover {
  color: #b8923d;
}

@media (max-width: 768px) {
  .aj-featured-bg {
    padding: 40px 0 !important;
  }

  .aj-featured-bg .aj-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .aj-featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .aj-featured-card {
    padding: 1.1rem;
    gap: 0.65rem;
    height: auto !important;
    min-height: 0;
  }

  .aj-featured-card h3 {
    font-size: clamp(1.06rem, 0.98rem + 0.7vw, 1.24rem);
    line-height: 1.28;
    min-height: 0;
    -webkit-line-clamp: 2;
  }

  .aj-featured-summary {
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 0 0 auto;
    margin-bottom: 0.15rem;
  }

  .aj-featured-author {
    font-size: 0.88rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .aj-featured-read-more {
    margin-top: 0;
  }
}

/* Section Spotlights */
.aj-spotlight-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.aj-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.aj-spotlight-card {
  background: linear-gradient(135deg, rgba(10, 38, 71, 0.03), rgba(20, 66, 114, 0.02));
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(10, 38, 71, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.aj-spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(10, 38, 71, 0.1);
  border-color: rgba(10, 38, 71, 0.2);
}

.aj-spotlight-card h3 {
  font-family: var(--aj-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a2647;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.aj-spotlight-card p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.aj-spotlight-link {
  color: var(--aj-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: auto;
}

/* Connect Section */
.aj-connect-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #f8fafc, #fff);
}

.aj-connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .aj-connect-grid {
    grid-template-columns: 1fr;
  }
}

.aj-callout-card {
  background: linear-gradient(135deg, #0a2647, #144272);
  border-radius: 16px;
  padding: 2rem;
  color: white;
}

.aj-callout-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.2);
  color: var(--aj-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.aj-callout-card h3 {
  font-family: var(--aj-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
}

.aj-callout-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.aj-callout-link {
  display: inline-flex;
  align-items: center;
  color: var(--aj-secondary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.aj-callout-link:hover {
  color: #dfc07a;
}

.aj-newsletter-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.aj-newsletter-card h3 {
  font-family: var(--aj-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2647;
  margin: 0 0 1rem 0;
}

.aj-newsletter-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.aj-newsletter-form {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .aj-newsletter-form {
    flex-direction: column;
  }
}

.aj-newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.aj-newsletter-input:focus {
  outline: none;
  border-color: var(--aj-secondary);
}

.aj-newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: #0a2647;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.aj-newsletter-btn:hover {
  background: #06182e;
}

.aj-newsletter-message {
  display: none;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.aj-newsletter-message.is-success {
  display: block;
  background: #ecfdf3;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.aj-newsletter-message.is-error {
  display: block;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

.aj-newsletter-message.is-fade {
  opacity: 0;
}

.aj-newsletter-btn {
  position: relative;
}

.aj-newsletter-btn.is-loading .aj-newsletter-btn-label {
  opacity: 0.75;
}

.aj-newsletter-btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: aj-spin 0.8s linear infinite;
}

@keyframes aj-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Article Title Link Color Fix */
.aj-article-title a {
  color: #0a2647;
  text-decoration: none;
  transition: color 0.2s;
}

.aj-article-title a:hover {
  color: var(--aj-secondary);
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */

/* Footer Grid */
.aj-footer {
  background: #0a2647;
  color: white;
  padding: 60px 0 0;
}

.aj-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
  /* Ensure all columns align at the top */
}

@media (max-width: 1000px) {
  .aj-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .aj-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mobile footer layout refinement:
   Keep Indexed In and Contact full-width, but place Quick Links + Policies side by side. */
@media (max-width: 600px) {
  .aj-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .aj-footer-col.aj-footer-indexed,
  .aj-footer-col.aj-footer-contact {
    grid-column: 1 / -1;
  }

  /* Center Quick Links + Policies columns on mobile */
  .aj-footer-grid .aj-footer-col:not(.aj-footer-indexed):not(.aj-footer-contact) {
    text-align: center;
  }

  .aj-footer-grid .aj-footer-col:not(.aj-footer-indexed):not(.aj-footer-contact) .aj-footer-links {
    align-items: center;
  }
}

.aj-footer-col {
  margin-top: 0;
  /* Reset any margins */
}

.aj-footer-heading {
  font-family: var(--aj-serif);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.aj-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aj-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.aj-footer-links a:hover {
  color: var(--aj-secondary);
}

.aj-footer-contact-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.aj-footer-contact-info a {
  color: var(--aj-secondary);
  text-decoration: none;
}

.aj-footer-contact-info a:hover {
  text-decoration: underline;
}

/* Footer Indexing Logos */
.aj-footer-indexing-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.aj-indexing-logo {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.aj-indexing-logo-link:hover .aj-indexing-logo {
  opacity: 1;
}

.aj-indexing-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Footer Bottom Bar */
.aj-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.aj-footer-bottom-left,
.aj-footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.aj-footer-copyright {
  color: rgba(255, 255, 255, 0.7);
}

.aj-ojs-footer-copy {
  display: inline;
  margin-left: 0.35rem;
}

.aj-ojs-footer-copy > div {
  display: inline !important;
  text-align: inherit !important;
}

.aj-ojs-footer-copy p {
  display: inline !important;
  margin: 0 !important;
}

.aj-ojs-footer-copy br {
  display: none;
}

.aj-ojs-footer-copy a {
  color: inherit;
  text-decoration: none;
}

.aj-ojs-footer-copy a:hover {
  text-decoration: underline;
}

.aj-footer-license {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--aj-secondary);
  text-decoration: none;
  font-weight: 500;
}

.aj-footer-license:hover {
  text-decoration: underline;
}

.aj-footer-issn {
  color: rgba(255, 255, 255, 0.7);
}

.aj-footer-designer {
  color: rgba(255, 255, 255, 0.7);
}

.aj-footer-designer a {
  color: var(--aj-secondary);
  text-decoration: none;
}

.aj-footer-designer a:hover {
  text-decoration: underline;
}

.aj-footer-ojs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.75rem;
}

.aj-footer-ojs-badge:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.aj-cta-section {
  padding: 40px 0;
  background: #0a2647;
}

.aj-cta-panel {
  background: linear-gradient(135deg, #144272, #0a2647);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.aj-cta-headline {
  font-family: var(--aj-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem 0;
}

.aj-cta-subtext {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 1rem;
}

.aj-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.aj-btn-outline-light {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.aj-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button */
.aj-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--aj-secondary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  z-index: 100;
}

.aj-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.aj-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4);
}

/* ============================================================
   ARTICLE DETAIL PAGE
   ============================================================ */
.aj-article-page .aj-article-notice {
  max-width: var(--aj-container-max);
  margin: 16px auto 0;
  padding: 10px 14px;
  border-left: 4px solid;
  background: #fff7ed;
  font-size: 0.85rem;
}

.aj-article-page .aj-article-notice-warning {
  border-left-color: #f59e0b;
  color: #92400e;
}

.aj-article-page .aj-article-notice-info {
  background: #eff6ff;
  border-left-color: #60a5fa;
  color: #1d4ed8;
}

.aj-article-page .aj-article-breadcrumbs {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.aj-article-page .aj-article-breadcrumbs-nav {
  padding: 16px 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.aj-article-page .aj-article-breadcrumbs-list {
  list-style: decimal;
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 6px;
}

.aj-article-page .aj-article-breadcrumbs-list a {
  color: #64748b;
  text-decoration: none;
}

.aj-crumb-current {
  color: #0a2647;
  font-weight: 700;
}

.aj-crumb-divider {
  display: none;
}

.aj-article-page .aj-article-hero {
  padding: 24px 0 8px;
  background: #ffffff;
}

.aj-article-page .aj-article-section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0a2647;
  margin-bottom: 10px;
}

.aj-article-page .aj-article-title {
  font-family: var(--aj-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin: 0 0 8px;
  color: #0a2647;
}

.aj-article-page .aj-article-subtitle {
  font-family: var(--aj-serif);
  font-style: italic;
  color: #475569;
  margin-bottom: 12px;
}

.aj-article-page .aj-article-author-list {
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 12px;
  display: grid;
  gap: 4px;
}

.aj-article-page .aj-article-author-list sup {
  font-size: 0.7rem;
  color: #0a2647;
  margin-left: 2px;
}

.aj-article-page .aj-article-affiliations {
  font-size: 0.8rem;
  color: #64748b;
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.aj-article-page .aj-article-affiliations sup {
  font-size: 0.7rem;
  color: #0a2647;
  margin-right: 4px;
}

.aj-article-page .aj-article-meta {
  font-size: 0.8rem;
  color: #64748b;
  display: grid;
  gap: 6px;
}

.aj-article-page .aj-article-meta a {
  color: #0a2647;
  text-decoration: underline;
}

.aj-article-page .aj-article-body {
  padding: 12px 24px 48px;
}

.aj-article-page .aj-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
}

.aj-article-page .aj-article-section {
  margin-bottom: 18px;
}

.aj-article-page .aj-article-section-title {
  font-family: var(--aj-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a2647;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aj-article-page .aj-article-section-title-small {
  font-size: 0.95rem;
}

.aj-article-page .aj-article-text {
  font-size: 0.9rem;
  color: #111827;
  line-height: 1.7;
}

.aj-article-page .aj-article-keywords a {
  color: #0a2647;
  text-decoration: underline;
}

.aj-article-page .aj-article-bios {
  display: grid;
  gap: 12px;
}

.aj-article-page .aj-article-bio-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
}

.aj-article-page .aj-article-bio-initials {
  font-weight: 700;
  color: #0a2647;
  font-size: 0.9rem;
}

.aj-article-page .aj-article-bio-name {
  font-weight: 700;
  color: #0a2647;
  margin-bottom: 4px;
}

.aj-article-page .aj-article-bio-affiliation {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 4px;
}

.aj-article-page .aj-article-references {
  padding-left: 18px;
  font-size: 0.85rem;
  color: #111827;
  line-height: 1.6;
}

.aj-article-page .aj-article-sidebar {
  display: grid;
  gap: 18px;
}

.aj-article-page .aj-article-sidebar-block {
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  font-size: 0.85rem;
  color: #111827;
}

.aj-article-page .aj-article-sidebar-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a2647;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aj-article-page .aj-article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0a2647;
  text-decoration: underline;
  margin-right: 12px;
  font-size: 0.85rem;
}

.aj-article-page .aj-article-issue-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #64748b;
}

.aj-article-page .aj-article-stats {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #64748b;
}

.aj-article-page .aj-article-stats span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.aj-article-page .aj-article-cite {
  font-size: 0.8rem;
  color: #111827;
  line-height: 1.6;
}

.aj-article-page .aj-article-share {
  display: flex;
  gap: 8px;
}

.aj-article-page .aj-article-share a {
  color: #0a2647;
}

.aj-article-page .aj-article-license {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
}

.aj-article-page .aj-article-license-title {
  color: #0a2647;
  font-weight: 700;
  margin-bottom: 4px;
}

.aj-article-page .aj-article-copyright-symbol {
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .aj-article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .aj-article-breadcrumbs-list {
    padding-left: 18px;
  }
}

/* ============================================================
   INDEXED & ABSTRACTED IN SECTION
   ============================================================ */

.aj-indexed-section {
  padding: 60px 0;
  background: #f8fafc;
  text-align: center;
}

.aj-indexed-title {
  font-family: var(--aj-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0a2647;
  margin: 0 0 2rem 0;
}

.aj-indexed-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.aj-indexed-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
}

.aj-indexed-badge:hover {
  border-color: #0a2647;
  box-shadow: 0 4px 12px rgba(10, 38, 71, 0.1);
}

.aj-indexed-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

/* ============================================================
   LIGHT CTA SECTION (Separate from Footer)
   ============================================================ */

.aj-cta-section-light {
  padding: 60px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  /* Subtle gradient - light grey to white */
}

/* ============================================================
   EDITORIAL MASTHEAD PAGE
   ============================================================ */

.aj-masthead-banner {
  background-color: #f1f5f9;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2394a3b8' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================
   Mobile Overflow Guardrails
   ============================================ */
@media (max-width: 1024px) {
  .aj-issue-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .aj-issue-sidebar,
  .aj-issue-main-content {
    grid-column: 1 / -1 !important;
    min-width: 0;
  }

  .aj-article-item,
  .aj-article-content,
  .aj-main-desc,
  .aj-article-title,
  .aj-article-title a,
  .aj-article-meta {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

html, 
body { 
  max-width: 100%; 
  overflow-x: clip; 
}

/* ==============================
   Similar Articles + Same Author Lists (plugins output)
   ============================== */
section#articlesBySimilarityList,
section#articlesBySameAuthorList {
  background: transparent;
  padding: 0;
  margin: 0;
}

section#articlesBySimilarityList h2,
section#articlesBySameAuthorList h2 {
  font-family: var(--aj-serif);
  color: var(--aj-primary);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 16px 0;
}

section#articlesBySimilarityList ul,
section#articlesBySameAuthorList ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

section#articlesBySimilarityList li,
section#articlesBySameAuthorList li {
  background: #ffffff;
  border: 1px solid rgba(10, 38, 71, 0.08);
  border-radius: 14px;
  box-shadow: var(--aj-shadow-soft);
  padding: 14px 16px;
  color: var(--aj-muted);
  font-size: 13px;
  line-height: 1.45;
}

section#articlesBySimilarityList li a,
section#articlesBySameAuthorList li a {
  display: block;
  text-decoration: none;
}

/* First link: article title */
section#articlesBySimilarityList li a:first-of-type,
section#articlesBySameAuthorList li a:first-of-type {
  margin-top: 6px;
  font-family: var(--aj-serif);
  color: var(--aj-primary);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
}

section#articlesBySimilarityList li a:first-of-type:hover,
section#articlesBySameAuthorList li a:first-of-type:hover {
  color: var(--aj-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Second link: issue */
section#articlesBySimilarityList li a:nth-of-type(2),
section#articlesBySameAuthorList li a:nth-of-type(2) {
  margin-top: 8px;
  color: rgba(10, 38, 71, 0.78);
  font-weight: 700;
  font-size: 12px;
}

section#articlesBySimilarityList li a:nth-of-type(2):hover,
section#articlesBySameAuthorList li a:nth-of-type(2):hover {
  color: var(--aj-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Pagination */
#articlesBySimilarityPages .cmp_pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 6px;
}

#articlesBySimilarityPages .cmp_pagination .current {
  color: rgba(10, 38, 71, 0.7);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#articlesBySimilarityPages .cmp_pagination a.next {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(10, 38, 71, 0.14);
  background: rgba(10, 38, 71, 0.02);
  color: var(--aj-primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

#articlesBySimilarityPages .cmp_pagination a.next:hover {
  background: rgba(197, 160, 89, 0.10);
  border-color: rgba(197, 160, 89, 0.35);
}

#articlesBySimilaritySearch {
  margin-top: 10px;
  color: rgba(10, 38, 71, 0.70);
  font-size: 12px;
}

#articlesBySimilaritySearch a {
  color: var(--aj-secondary);
  font-weight: 800;
  text-decoration: none;
}

#articlesBySimilaritySearch a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 900px) {
  section#articlesBySimilarityList ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==============================
   CSL "How To Cite" Dropdown
   (citationStyleLanguage plugin, templated by this theme)
   ============================== */
.csl-plugin-block .aj-csl {
  margin-top: 0;
  position: relative;
}

.csl-plugin-block .aj-csl__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.csl-plugin-block .aj-csl__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.csl-plugin-block .aj-csl__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.csl-plugin-block .aj-csl__item {
  margin: 0;
}

.csl-plugin-block .aj-csl__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #ffffff;
  color: #0A2647;
  border: 1px solid rgba(10, 38, 71, 0.18);
  border-radius: 10px;
  padding: 10px 34px 10px 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  width: 100%;
  max-width: min(420px, 100%);
  background-image:
    linear-gradient(45deg, transparent 50%, #C5A059 50%),
    linear-gradient(135deg, #C5A059 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.csl-plugin-block .aj-csl__select:focus {
  outline: none;
  border-color: rgba(197, 160, 89, 0.7);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.csl-plugin-block .aj-csl__downloadsLabel {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(10, 38, 71, 0.75) !important;
}

.csl-plugin-block .aj-csl__downloadsLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.csl-plugin-block .aj-csl__downloadLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(10, 38, 71, 0.10);
  background: rgba(10, 38, 71, 0.02);
  color: #0A2647 !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 12px;
}

.csl-plugin-block .aj-csl__downloadLink:hover {
  background: rgba(197, 160, 89, 0.10);
  border-color: rgba(197, 160, 89, 0.35);
}

.csl-plugin-block .aj-csl__dlIcon {
  font-size: 18px;
  color: #C5A059;
}

/* Final tablet gutter override (keep at file end to win cascade) */
@media (min-width: 768px) and (max-width: 1366px) {
  .aj-container {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .aj-topbar-inner,
  .aj-header-main {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* Ensure primary button text always contrasts globally */
.aj-btn-primary,
.aj-btn-primary:visited {
  color: #0A2647 !important;
}

/* Final mobile/tablet portrait header + featured fixes */
@media (max-width: 1000px) {
  .aj-nav {
    display: none;
    transform: none !important;
  }

  .aj-nav.aj-nav-open {
    display: flex !important;
  }
}

@media (min-width: 701px) and (max-width: 1100px) and (orientation: portrait) {
  .aj-topbar {
    display: block !important;
  }

  .aj-topbar-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  .aj-topbar-left,
  .aj-topbar-right,
  .aj-topbar-user .aj-user-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 10px;
  }

  .aj-topbar,
  .aj-topbar-user .aj-user-nav > li > a {
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .aj-header-main {
    display: grid !important;
    grid-template-columns: 44px 1fr 44px;
    grid-template-rows: auto !important;
    grid-auto-rows: 0 !important;
    align-items: center;
    gap: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
    position: relative;
  }

  .aj-menu-toggle {
    display: flex !important;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: 0;
  }

  .aj-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto !important;
  }

  .aj-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
  }

  .aj-logo-desktop-img {
    display: none !important;
  }

  .aj-logo img.aj-logo-mobile-img {
    display: block !important;
    width: min(350px, 62vw) !important;
    max-width: 350px !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .aj-header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 44px;
    justify-content: flex-end;
    gap: 8px;
  }

  .aj-header-actions .aj-cta {
    display: none;
  }

  .aj-header-actions .aj-search {
    width: 44px;
    height: 44px;
  }

  .aj-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none !important;
    background: rgba(10, 38, 71, 0.98);
    padding: 20px;
    padding-top: 84px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    justify-content: center;
    align-items: center;
  }

  .aj-nav.aj-nav-open {
    display: flex !important;
  }

  .aj-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .aj-featured-card {
    height: auto !important;
    min-height: 0;
    transform: none !important;
  }

  .aj-featured-card h3 {
    min-height: 0;
  }
}

@media (hover: none), (pointer: coarse) {
  .aj-featured-card:hover {
    transform: none !important;
  }
}
