/* ==========================================================================
   MALAMAH LEGACY - DR. HERBERT BABATUNDE DEDICATED THEME (AUTHENTICATED COLORS)
   Palette:
     Primary: #89023e (Burgundy)
     Brand Secondary: #30343f (Dark Charcoal)
     Hero Soft Burgundy: #f5e6ed (--color1_25)
     Deep Charcoal: #0c0d10 (--color2_175)
     Burgundy Hover: #67022f (--color1_125)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Typography & Base */
body, #website {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  color: #1E293B;
  line-height: 1.75;
}

#website p {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  line-height: 1.75;
}

h1, h2, h3, h4, .mh-serif {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: #0c0d10 !important;
  letter-spacing: -0.01em;
}

/* Global Mobile Overflow Lock */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}

#website {
  overflow-x: clip !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ==========================================================================
   HEADER & LOGO PERFECT MOBILE RESPONSIVENESS (NO OVERFLOW)
   ========================================================================== */
#header {
  max-width: 100vw !important;
  width: 100% !important;
  overflow: visible !important;
  background: var(--color1_25, #f5e6ed) !important;
}

#headerMenu {
  background: var(--color1_25, #f5e6ed) !important;
  border-bottom: 1.5px solid rgba(137, 2, 62, 0.15) !important;
  padding: 12px 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#headerMenu .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  max-width: 1200px !important;
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.logoHolder {
  float: none !important;
  height: auto !important;
  line-height: normal !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.logoHolder a.logo {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
}

.logoContents {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  max-width: 100% !important;
  white-space: normal !important;
}

#websiteLogo {
  max-height: 52px !important;
  height: 52px !important;
  width: auto !important;
  min-height: unset !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

#websiteLogoTitle {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #89023e !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: unset !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
  white-space: normal !important;
}

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

.menuHolder li a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  color: #30343f !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.menuHolder li a:hover,
.menuHolder li.active a {
  color: #89023e !important;
  background: rgba(137, 2, 62, 0.08) !important;
}

.menuHolder li.accent1 a {
  background: #89023e !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;
  box-shadow: 0 2px 8px rgba(137, 2, 62, 0.25) !important;
}

.menuHolder li.accent1 a:hover {
  background: #67022f !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   HERO SECTION & FLUID CLAMP TYPOGRAPHY
   ========================================================================== */
.mh-hero-section {
  background: linear-gradient(135deg, #fdf8fa 0%, #f5e6ed 100%) !important;
  padding: 60px 0 50px !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid rgba(137, 2, 62, 0.12);
}

.mh-hero-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 4.2vw, 3.1rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #0c0d10 !important;
  margin-bottom: 18px !important;
}

.mh-hero-title span.mh-gold {
  color: #89023e !important;
  font-style: italic;
}

.mh-hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem) !important;
  color: #1E293B !important;
  line-height: 1.8 !important;
  margin-bottom: 24px !important;
  font-weight: 400;
}

.mh-heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #89023e;
  color: #89023e;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(137, 2, 62, 0.1);
}

.mh-portrait-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(48, 52, 63, 0.2);
  border: 4px solid #FFFFFF;
  background: #FFFFFF;
}

.mh-portrait-wrap img {
  width: 100% !important;
  height: auto !important;
  display: block;
  transition: transform 0.4s ease;
}

.mh-portrait-wrap:hover img {
  transform: scale(1.02);
}

/* Call to Action Buttons */
.btn-mh-primary {
  background: #89023e !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 12px 26px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 4px 14px rgba(137, 2, 62, 0.35) !important;
  transition: all 0.25s ease !important;
  border: 2px solid #89023e !important;
}

.btn-mh-primary:hover {
  background: #67022f !important;
  border-color: #67022f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(137, 2, 62, 0.45) !important;
  color: #FFFFFF !important;
}

.btn-mh-secondary {
  background: #FFFFFF !important;
  color: #30343f !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 2px solid #CBD5E1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
}

.btn-mh-secondary:hover {
  border-color: #89023e !important;
  color: #89023e !important;
  background: #fdf8fa !important;
  transform: translateY(-2px);
}

.btn-mh-audio {
  background: #15803d !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  box-shadow: 0 3px 10px rgba(21, 128, 61, 0.3) !important;
  transition: all 0.25s ease !important;
  font-size: 0.92rem !important;
}

.btn-mh-audio:hover {
  background: #166534 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(21, 128, 61, 0.4) !important;
}

/* ==========================================================================
   BOOK SHOWCASE (THE BENNIMIX BLUEPRINT)
   ========================================================================== */
.mh-book-section {
  background: #FFFFFF !important;
  padding: 60px 0 !important;
  border-bottom: 1.5px solid #E2E8F0;
}

