/* Shared wowo.tech site header and footer, matching family-ai. */
.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: .5rem;
  inset-inline-start: .5rem;
  padding: .5rem 1rem;
  background: #1b252e;
  color: #fff;
  text-decoration: none;
  transform: translateY(-180%);
}

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

.site-shell {
  padding-top: 5rem;
}

.wowo-navbar {
  position: fixed;
  z-index: 200;
  inset: 0 0 auto;
  height: 5rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .38);
  color: #666;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.wowo-nav-container {
  width: 100%;
  max-width: 77rem;
  height: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wowo-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 100%;
}

.wowo-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 4rem;
}

.wowo-nav-links {
  min-width: 0;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  list-style: none;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.wowo-nav-links li {
  display: flex;
  font-size: 1rem;
}

.wowo-nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  height: 5rem;
  padding: 0 1.5rem;
  color: #666;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 5rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .4s;
}

.wowo-nav-links a:hover,
.wowo-nav-links a:focus-visible,
.wowo-nav-links a[aria-current="page"] {
  color: #d80808;
}

.wowo-nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto .65rem 0;
  height: 2px;
  background: #d80808;
}

.wowo-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 9px;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
}

.wowo-nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

.wowo-footer {
  padding: 2rem 1rem calc(2rem + env(safe-area-inset-bottom));
  border: 0;
  background: #1b252e;
  color: #8b939d;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: .875rem;
  text-align: center;
}

.wowo-footer-container {
  max-width: 77rem;
  margin-inline: auto;
}

.wowo-footer-nav {
  padding: 1rem 0;
  border-top: 1px solid #313a43;
}

.wowo-footer-nav a {
  display: inline-block;
  padding: 0 2rem;
  color: #8b939d;
  text-decoration: none;
  transition: color .2s;
}

.wowo-footer a:hover,
.wowo-footer a:focus-visible {
  color: #d80808;
}

.wowo-footer p {
  max-width: none;
  margin: .65rem 0;
}

.wowo-filing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.wowo-filing a {
  display: inline-flex;
  align-items: center;
  color: #8b939d;
  text-decoration: none;
}

.wowo-filing img {
  width: 13px;
  height: auto;
  margin-right: 5px;
}

@media (max-width: 72rem) {
  .site-shell {
    padding-top: 3.75rem;
  }

  .wowo-navbar {
    height: 3.75rem;
  }

  .wowo-nav-container {
    position: relative;
  }

  .wowo-logo img {
    max-height: 2.75rem;
  }

  .wowo-nav-toggle {
    display: block;
  }

  .wowo-nav-links {
    position: absolute;
    z-index: 201;
    inset: 3.75rem 0 auto auto;
    width: min(19rem, calc(100vw - 2rem));
    max-height: calc(100vh - 4.75rem);
    margin: 0;
    padding: .5rem 0;
    display: none;
    overflow-y: auto;
    background: #242424;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  }

  .wowo-nav-links.is-open {
    display: block;
  }

  .wowo-nav-links li {
    display: block;
  }

  .wowo-nav-links a {
    height: auto;
    min-height: 44px;
    padding: 0 1.25rem;
    border-bottom: 1px solid #444;
    color: #fff;
    line-height: 1.8;
  }

  .wowo-nav-links li:last-child a {
    border-bottom: 0;
  }

  .wowo-nav-links a[aria-current="page"] {
    background: #303030;
    color: #fff;
  }

  .wowo-nav-links a[aria-current="page"]::after {
    inset: 0 auto 0 0;
    width: 3px;
    height: auto;
  }

  .wowo-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .wowo-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .wowo-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 40rem) {
  .wowo-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .wowo-footer-nav a {
    padding: .55rem;
  }

  .wowo-filing {
    gap: .55rem;
  }
}
