/* ==========================================================================
   IJRDO JOURNAL OF SPORTS & PHYSICAL EDUCATION (IJSPE)
   Modern Academic Theme Stylesheet
   Designed to match the high-energy, modern athletic aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400;1,9..40,600&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
  /* Brand Primary Colors */
  --ijspe-navy: #0f1c2e;
  --ijspe-navy-dark: #0a1320;
  --ijspe-navy-light: #162a45;
  --ijspe-navy-surface: #1e3352;

  /* Brand Accent Red */
  --ijspe-red: #d3202f;
  --ijspe-red-hover: #b71926;
  --ijspe-red-light: #ff4d5e;
  --ijspe-red-pale: #fdebed;

  /* Neutrals */
  --ijspe-white: #ffffff;
  --ijspe-light-bg: #f8fafc;
  --ijspe-border: #e2e8f0;
  --ijspe-border-light: #edf2f7;
  --ijspe-text-dark: #1e293b;
  --ijspe-text-muted: #64748b;
  --ijspe-text-light: #94a3b8;

  /* Typography */
  --ijspe-font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ijspe-font-heading: 'Montserrat', 'DM Sans', sans-serif;

  /* Border Radius & Shadows */
  --ijspe-radius-sm: 6px;
  --ijspe-radius-md: 12px;
  --ijspe-radius-lg: 18px;
  --ijspe-radius-pill: 9999px;
  --ijspe-shadow-sm: 0 2px 8px rgba(15, 28, 46, 0.06);
  --ijspe-shadow-md: 0 10px 25px -5px rgba(15, 28, 46, 0.1), 0 8px 10px -6px rgba(15, 28, 46, 0.05);
  --ijspe-shadow-lg: 0 20px 35px -5px rgba(15, 28, 46, 0.15), 0 10px 15px -5px rgba(15, 28, 46, 0.08);
}

/* Base resets & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--ijspe-font-main);
  color: var(--ijspe-text-dark);
  background-color: var(--ijspe-light-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ijspe-red);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--ijspe-red-hover);
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.ijspe-topbar {
  background-color: #0b1523;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 7px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ijspe-topbar__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ijspe-topbar__badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ijspe-topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 500;
}

.ijspe-topbar__badge i {
  color: var(--ijspe-red-light);
  font-size: 0.82rem;
}

.ijspe-topbar__divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   MAIN HEADER NAVIGATION
   ========================================================================== */
.pkp_structure_head {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 !important;
}

.pkp_head_wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Logo & Site Name */
.pkp_site_name_wrapper {
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.ijspe-brand-wrap {
  display: flex;
  align-items: center;
}

.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1rem !important;
  text-align: left !important;
}

.pkp_site_name>a.is_img img {
  max-height: 52px;
  width: auto;
  display: block;
}

.default_logo {
  display: flex !important;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ijspe-logo-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #0f1c2e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f1c2e;
  font-size: 1.3rem;
  background: #ffffff;
  transition: transform 0.2s ease;
}

.default_logo:hover .ijspe-logo-circle {
  transform: rotate(-10deg) scale(1.05);
}

.ijspe-logo-text {
  display: flex;
  flex-direction: column;
}

.ijspe-logo-title {
  font-family: var(--ijspe-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ijspe-navy);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.ijspe-logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ijspe-text-muted);
  line-height: 1.2;
}

/* Primary Navigation Menu */
.pkp_navigation_primary_row {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pkp_navigation_primary_wrapper {
  display: flex;
  align-items: center;
}

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

.pkp_navigation_primary>li {
  position: relative;
}

.pkp_navigation_primary>li>a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155 !important;
  border-radius: var(--ijspe-radius-pill);
  transition: all 0.2s ease;
  text-decoration: none;
}

.pkp_navigation_primary>li>a:hover {
  color: var(--ijspe-red) !important;
  background-color: #f1f5f9;
}

/* Home / Active item badge in nav (matching red pill from screenshot) */
.pkp_navigation_primary>li.current>a,
.pkp_navigation_primary>li>a.active {
  background-color: var(--ijspe-red) !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
}

.pkp_navigation_primary>li.current>a:hover,
.pkp_navigation_primary>li>a.active:hover {
  background-color: var(--ijspe-red-hover) !important;
  color: #ffffff !important;
}

/* Dropdown styling */
.pkp_navigation_primary>li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 200px;
  border-radius: var(--ijspe-radius-md);
  box-shadow: var(--ijspe-shadow-md);
  border: 1px solid var(--ijspe-border);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1050;
}

.pkp_navigation_primary>li:hover ul,
.pkp_navigation_primary>li:focus-within ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pkp_navigation_primary>li ul li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569 !important;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.pkp_navigation_primary>li ul li a:hover {
  background-color: #f8fafc;
  color: var(--ijspe-red) !important;
  padding-left: 22px;
}

/* Right Actions (Search + Login/Register) */
.ijspe-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Search Icon Button */
.ijspe-search-wrap .pkp_search {
  position: relative;
  margin: 0;
}

.ijspe-search-wrap .pkp_search input[name="query"] {
  width: 0;
  padding: 0;
  border: none;
  background: transparent;
  transition: width 0.3s ease, padding 0.3s ease, border 0.3s ease;
  font-size: 0.85rem;
  border-radius: var(--ijspe-radius-pill);
}

.ijspe-search-wrap .pkp_search:hover input[name="query"],
.ijspe-search-wrap .pkp_search:focus-within input[name="query"] {
  width: 170px;
  padding: 6px 14px;
  border: 1.5px solid var(--ijspe-border);
  background: #ffffff;
  outline: none;
}

.ijspe-search-wrap .pkp_search button[type="submit"] {
  background: transparent;
  border: none;
  color: #475569;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.ijspe-search-wrap .pkp_search button[type="submit"]:hover {
  color: var(--ijspe-red);
  background: #f1f5f9;
}

.ijspe-search-wrap .search_controls {
  display: none !important;
}

/* User Menu: Register (Red Pill) & Login (Navy Pill) */
.pkp_navigation_user_wrapper {
  margin: 0 !important;
  top: 0 !important;
}

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

.pkp_navigation_user>li>a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--ijspe-radius-pill);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Register CTA */
.pkp_navigation_user>li:first-child>a,
.pkp_navigation_user a[href*="register"] {
  background-color: var(--ijspe-red) !important;
  color: #ffffff !important;
}

.pkp_navigation_user>li:first-child>a:hover,
.pkp_navigation_user a[href*="register"]:hover {
  background-color: var(--ijspe-red-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211, 32, 47, 0.25);
}

