.inspirely-header-wrap,
.inspirely-header-wrap * {
  box-sizing: border-box !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 500 !important;
  -webkit-tap-highlight-color: transparent !important;
}

.inspirely-header-wrap {
  --ih-bg: #101010;
  --ih-surface: #242424;
  --ih-surface-2: #2d2d2d;
  --ih-field: #252525;
  --ih-line: rgba(255,255,255,.08);
  --ih-text: #f5f5f5;
  --ih-muted: #8a8a8a;
  --ih-white: #ffffff;
  --ih-overlay-bg: rgba(0,0,0,.42);
  --ih-overlay-blur: 60px;
  --e-global-color-accent: #111111 !important;
  color: var(--ih-text);
}

.inspirely-header-wrap :focus,
.inspirely-header-wrap :focus-visible,
.inspirely-header-wrap :active {
  outline: none !important;
  box-shadow: none !important;
}

.inspirely-header-wrap button,
.inspirely-header-wrap a,
.inspirely-header-wrap input {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent;
}

.inspirely-header-wrap .material-icons {
  font-family: 'Material Icons' !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 22px;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased !important;
}

.inspirely-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 68px;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  transition: background-color .22s ease, backdrop-filter .22s ease, -webkit-backdrop-filter .22s ease;
}

.inspirely-header.is-scrolled {
  background: rgba(42,42,42,.30) !important;
  backdrop-filter: blur(var(--ih-overlay-blur));
  -webkit-backdrop-filter: blur(var(--ih-overlay-blur));
}

.ih-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(360px, 514px) minmax(330px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 58px;
}

