.card-title,
.holiday-intro,
.directory,
.related a,
.season-heading h1,
.season-selection h2,
.edit-panel,
.info-content {
  overflow-wrap: anywhere;
}

.card-title,
.season-heading h1,
.filter-panel label {
  max-width: 100%;
}

.edit-panel, .preview-area, .control, .control textarea,
.filter-panel label, .filter-panel select {
  min-width: 0;
}

.filter-panel select, #holidaySelect {
  max-width: 100%;
}
.calendar-agenda button, .occasion-choices button {
  max-width: 100%;
  overflow-wrap: anywhere;
}
#holidayPanel label {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 670px);
}
#holidaySelect {
  width: 100%;
  contain: paint;
}

.edit-panel fieldset,
.catalog-heading,
.calendar-heading {
  flex-wrap: wrap;
}

@media (max-width: 620px) {
  .mast {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .mast .brand, .foot-brand {
    white-space: normal;
    max-width: 100%;
  }
  .mast nav {
    height: auto;
    min-height: 36px;
    flex-wrap: wrap;
  }
  .mast .search {
    flex-basis: 100%;
    min-height: 36px;
    height: auto;
    padding-block: 4px;
  }
  .edit-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .edit-panel > button {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
