/* UK2BG / PluginPip Ltd. Homepage editorial search experience.
   Genuine HTML controls over licensed Bulgarian photography, never a flattened UI image.
   Photo: Angel Balashev, Rhodope Mountains (photo ledger BC-06). */
.bc-home-search-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #faf7ef;
  background-image:
    linear-gradient(90deg,
      rgba(250,248,242,.99) 0%,
      rgba(250,248,242,.96) 36%,
      rgba(250,248,242,.82) 56%,
      rgba(250,248,242,.41) 76%,
      rgba(250,248,242,.10) 100%),
    linear-gradient(0deg, rgba(250,248,242,.30), rgba(250,248,242,0) 55%),
    url("/assets/photos/feature-homes-rhodopes-1500w.webp");
  background-size: cover;
  background-position: center, center, right 47%;
  color: #20372e;
  padding: clamp(55px, 6.3vw, 94px) 0 clamp(36px, 4vw, 56px);
  border: 0;
}
.bc-home-search-band .bc-home-search-inner {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 1440px;
  padding-top: 0;
}
.bc-home-search-band .bc-home-search-copy {
  max-width: 1160px;
  margin: 0;
}
.bc-home-search-band .bc-home-search-eyebrow {
  display: flex;
  align-items: center;
  gap: 19px;
  margin: 0 0 clamp(14px, 2vw, 24px);
  color: #264535;
  font: 600 clamp(13px, 1.3vw, 17px)/1.5 "DM Sans", system-ui, sans-serif;
  letter-spacing: .01em;
  text-transform: none;
}
.bc-home-search-band .bc-home-search-eyebrow::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  flex: 0 0 38px;
  background: #2c684a;
}
.bc-home-search-band h2#bc-home-search-title {
  margin: 0 0 clamp(10px, 1.9vw, 22px);
  max-width: 1150px;
  color: #1c352a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.7rem, 7.3vw, 7.1rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.bc-home-search-band .bc-home-search-copy > p {
  max-width: 810px;
  color: #3c4b40;
  font: 400 clamp(16px, 1.7vw, 22px)/1.55 "DM Sans", system-ui, sans-serif;
  letter-spacing: -.012em;
  margin: 0;
}
.bc-home-search-band .bc-home-search-form {
  max-width: 870px;
  margin: clamp(30px, 4.2vw, 56px) 0 0;
}
.bc-home-search-band .bc-home-search-form > label {
  display: block;
  color: #284638;
  font: 700 clamp(14px, 1.2vw, 17px)/1.4 "DM Sans", system-ui, sans-serif;
  margin: 0 0 12px;
}
.bc-home-search-band .bc-home-search-controls {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  padding: 5px;
  border: 1px solid rgba(53,85,64,.17);
  border-radius: 16px;
  background: rgba(255,255,252,.96);
  box-shadow: 0 16px 43px rgba(30,42,30,.13), 0 3px 10px rgba(30,42,30,.06);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.bc-home-search-band .bc-home-search-controls:focus-within {
  border-color: #2b6a4c;
  box-shadow: 0 0 0 3px rgba(43,106,76,.16), 0 16px 43px rgba(30,42,30,.13);
}
.bc-home-search-band .bc-home-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  color: #3c624d;
  padding: 0 0 0 10px;
}
.bc-home-search-band .bc-home-search-icon svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.bc-home-search-band .bc-home-search-controls input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 65px;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #223b2e;
  padding: 13px 16px 13px 7px;
  outline: none;
  border-radius: 10px;
  font: 400 clamp(15px, 1.45vw, 20px)/1.4 "DM Sans", system-ui, sans-serif;
  -webkit-appearance: none;
  appearance: none;
}
.bc-home-search-band .bc-home-search-controls input[type="search"]::placeholder {
  color: #737c76;
  opacity: 1;
}
.bc-home-search-band .bc-home-search-controls input[type="search"]:focus-visible {
  outline: none;
}
.bc-home-search-band .bc-home-search-controls button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  flex: 0 0 auto;
  min-height: 65px;
  min-width: 207px;
  margin: 0;
  padding: 15px 25px;
  background: linear-gradient(180deg, #2f6a4a, #20523a);
  color: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 3px 7px rgba(22,59,37,.12);
  font: 700 clamp(14px, 1.3vw, 18px)/1.35 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.bc-home-search-band .bc-home-search-controls button[type="submit"]:hover {
  background: linear-gradient(180deg, #327750, #1a4933);
  text-decoration: none;
}
.bc-home-search-band .bc-home-search-controls button[type="submit"]:active {
  transform: translateY(1px);
}
.bc-home-search-band .bc-home-search-controls button[type="submit"] .bc-home-search-arrow {
  font-size: 24px;
  font-weight: 400;
  line-height: .8;
}
.bc-home-search-band .bc-home-search-controls button[type="submit"]:focus-visible {
  outline: 3px solid #bf7443;
  outline-offset: 3px;
}
.bc-home-search-band .bc-home-search-utility {
  position: relative;
  z-index: 1;
  margin-top: clamp(35px, 4.2vw, 54px);
}
.bc-home-search-band .bc-home-promise {
  display: grid;
  grid-template-columns: 60px minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 25px);
  margin: 0;
  padding: 18px clamp(18px, 2.5vw, 34px);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.80);
  background: rgba(252,253,248,.88);
  box-shadow: 0 11px 26px rgba(30,55,39,.09);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}
