/* Heihe GEO / legal / mobile fixes — loaded after styles.min.css */

.header__gov-badge {
  display: none;
}

.footer__gov-status {
  font-weight: 700;
  color: #18364f;
  margin: 0 0 10px;
  font-size: 0.9rem;
}

/* GEO blocks — additive, does not restyle existing content */
.heihe-geo-summary {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: #f3f8fc;
  border: 1px solid #d7e6f0;
  border-radius: 12px;
}
.heihe-geo-summary__label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8026f;
}
.heihe-geo-summary__text {
  margin: 0;
  color: #18364f;
  font-size: 0.95rem;
  line-height: 1.55;
}

.heihe-geo-faq {
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e4ebf0;
}
.heihe-geo-faq__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: #18364f;
}
.heihe-geo-faq__item {
  border: 1px solid #e4ebf0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  background: #fff;
}
.heihe-geo-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: #18364f;
  list-style: none;
}
.heihe-geo-faq__item summary::-webkit-details-marker {
  display: none;
}
.heihe-geo-faq__answer {
  margin-top: 0.65rem;
  color: #4d677b;
  font-size: 0.95rem;
  line-height: 1.55;
}
.heihe-geo-faq__answer p {
  margin: 0;
}

.heihe-legal h2 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.15rem;
  color: #18364f;
}
.heihe-legal ul {
  padding-left: 1.2rem;
}

/* Cookie bar — centered, light medical theme */
.heihe-cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 999999;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: min(640px, calc(100% - 32px));
  margin: 0;
  padding: 16px 20px;
  background: #ffffff;
  color: #18364f;
  border: 1px solid #cce7ff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(24, 54, 79, 0.12);
  box-sizing: border-box;
}
.heihe-cookie-bar[hidden] {
  display: none !important;
}
.heihe-cookie-bar p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
  color: #18364f;
}
.heihe-cookie-bar a {
  color: #0089ca;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.heihe-cookie-bar a:hover {
  color: #E51D1D;
}
.heihe-cookie-bar__btn {
  flex: 0 0 auto;
  min-height: 44px;
  max-width: none;
  padding: 10px 22px;
  margin: 0;
  border: 2px solid #cce8ff;
  border-radius: 0.625rem;
  background: #cce8ff;
  color: #244b6b !important;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.heihe-cookie-bar__btn:hover {
  background: #f36565;
  border-color: #f36565;
  color: #fff !important;
}

@media (max-width: 500px) {
  .heihe-cookie-bar {
    bottom: 92px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .heihe-cookie-bar p {
    text-align: center;
  }
  .heihe-cookie-bar__btn {
    width: 100%;
  }
}

/* Mobile fixes */
html {
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
}
@media (max-width: 500px) {
  body {
    padding-bottom: 96px;
  }
  .mobnav {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .popup__buttons {
    display: grid;
    gap: 10px;
  }
  .popup__buttons .button {
    min-height: 44px;
    justify-content: center;
  }
  .header__hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wrapper {
    max-width: 100%;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}
