.firm-return-link {
  color: var(--bronze);
  font-weight: 700;
}

.centre-menu-button,
.centre-mobile-nav {
  display: none;
}

/* The full Secretariat address appears once in the footer. */
.contact-section address {
  display: none;
}

.contact-section .contact-grid {
  grid-template-columns: minmax(0, 760px);
}

/* Hide the former premises-name line if it is restored during hydration. */
.contact-section address span:first-of-type,
.footer-office span:first-of-type {
  display: none;
}

@media (max-width: 1180px) and (min-width: 1021px) {
  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 10px;
  }
}

@media (max-width: 1020px) {
  .centre-menu-button {
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-left: 12px;
    padding: 11px;
    border: 1px solid rgba(23, 33, 39, 0.25);
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .centre-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .centre-menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .centre-menu-button.open span:nth-child(2) {
    opacity: 0;
  }

  .centre-menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .centre-mobile-nav {
    position: fixed;
    z-index: 19;
    inset: 77px 0 auto;
    max-height: calc(100vh - 77px);
    padding: 20px 30px 28px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(23, 33, 39, 0.16);
    background: rgba(247, 245, 239, 0.99);
    box-shadow: 0 18px 30px rgba(23, 33, 39, 0.12);
    flex-direction: column;
  }

  .centre-mobile-nav.open {
    display: flex;
  }

  .centre-mobile-nav a {
    padding: 13px 3px;
    border-bottom: 1px solid rgba(23, 33, 39, 0.13);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
  }

  .centre-mobile-nav .firm-return-link {
    color: var(--bronze);
  }

  body.centre-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .centre-menu-button {
    margin-left: auto;
  }

  .centre-mobile-nav {
    inset-block-start: 76px;
  }
}
