/* nn-goldheads-20261128-v2
   Bold deep-gold section headings (brand --sf-gold #805d24).
   v2: .sf-root.sf-root raises specificity so colour and weight beat nn-sf-shop v3/v4, which load after this file.

   Why !important: shop CSS resets .sf-root.sf-root h2 to color:inherit, border:0 and
   background:none, which currently strips the intended gold from
   h2.nn-top12 ("Our top 12 finds") and keeps other section titles in ink.

   Contrast of #805d24: 5.89:1 on cream #fffdf9, 5.60:1 on paper #faf7f1,
   5.98:1 on white (WCAG AA normal and large). Lighter golds (#c9a45c,
   #c9a462) fail 3:1 on these backgrounds and are used only as a 2px accent.
   Dark-band headings stay light. Page titles (h1), card names, footer,
   age-gate and FAQ questions are left alone.
*/

/* --- shop, homepage, hub and featured-group titles --- */
html body .gh-content .sf-root.sf-root .sf-sec > h2,
html body .gh-content .sf-root.sf-root .sf-picker > h2,
html body .gh-content .sf-root.sf-root .sf-help > h2,
html body .gh-content .sf-root.sf-root .sf-verdict > h2,
html body .gh-content .sf-root.sf-root .sf-learn-groups > h2,
html body .gh-content .sf-root.sf-root .sf-t3-head > h2,
html body .gh-content .sf-root.sf-root [class^="nn-"][class*="-bf"] > h2,
html body .gh-content .nn-hub-v3 > h2,
html body .gh-content .nn-quiz > h2,
html body .gh-content .nn-faq > h2,
html body .gh-content .nn-xm-faq > h2,
html body .gh-content .nn-readmore > h2,
html body .gh-content section.nn-type > h3,
html body .gh-content > h2,
html body .gh-content section > h2 {
  color: var(--sf-gold, #805d24) !important;
  font-weight: 700 !important;
}

/* Short gold accent under shop/hub titles. Guide article h2s already have
   the sitewide 44px --nn-g bar from nn-redesign; this only restores one
   inside .sf-root, where that bar is currently forced off. 2px + .45rem
   sits in the first paint when this file is in <head>, so it is not a CLS
   shift. Left-aligned to match .sf-root.sf-root text. */
html body .gh-content .sf-root.sf-root .sf-sec > h2::after,
html body .gh-content .sf-root.sf-root .sf-picker > h2::after,
html body .gh-content .sf-root.sf-root .sf-help > h2::after,
html body .gh-content .sf-root.sf-root .sf-verdict > h2::after,
html body .gh-content .sf-root.sf-root .sf-learn-groups > h2::after,
html body .gh-content .sf-root.sf-root .sf-t3-head > h2::after,
html body .gh-content .sf-root.sf-root [class^="nn-"][class*="-bf"] > h2::after,
html body .gh-content .nn-hub-v3 > h2::after {
  content: "" !important;
  display: block !important;
  width: 44px !important;
  height: 2px !important;
  margin: 0.45rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--sf-gold2, #c9a45c) !important;
  pointer-events: none;
}

/* "Our top 12 finds": restore the intended cream banner + gold rules that
   shop CSS currently strips, and set the text to bold gold. No extra
   ::after — the top/bottom bars are the accent. box-sizing is already
   border-box with min-height 44px, so borders stay inside the reserved box. */
html body .gh-content .sf-root.sf-root #cyber-weekend > h2.nn-top12 {
  color: var(--sf-gold, #805d24) !important;
  font-weight: 700 !important;
  text-align: center !important;
  background: var(--sf-cream, #fffdf9) !important;
  border-top: 1px solid var(--sf-gold2, #c9a45c) !important;
  border-bottom: 1px solid var(--sf-gold2, #c9a45c) !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

html body .gh-content .sf-root.sf-root #cyber-weekend > h2.nn-top12::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  background: none !important;
}

/* Keep light text on dark bands (existing nn-redesign treatment). */
html body .gh-content .nn-r-band--black h1,
html body .gh-content .nn-r-band--black h2,
html body .gh-content .nn-r-band--black h3,
html body .gh-content .nn-r-black h2,
html body .gh-content .nn-xm-verdict h2,
html body .gh-content .nn-picks h2,
html body .gh-content .nn-newbox h2 {
  color: #fff !important;
}
