/**
 * Guidee Header – Desktop + Mobile
 * Version: 1.2.1
 * Last modified: 2026-03-26
 * DUPLICITY ANALYSIS (v1.2.1): :root + visibility + tablet + tap-highlight removed (now in base/variables.css, critical.css, utilities/tap-highlight.css). All header-specific rules preserved.
 */
/* TABLET VERTICAL ALIGNMENT FIX – .elementor-icon-wrapper */
@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-header-visible .elementor-icon-wrapper {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
/* TABLET ICON MARGIN FIX – EXACT CLASSES YOU GAVE */
@media (min-width: 768px) and (max-width: 1023px) {
  .elementor-element.elementor-element-0dec4bf,
  .elementor-element.elementor-element-0dec4bf.guidee-mobile-burger.max-mega-menu-toggle.elementor-view-default.elementor-widget.elementor-widget-icon {
    margin-left: 10px !important;
  }
  .elementor-element.elementor-element-0711d3e,
  .elementor-element.elementor-element-0711d3e.guidee-mobile-search-icon.guidee-mobile-search-trigger.elementor-view-default.elementor-widget.elementor-widget-icon {
    margin-right: 10px !important;
  }
}
/* HEADER SOLID WHITE + FIXED BEHAVIOUR */
.guidee-header-outer,
.desktop-header-visible,
.mobile-header-visible,
header.elementor-location-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  z-index: 99999 !important;
  background: var(--guidee-white) !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}
body.admin-bar .guidee-header-outer,
body.admin-bar .desktop-header-visible,
body.admin-bar .mobile-header-visible,
body.admin-bar header.elementor-location-header {
  top: 32px !important;
}
/* EXACT CONTENT SPACING ON LOAD (per device) */
.site-main,
.elementor-location-main,
main,
.elementor-page .elementor-location-main,
.elementor-page .site-content {
  padding-top: 64px !important;
}
@media (min-width: 1024px) {
  .site-main,
  .elementor-location-main,
  main,
  .elementor-page .elementor-location-main,
  .elementor-page .site-content {
    padding-top: 125px !important;
  }
  .guidee-header-row1 {
    height: 72px !important;
    min-height: 72px !important;
  }
}
/* MOBILE HEADER CONTAINER – EDGE TO EDGE */
.mobile-header-visible {
  padding: 12px 0 !important;
  background: var(--guidee-white) !important;
  width: 100vw !important;
  height: 64px;
  align-items: center !important;
  transition: height 0.3s ease;
}
/* DESKTOP HEADER – 1200PX UNIFIED WIDTH */
.guidee-header-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px !important;
  max-width: 1200px !important;
  margin: 0 auto;
  height: 72px !important;
  min-height: 72px !important;
  width: 100%;
}
.guidee-header-row2 {
  position: relative;
  padding: 0 20px !important;
  max-width: 1200px !important;
  margin: -10px auto 0 auto !important;
  width: 100%;
}
/* DESKTOP LOGO – MOVED 25PX LEFT */
@media (min-width: 1024px) {
  .guidee-logo {
    margin-left: -25px !important;
  }
}
/* DESKTOP SEARCH BAR – DYNAMICALLY FILLS HEADER + 35PX GAP TO SUBSCRIBE */
@media (min-width: 1024px) {
  .guidee-custom-search-wrapper {
    flex: 1 1 auto !important;
    max-width: none !important;
    margin: 0 55px 0 10px !important;
  }
}
/* DESKTOP L1 MENU – FORCE VISIBILITY (protected) */
@media (min-width: 1024px) {
  .guidee-header-row2 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link,
  .guidee-header-row2 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover,
  .guidee-header-row2 #mega-menu-menu-1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    color: var(--guidee-charcoal) !important;
    font-size: 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
}
/* DESKTOP OVERRIDES */
@media (min-width: 1024px) {
  .guidee-header-row1 {
    height: 72px !important;
    min-height: 72px !important;
  }
}
/* ALL REMAINING RULES (LOGO HOVER, SUBSCRIBE, ICONS, ETC.) */
.guidee-logo {
  flex: 0 0 auto;
  position: relative;
  display: inline-block;
  height: 48px;
  width: auto;
}
.guidee-logo img {
  height: 48px !important;
  width: auto !important;
  aspect-ratio: 3.5 / 1;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
  position: relative;
  z-index: 2;
}
.guidee-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://guidee.co.uk/wp-content/uploads/2026/03/logo_guidee_hover.png') no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}
.guidee-logo:hover::after {
  opacity: 1;
}
.guidee-logo:hover img {
  opacity: 0;
}
.elementor-widget-button .guidee-subscribe-button .elementor-button,
.elementor-widget-button .guidee-subscribe-button a.elementor-button,
.guidee-subscribe-button .elementor-button,
.guidee-subscribe-button a.elementor-button {
  flex: 0 0 auto;
  background: var(--guidee-white) !important;
  color: var(--guidee-charcoal) !important;
  padding: 14px 42px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  height: 40px !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid var(--guidee-charcoal) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  width: auto !important;
}
.elementor-widget-button .guidee-subscribe-button .elementor-button:hover,
.elementor-widget-button .guidee-subscribe-button a.elementor-button:hover,
.guidee-subscribe-button .elementor-button:hover,
.guidee-subscribe-button a.elementor-button:hover {
  background: var(--guidee-spring-green) !important;
  color: var(--guidee-charcoal) !important;
  border: 2px solid var(--guidee-spring-green) !important;
  box-shadow: none !important;
}
.guidee-mobile-burger {
  font-size: 28px !important;
  width: 48px !important;
  height: 48px !important;
  color: var(--guidee-charcoal) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.2s ease;
}
.guidee-mobile-burger i,
.guidee-mobile-burger svg {
  font-size: 28px !important;
  width: 28px !important;
  height: 28px !important;
}
.guidee-mobile-burger:hover,
.guidee-mobile-burger:active {
  color: var(--guidee-spring-green) !important;
}
.guidee-mobile-logo-center img {
  max-width: 160px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}
