/* 好亲子网 Apple 风格预览层：删除本文件的页面引用即可完整回退。 */
:root {
  --hh-apple-blue: #0071e3;
  --hh-apple-blue-hover: #0077ed;
  --hh-apple-blue-dark: #0057b8;
  --hh-apple-ink: #1d1d1f;
  --hh-apple-copy: #424245;
  --hh-apple-muted: #6e6e73;
  --hh-apple-line: #d2d2d7;
  --hh-apple-soft-line: #e8e8ed;
  --hh-apple-canvas: #f5f5f7;
  --hh-apple-surface: #fff;
  --hh-apple-tint: #f1f6ff;
  --hh-apple-radius: 24px;
  --hh-apple-shadow: 0 18px 50px rgba(0, 0, 0, .07);
}

html {
  background: var(--hh-apple-canvas);
  scroll-behavior: smooth;
}

body {
  background: var(--hh-apple-canvas) !important;
  color: var(--hh-apple-ink) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--hh-apple-blue);
}

a:hover,
a:focus {
  color: var(--hh-apple-blue-hover);
}

::selection {
  background: #cfe3ff;
  color: var(--hh-apple-ink);
}

/* 动态站点：轻盈的玻璃导航与宽松版心 */
.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  margin: 0 0 26px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .86);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.logo {
  flex: 0 0 auto;
}

.logo a {
  height: 36px;
}

.logo img {
  max-height: 36px;
  margin: 0;
}

.brand {
  top: 0;
  height: auto;
  padding-left: 14px;
  border-color: var(--hh-apple-line);
  color: var(--hh-apple-muted);
  font-size: 12px;
  line-height: 1.45;
}

.topbar {
  display: none;
}

.site-navbar {
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
  font-size: 14px;
  font-weight: 500;
}

.site-navbar a {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--hh-apple-ink);
}

.site-navbar li:hover > a,
.site-navbar li.active a,
.site-navbar li.active a:hover,
.site-navbar a:hover,
.site-nav li.current-menu-item > a,
.site-nav li.current-menu-parent > a,
.search-on .site-navbar li.navto-search a {
  color: var(--hh-apple-blue) !important;
  background: var(--hh-apple-tint);
}

.site-nav .sub-menu {
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
  font-weight: 500;
}

.site-nav .sub-menu a {
  border-radius: 8px;
}

.site-search {
  height: 92px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.search-on .site-search {
  top: 65px;
}

.search-input {
  border: 1px solid var(--hh-apple-line);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: var(--hh-apple-surface);
  color: var(--hh-apple-ink);
}

.search-input:focus {
  border-color: var(--hh-apple-blue);
  box-shadow: inset 0 0 0 1px var(--hh-apple-blue);
}

.search-btn,
.btn-primary,
.label-primary,
.branding-primary,
#submit,
#bdcs .bdcs-search-form-submit {
  border-color: var(--hh-apple-blue) !important;
  background: var(--hh-apple-blue) !important;
}

.search-btn {
  border-radius: 0 14px 14px 0;
}

/* 首页与频道页 */
.carousel,
.carousel-inner,
.carousel-inner .item img {
  border-radius: var(--hh-apple-radius);
}

.carousel {
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--hh-apple-surface);
  box-shadow: var(--hh-apple-shadow);
}

.content {
  margin-right: 352px;
  margin-bottom: 28px;
}

.sidebar {
  width: 328px;
  margin-left: -328px;
}

.hhcn-intro-panel {
  margin: 24px 0;
  padding: clamp(28px, 5vw, 58px);
  border: 0;
  border-radius: 30px;
  background: linear-gradient(145deg, #fff 0%, #f1f6ff 100%);
  box-shadow: var(--hh-apple-shadow);
}

.hhcn-section-head span,
.hhcn-answer-head span {
  padding: 7px 13px;
  background: #e8f1ff;
  color: var(--hh-apple-blue-dark);
  letter-spacing: .04em;
}

.hhcn-section-head h1,
.hhcn-section-head h2,
.hhcn-section-head h3 {
  max-width: 760px;
  margin: 18px 0 14px;
  color: var(--hh-apple-ink);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.hhcn-section-head p {
  max-width: 780px;
  color: var(--hh-apple-copy);
  font-size: 17px;
  line-height: 1.75;
}

.hhcn-chip-row {
  gap: 9px;
  margin: 24px 0;
}

.hhcn-chip-row span {
  padding: 8px 13px;
  border: 1px solid var(--hh-apple-soft-line);
  background: rgba(255, 255, 255, .82);
  color: var(--hh-apple-copy);
}

.hhcn-trust-grid,
.hhcn-matrix-grid {
  gap: 16px;
}

.hhcn-trust-card,
.hhcn-matrix-card,
.hhcn-column-box,
.hhcn-widget,
.hhcn-answer-box,
.hhcn-process-box,
.hhcn-faq-box,
.hhcn-author-box,
.hhcn-topic-box,
.widget,
.excerpt,
.single .content,
.container-page .content,
.container-no-sidebar .content {
  border: 1px solid var(--hh-apple-soft-line);
  border-radius: 22px;
  background: var(--hh-apple-surface);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .045);
}

.hhcn-trust-card,
.hhcn-matrix-card,
.hhcn-column-box {
  padding: 22px;
}

.hhcn-trust-card strong,
.hhcn-matrix-card h3,
.hhcn-column-box h3,
.hhcn-widget h3,
.hhcn-answer-head h2,
.hhcn-process-box h2,
.hhcn-author-box h2,
.hhcn-topic-box h2,
.hhcn-answer-card strong,
.hhcn-faq-item strong {
  color: var(--hh-apple-ink);
}

.hhcn-trust-card p,
.hhcn-matrix-card p,
.hhcn-widget p,
.hhcn-widget li,
.hhcn-answer-summary,
.hhcn-answer-card p,
.hhcn-process-box li,
.hhcn-faq-item p,
.hhcn-author-box li {
  color: var(--hh-apple-copy);
}

.hhcn-matrix-card,
.hhcn-column-box,
.hhcn-trust-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.hhcn-matrix-card:hover,
.hhcn-column-box:hover,
.hhcn-trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .08);
}