.mh-book-card {
  background: #F8FAFC;
  border-radius: 16px;
  border: 1.5px solid #E2E8F0;
  padding: 36px 30px;
  box-shadow: 0 8px 24px rgba(48, 52, 63, 0.06);
}

.mh-book-cover {
  max-height: 280px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.mh-book-cover:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   SCIENTIFIC & HUMANITARIAN PILLARS
   ========================================================================== */
.mh-pillars-section {
  background: #30343f !important; /* Secondary Dark Charcoal */
  padding: 70px 0 !important;
  color: #FFFFFF !important;
}

.mh-pillar-card {
  background: #FFFFFF !important;
  border-radius: 14px !important;
  padding: 30px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  height: 100% !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mh-pillar-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25) !important;
}

.mh-pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #89023e 0%, #67022f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(137, 2, 62, 0.35);
}

.mh-pillar-card h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #0c0d10 !important;
  margin-bottom: 12px !important;
}

.mh-pillar-card p {
  color: #334155 !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin-bottom: 0 !important;
}

/* Stat Counters */
.mh-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
}

.mh-stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #e2c0cf;
  margin-bottom: 4px;
}

.mh-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CBD5E1;
  font-weight: 600;
}

/* ==========================================================================
   ACADEMIC PAPERS & ARCHIVES DIRECTORY
   ========================================================================== */
.mh-archive-section {
  background: #F8FAFC !important;
  padding: 60px 0 !important;
}

.mh-paper-card {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  border: 1.5px solid #E2E8F0 !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: calc(100% - 24px) !important;
}

.mh-paper-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px rgba(137, 2, 62, 0.1) !important;
  border-color: #89023e !important;
}

