/* Woiya Design v2 — RC2 Preview 5
 * Header / Sticky Stack / Typography Audit.
 * Goal: compact premium header, larger logo, deterministic sticky offsets,
 * and a more coherent typography scale across all Woiya surfaces.
 */
:root{
  --w2-header-h:54px;
  --w2-trending-h:30px;
  --w2-sticky-stack-h:84px;
}
html{scroll-padding-top:calc(var(--w2-sticky-stack-h) + 14px)}
body.theme-woiya{
  font-size:14px!important;
  line-height:1.58!important;
}
body.theme-woiya :is([id],.tech-spec-anchor){scroll-margin-top:calc(var(--w2-sticky-stack-h) + 14px)}

/* Header: one stable geometry; no shrinking/jitter on scroll. */
body.theme-woiya header.w2-header.t26-header{
  position:sticky!important;
  top:0!important;
  z-index:1200!important;
  background:rgba(255,255,255,.975)!important;
  border-bottom:1px solid #e6e9ed!important;
  box-shadow:0 0 0 rgba(0,0,0,0)!important;
  -webkit-backdrop-filter:saturate(160%) blur(12px)!important;
  backdrop-filter:saturate(160%) blur(12px)!important;
  transition:box-shadow .18s ease,border-color .18s ease!important;
}
body.theme-woiya header.w2-header.t26-header.is-scrolled{
  border-bottom-color:#dde2e7!important;
  box-shadow:0 5px 18px rgba(15,23,42,.065)!important;
}
body.theme-woiya .w2-header-row.t26-header-inner,
body.theme-woiya .w2-header.is-scrolled .w2-header-row{
  min-height:54px!important;
  height:54px!important;
  padding:1px 0!important;
  grid-template-columns:auto minmax(0,1fr) minmax(200px,230px)!important;
  gap:16px!important;
  transition:none!important;
}
body.theme-woiya .w2-logo.t26-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:1px!important;
  margin:0!important;
  line-height:1!important;
  min-width:0!important;
}
body.theme-woiya .w2-logo.t26-logo img,
body.theme-woiya .w2-header.is-scrolled .w2-logo img{
  width:auto!important;
  height:auto!important;
  max-width:144px!important;
  max-height:48px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
}
body.theme-woiya .w2-primary-nav{gap:0!important;align-self:stretch!important}
body.theme-woiya .w2-primary-nav>a,
body.theme-woiya .w2-nav-more>summary{
  min-height:52px!important;
  padding:0 8px!important;
  font-size:12.5px!important;
  line-height:1!important;
  font-weight:680!important;
  letter-spacing:-.006em!important;
}
body.theme-woiya .w2-primary-nav>a::after,
body.theme-woiya .w2-nav-more>summary::after{left:8px!important;right:8px!important;bottom:0!important}
body.theme-woiya .w2-header-search{
  width:100%!important;
  height:34px!important;
  border-radius:999px!important;
  background:#f8fafb!important;
}
body.theme-woiya .w2-header-search input{
  height:32px!important;
  padding-left:13px!important;
  font-size:11.5px!important;
}
body.theme-woiya .w2-header-search button{width:34px!important;height:34px!important}
body.theme-woiya .w2-header-search button svg{width:16px!important;height:16px!important}

/* Trending remains visible with the header and uses measured header height. */
body.theme-woiya .w2-trending{
  position:sticky!important;
  top:var(--w2-header-h)!important;
  z-index:1180!important;
  min-height:30px!important;
  background:rgba(255,255,255,.965)!important;
  border-bottom:1px solid #e9ecef!important;
  -webkit-backdrop-filter:saturate(150%) blur(10px)!important;
  backdrop-filter:saturate(150%) blur(10px)!important;
}
body.theme-woiya .w2-trending-inner{min-height:30px!important;height:30px!important;gap:13px!important}
body.theme-woiya .w2-trending-track{gap:16px!important}
body.theme-woiya .w2-trending-label{font-size:10.5px!important;font-weight:800!important}
body.theme-woiya .w2-trending-track a{font-size:10.5px!important;line-height:1!important}

/* Sticky consumers: never hardcode a header number again. */
body.theme-woiya .w2p4-sidebar{top:calc(var(--w2-sticky-stack-h) + 12px)!important}
body.theme-woiya .w2rc2-product-nav{top:var(--w2-sticky-stack-h)!important}
body.theme-woiya .w2rc2-product-sidecol{top:calc(var(--w2-sticky-stack-h) + 44px)!important}
body.theme-woiya .tech-product-nav{top:var(--w2-sticky-stack-h)!important}

