/**
 * jcfi-custom.css
 *
 * Custom Stylesheet for Journal of Contemporary Financial Intelligence (JCFI)
 * Website: jcfijournal.com
 *
 * Color Palette:
 * - Brand Deep Purple: #3B0764 / #4C1D95 / #2E1065 (Right header swoosh & Hero facets)
 * - Brand Accent Orange: #D94814 / #E65100 / #FF7A33 (Active states, CTA buttons & Hero facets)
 * - Warm Gold / Champagne: #FDE68A / #F59E0B (Left flowing ribbon curve)
 * - Deep Obsidian Navy: #0B0F19 / #060A14 (Top utility bar & Footer foundation)
 * - Pure White: #FFFFFF (Clean header & hero left surface)
 * - Slate Dark: #1E293B (Primary typography & nav links)
 * - Slate Muted: #64748B (Secondary typography)
 * - Border Light: #E2E8F0 / #ECEEF2 (Delicate dividers)
 */

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

/* =========================================================
   1. CSS VARIABLES & SYSTEM TOKENS
   ========================================================= */
:root {
  --jcfi-primary-purple: #3B0764;
  --jcfi-primary-purple-dark: #2E1065;
  --jcfi-primary-purple-mid: #4C1D95;
  --jcfi-primary-purple-light: #7E22CE;
  
  --jcfi-accent-orange: #D94814;
  --jcfi-accent-orange-hover: #BF360C;
  --jcfi-accent-orange-light: #FFF5F2;
  --jcfi-accent-orange-glow: rgba(217, 72, 20, 0.25);

  --jcfi-gold-light: #FDE68A;
  --jcfi-gold-mid: #F59E0B;

  --jcfi-topbar-bg: #0B0F19;
  --jcfi-topbar-border: rgba(255, 255, 255, 0.08);
  --jcfi-topbar-text: #CBD5E1;
  --jcfi-topbar-muted: #94A3B8;

  --jcfi-header-bg: #FFFFFF;
  --jcfi-header-border: #ECEEF2;
  --jcfi-header-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);

  --jcfi-text-main: #0F172A;
  --jcfi-text-nav: #1E293B;
  --jcfi-text-muted: #64748B;
  
  --jcfi-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --jcfi-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --jcfi-radius-pill: 9999px;
  --jcfi-radius-md: 10px;
  --jcfi-radius-lg: 16px;
}

/* =========================================================
   2. GLOBAL RESETS & GENERAL LAYOUT
   ========================================================= */
body.jcfi_theme,
body {
  font-family: var(--jcfi-font-body) !important;
  color: var(--jcfi-text-main) !important;
  background-color: #F8FAFC !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.pkp_structure_page {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
}

/* =========================================================
   3. TOP UTILITY BAR (CLEAN: EMAIL + BADGES + AUTH)
   ========================================================= */
.jcfi_top_utility_bar {
  background-color: var(--jcfi-topbar-bg) !important;
  border-bottom: 1px solid var(--jcfi-topbar-border) !important;
  width: 100% !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1020 !important;
  box-sizing: border-box !important;
  font-family: var(--jcfi-font-sans) !important;
}

.jcfi_top_utility_container {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 7px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

/* Left: Email Only */
.jcfi_top_contact_group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.jcfi_top_contact_item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: var(--jcfi-topbar-text) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  letter-spacing: 0.1px !important;
  transition: color 0.2s ease !important;
}

.jcfi_top_contact_item:hover {
  color: #FFFFFF !important;
}

.jcfi_top_contact_icon {
  width: 14px !important;
  height: 14px !important;
  color: var(--jcfi-accent-orange) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Center: Badges */
.jcfi_top_badges_group {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
}

.jcfi_top_badge_item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #E2E8F0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  user-select: none !important;
  white-space: nowrap !important;
}

