@charset "UTF-8";

/* 页脚固定为浅品牌绿底，局部颜色不随正文深色模式切换。 */
.hebang-footer--brand {
  --hebang-color-ink: var(--hebang-color-primary-ink);
  --hebang-color-text: var(--hebang-color-primary-ink);
  --hebang-color-placeholder: #616161;
  --hebang-color-primary-text: var(--hebang-color-primary-dark);
  --hebang-color-surface: #f4f8ee;
  --hebang-color-border-input: #767676;
  --hebang-color-danger-inline: #dc2626;
  --hebang-color-danger-border: #c3002f;
  background: var(--hebang-color-surface);
  color: var(--hebang-color-primary-ink);
  font-size: 16px;
  line-height: 1.6;
}
.hebang-footer-brand-inner { width: min(100% - 64px, 1340px); margin: 0 auto; padding-top: 24px; }
.hebang-footer-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: stretch; border-bottom: 1px solid var(--hebang-color-primary); }
.hebang-footer-invitation { align-self: center; padding: 24px 40px 28px 0; }
.hebang-footer-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.hebang-footer-heading { margin: 0; color: var(--hebang-color-primary-dark); font-size: clamp(40px, 4.6vw, 72px); font-weight: 700; letter-spacing: -0.055em; line-height: 1.04; }
.hebang-footer-heading span { display: block; }
.hebang-footer-heading [aria-hidden="true"] > span { white-space: pre-wrap; }
.hebang-footer-conversation { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; padding: 24px 32px; border-radius: 44px 0 0; background: var(--hebang-color-primary); }
.hebang-footer-conversation .hebang-footer-eyebrow { margin-bottom: 4px; }
.hebang-footer-contact-row { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.hebang-footer-contact-row > .hebang-icon { flex: 0 0 22px; margin-top: 3px; }
.hebang-footer-conversation .hebang-footer-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; min-width: 0; }
.hebang-footer-conversation a[href^="tel:"], .hebang-footer-whatsapp-link { white-space: nowrap; }
.hebang-footer--brand .hebang-footer-contact-item { font-size: 17px; }
.hebang-footer--brand .hebang-footer-contact-link, .hebang-footer--brand .hebang-footer-contact-label { color: var(--hebang-color-primary-ink); overflow-wrap: anywhere; }
.hebang-footer--brand .hebang-footer-contact-link:hover { text-decoration: underline; }
.hebang-footer-contact-button { margin-top: 4px; }
.hebang-footer-directory { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 0; padding: 24px 0 12px; }
.hebang-footer-navigation { display: grid; align-content: start; gap: 12px; min-width: 0; padding-right: 24px; }
.hebang-footer--brand .hebang-footer-directory-col { display: flex; flex-direction: column; gap: 12px; width: auto; min-width: 0; margin: 0; padding: 0 24px; border-left: 1px solid var(--hebang-color-primary); }
.hebang-footer--brand .hebang-footer-navigation .hebang-footer-directory-col { gap: 2px; padding: 0; border: 0; }
.hebang-footer--brand .hebang-footer-updates { padding-right: 0; }
.hebang-footer--brand .hebang-footer-widget-title { margin: 0; color: var(--hebang-color-primary-ink); font-size: 18px; line-height: 1.4; }
.hebang-footer--brand .hebang-footermenu { display: flex; flex-direction: row; gap: 0 12px; }
.hebang-footer--brand .hebang-footermenu-item { flex: 0 1 auto; max-width: 100%; }