.guidee-mobile-search-icon {
  font-size: 26px !important;
  width: 48px !important;
  height: 48px !important;
  color: var(--guidee-charcoal) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.2s ease;
}
.guidee-mobile-search-icon i,
.guidee-mobile-search-icon svg {
  font-size: 26px !important;
  width: 26px !important;
  height: 26px !important;
}
.guidee-mobile-search-icon:hover,
.guidee-mobile-search-icon:active {
  color: var(--guidee-spring-green) !important;
}
/* TOUCH TARGET IMPROVEMENTS */
@media (max-width: 767px) {
  .guidee-mobile-burger,
  .guidee-mobile-search-icon {
    min-width: 48px !important;
    min-height: 48px !important;
  }
}
/* MOBILE HEADER ICONS POSITIONING */
@media (max-width: 767px) {
  .elementor-element.elementor-element-0dec4bf,
  .elementor-element.elementor-element-0dec4bf.guidee-mobile-burger.max-mega-menu-toggle.elementor-view-default.elementor-widget.elementor-widget-icon {
    margin: 0 !important;
  }
  .elementor-element.elementor-element-0711d3e,
  .elementor-element.elementor-element-0711d3e.guidee-mobile-search-icon.guidee-mobile-search-trigger.elementor-view-default.elementor-widget.elementor-widget-icon {
    margin: 0 !important;
  }
  .e-font-icon-svg.e-fas-bars,
  .elementor-element.elementor-element-0dec4bf .e-font-icon-svg.e-fas-bars,
  .guidee-mobile-burger .e-font-icon-svg.e-fas-bars,
  .max-mega-menu-toggle .e-font-icon-svg.e-fas-bars {
    margin-left: 20px !important;
  }
  .e-font-icon-svg.e-fas-search {
    margin-right: 20px !important;
  }
}