/*
 * Archive width alignment.
 *
 * The compact desktop search header and the initial competency discovery used
 * a full-width wrapper but restricted their visible content to the middle ten
 * of twelve grid columns. The results workspace already follows the shared
 * site shell. Keep the existing behavior while aligning every visible archive
 * section to the same full shell width.
 */

@media (min-width: 981px) {
  body.wp-child-theme-marnamic.wp-child-theme-marnamic.marnamic-vendor-discovery .hp-page__header {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.wp-child-theme-marnamic.wp-child-theme-marnamic.marnamic-vendor-discovery .hp-page__header > :is(
    .hp-form--vendor-search.marnamic-air-search,
    .hp-form--listing-search,
    .marnamic-vendor-discovery__clusters
  ) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.wp-child-theme-marnamic.wp-child-theme-marnamic.marnamic-archive-search-results .hp-page__header {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    transform: none !important;
  }

  body.wp-child-theme-marnamic.wp-child-theme-marnamic.marnamic-archive-search-results.marnamic-archive-search-results .hp-page__header > .hp-form--vendor-search.marnamic-air-search,
  body.wp-child-theme-marnamic.wp-child-theme-marnamic.marnamic-archive-search-results.marnamic-archive-search-results .hp-page__header > .hp-form--listing-search {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}
