
/* =========================================================
   BZ ACADEMY - GLOBAL HEADER / TOP MENU
   Clean Header Code
   ========================================================= */

#sp-header {
  position: relative !important;
  z-index: 9999 !important;
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
}

#sp-header .container,
#sp-header .container-inner {
  width: 100% !important;
  max-width: 1740px !important;
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#sp-header .row {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

#sp-logo,
#sp-logo .sp-column {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

#sp-logo .logo,
#sp-logo .logo a {
  display: flex !important;
  align-items: center !important;
  height: 68px !important;
  min-height: 68px !important;
  padding: 0 !important;
  margin: 0 !important;
}

#sp-logo img,
#sp-logo .logo-image {
  display: block !important;
  max-height: 38px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-menu,
#sp-menu .sp-column {
  min-width: 0;
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding: 0 !important;
  margin: 0 !important;
}

#sp-menu .sp-megamenu-parent {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#sp-menu .sp-megamenu-parent > li {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-menu .sp-megamenu-parent > li > a,
#sp-menu .sp-megamenu-parent > li > span {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  margin: 0 !important;

  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  color: #111111 !important;
  background: transparent !important;
  transition: color 0.22s ease, background 0.22s ease !important;
}

#sp-menu .sp-megamenu-parent > li > a:hover,
#sp-menu .sp-megamenu-parent > li > span:hover,
#sp-menu .sp-megamenu-parent > li.active > a,
#sp-menu .sp-megamenu-parent > li.active > span,
#sp-menu .sp-megamenu-parent > li.current-item > a,
#sp-menu .sp-megamenu-parent > li.current-item > span {
  color: #e1261c !important;
}

#sp-menu .sp-megamenu-parent > li > a .menu-toggler,
#sp-menu .sp-megamenu-parent > li > span .menu-toggler,
#sp-menu .sp-megamenu-parent > li > a::after,
#sp-menu .sp-megamenu-parent > li > span::after {
  margin-left: 6px !important;
}

#sp-menu .sp-megamenu-parent > li:last-child > a,
#sp-menu .sp-megamenu-parent > li:last-child > span {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 10px !important;
  padding: 0 18px !important;
  background: #e1261c !important;
  border: 1px solid #e1261c !important;
  color: #ffffff !important;

  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

#sp-menu .sp-megamenu-parent > li:last-child > a:hover,
#sp-menu .sp-megamenu-parent > li:last-child > span:hover {
  background: #ff2b22 !important;
  border-color: #ff2b22 !important;
  color: #ffffff !important;
}

#sp-menu .sp-megamenu-parent .sp-dropdown {
  margin-top: 0 !important;
}

#sp-menu .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  padding: 10px 0 !important;
  background: #111111 !important;
  border-top: 3px solid #e1261c !important;
  box-shadow: 0 18px 38px rgba(0,0,0,0.28) !important;
}

#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span {
  display: block !important;
  padding: 12px 22px !important;

  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  color: rgba(255,255,255,0.82) !important;
  background: transparent !important;
}

#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span:hover,
#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
  color: #ffffff !important;
  background: rgba(225,38,28,0.18) !important;
}

body.com_eventbooking #sp-header,
body.view-register #sp-header,
body.view-event #sp-header,
body.view-category #sp-header {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
}

#sp-main-body {
  padding-top: 42px !important;
}

/* Event Booking typography */

body.com_eventbooking #sp-main-body,
body.com_eventbooking #sp-main-body label,
body.com_eventbooking #sp-main-body input,
body.com_eventbooking #sp-main-body select,
body.com_eventbooking #sp-main-body textarea,
.eb-container {
  font-family: "Inter", Arial, sans-serif !important;
}

body.com_eventbooking h1,
body.com_eventbooking h2,
body.com_eventbooking h3,
.eb-container h1,
.eb-container h2,
.eb-container h3,
.page-header h1 {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
  color: #111111 !important;
}

/* =========================================================
   BZ ACADEMY - GLOBAL FOOTER
   Clean Full Width Version
   ========================================================= */

#sp-footer,
#sp-footer1,
#sp-footer2,
#sp-footer-wrapper,
#sp-bottom,
#sp-bottom1,
#sp-bottom2,
#sp-bottom3,
#sp-bottom4,
#sp-bottom-wrapper {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #070707 !important;
  overflow: visible !important;
}