.bc-home-search-band .bc-home-promise-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e1e9dc;
  color: #2e6245;
}
.bc-home-search-band .bc-home-promise-symbol svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bc-home-search-band .bc-home-promise > p {
  margin: 0;
  color: #394d40;
  font: 400 clamp(13px, 1.2vw, 16px)/1.65 "DM Sans", system-ui, sans-serif;
}
.bc-home-search-band .bc-home-promise > p strong {
  font-weight: 700;
  color: #214a35;
}
.bc-home-search-band .bc-home-promise .ed-textlink {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 38px;
  padding-left: clamp(17px, 2.2vw, 35px);
  margin-left: 5px;
  border-left: 1px solid #bfcbbc;
  color: #245c3c;
  font: 700 14px/1.5 "DM Sans", system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.bc-home-search-band .bc-home-promise .ed-textlink:hover { color: #123927; }
.bc-home-search-band .bc-home-search-photo-credit {
  position: absolute;
  bottom: -27px;
  right: 5.3%;
  font: 500 11px/1.5 "DM Sans", system-ui, sans-serif;
  color: #506756;
  text-shadow: 0 1px 6px rgba(255,255,255,.8);
}
@media (max-width: 1050px) {
  .bc-home-search-band { background-position: center, center, 65% center; }
  .bc-home-search-band h2#bc-home-search-title { font-size: clamp(3.8rem, 7.6vw, 6rem); }
  .bc-home-search-band .bc-home-search-copy > p { max-width: 680px; }
}
@media (max-width: 720px) {
  .bc-home-search-band {
    padding-top: 55px;
    padding-bottom: 46px;
    background-image:
      linear-gradient(90deg, rgba(250,248,242,.97) 0%, rgba(250,248,242,.88) 74%, rgba(250,248,242,.66) 100%),
      url("/assets/photos/feature-homes-rhodopes-1500w.webp");
    background-position: center, 62% center;
  }
  .bc-home-search-band .bc-home-search-eyebrow { font-size: 13px; gap: 12px; }
  .bc-home-search-band h2#bc-home-search-title { font-size: clamp(3.3rem, 10vw, 4.9rem); }
  .bc-home-search-band .bc-home-search-controls button[type="submit"] { min-width: 158px; padding-inline: 15px; }
  .bc-home-search-band .bc-home-promise {
    grid-template-columns: 48px minmax(0,1fr);
    row-gap: 10px;
  }
  .bc-home-search-band .bc-home-promise-symbol { width: 46px; height: 46px; }
  .bc-home-search-band .bc-home-promise .ed-textlink {
    grid-column: 2;
    padding: 0;
    margin: 0;
    border: 0;
  }
}
@media (max-width: 540px) {
  .bc-home-search-band { padding: 44px 0 42px; }
  .bc-home-search-band h2#bc-home-search-title {
    font-size: clamp(3.15rem, 13vw, 4.25rem);
    line-height: .97;
    text-wrap: pretty;
  }
  .bc-home-search-band .bc-home-search-copy > p { font-size: 16px; }
  .bc-home-search-band .bc-home-search-form { margin-top: 28px; }
  .bc-home-search-band .bc-home-search-controls {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 0;
    padding: 5px;
  }
  .bc-home-search-band .bc-home-search-icon { grid-column: 1; grid-row: 1; flex-basis: 50px; padding-left: 7px; }
  .bc-home-search-band .bc-home-search-controls input[type="search"] {
    grid-column: 2;
    grid-row: 1;
    min-height: 60px;
    padding-left: 0;
    font-size: 16px;
  }
  .bc-home-search-band .bc-home-search-controls button[type="submit"] {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 55px;
    border-radius: 10px;
    margin: 0;
    font-size: 16px;
  }
  .bc-home-search-band .bc-home-search-utility { margin-top: 30px; }
  .bc-home-search-band .bc-home-promise { padding: 16px; gap: 12px; }
  .bc-home-search-band .bc-home-promise > p { font-size: 13px; }
  .bc-home-search-band .bc-home-search-photo-credit { right: 6%; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-home-search-band .bc-home-search-controls,
  .bc-home-search-band .bc-home-search-controls button { transition: none; }
}
@media print {
  .bc-home-search-band { background: #fff; padding: 20px 0; }
  .bc-home-search-band .bc-home-search-form,
  .bc-home-search-band .bc-home-search-photo-credit { display: none; }
  .bc-home-search-band .bc-home-promise { box-shadow: none; }
}