/* Typography scale: make microcopy readable, tame oversized headings. */
body.theme-woiya .w2p4-hero-kicker{font-size:8.5px!important}
body.theme-woiya .w2p4-hero-copy small{font-size:10px!important}
body.theme-woiya .w2p4-hero-lead .w2p4-hero-copy strong{font-size:26px!important;line-height:1.07!important}
body.theme-woiya .w2p4-hero-copy strong{font-size:15px!important;line-height:1.16!important}
body.theme-woiya .w2p4-section-head h2{font-size:18px!important}
body.theme-woiya .w2p4-section-head a{font-size:10.5px!important}
body.theme-woiya .w2p4-feed-tag{font-size:9.5px!important}
body.theme-woiya .w2p4-feed-row h3{font-size:13.5px!important;line-height:1.32!important}
body.theme-woiya .w2p4-feed-meta{font-size:10px!important}
body.theme-woiya .w2p4-sidebox-head h3{font-size:12.5px!important}
body.theme-woiya .w2p4-pick-list a{font-size:11.5px!important;line-height:1.36!important}
body.theme-woiya .w2p4-side-reviews article>div>a{font-size:11px!important}
body.theme-woiya .w2p4-side-reviews small{font-size:9.5px!important}

body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-slot__title{font-size:17.5px!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-device h3{font-size:11.5px!important;line-height:1.28!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-device__brand{font-size:9px!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-device__meta{font-size:9.5px!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-brands__label{font-size:15.5px!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-brand{font-size:10px!important}

body.theme-woiya .w2-archive-header h1,
body.theme-woiya .w2-search-hero h1,
body.theme-woiya .w2-author-profile h1{font-size:34px!important;line-height:1.08!important}
body.theme-woiya .w2-archive-header>p{font-size:14px!important;line-height:1.55!important}
body.theme-woiya .w2-section-head h2{font-size:22px!important}
body.theme-woiya .w2-archive-story__excerpt{font-size:13px!important;line-height:1.55!important}
body.theme-woiya .w2-archive-story__meta{font-size:10.5px!important}
body.theme-woiya .w2-archive-story--feature .w2-archive-story__title{font-size:25px!important}

body.theme-woiya .w2rc2-product-title-row h1{font-size:28px!important;line-height:1.08!important}
body.theme-woiya .w2rc2-product-brand a{font-size:13px!important}
body.theme-woiya .w2rc2-product-launch{font-size:10.5px!important}
body.theme-woiya .w2rc2-product-lead{font-size:12px!important;line-height:1.5!important}
body.theme-woiya .w2rc2-quick-spec strong{font-size:10.5px!important}
body.theme-woiya .w2rc2-quick-spec>span:last-child{font-size:9px!important}
body.theme-woiya .w2rc2-product-actions .w2-btn{font-size:10px!important}
body.theme-woiya .w2rc2-product-nav a{font-size:10.5px!important}
body.theme-woiya .w2rc2-overview h2,
body.theme-woiya .w2rc2-section-title h2{font-size:17.5px!important}
body.theme-woiya .w2rc2-overview-copy p{font-size:11.5px!important;line-height:1.55!important}
body.theme-woiya .w2rc2-spec-row{font-size:10.5px!important;line-height:1.4!important}
body.theme-woiya .w2rc2-spec-row small{font-size:9px!important}

body.theme-woiya .w2-footer-tagline{font-size:11px!important}
body.theme-woiya .w2-footer-col h4{font-size:11.5px!important}
body.theme-woiya .w2-footer-links a{font-size:10.5px!important}
body.theme-woiya .w2-footer-bottom.t26-footer-bottom{font-size:9.5px!important}

@media(max-width:767px){
  :root{--w2-header-h:52px;--w2-trending-h:30px;--w2-sticky-stack-h:82px}
  body.theme-woiya .w2-header-row.t26-header-inner,
  body.theme-woiya .w2-header.is-scrolled .w2-header-row{
    min-height:52px!important;
    height:52px!important;
    padding:1px 4px!important;
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    gap:0!important;
  }
  body.theme-woiya .w2-logo.t26-logo{justify-content:center!important;padding:1px!important}
  body.theme-woiya .w2-logo.t26-logo img,
  body.theme-woiya .w2-header.is-scrolled .w2-logo img{max-width:116px!important;max-height:46px!important}
  body.theme-woiya .w2-trending-inner{height:30px!important;min-height:30px!important;padding:0 9px!important}
  body.theme-woiya .w2-trending-label,body.theme-woiya .w2-trending-track a{font-size:10px!important}
  body.theme-woiya .w2p4-hero-lead .w2p4-hero-copy strong{font-size:21px!important}
  body.theme-woiya .w2p4-hero-copy strong{font-size:13px!important}
  body.theme-woiya .w2p4-feed-row h3{font-size:13px!important}
  body.theme-woiya .w2-archive-header h1,body.theme-woiya .w2-search-hero h1,body.theme-woiya .w2-author-profile h1{font-size:28px!important}
  body.theme-woiya .w2rc2-product-title-row h1{font-size:24px!important}
  body.theme-woiya .w2p4-sidebar,body.theme-woiya .w2rc2-product-sidecol{position:static!important}
}
