/* ================================================================
   SEMASOCIAL — Harmony Header/Nav Overrides
   Loaded BEFORE responsive.css → conflict rules need !important.
   Layout: [☰ LOGO 🔍] [Home ... icons 👤]
            search sits between logo and Home
   ================================================================ */

/* ── Desktop: search sits between the logo and the main menu ── */
@media (min-width: 992px) {
  .harmony_header_inner .header_left {
    flex: 0 0 auto;
    min-width: 0;
    overflow: visible;
    padding-left: 1.5rem;
  }
  .harmony_header_inner .header_left .header_search {
    flex: 0 0 auto;
    margin-left: 3rem;
    margin-right: 0;
  }
  .harmony_header_inner .header_right {
    min-width: 0;
    margin-left: 0.75rem;
    padding-right: 1.5rem;
  }
}
[dir="rtl"] .harmony_header_inner .header_left .header_search {
  margin-left: 0;
  margin-right: 3rem;
}
[dir="rtl"] .harmony_header_inner .header_left {
  padding-left: 0;
  padding-right: 1.5rem;
}
[dir="rtl"] .harmony_header_inner .header_right {
  padding-right: 0;
  padding-left: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   TABLET + MOBILE  ≤ 991px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

  /* ── Single-row, consistent height ── */
  .harmony_header {
    padding: 0 0.625rem !important;
    box-sizing: border-box !important;
  }
  .layout_page_header .harmony_header_inner {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    height: 3.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .harmony_header_inner > div {
    width: auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  /* ── LEFT: grows to fill — no gap dead zone ── */
  .header_left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 2.875rem !important;   /* clear the abs hamburger */
    padding-right: 0.5rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }
  [dir="rtl"] .header_left {
    padding-left: 0.5rem !important;
    padding-right: 2.875rem !important;
  }
  .header_logo a,
  .header_logo_contrast {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header_logo a img,
  .header_logo_contrast img {
    max-height: 2rem !important;
    width: auto !important;
  }

  /* Search inside header_left (backward-compat if TPL not updated) */
  .header_left .header_search {
    flex-shrink: 0;
    margin-left: 0.5rem;
  }
  .header_left .header_search .search_mobile_btn {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--theme-button-background-color) !important;
    color: var(--theme-button-font-color) !important;
    transform: none !important;
  }
  .header_left .header_search .search_mobile_btn * {
    color: var(--theme-button-font-color) !important;
  }

  /* ── RIGHT: compact, auto-width, packs to edge ── */
  .header_right {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Search inside header_right (new TPL position) */
  .header_right .header_search {
    flex-shrink: 0 !important;
    margin: 0 !important;
    position: relative !important;
  }
  .header_search .search_mobile_btn {
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--theme-button-background-color) !important;
    color: var(--theme-button-font-color) !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    transform: none !important;
  }
  .header_search .search_mobile_btn * {
    color: var(--theme-button-font-color) !important;
  }

  /* Search dropdown — fixed below header */
  .layout_core_search_mini .core_search_form_wrap {
    position: fixed !important;
    top: 3.5rem !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10040 !important;
    display: none !important;
    background-color: var(--theme-header-background-color) !important;
    padding: 0.625rem !important;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.12) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
  }
  .layout_core_search_mini .core_search_form_wrap.search_mobile_btn_active {
    display: block !important;
  }
  .layout_core_search_mini .core_search_form_wrap input {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* ── Mini-menu: compact, no artificial min-width ── */
  .header_menu_mini {
    flex-shrink: 0 !important;
    width: auto !important;
  }
  .header_menu_mini .layout_core_menu_mini {
    width: auto !important;
  }
  #core_menu_mini_menu > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }
  #core_menu_mini_menu > ul > li {
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }
  [dir="rtl"] #core_menu_mini_menu > ul > li {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #core_menu_mini_menu > ul > li a.show_icons {
    padding: 0.375rem 0.375rem !important;
  }

  /* Notification / message badges */
  .minimenu_update_count_bubble,
  .minimenu_message_count_bubble {
    left: 50% !important;
    right: auto !important;
    margin-left: 0.25rem !important;
    margin-top: 0.0625rem !important;
  }
  [dir="rtl"] .minimenu_update_count_bubble,
  [dir="rtl"] .minimenu_message_count_bubble {
    left: auto !important;
    right: 50% !important;
    margin-left: 0 !important;
    margin-right: 0.25rem !important;
  }

  /* Pulldown menus anchored to right edge */
  .header_menu_mini .pulldown_contents_wrapper {
    right: 0 !important;
    left: auto !important;
  }
  [dir="rtl"] .header_menu_mini .pulldown_contents_wrapper {
    left: 0 !important;
    right: auto !important;
  }

  /* Hamburger — abs positioned, vertically centred */
  .mobile_navigation .mobile_menu {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 0.5rem !important;
    font-size: 1.125rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 0.625rem !important;
  }
  [dir="rtl"] .mobile_navigation .mobile_menu {
    left: auto !important;
    right: 0.625rem !important;
    transform: translateY(-50%) !important;
  }

  /* ── Mobile nav drawer ── */
  .mobile_navigation .mobile_navigation_menu {
    width: 17rem !important;
    left: -17rem !important;
    top: 3.5rem !important;
    bottom: 0 !important;
    height: calc(100vh - 3.5rem) !important;
    padding-top: 0 !important;
    border-right: 0.0625rem solid var(--theme-border-color) !important;
    box-shadow: 0.25rem 0 1.75rem rgba(0,0,0,0.14) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .mobile_navigation .mobile_navigation_menu.header-nav-open {
    left: 0 !important;
  }
  [dir="rtl"] .mobile_navigation .mobile_navigation_menu {
    left: auto !important;
    right: -17rem !important;
  }
  [dir="rtl"] .mobile_navigation .mobile_navigation_menu.header-nav-open {
    right: 0 !important;
    left: auto !important;
  }

  /* Drawer header bar */
  .mobile_navigation_menu .mobile_nav_hdr {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.875rem !important;
    height: 3.25rem !important;
    border-bottom: 0.0625rem solid var(--theme-border-color) !important;
    background-color: var(--theme-header-menu-background-color) !important;
    flex-shrink: 0 !important;
  }
  .mobile_nav_hdr_title {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--theme-header-menu-link-color) !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    opacity: 0.55 !important;
  }
  .mobile_nav_close_btn {
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 50% !important;
    background-color: var(--theme-list-background-color-hover) !important;
    color: var(--theme-header-menu-link-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    position: static !important;
    opacity: 1 !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    transition: background-color 0.15s, color 0.15s !important;
  }
  .mobile_nav_close_btn:hover {
    background-color: var(--theme-color) !important;
    color: #fff !important;
  }
  .mobile_nav_close_btn i,
  .mobile_nav_close_btn * {
    color: inherit !important;
    line-height: normal !important;
  }

  /* Drawer nav items — pill style */
  .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr) > a {
    display: flex !important;
    align-items: center !important;
    padding: 0.6875rem 1rem !important;
    margin: 0.1875rem 0.625rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--theme-header-menu-link-color) !important;
    transition: background-color 0.15s, color 0.15s !important;
    text-decoration: none !important;
  }
  .mobile_navigation_menu li:not(.mobile_nav_hdr):first-of-type {
    margin-top: 0.5rem !important;
  }
  .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr) > a > i:first-child {
    margin-right: 0.75rem !important;
    font-size: 1.0625rem !important;
    width: 1.25rem !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    opacity: 0.7 !important;
  }
  [dir="rtl"] .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr) > a > i:first-child {
    margin-right: 0 !important;
    margin-left: 0.75rem !important;
  }
  .harmony_main_menu .mobile_navigation_menu li > a > i.fa-angle-down {
    margin-left: auto !important;
    margin-right: 0 !important;
    opacity: 0.45 !important;
  }
  [dir="rtl"] .harmony_main_menu .mobile_navigation_menu li > a > i.fa-angle-down {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr).active > a,
  .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr).active > a *,
  .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr):hover > a {
    background-color: var(--theme-color) !important;
    color: #fff !important;
    text-decoration: none !important;
  }
  .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr).active > a > i,
  .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr):hover > a > i {
    opacity: 1 !important;
    color: #fff !important;
  }
}