.jcfi_top_badge_icon_wrap {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background-color: rgba(217, 72, 20, 0.2) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.jcfi_top_badge_icon {
  width: 11px !important;
  height: 11px !important;
  color: #FF7A33 !important;
}

/* Right: User Authentication Links */
.jcfi_top_actions_group {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.jcfi_top_auth_links {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.jcfi_top_auth_links a {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--jcfi-topbar-muted) !important;
  text-decoration: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.jcfi_top_auth_links a:hover {
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

.jcfi_top_auth_links .jcfi_auth_highlight {
  color: #FFFFFF !important;
  background-color: var(--jcfi-accent-orange) !important;
}

.jcfi_top_auth_links .jcfi_auth_highlight:hover {
  background-color: var(--jcfi-accent-orange-hover) !important;
}

/* =========================================================
   4. SCULPTED MAIN HEADER & INCREASED LOGO SIZE
   ========================================================= */
header.pkp_structure_head.jcfi_main_header,
header.pkp_structure_head {
  background-color: var(--jcfi-header-bg) !important;
  border-bottom: 1px solid var(--jcfi-header-border) !important;
  box-shadow: var(--jcfi-header-shadow) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1010 !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important; /* CRITICAL: Never clip dropdowns! */
}

/* Background SVGs Layer (Clipped to prevent horizontal scroll) */
.jcfi_header_bg_layer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

/* Left Warm Gold / Amber Flowing Ribbon */
.jcfi_header_ribbon_svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 380px !important;
  height: 100% !important;
  pointer-events: none !important;
}

/* Right Deep Royal Purple Sculpted Swoosh */
.jcfi_header_swoosh_svg {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 620px !important;
  height: 100% !important;
  pointer-events: none !important;
}

/* Foreground Container */
.jcfi_navbar_container {
  position: relative !important;
  z-index: 2 !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* --- ROW 1: BRAND UNIT (ENLARGED & BOLD) & SEARCH BAR --- */
.jcfi_header_top_row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  min-height: 76px !important;
  box-sizing: border-box !important;
}

/* Brand Unit: PROMINENT & ENLARGED */
.jcfi_brand_unit {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

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

/* Enlarged Logo SVG: 76px x 76px */
.jcfi_logo_glyph {
  width: 76px !important;
  height: 76px !important;
  display: block !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 6px 16px rgba(94, 53, 177, 0.32)) !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.jcfi_brand_link:hover .jcfi_logo_glyph {
  transform: scale(1.05) translateY(-1px) !important;
}

/* Enlarged Uploaded Logo */
.jcfi_uploaded_logo {
  max-height: 76px !important;
  width: auto !important;
  display: block !important;
  filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.08)) !important;
}

/* Enhanced Bold Typography & Increased Sizes */
.jcfi_brand_text_wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.12 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

.jcfi_brand_pre {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  margin-bottom: 2px !important;
  line-height: 1.1 !important;
}

.jcfi_brand_mid {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 22.5px !important;
  font-weight: 900 !important;
  color: #0A0F1D !important;
  letter-spacing: -0.2px !important;
  text-transform: uppercase !important;
  line-height: 1.14 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.04) !important;
}

.jcfi_brand_accent {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 22.5px !important;
  font-weight: 900 !important;
  color: #EA580C !important;
  letter-spacing: 0.1px !important;
  text-transform: uppercase !important;
  line-height: 1.14 !important;
  text-shadow: 0 1px 2px rgba(234, 88, 12, 0.18) !important;
}

/* Integrated Search Bar inside Swoosh */
.jcfi_header_actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.jcfi_search_container {
  position: relative !important;
  z-index: 5 !important;
}

.jcfi_search_form {
  position: relative !important;
  width: 260px !important;
  margin: 0 !important;
}

.jcfi_search_input {
  width: 100% !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: var(--jcfi-radius-pill) !important;
  padding: 0 40px 0 18px !important;
  font-family: var(--jcfi-font-body) !important;
  font-size: 13.5px !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.jcfi_search_input::placeholder {
  color: #64748B !important;
  opacity: 0.9 !important;
}

.jcfi_search_input:focus {
  background: #FFFFFF !important;
  border-color: var(--jcfi-accent-orange) !important;
  box-shadow: 0 4px 18px rgba(217, 72, 20, 0.22) !important;
  width: 300px !important;
}

.jcfi_search_submit_btn {
  position: absolute !important;
  right: 5px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: none !important;
  background: transparent !important;
  color: var(--jcfi-primary-purple) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transition: color 0.2s, transform 0.2s !important;
}

.jcfi_search_submit_btn svg {
  width: 16px !important;
  height: 16px !important;
}

.jcfi_search_submit_btn:hover {
  color: var(--jcfi-accent-orange) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* Mobile Hamburger Toggle */
.jcfi_hamburger_btn {
  display: none !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 8px !important;
  border: 1.5px solid #E2E8F0 !important;
  background: #FFFFFF !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.2s ease !important;
}

.jcfi_hamburger_btn:hover {
  border-color: var(--jcfi-accent-orange) !important;
  background-color: var(--jcfi-accent-orange-light) !important;
}

.jcfi_hamburger_bar {
  width: 20px !important;
  height: 2.2px !important;
  background-color: #1E293B !important;
  border-radius: 2px !important;
  transition: all 0.25s ease !important;
}

/* --- ROW 2: HORIZONTAL NAVIGATION BAR --- */
.jcfi_header_nav_row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-bottom: 8px !important;
  padding-top: 2px !important;
  padding-left: 16px !important;
  width: 100% !important;
  overflow: visible !important;
}

.jcfi_desktop_nav {
  width: 100% !important;
  overflow: visible !important;
}

.jcfi_nav_list,
#navigationPrimary.pkp_navigation_primary,
.jcfi_desktop_nav .pkp_navigation_primary {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.jcfi_nav_list > li,
.jcfi_desktop_nav .pkp_navigation_primary > li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
}

/* Navigation Links */
.jcfi_nav_list > li > a,
.jcfi_desktop_nav .pkp_navigation_primary > li > a {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--jcfi-text-nav) !important;
  text-decoration: none !important;
  padding: 6px 6px !important;
  transition: color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

.jcfi_nav_list > li > a:hover,
.jcfi_desktop_nav .pkp_navigation_primary > li > a:hover {
  color: var(--jcfi-accent-orange) !important;
}

/* Dedicated Rounded Pill for Active Standalone Links (e.g. Home) */
.jcfi_nav_list > li:not([aria-haspopup]):not(:has(> ul)).active > a,
.jcfi_nav_list > li:not([aria-haspopup]):not(:has(> ul)).current > a,
.jcfi_desktop_nav .pkp_navigation_primary > li:not([aria-haspopup]):not(:has(> ul)).active > a,
.jcfi_desktop_nav .pkp_navigation_primary > li:not([aria-haspopup]):not(:has(> ul)).current > a,
.jcfi_nav_list > li > a.jcfi_nav_pill_home {
  background: linear-gradient(135deg, #3B0764 0%, #2E1065 50%, #1E1B4B 100%) !important;
  color: #FFFFFF !important;
  border-radius: var(--jcfi-radius-pill) !important;
  padding: 6px 18px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  box-shadow: 0 4px 14px rgba(46, 16, 101, 0.35) !important;
  transition: all 0.25s ease !important;
}

.jcfi_nav_list > li:not([aria-haspopup]):not(:has(> ul)).active > a:hover,
.jcfi_nav_list > li:not([aria-haspopup]):not(:has(> ul)).current > a:hover,
.jcfi_desktop_nav .pkp_navigation_primary > li:not([aria-haspopup]):not(:has(> ul)).active > a:hover,
.jcfi_desktop_nav .pkp_navigation_primary > li:not([aria-haspopup]):not(:has(> ul)).current > a:hover,
.jcfi_nav_list > li > a.jcfi_nav_pill_home:hover {
  background: linear-gradient(135deg, #4C1D95 0%, #D94814 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(217, 72, 20, 0.35) !important;
  color: #FFFFFF !important;
}

/* Parent Dropdown Menus (e.g. About) Never Have Pill Background */
.jcfi_nav_list > li[aria-haspopup="true"] > a,
.jcfi_nav_list > li:has(> ul) > a,
.pkp_navigation_primary > li[aria-haspopup="true"] > a,
.pkp_navigation_primary > li:has(> ul) > a {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.jcfi_nav_list > li[aria-haspopup="true"].active > a,
.jcfi_nav_list > li:has(> ul).active > a,
.pkp_navigation_primary > li[aria-haspopup="true"].active > a,
.pkp_navigation_primary > li:has(> ul).active > a,
.jcfi_nav_list > li[aria-haspopup="true"]:hover > a,
.jcfi_nav_list > li:has(> ul):hover > a,
.pkp_navigation_primary > li[aria-haspopup="true"]:hover > a,
.pkp_navigation_primary > li:has(> ul):hover > a {
  color: var(--jcfi-accent-orange) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Hide Default OJS Caret to Prevent Double Arrows (About ˇ ˇ) */
.jcfi_nav_list li[aria-haspopup]::after,
.pkp_navigation_primary li[aria-haspopup]::after,
.jcfi_desktop_nav li[aria-haspopup]::after,
#navigationPrimary li[aria-haspopup]::after {
  display: none !important;
  content: "" !important;
  border: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Single Modern SVG Caret on Parent Dropdown Link */
.jcfi_nav_list > li:has(> ul) > a::after,
.jcfi_nav_list > li[aria-haspopup="true"] > a::after,
.pkp_navigation_primary > li:has(> ul) > a::after,
.pkp_navigation_primary > li[aria-haspopup="true"] > a::after {
  content: "" !important;
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  margin-left: 5px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
  vertical-align: middle !important;
}

.jcfi_nav_list > li:hover:has(> ul) > a::after,
.jcfi_nav_list > li:hover[aria-haspopup="true"] > a::after,
.pkp_navigation_primary > li:hover:has(> ul) > a::after,
.pkp_navigation_primary > li:hover[aria-haspopup="true"] > a::after,
.jcfi_nav_list > li.active[aria-haspopup="true"] > a::after,
.pkp_navigation_primary > li.active[aria-haspopup="true"] > a::after {
  transform: rotate(180deg) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D94814' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.jcfi_dropdown_caret {
  width: 11px !important;
  height: 11px !important;
  color: #64748B !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
  display: inline-block !important;
}

.jcfi_nav_list > li:hover .jcfi_dropdown_caret {
  transform: rotate(180deg) !important;
  color: var(--jcfi-accent-orange) !important;
}

/* Dropdown Menu Visibility (Never Hidden, Fully Dynamic) */
.jcfi_nav_list > li > ul,
.jcfi_desktop_nav .pkp_navigation_primary > li > ul,
.jcfi_nav_list > li > ul.jcfi_dropdown_menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 230px !important;
  background-color: #FFFFFF !important;
  border: 1px solid var(--jcfi-header-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16) !important;
  padding: 8px !important;
  margin: 6px 0 0 0 !important;
  list-style: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 999999 !important;
}

.jcfi_nav_list > li:hover > ul,
.jcfi_nav_list > li:focus-within > ul,
.jcfi_desktop_nav .pkp_navigation_primary > li:hover > ul,
.jcfi_desktop_nav .pkp_navigation_primary > li:focus-within > ul {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  display: block !important;
}

.jcfi_nav_list > li > ul li,
.jcfi_desktop_nav .pkp_navigation_primary > li > ul li,
.jcfi_nav_list > li > ul.jcfi_dropdown_menu li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
}

.jcfi_nav_list > li > ul a,
.jcfi_desktop_nav .pkp_navigation_primary > li > ul a,
.jcfi_nav_list > li > ul.jcfi_dropdown_menu a {
  display: block !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}

.jcfi_nav_list > li > ul a:hover,
.jcfi_desktop_nav .pkp_navigation_primary > li > ul a:hover,
.jcfi_nav_list > li > ul.jcfi_dropdown_menu a:hover {
  background-color: var(--jcfi-accent-orange-light) !important;
  color: var(--jcfi-accent-orange) !important;
  padding-left: 17px !important;
}

/* =========================================================
   5. UNIFIED MERGED HERO SECTION (COMPACT 400px HEIGHT & SOUND TOGGLE)
   ========================================================= */
.jcfi_hero_wrapper {
  position: relative !important;
  width: 100% !important;
  min-height: 400px !important; /* Compact refined height */
  height: 400px !important;
  overflow: hidden !important;
  background-color: #060A14 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Video Background Layer */
.jcfi_hero_video_bg_wrap {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 62% !important;
  height: 100% !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.jcfi_hero_video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.jcfi_hero_video_shade {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(to right, rgba(6, 10, 20, 0.3) 0%, transparent 45%) !important;
  pointer-events: none !important;
}

/* Floating Sound ON/OFF Button on Video */
.jcfi_video_sound_btn {
  position: absolute !important;
  bottom: 20px !important;
  right: 25px !important;
  z-index: 20 !important;
  background: rgba(6, 10, 20, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #FFFFFF !important;
  border-radius: var(--jcfi-radius-pill) !important;
  padding: 7px 16px !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  user-select: none !important;
}

.jcfi_video_sound_btn:hover {
  background: rgba(217, 72, 20, 0.92) !important;
  border-color: #D94814 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(217, 72, 20, 0.45) !important;
}

.jcfi_video_sound_btn.unmuted {
  background: rgba(16, 185, 129, 0.9) !important;
  border-color: #10B981 !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35) !important;
}

.jcfi_video_sound_btn.unmuted:hover {
  background: rgba(5, 150, 105, 0.95) !important;
  border-color: #059669 !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5) !important;
}

.jcfi_video_sound_btn svg {
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
  flex-shrink: 0 !important;
}

.jcfi_video_sound_btn .jcfi_sound_icon_unmuted {
  display: none !important;
}

.jcfi_video_sound_btn .jcfi_sound_icon_muted {
  display: inline-block !important;
}

.jcfi_video_sound_btn.unmuted .jcfi_sound_icon_muted {
  display: none !important;
}

.jcfi_video_sound_btn.unmuted .jcfi_sound_icon_unmuted {
  display: inline-block !important;
}

/* Seamless 3D Angled Facets Backdrop SVG (Framed Right to Leave 100% Clear Left Margin) */
.jcfi_hero_merged_backdrop_svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Foreground Content Container */
.jcfi_hero_content_wrap {
  position: relative !important;
  z-index: 5 !important;
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 30px 32px 30px 48px !important;
  min-height: 400px !important;
  height: 400px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.jcfi_hero_text_box {
  max-width: 530px !important; /* Perfect margin to prevent any facet clipping */
}

/* Tagline / Overline */
.jcfi_hero_tagline {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--jcfi-primary-purple-mid) !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.jcfi_hero_tagline_bar {
  width: 20px !important;
  height: 2px !important;
  background-color: var(--jcfi-accent-orange) !important;
}

/* Hero Main Heading (Refined for compact height) */
.jcfi_hero_title {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.18 !important;
  letter-spacing: -0.4px !important;
  margin: 0 0 12px 0 !important;
}

.jcfi_hero_title .jcfi_title_abbr {
  color: var(--jcfi-accent-orange) !important;
}

/* Hero Description */
.jcfi_hero_desc {
  font-family: var(--jcfi-font-body) !important;
  font-size: 14.5px !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  margin: 0 0 22px 0 !important;
  max-width: 480px !important;
}

/* Primary Hero CTA Button */
.jcfi_hero_cta_btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #D94814 0%, #E65100 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 11px 26px !important;
  border-radius: var(--jcfi-radius-pill) !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px var(--jcfi-accent-orange-glow) !important;
  transition: all 0.25s ease !important;
}

.jcfi_hero_cta_btn:hover {
  background: linear-gradient(135deg, #BF360C 0%, #D94814 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(217, 72, 20, 0.4) !important;
  color: #FFFFFF !important;
}

.jcfi_hero_cta_btn svg {
  width: 15px !important;
  height: 15px !important;
  transition: transform 0.2s ease !important;
}

.jcfi_hero_cta_btn:hover svg {
  transform: translateX(4px) !important;
}

/* =========================================================
   6. HIGHLIGHT FEATURE CARDS (BELOW HERO)
   ========================================================= */
.jcfi_highlights_section {
  width: 100% !important;
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  padding: 30px 24px !important;
  box-sizing: border-box !important;
}

.jcfi_highlights_container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
}

.jcfi_highlight_card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 16px 14px !important;
  border-radius: 12px !important;
  background-color: #FAFAFA !important;
  border: 1px solid #E2E8F0 !important;
  transition: all 0.25s ease !important;
}

.jcfi_highlight_card:hover {
  background-color: #FFFFFF !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(217, 72, 20, 0.3) !important;
}

.jcfi_highlight_icon_wrap {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(217, 72, 20, 0.1) 0%, rgba(59, 7, 100, 0.1) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
  color: var(--jcfi-accent-orange) !important;
}

.jcfi_highlight_icon_wrap svg {
  width: 24px !important;
  height: 24px !important;
}

.jcfi_highlight_title {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 0 0 6px 0 !important;
}

.jcfi_highlight_text {
  font-family: var(--jcfi-font-body) !important;
  font-size: 12.5px !important;
  color: #64748B !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* =========================================================
   7. MAIN CONTENT & SIDEBAR 2-COLUMN SYSTEM
   ========================================================= */

/* Strictly Remove Any OJS Default Pseudo-Element Vertical Lines */
.pkp_structure_main:before,
.pkp_structure_main:after,
.pkp_structure_main::before,
.pkp_structure_main::after,
.pkp_structure_sidebar:before,
.pkp_structure_sidebar:after,
.pkp_structure_sidebar::before,
.pkp_structure_sidebar::after,
.pkp_structure_content:before,
.pkp_structure_content:after,
.pkp_structure_content::before,
.pkp_structure_content::after,
.pkp_structure_page:before,
.pkp_structure_page:after,
.pkp_structure_page::before,
.pkp_structure_page::after,
.page_index_journal:before,
.page_index_journal:after,
.page_index_journal::before,
.page_index_journal::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  position: static !important;
}

/* 2-Column Content Container */
.pkp_structure_content {
  width: 100% !important;
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 36px 28px 60px !important;
  box-sizing: border-box !important;
  display: block !important;
}

.pkp_structure_content.has_sidebar {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 32px !important;
}

/* Main Content Column */
.pkp_structure_main {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Sidebar Column */
.pkp_structure_sidebar {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 360px !important;
  min-width: 280px !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  position: sticky !important;
  top: 96px !important;
  align-self: flex-start !important;
  z-index: 10 !important;
}

.jcfi_sidebar_wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Academic Sidebar Blocks (Cards) */
.pkp_block {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 22px 22px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.pkp_block .title,
.pkp_block h2.title,
.pkp_block h3.title {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.2px !important;
  border-bottom: 2px solid #F1F5F9 !important;
  padding-bottom: 8px !important;
  display: block !important;
}

.pkp_block .content,
.pkp_block p {
  font-family: var(--jcfi-font-body) !important;
  font-size: 13.5px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 10px 0 !important;
}

.pkp_block ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_block li {
  margin-bottom: 8px !important;
  padding: 0 !important;
}

.pkp_block a {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
}

.pkp_block a:hover {
  color: var(--jcfi-accent-orange) !important;
  padding-left: 3px !important;
}

/* Sidebar Cover Image Card */
.jcfi_sidebar_cover_card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.jcfi_sidebar_cover_card a.cover {
  display: block !important;
  width: 100% !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.jcfi_sidebar_cover_card a.cover:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16) !important;
}

.jcfi_sidebar_cover_img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}

.jcfi_sidebar_issue_meta {
  width: 100% !important;
  text-align: center !important;
}

.jcfi_sidebar_issue_title {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin-bottom: 10px !important;
}

.pkp_block a.jcfi_sidebar_issue_btn,
.jcfi_sidebar_wrapper a.jcfi_sidebar_issue_btn,
.jcfi_sidebar_issue_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #D94814 0%, #E65100 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  padding: 10px 22px !important;
  border-radius: var(--jcfi-radius-pill) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(217, 72, 20, 0.32) !important;
  transition: all 0.25s ease !important;
  border: none !important;
  margin-top: 6px !important;
}

.pkp_block a.jcfi_sidebar_issue_btn:hover,
.jcfi_sidebar_wrapper a.jcfi_sidebar_issue_btn:hover,
.jcfi_sidebar_issue_btn:hover {
  background: linear-gradient(135deg, #BF360C 0%, #D94814 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(217, 72, 20, 0.45) !important;
  padding-left: 22px !important;
}

/* Main Content Cards */
.jcfi_card,
.homepage_about,
.current_issue,
.page,
.page_issue,
.page_about,
.page_contact,
.page_submissions,
.page_editorial_team,
.page_archives,
.page_article {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Headings Strictly Free of Any Straight Lines */
.jcfi_section_title,
.homepage_about h2,
.current_issue h2,
.page_title,
h1.page_title,
.page h1,
.page_issue h1,
.page_archives h1 {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.3px !important;
  border-bottom: none !important; /* STRICTLY REMOVE STRAIGHT LINE */
  padding-bottom: 0 !important;
  display: block !important;
}

.homepage_about_content,
.homepage_about_content p {
  font-family: var(--jcfi-font-body) !important;
  font-size: 15px !important;
  color: #334155 !important;
  line-height: 1.75 !important;
  margin-bottom: 12px !important;
}

/* Featured Issue Header in Card */
.jcfi_issue_header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 16px !important;
  margin-bottom: 22px !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.jcfi_issue_badge_label {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--jcfi-accent-orange) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.jcfi_issue_view_all_link {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--jcfi-accent-orange) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.jcfi_issue_view_all_link:hover {
  color: var(--jcfi-accent-orange-hover) !important;
  transform: translateX(2px) !important;
}

/* Submit Manuscript Banner */
.jcfi_submit_banner {
  background: linear-gradient(135deg, #FFF5F2 0%, #F5F3FF 100%) !important;
  border: 1.5px solid rgba(217, 72, 20, 0.25) !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* =========================================================
   ARTICLE LIST & PDF GALLEY BUTTON STYLING
   ========================================================= */
.sections,
.cmp_article_list,
.articles_list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.obj_issue_toc section {
  margin-bottom: 26px !important;
}

.obj_issue_toc section > h2,
.obj_issue_toc section > h3 {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #F1F5F9 !important;
}

/* Individual Article Item Card */
.obj_article_summary,
.article_summary {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.obj_article_summary:hover,
.article_summary:hover {
  border-color: rgba(217, 72, 20, 0.35) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07) !important;
  transform: translateY(-2px) !important;
}

/* Article Title */
.obj_article_summary .title,
.article_summary .title {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 0 6px 0 !important;
  border: none !important;
  padding: 0 !important;
}

.obj_article_summary .title a,
.article_summary .title a {
  color: #0F172A !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.obj_article_summary .title a:hover,
.article_summary .title a:hover {
  color: var(--jcfi-accent-orange) !important;
}

/* Article Authors */
.obj_article_summary .authors,
.article_summary .authors {
  font-family: var(--jcfi-font-body) !important;
  font-size: 13.5px !important;
  color: #64748B !important;
  font-weight: 500 !important;
  margin-bottom: 12px !important;
}

/* Galleys Wrapper */
.obj_article_summary .galleys_links,
.article_summary .galleys_links {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 10px 0 0 0 !important;
  flex-wrap: wrap !important;
}

.obj_article_summary .galleys_links li,
.article_summary .galleys_links li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Executive PDF Galley Button */
.obj_galley_link,
a.obj_galley_link,
a.obj_galley_link.pdf,
.galleys_links a,
.pkp_galley_link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: linear-gradient(135deg, #D94814 0%, #E65100 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  padding: 7px 18px !important;
  border-radius: var(--jcfi-radius-pill) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(217, 72, 20, 0.28) !important;
  border: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  user-select: none !important;
}

.obj_galley_link:hover,
a.obj_galley_link:hover,
a.obj_galley_link.pdf:hover,
.galleys_links a:hover,
.pkp_galley_link:hover {
  background: linear-gradient(135deg, #BF360C 0%, #D94814 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(217, 72, 20, 0.42) !important;
}

.obj_galley_link:active,
a.obj_galley_link:active {
  transform: translateY(0) !important;
}

.obj_galley_link svg,
a.obj_galley_link svg {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  fill: currentColor !important;
}

/* =========================================================
   8. FOOTER COMPONENT (MATCHING REFERENCE DESIGN)
   ========================================================= */
footer.pkp_structure_footer_wrapper.jcfi_footer_wrap {
  background-color: #060A14 !important;
  color: #94A3B8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 48px 0 0 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.jcfi_footer_container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  box-sizing: border-box !important;
}

/* Footer Top Row: Brand + Navigation + Social */
.jcfi_footer_top_row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

.jcfi_footer_brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

.jcfi_footer_brand .jcfi_logo_glyph {
  width: 50px !important;
  height: 50px !important;
}

.jcfi_footer_brand .jcfi_brand_mid {
  color: #FFFFFF !important;
  font-size: 16px !important;
}

.jcfi_footer_brand .jcfi_brand_accent {
  color: var(--jcfi-accent-orange) !important;
  font-size: 16px !important;
}

/* Footer Navigation Center */
.jcfi_footer_nav_center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

.jcfi_footer_main_links {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

.jcfi_footer_main_links a {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #E2E8F0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.jcfi_footer_main_links a:hover {
  color: var(--jcfi-accent-orange) !important;
}

.jcfi_footer_sub_links {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

.jcfi_footer_sub_links a {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 12px !important;
  color: #94A3B8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.jcfi_footer_sub_links a:hover {
  color: #FFFFFF !important;
}

/* Footer Social Right */
.jcfi_footer_social_block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

.jcfi_footer_social_title {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #CBD5E1 !important;
}

.jcfi_footer_social_icons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.jcfi_footer_social_icons a {
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #E2E8F0 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.jcfi_footer_social_icons a:hover {
  background-color: var(--jcfi-accent-orange) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
}

.jcfi_footer_social_icons svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

/* Footer Bottom Bar */
.jcfi_footer_bottom_bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 12px !important;
  color: #64748B !important;
  box-sizing: border-box !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.jcfi_footer_slogan {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #CBD5E1 !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

.jcfi_footer_slogan_accent {
  width: 20px !important;
  height: 12px !important;
  display: inline-block !important;
}

/* =========================================================
   8. MOBILE DRAWER & RESPONSIVE BREAKPOINTS
   ========================================================= */
.jcfi_mobile_drawer {
  position: fixed !important;
  top: 0 !important;
  right: -320px !important;
  width: 310px !important;
  height: 100vh !important;
  background-color: #FFFFFF !important;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.2) !important;
  z-index: 2000 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

.jcfi_mobile_drawer.open {
  right: 0 !important;
}

.jcfi_drawer_header {
  padding: 18px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid var(--jcfi-header-border) !important;
  background-color: #F8FAFC !important;
}

.jcfi_drawer_title {
  font-family: var(--jcfi-font-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
}

.jcfi_drawer_close {
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: #475569 !important;
  font-size: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.jcfi_drawer_body {
  padding: 16px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.jcfi_drawer_nav,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.jcfi_drawer_nav li,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
}

.jcfi_drawer_nav a,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary > li > a {
  display: block !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.jcfi_drawer_nav a.active,
.jcfi_drawer_nav li.active > a,
.jcfi_drawer_nav li.current > a,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary li.active > a,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary li.current > a {
  background: linear-gradient(135deg, #3B0764 0%, #2E1065 100%) !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
}

.jcfi_drawer_nav a:hover:not(.active),
.jcfi_drawer_nav_wrapper .pkp_navigation_primary > li > a:hover {
  background-color: var(--jcfi-accent-orange-light) !important;
  color: var(--jcfi-accent-orange) !important;
}

/* Dynamic Mobile Submenu (Child <ul>) */
.jcfi_drawer_nav > li > ul,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary > li > ul {
  list-style: none !important;
  margin: 4px 0 8px 14px !important;
  padding: 4px 0 4px 12px !important;
  border-left: 2px solid #E2E8F0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.jcfi_drawer_nav > li > ul a,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary > li > ul a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  padding: 7px 12px !important;
  border-radius: 6px !important;
}

.jcfi_drawer_nav > li > ul a:hover,
.jcfi_drawer_nav_wrapper .pkp_navigation_primary > li > ul a:hover {
  background-color: var(--jcfi-accent-orange-light) !important;
  color: var(--jcfi-accent-orange) !important;
}

.jcfi_drawer_badges {
  padding: 14px !important;
  background-color: #F8FAFC !important;
  border-radius: 10px !important;
  border: 1px solid #E2E8F0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.jcfi_drawer_badges .jcfi_top_badge_item {
  color: #334155 !important;
}

.jcfi_drawer_auth {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--jcfi-header-border) !important;
}

.jcfi_drawer_auth ul,
.jcfi_drawer_user_nav {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.jcfi_drawer_auth a,
.jcfi_drawer_user_nav a {
  text-align: center !important;
  padding: 9px !important;
  font-family: var(--jcfi-font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: block !important;
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
  transition: all 0.2s ease !important;
}

.jcfi_drawer_auth a:hover,
.jcfi_drawer_user_nav a:hover {
  background-color: #E2E8F0 !important;
  color: #0F172A !important;
}

.jcfi_drawer_auth .jcfi_drawer_register,
.jcfi_drawer_user_nav li:last-child a {
  background-color: var(--jcfi-accent-orange) !important;
  color: #FFFFFF !important;
}

.jcfi_drawer_auth .jcfi_drawer_register:hover,
.jcfi_drawer_user_nav li:last-child a:hover {
  background-color: var(--jcfi-accent-orange-hover) !important;
  color: #FFFFFF !important;
}

.jcfi_mobile_backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(2px) !important;
  z-index: 1990 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.25s ease !important;
}

.jcfi_mobile_backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (ALL DEVICES)
   ========================================================= */
@media (max-width: 1200px) {
  .jcfi_nav_list {
    gap: 16px !important;
  }
  .jcfi_nav_list > li > a {
    font-size: 13.5px !important;
  }
  .jcfi_header_swoosh_svg {
    width: 480px !important;
  }
  .jcfi_highlights_container {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 992px) {
  .jcfi_header_nav_row {
    display: none !important;
  }
  .jcfi_hamburger_btn {
    display: flex !important;
  }
  .jcfi_top_badges_group {
    display: none !important;
  }
  .jcfi_header_swoosh_svg {
    width: 320px !important;
    opacity: 0.8 !important;
  }
  .jcfi_search_form {
    width: 200px !important;
  }
  .jcfi_search_input:focus {
    width: 220px !important;
  }
  .jcfi_brand_pre {
    font-size: 11.5px !important;
    font-weight: 800 !important;
  }
  .jcfi_brand_mid,
  .jcfi_brand_accent {
    font-size: 18.5px !important;
    font-weight: 900 !important;
  }
  .jcfi_logo_glyph {
    width: 62px !important;
    height: 62px !important;
  }
  .jcfi_uploaded_logo {
    max-height: 62px !important;
  }
  /* Merged Hero on Mobile/Tablet */
  .jcfi_hero_wrapper {
    flex-direction: column !important;
    min-height: auto !important;
    height: auto !important;
  }
  .jcfi_hero_video_bg_wrap {
    position: relative !important;
    width: 100% !important;
    height: 260px !important;
  }
  .jcfi_hero_merged_backdrop_svg {
    display: none !important;
  }
  .jcfi_hero_content_wrap {
    min-height: auto !important;
    height: auto !important;
    padding: 32px 20px !important;
    background-color: #FFFFFF !important;
    width: 100% !important;
  }
  .jcfi_hero_title {
    font-size: 30px !important;
  }
  .jcfi_highlights_container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .jcfi_footer_top_row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .jcfi_footer_social_block {
    align-items: flex-start !important;
  }

  /* Content & Sidebar on Tablet */
  .pkp_structure_content {
    padding: 28px 20px 48px !important;
  }
  .pkp_structure_content.has_sidebar {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .pkp_structure_main {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .pkp_structure_sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    position: static !important;
  }
  .jcfi_card,
  .homepage_about,
  .current_issue,
  .page,
  .page_issue,
  .page_about,
  .page_contact,
  .page_submissions,
  .page_editorial_team,
  .page_archives,
  .page_article {
    padding: 22px 24px !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 640px) {
  .jcfi_top_utility_container {
    padding: 6px 14px !important;
  }
  .jcfi_top_auth_links {
    display: none !important;
  }
  .jcfi_header_swoosh_svg {
    display: none !important;
  }
  .jcfi_header_ribbon_svg {
    width: 220px !important;
    opacity: 0.6 !important;
  }
  .jcfi_search_container {
    display: none !important;
  }
  .jcfi_brand_pre {
    font-size: 11px !important;
    font-weight: 800 !important;
  }
  .jcfi_brand_mid,
  .jcfi_brand_accent {
    font-size: 16px !important;
    font-weight: 900 !important;
  }
  .jcfi_logo_glyph {
    width: 52px !important;
    height: 52px !important;
  }
  .jcfi_uploaded_logo {
    max-height: 52px !important;
  }
  .jcfi_hero_content_wrap {
    padding: 22px 14px !important;
  }
  .jcfi_hero_title {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  .jcfi_hero_desc {
    font-size: 13.5px !important;
    margin-bottom: 16px !important;
  }
  .jcfi_hero_video_bg_wrap {
    height: 200px !important;
  }
  .jcfi_highlights_container {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Drastically reduce padding on mobile screen */
  .pkp_structure_content {
    padding: 14px 10px 32px 10px !important;
    gap: 14px !important;
  }
  .jcfi_card,
  .homepage_about,
  .current_issue,
  .page,
  .page_issue,
  .page_about,
  .page_contact,
  .page_submissions,
  .page_editorial_team,
  .page_archives,
  .page_article {
    padding: 16px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
  }
  .jcfi_section_title,
  .homepage_about h2,
  .current_issue h2,
  .page_title,
  h1.page_title,
  .page h1,
  .page_issue h1,
  .page_archives h1 {
    font-size: 19px !important;
    margin-bottom: 10px !important;
    border-bottom: none !important;
  }
  .homepage_about_content,
  .homepage_about_content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
  }
  .pkp_block {
    padding: 16px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
  }
  .pkp_block .title,
  .pkp_block h2.title,
  .pkp_block h3.title {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }
  .jcfi_submit_banner {
    padding: 18px 16px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .jcfi_submit_banner h3 {
    font-size: 18px !important;
  }
  .jcfi_submit_banner p {
    font-size: 13.5px !important;
  }
}
