/* ==========================================================================
   Header: Search as a real menu item (next to Contact Us)
   ========================================================================== */

.elementor-69 .elementor-widget-raven-search-form.ri-header-search,
.elementor-69 .elementor-element-8c8bdd4 > .elementor-widget-wrap > .elementor-widget-raven-search-form,
.elementor-69 .elementor-element-56914d3 {
  display: none !important;
}

.raven-nav-menu > li.ri-menu-search {
  display: inline-flex !important;
  align-items: center;
  vertical-align: middle;
}
.raven-nav-menu > li.ri-menu-search > a.ri-menu-search-toggle,
.raven-nav-menu-mobile > li.ri-menu-search > a.ri-menu-search-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-left: 10px !important;
  padding-right: 10px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.raven-nav-menu > li.ri-menu-search .ri-menu-search-icon,
.raven-nav-menu-mobile > li.ri-menu-search .ri-menu-search-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}
.raven-nav-menu-mobile > li.ri-menu-search {
  display: list-item !important;
}
.raven-nav-menu-mobile > li.ri-menu-search > a.ri-menu-search-toggle {
  justify-content: flex-start;
  gap: 10px;
}
.raven-nav-menu-mobile > li.ri-menu-search .ri-menu-search-label {
  display: inline;
}
.raven-nav-menu:not(.raven-nav-menu-mobile) > li.ri-menu-search .ri-menu-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.elementor-69 .raven-nav-menu-main .raven-nav-menu > li.ri-menu-search > a.ri-menu-search-toggle {
  color: #0b3b40;
}
.elementor-69 .raven-nav-menu-main .raven-nav-menu > li.ri-menu-search > a.ri-menu-search-toggle:hover,
.elementor-69 .raven-nav-menu-main .raven-nav-menu > li.ri-menu-search > a.ri-menu-search-toggle:focus {
  color: #4199A5;
}
.elementor-69 .ri-menu-search-icon {
  fill: currentColor;
}

/* ==========================================================================
   Full-screen search overlay (menu Search item)
   ========================================================================== */
html.ri-search-open,
html.ri-search-open body {
  overflow: hidden;
}
.ri-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 59, 64, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.ri-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ri-search-overlay__close {
  position: absolute;
  top: 24px;
  right: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
.ri-search-overlay__close:hover,
.ri-search-overlay__close:focus {
  color: #8AD1E5;
  outline: none;
}
.ri-search-overlay__form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(720px, 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 10px;
}
.ri-search-overlay__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 500;
  padding: 8px 0 !important;
  outline: none !important;
}
.ri-search-overlay__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.ri-search-overlay__submit {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: #4199A5;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ri-search-overlay__submit:hover,
.ri-search-overlay__submit:focus {
  background: #357f89;
  outline: none;
}
.ri-search-overlay__submit svg {
  width: 22px;
  height: 22px;
  display: block;
}
.ri-search-overlay .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Search results content (below the exact Home blue band)
   ========================================================================== */
body.search .jupiterx-main {
  background: #fff;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.search .jupiterx-main-content,
body.search .jupiterx-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
body.search .jupiterx-main-content {
  padding-top: 24px;
}

body.search .jupiterx-new-search {
  background: #f7fbfb;
  border: 1px solid #d7e8ea;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 8px 0 32px;
  box-shadow: 0 8px 24px rgba(11, 59, 64, 0.06);
}
body.search .jupiterx-new-search .jupiterx-title {
  font-family: Poppins, Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0b3b40;
  margin: 0 0 8px;
}
body.search .jupiterx-new-search p {
  color: #3a3a3a;
  margin: 0 0 14px;
}

body.search .jupiterx-primary .jupiterx-search-form,
body.search .jupiterx-search-form,
body.search .jupiterx-search-form.form-inline {
  position: relative !important;
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  width: 100% !important;
  max-width: 640px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.search .jupiterx-search-form .form-control,
body.search .jupiterx-search-form input[type="search"],
body.search .jupiterx-search-form input[type="text"] {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  border: 1px solid #c5d9dc !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  padding-right: 16px !important;
  font-size: 16px;
  background: #fff !important;
  box-shadow: none !important;
}
body.search .jupiterx-new-search .jupiterx-search-form .btn,
body.search .jupiterx-new-search .jupiterx-search-form button,
body.search .jupiterx-search-form .btn,
body.search .jupiterx-search-form button {
  position: static !important;
  right: auto !important;
  top: auto !important;
  flex: 0 0 auto;
  width: 52px !important;
  min-width: 52px;
  height: auto !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 !important;
  background: #4199A5 !important;
  background-color: #4199A5 !important;
  border: 1px solid #4199A5 !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
body.search .jupiterx-search-form .btn:hover,
body.search .jupiterx-search-form button:hover,
body.search .jupiterx-search-form .btn:focus,
body.search .jupiterx-search-form button:focus,
body.search .jupiterx-search-form button:focus:active {
  background: #357f89 !important;
  background-color: #357f89 !important;
  border-color: #357f89 !important;
  color: #fff !important;
}
body.search .jupiterx-search-form .btn::before,
body.search .jupiterx-search-form button::before,
body.search .jupiterx-search-form .jupiterx-icon-search-1::before {
  color: #fff !important;
}

body.search article.jupiterx-post,
body.search .jupiterx-post {
  background: #fff;
  border: 1px solid #e3eef0;
  border-radius: 16px;
  padding: 22px 24px !important;
  margin: 0 0 18px !important;
  box-shadow: 0 6px 18px rgba(11, 59, 64, 0.05);
}
body.search .jupiterx-search-post-title,
body.search .jupiterx-post-title,
body.search .jupiterx-post-title a {
  font-family: Poppins, Inter, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #5c2d6b !important;
  text-decoration: none !important;
}
body.search .jupiterx-post-title a:hover {
  color: #4199A5 !important;
}
body.search .jupiterx-post-excerpt,
body.search .jupiterx-post-body {
  color: #3a3a3a;
  font-size: 16px;
  line-height: 1.65;
}

body.search .jupiterx-search-secondary-title,
body.search .jupiterx-search-secondary-subtitle,
body.search .jupiterx-main-header:not(.ri-search-hero),
body.search .jupiterx-main-header-container,
body.search .jupiterx-main-header,
body.search header.jupiterx-main-header,
body.search .jupiterx-main-header-title,
body.search .jupiterx-main-header-post-title,
body.search h1.jupiterx-main-header-post-title,
body.search .jupiterx-search-title,
body.search .jupiterx-main-header .breadcrumb {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Do not restyle the copied Home hero — Elementor post-895.css owns it */
body.search .ri-search-home-hero {
  width: 100%;
}

/* Exact Home behaviour for the copied mountains shape divider */
body.search .ri-search-home-hero .elementor-shape {
  overflow: hidden;
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  direction: ltr;
}
body.search .ri-search-home-hero .elementor-shape-bottom {
  bottom: -1px;
}
body.search .ri-search-home-hero .elementor-shape-bottom svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 81px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
body.search .ri-search-home-hero .elementor-shape .elementor-shape-fill {
  fill: #fff;
  transform-origin: center;
  transform: rotateY(0deg);
}
body.search .ri-search-home-hero .elementor-element-1b0d16e {
  overflow: hidden;
  position: relative;
}