.ih-left, .ih-right {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.ih-right { justify-content: flex-end; gap: 22px; }
.ih-logo { width: 92px; height: 20px; display: block; flex: 0 0 auto; }
.ih-logo svg { width: 100%; height: 100%; display: block; }

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

.ih-nav-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ih-nav-list a,
.ih-nav a {
  color: #8a8a8a !important;
  text-decoration: none !important;
  font-size: 16px !important;
  line-height: 1 !important;
  background: transparent !important;
  border: 0 !important;
}
.ih-nav-list a:hover,
.ih-nav a:hover { color: #c7c7c7 !important; }

.ih-search {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 21px;
  border-radius: 999px;
  background: #252525 !important;
  color: #8d8d8d !important;
  border: 0 !important;
  cursor: text;
  text-align: left;
}

.ih-search .material-icons { color: #fff !important; font-size: 22px; }
.ih-search span:last-child { color: #8b8b8b !important; font-size: 16px !important; line-height: 1 !important; }

.ih-icon-btn,
.ih-bottom-action {
  appearance: none !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
}
.ih-icon-btn { width: 22px; height: 22px; flex: 0 0 auto; }
.ih-icon-btn .material-icons { color: #fff !important; font-size: 23px; }

.ih-pro-btn,
.ih-pro-btn:visited,
.ih-pro-btn:hover,
.ih-pro-btn:focus {
  height: 36px !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #111111 !important;
  border: 0 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 36px !important;
  white-space: nowrap !important;
}

.ih-profile, .ih-notifications, .ih-bottom-profile, .ih-bottom-notifications { position: relative; flex: 0 0 auto; }
.ih-avatar-btn {
  appearance: none !important;
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  width: 37px !important;
  height: 37px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  background: #333 !important;
  overflow: hidden !important;
}
.ih-avatar-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ih-menu,
.ih-notification-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 240px;
  background: rgba(38,38,38,.98) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.46) !important;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.985);
  transform-origin: top right;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 10030;
  color: #f4f4f4 !important;
}
.ih-notification-menu { right: -10px; width: min(400px, calc(100vw - 34px)); height: 480px; }
.ih-profile.is-open .ih-menu,
.ih-notifications.is-open .ih-notification-menu,
.ih-bottom-profile.is-open .ih-menu,
.ih-bottom-notifications.is-open .ih-notification-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ih-menu-profile { padding: 18px 18px 14px; }
.ih-name { margin: 0 0 4px !important; font-size: 16px !important; line-height: 1.1 !important; color: #f4f4f4 !important; }
.ih-email { margin: 0 0 14px !important; font-size: 14px !important; line-height: 1.1 !important; color: #aaa !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ih-view-profile,
.ih-view-profile:visited,
.ih-view-profile:hover {
  width: 100%; height: 36px; border: 0 !important; border-radius: 999px; background: #3f3f3f !important; color: #fff !important; text-decoration: none !important; display: flex; align-items: center; justify-content: center; font-size: 14px !important;
}
.ih-menu-section { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.ih-menu-item,
.ih-menu-item:visited,
.ih-menu-item:hover {
  min-height: 36px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; text-decoration: none !important; color: #f1f1f1 !important; font-size: 16px !important; line-height: 1 !important; background: transparent !important; border: 0 !important; text-align: left;
}
.ih-menu-item:hover { background: rgba(255,255,255,.035) !important; }
.ih-menu-item-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.ih-menu-item .material-icons { color: #aaa !important; font-size: 21px; }
.ih-badge { display: inline-flex; align-items: center; height: 23px; padding: 0 8px; border-radius: 8px; background: #777 !important; color: #fff !important; font-size: 12px !important; margin-left: 4px; }
.ih-theme-row { min-height: 48px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #f1f1f1; font-size: 16px; }
.ih-theme-toggle { display: inline-flex; align-items: center; height: 36px; padding: 3px; border-radius: 999px; background: #4a4a4a !important; gap: 2px; }
.ih-theme-dot { width: 29px; height: 29px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #a8a8a8; }
.ih-theme-dot.is-active { background: #2d2d2d !important; color: #fff !important; }
.ih-theme-dot .material-icons { font-size: 19px; }
.ih-footer { height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #adadad; font-size: 12px; }
.ih-footer-links { display: flex; align-items: center; gap: 8px; }
.ih-footer a { color: #adadad !important; text-decoration: none !important; }
.ih-x-logo { color: #bdbdbd !important; font-size: 20px; }

.ih-notification-title { position: absolute; top: 20px; left: 20px; margin: 0 !important; font-size: 16px !important; line-height: 1 !important; color: #f2f2f2 !important; }
.ih-notification-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 52px 44px; }
.ih-notification-empty h4 { margin: 0 0 16px !important; font-size: 20px !important; line-height: 1.15 !important; color: #f3f3f3 !important; }
.ih-notification-empty p { margin: 0 !important; max-width: 270px; font-size: 15px !important; line-height: 1.45 !important; color: #aaa !important; }

.ih-global-overlay,
.ih-search-modal {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 18%, rgba(255,255,255,.045), transparent 34%), rgba(0,0,0,.42) !important;
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
}
.ih-global-overlay { z-index: 9998; display: none; opacity: 0; transition: opacity .18s ease; }
.ih-global-overlay.is-open { display: block; opacity: 1; }
.ih-search-modal { z-index: 10020; display: none; align-items: flex-start; justify-content: center; padding: 76px 18px 24px; }
.ih-search-modal.is-open { display: flex; }
body.ih-search-lock, body.ih-panel-lock { overflow: hidden !important; }

.ih-search-shell { width: min(900px, 100%); max-height: min(720px, calc(100vh - 104px)); border-radius: 28px; background: rgba(31,31,31,.96) !important; box-shadow: 0 34px 120px rgba(0,0,0,.64); overflow: hidden; color: #f4f4f4; }
.ih-search-top { height: 76px; display: flex; align-items: center; gap: 16px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ih-search-top .material-icons { color: #fff !important; font-size: 23px; }
.ih-search-field { width: 100%; height: 100%; border: 0 !important; outline: 0 !important; background: transparent !important; color: #f2f2f2 !important; font-size: 22px !important; line-height: 1 !important; }
.ih-search-field::placeholder { color: #777 !important; opacity: 1 !important; }
.ih-search-esc { height: 34px; min-width: 54px; padding: 0 13px; border: 0 !important; border-radius: 999px; background: #343434 !important; color: #cfcfcf !important; font-size: 13px !important; cursor: pointer; }
.ih-search-body { display: grid; grid-template-columns: 230px 1fr; min-height: 500px; }
.ih-search-side { padding: 16px 12px; border-right: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.015) !important; display: flex; flex-direction: column; gap: 8px; }
.ih-search-tab { width: 100%; min-height: 42px; padding: 0 14px; border: 0 !important; border-radius: 14px; background: transparent !important; color: #aaa !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px !important; cursor: pointer; text-align: left; }
.ih-search-tab span:first-child { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.ih-search-tab .material-icons { color: #aaa !important; font-size: 20px; }
.ih-search-tab.is-active { background: #343434 !important; color: #fff !important; }
.ih-search-tab.is-active .material-icons { color: #fff !important; }
.ih-search-count { color: #777 !important; font-size: 12px !important; }
.ih-search-content { padding: 20px; overflow: auto; max-height: calc(min(720px, 100vh - 104px) - 76px); }
.ih-search-section + .ih-search-section { margin-top: 26px; }
.ih-search-heading { margin: 0 0 12px !important; color: #868686 !important; font-size: 13px !important; line-height: 1 !important; }
.ih-search-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ih-search-chip { height: 34px; padding: 0 13px; border: 0 !important; border-radius: 999px; background: #333 !important; color: #e8e8e8 !important; font-size: 14px !important; cursor: pointer; }
.ih-search-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ih-search-result { min-height: 74px; border: 0 !important; border-radius: 18px; background: #292929 !important; display: flex; align-items: center; gap: 13px; padding: 12px; text-align: left; cursor: pointer; color: #fff !important; }
.ih-result-thumb { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg,#3e3e3e,#1f1f1f) !important; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex: 0 0 auto; }
.ih-result-title { display: block; margin: 0 0 5px; color: #f4f4f4; font-size: 15px; line-height: 1.15; }
.ih-result-meta { display: block; color: #858585; font-size: 13px; line-height: 1.15; }

.ih-bottom-bar { display: none; }
.ih-bottom-avatar { width: 34px; height: 34px; border-radius: 50%; background-color: #333; background-size: cover; background-position: center; display: block; }

@media (max-width: 1180px) {
  .ih-inner { grid-template-columns: auto minmax(280px,1fr) auto; padding: 0 28px; }
  .ih-left { gap: 22px; }
}
@media (max-width: 860px) {
  .ih-inner { grid-template-columns: auto 1fr auto; gap: 14px; padding: 0 18px; }
  .ih-nav { display: none; }
  .ih-right { gap: 16px; }
}
@media (max-width: 640px) {
  .inspirely-header { height: 62px; }
  .ih-inner { display: flex; justify-content: space-between; padding: 0 14px; }
  .ih-logo { width: 86px; }
  .ih-search { display: none; }
  .ih-mobile-search-btn { display: none !important; }
  .ih-right > .ih-icon-btn, .ih-right > .ih-notifications, .ih-right > .ih-profile { display: none !important; }
  .ih-pro-btn { height: 34px !important; line-height: 34px !important; padding: 0 14px !important; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom,0px)); }
  .ih-bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; height: calc(64px + env(safe-area-inset-bottom,0px)); display: flex; align-items: flex-start; justify-content: space-around; padding: 8px 10px calc(8px + env(safe-area-inset-bottom,0px)); border-radius: 0; background: rgba(20,20,20,.88) !important; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -18px 70px rgba(0,0,0,.42); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
  .ih-bottom-action { width: 48px; height: 48px; border-radius: 999px; }
  .ih-bottom-action .material-icons { color: #fff !important; font-size: 24px; }
  .ih-bottom-profile .ih-menu, .ih-bottom-notifications .ih-notification-menu { position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; width: 100vw !important; height: 70vh !important; max-height: 70vh !important; border-radius: 24px 24px 0 0 !important; transform-origin: bottom center; transform: translateY(100%); z-index: 10030; overflow: auto; box-shadow: 0 -30px 100px rgba(0,0,0,.64); }
  .ih-bottom-profile.is-open .ih-menu, .ih-bottom-notifications.is-open .ih-notification-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .ih-search-modal { padding: 14px 12px calc(78px + env(safe-area-inset-bottom,0px)); }
  .ih-search-shell { border-radius: 24px; max-height: calc(100vh - 92px - env(safe-area-inset-bottom,0px)); }
  .ih-search-top { height: 66px; padding: 0 16px; }
  .ih-search-field { font-size: 18px !important; }
  .ih-search-body { grid-template-columns: 1fr; }
  .ih-search-side { display: flex; flex-direction: row; gap: 8px; overflow: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 12px; }
  .ih-search-tab { width: auto; white-space: nowrap; min-height: 36px; border-radius: 999px; }
  .ih-search-count { display: none; }
  .ih-search-content { padding: 16px; max-height: calc(100vh - 156px); }
  .ih-search-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .ih-pro-btn { display: none !important; } }


/* Inspirely Header 5 fixes */
.inspirely-header-wrap {
  --e-global-color-primary: #ffffff !important;
  --e-global-color-secondary: #8a8a8a !important;
  --e-global-color-text: #f5f5f5 !important;
  --e-global-color-accent: #111111 !important;
}
.inspirely-header-wrap .ih-mobile-search-btn {
  display: none !important;
}
.inspirely-header-wrap .ih-right {
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 22px !important;
  height: 68px !important;
}
.inspirely-header-wrap .ih-icon-btn,
.inspirely-header-wrap .ih-avatar-btn,
.inspirely-header-wrap .ih-pro-btn {
  align-self: center !important;
}
.inspirely-header-wrap .ih-icon-btn {
  width: 24px !important;
  height: 37px !important;
  min-width: 24px !important;
  min-height: 37px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}
.inspirely-header-wrap .ih-icon-btn .material-icons {
  width: 24px !important;
  height: 24px !important;
  font-size: 23px !important;
  line-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.inspirely-header-wrap .ih-notifications,
.inspirely-header-wrap .ih-profile {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 37px !important;
}
.inspirely-header-wrap .ih-notification-menu,
.inspirely-header-wrap .ih-profile > .ih-menu {
  position: fixed !important;
  top: var(--ih-panel-top, 58px) !important;
  right: var(--ih-panel-right, 58px) !important;
  left: auto !important;
  z-index: 2147483000 !important;
}
.inspirely-header-wrap .ih-profile > .ih-menu {
  width: 240px !important;
}
.inspirely-header-wrap .ih-notification-menu {
  width: min(400px, calc(100vw - 34px)) !important;
}
.inspirely-header-wrap .ih-search-chip,
.inspirely-header-wrap .ih-search-esc,
.inspirely-header-wrap .ih-search-tab,
.inspirely-header-wrap .ih-search-result {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.inspirely-header-wrap .ih-search-tab {
  justify-content: space-between !important;
}
.inspirely-header-wrap .ih-search-tab > span:first-child,
.inspirely-header-wrap .ih-search-chip,
.inspirely-header-wrap .ih-search-esc {
  align-items: center !important;
}
.inspirely-header-wrap .ih-result-title,
.inspirely-header-wrap .ih-result-meta {
  line-height: 1.2 !important;
}
@media (max-width: 640px) {
  .inspirely-header-wrap .ih-right > .ih-icon-btn,
  .inspirely-header-wrap .ih-right > .ih-notifications,
  .inspirely-header-wrap .ih-right > .ih-profile {
    display: none !important;
  }
  .inspirely-header-wrap .ih-bottom-bar .ih-bottom-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .inspirely-header-wrap .ih-bottom-profile,
  .inspirely-header-wrap .ih-bottom-notifications {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .inspirely-header-wrap .ih-bottom-profile .ih-menu,
  .inspirely-header-wrap .ih-bottom-notifications .ih-notification-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100vw !important;
    height: 70vh !important;
    max-height: 70vh !important;
    border-radius: 24px 24px 0 0 !important;
    z-index: 2147483000 !important;
  }
}

.inspirely-header-wrap .ih-search-result {
  justify-content: flex-start !important;
}
.inspirely-header-wrap .ih-search-chip,
.inspirely-header-wrap .ih-search-tab,
.inspirely-header-wrap .ih-search-esc,
.inspirely-header-wrap .ih-search,
.inspirely-header-wrap input[type="search"],
.inspirely-header-wrap input[type="search"]:focus,
.inspirely-header-wrap button:focus,
.inspirely-header-wrap a:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
.inspirely-header-wrap .ih-search,
.inspirely-header-wrap .ih-search:hover,
.inspirely-header-wrap .ih-search:focus,
.inspirely-header-wrap .ih-search:active {
  background: #252525 !important;
  color: #8b8b8b !important;
}

/* Inspirely Mega Menu */
.inspirely-header-wrap .ih-mega-layer {
  position: fixed;
  left: 0;
  right: 0;
  top: 68px;
  z-index: 10018;
  pointer-events: none;
}

.inspirely-header-wrap .ih-mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100vw;
  min-height: 320px;
  max-height: calc(100vh - 108px);
  overflow: auto;
  background: rgba(20,20,20,.98) !important;
  color: #f5f5f5 !important;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 34px 120px rgba(0,0,0,.62);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  pointer-events: none;
}

.inspirely-header-wrap .ih-mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.inspirely-header-wrap .ih-mega-panel-inner {
  width: 100%;
  min-height: 320px;
}

.inspirely-header-wrap .ih-nav-item.has-ih-mega > .ih-nav-link {
  cursor: default;
}

.inspirely-header-wrap .ih-nav-item.has-ih-mega.is-mega-open > .ih-nav-link {
  color: #ffffff !important;
}

@media (max-width: 860px) {
  .inspirely-header-wrap .ih-mega-layer {
    display: none !important;
  }
}
