/*
Theme Name: NEXPOS Nineteen
Description: Twenty Nineteen child theme with the NEXPOS responsive header and staging content layer.
Template: twentynineteen
Version: 1.0.166562
Text Domain: nexpos-nineteen
*/

/* The generated NEXPOS header replaces Twenty Nineteen's site masthead. */
#masthead{display:none!important}

/* Outside the block-theme template part the header must be sticky itself.
   The generated fragment sets .nx-header{position:relative} later in the
   cascade, so this needs both a stronger selector and !important. */
body>.nx-header{position:sticky!important;top:0!important;z-index:9999!important;
  background:#fff;border-bottom:1px solid #e7ebf1;box-shadow:none;
  transition:box-shadow .25s ease}
body>.nx-header.nx-scrolled{box-shadow:0 10px 28px rgba(17,30,50,.09)!important}
.admin-bar body>.nx-header{top:32px!important}

/* Classic-theme shell: let the generated content layer own the widths. */
#content.site-content{padding-top:0}
/* The theme prints a per-page title block (the page/post name) directly under
   the sticky nav. Hide it on every page for a clean top — the production
   WoodMart build suppresses the page title too. It stays in the DOM for SEO;
   only the visual is removed so content starts right beneath the header. */
.entry-header{display:none!important}

/* Hard guard for the retired coral "聯絡我們" header CTA. It lives in the head
   stylesheet so even a stale cached body fragment is corrected after a purge.
   The search icon and right-alignment are no longer suppressed — www2 now
   mirrors www.nexposhk.com: a left-aligned nav with a search icon at the
   far right. */
a.nx-cta,.nx-drawer-foot{display:none!important}

/* Guard: Elementor/WoodMart inline icons have no width, so a cached body
   fragment that predates the content-layer fix would render 760x869 arrows.
   This head rule caps every content icon at text scale. */
.entry-content svg[aria-hidden="true"],
.entry-content :is(p,a,li,h2,h3,h4) svg{
  width:1.45em!important;height:1.45em!important;
  max-width:1.45em!important;max-height:1.45em!important;
  vertical-align:-.18em;overflow:visible}

/* Twenty Nineteen's heading rules read as stray dividers in copied pages. */
.entry-content :is(h1,h2,h3,h4)::before{content:none!important;display:none!important}
