.cznhmg-managed .entry-header .entry-title,
.cznhmg-managed .page-header .page-title,
.cznhmg-managed .wp-block-post-title { display: none !important; }
.cznhmg-managed .site-main,
.cznhmg-managed .content-area { overflow: visible; }
.cznhmg-wrap {
  --cz-text: #18212b;
  --cz-muted: #5a6775;
  --cz-line: #dfe5eb;
  --cz-soft: #f5f8fa;
  --cz-soft-blue: #edf6ff;
  --cz-blue: #0b66c3;
  --cz-blue-dark: #084d91;
  --cz-green: #13795b;
  --cz-amber: #9a6700;
  color: var(--cz-text);
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 72px;
  line-height: 1.72;
  font-size: 17px;
}
.cznhmg-wrap *, .cznhmg-wrap *::before, .cznhmg-wrap *::after { box-sizing: border-box; }
.cznhmg-wrap h1, .cznhmg-wrap h2, .cznhmg-wrap h3 { color: var(--cz-text); line-height: 1.2; letter-spacing: -0.025em; }
.cznhmg-wrap h1 { margin: 8px 0 18px; font-size: clamp(2.25rem, 5vw, 4.2rem); max-width: 920px; }
.cznhmg-wrap h2 { margin: 0 0 16px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.cznhmg-wrap h3 { margin: 0 0 8px; font-size: 1.18rem; }
.cznhmg-wrap p { margin: 0 0 18px; }
.cznhmg-wrap a { color: var(--cz-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cznhmg-hero { padding: 24px 0 8px; max-width: 980px; }
.cznhmg-kicker, .cznhmg-eyebrow { margin: 0 0 8px !important; color: var(--cz-blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cznhmg-lead { color: #344150; font-size: clamp(1.12rem, 2vw, 1.35rem); max-width: 880px; }
.cznhmg-reviewed { color: var(--cz-muted); font-size: .9rem; }
.cznhmg-jump { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 24px; border-bottom: 1px solid var(--cz-line); }
.cznhmg-jump a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 12px; border: 1px solid var(--cz-line); border-radius: 999px; background: #fff; color: #344150; font-size: .88rem; font-weight: 700; text-decoration: none; }
.cznhmg-jump a:hover { border-color: #9db9d5; color: var(--cz-blue-dark); }
.cznhmg-answer { margin: 32px 0 20px; padding: clamp(22px, 4vw, 34px); border: 1px solid #cbd9e6; border-radius: 18px; background: var(--cz-soft-blue); box-shadow: 0 10px 28px rgba(20, 55, 90, .05); }
.cznhmg-answer > p { max-width: 940px; font-size: 1.06rem; }
.cznhmg-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.cznhmg-choice-grid article { padding: 18px; border: 1px solid #d4e0eb; border-radius: 14px; background: rgba(255,255,255,.82); }
.cznhmg-choice-grid span { display: block; color: var(--cz-muted); font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 5px; }
.cznhmg-choice-grid p { margin: 0; color: #475565; font-size: .94rem; }
.cznhmg-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 34px; }
.cznhmg-facts div { min-height: 105px; padding: 18px; border: 1px solid var(--cz-line); border-radius: 14px; background: #fff; }
.cznhmg-facts span { display: block; color: var(--cz-muted); font-size: .78rem; font-weight: 700; margin-bottom: 8px; }
.cznhmg-facts strong { display: block; font-size: 1.05rem; line-height: 1.35; }
.cznhmg-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cznhmg-section-head h2 { margin-bottom: 0; }
.cznhmg-specs, .cznhmg-live, .cznhmg-tool, .cznhmg-sources, .cznhmg-faq, .cznhmg-related, .cznhmg-method { margin: 32px 0; padding: clamp(22px, 4vw, 32px); border: 1px solid var(--cz-line); border-radius: 18px; background: #fff; }
.cznhmg-specs { background: #fbfcfd; }
.cznhmg-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--cz-line); border-radius: 12px; background: #fff; }
.cznhmg-wrap table { width: 100%; min-width: 680px; border-collapse: collapse; margin: 0; font-size: .94rem; }
.cznhmg-wrap th, .cznhmg-wrap td { padding: 13px 14px; border-bottom: 1px solid var(--cz-line); text-align: left; vertical-align: top; }
.cznhmg-wrap thead th { background: #eef3f7; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.cznhmg-wrap tbody th { width: 25%; color: #334150; font-weight: 750; }
.cznhmg-wrap tr:last-child th, .cznhmg-wrap tr:last-child td { border-bottom: 0; }
.cznhmg-spec-note, .cznhmg-price-note { margin: 14px 0 0 !important; color: var(--cz-muted); font-size: .86rem; }
.cznhmg-refresh { flex: 0 0 auto; min-height: 40px; padding: 8px 14px; border: 1px solid #a9bfd3; border-radius: 10px; background: #fff; color: var(--cz-blue-dark); font: inherit; font-size: .87rem; font-weight: 750; cursor: pointer; }
.cznhmg-refresh:hover { background: #f2f7fb; }
.cznhmg-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .32fr); gap: 12px; margin-bottom: 14px; }
.cznhmg-controls label, .cznhmg-tool-grid label { display: flex; flex-direction: column; gap: 6px; color: #394758; font-size: .82rem; font-weight: 750; }
.cznhmg-controls input, .cznhmg-controls select, .cznhmg-tool input, .cznhmg-tool select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #bac6d1; border-radius: 9px; background: #fff; color: var(--cz-text); font: inherit; font-size: .95rem; }
.cznhmg-tool-grid label span { color: var(--cz-muted); font-size: .76rem; font-weight: 500; }
.cznhmg-status { min-height: 24px; margin: 8px 0 14px; color: var(--cz-muted); font-size: .88rem; }
.cznhmg-group { margin-top: 22px; }
.cznhmg-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cznhmg-group-head h3 { margin: 0; }
.cznhmg-group-head p { margin: 0; color: var(--cz-muted); font-size: .86rem; }
.cznhmg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cznhmg-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--cz-line); border-radius: 14px; background: #fff; }
.cznhmg-card[hidden] { display: none !important; }
.cznhmg-card-media { display: grid; place-items: center; min-height: 150px; padding: 18px; background: #f7f9fb; }
.cznhmg-card-media img { display: block; width: 100%; max-width: 190px; height: 125px; object-fit: contain; }
.cznhmg-placeholder { display: grid; place-items: center; width: 110px; height: 90px; border: 2px solid #aeb9c4; border-radius: 6px; color: #627080; font-size: .74rem; font-weight: 800; text-align: center; }
.cznhmg-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.cznhmg-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cznhmg-badges span { padding: 4px 7px; border-radius: 999px; background: #eef2f5; color: #485666; font-size: .68rem; font-weight: 800; }
.cznhmg-badges .is-saving { background: #e8f7f0; color: var(--cz-green); }
.cznhmg-badges .is-fallback { background: #fff4d8; color: var(--cz-amber); }
.cznhmg-card h3 { font-size: .98rem; line-height: 1.42; margin-bottom: 10px; }
.cznhmg-card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px !important; }
.cznhmg-card-specs span { padding: 4px 7px; border-radius: 7px; background: #f2f5f7; color: #52606e; font-size: .73rem; }
.cznhmg-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.cznhmg-price strong { font-size: 1.34rem; }
.cznhmg-price small { color: var(--cz-muted); font-size: .75rem; }
.cznhmg-amazon { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: var(--cz-blue); color: #fff !important; font-size: .86rem; font-weight: 800; text-align: center; text-decoration: none !important; }
.cznhmg-amazon:hover { background: var(--cz-blue-dark); }
.cznhmg-empty { padding: 20px; border: 1px dashed #b7c4cf; border-radius: 12px; background: #f8fafb; color: #4c5967; }
.cznhmg-fallback-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.cznhmg-fallback-links a { padding: 9px 11px; border: 1px solid #b7c8d7; border-radius: 9px; background: #fff; font-size: .84rem; font-weight: 750; text-decoration: none; }
.cznhmg-tool { background: #f7fafc; }
.cznhmg-tool > p { max-width: 860px; color: #475565; }
.cznhmg-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cznhmg-tool-result { margin-top: 18px; }
.cznhmg-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cznhmg-result-card { padding: 16px; border: 1px solid #d4dde5; border-radius: 12px; background: #fff; }
.cznhmg-result-card span { display: block; color: var(--cz-muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.cznhmg-result-card strong { display: block; margin-top: 5px; font-size: 1.28rem; line-height: 1.25; }
.cznhmg-result-card small { display: block; margin-top: 6px; color: var(--cz-muted); font-size: .78rem; }
.cznhmg-recommendation { padding: 18px; border: 1px solid #cbd9e6; border-radius: 12px; background: #fff; }
.cznhmg-recommendation strong { display: block; margin-bottom: 7px; font-size: 1.15rem; }
.cznhmg-recommendation p { margin: 0; color: #465463; }
.cznhmg-article { max-width: 850px; margin: 44px auto; }
.cznhmg-article section { scroll-margin-top: 90px; margin: 0 0 42px; }
.cznhmg-article h2 { margin-bottom: 16px; }
.cznhmg-article p { color: #303d4a; }
.cznhmg-sources ul { margin: 0; padding-left: 20px; }
.cznhmg-sources li { margin: 7px 0; }
.cznhmg-faq details { border-top: 1px solid var(--cz-line); }
.cznhmg-faq details:last-child { border-bottom: 1px solid var(--cz-line); }
.cznhmg-faq summary { padding: 16px 0; cursor: pointer; font-weight: 800; }
.cznhmg-faq details p { padding: 0 0 16px; margin: 0; color: #465463; }
.cznhmg-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cznhmg-related-grid a { display: block; padding: 13px 14px; border: 1px solid var(--cz-line); border-radius: 10px; background: #fafbfd; color: #24425f; font-weight: 750; text-decoration: none; }
.cznhmg-related-grid a:hover { border-color: #a8bfd4; background: #f3f7fa; }
.cznhmg-method { color: #52606e; font-size: .9rem; background: #f8fafb; }
.cznhmg-method h2 { font-size: 1.35rem; }

/* Theme integration: restore the site brand only when the active theme leaves the header blank. */
.cznhmg-header-brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none !important; font-weight: 800; }
.cznhmg-header-brand img { display: block; width: auto; max-width: 190px; max-height: 48px; object-fit: contain; }
.cznhmg-header-brand span { color: #18212b; font-size: 1.35rem; line-height: 1; }
.cznhmg-brand-host--overlay { position: relative; }
.cznhmg-header-brand--overlay { position: absolute; left: clamp(18px, 3vw, 56px); top: 50%; z-index: 20; transform: translateY(-50%); }

@media (max-width: 920px) {
  .cznhmg-facts, .cznhmg-tool-grid, .cznhmg-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cznhmg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cznhmg-wrap { padding: 12px 14px 56px; font-size: 16px; }
  .cznhmg-hero { padding-top: 12px; }
  .cznhmg-wrap h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .cznhmg-jump { gap: 6px; }
  .cznhmg-jump a { min-height: 34px; padding: 6px 9px; font-size: .76rem; }
  .cznhmg-choice-grid, .cznhmg-facts, .cznhmg-controls, .cznhmg-tool-grid, .cznhmg-result-grid, .cznhmg-cards, .cznhmg-related-grid { grid-template-columns: 1fr; }
  .cznhmg-section-head { display: block; }
  .cznhmg-refresh { margin-top: 10px; }
  .cznhmg-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
  .cznhmg-card-media { min-height: 100%; padding: 10px; }
  .cznhmg-card-media img { height: 88px; }
  .cznhmg-card-body { padding: 12px; }
  .cznhmg-wrap table { min-width: 620px; }
}

@media (max-width: 720px) {
  .cznhmg-header-brand img { max-width: 145px; max-height: 40px; }
  .cznhmg-header-brand span { font-size: 1.08rem; }
  .cznhmg-header-brand--overlay { left: 16px; }
}
