/* ==========================================================================
   JPIM MASTER STYLESHEET (CONSOLIDATED & PRODUCTION-READY)
   Journal of Preventive and Integrated Medicine
   ========================================================================== */

/* ==========================================================================
   SECTION 1: TOP HEADER & MEDICAL BANNER BACKGROUND
   ========================================================================== */

/* Outer full-width header shell with medical background wave */
.pkp_structure_head {
  background-color: #ffffff !important;
  background-image: url('/public/journals/1/homepageImage_en.png') !important;
  background-repeat: no-repeat !important;
  background-position: center 48% !important;
  background-size: cover !important;
  border-bottom: 2px solid #0b2a5b !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  width: 100% !important;
  box-shadow: 0 3px 12px rgba(7, 29, 66, 0.10) !important;
}

/* Centered inner header container with balanced vertical cushion */
.pkp_head_wrapper {
  max-width: 1380px !important;
  width: 96% !important;
  padding: 16px 16px 6px 16px !important;
  margin: 0 auto !important;
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   SECTION 2: LOGO & JOURNAL TITLE (HIGH-CONTRAST NAVY)
   ========================================================================== */

.pkp_site_name_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 56px !important;
  transform: translateY(-4px) !important;
}

.pkp_site_name_wrapper a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
  text-decoration: none !important;
}

/* Circular Logo with Clean Border & Depth */
.pkp_site_name_wrapper img {
  max-height: 64px !important;
  width: auto !important;
  display: block !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  padding: 2px !important;
  border: 1.5px solid rgba(11, 42, 91, 0.15) !important;
  box-shadow: 0 3px 8px rgba(7, 29, 66, 0.12) !important;
}

/* Executive Dark Navy Title Text (Readability on Light Artwork) */
.pkp_site_name_wrapper a::after {
  content: "Journal of Preventive and Integrated Medicine" !important;
  display: inline-block !important;
  color: #071d42 !important;
  font-family: Georgia, "Times New Roman", Times, serif !important;
  font-size: clamp(1.30rem, 2.2vw, 2.15rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.8) !important;
}

/* Hide fallback text wrapper if OJS generates duplicate title tags */
.pkp_site_name_wrapper .is_text {
  display: none !important;
}

/* ==========================================================================
   SECTION 3: STRIP / HIDE TOP USER AUTH (REGISTER & LOGIN)
   ========================================================================== */

.pkp_navigation_user_wrapper,
.pkp_navigation_user,
#navigationUser {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   SECTION 4: SINGLE-ROW 3D PRIMARY NAVIGATION BAR
   ========================================================================== */

/* 3D Deep Navy Rectangular Bar */
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  background: linear-gradient(180deg, #0b2545 0%, #07172e 100%) !important;
  border: 1px solid #1e3a8a !important;
  border-bottom: 3px solid #0284c7 !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  padding: 0 12px !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
}

/* Single-Line List Container */
.pkp_navigation_primary {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
  gap: 2px !important;
  flex: 1 1 auto !important;
}

/* Tab List Items */
.pkp_navigation_primary > li {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  position: relative !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Vertical Dividers Between Tabs */
.pkp_navigation_primary > li:not(:first-child)::before {
  content: "" !important;
  display: inline-block !important;
  height: 18px !important;
  width: 1px !important;
  background: rgba(255, 255, 255, 0.24) !important;
  margin: 0 clamp(3px, 0.4vw, 6px) !important;
  flex-shrink: 0 !important;
}

/* Dynamic Fluid Typography Links */
.pkp_navigation_primary > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #f1f5f9 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: clamp(0.84rem, 0.72rem + 0.35vw, 1.02rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.15px !important;
  padding: 7px clamp(6px, 0.55vw, 12px) !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.18s ease-in-out !important;
  border: 1px solid transparent !important;
}

/* Soft Cyan Tab Glow on Hover */
.pkp_navigation_primary > li > a:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4) !important;
}

