/* School branding and layout only; component behaviour and states come from GOV.UK. */
.govuk-width-container {
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: var(--space-inline);
}





.govuk-breadcrumbs {
  margin-top: 0;
  margin-bottom: 2rem;
}

.school-search {
  max-width: 40rem;
  margin-block: 1.5rem;
}

.school-search--home {
  max-width: 36rem;
  margin-bottom: 0;
}

.school-search--home .govuk-label {
  color: #fff;
}

.school-search__controls {
  display: flex;
  align-items: start;
  gap: .5rem;
}

.school-search__controls .govuk-input {
  flex: 1;
  min-width: 0;
}

.school-search__controls .govuk-button {
  flex: none;
  margin: 0;
}

/* Only the action colour differs from the upstream button. */
.school-button {
  background-color: var(--color-brand);
  box-shadow: 0 2px 0 var(--color-link-hover);
}

.school-button:hover {
  background-color: var(--color-button-hover);
}

.school-button:focus:not(:active):not(:hover) {
  background-color: #fd0;
  color: #0b0c0c;
}

@media print {
  .school-search {
    display: none;
  }
}

/* GOV.UK buttons fill mobile rows by default; search shares a row with its input. */
.school-search__controls .govuk-button {
  width: auto;
}
