/* Blog + help, skinned to Kuang's template of record (helpmebaby-pkg/HelpMeBaby_UI.html: Blog index, Blog post,
   Help center home, Help article). Every value below is copied from the template's inline styles and <style> blocks. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2"); }
body { margin: 0; background: #FFFFFF; }
a { color: #1F5470; } a:hover { color: #163E54; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp { font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: #1B2430; background: #FFFFFF; }
.tp-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: #B04E0C;
  color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; }
.tp-cta:hover { color: #FFFFFF; }
.tp-cta.lg { min-height: 46px; padding: 0 20px; }
.tp-crumb { font-size: 14px; color: #5B6676; margin-bottom: 20px; }
.tp-crumb a { color: #5B6676; }
.tp-foot { background: #13202B; padding: 32px 24px; }
.tp-foot-row { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 14px; color: #9FB0BE; }
.tp-foot-row.wide { max-width: 1240px; }
.tp-foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.tp-foot a { color: #C9D4DD; text-decoration: none; }

/* blog header */
/* The one site menu for blog and help (bloghelp._menu): the main header's look (marketing.css .mk-top: white bar,
   logo left, links right, the same sizes and colours), sticky at the top while the reader scrolls. On small screens
   the links collapse into a <details> menu button (no script). */
html { scroll-padding-top: 88px; }
.sm-top { position: sticky; top: 0; z-index: 30; background: #FFFFFF; border-bottom: 1px solid #E3E7EC; }
.sm-bar { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; min-height: 72px; display: flex;
  flex-wrap: wrap; align-items: center; gap: 24px; }
.sm-bar.wide { max-width: 1240px; }
.sm-logo img { display: block; height: 48px; width: auto; }
.sm-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.sm-links a, .sm-signin, .sm-drop a:not(.tp-cta) { color: #33404F; text-decoration: none; }
.sm-links a[aria-current], .sm-drop a[aria-current] { color: #13202B; font-weight: 600; }
.sm-actions { display: flex; align-items: center; gap: 12px; }
.sm-signin { font-size: 15px; padding: 10px 4px; }
.sm-more { display: none; margin-left: auto; }
.sm-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid #C9D3DC; }
.sm-more summary::-webkit-details-marker { display: none; }
.sm-burger, .sm-burger::before, .sm-burger::after { display: block; width: 20px; height: 2px; background: #13202B;
  border-radius: 1px; }
.sm-burger { position: relative; }
.sm-burger::before, .sm-burger::after { content: ""; position: absolute; left: 0; }
.sm-burger::before { top: -6px; }
.sm-burger::after { top: 6px; }
.sm-drop { position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid #E3E7EC;
  box-shadow: 0 8px 16px rgba(19, 32, 43, 0.08); padding: 8px 16px 16px; display: flex; flex-direction: column; }
.sm-drop a:not(.tp-cta) { font-size: 16px; padding: 12px 0; border-bottom: 1px solid #E3E7EC; }
.sm-drop .tp-cta { margin-top: 12px; justify-content: center; }

/* blog index */
.bl-wrap { max-width: 1200px; margin: 0 auto; }
.bl-stack14 { display: flex; flex-direction: column; gap: 14px; }
.bl-stack24 { display: flex; flex-direction: column; gap: 24px; }
.bl-stack28 { display: flex; flex-direction: column; gap: 28px; }
.bl-hero { padding: 72px 24px 40px; }
.bl-hero h1 { margin: 0; font-size: 48px; line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; color: #13202B; }
.bl-lead { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.55; color: #44505F; }
.bl-featsec { padding: 0 24px 56px; }
.bl-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; align-items: center; max-width: 1200px;
  margin: 0 auto; text-decoration: none; color: inherit; border: 1px solid #E3E7EC; border-radius: 16px; overflow: hidden; }
.bl-art { background: #13202B; min-height: 320px; display: flex; align-items: center; justify-content: center; padding: 32px; align-self: stretch; }
.bl-art svg { max-width: 100%; height: auto; }
.bl-feat-copy { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.bl-feat-cat { font-size: 13px; font-weight: 600; }
.bl-feat-copy h2 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; color: #13202B; }
.bl-feat-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: #44505F; }
.bl-feat-copy p.bl-byline { font-size: 14px; color: #5B6676; }
.bl-card:hover h3, .bl-card:hover h2 { text-decoration: underline; }
.bl-allsec { padding: 0 24px 72px; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5DCE3;
  background: #FFFFFF; color: #33404F; font-size: 14px; font-weight: 500; text-decoration: none; box-sizing: border-box; }
.bl-chip:hover { color: #33404F; }
.bl-chip[aria-current], .bl-chip[aria-current]:hover { border-color: #13202B; background: #13202B; color: #FFFFFF; }
.bl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.bl-grid > .bl-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid #E3E7EC; border-radius: 14px;
  text-decoration: none; color: inherit; background: #FFFFFF; }
.bl-tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.bl-grid h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 600; color: #13202B; }
.bl-grid p { margin: 0; font-size: 15px; line-height: 1.6; color: #44505F; }
.bl-meta { margin-top: auto; font-size: 13px; color: #5B6676; }
.bl-empty { margin: 0; font-size: 15px; color: #5B6676; }

/* blog post */
.bp-art { padding: 56px 24px 32px; }
.bp-col { max-width: 720px; margin: 0 auto; }
.bp-col h1 { margin: 0 0 18px; font-size: 46px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; color: #13202B; }
.bp-lead { margin: 0 0 28px; font-size: 21px; line-height: 1.5; color: #44505F; }
.bp-author { display: flex; align-items: center; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid #E3E7EC; margin-bottom: 36px; }
.bp-author > div { display: flex; flex-direction: column; gap: 2px; }
.bp-avatar { width: 44px; height: 44px; border-radius: 50%; background: #E2EDF4; color: #1F5470; display: flex; align-items: center;
  justify-content: center; font-weight: 700; flex: none; }
.bp-by { font-size: 15px; font-weight: 600; }
.bp-when { font-size: 14px; color: #5B6676; }
.bp-body p { margin: 0 0 22px; font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif; font-size: 20px; line-height: 1.65; color: #22303D; }
.bp-body h2 { margin: 44px 0 14px; font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: #13202B; }
.bp-body ul { margin: 0 0 22px; padding-left: 24px; font-family: 'Source Serif 4', Georgia, serif; font-size: 20px; line-height: 1.65; color: #22303D; }
.bp-body li { margin-bottom: 8px; }
.bp-try { margin: 40px 0 0; padding: 28px; border-radius: 14px; background: #F5F2FC; border: 1px solid #DDD3F3; display: flex;
  flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.bp-try > div { display: flex; flex-direction: column; gap: 6px; max-width: 440px; }
.bp-try-h { font-size: 19px; font-weight: 700; color: #13202B; }
.bp-try-p { font-size: 15px; line-height: 1.55; color: #44505F; }
.bp-relsec { padding: 40px 24px 80px; }
.bp-relsec h2 { margin: 0; font-size: 24px; font-weight: 700; color: #13202B; }
.bp-relgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.bp-rel { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid #E3E7EC; border-radius: 14px;
  text-decoration: none; color: inherit; }
.bp-rel:hover h3 { text-decoration: underline; }
.bp-rel-cat { font-size: 13px; font-weight: 600; }
.bp-rel h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; color: #13202B; }
.bp-rel .bl-meta { margin-top: 0; }

/* help header */

/* help center home */
.hc-hero { background: #13202B; padding: 48px 24px 72px; }
.hc-hero-in { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.hc-hero h1 { margin: 0; font-size: 42px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: #FFFFFF; }
.hc-search { width: 100%; position: relative; margin: 0; }
.hc-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.hc-search input { width: 100%; box-sizing: border-box; min-height: 56px; padding: 0 18px 0 50px; border: 0; border-radius: 12px;
  font: inherit; font-size: 17px; color: #1B2430; background: #FFFFFF; }
.hc-popular { margin: 0; font-size: 14px; color: #C9D4DD; }
.hc-popular a { color: #FFFFFF; }
.hc-sec { padding: 56px 24px; }
.hc-results { padding-bottom: 0; }
.hc-wrap { max-width: 1200px; margin: 0 auto; }
.hc-stack24 { display: flex; flex-direction: column; gap: 24px; }
.hc-stack16 { display: flex; flex-direction: column; gap: 16px; }
.hc-sec h2, .hc-band h2 { margin: 0; font-size: 24px; font-weight: 700; color: #13202B; }
.hc-cat { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hc-catcard { border: 1px solid #E3E7EC; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.hc-catcard h3 { margin: 0; font-size: 18px; font-weight: 600; }
.hc-catcard h3 a { color: #13202B; text-decoration: none; }
.hc-catcard ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.hc-catcard li a { text-decoration: none; } .hc-catcard li a:hover { text-decoration: underline; }
.hc-band { background: #F6F7F9; border-top: 1px solid #E3E7EC; padding: 56px 24px 72px; }
.hc-split { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hc-rows { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid #E3E7EC; }
.hc-rows li { border-bottom: 1px solid #E3E7EC; }
.hc-rows a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; color: #13202B;
  font-size: 16px; font-weight: 500; }
.hc-rows a span { color: #5B6676; }
.hc-none { margin: 0; font-size: 16px; color: #44505F; }
.hc-stuck { background: #FFFFFF; border: 1px solid #E3E7EC; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.hc-band .hc-stuck h2 { font-size: 21px; }
.hc-stuck p { margin: 0; font-size: 15px; line-height: 1.6; color: #44505F; }
.hc-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 8px; background: #1F5470;
  color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; }
.hc-btn:hover { color: #FFFFFF; }
.hc-alt { font-size: 15px; font-weight: 500; }

/* help article */
.ha-grid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px;
  gap: 48px; align-items: start; }
.ha-side { position: sticky; top: 24px; }
.ha-nav { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.ha-back { font-size: 13px; color: #5B6676; margin-bottom: 8px; }
.ha-side-h { font-size: 13px; font-weight: 600; color: #33404F; text-transform: uppercase; letter-spacing: 0.05em; margin: 6px 0 6px; }
.ha-side-a { padding: 8px 12px; border-radius: 8px; color: #33404F; text-decoration: none; }
.ha-side-a[aria-current] { background: #EAF2F7; color: #13202B; font-weight: 600; }
.ha-main { min-width: 0; }
.ha-crumb { margin-bottom: 16px; }
.ha-main h1 { margin: 0 0 12px; font-size: 38px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #13202B; }
.ha-meta { margin: 0 0 32px; font-size: 14px; color: #5B6676; }
.ha-body p, .ha-body li { font-size: 17px; line-height: 1.65; color: #22303D; }
.ha-body p { margin: 0 0 18px; }
.ha-body h2 { margin: 40px 0 12px; font-size: 23px; line-height: 1.3; font-weight: 700; color: #13202B; scroll-margin-top: 24px; }
.ha-list { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.ha-note { margin: 0 0 18px; padding: 16px 18px; border-radius: 10px; background: #FFF8E6; border: 1px solid #F0DFAE; display: flex; gap: 12px; }
.ha-note svg { flex: none; margin-top: 3px; }
.ha-body .ha-note p { margin: 0; font-size: 16px; line-height: 1.6; color: #33404F; }
.ha-related { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.ha-related h2 { margin: 0; font-size: 19px; font-weight: 700; color: #13202B; }
.ha-related a { font-size: 16px; }
.ha-toc { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ha-toc .ha-side-h { margin: 0 0 4px; }
.ha-toc a { color: #44505F; text-decoration: none; }

/* the template's .ha-toc/.ha-nav display:none rules lose to its inline display:flex, so its rendered page keeps both
   (phone: guide list on top, "On this page" at the end). We match what it renders. */
@media (max-width: 1100px) { .ha-grid { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 900px) { .bl-feature { grid-template-columns: 1fr; } .hc-split { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ha-grid { grid-template-columns: 1fr; }
  .sm-links, .sm-actions { display: none; }
  .sm-more { display: block; }
  .sm-bar { padding: 12px 16px; min-height: 64px; }
}
/* port-static-fixes D4: on one column the guide list sits above the article, and with every topic listed it filled
   the whole first screen (h1 at y 756 on a 390x844 phone). Here it keeps "All topics", the current guide's topic
   heading and that topic's guides, the one-topic list the template's article shows above its h1. The nav is a flat
   list, so the current topic is found with :has(); a browser without :has() keeps the full list, as before. */
@media (max-width: 760px) {
  .ha-nav:has([aria-current]) > .ha-side-h, .ha-nav:has([aria-current]) > .ha-side-a { display: none; }
  .ha-nav > .ha-side-h:has(~ [aria-current]):not(:has(~ .ha-side-h ~ [aria-current])) { display: block; }
  .ha-nav > .ha-side-h:has(~ [aria-current]):not(:has(~ .ha-side-h ~ [aria-current])) ~ .ha-side-a { display: block; }
  .ha-nav > .ha-side-h:has(~ [aria-current]):not(:has(~ .ha-side-h ~ [aria-current])) ~ .ha-side-h ~ .ha-side-a { display: none; }
}
@media (max-width: 640px) {
  .bp-body p, .bp-body ul { font-size: 18px; }
}
