@media(max-width:900px){
  header.wp-block-template-part{
    z-index:99999 !important;
    position:sticky;
  }
  .ch-header__nav[aria-hidden="false"]{
    z-index:99999 !important;
  }
  .entry-content.wp-block-post-content{
    z-index:auto !important;
    position:static !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER STACKING + STICKY
   theme.json emits `.wp-site-blocks > * { position:relative; z-index:1 }`,
   which lands on BOTH the header template-part wrapper and <main>.
   Equal z-index means DOM order decides, so <main> paints over the
   header. Two consequences:
     · .ch-header's own position:sticky is trapped in a containing block
       exactly its own height, so it never actually sticks;
     · the Amazon Hub dropdown lives inside the header, so the first
       section of every page covers it — transparent sections (the home
       hero) let it show through but still swallow the clicks, opaque
       ones hide it outright.
   Lifting the wrapper fixes both. This was previously done only below
   900px, which is why mobile behaved and desktop did not.
   ═══════════════════════════════════════════════════════════════ */
header.wp-block-template-part{
	position: sticky;
	/* 0 for visitors; clears the admin bar when logged in. */
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

/* ═══════════════════════════════════════════════════════════════
   NAV DROPDOWN — THEME TOKENS, NOT CORE'S WHITE DEFAULT
   Core ships .wp-block-navigation:not(.has-background)
   .wp-block-navigation__submenu-container { background:#fff; color:#000 }
   at specificity 0-3-0, which outranks the theme's .ch-nav ul ul at
   0-1-2 — hence the white panel with black text. Matching core's
   specificity hands the panel back to the tokens, so it tracks
   light/dark like every other surface.
   ═══════════════════════════════════════════════════════════════ */
.ch-nav.wp-block-navigation .wp-block-navigation__submenu-container{
	background-color: var(--ch-panel-raised);
	color: var(--ch-text);
	border: 1px solid var(--ch-hairline-soft);
	border-radius: var(--ch-radius);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.ch-nav.wp-block-navigation .wp-block-navigation__submenu-container a{
	color: var(--ch-text-dim);
}
.ch-nav.wp-block-navigation .wp-block-navigation__submenu-container a:hover{
	color: var(--ch-gold-ink);
}

/* ═══════════════════════════════════════════════════════════════
   HOME HERO — ONE SET OF PADDING, NOT TWO
   parts/styles BLOCK J gives every .ch-hero 112px of top padding for
   the Amazon Hub grid hero. The homepage hero is the older markup and
   already pads itself via .ch-hero__content, so the two stacked into a
   ~208px void under the nav. The grid hero has no .ch-hero__content,
   so it keeps its padding untouched.
   ═══════════════════════════════════════════════════════════════ */
.ch-hero:has(> .ch-hero__content){
	padding-block: 0;
}