/* Login CTA */
.pkp_navigation_user>li:last-child>a,
.pkp_navigation_user a[href*="login"] {
  background-color: var(--ijspe-navy) !important;
  color: #ffffff !important;
}

.pkp_navigation_user>li:last-child>a:hover,
.pkp_navigation_user a[href*="login"]:hover {
  background-color: var(--ijspe-navy-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 28, 46, 0.25);
}


/* ==========================================================================
   HOMEPAGE HERO BANNER
   Exact design with high-energy stadium, runner & journal cover
   ========================================================================== */
.ijspe-hero-banner {
  position: relative;
  width: 100%;
  min-height: 540px;
  background-color: #0b1424;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ijspe-hero-banner__bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ijspe-hero-banner__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ijspe-hero-banner__container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px 90px;
}

.ijspe-hero-banner__content {
  max-width: 520px;
  color: #ffffff;
}

.ijspe-hero-banner__title {
  font-family: var(--ijspe-font-heading);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.ijspe-hero-banner__title .accent-red {
  color: #ff3344;
  font-style: italic;
}

.ijspe-hero-banner__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0 0 28px;
  font-weight: 400;
}

.ijspe-hero-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Button styles */
.ijspe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--ijspe-radius-pill);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.ijspe-btn--primary {
  background-color: var(--ijspe-red);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(211, 32, 47, 0.35);
}

.ijspe-btn--primary:hover {
  background-color: var(--ijspe-red-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 32, 47, 0.45);
}

