/* This wrapper creates no extra layout box on mobile or without enhancement. */
.search-header { display: contents; }

/* Compact only desktop, after the original CTA has successfully been moved.
   No heading, copy, category, dropdown, map or mobile rules are replaced. */
@media (min-width: 861px) {
  .compact-desktop-search .sidebar .intro > .cta-row {
    display: none;
  }

  .compact-desktop-search .sidebar .intro {
    padding-bottom: 4px;
  }

  .compact-desktop-search .sidebar .intro > p:not(.eyebrow) {
    margin-bottom: 12px;
  }

  .compact-desktop-search #searchForm .search-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }

  .compact-desktop-search #searchForm .search-header > label {
    min-width: 0;
    margin-bottom: 0;
  }

  .compact-desktop-search #searchForm .search-header #heroSuggestButton {
    min-height: 32px;
    height: 32px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .compact-desktop-search #searchForm .search-field {
    min-height: 42px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .compact-desktop-search #searchForm .search-field > input {
    height: 34px;
    font-size: 15px;
  }

  .compact-desktop-search #searchForm .search-field > button[type="submit"] {
    height: 34px;
    font-size: 13px;
  }
}