/* 保留链接内箭头与 30px 内缩，沿用 shell 的 hover/focus 滑入动画。 */
.hebang-footer--brand .hebang-footermenu-link { display: block; min-height: 36px; padding-top: 6px; padding-bottom: 6px; color: var(--hebang-color-primary-ink); font-size: 14px; line-height: 1.5; }
.hebang-footer--brand .hebang-footermenu-link:hover, .hebang-footer--brand .hebang-footermenu-link:focus-visible { color: var(--hebang-color-primary-dark); }
.hebang-footer-location { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.hebang-footer-location .hebang-icon { flex: 0 0 20px; margin-top: 3px; }
.hebang-footer--brand .hebang-footer-social-list { flex-wrap: wrap; gap: 8px; }
.hebang-footer--brand .hebang-footer-social-item { margin: 0; }
.hebang-footer--brand .hebang-footer-social-link { width: 44px; height: 44px; border: 1px solid var(--hebang-color-primary-dark); background: transparent; color: var(--hebang-color-primary-dark); }
.hebang-footer--brand .hebang-footer-social-link:hover, .hebang-footer--brand .hebang-footer-social-link:focus-visible { background: var(--hebang-color-primary); color: var(--hebang-color-primary-ink); }
.hebang-footer--brand .hebang-footer-social-icon { width: 20px; height: 20px; }

/* 订阅使用独立控件边界；字段、错误和提交区域仍遵循原生表单网格。 */
.hebang-footer-updates .hebang-form--subscribe .hebang-form-body { grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
.hebang-footer-updates .hebang-form--subscribe .hebang-form-control { height: 50px; min-height: 50px; padding: 10px 12px; border: 1px solid var(--hebang-color-border-input); border-radius: 3px 0 0 3px; background: var(--hebang-color-white); }
.hebang-footer-updates .hebang-form--subscribe .hebang-form-control[aria-invalid="true"] { border: 2px solid var(--hebang-color-danger-border); }
.hebang-footer-updates .hebang-form--subscribe .hebang-form-actions { padding: 0; border-radius: 0; }
.hebang-footer-updates .hebang-form--subscribe .hebang-form-submit { height: 50px; min-height: 50px; padding: 10px 14px; border-radius: 0 3px 3px 0; background: var(--hebang-color-primary); color: var(--hebang-color-primary-ink); font-size: 14px; }
.hebang-footer-updates .hebang-form-submit-arrow { display: none; }
.hebang-footer-updates .hebang-form--subscribe .hebang-form-submit:hover { background: var(--hebang-color-primary-soft); }
.hebang-footer-signature { position: relative; padding: 8px 80px 24px 24px; }
.hebang-footer-logo-link { display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
/* 标志保持完整比例；按屏幕高度缩放留出版权行，内容区不设固定高度。 */
.hebang-footer-logo { display: block; width: auto; max-width: 100%; height: clamp(150px, 24vh, 220px); object-fit: contain; }
.hebang-footer-cord { position: absolute; right: 0; bottom: 0; width: 100%; height: auto; color: var(--hebang-color-primary); pointer-events: none; }
.hebang-footer--brand .hebang-footer-divider { display: none; }
.hebang-footer--brand .hebang-footer-copyright { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 16px 0; }
.hebang-footer--brand .hebang-footer-copyright-pad { flex: 1 0 100%; min-width: 0; padding: 0; }
.hebang-footer--brand .hebang-footer-copyright-inner, .hebang-footer--brand .hebang-icp { color: var(--hebang-color-primary-ink); text-align: left; }
.hebang-footer--brand .hebang-footer-copyright-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.hebang-footer--brand .hebang-copyright { font-size: 13px; }
.hebang-footer-policy-links { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hebang-footer-privacy-link, .hebang-footer-cookie-settings { color: var(--hebang-color-primary-ink); font-size: 13px; text-decoration: none; }
.hebang-footer-cookie-settings { padding: 0; border: 0; background: transparent; font-family: inherit; line-height: inherit; cursor: pointer; }
.hebang-footer-privacy-link + .hebang-footer-cookie-settings { padding-left: 12px; border-left: 1px solid currentColor; }
.hebang-footer-privacy-link:hover, .hebang-footer-cookie-settings:hover { text-decoration: underline; }
.hebang-footer--brand .hebang-footer-legal, .hebang-footer--brand .hebang-icp { margin: 0; }
.hebang-footer--brand a:focus-visible { outline: 2px solid var(--hebang-color-primary-dark); outline-offset: 4px; }

/* 笔记本短屏减少装饰与留白，保留完整菜单和表单的自然高度。 */
@media (min-width: 1025px) and (max-height: 850px) {
  .hebang-footer-brand-inner { padding-top: 16px; }
  .hebang-footer-invitation { padding-top: 20px; padding-bottom: 20px; }
  .hebang-footer-heading { font-size: clamp(40px, 4.2vw, 60px); }
  .hebang-footer-conversation { gap: 8px; padding-top: 20px; padding-bottom: 20px; }
  .hebang-footer-directory { padding-top: 16px; padding-bottom: 8px; }
  .hebang-footer-logo { height: 150px; }
  .hebang-footer--brand .hebang-footer-copyright { padding-top: 14px; padding-bottom: 14px; }
}

@media (max-width: 1024px) {
  .hebang-footer-intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hebang-footer-invitation { padding-right: 24px; }
  .hebang-footer-conversation { padding: 28px 24px; }
  .hebang-footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .hebang-footer-navigation { grid-column: 1 / -1; padding: 0 0 16px; border-bottom: 1px solid var(--hebang-color-primary); }
  .hebang-footer--brand .hebang-footer-col--contact { padding-left: 0; border-left: 0; }
}
@media (max-width: 767px) {
  .hebang-footer-brand-inner { width: calc(100% - 40px); padding-top: 40px; }
  .hebang-footer-intro { grid-template-columns: minmax(0, 1fr); }
  .hebang-footer-invitation { padding: 0 0 32px; }
  .hebang-footer-heading { font-size: clamp(34px, 8vw, 58px); }
  .hebang-footer-conversation { border-radius: 32px 0 0; }
  .hebang-footer-directory { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 16px 0; }
  .hebang-footer-navigation { gap: 20px; padding: 16px 0; }
  .hebang-footer--brand .hebang-footer-directory-col { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--hebang-color-primary); }
  .hebang-footer--brand .hebang-footermenu-link { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  .hebang-footer-updates .hebang-form--subscribe .hebang-form-body { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hebang-footer-updates .hebang-form--subscribe .hebang-form-control, .hebang-footer-updates .hebang-form--subscribe .hebang-form-submit { border-radius: 3px; }
  .hebang-footer-updates .hebang-form--subscribe .hebang-form-actions { grid-column: 1; grid-row: 3; margin: 0; }
  .hebang-footer-signature { padding: 8px 24px 18px 4px; }
  .hebang-footer-logo { width: 100%; height: auto; }
  .hebang-footer--brand .hebang-copyright { flex-basis: 100%; }
  .hebang-footer-policy-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hebang-footer--brand .hebang-footermenu-link, .hebang-footer--brand .hebang-footermenu-arrow .hebang-icon { transition: none; }
}