#sp-footer .container,
#sp-footer1 .container,
#sp-footer2 .container,
#sp-footer-wrapper .container,
#sp-bottom .container,
#sp-bottom1 .container,
#sp-bottom2 .container,
#sp-bottom3 .container,
#sp-bottom4 .container,
#sp-bottom-wrapper .container,
#sp-footer .container-inner,
#sp-footer1 .container-inner,
#sp-footer2 .container-inner,
#sp-footer-wrapper .container-inner,
#sp-bottom .container-inner,
#sp-bottom1 .container-inner,
#sp-bottom2 .container-inner,
#sp-bottom3 .container-inner,
#sp-bottom4 .container-inner,
#sp-bottom-wrapper .container-inner,
#sp-footer .row,
#sp-footer1 .row,
#sp-footer2 .row,
#sp-footer-wrapper .row,
#sp-bottom .row,
#sp-bottom1 .row,
#sp-bottom2 .row,
#sp-bottom3 .row,
#sp-bottom4 .row,
#sp-bottom-wrapper .row,
#sp-footer .sp-column,
#sp-footer1 .sp-column,
#sp-footer2 .sp-column,
#sp-footer-wrapper .sp-column,
#sp-bottom .sp-column,
#sp-bottom1 .sp-column,
#sp-bottom2 .sp-column,
#sp-bottom3 .sp-column,
#sp-bottom4 .sp-column,
#sp-bottom-wrapper .sp-column,
#sp-footer .sp-module,
#sp-footer1 .sp-module,
#sp-footer2 .sp-module,
#sp-footer-wrapper .sp-module,
#sp-bottom .sp-module,
#sp-bottom1 .sp-module,
#sp-bottom2 .sp-module,
#sp-bottom3 .sp-module,
#sp-bottom4 .sp-module,
#sp-bottom-wrapper .sp-module,
#sp-footer .sp-module-content,
#sp-footer1 .sp-module-content,
#sp-footer2 .sp-module-content,
#sp-footer-wrapper .sp-module-content,
#sp-bottom .sp-module-content,
#sp-bottom1 .sp-module-content,
#sp-bottom2 .sp-module-content,
#sp-bottom3 .sp-module-content,
#sp-bottom4 .sp-module-content,
#sp-bottom-wrapper .sp-module-content,
#sp-footer .custom,
#sp-footer1 .custom,
#sp-footer2 .custom,
#sp-footer-wrapper .custom,
#sp-bottom .custom,
#sp-bottom1 .custom,
#sp-bottom2 .custom,
#sp-bottom3 .custom,
#sp-bottom4 .custom,
#sp-bottom-wrapper .custom,
#sp-footer .mod-custom,
#sp-footer1 .mod-custom,
#sp-footer2 .mod-custom,
#sp-footer-wrapper .mod-custom,
#sp-bottom .mod-custom,
#sp-bottom1 .mod-custom,
#sp-bottom2 .mod-custom,
#sp-bottom3 .mod-custom,
#sp-bottom4 .mod-custom,
#sp-bottom-wrapper .mod-custom,
#sp-footer .mod-custom__content,
#sp-footer1 .mod-custom__content,
#sp-footer2 .mod-custom__content,
#sp-footer-wrapper .mod-custom__content,
#sp-bottom .mod-custom__content,
#sp-bottom1 .mod-custom__content,
#sp-bottom2 .mod-custom__content,
#sp-bottom3 .mod-custom__content,
#sp-bottom4 .mod-custom__content,
#sp-bottom-wrapper .mod-custom__content {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#sp-footer .custom > p,
#sp-footer1 .custom > p,
#sp-footer2 .custom > p,
#sp-footer-wrapper .custom > p,
#sp-bottom .custom > p,
#sp-bottom1 .custom > p,
#sp-bottom2 .custom > p,
#sp-bottom3 .custom > p,
#sp-bottom4 .custom > p,
#sp-bottom-wrapper .custom > p,
#sp-footer .mod-custom > p,
#sp-footer1 .mod-custom > p,
#sp-footer2 .mod-custom > p,
#sp-footer-wrapper .mod-custom > p,
#sp-bottom .mod-custom > p,
#sp-bottom1 .mod-custom > p,
#sp-bottom2 .mod-custom > p,
#sp-bottom3 .mod-custom > p,
#sp-bottom4 .mod-custom > p,
#sp-bottom-wrapper .mod-custom > p,
#sp-footer .mod-custom__content > p,
#sp-footer1 .mod-custom__content > p,
#sp-footer2 .mod-custom__content > p,
#sp-footer-wrapper .mod-custom__content > p,
#sp-bottom .mod-custom__content > p,
#sp-bottom1 .mod-custom__content > p,
#sp-bottom2 .mod-custom__content > p,
#sp-bottom3 .mod-custom__content > p,
#sp-bottom4 .mod-custom__content > p,
#sp-bottom-wrapper .mod-custom__content > p {
  margin: 0 !important;
  padding: 0 !important;
}