/* Pinned Right 3D Search Button */
.pkp_search,
.pkp_navigation_primary > li:has(a[href*="search"]) {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.pkp_search a,
.pkp_search_link,
.pkp_navigation_primary li a[href*="search"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
  border-bottom: 2px solid #075985 !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  font-size: clamp(0.85rem, 0.75rem + 0.3vw, 0.95rem) !important;
  padding: 6px 14px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.18s ease !important;
}

.pkp_search a:hover,
.pkp_search_link:hover,
.pkp_navigation_primary li a[href*="search"]:hover {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   SECTION 5: RESPONSIVE BEHAVIOR (TABLETS & PHONES)
   ========================================================================== */

@media screen and (max-width: 900px) {
  .pkp_navigation_primary_wrapper {
    overflow-x: auto !important;
  }
  .pkp_navigation_primary {
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }
  .pkp_navigation_primary::-webkit-scrollbar {
    display: none !important;
  }
}
/* ==========================================================================
   SECTION 7: CALL FOR PAPERS ANIMATED BADGE
   ========================================================================== */

@keyframes jpimPulseBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.35), 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 5px 14px rgba(22, 163, 74, 0.45), 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.35), 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.jpim-banner-blink {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%) !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 10px 22px !important;
  border-radius: 30px !important;
  border: 1px solid #4ade80 !important;
  border-bottom: 3px solid #0f5128 !important;
  animation: jpimPulseBadge 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.jpim-banner-blink:hover {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.6) !important;
}

.jpim-banner-blink:active {
  transform: translateY(1px) scale(0.98) !important;
}
/* ==========================================================================
   SECTION 8: SIDEBAR POLISH (INFORMATION BLOCK + ACTION BUTTONS)
   ========================================================================== */

/* --- A. STYLING THE NATIVE INFORMATION BLOCK --- */
.pkp_block.block_information {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 16px 18px !important;
  margin-bottom: 22px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

.pkp_block.block_information .title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #0b2545 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 0 12px 0 !important;
  padding-bottom: 6px !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.pkp_block.block_information ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.pkp_block.block_information ul li {
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_block.block_information ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  color: #1e3a8a !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}

.pkp_block.block_information ul li a::after {
  content: "›" !important;
  font-size: 1.1rem !important;
  color: #94a3b8 !important;
  transition: transform 0.18s ease, color 0.18s ease !important;
}

.pkp_block.block_information ul li a:hover {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  transform: translateX(3px) !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12) !important;
}

.pkp_block.block_information ul li a:hover::after {
  color: #0284c7 !important;
  transform: translateX(2px) !important;
}

/* --- B. STYLING THE CUSTOM BUTTONS (FIX RUN-ON TEXT) --- */
.jpim-sidebar-actions,
.pkp_block.block_custom .content:has(a[href*="submissions"]) {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 22px !important;
  width: 100% !important;
}

/* Fallback selector in case OJS wraps everything in plain <p> tags */
.pkp_block.block_custom a[href*="submissions"],
.pkp_block.block_custom a[href*="register"],
.pkp_block.block_custom a[href*="login"],
.jpim-sidebar-actions .jpim-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-decoration: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.90rem !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
  margin-bottom: 8px !important;
}

/* 1. Submit Article (Vivid Green) */
.pkp_block.block_custom a[href*="submissions"],
.jpim-sidebar-actions .jpim-btn-submit {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%) !important;
  border: 1px solid #4ade80 !important;
  border-bottom: 3px solid #0f5128 !important;
}
.pkp_block.block_custom a[href*="submissions"]:hover,
.jpim-sidebar-actions .jpim-btn-submit:hover {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4) !important;
}

