/* Header logotype */
.govuk-header__logo {
  display: flex;
  align-items: center;
}

.govuk-header__link--homepage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.govuk-header__logotype-crown {
  height: 32px;
  width: auto;
  vertical-align: middle;
  flex-shrink: 0;
}

.govuk-header__logotype-text {
  font-family: "GDS Transport", arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.govuk-header__link--homepage:hover .govuk-header__logotype-text {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.1em;
}

.govuk-header__link--homepage:focus {
  outline: 3px solid #fd0;
  outline-offset: 0;
  background-color: #fd0;
  box-shadow: 0 2px 0 #0b0c0c;
}

.govuk-header__link--homepage:focus .govuk-header__logotype-text {
  color: #0b0c0c;
}

@media (max-width: 48em) {
  .govuk-header__logotype-text {
    font-size: 19px;
  }
}

/* Header navigation */
.govuk-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.govuk-header__content {
  margin-left: auto;
}

.govuk-header__navigation-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.govuk-header__navigation-item .govuk-header__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: "GDS Transport", arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.govuk-header__navigation-item--login .govuk-header__link {
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
}

.govuk-header__navigation-item--login .govuk-header__link svg {
  flex-shrink: 0;
}

.govuk-header__navigation-item .govuk-header__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.1em;
}

.govuk-header__navigation-item .govuk-header__link:focus {
  outline: 3px solid #fd0;
  outline-offset: 0;
  color: #0b0c0c;
  background-color: #fd0;
  box-shadow: 0 2px 0 #0b0c0c;
  text-decoration: none;
}

.govuk-header__menu-button {
  display: none;
  font-family: "GDS Transport", arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  text-decoration: underline;
}

@media (max-width: 48em) {
  .govuk-header__container {
    flex-wrap: wrap;
  }

  .govuk-header__menu-button {
    display: block;
  }

  .govuk-header__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
  }

  .govuk-header__navigation-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 10px;
  }

  .govuk-header__navigation-list--open {
    display: flex;
  }
}