.harmony_guest_auth {
  display: none;
}

/* One compact guest Account menu replaces separate Sign In and Sign Up pills. */
@media (max-width: 600px) {
  html body .layout_page_header .harmony_header_guest .header_menu_mini {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    width: auto !important;
    min-width: 0 !important;
  }

  html body .layout_page_header .harmony_header_guest .header_menu_mini > div,
  html body .layout_page_header .harmony_header_guest .header_menu_mini .layout_core_menu_mini,
  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu,
  html body.guest-user .layout_page_header .harmony_header_guest #core_menu_mini_menu,
  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul,
  html body.guest-user .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.harmony_guest_auth_original,
  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li:has(> a.core_mini_auth),
  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li:has(> a.core_mini_signup) {
    display: none !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth {
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_trigger {
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    padding: 0 0.6875rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.375rem !important;
    border: 0.0625rem solid var(--theme-color) !important;
    border-radius: 999px !important;
    background: var(--theme-color) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: var(--theme-header-menu-font-family) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_trigger > i {
    color: inherit !important;
    font-size: 0.8125rem !important;
    line-height: 1 !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_caret {
    transition: transform 0.15s ease !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth.is-open .harmony_guest_auth_caret {
    transform: rotate(180deg) !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_options {
    display: none !important;
    position: fixed !important;
    top: 4.5rem !important;
    right: 3rem !important;
    left: auto !important;
    width: 11.5rem !important;
    padding: 0.375rem !important;
    background: var(--theme-list-background-color) !important;
    border: 0.0625rem solid var(--theme-border-color) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 0.625rem 1.75rem rgba(0, 0, 0, 0.18) !important;
    box-sizing: border-box !important;
    z-index: 10070 !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth.is-open .harmony_guest_auth_options {
    display: block !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_options > a {
    min-height: 2.5rem !important;
    padding: 0.625rem 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    border: 0 !important;
    border-radius: 0.5rem !important;
    background: transparent !important;
    color: var(--theme-font-color) !important;
    box-shadow: none !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_options > a:hover,
  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_options > a:focus {
    background: var(--theme-list-background-color-alt) !important;
    color: var(--theme-color) !important;
    outline: none !important;
  }

  html body .layout_page_header .harmony_header_guest .harmony_guest_auth_options > a > i {
    width: 1rem !important;
    color: inherit !important;
    text-align: center !important;
  }
}

/* Polished single-row header for signed-out visitors on phones. */
@media (max-width: 600px) {
  html body .layout_page_header .harmony_header_guest .harmony_header_inner {
    height: 4.5rem !important;
    min-height: 4.5rem !important;
  }

  html body .layout_page_header .harmony_header_guest .header_left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-left: 3rem !important;
    padding-right: 0.25rem !important;
    gap: 0.25rem !important;
    overflow: visible !important;
  }

  html body .layout_page_header .harmony_header_guest .header_logo,
  html body .layout_page_header .harmony_header_guest .header_logo_contrast {
    flex: 0 1 7.5rem !important;
    min-width: 6rem !important;
    max-width: 7.5rem !important;
    overflow: hidden !important;
  }

  html body .layout_page_header .harmony_header_guest .header_logo a,
  html body .layout_page_header .harmony_header_guest .header_logo_contrast a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
  }

  html body .layout_page_header .harmony_header_guest .header_logo a img,
  html body .layout_page_header .harmony_header_guest .header_logo_contrast img {
    display: block !important;
    width: 100% !important;
    max-width: 7.5rem !important;
    max-height: 2.5rem !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  html body .layout_page_header .harmony_header_guest .header_search {
    margin-left: auto !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
    width: 2.25rem !important;
    min-width: 2.25rem !important;
    max-width: 2.25rem !important;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    max-height: 2.25rem !important;
  }

  html body .layout_page_header .harmony_header_guest .header_search .layout_core_search_mini {
    width: 2.25rem !important;
    min-width: 2.25rem !important;
    max-width: 2.25rem !important;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    max-height: 2.25rem !important;
  }

  html body .layout_page_header .harmony_header_guest .header_search .search_mobile_btn,
  html body .layout_page_header .harmony_header_guest .header_search .search_mobile_btn:hover,
  html body .layout_page_header .harmony_header_guest .header_search .search_mobile_btn:focus,
  html body .layout_page_header .harmony_header_guest .header_search .search_mobile_btn:active {
    width: 2.25rem !important;
    min-width: 2.25rem !important;
    max-width: 2.25rem !important;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    max-height: 2.25rem !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: var(--theme-font-color) !important;
    line-height: 1 !important;
  }

  html body .layout_page_header .harmony_header_guest .header_search .search_mobile_btn:focus-visible {
    outline: 0.125rem solid var(--theme-color) !important;
    outline-offset: 0.125rem !important;
  }

  html body .layout_page_header .harmony_header_guest .header_right,
  html body .layout_page_header .harmony_header_guest .header_menu_mini {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul {
    gap: 0.25rem !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li {
    margin: 0 !important;
    min-width: 0 !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li > a.show_icons {
    min-height: 2.25rem !important;
    padding: 0.375rem 0.625rem !important;
    gap: 0 !important;
    border: 0.0625rem solid var(--theme-border-color) !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  /* Remove the old inner pill that caused double borders. */
  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li > a.show_icons > span._linktxt {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--theme-font-color) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  /* Text is clearer and saves space without duplicate auth icons. */
  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_auth > a.show_icons > i,
  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_signup > a.show_icons > i {
    display: none !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_signup > a.show_icons {
    border-color: var(--theme-color) !important;
    background: var(--theme-color) !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_signup > a.show_icons > span._linktxt {
    color: #fff !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_menu_accessibility > a.show_icons {
    width: 2.25rem !important;
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    padding: 0 !important;
    justify-content: center !important;
    background: var(--theme-list-background-color-alt) !important;
    color: var(--theme-font-color) !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_menu_accessibility {
    margin-left: 0 !important;
    margin-right: 0.625rem !important;
  }

  [dir="rtl"] body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_menu_accessibility {
    margin-left: 0.625rem !important;
    margin-right: 0 !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_menu_accessibility > a.show_icons > span._linktxt {
    display: block !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li.core_mini_menu_accessibility > a.show_icons > i {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    color: inherit !important;
    font-size: 1rem !important;
  }

  html body .layout_page_header .harmony_header_guest .layout_core_search_mini .core_search_form_wrap,
  html body .layout_page_header .harmony_header_guest .mobile_navigation .mobile_navigation_menu {
    top: 4.5rem !important;
  }

  html body .layout_page_header .harmony_header_guest .mobile_navigation .mobile_navigation_menu {
    height: calc(100vh - 4.5rem) !important;
  }

  html body .layout_page_header .harmony_header_guest .core_mini_menu_accessibility .core_settings_dropdown {
    position: fixed !important;
    top: 4.5rem !important;
    left: auto !important;
    right: 0.5rem !important;
    width: 15rem !important;
    max-width: calc(100vw - 1rem) !important;
    margin: 0 !important;
    border-radius: 0.625rem !important;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.16) !important;
    overflow: hidden !important;
  }
}

@media (max-width: 360px) {
  html body .layout_page_header .harmony_header_guest .header_logo,
  html body .layout_page_header .harmony_header_guest .header_logo_contrast {
    min-width: 5.25rem !important;
    max-width: 6.25rem !important;
  }

  html body .layout_page_header .harmony_header_guest .header_logo a img,
  html body .layout_page_header .harmony_header_guest .header_logo_contrast img {
    max-width: 6.25rem !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li > a.show_icons {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  html body .layout_page_header .harmony_header_guest #core_menu_mini_menu.minimenu_guest > ul > li > a.show_icons > span._linktxt {
    font-size: 0.6875rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ≤ 767px — cancel responsive.css margin-right on header_right,
             hide mini-menu labels (except guest Sign In / Sign Up)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .header_right {
    margin-right: 0 !important;
  }
  /* Hide icon labels for logged-in mini-menu only */
  #core_menu_mini_menu:not(.minimenu_guest) > ul > li a.show_icons span._linktxt {
    display: none !important;
  }
  /* Keep profile avatar legible */
  #core_menu_mini_menu > ul > li.core_mini_menu_profile > a.show_icons > .bg_thumb_icon {
    width: 1.75rem !important;
    height: 1.75rem !important;
    min-width: 1.75rem !important;
    min-height: 1.75rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ≤ 600px — hard-override column layout from responsive.css
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

  .layout_page_header .harmony_header_inner {
    flex-direction: row !important;
    height: 3.25rem !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .harmony_header_inner > div {
    width: auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }
  .harmony_header {
    padding: 0 0.375rem !important;
  }

  /* Tighter hamburger clearance */
  .header_left {
    padding-left: 2.75rem !important;
    padding-right: 0.25rem !important;
  }
  [dir="rtl"] .header_left {
    padding-left: 0.25rem !important;
    padding-right: 2.75rem !important;
  }

  /* Smaller logo on phones */
  .header_logo a img,
  .header_logo_contrast img {
    max-height: 1.75rem !important;
  }
  .header_logo a {
    font-size: 0.9rem !important;
    max-width: 8rem !important;
  }

  /* Tighter right gap */
  .header_right {
    gap: 0.125rem !important;
  }
  .harmony_header_inner .header_right {
    margin: 0 !important;
  }

  /* Compact icon padding */
  #core_menu_mini_menu > ul > li a.show_icons {
    padding: 0.25rem 0.3rem !important;
  }
  #core_menu_mini_menu > ul > li .show_icons i.minimenu_icon:before {
    font-size: 1.0625rem !important;
  }

  /* Pulldown below 3.25rem header */
  #core_menu_mini_menu .pulldown_contents_wrapper,
  #core_menu_mini_menu .core_settings_dropdown {
    left: 0 !important;
    right: 0 !important;
    width: 95% !important;
    margin: 3.375rem auto 0 !important;
  }

  /* Hamburger: 2rem */
  .mobile_navigation .mobile_menu {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 0.375rem !important;
  }
  [dir="rtl"] .mobile_navigation .mobile_menu {
    left: auto !important;
    right: 0.375rem !important;
  }

  /* Search button: match hamburger size */
  .header_search .search_mobile_btn,
  .header_left .header_search .search_mobile_btn {
    width: 2rem !important;
    height: 2rem !important;
  }

  /* Search dropdown below 3.25rem header */
  .layout_core_search_mini .core_search_form_wrap {
    top: 3.25rem !important;
  }

  /* Drawer below 3.25rem header */
  .mobile_navigation .mobile_navigation_menu {
    top: 3.25rem !important;
    height: calc(100vh - 3.25rem) !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ≤ 400px — very small phones
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .header_logo a {
    font-size: 0.8125rem !important;
    max-width: 6.5rem !important;
  }
  .header_logo a img,
  .header_logo_contrast img {
    max-height: 1.5rem !important;
  }
  #core_menu_mini_menu > ul > li a.show_icons {
    padding: 0.25rem 0.1875rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   Refined mobile header controls
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .layout_page_header .harmony_header {
    background-color: var(--theme-header-background-color) !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
    box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.12) !important;
  }

  /* Keep the main-menu button safely inside the mobile viewport. */
  .layout_page_header .harmony_header .mobile_navigation > .mobile_menu {
    left: 0.875rem !important;
    right: auto !important;
  }
  [dir="rtl"] .layout_page_header .harmony_header .mobile_navigation > .mobile_menu {
    left: auto !important;
    right: 0.875rem !important;
  }

  /* Treat search as part of the right-side action group. */
  .layout_page_header .header_left .header_search {
    margin-left: auto !important;
    margin-right: 0.25rem !important;
  }
  [dir="rtl"] .layout_page_header .header_left .header_search {
    margin-left: 0.25rem !important;
    margin-right: auto !important;
  }

  /* Neutral action buttons; accent is reserved for focus/active states. */
  html body .layout_page_header .harmony_header .mobile_navigation > .mobile_menu,
  html body .layout_page_header .harmony_header .header_search .search_mobile_btn {
    background-color: var(--theme-list-background-color-alt) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 50% !important;
    color: var(--theme-header-menu-link-color) !important;
    box-shadow: none !important;
  }
  html body .layout_page_header .harmony_header .mobile_navigation > .mobile_menu *,
  html body .layout_page_header .harmony_header .header_search .search_mobile_btn * {
    color: inherit !important;
  }
  html body .layout_page_header .harmony_header .mobile_navigation > .mobile_menu:focus,
  html body .layout_page_header .harmony_header .header_search .search_mobile_btn:focus {
    border-color: var(--theme-color) !important;
    box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--theme-color) 18%, transparent) !important;
    outline: none !important;
  }

  /* Drawer uses the theme surface instead of a blue active block. */
  .layout_page_header .mobile_navigation .mobile_navigation_menu,
  .layout_page_header .mobile_navigation_menu .mobile_nav_hdr {
    background-color: var(--theme-list-background-color) !important;
  }
  .layout_page_header .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr).active > a,
  .layout_page_header .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr):hover > a {
    background-color: transparent !important;
    color: var(--theme-font-color) !important;
    box-shadow: none !important;
  }
  .layout_page_header .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr).active > a *,
  .layout_page_header .harmony_main_menu .mobile_navigation_menu li:not(.mobile_nav_hdr):hover > a * {
    color: inherit !important;
  }

  .layout_page_header .harmony_main_menu .mobile_nav_close_btn,
  .layout_page_header .harmony_main_menu .mobile_nav_close_btn:hover {
    background-color: transparent !important;
    color: var(--theme-font-color) !important;
    box-shadow: none !important;
  }

  /* Preserve the original full-width blue sidebar dropdown control. */
  body#global_page_user-index-home.has-sidebar #show-sidebar {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin-left: 0.3125rem !important;
    margin-right: 0.3125rem !important;
    padding: 0.625rem 0 !important;
    box-sizing: border-box !important;
    background: var(--theme-button-background-color) !important;
    color: var(--theme-button-font-color) !important;
    border-radius: 0.25rem !important;
    font-size: 1.5625rem !important;
    text-align: center !important;
  }

}

/* Match the roomier Sespwa-style header height on phones. */
@media (max-width: 600px) {
  html body .layout_page_header .harmony_header .harmony_header_inner {
    height: 3.75rem !important;
    min-height: 3.75rem !important;
  }

  html body .layout_page_header .harmony_header .layout_core_search_mini .core_search_form_wrap {
    top: 3.75rem !important;
  }

  html body .layout_page_header .harmony_header .mobile_navigation .mobile_navigation_menu {
    top: 3.75rem !important;
    height: calc(100vh - 3.75rem) !important;
  }

  html body .layout_page_header .harmony_header #core_mini_updates_pulldown .pulldown_contents_wrapper,
  html body .layout_page_header .harmony_header #core_menu_mini_menu > ul > li.core_mini_messages .pulldown_contents_wrapper,
  html body .layout_page_header .harmony_header #core_menu_mini_menu > ul > li.core_mini_menu_profile .pulldown_contents_wrapper,
  html body .layout_page_header .harmony_header #core_menu_mini_menu > ul > li.core_mini_menu_profile .core_settings_dropdown {
    top: 3.75rem !important;
  }
}

/* Keep mobile drawer links visually neutral without changing interaction. */
@media (max-width: 991px) {
  html body .layout_page_header .harmony_header .harmony_main_menu .mobile_navigation .mobile_navigation_menu > li:not(.mobile_nav_hdr).active > a,
  html body .layout_page_header .harmony_header .harmony_main_menu .mobile_navigation .mobile_navigation_menu > li:not(.mobile_nav_hdr):hover > a {
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: var(--theme-font-color) !important;
  }

  html body .layout_page_header .harmony_header .harmony_main_menu .mobile_navigation .mobile_navigation_menu > li:not(.mobile_nav_hdr).active > a *,
  html body .layout_page_header .harmony_header .harmony_main_menu .mobile_navigation .mobile_navigation_menu > li:not(.mobile_nav_hdr):hover > a * {
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
  }
}


/* ==========================================================================
   HOMEPAGE / LANDING PAGE — DARK MODE OVERRIDES (Harmony & Sespwa Widgets)
   ========================================================================== */
.dark_mode .harmony_landingpage,
html.dark_mode body.harmony_landingpage,
html.dark_mode body#global_page_core-index-index {
  background-color: var(--theme-body-background-color, #111418) !important;
  color: var(--theme-font-color, #f1f5f9);
}
.dark_mode .harmony_landingpage .layout_middle > .generic_layout_container,
html.dark_mode #global_page_core-index-index .layout_middle > .generic_layout_container {
  background-color: transparent !important;
  box-shadow: none !important;
}
.dark_mode .harmony_title,
.dark_mode .pulse_title,
html.dark_mode .harmony_title,
html.dark_mode .pulse_title {
  color: #f8fafc !important;
}

/* 1. Banner Section */
.dark_mode .harmony_landing_page_banner,
html.dark_mode .harmony_landing_page_banner {
  background-color: #111418 !important;
}
.dark_mode .harmony_landing_page_banner::after,
html.dark_mode .harmony_landing_page_banner::after {
  background: linear-gradient(135deg, rgba(17, 20, 24, 0.90) 0%, rgba(22, 28, 38, 0.84) 100%) !important;
  opacity: 1 !important;
}
.dark_mode .harmony_landing_page_banner_inner h1,
html.dark_mode .harmony_landing_page_banner_inner h1 {
  color: #f8fafc !important;
}
.dark_mode .harmony_landing_page_banner_inner p,
html.dark_mode .harmony_landing_page_banner_inner p {
  color: #cbd5e1 !important;
}

/* 2. Features Section */
.dark_mode .layout_harmony_landing_page_features,
html.dark_mode .layout_harmony_landing_page_features {
  background-color: var(--theme-body-background-color, #111418) !important;
}
.dark_mode .harmony_landingpage_features_left::after,
.dark_mode .harmony_landingpage_features_left::before,
html.dark_mode .harmony_landingpage_features_left::after,
html.dark_mode .harmony_landingpage_features_left::before {
  opacity: 0.22 !important;
}
.dark_mode .harmony_landingpage_features article,
.dark_mode .harmony_landingpage_features a,
html.dark_mode .harmony_landingpage_features article,
html.dark_mode .harmony_landingpage_features a {
  background-color: rgba(26, 182, 157, 0.12) !important;
  border: 1px solid rgba(26, 182, 157, 0.28) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}
.dark_mode .harmony_landingpage_features_inner:nth-child(2) article,
.dark_mode .harmony_landingpage_features_inner:nth-child(2) a,
html.dark_mode .harmony_landingpage_features_inner:nth-child(2) article,
html.dark_mode .harmony_landingpage_features_inner:nth-child(2) a {
  background-color: rgba(238, 74, 98, 0.12) !important;
  border-color: rgba(238, 74, 98, 0.28) !important;
}
.dark_mode .harmony_landingpage_features_inner:nth-child(3) article,
.dark_mode .harmony_landingpage_features_inner:nth-child(3) a,
html.dark_mode .harmony_landingpage_features_inner:nth-child(3) article,
html.dark_mode .harmony_landingpage_features_inner:nth-child(3) a {
  background-color: rgba(248, 186, 39, 0.12) !important;
  border-color: rgba(248, 186, 39, 0.28) !important;
}
.dark_mode .harmony_landingpage_features_inner:nth-child(4) article,
.dark_mode .harmony_landingpage_features_inner:nth-child(4) a,
html.dark_mode .harmony_landingpage_features_inner:nth-child(4) article,
html.dark_mode .harmony_landingpage_features_inner:nth-child(4) a {
  background-color: rgba(70, 100, 228, 0.14) !important;
  border-color: rgba(70, 100, 228, 0.30) !important;
}
.dark_mode .harmony_landingpage_features_inner article:hover,
.dark_mode .harmony_landingpage_features_inner a:hover,
html.dark_mode .harmony_landingpage_features_inner article:hover,
html.dark_mode .harmony_landingpage_features_inner a:hover {
  background-color: #1AB69D !important;
  border-color: #1AB69D !important;
}
.dark_mode .harmony_landingpage_features_inner:nth-child(2) article:hover,
.dark_mode .harmony_landingpage_features_inner:nth-child(2) a:hover,
html.dark_mode .harmony_landingpage_features_inner:nth-child(2) article:hover,
html.dark_mode .harmony_landingpage_features_inner:nth-child(2) a:hover {
  background-color: #EE4A62 !important;
  border-color: #EE4A62 !important;
}
.dark_mode .harmony_landingpage_features_inner:nth-child(3) article:hover,
.dark_mode .harmony_landingpage_features_inner:nth-child(3) a:hover,
html.dark_mode .harmony_landingpage_features_inner:nth-child(3) article:hover,
html.dark_mode .harmony_landingpage_features_inner:nth-child(3) a:hover {
  background-color: #F8BA27 !important;
  border-color: #F8BA27 !important;
}
.dark_mode .harmony_landingpage_features_inner:nth-child(4) article:hover,
.dark_mode .harmony_landingpage_features_inner:nth-child(4) a:hover,
html.dark_mode .harmony_landingpage_features_inner:nth-child(4) article:hover,
html.dark_mode .harmony_landingpage_features_inner:nth-child(4) a:hover {
  background-color: #4664E4 !important;
  border-color: #4664E4 !important;
}
.dark_mode .harmony_landingpage_features article figure,
.dark_mode .harmony_landingpage_features a figure,
html.dark_mode .harmony_landingpage_features article figure,
html.dark_mode .harmony_landingpage_features a figure {
  background-color: #1c2026 !important;
}
.dark_mode .harmony_landingpage_features_inner h4,
html.dark_mode .harmony_landingpage_features_inner h4 {
  color: #f8fafc !important;
}
.dark_mode .harmony_landingpage_features_inner p,
html.dark_mode .harmony_landingpage_features_inner p {
  color: #cbd5e1 !important;
}

/* 3. Services Section */
.dark_mode .layout_harmony_landing_page_service,
html.dark_mode .layout_harmony_landing_page_service {
  background-color: var(--theme-body-background-color, #111418) !important;
}
.dark_mode .layout_harmony_landing_page_service:after,
html.dark_mode .layout_harmony_landing_page_service:after {
  background-image: none !important;
  opacity: 0 !important;
}
.dark_mode .layout_harmony_landing_page_service:before,
html.dark_mode .layout_harmony_landing_page_service:before {
  opacity: 0.08 !important;
}
.dark_mode .harmony_landingpage_service article,
.dark_mode .harmony_landingpage_service a,
html.dark_mode .harmony_landingpage_service article,
html.dark_mode .harmony_landingpage_service a {
  background-color: var(--theme-list-background-color, #1c1f24) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}
.dark_mode .harmony_landingpage_service article:before,
.dark_mode .harmony_landingpage_service a:before,
html.dark_mode .harmony_landingpage_service article:before,
html.dark_mode .harmony_landingpage_service a:before {
  background-color: transparent !important;
}
.dark_mode .harmony_landingpage_service article .harmony_landingpage_service_icon i,
.dark_mode .harmony_landingpage_service a .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service article .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service a .harmony_landingpage_service_icon i {
  background-color: rgba(26, 182, 157, 0.16) !important;
  color: #2dd4bf !important;
}
.dark_mode .harmony_landingpage_service_inner:nth-child(2) .harmony_landingpage_service_icon i,
.dark_mode .harmony_landingpage_service_inner:nth-child(7) .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service_inner:nth-child(2) .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service_inner:nth-child(7) .harmony_landingpage_service_icon i {
  background-color: rgba(238, 74, 98, 0.16) !important;
  color: #fb7185 !important;
}
.dark_mode .harmony_landingpage_service_inner:nth-child(3) .harmony_landingpage_service_icon i,
.dark_mode .harmony_landingpage_service_inner:nth-child(6) .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service_inner:nth-child(3) .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service_inner:nth-child(6) .harmony_landingpage_service_icon i {
  background-color: rgba(248, 186, 39, 0.16) !important;
  color: #fbbf24 !important;
}
.dark_mode .harmony_landingpage_service_inner:nth-child(4) .harmony_landingpage_service_icon i,
.dark_mode .harmony_landingpage_service_inner:nth-child(5) .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service_inner:nth-child(4) .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service_inner:nth-child(5) .harmony_landingpage_service_icon i {
  background-color: rgba(70, 100, 228, 0.18) !important;
  color: #818cf8 !important;
}
.dark_mode .harmony_landingpage_service article:hover .harmony_landingpage_service_icon i,
.dark_mode .harmony_landingpage_service a:hover .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service article:hover .harmony_landingpage_service_icon i,
html.dark_mode .harmony_landingpage_service a:hover .harmony_landingpage_service_icon i {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}
.dark_mode .harmony_landingpage_service h4,
html.dark_mode .harmony_landingpage_service h4 {
  color: #f8fafc !important;
}
.dark_mode .harmony_landingpage_service p,
html.dark_mode .harmony_landingpage_service p {
  color: #cbd5e1 !important;
}

/* 4. CTA Section */
.dark_mode .harmony_landingpage .layout_middle > .layout_harmony_landing_page_cta_section,
html.dark_mode .layout_harmony_landing_page_cta_section {
  background-color: var(--theme-body-background-color, #111418) !important;
  background-image: none !important;
}
.dark_mode .harmony_landingpage .layout_middle > .layout_harmony_landing_page_cta_section:before,
html.dark_mode .layout_harmony_landing_page_cta_section:before {
  opacity: 0.12 !important;
}

/* 5. Why Choose Us Section */
.dark_mode .harmony_landingpage_why_choose,
html.dark_mode .harmony_landingpage_why_choose {
  background-color: var(--theme-list-background-color-alt, #181b20) !important;
}
.dark_mode .harmony_landingpage_why_choose h4,
html.dark_mode .harmony_landingpage_why_choose h4 {
  color: #f8fafc !important;
}
.dark_mode .harmony_landingpage_why_choose p,
html.dark_mode .harmony_landingpage_why_choose p {
  color: #cbd5e1 !important;
}
.dark_mode .harmony_landingpage_features_item_icon,
html.dark_mode .harmony_landingpage_features_item_icon {
  border-color: var(--theme-list-background-color-alt, #181b20) !important;
}

/* 6. App Section (Harmony & Pulse) */
.dark_mode .layout_harmony_landing_page_app_section,
html.dark_mode .layout_harmony_landing_page_app_section {
  background-color: var(--theme-body-background-color, #111418) !important;
}
.dark_mode .layout_harmony_landing_page_app_section:before,
html.dark_mode .layout_harmony_landing_page_app_section:before {
  opacity: 0.08 !important;
}
.dark_mode .harmony_landingpage_app_section h3,
.dark_mode .pulse_landingpage_app_section h3,
html.dark_mode .harmony_landingpage_app_section h3,
html.dark_mode .pulse_landingpage_app_section h3 {
  color: #f8fafc !important;
}
.dark_mode .harmony_landingpage_app_section p,
.dark_mode .pulse_landingpage_app_section p,
html.dark_mode .harmony_landingpage_app_section p,
html.dark_mode .pulse_landingpage_app_section p {
  color: #cbd5e1 !important;
}
.dark_mode .pulse_landingpage_app_section,
html.dark_mode .pulse_landingpage_app_section {
  background-color: var(--theme-list-background-color, #1c1f24) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 7. Counter Section */
.dark_mode .harmony_landingpage_counter::after,
html.dark_mode .harmony_landingpage_counter::after {
  background: linear-gradient(180deg, rgba(17, 20, 24, 0.88), rgba(22, 26, 32, 0.92)) !important;
}
.dark_mode .harmony_landingpage_counter .harmony_title,
.dark_mode .harmony_landingpage_counter_inner li h4,
html.dark_mode .harmony_landingpage_counter .harmony_title,
html.dark_mode .harmony_landingpage_counter_inner li h4 {
  color: #f8fafc !important;
}
.dark_mode .harmony_landingpage_counter_inner li p,
html.dark_mode .harmony_landingpage_counter_inner li p {
  color: #cbd5e1 !important;
}
.dark_mode .harmony_landingpage_counter_inner_icon,
html.dark_mode .harmony_landingpage_counter_inner_icon {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* 8. Landing Page Jobs & Blogs Widgets */
.dark_mode .pulse_lp_jobs .pulse_lp_job_list,
html.dark_mode .pulse_lp_jobs .pulse_lp_job_list {
  background: var(--theme-list-background-color, #1c1f24) !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_row,
html.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_row {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_row:hover,
html.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_row:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}
.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_title a,
html.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_title a {
  color: #f8fafc !important;
}
.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_meta,
html.dark_mode .pulse_lp_jobs .pulse_lp_job_list .sesjob_lv_meta {
  color: #94a3b8 !important;
}
.dark_mode .pulse_lp_jobs .sesjob_grid,
html.dark_mode .pulse_lp_jobs .sesjob_grid {
  background-color: var(--theme-list-background-color, #1c1f24) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.dark_mode .pulse_lp_articles .pulse_lp_article_card,
html.dark_mode .pulse_lp_articles .pulse_lp_article_card {
  background-color: var(--theme-list-background-color, #1c1f24) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.dark_mode .pulse_lp_articles .lp_article_title a,
html.dark_mode .pulse_lp_articles .lp_article_title a {
  color: #f8fafc !important;
}
.dark_mode .pulse_lp_articles .lp_article_des,
html.dark_mode .pulse_lp_articles .lp_article_des {
  color: #cbd5e1 !important;
}
.dark_mode .pulse_lp_articles .lp_article_date,
html.dark_mode .pulse_lp_articles .lp_article_date {
  color: #94a3b8 !important;
}


/* ==========================================================================
   DARK MODE: COMPLETE PROFILE WIDGET & SESJOB NAVIGATION MENU
   ========================================================================== */
.dark_mode .cp_widget,
html.dark_mode .cp_widget,
body.dark_mode .cp_widget {
  background: var(--theme-list-background-color, #1c1f24) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.dark_mode .cp_widget_icon,
html.dark_mode .cp_widget_icon,
body.dark_mode .cp_widget_icon {
  background: rgba(56, 189, 248, 0.16) !important;
  color: #38bdf8 !important;
}
.dark_mode .cp_widget_icon i,
html.dark_mode .cp_widget_icon i,
body.dark_mode .cp_widget_icon i {
  color: #38bdf8 !important;
}
.dark_mode .cp_widget_title,
html.dark_mode .cp_widget_title,
body.dark_mode .cp_widget_title {
  color: #38bdf8 !important;
}
.dark_mode .cp_widget_text,
html.dark_mode .cp_widget_text,
body.dark_mode .cp_widget_text {
  color: #e2e8f0 !important;
}
.dark_mode .cp_widget_bonus,
.dark_mode .cp_widget_benefit,
html.dark_mode .cp_widget_bonus,
html.dark_mode .cp_widget_benefit,
body.dark_mode .cp_widget_bonus,
body.dark_mode .cp_widget_benefit {
  color: #94a3b8 !important;
}
.dark_mode .cp_widget_bar,
html.dark_mode .cp_widget_bar,
body.dark_mode .cp_widget_bar {
  background: rgba(255, 255, 255, 0.12) !important;
}
.dark_mode .cp_widget_bar_fill,
html.dark_mode .cp_widget_bar_fill,
body.dark_mode .cp_widget_bar_fill {
  background: var(--theme-color, #15a5dd) !important;
}
.dark_mode .cp_widget_pct,
html.dark_mode .cp_widget_pct,
body.dark_mode .cp_widget_pct {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
}
.dark_mode .cp_widget_done,
html.dark_mode .cp_widget_done,
body.dark_mode .cp_widget_done {
  background: rgba(34, 197, 94, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.32) !important;
}
.dark_mode .cp_widget_done .cp_widget_icon,
html.dark_mode .cp_widget_done .cp_widget_icon,
body.dark_mode .cp_widget_done .cp_widget_icon {
  background: rgba(34, 197, 94, 0.18) !important;
}
.dark_mode .cp_widget_done .cp_widget_icon i,
.dark_mode .cp_widget_done .cp_widget_title,
html.dark_mode .cp_widget_done .cp_widget_icon i,
html.dark_mode .cp_widget_done .cp_widget_title,
body.dark_mode .cp_widget_done .cp_widget_icon i,
body.dark_mode .cp_widget_done .cp_widget_title {
  color: #4ade80 !important;
}

.dark_mode .layout_sesjob_browse_menu,
html.dark_mode .layout_sesjob_browse_menu {
  background-color: var(--theme-list-background-color, #1c1f24) !important;
  border-color: var(--theme-border-color, rgba(255, 255, 255, 0.1)) !important;
}
.dark_mode .sesjob_browse_menu > h2,
html.dark_mode .sesjob_browse_menu > h2 {
  color: #f8fafc !important;
}
.dark_mode .sesjob_browse_menu .tabs ul.navigation li a,
html.dark_mode .sesjob_browse_menu .tabs ul.navigation li a {
  color: #e2e8f0 !important;
}
.dark_mode .sesjob_browse_menu .tabs ul.navigation li a:hover,
html.dark_mode .sesjob_browse_menu .tabs ul.navigation li a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}
.dark_mode .sesjob_browse_menu .tabs ul.navigation li.active > a,
html.dark_mode .sesjob_browse_menu .tabs ul.navigation li.active > a {
  background: var(--theme-button-background-color, #15a5dd) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
.dark_mode .sesjob_browse_menu .tab_pulldown_contents_wrapper,
.dark_mode .sesjob_browse_menu .tab_pulldown_contents,
html.dark_mode .sesjob_browse_menu .tab_pulldown_contents_wrapper,
html.dark_mode .sesjob_browse_menu .tab_pulldown_contents {
  background-color: var(--theme-list-background-color, #222428) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}
.dark_mode .sesjob_browse_menu .tab_pulldown_contents ul li a,
html.dark_mode .sesjob_browse_menu .tab_pulldown_contents ul li a {
  color: #e2e8f0 !important;
}
.dark_mode .sesjob_browse_menu .tab_pulldown_contents ul li a:hover,
.dark_mode .sesjob_browse_menu .tab_pulldown_contents ul li.active > a,
html.dark_mode .sesjob_browse_menu .tab_pulldown_contents ul li a:hover,
html.dark_mode .sesjob_browse_menu .tab_pulldown_contents ul li.active > a {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}
.dark_mode .sesjob_browse_menu .sesjob_create_right_btn > a,
html.dark_mode .sesjob_browse_menu .sesjob_create_right_btn > a {
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}
.dark_mode .sesjob_browse_menu .sesjob_create_right_btn > a:hover,
html.dark_mode .sesjob_browse_menu .sesjob_create_right_btn > a:hover {
  background: var(--theme-button-background-color, #15a5dd) !important;
  border-color: var(--theme-button-background-color, #15a5dd) !important;
  color: #ffffff !important;
}
@media (max-width: 767px) {
  .dark_mode .sesjob_browse_menu .tabs ul.navigation li a,
  html.dark_mode .sesjob_browse_menu .tabs ul.navigation li a {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
  }
  .dark_mode .sesjob_browse_menu .tabs ul.navigation li.active > a,
  html.dark_mode .sesjob_browse_menu .tabs ul.navigation li.active > a {
    background: var(--theme-button-background-color, #15a5dd) !important;
    border-color: transparent !important;
    color: #ffffff !important;
  }
}


/* ==========================================================================
   VERIFICATION BADGES (Users, Sespage, Sesgroup) — LIGHT & DARK MODE
   ========================================================================== */
img.verified_icon,
img.kyc_verified_icon,
img.sespage_verified_badge,
img.sesgroup_verified_badge {
  display: inline-block !important;
  vertical-align: -2px !important;
  margin-left: 4px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
.sesbasic_verified_icon,
.sespage_label_verified.sesbasic_verified_icon,
.sesgroup_label_verified.sesbasic_verified_icon {
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: transparent !important;
  vertical-align: -2px !important;
  margin-left: 4px !important;
  margin-right: 2px !important;
  border: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}
.dark_mode .sesbasic_verify_icon,
html.dark_mode .sesbasic_verify_icon {
  background-color: transparent !important;
}
.dark_mode .sesbasic_member_verification_tip,
html.dark_mode .sesbasic_member_verification_tip {
  background-color: var(--theme-list-background-color, #1c1f24) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
