/* A forest-and-brass search panel for the mobile hero. */
.search-button-icon { display: none; }

@media (max-width: 720px) {
  .hero #heroSearch {
    position: relative;
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(198,167,109,.4);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(27,34,80,.96), rgba(27,34,80,.94));
    color: #f7f4ed;
    box-shadow: 0 16px 40px rgba(27,34,80,.24);
  }

  .hero #heroSearch::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(198,167,109,.16);
    border-radius: 9px;
    pointer-events: none;
  }

  .hero #heroSearch label {
    position: relative;
    min-width: 0;
    min-height: 64px;
    padding: 0;
    border: 1px solid rgba(198,167,109,.24);
    border-radius: 7px;
    background: rgba(247,244,237,.04);
  }

  .hero #heroSearch label:focus-within {
    border-color: #c6a76d;
    background: rgba(247,244,237,.08);
  }

  .hero #heroSearch label > span {
    position: absolute;
    top: 10px;
    left: 14px;
    right: 40px;
    margin: 0;
    color: #c6a76d;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: .15em;
    pointer-events: none;
  }

  .hero #heroSearch label::after {
    content: "";
    position: absolute;
    right: 17px;
    bottom: 21px;
    width: 7px;
    height: 7px;
    border: solid #c6a76d;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    pointer-events: none;
  }

  .hero #heroSearch select {
    display: block;
    min-width: 0;
    min-height: 62px;
    padding: 26px 40px 10px 14px;
    border-radius: 3px;
    background: transparent;
    color: #f7f4ed;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color-scheme: dark;
    cursor: pointer;
  }

  .hero #heroSearch option { background: #1b2250; color: #f7f4ed; }
  .hero #heroSearch select:focus-visible { outline: 2px solid #c6a76d; outline-offset: 3px; }

  .hero #heroSearch .search-btn {
    gap: 10px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid #c6a76d;
    border-radius: 7px;
    background: #f7f4ed;
    color: #1b2250;
    box-shadow: inset 0 -2px 0 #c6a76d;
    font-size: 13px;
    line-height: 1.5;
  }

  .hero #heroSearch .search-btn:hover { background: #f7f4ed; transform: none; }
  .hero #heroSearch .search-btn:active { background: #c6a76d; }
  .hero #heroSearch .search-btn:focus-visible { outline: 2px solid #c6a76d; outline-offset: 3px; }
  .hero #heroSearch .search-button-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
}