.bz-site-footer,
.bz-site-footer * {
  box-sizing: border-box;
}

.bz-site-footer {
  position: relative;
  display: block;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;

  background:
    linear-gradient(135deg, rgba(225,38,28,0.18) 0%, rgba(225,38,28,0) 14%),
    linear-gradient(315deg, rgba(225,38,28,0.18) 0%, rgba(225,38,28,0) 17%),
    #070707;

  color: #ffffff;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  overflow: hidden;
}

.bz-site-footer::before {
  content: "";
  position: absolute;
  left: -90px;
  top: -90px;
  width: 190px;
  height: 460px;
  background: linear-gradient(135deg, rgba(225,38,28,0.42), rgba(225,38,28,0));
  transform: rotate(28deg);
  opacity: 0.55;
  pointer-events: none;
}

.bz-site-footer::after {
  content: "";
  position: absolute;
  right: -115px;
  bottom: -130px;
  width: 230px;
  height: 540px;
  background: linear-gradient(135deg, rgba(225,38,28,0), rgba(225,38,28,0.42));
  transform: rotate(28deg);
  opacity: 0.55;
  pointer-events: none;
}

.bz-site-footer__inner {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 58px 24px 0 !important;
}

.bz-site-footer__main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.bz-site-footer__brand,
.bz-site-footer__column,
.bz-site-footer__cta {
  min-width: 0;
}

.bz-site-footer__logo {
  display: inline-flex;
  margin-bottom: 26px;
  text-decoration: none !important;
}

.bz-site-footer__logo img {
  display: block;
  width: 120px;
  max-width: 100%;
  height: auto;
}

.bz-site-footer__description {
  max-width: 270px;
  margin: 0 0 28px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: rgba(255,255,255,0.82);
}

.bz-site-footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bz-site-footer__contact li {
  position: relative;
  margin: 0 0 18px;
  padding-left: 34px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  color: rgba(255,255,255,0.82);
}

.bz-site-footer__contact strong {
  font-weight: 600;
  color: #ffffff;
}

.bz-site-footer__contact a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.22s ease;
}

.bz-site-footer__contact a:hover {
  color: #e1261c !important;
}

.bz-site-footer__icon {
  position: absolute;
  left: 0;
  top: 0;
  color: #e1261c;
  font-weight: 500;
}

.bz-site-footer__column h3,
.bz-site-footer__cta h3 {
  margin: 0 0 26px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.bz-site-footer__column h3::after,
.bz-site-footer__cta h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 18px;
  background: #e1261c;
}

.bz-site-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bz-site-footer__column li {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.bz-site-footer__column a {
  position: relative;
  display: block;
  padding: 12px 22px 12px 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none !important;
  transition: color 0.22s ease;
}

.bz-site-footer__column a::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #e1261c;
  font-size: 22px;
  line-height: 1;
}

.bz-site-footer__column a:hover {
  color: #ffffff !important;
}

.bz-site-footer__cta {
  min-height: 320px;
  padding: 34px 28px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
}

.bz-site-footer__cta-icon {
  display: block;
  margin-bottom: 30px;
  color: #e1261c;
  font-size: 20px;
}

.bz-site-footer__cta h3 {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0.035em;
}

.bz-site-footer__cta h3 span {
  color: #e1261c;
}

.bz-site-footer__cta p {
  margin: 0 0 28px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}

.bz-site-footer__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  background: #e1261c;
  color: #ffffff !important;
  border: 1px solid #e1261c;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.bz-site-footer__cta-button:hover {
  background: #ff2b22;
  border-color: #ff2b22;
  color: #ffffff !important;
}

.bz-site-footer__benefits {
  margin-top: 42px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.bz-site-footer__benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.16);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.74);
}

.bz-site-footer__benefit:last-child {
  border-right: 0;
}

.bz-site-footer__benefit span {
  color: #e1261c;
  font-size: 20px;
}

.bz-site-footer__benefit strong {
  font-weight: 600;
  color: #ffffff;
}