.ijspe-btn--outline {
  background-color: rgba(15, 28, 46, 0.6);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.ijspe-btn--outline:hover {
  background-color: #ffffff;
  color: var(--ijspe-navy) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.ijspe-btn--outline-dark {
  background-color: transparent;
  color: var(--ijspe-navy) !important;
  border: 1.5px solid #cbd5e1;
}

.ijspe-btn--outline-dark:hover {
  background-color: var(--ijspe-navy);
  color: #ffffff !important;
  border-color: var(--ijspe-navy);
  transform: translateY(-2px);
}

.ijspe-btn--primary-light {
  background-color: var(--ijspe-red);
  color: #ffffff !important;
  padding: 10px 22px;
}

.ijspe-btn--primary-light:hover {
  background-color: var(--ijspe-red-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 32, 47, 0.3);
}

/* Curved wave divider */
.ijspe-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 2;
  pointer-events: none;
}

.ijspe-hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* ==========================================================================
   4-PILLARS HIGHLIGHTS CARD
   Floating white card with 4 features
   ========================================================================== */
.ijspe-pillars-bar {
  position: relative;
  z-index: 10;
  margin-top: -35px;
  padding-bottom: 40px;
}

.ijspe-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.ijspe-pillars-card {
  background: #ffffff;
  border-radius: var(--ijspe-radius-lg);
  box-shadow: var(--ijspe-shadow-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.ijspe-pillar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.ijspe-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #fef2f2;
  color: var(--ijspe-red);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ijspe-pillar-text h4 {
  font-family: var(--ijspe-font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ijspe-navy);
  margin: 0 0 4px;
}

.ijspe-pillar-text p {
  font-size: 0.8rem;
  color: var(--ijspe-text-muted);
  margin: 0;
  font-weight: 400;
}

.ijspe-pillar-divider {
  width: 1px;
  height: 42px;
  background-color: var(--ijspe-border);
  margin: 0 20px;
}


/* ==========================================================================
   MAIN TWO-COLUMN SECTION (Current Issue & About Journal)
   ========================================================================== */
.ijspe-split-section {
  padding: 30px 0 60px;
}

.ijspe-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
}

.ijspe-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.ijspe-section-heading .heading-bar {
  width: 4px;
  height: 22px;
  background-color: var(--ijspe-red);
  border-radius: 2px;
  display: inline-block;
}

.ijspe-section-heading h2 {
  font-family: var(--ijspe-font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ijspe-navy);
  margin: 0;
}

/* Left: Current Issue Card */
.ijspe-issue-card {
  background: #ffffff;
  border-radius: var(--ijspe-radius-lg);
  box-shadow: var(--ijspe-shadow-sm);
  border: 1px solid var(--ijspe-border);
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ijspe-issue-card:hover {
  box-shadow: var(--ijspe-shadow-md);
}

.ijspe-issue-card__cover {
  width: 175px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.ijspe-issue-card__cover img {
  width: 100%;
  height: auto;
  border-radius: var(--ijspe-radius-sm);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  display: block;
}

.ijspe-fallback-cover {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--ijspe-radius-sm);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  min-height: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.fallback-cover-logo {
  font-size: 1.8rem;
  color: var(--ijspe-red-light);
}

.fallback-cover-title {
  font-family: var(--ijspe-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fallback-cover-issn {
  font-size: 0.72rem;
  color: #94a3b8;
}

.ijspe-issue-card__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.ijspe-issue-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--ijspe-red);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--ijspe-radius-pill);
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.ijspe-issue-title {
  font-family: var(--ijspe-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ijspe-navy);
  margin: 0;
  line-height: 1.35;
}

.ijspe-issue-date {
  font-size: 0.82rem;
  color: var(--ijspe-text-muted);
  font-weight: 500;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ijspe-issue-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 8px;
}

.ijspe-issue-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Right: About the Journal Card */
.ijspe-about-col {
  display: flex;
  flex-direction: column;
}

.ijspe-about-card {
  background: linear-gradient(145deg, #0d1e34 0%, #091524 100%);
  color: #ffffff;
  border-radius: var(--ijspe-radius-lg);
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--ijspe-shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle athlete runner silhouette in background of About Card */
.ijspe-about-card::after {
  content: '\f70c';
  /* Font Awesome person-running */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.ijspe-about-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ijspe-about-card__title {
  font-family: var(--ijspe-font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 10px;
}

.ijspe-about-card__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background-color: var(--ijspe-red);
  border-radius: 2px;
}

.ijspe-about-card__body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 26px;
  flex: 1;
}

.ijspe-about-card__action {
  align-self: flex-start;
}


/* ==========================================================================
   TABLE OF CONTENTS & ARTICLES (HOMEPAGE & ISSUE VIEW)
   ========================================================================== */
.ijspe-toc-section {
  padding: 20px 0 60px;
}

.ijspe-toc-wrapper {
  background: #ffffff;
  border-radius: var(--ijspe-radius-lg);
  box-shadow: var(--ijspe-shadow-sm);
  border: 1px solid var(--ijspe-border);
  padding: 30px;
}

/* Article Summary Cards */
.obj_article_summary {
  padding: 20px 0;
  border-bottom: 1px solid var(--ijspe-border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.obj_article_summary:last-child {
  border-bottom: none;
}

.obj_article_summary .title a {
  font-family: var(--ijspe-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ijspe-navy);
  line-height: 1.4;
  text-decoration: none;
}

.obj_article_summary .title a:hover {
  color: var(--ijspe-red);
}

.obj_article_summary .authors {
  font-size: 0.88rem;
  color: var(--ijspe-text-muted);
  font-weight: 500;
}

.obj_article_summary .galleys_links {
  margin-top: 6px;
}

.obj_galley_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background-color: #f1f5f9;
  color: var(--ijspe-navy);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--ijspe-radius-pill);
  border: 1px solid var(--ijspe-border);
  transition: all 0.2s ease;
}

.obj_galley_link:hover {
  background-color: var(--ijspe-red);
  color: #ffffff;
  border-color: var(--ijspe-red);
}


/* ==========================================================================
   INNER PAGES (ABOUT, ARCHIVES, SUBMISSIONS, EDITORIAL TEAM, ARTICLE)
   Clean, unified academic look matching the reference aesthetic
   ========================================================================== */
.pkp_structure_content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px 24px 60px;
}

.pkp_structure_main {
  width: 100%;
}

.page {
  background: #ffffff;
  border-radius: var(--ijspe-radius-lg);
  box-shadow: var(--ijspe-shadow-sm);
  border: 1px solid var(--ijspe-border);
  padding: 40px;
  margin-bottom: 40px;
}

.page h1 {
  font-family: var(--ijspe-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ijspe-navy);
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 12px;
}

.page h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--ijspe-red);
  border-radius: 2px;
}

.page h2 {
  font-family: var(--ijspe-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ijspe-navy);
  margin: 28px 0 14px;
}

.page p,
.page li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #334155;
}

/* ==========================================================================
   DYNAMIC INNER HERO BANNER WITH BREADCRUMB
   Uses Dynamic Stadium Sprint Banner.png across all inner/custom pages
   ========================================================================== */
.ijspe-inner-hero {
  position: relative !important;
  width: 100% !important;
  min-height: 220px !important;
  background-color: #0b1424 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 0 35px 0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.ijspe-inner-hero__bg-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

.ijspe-inner-hero__bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center right !important;
  display: block !important;
}

.ijspe-inner-hero__container {
  position: relative !important;
  z-index: 2 !important;
  max-width: 1320px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 38px 24px 34px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Breadcrumb in Hero Banner */
.ijspe-inner-hero .cmp_breadcrumbs {
  margin: 0 0 16px 0 !important;
  font-size: 0.92rem !important;
  font-family: var(--ijspe-font-main) !important;
}

.ijspe-inner-hero .cmp_breadcrumbs ol {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.ijspe-inner-hero .cmp_breadcrumbs li {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 500 !important;
}

.ijspe-inner-hero .cmp_breadcrumbs li+li::before {
  content: "/" !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.ijspe-inner-hero .cmp_breadcrumbs .separator {
  display: none !important;
}

.ijspe-inner-hero .cmp_breadcrumbs a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: color 0.15s ease !important;
}

.ijspe-inner-hero .cmp_breadcrumbs a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.ijspe-inner-hero .cmp_breadcrumbs a i {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.ijspe-inner-hero .cmp_breadcrumbs .current {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.ijspe-inner-hero .cmp_breadcrumbs .current span {
  color: #ffffff !important;
}

/* Hero Title matching mockup */
.ijspe-inner-hero__title {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  font-family: var(--ijspe-font-heading) !important;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

.ijspe-inner-hero__title .heading-bar {
  width: 5px !important;
  height: clamp(28px, 3.5vw, 42px) !important;
  background-color: var(--ijspe-red) !important;
  border-radius: 3px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.ijspe-inner-hero__title .title-text {
  color: #ffffff !important;
  letter-spacing: -0.3px !important;
}

/* Inner Page Container Adjustments */
body:not(.pkp_page_index) .pkp_structure_content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body:not(.pkp_page_index) .page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto 60px !important;
  background: transparent !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0px !important;
  box-sizing: border-box !important;
}

.page h1::after,
.ijspe-inner-hero__title::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  width: 0 !important;
  border: none !important;
}

body:not(.pkp_page_index) .page:not(.page_issue_archive):not(.page_article) {
  background: #ffffff !important;
  border: 0px !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Add left and right side padding exclusively to inner content elements (not breadcrumb hero) */
body:not(.pkp_page_index) .page > *:not(.ijspe-inner-hero) {
  padding-left: 36px !important;
  padding-right: 36px !important;
  box-sizing: border-box !important;
}

/* Also ensure notification banners, checklists and guidelines inside .page have proper side spacing */
body:not(.pkp_page_index) .page .cmp_notification {
  margin-left: 36px !important;
  margin-right: 36px !important;
  margin-top: 20px !important;
  margin-bottom: 24px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

body:not(.pkp_page_index) .page .submission_checklist,
body:not(.pkp_page_index) .page .author_guidelines,
body:not(.pkp_page_index) .page .section_policy,
body:not(.pkp_page_index) .page .copyright_notice,
body:not(.pkp_page_index) .page .privacy_statement,
body:not(.pkp_page_index) .page .contact_section {
  padding-left: 36px !important;
  padding-right: 36px !important;
  box-sizing: border-box !important;
}

body:not(.pkp_page_index) .page > *:last-child {
  padding-bottom: 40px !important;
}

@media (max-width: 768px) {
  body:not(.pkp_page_index) .page {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0px !important;
    margin-bottom: 35px !important;
  }

  body:not(.pkp_page_index) .page:not(.page_issue_archive):not(.page_article) {
    padding: 0 !important;
  }

  body:not(.pkp_page_index) .page > *:not(.ijspe-inner-hero) {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body:not(.pkp_page_index) .page .cmp_notification {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  body:not(.pkp_page_index) .page .submission_checklist,
  body:not(.pkp_page_index) .page .author_guidelines,
  body:not(.pkp_page_index) .page .section_policy,
  body:not(.pkp_page_index) .page .copyright_notice,
  body:not(.pkp_page_index) .page .privacy_statement,
  body:not(.pkp_page_index) .page .contact_section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Hide duplicate breadcrumbs inside page content */
.page > .cmp_breadcrumbs,
.page_about > .cmp_breadcrumbs,
.page_issue > .cmp_breadcrumbs,
.page_issue_archive > .cmp_breadcrumbs,
.page_article > .cmp_breadcrumbs,
.page_search > .cmp_breadcrumbs,
.page_submissions > .cmp_breadcrumbs,
.page_editorialTeam > .cmp_breadcrumbs,
.page_contact > .cmp_breadcrumbs {
  display: none !important;
}

/* Hide redundant duplicate plain h1/page_title inside page content since hero banner already contains the primary heading */
body:not(.pkp_page_index) .page > h1:not(.ijspe-inner-hero__title),
body:not(.pkp_page_index) .page h1:not(.ijspe-inner-hero__title):first-of-type,
body:not(.pkp_page_index) .page_title:not(.ijspe-inner-hero__title),
body:not(.pkp_page_index) h1.page_title:not(.ijspe-inner-hero__title),
body:not(.pkp_page_index) .page > .page_title:not(.ijspe-inner-hero__title),
body:not(.pkp_page_index) .pkp_structure_main > h1:not(.ijspe-inner-hero__title),
.page_issue_archive > h1:not(.ijspe-inner-hero__title),
.page_about > h1:not(.ijspe-inner-hero__title),
.page_submissions > h1:not(.ijspe-inner-hero__title),
.page_contact > h1:not(.ijspe-inner-hero__title),
.page_editorialTeam > h1:not(.ijspe-inner-hero__title),
.page_privacy > h1:not(.ijspe-inner-hero__title) {
  display: none !important;
}

/* Explicitly force Hero Title to be visible everywhere */
body:not(.pkp_page_index) .ijspe-inner-hero__title,
body:not(.pkp_page_index) .page .ijspe-inner-hero__title,
body:not(.pkp_page_index) .page h1.ijspe-inner-hero__title,
body:not(.pkp_page_index) .ijspe-inner-hero h1.ijspe-inner-hero__title,
h1.ijspe-inner-hero__title {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Issue archive: contain the listing and reset inherited theme floats. */
.page_issue_archive {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  box-sizing: border-box;
}

.page_issue_archive .issues_archive {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

/* Theme clearfix elements must not become extra grid or flex items. */
.page_issue_archive .issues_archive::before,
.page_issue_archive .issues_archive::after,
.page_issue_archive .obj_issue_summary::before,
.page_issue_archive .obj_issue_summary::after {
  content: none !important;
  display: none !important;
}

.page_issue_archive .issues_archive > li {
  min-width: 0;
  margin: 0 !important;
  padding: 24px !important;
  background: #fff;
  border: 1px solid var(--ijspe-border) !important;
  border-radius: var(--ijspe-radius-md);
  box-shadow: var(--ijspe-shadow-sm);
  box-sizing: border-box;
}

.page_issue_archive .obj_issue_summary {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-width: 0;
}

.page_issue_archive .obj_issue_summary .cover {
  display: flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  width: 100% !important;
  height: 220px !important;
  margin: 0 0 20px !important;
  padding: 12px;
  background: var(--ijspe-light-bg);
  border-radius: var(--ijspe-radius-sm);
}

.page_issue_archive .obj_issue_summary .cover img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 196px !important;
  object-fit: contain;
}

.page_issue_archive .obj_issue_summary .title {
  display: block !important;
  margin: 0 0 8px !important;
  font-family: var(--ijspe-font-heading);
  font-size: 1.05rem !important;
  font-weight: 700;
  line-height: 1.5 !important;
  color: var(--ijspe-red);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.page_issue_archive .obj_issue_summary .title:hover {
  color: var(--ijspe-red-hover);
  text-decoration: underline;
}

.page_issue_archive .obj_issue_summary a:focus-visible {
  outline: 2px solid var(--ijspe-red);
  outline-offset: 4px;
}

.page_issue_archive .obj_issue_summary .series {
  margin: 0 !important;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ijspe-text-muted);
}

.page_issue_archive .obj_issue_summary .description {
  margin: 12px 0 0 !important;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ijspe-text-muted);
  overflow-wrap: anywhere;
}

.page_issue_archive .obj_issue_summary .description:empty {
  display: none;
}

.page_issue_archive .cmp_pagination {
  margin-top: 32px;
}

@media (max-width: 991px) {
  .page_issue_archive .issues_archive {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .page_issue_archive {
    padding: 24px 16px 40px;
  }

  .page_issue_archive .issues_archive {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   ARTICLE DETAILS PAGE UI (Matching Reference Screenshot)
   ========================================================================== */
.ijspe-article-detail {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 30px 24px 70px !important;
  box-sizing: border-box !important;
}

.ijspe-article-header {
  margin-bottom: 28px !important;
  position: relative !important;
}

.ijspe-article-main-title {
  font-family: var(--ijspe-font-heading) !important;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 0 16px 0 !important;
  letter-spacing: -0.3px !important;
}

.ijspe-article-header::after {
  content: '' !important;
  display: block !important;
  width: 50px !important;
  height: 4px !important;
  background-color: var(--ijspe-red) !important;
  border-radius: 2px !important;
  margin-top: 14px !important;
}

.ijspe-article-subtitle {
  font-size: 1.25rem !important;
  color: #475569 !important;
  font-weight: 600 !important;
  margin: 8px 0 16px !important;
}

/* Two-column layout */
.ijspe-article-grid {
  display: grid !important;
  grid-template-columns: 1.9fr 1fr !important;
  gap: 36px !important;
  align-items: start !important;
}

@media (max-width: 992px) {
  .ijspe-article-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Author Card with Red Avatar */
.ijspe-author-card {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 20px !important;
}

.ijspe-author-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 8px !important;
  background-color: #d3202f !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

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

.ijspe-author-name {
  font-family: var(--ijspe-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.ijspe-author-affiliation {
  font-size: 0.85rem !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.ijspe-author-orcid {
  font-size: 0.82rem !important;
  color: #10b981 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Keywords Card */
.ijspe-keywords-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}

.ijspe-keywords-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background-color: #0d1e34 !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
}

.ijspe-keywords-list {
  font-size: 0.9rem !important;
  color: #334155 !important;
  line-height: 1.5 !important;
}

.ijspe-keyword-item {
  color: #334155 !important;
}

/* Content Boxes (Abstract & References) with Gradient Banner */
.ijspe-content-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 26px !important;
}

.ijspe-box-header {
  background: linear-gradient(90deg, #d3202f 0%, #a81320 65%, #0d1e34 100%) !important;
  color: #ffffff !important;
  padding: 14px 22px !important;
}

.ijspe-box-header-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ijspe-box-header-title i {
  font-size: 1.15rem !important;
  color: #ffffff !important;
}

.ijspe-box-header-title h3 {
  font-family: var(--ijspe-font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.ijspe-box-body {
  padding: 24px 26px !important;
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: #334155 !important;
}

/* Numbered red badge references list */
.ijspe-references-list {
  list-style: none !important;
  counter-reset: ref-counter !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.ijspe-references-list li {
  counter-increment: ref-counter !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
  color: #334155 !important;
}

.ijspe-references-list li::before {
  content: counter(ref-counter) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 4px !important;
  background-color: #fee2e2 !important;
  color: #d3202f !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.ijspe-ref-text {
  flex: 1 !important;
}

/* Sidebar Cards */
.ijspe-article-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.ijspe-sidebar-card {
  width: 100% !important;
}

/* Red Full Text PDF Button matching Screenshot */
.ijspe-fulltext-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: #d3202f !important;
  color: #ffffff !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-family: var(--ijspe-font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(211, 32, 47, 0.25) !important;
}

.ijspe-fulltext-btn:hover {
  background-color: #b71926 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(211, 32, 47, 0.35) !important;
}

.ijspe-btn-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ijspe-btn-left i {
  font-size: 1.35rem !important;
}

/* Meta Information Cards (Published, Issue, Section, DOI) */
.ijspe-meta-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
}

.ijspe-meta-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  background-color: #fee2e2 !important;
  color: #d3202f !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  flex-shrink: 0 !important;
}

.ijspe-meta-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.ijspe-meta-label {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.ijspe-meta-value {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}

.ijspe-meta-link {
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #d3202f !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  word-break: break-word !important;
  transition: color 0.15s ease !important;
}

.ijspe-meta-link:hover {
  color: #b71926 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   MOBILE HAMBURGER MENU (3-Line Toggle with Collapse/Expand)
   ========================================================================== */
.ijspe-mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1100;
  border-radius: 6px;
}

.ijspe-hamburger-bar {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #0b1523;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ijspe-mobile-nav-toggle.is-active .ijspe-hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ijspe-mobile-nav-toggle.is-active .ijspe-hamburger-bar:nth-child(2) {
  opacity: 0;
}

.ijspe-mobile-nav-toggle.is-active .ijspe-hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
  .pkp_structure_head,
  .pkp_head_wrapper,
  .has_site_logo .pkp_head_wrapper {
    overflow: visible !important;
  }

  .pkp_head_wrapper,
  .has_site_logo .pkp_head_wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .pkp_site_name_wrapper {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ijspe-brand-wrap {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .ijspe-brand-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
  }

  .ijspe-brand-badge {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
  }

  .ijspe-brand-badge img {
    max-height: 42px !important;
    width: auto !important;
  }

  .ijspe-brand-divider {
    display: none !important;
  }

  .ijspe-brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  .ijspe-brand-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
  }

  .ijspe-brand-subtitle {
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .ijspe-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin: 0 0 0 auto !important;
  }

  .ijspe-header-actions .ijspe-search-wrap,
  .ijspe-header-actions .pkp_navigation_user_wrapper {
    display: none !important;
  }

  .ijspe-mobile-nav-toggle {
    display: flex !important;
    margin-left: auto !important;
    background: transparent !important;
  }

  .pkp_navigation_primary_row {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 2px solid var(--ijspe-red) !important;
    padding: 16px 20px !important;
    z-index: 1080 !important;
    box-sizing: border-box !important;
  }

  .pkp_navigation_primary_row.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
    animation: ijspeFadeDown 0.25s ease forwards !important;
  }

  @keyframes ijspeFadeDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .pkp_navigation_primary {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .pkp_navigation_primary > li {
    width: 100% !important;
  }

  .pkp_navigation_primary > li > a {
    display: flex !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
  }

  .pkp_navigation_primary > li ul {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 16px !important;
    margin-top: 4px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* Forms (Login, Register, Contact) */
.cmp_form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}

.cmp_form label {
  display: block;
  font-weight: 600;
  color: var(--ijspe-navy);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form textarea,
.cmp_form select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--ijspe-border);
  border-radius: var(--ijspe-radius-md);
  font-family: var(--ijspe-font-main);
  font-size: 0.95rem;
  margin-top: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cmp_form input:focus,
.cmp_form textarea:focus,
.cmp_form select:focus {
  border-color: var(--ijspe-red);
  box-shadow: 0 0 0 3px rgba(211, 32, 47, 0.12);
}

.cmp_form button[type="submit"] {
  background-color: var(--ijspe-red);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--ijspe-radius-pill);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cmp_form button[type="submit"]:hover {
  background-color: var(--ijspe-red-hover);
}


/* ==========================================================================
   FOOTER (Exact layout as shown in screenshot)
   Deep navy background, 4 columns, quick links, contact, newsletter
   ========================================================================== */
.ijspe-footer-root {
  background-color: #0d1726;
  color: #cbd5e1;
  padding: 60px 0 0;
  border-top: 4px solid var(--ijspe-red);
}

.ijspe-footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.ijspe-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Col 1: Brand */
.ijspe-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.ijspe-footer-logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.ijspe-footer-logo-circle img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.ijspe-footer-brand-title {
  display: block;
  font-family: var(--ijspe-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.ijspe-footer-brand-sub {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.3;
}

.ijspe-footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94a3b8;
}

.ijspe-footer-address i {
  color: var(--ijspe-red);
  margin-top: 4px;
}

/* Headings */
.ijspe-footer-heading {
  font-family: var(--ijspe-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 8px;
}

.ijspe-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--ijspe-red);
}

/* Quick Links */
.ijspe-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ijspe-footer-nav li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ijspe-footer-nav li a i {
  color: var(--ijspe-red);
  font-size: 0.75rem;
}

.ijspe-footer-nav li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Contact */
.ijspe-footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ijspe-footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.ijspe-footer-contact-list li i {
  color: var(--ijspe-red);
  font-size: 1rem;
}

.ijspe-footer-contact-list li a {
  color: #cbd5e1;
  text-decoration: none;
}

.ijspe-footer-contact-list li a:hover {
  color: #ffffff;
}

/* Newsletter */
.ijspe-footer-newsletter-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 16px;
}

.ijspe-newsletter-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--ijspe-radius-pill);
  overflow: hidden;
  padding: 4px 6px 4px 16px;
}

.ijspe-newsletter-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--ijspe-text-dark);
  outline: none;
}

.ijspe-newsletter-input-group input::placeholder {
  color: #94a3b8;
}

.ijspe-newsletter-input-group button {
  background-color: var(--ijspe-red);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ijspe-newsletter-input-group button:hover {
  background-color: var(--ijspe-red-hover);
}

/* Bottom Strip */
.ijspe-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 30px;
  font-size: 0.85rem;
  color: #64748b;
}

.ijspe-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ijspe-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.ijspe-footer-social a:hover {
  background: var(--ijspe-red);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hide OJS default footer branding element if present */
.pkp_brand_footer {
  display: none !important;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .ijspe-pillars-card {
    flex-wrap: wrap;
    gap: 20px;
  }

  .ijspe-pillar-divider {
    display: none;
  }

  .ijspe-pillar-item {
    flex-basis: calc(50% - 10px);
  }

  .ijspe-split-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .ijspe-hero-banner {
    min-height: 480px;
  }

  .ijspe-pillars-bar {
    margin-top: -20px;
  }

  .ijspe-pillar-item {
    flex-basis: 100%;
  }

  .ijspe-issue-card {
    flex-direction: column;
  }

  .ijspe-issue-card__cover {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .ijspe-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ijspe-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .pkp_head_wrapper {
    flex-wrap: wrap;
  }

  .pkp_navigation_primary_row {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }
}
/* Suppress any legacy raw HTML blocks entered in admin panel additionalHomeContent */
.ijaa-hero, 
.ijaa-footer,
.pkp_page_index .additional_content .ijaa-hero,
.ijspe-dynamic-extra-content .ijaa-hero {
  display: none !important;
}

/* Enhanced Dynamic Navigation Menu Styles matching Screenshot */
.pkp_navigation_primary {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_navigation_primary > li {
  position: relative;
  list-style: none !important;
}

.pkp_navigation_primary > li > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  font-family: var(--ijspe-font-main) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: transparent;
}

.pkp_navigation_primary > li > a:hover {
  color: var(--ijspe-red) !important;
  background-color: #f1f5f9 !important;
}

/* Home / Active item as red pill */
.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li > a.active {
  background-color: #d3202f !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
}

.pkp_navigation_primary > li.current > a:hover,
.pkp_navigation_primary > li > a.active:hover {
  background-color: #b71926 !important;
  color: #ffffff !important;
}

/* Dropdown Caret Icon */
.ijspe-nav-caret {
  font-size: 0.72rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.pkp_navigation_primary > li:hover .ijspe-nav-caret {
  transform: rotate(180deg);
}

/* Submenu Dropdown Container */
.pkp_navigation_primary > li ul,
.pkp_navigation_primary > li .dropdown_menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: #ffffff !important;
  min-width: 220px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(15, 28, 46, 0.15), 0 8px 10px -6px rgba(15, 28, 46, 0.08) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px 0 !important;
  list-style: none !important;
  margin: 6px 0 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  transition: all 0.2s ease !important;
  z-index: 1050 !important;
}

.pkp_navigation_primary > li:hover ul,
.pkp_navigation_primary > li:hover .dropdown_menu,
.pkp_navigation_primary > li:focus-within ul,
.pkp_navigation_primary > li:focus-within .dropdown_menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.pkp_navigation_primary > li ul li,
.pkp_navigation_primary > li .dropdown_menu li {
  list-style: none !important;
  width: 100% !important;
}

.pkp_navigation_primary > li ul li a,
.pkp_navigation_primary > li .dropdown_menu li a {
  display: block !important;
  padding: 10px 20px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: background 0.15s ease, color 0.15s ease, padding 0.15s ease !important;
}

.pkp_navigation_primary > li ul li a:hover,
.pkp_navigation_primary > li .dropdown_menu li a:hover {
  background-color: #f8fafc !important;
  color: #d3202f !important;
  padding-left: 24px !important;
}

/* User Navigation (Register Red Pill, Login Navy Pill) */
.pkp_navigation_user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_navigation_user > li {
  list-style: none !important;
}

.pkp_navigation_user > li > a {
  display: inline-block !important;
  padding: 8px 22px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

/* Register CTA */
.pkp_navigation_user a[href*="register"],
.pkp_navigation_user > li:first-child > a {
  background-color: #d3202f !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(211, 32, 47, 0.25) !important;
}

.pkp_navigation_user a[href*="register"]:hover,
.pkp_navigation_user > li:first-child > a:hover {
  background-color: #b71926 !important;
  transform: translateY(-1px);
}

/* Login CTA */
.pkp_navigation_user a[href*="login"],
.pkp_navigation_user > li:last-child > a {
  background-color: #0f1c2e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 28, 46, 0.25) !important;
}

.pkp_navigation_user a[href*="login"]:hover,
.pkp_navigation_user > li:last-child > a:hover {
  background-color: #162a45 !important;
  transform: translateY(-1px);
}


/* ==========================================================================
   CRITICAL OVERRIDES: FULL-WIDTH LAYOUT & REMOVE BOXED MARGINS
   ========================================================================== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  background-color: #f8fafc !important;
}

/* Remove Manuscript child theme's boxed container constraints */
.pkp_structure_page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Top utility bar full stretch */
.ijspe-topbar {
  width: 100% !important;
  background-color: #0b1523 !important;
  padding: 8px 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ijspe-topbar__inner {
  max-width: 1320px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

/* Navbar shell & wrapper */
.pkp_structure_head {
  width: 100% !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  top: 0 !important;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
  max-width: 1320px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  box-sizing: border-box !important;
}

/* Restrict header logo size so it never blows up to screen width */
.pkp_site_name_wrapper,
.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.pkp_site_name > a,
.pkp_site_name a.is_img,
.pkp_site_name a.is_text {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_site_name img,
.pkp_site_name a img,
.has_site_logo .pkp_head_wrapper img,
.pkp_head_wrapper .pkp_site_name img,
.pkp_site_name > a.is_img img {
  max-height: 54px !important;
  max-width: 320px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Hide legacy OJS skip navigation links */
.cmp_skip_to_content {
  display: none !important;
}

/* Hero Banner Full Bleed */
.ijspe-hero-banner {
  width: 100% !important;
  position: relative !important;
  min-height: 520px !important;
  background-color: #0b1424 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ijspe-hero-banner__bg-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

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

.ijspe-hero-banner__container {
  max-width: 1320px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 60px 24px 90px !important;
  position: relative !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
}

/* Footer Full Width */
.ijspe-footer-root {
  width: 100% !important;
  margin: 0 !important;
}


/* ==========================================================================
   EXACT MOCKUP BRAND LOGO, DIVIDER & ONE-LINE NAV LOCKUP
   ========================================================================== */
.pkp_structure_head {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
  max-width: 1320px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 10px 24px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  box-sizing: border-box !important;
  gap: 20px !important;
}

.pkp_site_name_wrapper {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
}

.ijspe-brand-link {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  gap: 14px !important;
}

.ijspe-brand-badge {
  width: 48px !important;
  height: 48px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.ijspe-brand-badge img,
.pkp_site_name img,
.pkp_site_name a img,
.has_site_logo .pkp_head_wrapper img,
.pkp_head_wrapper .pkp_site_name img,
.pkp_site_name > a.is_img img {
  width: 48px !important;
  height: 48px !important;
  max-height: 48px !important;
  max-width: 48px !important;
  object-fit: contain !important;
  display: block !important;
}

.ijspe-brand-divider {
  width: 2px !important;
  height: 38px !important;
  background-color: #cbd5e1 !important;
  flex-shrink: 0 !important;
}

.ijspe-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
}

.ijspe-brand-title {
  font-family: var(--ijspe-font-heading) !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #0f1c2e !important;
  line-height: 1.05 !important;
  letter-spacing: 0.5px !important;
}

.ijspe-brand-subtitle {
  font-family: var(--ijspe-font-main) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  line-height: 1.25 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

.pkp_navigation_primary_row {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  order: 2 !important;
  width: auto !important;
}

.pkp_navigation_primary_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
}

.pkp_navigation_primary {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

.pkp_navigation_primary > li {
  position: relative !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.pkp_navigation_primary > li > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 7px 14px !important;
  font-family: var(--ijspe-font-main) !important;
  font-size: 0.90rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border: none !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.pkp_navigation_primary > li > a:hover {
  color: #d3202f !important;
  background-color: #f1f5f9 !important;
}

.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li > a.active {
  background-color: #d3202f !important;
  color: #ffffff !important;
  padding: 7px 16px !important;
}

.pkp_navigation_primary > li.current > a:hover,
.pkp_navigation_primary > li > a.active:hover {
  background-color: #b71926 !important;
  color: #ffffff !important;
}

.ijspe-header-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 3 !important;
}

.pkp_navigation_user_wrapper {
  position: static !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  top: auto !important;
  right: auto !important;
  display: flex !important;
  align-items: center !important;
}

.pkp_navigation_user {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

.pkp_navigation_user > li {
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.pkp_navigation_user > li > a {
  display: inline-block !important;
  padding: 7px 18px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  border: none !important;
  white-space: nowrap !important;
}

.pkp_navigation_user > li:first-child > a,
.pkp_navigation_user a[href*="register"] {
  background-color: #d3202f !important;
  color: #ffffff !important;
}

.pkp_navigation_user > li:first-child > a:hover,
.pkp_navigation_user a[href*="register"]:hover {
  background-color: #b71926 !important;
  color: #ffffff !important;
}

.pkp_navigation_user > li:last-child > a,
.pkp_navigation_user a[href*="login"] {
  background-color: #0f1c2e !important;
  color: #ffffff !important;
}

.pkp_navigation_user > li:last-child > a:hover,
.pkp_navigation_user a[href*="login"]:hover {
  background-color: #162a45 !important;
  color: #ffffff !important;
}


/* ==========================================================================
   HERO FULL BLEED & STRUCTURE RESETS (EXACT USER FIX)
   ========================================================================== */
.pkp_structure_page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.pkp_page_index .pkp_structure_content,
.pkp_structure_content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.pkp_page_index #pkp_content_main,
.pkp_page_index .pkp_structure_main,
.pkp_structure_main:first-child:last-child {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 1200px) {
  .pkp_structure_content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
}


/* ==========================================================================
   FIX SEARCH TOGGLE & HEADER CONTAINER RIGHT ALIGNMENT
   ========================================================================== */
.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
  max-width: 100% !important;
  width: 100% !important;
  padding: 12px 32px !important;
  box-sizing: border-box !important;
}

/* Clean Search Toggle Icon Button matching Mockup */
.ijspe-search-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Clean Search Link matching Mockup (Icon + Text) */
.ijspe-search-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #334155 !important;
  font-family: var(--ijspe-font-main) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 6px 12px !important;
  border-radius: var(--ijspe-radius-pill) !important;
  transition: all 0.2s ease !important;
}

.ijspe-search-link i {
  font-size: 0.95rem !important;
  color: #334155 !important;
  transition: color 0.2s ease !important;
}

.ijspe-search-link:hover {
  color: var(--ijspe-red) !important;
  background-color: #f1f5f9 !important;
}

.ijspe-search-link:hover i {
  color: var(--ijspe-red) !important;
}

/* Ensure no stray input boxes or controls show */
.ijspe-search-wrap input,
.ijspe-search-wrap form,
.ijspe-search-wrap .search_controls {
  display: none !important;
}


/* ==========================================================================
   REMOVE LEFT AND RIGHT LINES (OJS ::before and ::after pseudo-elements)
   ========================================================================== */
.pkp_structure_main::before,
.pkp_structure_main::after,
.pkp_structure_main:first-child:last-child::before,
.pkp_structure_main:first-child:last-child::after,
.pkp_structure_content::before,
.pkp_structure_content::after,
.pkp_structure_sidebar::before,
.pkp_structure_sidebar::after {
  display: none !important;
  content: none !important;
  border: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Footer Newsletter & Social links removal styles */
.ijspe-footer-col--newsletter,
.ijspe-footer-social {
  display: none !important;
}

.ijspe-footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr !important;
}

@media (max-width: 768px) {
  .ijspe-footer-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   NAVIGATION MENU PADDING & DUPLICATE DROPDOWN ARROW FIX
   ========================================================================== */
.pkp_navigation_primary > li > a {
  padding: 7px 6px !important;
}

.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li > a.active {
  padding: 7px 14px !important;
}

/* Remove default OJS dropdown CSS caret so it doesn't double-caret with FontAwesome icon */
.pkp_nav_list [aria-haspopup]::after,
.pkp_navigation_primary [aria-haspopup]::after,
.pkp_navigation_primary .has_submenu > a::after {
  display: none !important;
  content: none !important;
  border: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

/* ==========================================================================
   FINAL OVERRIDE: MOBILE RESPONSIVE NAVBAR & HAMBURGER (MAX-WIDTH: 992PX)
   Placed at very bottom of stylesheet to guarantee priority over any prior desktop rules
   ========================================================================== */
@media (max-width: 992px) {
  .pkp_structure_head,
  .pkp_head_wrapper,
  .has_site_logo .pkp_head_wrapper {
    overflow: visible !important;
  }

  .pkp_head_wrapper,
  .has_site_logo .pkp_head_wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .pkp_site_name_wrapper {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ijspe-brand-wrap {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .ijspe-brand-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
  }

  .ijspe-brand-badge {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
  }

  .ijspe-brand-badge img,
  .pkp_head_wrapper .pkp_site_name img,
  .has_site_logo .pkp_head_wrapper img {
    max-height: 42px !important;
    width: auto !important;
    height: auto !important;
  }

  .ijspe-brand-divider {
    display: none !important;
  }

  .ijspe-brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  .ijspe-brand-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
  }

  .ijspe-brand-subtitle {
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  /* User Actions container on the right side containing hamburger */
  .ijspe-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
  }

  .ijspe-header-actions .ijspe-search-wrap,
  .ijspe-header-actions .pkp_navigation_user_wrapper {
    display: none !important;
  }

  /* Force display of Hamburger Toggle button */
  .ijspe-mobile-nav-toggle,
  button#ijspeMobileNavToggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 6px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 1100 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .ijspe-hamburger-bar {
    display: block !important;
    width: 26px !important;
    height: 3px !important;
    background-color: #0b1523 !important;
    border-radius: 2px !important;
  }

  /* Navigation row collapses into mobile dropdown */
  .pkp_navigation_primary_row {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 3px solid var(--ijspe-red) !important;
    padding: 14px 16px !important;
    z-index: 1080 !important;
    box-sizing: border-box !important;
  }

  .pkp_navigation_primary_row.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
    animation: ijspeFadeDown 0.25s ease forwards !important;
  }

  .pkp_navigation_primary {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .pkp_navigation_primary > li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    border-radius: 8px !important;
  }

  .pkp_navigation_primary > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 11px 16px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
  }

  .pkp_navigation_primary > li > a:hover,
  .pkp_navigation_primary > li.is-submenu-open > a {
    background-color: #f8fafc !important;
    color: var(--ijspe-red) !important;
  }

  .pkp_navigation_primary > li.current > a,
  .pkp_navigation_primary > li > a.active {
    background-color: var(--ijspe-red) !important;
    color: #ffffff !important;
  }

  /* Submenus on Mobile: Show when aria-expanded="true" OR .is-submenu-open OR on tap/focus */
  .pkp_navigation_primary > li ul,
  .pkp_navigation_primary > li .dropdown_menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 3px solid var(--ijspe-red) !important;
    background-color: #f8fafc !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 6px 0 6px 14px !important;
    margin: 4px 0 10px 10px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  /* Uncollapse submenu when active via OJS native [aria-expanded="true"] or helper classes */
  .pkp_navigation_primary > li[aria-expanded="true"] > ul,
  .pkp_navigation_primary > li[aria-expanded="true"] > .dropdown_menu,
  .pkp_navigation_primary > li.is-submenu-open > ul,
  .pkp_navigation_primary > li.is-submenu-open > .dropdown_menu,
  .pkp_navigation_primary > li.in_focus > ul,
  .pkp_navigation_primary > li:focus-within > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: ijspeFadeDown 0.2s ease forwards !important;
  }

  .pkp_navigation_primary > li ul li,
  .pkp_navigation_primary > li .dropdown_menu li {
    width: 100% !important;
    list-style: none !important;
    margin: 2px 0 !important;
  }

  .pkp_navigation_primary > li ul li a,
  .pkp_navigation_primary > li .dropdown_menu li a {
    display: block !important;
    padding: 9px 14px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    transition: all 0.15s ease !important;
  }

  .pkp_navigation_primary > li ul li a:hover,
  .pkp_navigation_primary > li .dropdown_menu li a:hover,
  .pkp_navigation_primary > li ul li.current > a,
  .pkp_navigation_primary > li .dropdown_menu li.current > a {
    background-color: #e2e8f0 !important;
    color: var(--ijspe-red) !important;
    padding-left: 18px !important;
    font-weight: 600 !important;
  }

  /* Responsive Topbar badges: center aligned, smaller font, flex-wrap */
  .ijspe-topbar {
    padding: 6px 12px !important;
    overflow-x: hidden !important;
  }

  .ijspe-topbar__inner {
    justify-content: center !important;
    width: 100% !important;
  }

  .ijspe-topbar__badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 8px !important;
    font-size: 0.72rem !important;
    text-align: center !important;
  }

  .ijspe-topbar__badge {
    font-size: 0.72rem !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }

  .ijspe-topbar__badge i {
    font-size: 0.72rem !important;
  }

  .ijspe-topbar__divider {
    margin: 0 !important;
    opacity: 0.5 !important;
  }
}

/* Force hero banner display & title visibility */
.ijspe-inner-hero {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  min-height: 220px !important;
  background-color: #0b1424 !important;
}

.ijspe-inner-hero__container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 38px 24px 34px !important;
  box-sizing: border-box !important;
}

.ijspe-inner-hero__title {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  gap: 14px !important;
  color: #ffffff !important;
  font-family: var(--ijspe-font-heading) !important;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 10px 0 0 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

.ijspe-inner-hero__title .heading-bar {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 5px !important;
  height: clamp(28px, 3.5vw, 42px) !important;
  background-color: #d3202f !important;
  border-radius: 3px !important;
  flex-shrink: 0 !important;
}

.ijspe-inner-hero__title .title-text {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #ffffff !important;
  letter-spacing: -0.3px !important;
}

/* Ensure no double heading or stray default OJS h1 under hero */
body:not(.pkp_page_index) .page > h1:not(.ijspe-inner-hero__title),
body:not(.pkp_page_index) .pkp_structure_main > h1:not(.ijspe-inner-hero__title) {
  display: none !important;
}

/* Full Width Page Containers with Zero Side Gaps */
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
body:not(.pkp_page_index) .page {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Active menu pill override (only .current / .active receives red pill on frontend) */
body.has_site_logo .pkp_navigation_primary > li > a {
  background: transparent !important;
  color: #1e293b !important;
}

body.has_site_logo .pkp_navigation_primary > li.current > a,
body.has_site_logo .pkp_navigation_primary > li > a.active {
  background-color: #d3202f !important;
  color: #ffffff !important;
}

body.has_site_logo .pkp_navigation_primary > li > a:hover {
  color: #d3202f !important;
  background-color: #f1f5f9 !important;
}

body.has_site_logo .pkp_navigation_primary > li.current > a:hover,
body.has_site_logo .pkp_navigation_primary > li > a.active:hover {
  background-color: #b71926 !important;
  color: #ffffff !important;
}