.hhcn-action-row {
  margin-top: 26px;
}

.hhcn-action-row a,
.hhcn-link-row a,
.article-tags a,
.pagination ul > li > a,
.pagination ul > li > span {
  border: 1px solid var(--hh-apple-line);
  border-radius: 999px;
  background: var(--hh-apple-surface);
  color: var(--hh-apple-blue);
}

.hhcn-action-row a.primary,
.pagination ul > .active > a,
.pagination ul > .active > span,
.pagenav .current {
  border-color: var(--hh-apple-blue) !important;
  background: var(--hh-apple-blue) !important;
  color: #fff !important;
}

.hhcn-action-row a:hover,
.hhcn-link-row a:hover {
  border-color: var(--hh-apple-blue);
  background: var(--hh-apple-tint);
}

.title,
.pagetitle {
  margin: 34px 0 16px;
}

.title h3,
.pagetitle h1,
.pagetitle h2 {
  color: var(--hh-apple-ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.excerpt {
  margin-bottom: 14px;
  padding: 24px;
}

.excerpt:hover {
  border-color: var(--hh-apple-line);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .075);
}

.excerpt h2,
.excerpt h2 a,
.article-title,
.article-title a {
  color: var(--hh-apple-ink);
}

.excerpt .note,
.excerpt .meta,
.article-meta,
.muted {
  color: var(--hh-apple-muted);
}

.excerpt .cat,
.article-tags a:hover,
.tagcloud a:hover,
.widget_ui_tags .items a:hover {
  border-color: var(--hh-apple-blue) !important;
  background: var(--hh-apple-blue) !important;
  color: #fff !important;
}

.excerpt .cat i {
  border-left-color: var(--hh-apple-blue) !important;
}

.widget,
.hhcn-widget {
  margin-bottom: 18px;
  padding: 22px;
}

.widget h3 {
  border-color: var(--hh-apple-soft-line);
  color: var(--hh-apple-ink);
}

.widget_ui_posts li a,
.widget_ui_posts .text,
.widget_ui_posts .nopic .text,
.hhcn-column-box a {
  color: var(--hh-apple-copy);
}

.single .content,
.container-page .content,
.container-no-sidebar .content {
  padding: clamp(22px, 4vw, 42px);
}

.article-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.article-content {
  color: var(--hh-apple-copy);
  font-size: 16px;
  line-height: 1.85;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  border-color: var(--hh-apple-soft-line);
  color: var(--hh-apple-ink);
}

.article-content a {
  color: var(--hh-apple-blue) !important;
}

.article-content blockquote,
.hhcn-list-note {
  border-left-color: var(--hh-apple-blue) !important;
  border-radius: 0 16px 16px 0;
  background: var(--hh-apple-tint);
  color: var(--hh-apple-copy);
}

.footer {
  margin-top: 36px;
  padding: 42px 0;
  border-top: 1px solid var(--hh-apple-soft-line);
  background: #e8e8ed;
  color: var(--hh-apple-muted);
}

.footer a,
.footer a:hover,
.hhcn-beian {
  color: var(--hh-apple-copy);
}

/* 独立信源页：复用同一套 Apple 视觉语言 */
body > .top {
  position: sticky;
  top: 0;
  z-index: 1000;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

body > .top .top-inner {
  min-height: 68px;
}

body > .top .logo {
  color: var(--hh-apple-ink);
}

body > .top .mark {
  border-radius: 12px;
  background: linear-gradient(145deg, var(--hh-apple-blue), var(--hh-apple-blue-dark)) !important;
  box-shadow: 0 8px 20px rgba(0, 113, 227, .22);
}

body > .top .nav a {
  border: 0;
  background: transparent;
  color: var(--hh-apple-copy);
}

body > .top .nav a:hover {
  background: var(--hh-apple-tint);
  color: var(--hh-apple-blue);
}

body > main.wrap .crumb {
  color: var(--hh-apple-muted);
}

body > main.wrap .hero {
  padding: clamp(30px, 6vw, 68px);
  border: 0;
  border-radius: 30px;
  background: linear-gradient(145deg, #fff 0%, #f1f6ff 100%);
  box-shadow: var(--hh-apple-shadow);
}

body > main.wrap .kicker {
  padding: 7px 13px;
  background: #e8f1ff;
  color: var(--hh-apple-blue-dark);
}

body > main.wrap h1 {
  color: var(--hh-apple-ink);
  font-size: clamp(36px, 5.4vw, 62px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
}

body > main.wrap .hero p,
body > main.wrap .card p,
body > main.wrap .card li,
body > main.wrap .case p,
body > main.wrap .case li {
  color: var(--hh-apple-copy);
}

body > main.wrap .grid {
  gap: 20px;
}

body > main.wrap .card,
body > main.wrap .case {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--hh-apple-soft-line);
  border-radius: var(--hh-apple-radius);
  background: var(--hh-apple-surface);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .045);
}

body > main.wrap .card h2,
body > main.wrap .fact strong,
body > main.wrap .faq summary {
  color: var(--hh-apple-ink);
}

body > main.wrap .fact,
body > main.wrap .faq details,
body > main.wrap .item {
  border: 1px solid var(--hh-apple-soft-line);
  border-radius: 16px;
  background: var(--hh-apple-canvas);
}

body > main.wrap .meta,
body > main.wrap .badge {
  background: #e8f1ff;
  color: var(--hh-apple-blue-dark);
}

body > main.wrap .phone {
  background: linear-gradient(145deg, var(--hh-apple-blue), var(--hh-apple-blue-dark)) !important;
  box-shadow: 0 10px 26px rgba(0, 113, 227, .2);
}

body > main.wrap .cta {
  border-radius: 26px;
  background: linear-gradient(145deg, var(--hh-apple-blue), #004f9f) !important;
  box-shadow: 0 18px 44px rgba(0, 83, 170, .2);
}

body > main.wrap .cta p {
  color: #eaf2ff;
}

body > main.wrap .cta a {
  color: var(--hh-apple-blue-dark);
}

body > .foot {
  background: #e8e8ed;
  color: var(--hh-apple-muted);
}

body > .foot a {
  color: var(--hh-apple-copy);
}

/* 清除旧主题中可见的绿色状态色 */
.asb-post-footer b,
.readers a.item-2 h4,
.has-vivid-green-cyan-color {
  color: var(--hh-apple-blue) !important;
}

.comt-tip,
.widget_ui_textasb a.style03 strong,
.has-vivid-green-cyan-background-color {
  background: var(--hh-apple-blue) !important;
}

.widget_ui_textasb a.style03,
.widget_ui_textasb a.style03:hover {
  border-color: var(--hh-apple-blue) !important;
  color: var(--hh-apple-blue) !important;
}

@media (max-width: 1024px) {
  .content {
    margin-right: 0;
  }

  .sidebar {
    display: none;
  }

  .brand {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 64px;
  }

  .container,
  .wrap {
    width: min(100% - 28px, 1180px);
    margin-right: auto;
    margin-left: auto;
  }

  .header {
    position: fixed;
    height: 64px;
    margin: 0;
    padding: 14px 0;
  }

  .header .container {
    display: block;
    width: 100%;
    margin: 0;
  }

  .logo a {
    height: 34px;
  }

  .m-icon-nav {
    top: -14px;
    color: var(--hh-apple-copy);
  }

  .m-nav-show .m-icon-nav {
    color: var(--hh-apple-blue) !important;
  }

  .m-navbar {
    background: #1d1d1f;
  }

  .m-navbar li a {
    border-color: #3a3a3c;
  }

  .site-navbar li.navto-search {
    top: -14px;
  }

  .search-on .site-search {
    top: 64px;
  }

  .hhcn-intro-panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .hhcn-section-head h1,
  .hhcn-section-head h2,
  .hhcn-section-head h3 {
    font-size: 34px;
  }

  .hhcn-trust-grid,
  .hhcn-matrix-grid,
  .hhcn-columns,
  .hhcn-answer-grid,
  body > main.wrap .grid,
  body > main.wrap .facts {
    grid-template-columns: 1fr;
  }

  .excerpt {
    padding: 18px;
  }

  .footer {
    padding: 32px 0;
  }

  body > .top {
    position: relative;
    margin-top: -64px;
  }

  body > .top .top-inner,
  body > main.wrap .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  body > .top .nav {
    scrollbar-width: none;
  }

  body > .top .nav::-webkit-scrollbar {
    display: none;
  }

  body > main.wrap .hero,
  body > main.wrap .card,
  body > main.wrap .case {
    padding: 24px 20px;
  }

  body > main.wrap h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
