/* Shared navigation and action buttons. Edit here for every public site page. */
#header :is(.header-nav, .header-menu) a[href="https://app.signmeup.org.uk"],
#header :is(.header-nav, .header-menu) a[href^="https://docs.google.com/forms/"],
#page .site-button.site-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px !important;
  border: 1px solid transparent;
  border-radius: 12px !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap;
  opacity: 1 !important;
  transition: background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

#header :is(.header-nav, .header-menu) a[href="https://app.signmeup.org.uk"] {
  background: #faf9f6 !important;
  color: #252521 !important;
  border-color: rgba(25, 26, 26, .08);
  box-shadow: 0 2px 4px rgba(94, 32, 8, .08), 0 6px 16px rgba(94, 32, 8, .08);
}

#header :is(.header-nav, .header-menu) a[href^="https://docs.google.com/forms/"] {
  background: rgba(255, 255, 255, .12) !important;
  color: #252521 !important;
  border-color: rgba(25, 26, 26, .22);
}

#header :is(.header-nav, .header-menu) a[href="https://app.signmeup.org.uk"]::after,
#page .site-button.site-button:not(:has(> span[aria-hidden="true"]))::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

#header :is(.header-nav, .header-menu) a[href="https://app.signmeup.org.uk"]::after {
  transform: rotate(-45deg);
}

#page .site-button.site-button {
  flex: 0 0 auto;
  width: auto !important;
  height: 52px !important;
  min-height: 52px;
  background: #bd3d0d !important;
  color: #fff !important;
  border-color: rgba(124, 34, 0, .12);
  box-shadow: 0 2px 4px rgba(124, 34, 0, .08), 0 6px 16px rgba(124, 34, 0, .12);
}

#header .header-nav-list { align-items: center; }

@media (hover: hover) {
  #header :is(.header-nav, .header-menu) a[href="https://app.signmeup.org.uk"]:hover {
    background: #fff !important;
    box-shadow: 0 3px 6px rgba(94, 32, 8, .1), 0 8px 20px rgba(94, 32, 8, .12);
  }
  #header :is(.header-nav, .header-menu) a[href^="https://docs.google.com/forms/"]:hover {
    background: rgba(255, 255, 255, .3) !important;
    border-color: rgba(25, 26, 26, .38);
  }
  #page .site-button.site-button:hover { background: #a53309 !important; }
}

#header :is(.header-nav, .header-menu) a[href="https://app.signmeup.org.uk"]:focus-visible,
#header :is(.header-nav, .header-menu) a[href^="https://docs.google.com/forms/"]:focus-visible,
#page .site-button.site-button:focus-visible {
  outline: 3px solid #252521;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff;
}

@media (max-width: 1100px) and (min-width: 768px) {
  #header .header-nav a[href="https://app.signmeup.org.uk"],
  #header .header-nav a[href^="https://docs.google.com/forms/"] { padding: 12px 14px !important; gap: 9px; font-size: 13px !important; }
}

@media (max-width: 767px) {
  #header .header-menu a[href="https://app.signmeup.org.uk"],
  #header .header-menu a[href^="https://docs.google.com/forms/"] {
    width: min(280px, 100%);
    min-height: 52px;
    margin: 8px auto;
  }
  #header .header-menu a[href^="https://docs.google.com/forms/"] .header-menu-nav-item-content { margin: 0; }
  #page .site-button.site-button { width: 100% !important; max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  #header :is(.header-nav, .header-menu) a,
  #page .site-button.site-button { transition: none; }
}

@media print {
  #header, #page .site-button { display: none !important; }
}
