/* LOGO */
.logo-section {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .logo-section {
    margin-left: -8px;
  }
  .logo img {
    margin-left: 0 !important;
  }
}
@media (min-width: 1024px) {
  .logo-section {
    margin-left: -16px;
  }
}

@media (max-width: 767px) {
  body.lustia-is-explore .logo-section {
    display: none !important;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 120px !important;
  width: auto !important;
  max-height: none !important;
  display: block;
}

/* GREEN CTA */
.advertise-btn {
  background: #28a745 !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 18px !important;
}

.advertise-btn:hover {
  background: #218838 !important;
  color: #fff !important;
}

/* BLUE MAP BUTTON */
.explore-map-btn {
  background: linear-gradient(180deg, #2f6bff 0%, #1f56e5 100%) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 18px !important;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.25);
}

.explore-map-btn:hover {
  background: linear-gradient(180deg, #3b78ff 0%, #245eea 100%) !important;
  color: #fff !important;
}

/* HOME BUTTON */
.lustia-home-btn {
  background: rgba(12, 18, 28, 0.92) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 999px;
  padding: 8px 18px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.lustia-home-btn:hover {
  background: rgba(17, 27, 40, 0.98) !important;
  color: #fff !important;
}

.lustia-home-btn .fa {
  font-size: 14px;
}

.lustia-mobile-home-btn {
  display: none;
}
.lustia-is-explore .lustia-mobile-home-btn {
  display: inline-flex;
}
@media (min-width: 768px) {
  .lustia-mobile-home-btn { display: none !important; }
}

.lustia-is-explore .lustia-mobile-top-actions {
  gap: 6px !important;
  justify-content: center !important;
  width: 100% !important;
  align-items: center !important;
}
.lustia-is-explore .header-right {
  justify-content: center !important;
}
.lustia-is-explore .lustia-mobile-translate-shortcode {
  display: inline-flex !important;
  align-items: center !important;
}

.lustia-is-explore .lustia-mobile-translate-shortcode .lustia-translate-select {
  box-sizing: border-box !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  min-width: 88px !important;
  padding: 10px 30px 10px 12px !important;
  border-radius: 16px !important;
  background-position:
    calc(100% - 14px) calc(50% - 3px),
    calc(100% - 8px) calc(50% - 3px) !important;
}
.lustia-is-explore .lustia-mobile-menu-text small {
  display: none !important;
}

/* SOLID BLACK PILL */
.male-therapists-btn {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px;
  padding: 8px 18px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.male-therapists-btn:hover {
  background: #2d2d2d !important;
  color: #fff !important;
}

/* TRANSLATE PLACEMENT */
.lustia-mobile-top-actions {
  display: none;
}

.lustia-mobile-translate-shortcode,
.lustia-desktop-translate-shortcode {
  line-height: 1;
}

.lustia-mobile-translate-shortcode .lustia-translate-inline,
.lustia-desktop-translate-shortcode .lustia-translate-inline {
  max-width: none !important;
}

.lustia-mobile-translate-shortcode .lustia-translate-card,
.lustia-desktop-translate-shortcode .lustia-translate-card {
  width: auto !important;
  min-width: 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.lustia-mobile-translate-shortcode .lustia-translate-head,
.lustia-mobile-translate-shortcode .lustia-translate-sub,
.lustia-mobile-translate-shortcode .lustia-translate-grid,
.lustia-mobile-translate-shortcode .lustia-translate-actions,
.lustia-mobile-translate-shortcode #google_translate_element_inline,
.lustia-desktop-translate-shortcode .lustia-translate-head,
.lustia-desktop-translate-shortcode .lustia-translate-sub,
.lustia-desktop-translate-shortcode .lustia-translate-grid,
.lustia-desktop-translate-shortcode .lustia-translate-actions,
.lustia-desktop-translate-shortcode #google_translate_element_inline {
  display: none !important;
}

.lustia-mobile-translate-shortcode .lustia-translate-panel,
.lustia-desktop-translate-shortcode .lustia-translate-panel {
  padding: 0 !important;
}

.lustia-desktop-translate-shortcode .lustia-translate-select {
  width: auto !important;
  min-width: 110px;
  height: 42px;
  padding: 8px 38px 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: #263754 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.9) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.lustia-desktop-translate-shortcode .lustia-translate-select option {
  color: #111 !important;
}

/* KILL GOOGLE UI */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
.goog-logo-link,
.goog-te-gadget span,
.goog-te-gadget-simple {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

#google_translate_element,
#google_translate_element_inline {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  visibility: hidden !important;
}

/* MOBILE MENU BUTTON + PANEL */
@media (max-width: 767px) {
  .header.content {
    align-items: flex-start !important;
  }

  .header-right {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
  }

  .navbar {
    position: relative;
    width: auto;
  }

  .logo img {
    height: 42px !important;
  }

  .lustia-mobile-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 0;
    position: relative;
    z-index: 30;
  }

  .lustia-mobile-menu-btn,
  .lustia-mobile-home-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(12, 18, 28, 0.88) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  }

  body:not(.lustia-is-explore) .lustia-mobile-home-btn {
    display: none !important;
  }

  .lustia-mobile-menu-btn:hover,
  .lustia-mobile-home-btn:hover {
    background: rgba(17, 27, 40, 0.96) !important;
  }

  .lustia-mobile-menu-btn[aria-expanded="true"] {
    background: rgba(17, 27, 40, 0.96) !important;
  }

  .lustia-mobile-menu-icon,
  .lustia-mobile-home-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(180deg, #2f6bff 0%, #1f56e5 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex: 0 0 38px;
  }

  .lustia-mobile-menu-text,
  .lustia-mobile-home-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
  }

  .lustia-mobile-menu-text strong,
  .lustia-mobile-home-text strong {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
  }

  .lustia-mobile-menu-text small {
    color: rgba(255,255,255,0.72);
    font-size: 11px;
    margin-top: 3px;
  }

  .navbar-light .navbar-toggler {
    border: 0 !important;
  }

  .navbar-light .navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  .lustia-desktop-translate-shortcode {
    display: none !important;
  }

  .lustia-mobile-translate-shortcode .lustia-translate-select {
    width: auto !important;
    min-width: 92px;
    height: 58px;
    padding: 10px 34px 10px 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(12, 18, 28, 0.88) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    background-image:
      linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.9) 50%),
      linear-gradient(135deg, rgba(255,255,255,0.9) 50%, transparent 50%);
    background-position:
      calc(100% - 18px) calc(50% - 3px),
      calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
  }

  .lustia-mobile-translate-shortcode .lustia-translate-select option {
    color: #111 !important;
  }

  #navbarNav {
    --lustia-mobile-menu-width: 240px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: var(--lustia-mobile-menu-width);
    max-width: calc(100vw - 20px);
    padding: 10px;
    border-radius: 18px;
    background: rgba(12, 18, 28, 0.92);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 20px 45px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 25;

    opacity: 0;
    transform: translateY(-8px);
    transform-origin: top right;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  #navbarNav.collapse {
    display: block !important;
  }

  #navbarNav.collapse:not(.show) {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  #navbarNav.collapse.show {
    display: block !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #navbarNav .male-therapists-btn,
  #navbarNav .lustia-home-btn {
    background: #fff !important;
    color: #1a1a1a !important;
  }
  #navbarNav .male-therapists-btn:hover,
  #navbarNav .lustia-home-btn:hover {
    background: #f0f0f0 !important;
    color: #1a1a1a !important;
  }

  #navbarNav *,
  #navbarNav::before,
  #navbarNav::after {
    border: none !important;
    box-shadow: none !important;
  }

  #navbarNav hr,
  #navbarNav .divider,
  #navbarNav li::before,
  #navbarNav li::after {
    display: none !important;
    content: none !important;
  }

  #navbarNav .navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  #navbarNav .nav-item {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0 !important;
    box-shadow: none !important;
  }

  #navbarNav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    text-align: center;
    white-space: normal;
    line-height: 1.1;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (min-width: 768px) {
  .lustia-mobile-top-actions {
    display: none !important;
  }
}