/* 2. Register (Executive Dark Navy) */
.pkp_block.block_custom a[href*="register"]:first-of-type,
.jpim-sidebar-actions .jpim-btn-register {
  background: linear-gradient(180deg, #0b2545 0%, #07172e 100%) !important;
  border: 1px solid #1e3a8a !important;
  border-bottom: 3px solid #030a14 !important;
}
.pkp_block.block_custom a[href*="register"]:first-of-type:hover,
.jpim-sidebar-actions .jpim-btn-register:hover {
  background: linear-gradient(180deg, #16365f 0%, #0b2545 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(7, 23, 46, 0.35) !important;
}

/* 3. Login (Royal Blue) */
.pkp_block.block_custom a[href*="login"],
.jpim-sidebar-actions .jpim-btn-login {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid #38bdf8 !important;
  border-bottom: 3px solid #075985 !important;
}
.pkp_block.block_custom a[href*="login"]:hover,
.jpim-sidebar-actions .jpim-btn-login:hover {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4) !important;
}

/* 4. Join as Reviewer (Teal) */
.pkp_block.block_custom a[href*="register"]:last-of-type,
.jpim-sidebar-actions .jpim-btn-reviewer {
  background: linear-gradient(180deg, #0f766e 0%, #115e59 100%) !important;
  border: 1px solid #2dd4bf !important;
  border-bottom: 3px solid #042f2e !important;
}
.pkp_block.block_custom a[href*="register"]:last-of-type:hover,
.jpim-sidebar-actions .jpim-btn-reviewer:hover {
  background: linear-gradient(180deg, #14b8a6 0%, #0f766e 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.4) !important;
}
/* ==========================================================================
   SECTION 9: INFORMATION FOR READERS PORTAL (MODERN EXECUTIVE MEDICAL)
   ========================================================================== */

/* 1. Page Shell & Default Suppressions */
.page_information_readers .page_header,
.page_information_readers .page_title {
  display: none !important; /* Prevents double title collision in OJS */
}

.jpim-readers-container {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
  font-size: 1.05rem !important;
  box-sizing: border-box !important;
  padding: 0 4px !important;
}

/* 2. Top Hero Card */
.jpim-hero-card {
  background: linear-gradient(135deg, #09152b 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  padding: clamp(28px, 4.5vw, 46px) clamp(20px, 3.5vw, 40px) !important;
  border-radius: 10px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22) !important;
  box-sizing: border-box !important;
}

.jpim-hero-eyebrow {
  display: inline-block !important;
  text-transform: uppercase !important;
  letter-spacing: 1.8px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  margin-bottom: 10px !important;
}

.jpim-hero-title {
  font-family: Georgia, "Times New Roman", Times, serif !important;
  font-size: clamp(1.8rem, 2.6vw, 2.35rem) !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  letter-spacing: -0.3px !important;
}

.jpim-hero-subtitle {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem) !important;
  line-height: 1.7 !important;
  color: #f1f5f9 !important;
  margin: 0 !important;
  max-width: 900px !important;
}

/* 3. Highlight Feature Grid (Top Row) */
.jpim-feature-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 28px !important;
}

.jpim-pillar-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 20px 22px !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.jpim-pillar-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

.jpim-pillar-card h3 {
  margin: 0 0 6px 0 !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
}

.jpim-pillar-card p {
  margin: 0 !important;
  font-size: 0.94rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
}

.jpim-card-emerald { border-top: 5px solid #16a34a !important; }
.jpim-card-emerald h3 { color: #16a34a !important; }

.jpim-card-royal { border-top: 5px solid #2563eb !important; }
.jpim-card-royal h3 { color: #2563eb !important; }

.jpim-card-sky { border-top: 5px solid #0284c7 !important; }
.jpim-card-sky h3 { color: #0284c7 !important; }

/* 4. Content Cards */
.jpim-content-section {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: clamp(20px, 3vw, 32px) !important;
  margin-bottom: 26px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

.jpim-section-heading {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  padding-bottom: 10px !important;
  letter-spacing: -0.3px !important;
}

.jpim-lead-text {
  color: #334155 !important;
  margin-bottom: 16px !important;
}

.jpim-checklist {
  padding-left: 20px !important;
  margin: 0 0 20px 0 !important;
  color: #334155 !important;
  line-height: 1.85 !important;
}

.jpim-checklist li {
  margin-bottom: 10px !important;
}

.jpim-link {
  color: #0284c7 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}

.jpim-link:hover {
  color: #0369a1 !important;
  border-bottom-color: #0369a1 !important;
}

.jpim-callout-box {
  background-color: #eff6ff !important;
  border-left: 5px solid #2563eb !important;
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0 !important;
  font-size: 1.02rem !important;
  color: #1e3a8a !important;
  line-height: 1.7 !important;
  margin-top: 14px !important;
}

/* 5. Feature Grid (Bottom Row) */
.jpim-feature-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
}

.jpim-subcard {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 18px 20px !important;
}

.jpim-subcard h4 {
  margin: 0 0 6px 0 !important;
  color: #0f172a !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

.jpim-subcard p {
  margin: 0 !important;
  font-size: 0.96rem !important;
  color: #475569 !important;
  line-height: 1.65 !important;
}

/* Mobile Tweaks */
@media screen and (max-width: 600px) {
  .jpim-feature-grid-3,
  .jpim-feature-grid-2 {
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================================
   SECTION 10: INFORMATION FOR AUTHORS PORTAL (MODERN EXECUTIVE MEDICAL)
   ========================================================================== */

/* 1. Shell & Collision Prevention */
.page_information_authors .page_header,
.page_information_authors .page_title {
  display: none !important; /* Prevents unstyled OJS duplicate title */
}

.jpim-authors-container {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
  font-size: 1.05rem !important;
  box-sizing: border-box !important;
  padding: 0 4px !important;
}

/* 2. Top Hero Card */
.jpim-authors-hero {
  background: linear-gradient(135deg, #071739 0%, #0f326e 100%) !important;
  color: #ffffff !important;
  padding: clamp(28px, 4.5vw, 46px) clamp(20px, 3.5vw, 40px) !important;
  border-radius: 10px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25) !important;
  box-sizing: border-box !important;
}

.jpim-authors-hero .jpim-hero-subtitle {
  margin-bottom: 22px !important;
}

.jpim-hero-actions {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.jpim-hero-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  padding: 11px 22px !important;
  border-radius: 6px !important;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-sizing: border-box !important;
}

/* Vivid Sapphire Primary CTA */
.jpim-btn-submit-hero {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
  border-bottom: 3px solid #075985 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.jpim-btn-submit-hero:hover {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55) !important;
}

/* Frosted Glass Secondary Button */
.jpim-btn-glass-hero {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.jpim-btn-glass-hero:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  border-color: #ffffff !important;
}

/* 3. 5-Step Process Cards Grid */
.jpim-steps-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
}

.jpim-step-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.jpim-step-card:hover {
  transform: translateY(-2px) !important;
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12) !important;
}

.jpim-step-badge {
  display: inline-block !important;
  font-weight: 800 !important;
  color: #0284c7 !important;
  font-size: 0.82rem !important;
  margin-bottom: 4px !important;
  letter-spacing: 0.6px !important;
}

.jpim-step-card strong {
  color: #0f172a !important;
  font-size: 1.02rem !important;
  margin-bottom: 6px !important;
}

.jpim-step-card p {
  font-size: 0.90rem !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 600px) {
  .jpim-steps-grid {
    grid-template-columns: 1fr !important;
  }
  .jpim-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .jpim-hero-actions .jpim-hero-btn {
    width: 100% !important;
    text-align: center !important;
  }
}
/* ==========================================================================
   SECTION 11: INFORMATION FOR LIBRARIANS PORTAL
   ========================================================================== */

/* 1. Suppression & Layout */
.page_information_librarians .page_header,
.page_information_librarians .page_title {
  display: none !important; /* Removes duplicate OJS page title */
}

.jpim-librarian-page {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
  font-size: 1.05rem !important;
  box-sizing: border-box !important;
  padding: 0 4px !important;
}

/* 2. Top Hero Card */
.jpim-lib-hero {
  background: linear-gradient(135deg, #071739 0%, #0f326e 100%) !important;
  color: #ffffff !important;
  padding: clamp(28px, 4.5vw, 46px) clamp(20px, 3.5vw, 40px) !important;
  border-radius: 10px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25) !important;
  box-sizing: border-box !important;
}

/* 3. Interactive OAI-PMH Endpoint Box */
.jpim-oai-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 5px solid #0284c7 !important;
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 16px !important;
}

.jpim-oai-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.jpim-oai-label {
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  color: #64748b !important;
  letter-spacing: 0.5px !important;
}

.jpim-oai-info code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.98rem !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  background: #e2e8f0 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  border: 1px solid #cbd5e1 !important;
  word-break: break-all !important;
}

/* 3D Action Copy Button */
.jpim-copy-btn {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
  border-bottom: 3px solid #075985 !important;
  padding: 9px 18px !important;
  border-radius: 6px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.jpim-copy-btn:hover {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.5) !important;
}

.jpim-copy-btn:active {
  transform: translateY(1px) !important;
}

/* 4. Contact Subcard */
.jpim-contact-subcard {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  margin-top: 16px !important;
}

.jpim-contact-subcard h4 {
  margin: 0 0 8px 0 !important;
  color: #0f172a !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
}

.jpim-contact-subcard p {
  margin: 0 !important;
  font-size: 1.02rem !important;
  color: #475569 !important;
  line-height: 1.7 !important;
}

/* Mobile Tweaks */
@media screen and (max-width: 650px) {
  .jpim-oai-box {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .jpim-copy-btn {
    width: 100% !important;
    text-align: center !important;
  }
}
/* ==========================================================================
   SECTION 12: ULTRA-COMPACT MINI FOOTER & LOGO
   ========================================================================== */

/* 1. Slim Footprint Wrapper */
.pkp_structure_footer_wrapper {
  background-color: #f1f5f9 !important;
  border-top: 1px solid #cbd5e1 !important;
  padding: 8px 0 6px 0 !important;
  margin-top: 16px !important;
  min-height: unset !important;
}

.pkp_structure_footer {
  max-width: 1100px !important;
  width: 95% !important;
  margin: 0 auto !important;
  padding: 0 12px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

/* 2. Scaled-Down Content & Text */
.pkp_structure_footer .pkp_footer_content {
  flex: 1 1 auto !important;
  text-align: center !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
  color: #475569 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_footer .pkp_footer_content p {
  margin: 2px 0 !important;
  font-size: 0.74rem !important;
  line-height: 1.35 !important;
}

.pkp_structure_footer .pkp_footer_content strong {
  font-size: 0.82rem !important;
  color: #0b2545 !important;
  display: inline-block !important;
}

.pkp_structure_footer .pkp_footer_content a {
  color: #0284c7 !important;
  font-weight: 600 !important;
  font-size: 0.74rem !important;
  text-decoration: none !important;
}

.pkp_structure_footer .pkp_footer_content a:hover {
  text-decoration: underline !important;
}

/* Miniature Creative Commons Badge */
.pkp_structure_footer img[src*="creativecommons"],
.pkp_structure_footer a[href*="creativecommons"] img {
  max-height: 16px !important;
  width: auto !important;
  margin: 2px auto !important;
  display: inline-block !important;
}

/* 3. Subdued, Miniature OJS/PKP Logo */
.pkp_brand_footer {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0.5 !important;
  transition: opacity 0.2s ease !important;
}

.pkp_brand_footer:hover {
  opacity: 0.9 !important;
}

.pkp_brand_footer a,
.pkp_brand_footer img,
.pkp_structure_footer .pkp_brand_footer a img,
.pkp_footer_content ~ a img {
  max-width: 50px !important;
  max-height: 20px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
}

@media screen and (max-width: 768px) {
  .pkp_structure_footer {
    flex-direction: column !important;
    gap: 6px !important;
  }
}
/* ==========================================================================
   SECTION 13: SUPPRESS LEFT SIDEBAR BOUNDARY LINE ONLY
   ========================================================================== */

/* 1. Strip left border and left shadows from the sidebar and adjacent elements */
.pkp_structure_sidebar,
.pkp_structure_sidebar.left,
.pkp_structure_sidebar.right,
.pkp_structure_sidebar_wrapper {
  border-left: none !important;
  border-left-width: 0 !important;
  border-left-color: transparent !important;
}

/* 2. Clear any left divider on the main content container if sidebar sits to its left */
.pkp_structure_main {
  border-left: none !important;
}

/* 3. Strip left pseudo-element separator lines without affecting header/footer/right */
.pkp_structure_sidebar::before,
.pkp_structure_sidebar_wrapper::before,
.pkp_structure_main::before {
  border-left: none !important;
  display: none !important;
  content: none !important;
}
/* ==========================================================================
   SECTION 14: PUBLICATION ETHICS & MALPRACTICE PORTAL
   ========================================================================== */

/* 1. Page Shell & Collision Prevention */
.page_ethics .page_header,
.page_ethics .page_title,
.page_information_ethics .page_header,
.page_information_ethics .page_title {
  display: none !important;
}

.jpim-ethics-container {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
  font-size: 1.05rem !important;
  box-sizing: border-box !important;
  padding: 0 4px !important;
}

/* 2. Reinforced Hero Card */
.jpim-ethics-container .jpim-ethics-hero,
.jpim-ethics-hero {
  background: linear-gradient(135deg, #09152b 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  padding: clamp(28px, 4.5vw, 48px) clamp(20px, 3.5vw, 42px) !important;
  border-radius: 10px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25) !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
}

.jpim-ethics-hero .jpim-hero-title {
  color: #ffffff !important;
  font-family: Georgia, "Times New Roman", Times, serif !important;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem) !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.4px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
  display: block !important;
  visibility: visible !important;
}

.jpim-ethics-hero .jpim-hero-eyebrow {
  color: #38bdf8 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 8px !important;
  visibility: visible !important;
}

.jpim-ethics-hero .jpim-hero-subtitle {
  color: #f1f5f9 !important;
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  display: block !important;
  visibility: visible !important;
}

/* 3. Benchmark Grid (4 Pillars) */
.jpim-benchmark-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 28px !important;
}

.jpim-benchmark-grid .jpim-pillar-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.jpim-benchmark-grid .jpim-pillar-card strong {
  color: #0f172a !important;
  font-size: 1.10rem !important;
  display: block !important;
  font-weight: 800 !important;
}

.jpim-benchmark-grid .jpim-pillar-card span {
  font-size: 0.94rem !important;
  color: #475569 !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.jpim-card-amber { border-top: 5px solid #f59e0b !important; }

/* 4. ICMJE 4 Criteria Grid */
.jpim-criteria-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.jpim-criteria-badge {
  display: block !important;
  font-weight: 800 !important;
  color: #2563eb !important;
  font-size: 1.05rem !important;
  margin-bottom: 6px !important;
}

/* 5. Plagiarism Similarity Tiers */
.jpim-similarity-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.jpim-tier-card {
  border-radius: 8px !important;
  padding: 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.jpim-tier-card strong {
  font-size: 1.10rem !important;
  font-weight: 800 !important;
  display: block !important;
}

.jpim-tier-card span {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  display: block !important;
}

.jpim-tier-green { background: #f0fdf4 !important; border: 1px solid #bbf7d0 !important; }
.jpim-tier-green strong { color: #166534 !important; }
.jpim-tier-green span { color: #14532d !important; }

.jpim-tier-yellow { background: #fefce8 !important; border: 1px solid #fef08a !important; }
.jpim-tier-yellow strong { color: #854d0e !important; }
.jpim-tier-yellow span { color: #713f12 !important; }

.jpim-tier-red { background: #fef2f2 !important; border: 1px solid #fecaca !important; }
.jpim-tier-red strong { color: #991b1b !important; }
.jpim-tier-red span { color: #7f1d1d !important; }

/* Mobile Adjustments */
@media screen and (max-width: 600px) {
  .jpim-benchmark-grid,
  .jpim-criteria-grid,
  .jpim-similarity-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================================
   SECTION 15: INSTRUCTIONS FOR AUTHORS PORTAL & DATA TABLES
   ========================================================================== */

/* 1. Shell & Collision Prevention */
.page_instructions_authors .page_header,
.page_instructions_authors .page_title,
.page_information_authors .page_header,
.page_information_authors .page_title {
  display: none !important;
}

.jpim-instructions-container {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
  font-size: 1.05rem !important;
  box-sizing: border-box !important;
  padding: 0 4px !important;
}

/* 2. Reinforced Hero Banner (Guarantees Dark Navy Background & Visible White Text) */
.jpim-instructions-container .jpim-instructions-hero,
.jpim-instructions-hero {
  background: linear-gradient(135deg, #09152b 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  padding: clamp(28px, 4.5vw, 46px) clamp(20px, 3.5vw, 40px) !important;
  border-radius: 10px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22) !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
}

.jpim-instructions-hero .jpim-hero-eyebrow {
  color: #38bdf8 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 8px !important;
  visibility: visible !important;
}

.jpim-instructions-hero .jpim-hero-title {
  color: #ffffff !important;
  font-family: Georgia, "Times New Roman", Times, serif !important;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem) !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.4px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
  display: block !important;
  visibility: visible !important;
}

.jpim-instructions-hero .jpim-hero-subtitle {
  color: #f1f5f9 !important;
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
  margin: 0 0 22px 0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  display: block !important;
  visibility: visible !important;
}

/* 3. Responsive Data Tables */
.jpim-table-wrapper {
  overflow-x: auto !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 8px !important;
  -webkit-overflow-scrolling: touch !important;
}

.jpim-data-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.94rem !important;
  text-align: left !important;
  line-height: 1.55 !important;
}

.jpim-data-table thead tr {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

.jpim-data-table th {
  padding: 12px 14px !important;
  border: 1px solid #334155 !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
  color: #ffffff !important;
}

.jpim-data-table td {
  padding: 12px 14px !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

.jpim-data-table tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.jpim-data-table tbody tr:hover {
  background-color: #f1f5f9 !important;
}

.jpim-td-bold {
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}

.jpim-td-highlight {
  font-weight: 800 !important;
  color: #0284c7 !important;
}

/* 4. Code / Citation Callouts */
.jpim-inline-code {
  color: #0284c7 !important;
  background: #eff6ff !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.jpim-code-callout {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 5px solid #0284c7 !important;
  padding: 18px 22px !important;
  border-radius: 0 8px 8px 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.90rem !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
}

.jpim-code-callout strong {
  color: #0f172a !important;
}
/* ==========================================================================
   SECTION 16: EDITORIAL BOARD & MASTHEAD DIRECTORY
   ========================================================================== */

/* 1. Container & Intro */
.jpim-editorial-container {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  line-height: 1.7 !important;
  box-sizing: border-box !important;
}

.jpim-board-intro {
  font-size: 1.10rem !important;
  color: #334155 !important;
  margin-bottom: 24px !important;
  line-height: 1.75 !important;
}

/* 2. Board Grid & Stack */
.jpim-board-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* Subheadings between executive leadership and regular board members */
.jpim-board-subheading {
  margin: 20px 0 6px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.jpim-board-subheading h2 {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  letter-spacing: -0.2px !important;
}

/* 3. Base Member Card */
.jpim-member-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 18px 22px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.jpim-member-card:hover {
  transform: translateY(-2px) !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08) !important;
}

/* Elevated Accent for Executive Editors */
.jpim-card-leader {
  background: #f8fafc !important;
  border-left: 4px solid #0284c7 !important;
}

/* 4. Avatar Image Column */
.jpim-member-photo-col {
  flex: 0 0 95px !important;
  margin-right: 20px !important;
}

.jpim-member-avatar {
  width: 90px !important;
  height: 90px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 2px solid #0b2545 !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
  display: block !important;
}

/* 5. Typography & Metadata */
.jpim-member-body {
  flex: 1 1 auto !important;
}

.jpim-role-badge {
  display: inline-block !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  margin-bottom: 6px !important;
}

/* Role Badge Color Tokens */
.badge-primary { background: #e0f2fe !important; color: #0369a1 !important; }
.badge-royal   { background: #dbeafe !important; color: #1e40af !important; }
.badge-sky     { background: #e0f2fe !important; color: #0284c7 !important; }
.badge-teal    { background: #ccfbf1 !important; color: #0f766e !important; }
.badge-slate   { background: #f1f5f9 !important; color: #475569 !important; border: 1px solid #cbd5e1 !important; }
.badge-navy    { background: #f1f5f9 !important; color: #0b2545 !important; }

.jpim-member-name {
  margin: 0 0 4px 0 !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.jpim-member-affiliation {
  margin: 0 0 6px 0 !important;
  font-size: 0.94rem !important;
  color: #475569 !important;
  line-height: 1.55 !important;
}

.jpim-member-meta {
  font-size: 0.88rem !important;
  color: #334155 !important;
}

/* 6. Mobile Responsiveness */
@media screen and (max-width: 600px) {
  .jpim-member-card.jpim-has-avatar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .jpim-member-photo-col {
    margin-right: 0 !important;
  }
}
/* ==========================================================================
   SECTION 17: PRIVACY STATEMENT & DATA GOVERNANCE PORTAL
   ========================================================================== */

/* 1. Shell & OJS Default Title Suppression */
.page_privacy .page_header,
.page_privacy .page_title,
.page_about_privacy .page_header,
.page_about_privacy .page_title {
  display: none !important;
}

.jpim-privacy-container {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  line-height: 1.75 !important;
  font-size: 1.05rem !important;
  box-sizing: border-box !important;
  padding: 0 4px !important;
}

/* 2. Reinforced Hero Card */
.jpim-privacy-container .jpim-privacy-hero,
.jpim-privacy-hero {
  background: linear-gradient(135deg, #09152b 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  padding: clamp(28px, 4.5vw, 46px) clamp(20px, 3.5vw, 40px) !important;
  border-radius: 10px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22) !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
}

.jpim-privacy-hero .jpim-hero-title {
  color: #ffffff !important;
  font-family: Georgia, "Times New Roman", Times, serif !important;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem) !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.4px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
  display: block !important;
  visibility: visible !important;
}

.jpim-privacy-hero .jpim-hero-eyebrow {
  color: #38bdf8 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 8px !important;
  visibility: visible !important;
}

.jpim-privacy-hero .jpim-hero-subtitle {
  color: #f1f5f9 !important;
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  display: block !important;
  visibility: visible !important;
}

/* 3. Strict AI Privacy Callout (High-Visibility Warning) */
.jpim-callout-red {
  background-color: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-left: 5px solid #ef4444 !important;
  color: #7f1d1d !important;
  padding: 18px 22px !important;
  border-radius: 0 8px 8px 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
  margin-top: 14px !important;
}

/* Mobile Adjustments */
@media screen and (max-width: 600px) {
  .jpim-privacy-container .jpim-feature-grid-3 {
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================================
   SECTION 18: CUSTOM FOOTER INNER CONTENT & RESPONSIVE LAYOUT
   ========================================================================== */

.jpim-footer-inner {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #334155 !important;
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
  text-align: center !important;
  padding: 4px 0 !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.jpim-footer-title {
  margin: 0 0 4px 0 !important;
  font-weight: 800 !important;
  color: #0b2545 !important;
  font-size: 0.95rem !important;
  letter-spacing: -0.2px !important;
}

.jpim-footer-desc {
  margin: 0 auto 8px auto !important;
  color: #475569 !important;
  font-size: 0.82rem !important;
  max-width: 780px !important;
  line-height: 1.45 !important;
}

.jpim-footer-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px 8px !important;
  margin-bottom: 8px !important;
}

.jpim-footer-nav a {
  color: #0284c7 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: color 0.15s ease !important;
}

.jpim-footer-nav a:hover {
  color: #0369a1 !important;
  text-decoration: underline !important;
}

.jpim-footer-sep {
  color: #94a3b8 !important;
  font-weight: bold !important;
  font-size: 0.8rem !important;
}

.jpim-footer-license {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 4px !important;
}

.jpim-footer-license img {
  border: 0 !important;
  max-height: 22px !important;
  width: auto !important;
  display: inline-block !important;
}

.jpim-footer-license p {
  margin: 0 !important;
  font-size: 0.76rem !important;
  color: #64748b !important;
}

.jpim-footer-license p a {
  color: #0284c7 !important;
  text-decoration: underline !important;
}

/* Mobile Tweaks */
@media screen and (max-width: 600px) {
  .jpim-footer-nav .jpim-footer-sep {
    display: none !important;
  }
  .jpim-footer-nav {
    gap: 6px 14px !important;
  }
}
/* ==========================================================================
   SECTION 19: SIDEBAR ANNOUNCEMENT & DISCUSSION FORUM WIDGET
   ========================================================================== */

.jpim-sidebar-widget {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-top: 4px solid #0284c7 !important;
  border-radius: 8px !important;
  padding: 16px 14px !important;
  margin-bottom: 22px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Header */
.jpim-widget-header {
  margin-bottom: 12px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding-bottom: 8px !important;
}

.jpim-widget-badge {
  display: inline-block !important;
  font-size: 0.70rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  color: #0284c7 !important;
  text-transform: uppercase !important;
  margin-bottom: 2px !important;
}

.jpim-widget-title {
  margin: 0 !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #0b2545 !important;
  letter-spacing: -0.2px !important;
}

/* Editorial Announcement Card */
.jpim-editor-notice {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 3.5px solid #16a34a !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  margin-bottom: 14px !important;
}

.jpim-notice-tag {
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  color: #16a34a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  margin-bottom: 4px !important;
}

.jpim-notice-text {
  margin: 0 0 6px 0 !important;
  font-size: 0.84rem !important;
  line-height: 1.5 !important;
  color: #334155 !important;
}

.jpim-notice-date {
  display: block !important;
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

/* Visitor Input Box */
.jpim-visitor-forum {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.jpim-forum-label {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.jpim-forum-textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 8px 10px !important;
  font-family: inherit !important;
  font-size: 0.84rem !important;
  color: #1e293b !important;
  resize: vertical !important;
  line-height: 1.45 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.jpim-forum-textarea:focus {
  outline: none !important;
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* 3D Action Submit Button */
.jpim-forum-btn {
  width: 100% !important;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
  border-bottom: 2.5px solid #075985 !important;
  border-radius: 5px !important;
  padding: 8px 12px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3) !important;
  transition: all 0.18s ease !important;
}

.jpim-forum-btn:hover {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.45) !important;
}

.jpim-forum-btn:active {
  transform: translateY(1px) !important;
}