/* ==========================================================================
   OASIS JOURNALS - LOGO-INSPIRED BRAND DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Override Bootstrap 5 Default Primary Palette with OASIS Logo Imperial Navy */
  --bs-primary: #09004e;
  --bs-primary-rgb: 9, 0, 78;
  --bs-primary-hover: #050036;
  --bs-primary-active: #050036;

  /* Brand Theme Colors Extracted Directly from OASIS Logo */
  --oj-primary: #09004e;
  /* Deep Imperial Navy */
  --oj-navy: #09004e;
  /* Imperial Navy Alias */
  --oj-primary-hover: #050036;
  /* Darker Imperial Navy */
  --oj-primary-light: #eef1ff;
  /* Soft Navy Tint */

  --oj-accent: #f6004b;
  /* Vibrant Crimson Magenta */
  --oj-crimson: #f6004b;
  /* Crimson Alias */
  --oj-accent-hover: #d90042;
  /* Darker Crimson Magenta */
  --oj-accent-light: #fff0f4;
  /* Soft Magenta Tint */

  --oj-secondary: #0a043c;
  /* Midnight Blue */

  /* Status Indicators */
  --oj-success: #10b981;
  --oj-warning: #f59e0b;
  --oj-danger: #ef4444;
  --oj-info: #3b82f6;

  /* Neutral Spectrum */
  --oj-bg-main: #f8fafc;
  --oj-bg-card: #ffffff;
  --oj-text-main: #0f172a;
  --oj-text-muted: #64748b;
  --oj-text-light: #94a3b8;
  --oj-border: #e2e8f0;

  /* Typography */
  --oj-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --oj-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Elevation */
  --oj-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --oj-shadow-md: 0 4px 6px -1px rgba(9, 0, 78, 0.08), 0 2px 4px -1px rgba(9, 0, 78, 0.04);
  --oj-shadow-lg: 0 10px 15px -3px rgba(9, 0, 78, 0.12), 0 4px 6px -2px rgba(9, 0, 78, 0.05);
  --oj-shadow-xl: 0 20px 25px -5px rgba(9, 0, 78, 0.15), 0 10px 10px -5px rgba(9, 0, 78, 0.04);
  --oj-shadow-glow: 0 0 24px rgba(246, 0, 75, 0.35);
  --oj-shadow-navy-glow: 0 0 24px rgba(9, 0, 78, 0.35);

  /* Border Radius */
  --oj-radius-sm: 0.375rem;
  --oj-radius-md: 0.75rem;
  --oj-radius-lg: 1.25rem;
  --oj-radius-full: 9999px;

  /* Transitions */
  --oj-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --oj-transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Bootstrap Primary Overrides (Logo Imperial Navy #09004e & Crimson #f6004b)
   ========================================================================== */
.bg-primary {
  background-color: var(--oj-primary) !important;
}

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

.border-primary {
  border-color: var(--oj-primary) !important;
}

.btn-primary {
  background-color: var(--oj-primary) !important;
  border-color: var(--oj-primary) !important;
  color: #ffffff !important;
}

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

.btn-outline-primary {
  color: var(--oj-primary) !important;
  border-color: var(--oj-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--oj-primary) !important;
  border-color: var(--oj-primary) !important;
  color: #ffffff !important;
}

.alert-primary {
  background-color: var(--oj-primary-light) !important;
  border-color: rgba(9, 0, 78, 0.2) !important;
  color: var(--oj-primary) !important;
}

.bg-primary.bg-opacity-10 {
  background-color: rgba(9, 0, 78, 0.1) !important;
}

.bg-success.bg-opacity-10 {
  background-color: rgba(16, 185, 129, 0.12) !important;
}

.bg-warning.bg-opacity-10 {
  background-color: rgba(245, 158, 11, 0.12) !important;
}

.bg-info.bg-opacity-10 {
  background-color: rgba(59, 130, 246, 0.12) !important;
}

.bg-danger.bg-opacity-10 {
  background-color: rgba(239, 68, 68, 0.12) !important;
}

.bg-secondary.bg-opacity-10 {
  background-color: rgba(100, 116, 139, 0.12) !important;
}

.badge.bg-primary {
  background-color: var(--oj-primary) !important;
  color: #ffffff !important;
}

.form-check-input:checked {
  background-color: var(--oj-primary) !important;
  border-color: var(--oj-primary) !important;
}

.pagination .page-item.active .page-link {
  background-color: var(--oj-primary) !important;
  border-color: var(--oj-primary) !important;
  color: #ffffff !important;
}

.pagination .page-link {
  color: var(--oj-primary);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: var(--oj-primary) !important;
  color: #ffffff !important;
}

.dropdown-item:active,
.dropdown-item.active {
  background-color: var(--oj-primary) !important;
  color: #ffffff !important;
}

/* Dark Mode Tokens */
[data-bs-theme="dark"] {
  --oj-bg-main: #040026;
  --oj-bg-card: #0c0836;
  --oj-text-main: #f8fafc;
  --oj-text-muted: #94a3b8;
  --oj-border: #1e1a4d;
  --oj-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

/* Global Reset & Typography */
body {
  font-family: var(--oj-font-body);
  color: var(--oj-text-main);
  background-color: var(--oj-bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--oj-font-heading);
  font-weight: 700;
  color: var(--oj-text-main);
  letter-spacing: -0.025em;
}

/* Logo Theme Gradient Utilities */
.oj-brand-gradient {
  background: linear-gradient(135deg, #09004e 0%, #150070 50%, #f6004b 100%) !important;
}

.oj-accent-gradient {
  background: linear-gradient(135deg, #f6004b 0%, #d90042 100%) !important;
}

.oj-gradient-text {
  background: linear-gradient(135deg, #09004e 0%, #b80038 50%, #f6004b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Core Design System Button Utilities */
.btn-accent,
.btn-oj-accent {
  background: linear-gradient(135deg, #e6005c 0%, #c4004f 100%) !important;
  color: #ffffff !important;
  border: 1px solid #c4004f !important;
  border-radius: 8px !important;
  padding: 0.65rem 1.5rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(230, 0, 92, 0.35) !important;
  transition: all 0.25s ease-in-out !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-accent:hover,
.btn-oj-accent:hover {
  background: linear-gradient(135deg, #ff1a75 0%, #e6005c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(230, 0, 92, 0.5) !important;
}

.btn-navy,
.btn-oj-primary {
  background: linear-gradient(135deg, #09004e 0%, #150070 100%) !important;
  color: #ffffff !important;
  border: 1px solid #150070 !important;
  border-radius: 8px !important;
  padding: 0.65rem 1.5rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(9, 0, 78, 0.3) !important;
  transition: all 0.25s ease-in-out !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-navy:hover,
.btn-oj-primary:hover {
  background: linear-gradient(135deg, #150070 0%, #1e00a3 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(21, 0, 112, 0.45) !important;
}

.btn-outline-navy {
  background: transparent !important;
  color: #09004e !important;
  border: 2px solid #09004e !important;
  border-radius: 8px !important;
  padding: 0.6rem 1.4rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease-in-out !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-outline-navy:hover {
  background: #09004e !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(9, 0, 78, 0.3) !important;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 8px !important;
  padding: 0.6rem 1.4rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(4px) !important;
  transition: all 0.25s ease-in-out !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-outline-light:hover {
  background: #ffffff !important;
  color: #09004e !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4) !important;
}

/* Cards & Glassmorphism */
.oj-card {
  background: var(--oj-bg-card);
  border: 1px solid var(--oj-border);
  border-radius: var(--oj-radius-lg);
  box-shadow: var(--oj-shadow-md);
  padding: 1.75rem;
  transition: var(--oj-transition-normal);
}

.oj-card:hover {
  box-shadow: var(--oj-shadow-xl);
  transform: translateY(-3px);
}

.oj-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(9, 0, 78, 0.1);
  border-radius: var(--oj-radius-lg);
}

/* Badges & Tags */
.oj-badge-primary {
  background-color: var(--oj-primary-light);
  color: var(--oj-primary);
  font-weight: 600;
}

.oj-badge-accent {
  background-color: var(--oj-accent-light);
  color: var(--oj-accent);
  font-weight: 600;
}

/* Custom Links */
a.oj-link {
  color: var(--oj-accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--oj-transition-fast);
}

a.oj-link:hover {
  color: var(--oj-accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Form Input Icon Wrappers & Alignment
   ========================================================================== */
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--oj-text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 5;
  line-height: 1;
}

.input-icon-wrapper .password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--oj-text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 5;
  line-height: 1;
  transition: var(--oj-transition-fast);
}

.input-icon-wrapper .password-toggle:hover {
  color: var(--oj-accent);
}

.input-icon-wrapper .form-control-custom,
.input-icon-wrapper .form-control,
.input-icon-wrapper .form-select {
  padding-left: 2.75rem !important;
  width: 100%;
}

.input-icon-wrapper .form-control-custom.has-toggle,
.input-icon-wrapper:has(.password-toggle) .form-control-custom,
.input-icon-wrapper:has(.password-toggle) .form-control {
  padding-right: 2.75rem !important;
}

.form-control-custom {
  border: 1px solid var(--oj-border);
  border-radius: var(--oj-radius-md);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--oj-text-main);
  background-color: #ffffff;
  transition: var(--oj-transition-fast);
}

.form-control-custom:focus {
  border-color: var(--oj-accent);
  box-shadow: 0 0 0 4px rgba(246, 0, 75, 0.15);
  outline: none;
}

/* ==========================================================================
   Summernote Rich Text Editor Custom Styling
   ========================================================================== */
.note-editor.note-frame {
  border: 1px solid var(--oj-border) !important;
  border-radius: var(--oj-radius-md) !important;
  overflow: hidden;
  box-shadow: var(--oj-shadow-sm);
  transition: var(--oj-transition-fast);
}

.note-editor.note-frame:focus-within {
  border-color: var(--oj-accent) !important;
  box-shadow: 0 0 0 4px rgba(246, 0, 75, 0.15) !important;
}

.note-editor .note-toolbar {
  background-color: #f8fafc !important;
  border-bottom: 1px solid var(--oj-border) !important;
  padding: 0.5rem !important;
}

.note-editor .note-btn {
  background-color: #ffffff !important;
  border: 1px solid var(--oj-border) !important;
  color: var(--oj-text-main) !important;
  border-radius: 0.375rem !important;
  padding: 0.35rem 0.65rem !important;
  font-size: 0.85rem !important;
}

.note-editor .note-btn:hover,
.note-editor .note-btn.active {
  background-color: var(--oj-primary) !important;
  border-color: var(--oj-primary) !important;
  color: #ffffff !important;
}

.note-editor .note-editing-area .note-editable {
  padding: 1rem !important;
  font-family: var(--oj-font-body) !important;
  font-size: 0.95rem !important;
  color: var(--oj-text-main) !important;
  min-height: 180px;
  background-color: #ffffff !important;
}

.note-editor .note-statusbar {
  background-color: #f8fafc !important;
  border-top: 1px solid var(--oj-border) !important;
}

/* ==========================================================================
   Quill WYSIWYG Editor Custom Styling
   ========================================================================== */
#quill-editor {
  display: flex;
  flex-direction: column;
  min-height: 240px !important;
  margin-bottom: 2rem !important;
  clear: both !important;
}

.ql-toolbar.ql-snow {
  border: 1px solid var(--oj-border) !important;
  border-top-left-radius: var(--oj-radius-md) !important;
  border-top-right-radius: var(--oj-radius-md) !important;
  background-color: #f8fafc !important;
  padding: 0.65rem 0.85rem !important;
  flex-shrink: 0;
}

.ql-container.ql-snow {
  border: 1px solid var(--oj-border) !important;
  border-top: none !important;
  border-bottom-left-radius: var(--oj-radius-md) !important;
  border-bottom-right-radius: var(--oj-radius-md) !important;
  font-family: var(--oj-font-body) !important;
  font-size: 0.95rem !important;
  color: var(--oj-text-main) !important;
  background-color: #ffffff !important;
  min-height: 180px !important;
  flex-grow: 1;
}

.ql-container.ql-snow:focus-within {
  border-color: var(--oj-accent) !important;
  box-shadow: 0 0 0 4px rgba(246, 0, 75, 0.15);
}

.ql-editor {
  min-height: 180px !important;
  padding: 1rem !important;
}

/* Fix File Upload Container Top Spacing & Margin */
.custom-file-container {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  clear: both !important;
  display: block !important;
}

/* ==========================================================================
   Admin Portal Sidebar Modern Redesign Styling
   ========================================================================== */
.sidebar-wrapper {
  background-color: #ffffff !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  border-right: 1px solid #e2e8f0 !important;
  z-index: 1000 !important;
}

#sidebar ul.menu-categories li.menu {
  margin-bottom: 3px !important;
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle {
  padding: 10px 16px !important;
  border-radius: 12px !important;
  color: #334155 !important;
  font-weight: 600 !important;
  margin: 3px 12px !important;
  transition: all 0.2s ease-in-out !important;
  border: 1px solid transparent !important;
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle:hover {
  background-color: #f1f5f9 !important;
  color: #09004e !important;
  transform: translateX(2px);
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle.active,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle[data-active="true"] {
  background: linear-gradient(135deg, #09004e 0%, #150070 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(9, 0, 78, 0.25) !important;
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle.active i,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle.active span,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle[data-active="true"] i,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle[data-active="true"] span {
  color: #ffffff !important;
}

#sidebar ul.submenu,
#sidebar ul.submenu li {
  list-style: none !important;
  list-style-type: none !important;
}

#sidebar ul.submenu li::before,
#sidebar ul.submenu li::after {
  display: none !important;
  content: none !important;
}

#sidebar ul.submenu {
  padding-left: 0 !important;
  margin-top: 4px !important;
  margin-bottom: 6px !important;
  list-style: none !important;
}

#sidebar ul.submenu li a {
  padding: 8px 16px 8px 24px !important;
  border-radius: 8px !important;
  color: #475569 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  margin: 2px 14px !important;
  display: block !important;
  transition: all 0.2s ease !important;
}

#sidebar ul.submenu li a:hover {
  background-color: #f8fafc !important;
  color: #f6004b !important;
  padding-left: 28px !important;
}

#sidebar ul.submenu li.active a {
  background-color: rgba(246, 0, 75, 0.08) !important;
  color: #f6004b !important;
  font-weight: 700 !important;
  border-left: 3px solid #f6004b !important;
}

/* ==========================================================================
   Admin Portal Complete Clean Light Theme & Layout Overrides
   ========================================================================== */
/* Hide legacy CORK loader screen overlay to prevent white screen blocking */
div#load_screen,
#load_screen,
.loader {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  z-index: -99999 !important;
  pointer-events: none !important;
}

/* Header Container & Top Navbar */
.header-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 64px !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  z-index: 1030 !important;
}

.header-container .navbar,
.header-container header.header,
.navbar,
header.header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
  height: 64px !important;
  padding: 0 1rem !important;
}

.header-container .navbar .navbar-item {
  margin: 0 !important;
}

.header-container .navbar-item .nav-item a,
.header-container .navbar-item .nav-item span {
  color: #1e293b !important;
}

/* Header Navbar Badges High-Contrast Styling */
.header-container .badge,
.badge-admin-portal,
.badge-system-live {
  display: inline-flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.badge-admin-portal {
  background-color: rgba(9, 0, 78, 0.08) !important;
  color: #09004e !important;
  border: 1px solid rgba(9, 0, 78, 0.15) !important;
  margin-left: 12px !important;
  margin-right: 12px !important;
}

.badge-system-live {
  background-color: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
  margin-right: 12px !important;
}

/* Hide Redundant Second Sub-Header Bar */
.sub-header-container {
  display: none !important;
}

/* Main Flex Container (Positioned 64px below top navbar) */
.main-container {
  margin-top: 64px !important;
  min-height: calc(100vh - 64px) !important;
  display: flex !important;
  flex-direction: row !important;
  background-color: #f8fafc !important;
}

/* Sidebar Wrapper & Top Offset */
.sidebar-wrapper {
  position: fixed !important;
  top: 64px !important;
  left: 0 !important;
  width: 255px !important;
  height: calc(100vh - 64px) !important;
  background-color: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  z-index: 1000 !important;
  transition: left 0.3s ease, width 0.3s ease !important;
}

/* Collapsed Sidebar State (Desktop) */
.main-container.sidebar-closed .sidebar-wrapper {
  left: -270px !important;
}

/* Sidebar Menu Items */
#sidebar ul.menu-categories li.menu {
  margin-bottom: 3px !important;
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle {
  padding: 10px 16px !important;
  border-radius: 10px !important;
  color: #334155 !important;
  font-weight: 600 !important;
  margin: 3px 12px !important;
  transition: all 0.2s ease-in-out !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle:hover {
  background-color: #f1f5f9 !important;
  color: #09004e !important;
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle.active,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle[data-active="true"] {
  background: linear-gradient(135deg, #09004e 0%, #150070 100%) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(9, 0, 78, 0.2) !important;
}

#sidebar ul.menu-categories li.menu>a.dropdown-toggle.active i,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle.active span,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle[data-active="true"] i,
#sidebar ul.menu-categories li.menu>a.dropdown-toggle[data-active="true"] span {
  color: #ffffff !important;
}

/* Sidebar Submenus - NO Bullet Points */
#sidebar ul.submenu,
#sidebar ul.submenu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

#sidebar ul.submenu li::before,
#sidebar ul.submenu li::after {
  display: none !important;
  content: none !important;
}

#sidebar ul.submenu li a {
  padding: 8px 16px 8px 24px !important;
  border-radius: 8px !important;
  color: #64748b !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  margin: 2px 14px !important;
  display: block !important;
  transition: all 0.2s ease !important;
  background: transparent !important;
}

#sidebar ul.submenu li a:hover {
  background-color: #f8fafc !important;
  color: #f6004b !important;
  padding-left: 28px !important;
}

#sidebar ul.submenu li.active a {
  background-color: rgba(246, 0, 75, 0.08) !important;
  color: #f6004b !important;
  font-weight: 700 !important;
  border-left: 3px solid #f6004b !important;
}

/* Main Content Area (Positioned next to 255px sidebar) */
#content.main-content {
  margin-top: 0 !important;
  margin-left: 255px !important;
  width: calc(100% - 255px) !important;
  padding: 24px !important;
  background-color: #f8fafc !important;
  min-height: calc(100vh - 64px) !important;
  transition: margin-left 0.3s ease, width 0.3s ease !important;
}

/* Expanded Main Content State when Sidebar is Collapsed */
.main-container.sidebar-closed #content.main-content {
  margin-left: 0 !important;
  width: 100% !important;
}

/* Responsive Mobile Handling (screens <= 991px) */
@media (max-width: 991px) {
  .sidebar-wrapper {
    left: -270px !important;
  }

  .main-container.sbar-open .sidebar-wrapper {
    left: 0 !important;
  }

  #content.main-content {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

.layout-px-spacing {
  padding: 0 !important;
  margin: 0 !important;
}

/* ==========================================================================
   Flexbox Gap & Modern Spacing Utility Classes
   ========================================================================== */
.gap-1 {
  gap: 0.25rem !important;
}

.gap-1\.5 {
  gap: 0.375rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-2\.5 {
  gap: 0.625rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

/* Margin End (Right) & Margin Start (Left) BS5 compatibility helpers */
.me-1 {
  margin-right: 0.25rem !important;
}

.me-1\.5 {
  margin-right: 0.375rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-2\.5 {
  margin-right: 0.625rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-1\.5 {
  margin-left: 0.375rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-2\.5 {
  margin-left: 0.625rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

/* ==========================================================================
   TOP UTILITY BAR & MODERN NAVBAR STYLES
   ========================================================================== */

/* Header Container Reset */
.main-nav-container {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(9, 0, 78, 0.08) !important;
  z-index: 1000 !important;
}

body {
  padding-top: 0 !important;
}

.welcome-overlay {
  margin-top: 0 !important;
}

/* Top Utility Bar */
.top-utility-bar {
  background: linear-gradient(135deg, #09004e 0%, #150070 100%);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-utility-bar a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
}

.top-utility-bar a:hover {
  color: #ffffff !important;
}

.top-utility-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.top-utility-icon-circle {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.18) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
}

.top-utility-icon-circle i,
.top-utility-icon-circle .fab,
.top-utility-icon-circle .fa {
  color: #ffffff !important;
  font-size: 0.85rem !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.top-utility-icon-circle:hover {
  background: #f6004b !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Navbar Layout Alignment */
.main-nav-container .main-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 75px !important;
  height: 75px !important;
}

.main-nav-container .main-nav .logo {
  height: 50px !important;
  line-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  float: none !important;
  margin: 0 !important;
}

.main-nav-container .main-nav .logo img {
  max-height: 46px !important;
  width: auto !important;
  object-fit: contain;
}

@media (min-width: 992px) {
  .main-nav-container .menu {
    float: none !important;
    display: flex !important;
    align-items: center !important;
  }

  .main-nav-container .menu .menu-container {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 0.35rem;
  }

  .main-nav-container .menu .menu-container .menu-item {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 75px !important;
  }

  .main-nav-container .menu .menu-container .menu-item>a.nav-link {
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 0.85rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #09004e !important;
    border-radius: 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
  }

  .main-nav-container .menu .menu-container .menu-item>a.nav-link:hover {
    color: #f6004b !important;
    background: #fff0f4 !important;
  }
}

/* Remove CSS pseudo chevron to prevent double arrows */
.main-nav-container .main-nav .menu .menu-container .menu-item .nav-link.submenu-icon:after {
  display: none !important;
  content: "" !important;
}

/* Sub-Menu Dropdown Fix */
.main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu {
  top: 65px !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 30px rgba(9, 0, 78, 0.12) !important;
  padding: 0.5rem !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  min-width: 220px !important;
}

.main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu .sub-menu-item {
  height: auto !important;
  display: block !important;
}

.main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu .sub-menu-item .sub-menu-link {
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0.6rem 0.85rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu .sub-menu-item .sub-menu-link:hover {
  background: #eef1ff !important;
  color: #09004e !important;
  padding-left: 1.1rem !important;
}

/* Action CTA Buttons */
.nav-btn-submit {
  background: linear-gradient(135deg, #f6004b 0%, #d90042 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(246, 0, 75, 0.28) !important;
  transition: all 0.2s ease !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.nav-btn-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(246, 0, 75, 0.4) !important;
  color: #ffffff !important;
}

.nav-btn-portal {
  background: #eef1ff !important;
  color: #09004e !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 50px !important;
  border: 1px solid rgba(9, 0, 78, 0.15) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.nav-btn-portal:hover {
  background: #09004e !important;
  color: #ffffff !important;
  border-color: #09004e !important;
}

/* ==========================================================================
   HERO / WELCOME OVERLAY SECTION STYLES
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(9, 0, 78, 0.95) 0%, rgba(21, 0, 112, 0.90) 50%, rgba(10, 4, 60, 0.96) 100%), url('../images/oasisjournal-welcome-page-image.jpg') center/cover no-repeat;
  padding: 5.5rem 0 4.5rem 0;
  overflow: hidden;
  color: #ffffff;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(246, 0, 75, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-family: var(--oj-font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #f6004b 0%, #d90042 100%);
  color: #ffffff !important;
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(246, 0, 75, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(246, 0, 75, 0.55);
  color: #ffffff !important;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  font-family: var(--oj-font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transform: translateY(-3px);
}

/* Quick Search Box */
.hero-search-container {
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.hero-search-box {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
  box-shadow: 0 15px 35px rgba(9, 0, 78, 0.25);
  display: flex;
  align-items: center;
}

.hero-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none !important;
}

.hero-search-btn {
  background: #09004e;
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hero-search-btn:hover {
  background: #f6004b;
}

/* Hero Feature Cards Grid */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 991px) {
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.8rem;
  }
}

.hero-feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: left;
  transition: all 0.25s ease;
}

.hero-feature-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.hero-feature-title {
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.hero-feature-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Organisation Overview Redesign Section Styling
   ========================================================================== */
.overview-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 5rem 0;
  overflow: hidden;
}

.overview-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(9, 0, 78, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.overview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(246, 0, 75, 0.08);
  color: #f6004b;
  border: 1px solid rgba(246, 0, 75, 0.18);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.overview-title {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: #09004e;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.overview-lead {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.overview-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(9, 0, 78, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.overview-pillar-card.overview-pillar-row {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.35rem;
}

.overview-pillar-card.overview-pillar-row .overview-pillar-icon {
  margin-bottom: 0;
}

.overview-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(9, 0, 78, 0.1);
  border-color: rgba(9, 0, 78, 0.2);
}

.overview-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.overview-pillar-icon.navy {
  background: rgba(9, 0, 78, 0.08);
  color: #09004e;
}

.overview-pillar-icon.crimson {
  background: rgba(246, 0, 75, 0.08);
  color: #f6004b;
}

.overview-pillar-icon.emerald {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.overview-pillar-title {
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.overview-pillar-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.overview-impact-card {
  background: linear-gradient(135deg, #09004e 0%, #0c0459 60%, #170075 100%);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  color: #ffffff;
  box-shadow: 0 20px 30px -10px rgba(9, 0, 78, 0.25);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overview-impact-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(246, 0, 75, 0.3) 0%, rgba(246, 0, 75, 0) 70%);
  pointer-events: none;
}

.overview-impact-header {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.overview-impact-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.overview-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.overview-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 0.85rem;
  padding: 1rem;
}

.overview-stat-number {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.overview-stat-label {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-overview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #09004e !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  width: 100%;
  border: none;
}

.btn-overview-cta *,
.btn-overview-cta span,
.btn-overview-cta i {
  color: #09004e !important;
  transition: all 0.25s ease;
}

.btn-overview-cta:hover {
  background: #f6004b;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(246, 0, 75, 0.4);
}

.btn-overview-cta:hover *,
.btn-overview-cta:hover span,
.btn-overview-cta:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   Call for Papers Banner Redesign Styling
   ========================================================================== */
.callforpapers-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(9, 0, 78, 0.88) 0%, rgba(5, 0, 54, 0.95) 100%),
    url('../images/photos/callforpaper.jpg') center/cover no-repeat;
  padding: 4.5rem 0;
  color: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}

.callforpapers-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(246, 0, 75, 0.18);
  color: #ff3b75;
  border: 1px solid rgba(246, 0, 75, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.callforpapers-title {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 2.35rem;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.callforpapers-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 2rem;
}

.callforpapers-incentives {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.callforpapers-incentive-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.callforpapers-incentive-tag i {
  color: #f59e0b;
}

.callforpapers-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-callforpapers-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #09004e !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 0.75rem;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  border: none;
}

.btn-callforpapers-primary *,
.btn-callforpapers-primary span,
.btn-callforpapers-primary i {
  color: #09004e !important;
  transition: all 0.25s ease;
}

.btn-callforpapers-primary:hover {
  background: #f6004b;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(246, 0, 75, 0.4);
}

.btn-callforpapers-primary:hover *,
.btn-callforpapers-primary:hover span,
.btn-callforpapers-primary:hover i {
  color: #ffffff !important;
}

.btn-callforpapers-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 0.75rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-callforpapers-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Accreditation & Indexing Bodies Logo Grid Redesign Styling
   ========================================================================== */
.indexing-section {
  padding: 5rem 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--oj-border);
  border-bottom: 1px solid var(--oj-border);
}

.indexing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 0, 78, 0.06);
  color: var(--oj-navy);
  border: 1px solid rgba(9, 0, 78, 0.12);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.indexing-title {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--oj-navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.indexing-desc {
  font-size: 1rem;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.indexing-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 100px;
  transition: all 0.25s ease;
}

.indexing-logo-item img {
  max-height: 80px;
  max-width: 90%;
  object-fit: contain;
  filter: grayscale(15%) opacity(0.85);
  transition: all 0.25s ease;
}

.indexing-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* ==========================================================================
   OASIS List of Journals & Search Results Styling
   ========================================================================== */
.journals-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
}

.journals-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(246, 0, 75, 0.08);
  color: var(--oj-crimson);
  border: 1px solid rgba(246, 0, 75, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.journals-title {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--oj-navy);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.journals-desc {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 760px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

/* Journal Card Component */
.journal-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(9, 0, 78, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.75rem;
}

.journal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(9, 0, 78, 0.2);
  box-shadow: 0 16px 32px rgba(9, 0, 78, 0.12);
}

.journal-card-cover {
  position: relative;
  height: 220px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.journal-card-cover img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.journal-card:hover .journal-card-cover img {
  transform: scale(1.05);
}

.journal-card-date {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(9, 0, 78, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.journal-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
  text-align: left;
}

.journal-card-title {
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--oj-navy);
  line-height: 1.35;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card-summary {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-journal-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #09004e;
  background: var(--oj-navy, #09004e);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-journal-primary *,
.btn-journal-primary span,
.btn-journal-primary i {
  color: #ffffff !important;
  transition: all 0.25s ease;
}

.btn-journal-primary:hover {
  background: #f6004b;
  background: var(--oj-crimson, #f6004b);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(246, 0, 75, 0.35);
}

.btn-journal-primary:hover *,
.btn-journal-primary:hover span,
.btn-journal-primary:hover i {
  color: #ffffff !important;
}

.btn-journal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #f1f5f9;
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.825rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-journal-secondary *,
.btn-journal-secondary span,
.btn-journal-secondary i {
  color: #334155 !important;
  transition: all 0.25s ease;
}

.btn-journal-secondary:hover {
  background: #e2e8f0;
  color: var(--oj-navy) !important;
}

.btn-journal-secondary:hover *,
.btn-journal-secondary:hover span,
.btn-journal-secondary:hover i {
  color: var(--oj-navy) !important;
}

/* Pager / Pagination Styling */
.pager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pager li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 0.65rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--oj-navy);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.pager li a:hover,
.pager li a.active {
  background: var(--oj-crimson);
  border-color: var(--oj-crimson);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(246, 0, 75, 0.35);
}

/* ==========================================================================
   Footer & Newsletter Section Redesign Styling
   ========================================================================== */
.footer-newsletter-banner {
  background: linear-gradient(135deg, #09004e 0%, #050036 60%, #150070 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.footer-newsletter-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 0, 75, 0.15) 0%, rgba(246, 0, 75, 0) 70%);
  pointer-events: none;
}

.footer-newsletter-title {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-newsletter-desc {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 0;
}

.newsletter-form-container {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
}

.newsletter-form-container input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
}

.newsletter-form-container input::placeholder {
  color: #94a3b8;
}

.btn-newsletter-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background: #f6004b !important;
  background: var(--oj-crimson, #f6004b) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 1.65rem !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(246, 0, 75, 0.4) !important;
}

.btn-newsletter-submit *,
.btn-newsletter-submit span,
.btn-newsletter-submit i {
  color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-newsletter-submit:hover {
  background: #d90042 !important;
  transform: scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(246, 0, 75, 0.5) !important;
}

.btn-newsletter-submit:hover *,
.btn-newsletter-submit:hover span,
.btn-newsletter-submit:hover i {
  color: #ffffff !important;
}

/* Main Footer Container */
.footer-main {
  background-color: #050036;
  color: #94a3b8;
  padding: 5rem 0 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo {
  height: 4.5rem;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 0.65rem;
}

.footer-contact-item i {
  color: #f6004b;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #ffffff !important;
}

.footer-heading {
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: #f6004b;
  border-radius: 2px;
}

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

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8 !important;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.footer-links-list a i {
  font-size: 0.75rem;
  color: rgba(246, 0, 75, 0.7);
  transition: transform 0.25s ease;
}

.footer-links-list a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

.footer-links-list a:hover i {
  color: #f6004b;
  transform: translateX(2px);
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.25rem 0.25rem 0.25rem 0;
}

/* Bottom Copyright Bar */
.footer-bottom {
  background-color: #030026;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}

.footer-copyright a {
  color: #94a3b8 !important;
  text-decoration: underline !important;
}

.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background: #f6004b;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(246, 0, 75, 0.4);
}

/* ==========================================================================
   Journals Directory Page Redesign
   ========================================================================== */
.journals-hero {
  background: linear-gradient(135deg, #09004e 0%, #050036 65%, #150070 100%);
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.journals-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246, 0, 75, 0.12) 0%, rgba(246, 0, 75, 0) 70%);
  pointer-events: none;
}

.journals-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.journals-hero-title {
  font-family: var(--oj-font-heading);
  font-weight: 800;
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.journals-hero-subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
}

.journals-search-box {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(5, 0, 54, 0.35);
  border-radius: 9999px;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
  transition: all 0.25s ease;
}

.journals-search-box:focus-within {
  box-shadow: 0 16px 40px rgba(246, 0, 75, 0.25);
  background: #ffffff;
}

.journals-search-box input {
  background: transparent;
  border: none;
  color: var(--oj-navy);
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  outline: none;
}

.journals-search-box input::placeholder {
  color: #94a3b8;
}

.btn-journals-search {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background: #f6004b !important;
  background: var(--oj-crimson, #f6004b) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 1.75rem !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(246, 0, 75, 0.4) !important;
}

.btn-journals-search *,
.btn-journals-search span,
.btn-journals-search i {
  color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-journals-search:hover {
  background: #d90042 !important;
  color: #ffffff !important;
  transform: scale(1.03) !important;
  box-shadow: 0 6px 18px rgba(246, 0, 75, 0.5) !important;
}

.btn-journals-search:hover *,
.btn-journals-search:hover span,
.btn-journals-search:hover i {
  color: #ffffff !important;
}

.journals-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.journals-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
}

.journals-stat-item i {
  color: #f6004b;
}

/* Sidebar Widgets for Journals Page */
.sidebar-widget {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
}

.sidebar-widget-title {
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--oj-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.sidebar-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #f6004b;
}

.category-pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-pill-list li {
  margin-bottom: 0.5rem;
}

.category-pill-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  color: #475569;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.category-pill-list li a span {
  background: #e2e8f0;
  color: var(--oj-navy);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.category-pill-list li:hover a,
.category-pill-list li.active a {
  background: var(--oj-navy);
  color: #ffffff !important;
  border-color: var(--oj-navy);
}

.category-pill-list li:hover a span,
.category-pill-list li.active a span {
  background: #f6004b;
  color: #ffffff;
}

.submit-cta-box {
  background: linear-gradient(135deg, #050036 0%, #150070 100%);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.submit-cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(246, 0, 75, 0.25) 0%, rgba(246, 0, 75, 0) 70%);
  pointer-events: none;
}

.btn-cta-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  background: #f6004b !important;
  background: var(--oj-crimson, #f6004b) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.75rem 1.65rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(246, 0, 75, 0.4) !important;
}

.btn-cta-submit *,
.btn-cta-submit span,
.btn-cta-submit i {
  color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-cta-submit:hover {
  background: #d90042 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(246, 0, 75, 0.5) !important;
}

.btn-cta-submit:hover *,
.btn-cta-submit:hover span,
.btn-cta-submit:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   Overview Page Redesign
   ========================================================================== */
.overview-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.25s ease;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

.overview-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(9, 0, 78, 0.08);
  border-color: rgba(246, 0, 75, 0.3);
}

.overview-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 0.85rem;
  background: rgba(246, 0, 75, 0.08);
  color: #f6004b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.overview-pillar-card:hover .overview-icon-box {
  background: #f6004b;
  color: #ffffff;
  transform: scale(1.05);
}

.overview-content-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.overview-quote-box {
  background: linear-gradient(135deg, rgba(9, 0, 78, 0.04) 0%, rgba(246, 0, 75, 0.04) 100%);
  border-left: 4px solid #f6004b;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.75rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--oj-navy);
}

/* ==========================================================================
   Affiliations Page Custom Styling
   ========================================================================== */
.table-affiliations {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.table-affiliations th {
  background: #f8fafc;
  color: var(--oj-navy);
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.table-affiliations td {
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  font-size: 0.925rem;
  color: #334155;
  font-weight: 500;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.table-affiliations tr:hover td {
  background: #f8fafc;
  color: var(--oj-navy);
}

.badge-country {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-country-ng {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-country-us {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-country-in {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-country-default {
  background: rgba(9, 0, 78, 0.08);
  color: var(--oj-navy);
  border: 1px solid rgba(9, 0, 78, 0.15);
}

/* ==========================================================================
   Editorial Team Page Custom Styling
   ========================================================================== */
.editorial-member-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

.editorial-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(9, 0, 78, 0.08);
  border-color: rgba(246, 0, 75, 0.3);
}

.editorial-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oj-navy) 0%, #1a0080 100%);
  color: #ffffff;
  font-family: var(--oj-font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(9, 0, 78, 0.25);
  border: 2px solid rgba(246, 0, 75, 0.3);
}

.editorial-role-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f6004b;
  background: rgba(246, 0, 75, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Header & Mobile Navigation System
   ========================================================================== */
@media (min-width: 992px) {
  .main-nav-container .main-nav .menu .menu-container {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .main-nav-container {
    position: relative !important;
    width: 100%;
    z-index: 1050;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: visible !important;
  }

  .main-nav-container .main-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .main-nav-container .main-nav .logo {
    order: 1;
    max-width: 180px;
  }

  .main-nav-container .main-nav .logo img {
    max-height: 42px;
    width: auto;
  }

  .main-nav-container .main-nav .menu-trigger {
    order: 2;
    display: block !important;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 10;
  }

  .main-nav-container .main-nav .menu {
    order: 3;
    width: 100% !important;
    float: none !important;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 12px 0 20px 0;
    margin-top: 8px;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }

  .main-nav-container .main-nav .menu .menu-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item {
    width: 100%;
    height: auto !important;
    min-height: auto;
    margin: 0 !important;
    position: relative;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b !important;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item .nav-link:hover,
  .main-nav-container .main-nav .menu .menu-container .menu-item.opened > .nav-link {
    background-color: #f1f5f9;
    color: #09004e !important;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu {
    position: static !important;
    display: none;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 3px solid #09004e !important;
    background: #f8fafc !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 6px 0 6px 12px !important;
    margin-top: 4px;
    margin-bottom: 6px;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item.opened .sub-menu {
    display: block !important;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu .sub-menu-item {
    height: auto !important;
    margin-bottom: 2px;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu .sub-menu-link {
    padding: 8px 12px !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item .sub-menu .sub-menu-link:hover {
    color: #09004e !important;
    background-color: #e2e8f0;
  }

  .main-nav-container .main-nav .menu .menu-container .menu-item .nav-btn-submit,
  .main-nav-container .main-nav .menu .menu-container .menu-item .nav-btn-portal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
    padding: 10px 16px;
    text-align: center;
    font-weight: 600;
    border-radius: 50rem;
  }
}

/* Footer Responsive Rules */
@media (max-width: 767.98px) {
  .footer-newsletter-banner {
    padding: 3rem 0;
    text-align: center;
  }

  .footer-newsletter-title {
    font-size: 1.5rem;
  }

  .footer-newsletter-desc {
    font-size: 0.925rem;
    margin-bottom: 1.25rem;
  }

  .newsletter-form-container {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.75rem;
  }

  .newsletter-form-container input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50rem;
    padding: 0.85rem 1.25rem;
    width: 100%;
    text-align: center;
  }

  .btn-newsletter-submit {
    width: 100% !important;
    padding: 0.85rem 1.5rem !important;
    justify-content: center !important;
  }

  .footer-main {
    padding-top: 3.5rem !important;
  }

  .footer-heading {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .footer-social-links {
    justify-content: center !important;
    margin-top: 1rem;
  }

  .footer-copyright {
    text-align: center !important;
  }
}

/* Public Website & Academic Content Mobile Responsiveness */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 3.5rem 0 2.5rem 0 !important;
  }

  .hero-title,
  .journals-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.3 !important;
  }

  .journals-hero {
    padding: 3.5rem 0 2.5rem 0 !important;
  }

  .journals-hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-badge,
  .journals-hero-badge {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.85rem !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .journals-stats-row {
    gap: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
    margin-top: 1.5rem !important;
  }

  .reader-tab-nav {
    flex-direction: column !important;
    width: 100% !important;
  }

  .reader-tab-link {
    width: 100% !important;
    text-align: center !important;
    border-radius: 8px !important;
    margin-bottom: 4px !important;
  }

  .reader-controls-bar {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 575.98px) {
  .hero-title,
  .journals-hero-title {
    font-size: 1.6rem !important;
  }

  .hero-search-box,
  .journals-search-box {
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 0.65rem !important;
  }

  .hero-search-box input,
  .journals-search-box input {
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50rem !important;
    padding: 0.85rem 1.25rem !important;
    width: 100% !important;
    box-shadow: 0 8px 20px rgba(5, 0, 54, 0.2) !important;
    text-align: center !important;
  }

  .hero-search-btn,
  .btn-journals-search {
    width: 100% !important;
    border-radius: 50rem !important;
    padding: 0.85rem 1.5rem !important;
    justify-content: center !important;
  }

  .reading-content-area.theme-sepia,
  .reading-content-area.theme-dark {
    padding: 1.25rem !important;
  }

  .editorial-member-card,
  .overview-content-card {
    padding: 1.25rem !important;
  }

  .affiliation-search-wrapper {
    width: 100% !important;
  }

  .login-wrapper,
  .signup-wrapper,
  .recovery-wrapper {
    padding: 1.25rem 0.5rem !important;
  }

  .form-side {
    padding: 1.5rem 1.25rem !important;
  }

  .role-tab-btn {
    padding: 0.5rem 0.5rem !important;
    font-size: 0.825rem !important;
  }
}

/* Submissions & Portal Sidebar Responsiveness */
@media (max-width: 991.98px) {
  .oj-card.sticky-top {
    position: static !important;
    top: auto !important;
  }
}

/* Admin Portal Header, Sidebar & Overlay Mobile Layer Hierarchy */
.header-container {
  z-index: 1060 !important;
}

.sub-header-container {
  z-index: 1055 !important;
}

.sidebar-wrapper,
#sidebar {
  z-index: 1050 !important;
}

.overlay.show,
.search-overlay.show {
  z-index: 1035 !important;
}