/* ============================================================
   BANNER SEARCH
   Append these rules to destination-common.css
   (or share-common.css if you want it on share pages too)
   ============================================================ */

/* Wrapper sits between logo and CTA */
.banner-search-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  min-width: 0; /* allow shrink */
}

/* Override the main dropdown-container sizing for the banner context */
.banner-dropdown-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
}

.banner-search-input {
  flex: 1;
  height: 34px;
  border: none;
  border-radius: 20px 0 0 20px;
  padding: 0 10px;
  font-size: 0.8em;
  font-family: "Outfit", sans-serif;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  min-width: 0;
}

.banner-search-input::placeholder {
  color: #999;
}

.banner-search-btn {
  height: 34px;
  width: 32px;
  border: none;
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65em;
  flex-shrink: 0;
}

/* Dropdown list — anchored to the input row */
.banner-city-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  z-index: 9999;
  padding: 4px 0;
}

.banner-city-list .dropdown-item {
  padding: 8px 14px;
  font-size: 0.82em;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-city-list .dropdown-item.highlighted,
.banner-city-list .dropdown-item:hover {
  background: var(--brand-bg);
  color: var(--brand-accent);
}

.share-banner-cta {
  display: none;
}

.howie-banner h2 {
  font-size: 1.1em;
  display: none;
}

.banner-search-wrapper {
  display: flex;
}
/* From 768px: show everything */
@media only screen and (min-width: 768px) {
  .share-banner-cta {
    display: block;
  }
  .banner-search-input {
    font-size: 0.85em;
  }
  .howie-banner h2 {
    display: block;
  }
}
