.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 110;
  padding: 0.65rem 1rem;
  transform: translateY(-120%);
  background: #fff;
  color: #173221;
  text-decoration: underline;
}

.skip-link:focus { transform: none; }

html { scroll-padding-top: 6rem; }

main a[href^="mailto:"] {
  overflow-wrap: anywhere;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .nav { position: static; }
  html { scroll-padding-top: 0; }
  .nav .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    height: auto;
    min-height: 0;
    gap: 4px 8px;
    padding: 6px 0;
  }
  .nav .nav-logo img {
    width: auto;
    height: 32px;
    max-width: 100%;
    object-fit: contain;
  }
  .nav .nav-links { display: contents; }
  .nav .nav-links .btn-primary {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    padding: 6px 10px;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .nav .nav-links .nav-text-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 0 12px;
    padding: 0;
    border: 0;
  }
  .nav .nav-text-links a {
    display: inline-block;
    padding: 4px 0;
    font-size: 0.84rem;
    line-height: 1.4;
  }
}

.directory-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem;
  max-width: 38rem;
  margin: 1.25rem 0;
}

.directory-lookup label {
  grid-column: 1 / -1;
  color: inherit;
  font-weight: 600;
}

.directory-lookup input,
.directory-lookup button {
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid #497653;
  border-radius: 0.45rem;
  font: inherit;
}

.directory-lookup button {
  background: #e4f4e6;
  color: #12351b;
  font-weight: 600;
  cursor: pointer;
}