.bz-site-footer__bottom {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 2px solid #e1261c;
}

.bz-site-footer__copyright p {
  margin: 0 0 6px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
}

.bz-site-footer__copyright span {
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.58);
}

.bz-site-footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bz-site-footer__social strong {
  margin-right: 8px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}

.bz-site-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.bz-site-footer__social a:hover {
  background: #e1261c;
  border-color: #e1261c;
  color: #ffffff !important;
}

#sp-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#sp-main-body {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#sp-component {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.sppb-page-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.sppb-page-content > .sppb-section:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.sppb-section.bz-empty-before-footer,
.bz-empty-before-footer {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bz-site-footer {
  margin-top: 0 !important;
}

/* Mobile */

@media (max-width: 1100px) {
  .bz-site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .bz-site-footer__brand,
  .bz-site-footer__cta {
    grid-column: span 2;
  }

  .bz-site-footer__cta {
    min-height: auto;
  }
}

@media (max-width: 991px) {
  #sp-header,
  #sp-header .container,
  #sp-header .container-inner,
  #sp-header .row,
  #sp-logo,
  #sp-logo .sp-column,
  #sp-logo .logo,
  #sp-logo .logo a,
  #sp-menu,
  #sp-menu .sp-column {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }

  #sp-logo img,
  #sp-logo .logo-image {
    max-height: 36px !important;
  }

  #sp-main-body {
    padding-top: 32px !important;
  }
}

@media (max-width: 768px) {
  .bz-site-footer__inner {
    padding: 44px 18px 0 !important;
  }

  .bz-site-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bz-site-footer__brand,
  .bz-site-footer__cta {
    grid-column: auto;
  }

  .bz-site-footer__description {
    max-width: 100%;
  }

  .bz-site-footer__benefits {
    grid-template-columns: 1fr;
  }

  .bz-site-footer__benefit {
    justify-content: flex-start;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }

  .bz-site-footer__benefit:last-child {
    border-bottom: 0;
  }

  .bz-site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }

  .bz-site-footer__social {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .bz-site-footer__logo img {
    width: 105px;
  }

  .bz-site-footer__column h3 {
    font-size: 24px;
  }

  .bz-site-footer__cta h3 {
    font-size: 27px;
  }

  .bz-site-footer__cta {
    padding: 28px 22px;
  }

  .bz-site-footer__cta-button {
    width: 100%;
  }
}

/* =========================================================
   BZ ACADEMY - RESPONSIVE HEADER V2.0
   >=1600 CSS px: full desktop menu on ONE row
   992-1599 CSS px: Helix offcanvas navigation
   <=991 CSS px: existing Helix mobile navigation
   (CSS pixels depend on window width and browser zoom)
   ========================================================= */

/* Keep logo and menu in a single header row. */
#sp-header #sp-logo {
  flex-shrink: 0 !important;
}

#sp-header #sp-menu {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#sp-header #sp-menu .sp-column {
  min-width: 0 !important;
}

#sp-header .sp-megamenu-wrapper,
#sp-header .sp-megamenu-parent {
  min-width: 0;
}

#sp-header .sp-megamenu-parent > li {
  flex: 0 0 auto !important;
}

/* Desktop menu only when there is enough room. */
@media (min-width: 1600px) {
  #sp-header #sp-menu .sp-megamenu-wrapper {
    display: flex !important;
  }

  #sp-header #sp-menu #offcanvas-toggler {
    display: none !important;
  }
}

/* Laptop / medium desktop: switch to native Helix offcanvas.
   Keep BOOK A COURSE as a normal offcanvas menu entry. */
@media (min-width: 992px) and (max-width: 1599.98px) {
  #sp-header #sp-menu .sp-megamenu-wrapper {
    display: none !important;
  }

  #sp-header #sp-menu #offcanvas-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px;
    min-height: 44px;
    color: #111111 !important;
    cursor: pointer;
  }
}

/* Original rules force the desktop UL to display:flex even on mobile.
   Hide its wrapper so the offcanvas toggle is the ONLY navigation. */
@media (max-width: 991px) {
  #sp-header #sp-menu .sp-megamenu-wrapper {
    display: none !important;
  }
}

/* On phones, Event Booking header matches the 64px mobile layout.
   Higher specificity is needed to override earlier Event Booking rules. */
@media (max-width: 991px) {
  body.com_eventbooking #sp-header,
  body.view-register #sp-header,
  body.view-event #sp-header,
  body.view-category #sp-header {
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }
}

