/* BeliTech 4.17.08 — matched, high-resolution Explorer + Licensed Operators heroes.
   Both use original 2172x724 imagery and identical responsive sizing. Image never
   stretches: background-size:cover crops at breakpoints. Other views unaffected. */

:root { --bst-public-hero-height:340px; }

body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-airbnb-search-stage,
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:var(--bst-public-hero-height)!important;
  min-height:var(--bst-public-hero-height)!important;
  max-height:none!important;
  margin:0!important;
  padding:26px 24px!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
}

body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-airbnb-search-stage {
  background-image:linear-gradient(90deg,rgba(8,26,43,0.68) 0%,rgba(8,26,43,0.37) 46%,rgba(8,26,43,0.1) 100%),url("../images/explorer-blue-hole-hero-v41708.webp")!important;
  background-position:center center!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero {
  background-image:linear-gradient(90deg,rgba(8,26,43,0.72) 0%,rgba(8,26,43,0.34) 50%,rgba(8,26,43,0.08) 100%),url("../images/operators-maya-hero-v41708.webp")!important;
  background-position:center center!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero::before,
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero::after {content:none!important;display:none!important;}

/* Both search cards and headings use the same real-world 1100px content width. */
body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-airbnb-search-wrap,
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero__inner {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1100px!important;
  margin:0 auto!important;
  padding:0!important;
  min-width:0!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero h1 {
  max-width:100%!important;
  margin:0!important;
  color:#fff!important;
  font-size:clamp(30px,3.35vw,46px)!important;
  font-weight:850!important;
  line-height:1.13!important;
  letter-spacing:-.045em!important;
  text-shadow:0 2px 12px rgba(8,26,43,0.35)!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero p {
  margin:9px 0 24px!important;
  max-width:100%!important;
  color:#fff!important;
  font-size:clamp(14px,1.35vw,17px)!important;
  font-weight:600!important;
  line-height:1.45!important;
  text-shadow:0 1px 9px rgba(8,26,43,0.35)!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search {
  display:grid!important;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.85fr) 150px!important;
  gap:14px!important;
  align-items:end!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  padding:17px!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid #f7f8f9!important;
  border-radius:15px!important;
  box-shadow:0 12px 30px rgba(8,26,43,0.13)!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__field {
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
  color:#0d2b48!important;
  font-size:12px!important;
  font-weight:800!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__field span{line-height:1.15!important;}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__field :is(input,select) {
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #dde1e5!important;
  border-radius:10px!important;
  background:#f7f8f9!important;
  color:#0d2b48!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.3!important;
  box-shadow:none!important;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__submit {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  min-width:0!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #0d2b48!important;
  border-radius:10px!important;
  background:#0d2b48!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.3!important;
  box-shadow:none!important;
  cursor:pointer;
}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__submit:hover {background:#0d2b48!important;}
body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__submit .dashicons {font-size:16px;width:16px;height:16px;}

/* Tablet: shared image size and fields in a consistent 3+1 search grid. */
@media (min-width:640px) and (max-width:1023px) {
  :root { --bst-public-hero-height:385px; }
  body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-airbnb-search-stage,
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero {padding:30px 22px!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:11px!important;
    padding:14px!important;
  }
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__submit {grid-column:1/-1!important;min-height:46px!important;height:46px!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero h1 {font-size:clamp(27px,4vw,36px)!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero {background-position:center center!important;}
}

/* Phones: same full-bleed banners; search fields stack rather than shrink. */
@media (max-width:639px) {
  :root { --bst-public-hero-height:565px; }
  body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-airbnb-search-stage,
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero {
    height:auto!important;
    min-height:var(--bst-public-hero-height)!important;
    padding:29px 14px!important;
    align-items:center!important;
  }
  body:not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-airbnb-search-stage {background-position:70% center!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero {background-position:82% center!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero__inner {width:100%!important;max-width:100%!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero h1 {font-size:29px!important;line-height:1.15!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero p {font-size:14px!important;margin:10px 0 20px!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search {
    grid-template-columns:1fr!important;
    gap:11px!important;
    padding:13px!important;
    border-radius:15px!important;
  }
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__field :is(input,select) {height:48px!important;min-height:48px!important;font-size:16px!important;}
  body:not(.wp-admin) #bt-editorial-directory.bt-od .bt-od-hero-search__submit {height:48px!important;min-height:48px!important;font-size:14px!important;}
}

/* Existing legacy mobile rules force all Explorer fields onto grid row 1;
   reset explicit placement only on phones, preserving their DOM order. */
@media (max-width:639px) {
  body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-search-v2 {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:11px!important;
  }
  body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-search-v2>.bst-airbnb-search-segment,
  body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-search-v2>.bst-airbnb-search-button {
    grid-column:1/-1!important;
    grid-row:auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body:is(body,#belitec-desktop-scope):not(.wp-admin) #bst-marketplace-root#bst-marketplace-root .bst-search-v2>.bst-airbnb-search-button {order:0!important;}
}

/* Keep the public search panels aligned to the shuttle hero. */
body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-airbnb-search-stage,.bst-server-hero,.bt-od-hero,#bst-shuttle-search) {
  --hero-gutter: 16px;
  --panel-padding: 18px;
  --panel-height: 111px;
  padding-inline: 0!important;
}
body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-airbnb-search-stage,.bt-od-hero,.bst-server-hero,#bst-shuttle-search) > :is(.bst-airbnb-search-wrap,.bt-od-hero__inner,.bst-server-hero-inner) {
  box-sizing:border-box!important;
  width:min(1320px, calc(100% - 2 * var(--hero-gutter)))!important;
  max-width:min(1320px, calc(100% - 2 * var(--hero-gutter)))!important;
  margin-inline:auto!important;
}
body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-airbnb-search-stage,.bt-od-hero,.bst-server-hero,#bst-shuttle-search) > :is(.bst-airbnb-search-wrap,.bt-od-hero__inner,.bst-server-hero-inner) {padding-inline:0!important;}
body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-shuttle-search__intro,.bst-shuttle-search__form,.bst-search-v2,.bt-od-hero-search,.bst-server-search) {width:100%!important;max-width:none!important;}
body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-search-v2,.bt-od-hero-search,.bst-server-search,.bst-shuttle-search__form) {
  box-sizing:border-box!important;
  padding:var(--panel-padding)!important;
  min-height:var(--panel-height)!important;
  align-items:end!important;
}
body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-search-v2,.bt-od-hero-search,.bst-server-search,.bst-shuttle-search__form) :is(input,select,.bst-guest-stepper__controls,button[type=submit],.bst-airbnb-search-button) {
  box-sizing:border-box!important;
  height:44px!important;
  min-height:44px!important;
}
@media(max-width:1100px) {
  body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-airbnb-search-stage,.bst-server-hero,.bt-od-hero,#bst-shuttle-search) {--panel-height:260px;}
}
@media(max-width:600px) {
  body:not(.wp-admin) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bst-airbnb-search-stage,.bst-server-hero,.bt-od-hero,#bst-shuttle-search) {--hero-gutter:12px;--panel-padding:14px;--panel-height:408px;}
}

/* Align the public hero copy with its search panel. */
body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) .bst-airbnb-search-stage :is(.bst-airbnb-search-topline,.bst-airbnb-search-title) {
  width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;
}
body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) .bt-od-hero .bt-od-hero-search__submit {border-radius:999px!important;}
body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) .bt-od-shortcuts {margin-block-start:clamp(20px,2vw,24px)!important;}
@media(min-width:1101px){
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bt-od-hero,.bst-airbnb-search-stage) {box-sizing:border-box!important;display:flex!important;align-items:center!important;height:auto!important;min-height:320px!important;padding-block:36px!important;}
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bt-od-hero__inner,.bst-airbnb-search-wrap){padding-block:0!important;}
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bt-od-hero h1,.bst-airbnb-search-title h1) {font-size:clamp(32px,3.35vw,44px)!important;line-height:1.16!important;margin:0!important;}
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bt-od-hero p,.bst-airbnb-search-title > span) {display:block!important;font-size:17px!important;line-height:24px!important;margin:8px 0 0!important;}
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) .bst-airbnb-search-title {display:block!important;}
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) .bst-airbnb-search-topline {margin-block:0 24px!important;}
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) .bt-od-hero-search {margin-block:24px 0!important;}
}
@media(max-width:1100px){
  body:is(body,#belitec-desktop-scope) :is(#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root#bst-marketplace-root,#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory#bt-editorial-directory) :is(.bt-od-hero,.bst-airbnb-search-stage){height:auto!important;max-height:none!important;}
}
