/* Keep the property photograph behind the entire hero. Use two rows of
   booking controls only when the form has room for both native date fields. */
@media (max-width: 700px) {
  .sh-body { container-type: inline-size; container-name: hero-copy; }
  @container hero-copy (min-width: 20rem) {
    .sh-dates {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: .25rem;
      margin-top: 1.25rem !important;
    }
    .sh-field:not([data-field=guests]) {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: "label" "input";
      min-width: 0;
    }
    .sh-field:not([data-field=guests]) svg { display: none; }
    .sh-field + .sh-field::before { border: 0; }
    .sh-field:nth-child(2)::before {
      inset: .5rem auto .5rem 0;
      border-left: 1px solid var(--site-line, #d9d7cf);
    }
    .sh-dates button {
      margin: 0;
      min-height: 44px;
      padding-inline: .45rem;
      gap: .35rem;
      white-space: nowrap;
    }
  }
}