.mh-paper-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.badge-thesis { background: #fdf2f8; color: #9d174d; border: 1px solid #fbcfe8; }
.badge-science { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-nutrition { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.badge-un { background: #fefce8; color: #854d0e; border: 1px solid #fef08a; }
.badge-history { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }

.mh-paper-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: #0c0d10 !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
}

.mh-paper-abstract {
  font-size: 0.9rem !important;
  color: #475569 !important;
  line-height: 1.65 !important;
  margin-bottom: 18px !important;
}

.mh-paper-thumb {
  max-height: 140px;
  width: auto;
  border-radius: 6px;
  margin-bottom: 14px;
  border: 1px solid #E2E8F0;
  object-fit: cover;
}

/* ==========================================================================
   HISTORICAL TIMELINE (ABOUT PAGE)
   ========================================================================== */
.mh-timeline {
  position: relative;
  padding-left: 36px;
  border-left: 3px solid #89023e;
  margin-left: 10px;
}

.mh-timeline-item {
  position: relative;
  margin-bottom: 34px;
}

.mh-timeline-item:last-child {
  margin-bottom: 0;
}

.mh-timeline-marker {
  position: absolute;
  left: -48px;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #89023e;
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 2px #89023e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.8rem;
}

.mh-timeline-year {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #89023e;
  background: #f5e6ed;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(137, 2, 62, 0.25);
}

.mh-timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #0c0d10;
  margin-bottom: 6px;
}

.mh-timeline-desc {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT FORM & ANCESTRAL SEAT
   ========================================================================== */
.mh-contact-card {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  padding: 36px !important;
  box-shadow: 0 10px 30px rgba(48, 52, 63, 0.08) !important;
  border: 1.5px solid #E2E8F0 !important;
}

.ContactForm .form-group {
  margin-bottom: 20px !important;
}

.ContactForm label {
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  color: #0c0d10 !important;
  margin-bottom: 6px !important;
}

.ContactForm .form-control,
.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm textarea {
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 16px !important; /* Prevents auto-zoom in iOS */
  color: #1E293B !important;
  background: #F8FAFC !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}

.ContactForm .form-control:focus,
.ContactForm input:focus,
.ContactForm textarea:focus {
  background: #FFFFFF !important;
  border-color: #89023e !important;
  box-shadow: 0 0 0 3px rgba(137, 2, 62, 0.2) !important;
  outline: none !important;
}

/* Eliminate honeypot */
.ContactForm input#first-name-prefix,
.ContactForm #first-name-prefix,
.ContactForm label[for="first-name-prefix"],
.ContactForm div:has(> #first-name-prefix),
.ContactForm .form-group:has(#first-name-prefix) {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#first-name-prefix, label[for="first-name-prefix"] {
  display: none !important;
  visibility: hidden !important;
}

.ContactForm h3.thumbTitle {
  display: none !important;
}

.ContactForm .input-group {
  display: flex !important;
  align-items: stretch !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.ContactForm .input-group-text {
  background: #fdf8fa !important;
  border: 1.5px solid #CBD5E1 !important;
  border-right: none !important;
  border-radius: 8px 0 0 8px !important;
  padding: 2px 8px !important;
  display: flex !important;
  align-items: center !important;
}

.ContactForm .input-group-text img {
  height: 38px !important;
  border-radius: 4px !important;
}

.ContactForm .input-group .form-control {
  border-radius: 0 8px 8px 0 !important;
}

.ContactForm button[type="submit"] {
  background: linear-gradient(135deg, #89023e 0%, #67022f 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  font-size: 0.92rem !important;
  padding: 14px 28px !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 14px rgba(137, 2, 62, 0.35) !important;
  transition: all 0.25s ease !important;
  border: none !important;
  min-height: 48px !important;
}

.ContactForm button[type="submit"]:hover {
  background: linear-gradient(135deg, #67022f 0%, #45011f 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(137, 2, 62, 0.45) !important;
}

/* ==========================================================================
   UNIQUE MEMORIAL FOOTER (WHITE MEDALLION & HIGH CONTRAST)
   ========================================================================== */
.mh-unique-footer {
  background: #0c0d10 !important; /* Deep Charcoal */
  color: #FFFFFF !important;
}

.mh-unique-footer p,
.mh-unique-footer div,
.mh-unique-footer span {
  color: #F1F5F9 !important;
}

.mh-unique-footer p {
  color: #F8FAFC !important;
}

.mh-unique-footer a {
  color: #FFFFFF !important;
  transition: all 0.2s ease !important;
}

.mh-unique-footer a:hover {
  color: #e2c0cf !important;
}

.mh-footer-logo-badge {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  background: #FFFFFF !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  border: 2.5px solid #89023e !important;
}

.mh-footer-logo-badge img {
  max-height: 42px !important;
  max-width: 42px !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}

/* ==========================================================================
   MOBILE SCREEN SIZES (< 991px and < 767px)
   ========================================================================== */
@media (max-width: 991px) {
  #headerMenu .container {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .logoHolder {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .logoHolder a.logo {
    justify-content: center !important;
  }
  .logoContents {
    justify-content: center !important;
    gap: 10px !important;
  }
  #websiteLogo {
    max-height: 44px !important;
    height: 44px !important;
  }
  #websiteLogoTitle {
    font-size: 1.2rem !important;
    text-align: left !important;
  }
  .menuHolder {
    justify-content: center !important;
    width: 100% !important;
    gap: 6px !important;
  }
}

@media (max-width: 767px) {
  .mh-hero-section {
    padding: 35px 0 !important;
    text-align: center !important;
  }
  .mh-hero-section .col-lg-7 {
    text-align: center !important;
  }
  .mh-hero-section .d-flex.flex-wrap {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .btn-mh-primary, .btn-mh-secondary, .btn-mh-audio {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
  }
  .mh-portrait-wrap {
    max-width: 270px !important;
    margin: 28px auto 0 !important;
  }
  .mh-pillars-section {
    padding: 45px 0 !important;
  }
  .mh-pillar-card {
    padding: 22px 18px !important;
    margin-bottom: 14px !important;
  }
  .mh-timeline {
    padding-left: 20px !important;
    border-left-width: 2px !important;
  }
  .mh-timeline-marker {
    left: -30px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 0.72rem !important;
  }
  .mh-unique-footer {
    text-align: center !important;
    padding: 40px 0 20px !important;
  }
  .mh-unique-footer .row > div {
    text-align: center !important;
    margin-bottom: 24px !important;
  }
  .mh-unique-footer .d-flex.align-items-center {
    justify-content: center !important;
  }
  .mh-unique-footer ul {
    align-items: center !important;
  }
}



/* ==========================================================================
   BULLETPROOF RESPONSIVE NAVIGATION ENGINE (DESKTOP SINGLE ROW + MOBILE DRAWER)
   ========================================================================== */

/* Global Overflow Lock */
html, body, #website {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#header,
.ko_Theme #header {
  background: var(--color1_25, #c3deec) !important;
  width: 100% !important;
  max-width: 100vw !important;
  border-bottom: 1.5px solid rgba(14, 121, 178, 0.18) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  margin: 0 !important;
  padding: 0 !important;
}

#headerMenu,
.ko_Theme #headerMenu {
  background: transparent !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  width: 100% !important;
  border: none !important;
}

#headerMenu .container,
.ko_Theme #headerMenu .container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  max-width: 1520px !important;
  width: 100% !important;
  padding: 2px 14px !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
}

.logoHolder,
.ko_Theme .logoHolder,
.logoHolder.skiptranslate {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1 !important;
}

.logoHolder a.logo,
.ko_Theme .logoHolder a.logo {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.logoHolder img,
#websiteLogo,
.ko_Theme .logoHolder img {
  max-height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Desktop Navigation (>= 992px) */
@media (min-width: 992px) {
  .mh-mobile-nav-toggle {
    display: none !important;
  }

  .menuHolder,
  .menuHolder.topmenu,
  .ko_Theme .menuHolder,
  .ko_Theme .menuHolder.topmenu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 1px !important;
    background: transparent !important;
  }

  .menuHolder li,
  .ko_Theme .menuHolder li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .menuHolder li a,
  .ko_Theme .menuHolder li a {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-size: 0.71rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15px !important;
    padding: 5px 6px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    display: inline-block !important;
    white-space: nowrap !important;
    color: #041e2d !important;
  }

  .menuHolder li a:hover,
  .ko_Theme .menuHolder li a:hover {
    color: #0e79b2 !important;
    background: rgba(14, 121, 178, 0.1) !important;
  }

  .menuHolder li.active a,
  .menuHolder li.item_active a,
  .ko_Theme .menuHolder li.active a,
  .ko_Theme .menuHolder li.item_active a {
    color: #bf1363 !important;
    background: rgba(191, 19, 99, 0.12) !important;
  }

  .menuHolder li a[href*="contact"],
  .ko_Theme .menuHolder li a[href*="contact"],
  a.koMenuButton {
    background: #bf1363 !important;
    color: #ffffff !important;
    border-radius: 18px !important;
    padding: 5px 12px !important;
    margin-left: 2px !important;
  }

  .menuHolder li.topmenuSocial,
  .menuHolder li.topmenuSocialTranslate {
    margin-left: 2px !important;
  }

  .topmenuSocial a {
    padding: 4px 5px !important;
    font-size: 0.72rem !important;
    color: #041e2d !important;
  }

  .topmenuSocialTranslate button {
    padding: 3px 6px !important;
    font-size: 0.70rem !important;
    border-radius: 4px !important;
  }
}

/* Medium Laptops (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
  .logoHolder img, #websiteLogo {
    max-height: 36px !important;
  }
  .menuHolder li a {
    font-size: 0.65rem !important;
    padding: 4px 4px !important;
  }
}

/* Mobile & Tablet Navigation (< 992px) */
@media (max-width: 991.98px) {
  #headerMenu .container,
  .ko_Theme #headerMenu .container {
    flex-wrap: wrap !important;
    padding: 8px 16px !important;
  }

  .logoHolder img,
  #websiteLogo,
  .ko_Theme .logoHolder img {
    max-height: 38px !important;
  }

  .mh-mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #041e2d !important;
    color: #ffffff !important;
    border: 1.5px solid #0e79b2 !important;
    border-radius: 6px !important;
    padding: 7px 14px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    margin-left: auto !important;
  }

  .mh-mobile-nav-toggle:hover {
    background: #0e79b2 !important;
    color: #ffffff !important;
  }

  .menuHolder,
  .menuHolder.topmenu,
  .ko_Theme .menuHolder,
  .ko_Theme .menuHolder.topmenu {
    display: none !important;
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .menuHolder.mh-menu-open,
  .ko_Theme .menuHolder.mh-menu-open {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #041e2d !important;
    border-radius: 8px !important;
    margin-top: 10px !important;
    padding: 12px 16px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .menuHolder.mh-menu-open li,
  .ko_Theme .menuHolder.mh-menu-open li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .menuHolder.mh-menu-open li a,
  .ko_Theme .menuHolder.mh-menu-open li a {
    display: block !important;
    width: 100% !important;
    padding: 11px 14px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-decoration: none !important;
  }

  .menuHolder.mh-menu-open li a:hover,
  .menuHolder.mh-menu-open li.active a {
    background: rgba(14, 121, 178, 0.3) !important;
    color: #38bdf8 !important;
  }
}

/* Eliminate empty white gaps */
main.WxEditableArea,
#contentArea,
.WxEditableArea,
.kedit:first-child,
section.kedit:first-of-type {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.mh-breadcrumb-nav {
  display: none !important;
}

/* Hide top network bar permanently */
#mh-network-bar, .mh-network-bar, #mh-network-container, .mh-network-container {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Page up button on bottom-left */
#scrollToTop, a#scrollToTop, #scrollToTop.active, a#scrollToTop.active, #toTop, #scrollUp {
  position: fixed !important;
  left: 24px !important;
  right: auto !important;
  bottom: 24px !important;
  z-index: 99990 !important;
}

/* Footer crest logo badge */
.mh-footer-logo-badge {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 3px solid #bf1363 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  margin-right: 14px !important;
}

.mh-footer-logo-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
