:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo {
  display: block;
  width: clamp(118px, 12vw, 156px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.site-logo--footer {
  width: 150px;
  max-height: none;
  margin-bottom: 1rem;
}

.site-logo--mobile {
  width: 156px;
  max-height: none;
}

.partner-logo-strip,
.partner-logo-strip:hover,
.partner-logo-strip img,
.partner-logo-strip:hover img {
  filter: none !important;
  opacity: 1 !important;
}

body > header:first-of-type > div,
body > nav:first-of-type > div {
  box-sizing: border-box;
  width: min(100%, 1440px);
  max-width: 1440px;
  margin-inline: auto;
  gap: clamp(0.5rem, 1vw, 1rem);
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

body > header:first-of-type nav,
body > header:first-of-type .hidden,
body > nav:first-of-type .hidden,
.site-desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  margin-left: clamp(0.125rem, 0.5vw, 0.5rem);
  margin-right: 0;
  column-gap: clamp(0.5rem, 0.9vw, 0.875rem) !important;
  row-gap: 0.75rem;
  white-space: nowrap;
}

body > header:first-of-type nav > :not([hidden]) ~ :not([hidden]),
body > header:first-of-type .hidden > :not([hidden]) ~ :not([hidden]),
body > nav:first-of-type .hidden > :not([hidden]) ~ :not([hidden]),
.site-desktop-nav > :not([hidden]) ~ :not([hidden]) {
  margin-left: clamp(0.5rem, 0.9vw, 0.875rem) !important;
  margin-right: 0 !important;
}

body > header:first-of-type nav a,
body > header:first-of-type .hidden a,
body > nav:first-of-type .hidden a,
.site-desktop-nav a {
  font-size: clamp(0.8125rem, 0.95vw, 1rem);
}

body > header:first-of-type .site-header-cta,
body > nav:first-of-type .site-header-cta {
  flex: 0 0 auto;
  max-width: min(100%, 14rem);
  padding-inline: clamp(1rem, 1.4vw, 1.5rem) !important;
  background: #005c5c !important;
  color: #ffffff !important;
  white-space: nowrap;
}

body > header:first-of-type .site-header-cta:hover,
body > nav:first-of-type .site-header-cta:hover {
  background: #0f766e !important;
  color: #ffffff !important;
}

header nav a[href="/request-staff-cover/"],
body > nav .hidden a[href="/request-staff-cover/"] {
  display: none !important;
}

.site-more {
  position: relative;
}

.site-more-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #005c5c;
  transition: background 160ms ease, color 160ms ease;
}

.site-more-toggle:hover,
.site-more-toggle[aria-expanded="true"] {
  background: #d3e8d6;
}

.site-more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 250px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(20, 105, 105, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 80;
}

.site-more-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-more-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #3f4948;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.site-more-menu a:hover,
.site-more-menu a[aria-current="page"] {
  background: #d3e8d6;
  color: #005c5c;
}

.site-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #005c5c;
}

.site-mobile-toggle:hover,
.site-mobile-toggle[aria-expanded="true"] {
  background: #d3e8d6;
}

a,
button,
input,
select,
textarea {
  outline-color: #005c5c;
  outline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #005c5c;
}

body > header:first-of-type a[aria-current="page"],
body > nav:first-of-type a[aria-current="page"],
.site-desktop-nav a[aria-current="page"] {
  color: #0f766e;
  border-bottom: 2px solid #0f766e;
  padding-bottom: 0.25rem;
  font-weight: 700;
}

body > header:first-of-type a.site-logo-link[aria-current="page"],
body > nav:first-of-type a.site-logo-link[aria-current="page"] {
  border-bottom: 0;
  padding-bottom: 0;
}

body > header:first-of-type .site-header-cta[aria-current="page"],
body > nav:first-of-type .site-header-cta[aria-current="page"] {
  border-bottom: 0;
  color: #ffffff !important;
  padding-bottom: 0.625rem;
}

.site-mobile-panel {
  position: fixed;
  inset: 0 0 auto auto;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(20, 105, 105, 0.18);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 100;
}

.site-mobile-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-mobile-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #3f4948;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 600;
}

.site-mobile-panel a[aria-current="page"],
.site-mobile-panel a:hover {
  background: #d3e8d6;
  color: #005c5c;
}

.site-mobile-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.site-mobile-panel__brand {
  color: #005c5c;
  font-family: Manrope, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.site-mobile-panel__close {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0eded;
  color: #005c5c;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 28, 28, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 90;
}

.site-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .site-logo {
    width: 122px;
    max-height: 48px;
  }

  .site-logo--footer,
  .site-logo--mobile {
    width: 144px;
    max-height: none;
  }

  h1 {
    overflow-wrap: anywhere;
  }

  .text-headline-xl,
  .text-5xl,
  .text-6xl {
    font-size: clamp(2.25rem, 12vw, 3rem) !important;
    line-height: 1.12 !important;
  }

  img {
    max-width: 100%;
  }
}

@media (max-width: 1023px) {
  body > header:first-of-type .flex.items-center.gap-4 > button:not(.site-mobile-toggle),
  body > nav:first-of-type .flex.items-center.gap-4 > button:not(.site-mobile-toggle) {
    display: none;
  }

  .site-mobile-toggle {
    display: inline-flex;
  }

  #mobile-menu,
  body > button[onclick*="mobile-menu"] {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .site-mobile-panel,
  .site-backdrop {
    display: none !important;
  }
}
